From jerry at jhjensen.com Tue Aug 1 01:27:46 2023 From: jerry at jhjensen.com (Jerry Jensen) Date: Mon, 31 Jul 2023 22:27:46 -0700 Subject: Managing windows in the IDE on Mac In-Reply-To: <189af3d71f8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9B368B43-B56B-43AE-A1D7-AF825538B07F@swcp.com> <189af3d71f8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I now always "set the backdrop to none” right away in the main stack. Otherwise mine is always black. Pain. .Jerry > On Jul 31, 2023, at 8:56 PM, J. Landman Gay via use-livecode wrote: > > Hey Dar! So nice to see you here again. > > The backdrop problem is a known bug on Ventura. Sometimes you can click where the window ought to be and it comes to the front, but basically windowing is broken. The only fix I know of for now is to not use a backdrop. > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On July 31, 2023 7:50:52 PM Dar Scott via use-livecode wrote: > >> It has been a while. Hi, all. I’m getting back into LiveCode. >> >> I’m using 9.6.9 on Mac Ventura. >> >> I’m having a lot of trouble with the windows in the IDE. The backdrop doesn’t always work. The stack I’m working on keeps disappearing. I can check Float above everything, but that is not what I need and it can become a problem when I want to look at something else. The Project Browser stays behind everything and then disappears when I click on it. >> >> Dar >> >> >> >> >> Dar Scott >> >>  >> >> +1.505.433.1024 | darzLAB.com | DarScott at darzLAB.com >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 04:35:40 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 1 Aug 2023 11:35:40 +0300 Subject: Query Android Version Code In-Reply-To: References: <20230721005258.Horde.fGWFLX7QeysnQIb4kFMIKDN@hub.4wsys.com> <238B28B2-9D91-4156-81BC-0C4EB7CE7F07@iotecdigital.com> <8a40bc65-b369-3673-37ad-5702eee68f5d@researchware.com> Message-ID: Hello Dan, You can do something like this: *put* the cRevStandaloneSettings["android,version code"] of this stack Kind regards, Panos -- On Sat, 22 Jul 2023 at 00:02, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Does anyone know if there is a way to query the “Version Code” that you > enter in the Application Settings screen? > > -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 ambassador at fourthworld.com Tue Aug 1 09:09:29 2023 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 01 Aug 2023 13:09:29 +0000 Subject: Update RE: LC domains for sale Message-ID: <20230801130929.Horde.wNIt98pS8I5_bFopHyuMQc9@hub.4wsys.com> learnlivecode.com is being sold (buyer has good plans for teachingLiveCode scripting, and I wish him the best with that).   livecodeworld.com remains available for now.   ------ original message -- I had taken out these domains some time ago for possible projects, but now I'm planning on having those proposed services become part of the existing livecodejournal.com domain instead.   If anyone here is interested in these domains they're listed at AfterNIC.com, and I'd be happy to negotiate favorable pricing if you have a community-oriented use in mind:     livecodeworld.com learnlivecode.com   --   Richard Gaskin Fourth World Systems   From dsc at swcp.com Tue Aug 1 11:39:35 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 1 Aug 2023 09:39:35 -0600 Subject: Tab button is not getting messages Message-ID: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> I have a tab button on a background. It does not seem to be getting menuPick. I tried mouseUp and that does not work, either. A checkbox on the same background does get a mouseUp. I tried beeps and puts, but nothing. (I’m switching to a card whose name is pChosenItem.) Dar From dsc at swcp.com Tue Aug 1 11:40:46 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 1 Aug 2023 09:40:46 -0600 Subject: Managing windows in the IDE on Mac In-Reply-To: References: <9B368B43-B56B-43AE-A1D7-AF825538B07F@swcp.com> <189af3d71f8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Thanks, all! > On Jul 31, 2023, at 11:27 PM, Jerry Jensen via use-livecode wrote: > > I now always "set the backdrop to none” right away in the main stack. Otherwise mine is always black. Pain. > .Jerry > >> On Jul 31, 2023, at 8:56 PM, J. Landman Gay via use-livecode wrote: >> >> Hey Dar! So nice to see you here again. >> >> The backdrop problem is a known bug on Ventura. Sometimes you can click where the window ought to be and it comes to the front, but basically windowing is broken. The only fix I know of for now is to not use a backdrop. >> >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On July 31, 2023 7:50:52 PM Dar Scott via use-livecode wrote: >> >>> It has been a while. Hi, all. I’m getting back into LiveCode. >>> >>> I’m using 9.6.9 on Mac Ventura. >>> >>> I’m having a lot of trouble with the windows in the IDE. The backdrop doesn’t always work. The stack I’m working on keeps disappearing. I can check Float above everything, but that is not what I need and it can become a problem when I want to look at something else. The Project Browser stays behind everything and then disappears when I click on it. >>> >>> Dar >>> >>> >>> >>> >>> Dar Scott >>> >>>  >>> >>> +1.505.433.1024 | darzLAB.com | DarScott at darzLAB.com >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 11:46:13 2023 From: david.bovill at gmail.com (David Bovill) Date: Tue, 1 Aug 2023 16:46:13 +0100 Subject: Snapshot of browser not working? Message-ID: I cannot find a specific bug report - but I am trying to take a snapshot of a browser widget to capture an image of the website. In the latest 10 DP 5 on MacOS M2 i get a very truncated text of the image (a few lines) in all formats using: *export* snapshot from widget "Browser" to pictVariable as PNG Is this something that works on other platforms or livecode versions? From bobsneidar at iotecdigital.com Tue Aug 1 11:47:19 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 1 Aug 2023 15:47:19 +0000 Subject: Tab button is not getting messages In-Reply-To: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> References: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> Message-ID: Tab button or tab widget? Bob S > On Aug 1, 2023, at 8:39 AM, Dar Scott via use-livecode wrote: > > > I have a tab button on a background. It does not seem to be getting menuPick. I tried mouseUp and that does not work, either. A checkbox on the same background does get a mouseUp. I tried beeps and puts, but nothing. (I’m switching to a card whose name is pChosenItem.) > > Dar > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 1 12:10:29 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 1 Aug 2023 10:10:29 -0600 Subject: Tab button is not getting messages In-Reply-To: References: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> Message-ID: <87445B73-94CB-4ACE-825C-4F906ED1F177@swcp.com> There’s a tab widget? Cool. I guess I’m using a tab button. I think I know what is the problem, though I don’t remember what I did to do cause it. Some of the backgrounds are really different; they just look the same. I edit the background (the tab button script) but the button script does not show up on most of the cards. How do I place the correct background on each card? Dar > On Aug 1, 2023, at 9:47 AM, Bob Sneidar via use-livecode wrote: > > Tab button or tab widget? > > Bob S > > >> On Aug 1, 2023, at 8:39 AM, Dar Scott via use-livecode wrote: >> >> >> I have a tab button on a background. It does not seem to be getting menuPick. I tried mouseUp and that does not work, either. A checkbox on the same background does get a mouseUp. I tried beeps and puts, but nothing. (I’m switching to a card whose name is pChosenItem.) >> >> Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 13:06:34 2023 From: paul at researchware.com (Paul Dupuis) Date: Tue, 1 Aug 2023 13:06:34 -0400 Subject: Snapshot of browser not working? In-Reply-To: References: Message-ID: <601f239b-8b6f-bb0f-b0ba-4a5ac78d29a6@researchware.com> Exporting a snapshot of a PLAYER fails under Windows (see https://quality.livecode.com/show_bug.cgi?id=23694). Exporting the Browser widget may be related? If it is reproducible in a test stack, you shoud file a bug report with a test stack to demonstrate the error. I seem to recall other export snapshot bugs. There is one related to multiple displays (https://quality.livecode.com/show_bug.cgi?id=22852) and there may be others. On 8/1/2023 11:46 AM, David Bovill via use-livecode wrote: > I cannot find a specific bug report - but I am trying to take a snapshot of > a browser widget to capture an image of the website. In the latest 10 DP 5 > on MacOS M2 i get a very truncated text of the image (a few lines) in all > formats using: > > *export* snapshot from widget "Browser" to pictVariable as PNG > > Is this something that works on other platforms or livecode versions? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 1 13:13:58 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 1 Aug 2023 10:13:58 -0700 Subject: Tab button is not getting messages In-Reply-To: <87445B73-94CB-4ACE-825C-4F906ED1F177@swcp.com> References: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> <87445B73-94CB-4ACE-825C-4F906ED1F177@swcp.com> Message-ID: place background onto card There are other ways (cough, Navigator has built in support), but that will do it. On Tue, Aug 1, 2023 at 9:11 AM Dar Scott via use-livecode < use-livecode at lists.runrev.com> wrote: > > There’s a tab widget? Cool. > > I guess I’m using a tab button. > > I think I know what is the problem, though I don’t remember what I did to > do cause it. Some of the backgrounds are really different; they just look > the same. I edit the background (the tab button script) but the button > script does not show up on most of the cards. > > How do I place the correct background on each card? > > Dar > > > > On Aug 1, 2023, at 9:47 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Tab button or tab widget? > > > > Bob S > > > > > >> On Aug 1, 2023, at 8:39 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> > >> I have a tab button on a background. It does not seem to be getting > menuPick. I tried mouseUp and that does not work, either. A checkbox on the > same background does get a mouseUp. I tried beeps and puts, but nothing. > (I’m switching to a card whose name is pChosenItem.) > >> > >> Dar > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Aug 4 09:47:40 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 4 Aug 2023 16:47:40 +0300 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available Message-ID: Hello all, Just to let you know that there is an update of the enhancements bundle available in your account area. Latest update 1.0.32: 4 August 2023 This update includes some bugfixes. I'll update BugZilla later tonight. Note that when installing this new version using the stack "WidgetPackInstaller.livecode" that is included in the bundle, you might need to restart the LC IDE once (or twice) - you will get a dialog asking you to do so. Kind regards, Panos -- From marksmithhfx at gmail.com Fri Aug 4 10:03:53 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 4 Aug 2023 15:03:53 +0100 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: <9D343B29-08A3-49FC-8298-D4B6F75488EC@gmail.com> Hi Panos, while you are updating Bugzilla could you make a brief list of the bug fixes and post them here? Mark Sent from my iPhone > On Aug 4, 2023, at 2:49 PM, panagiotis merakos via use-livecode wrote: > > Hello all, > > Just to let you know that there is an update of the enhancements bundle > available in your account area. > > Latest update 1.0.32: 4 August 2023 > > This update includes some bugfixes. I'll update BugZilla later tonight. > > Note that when installing this new version using the stack > "WidgetPackInstaller.livecode" that is included in the bundle, you might > need to restart the LC IDE once (or twice) - you will get a dialog asking > you to do so. > > Kind regards, > Panos > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Aug 4 10:05:45 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Aug 2023 16:05:45 +0200 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: Hi Panos, > Am 04.08.2023 um 15:47 schrieb panagiotis merakos via use-livecode : > > Hello all, > > Just to let you know that there is an update of the enhancements bundle > available in your account area. > Latest update 1.0.32: 4 August 2023 > This update includes some bugfixes. I'll update BugZilla later tonight. thanks! it might be agood idea to show the VERSION number in the filename, which still reads: livecode_enhancements-1_0_0.zip > Note that when installing this new version using the stack > "WidgetPackInstaller.livecode" that is included in the bundle, you might > need to restart the LC IDE once (or twice) - you will get a dialog asking > you to do so. And it also shows the beloved "A stack with that name is already in memory..." (not funny!) however without the evil circle of death after clicking "Purge". 8-) > Kind regards, > Panos Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Fri Aug 4 10:12:28 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 4 Aug 2023 17:12:28 +0300 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: Hello all, @Mark There is a file "changelog.txt" in the bundle that describes all the bugfixes and new features that are added per widget. @Klaus Heh, I think the .zip file has this version (1_0_0) because it allows us to update it more easily. If you unzip it, it should show the actual version: "livecode_enhancements-1_0_32". Kind regards, Panos -- On Fri, 4 Aug 2023 at 17:06, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > > Am 04.08.2023 um 15:47 schrieb panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hello all, > > > > Just to let you know that there is an update of the enhancements bundle > > available in your account area. > > Latest update 1.0.32: 4 August 2023 > > This update includes some bugfixes. I'll update BugZilla later tonight. > > thanks! > > it might be agood idea to show the VERSION number in the filename, > which still reads: livecode_enhancements-1_0_0.zip > > > Note that when installing this new version using the stack > > "WidgetPackInstaller.livecode" that is included in the bundle, you might > > need to restart the LC IDE once (or twice) - you will get a dialog asking > > you to do so. > > And it also shows the beloved "A stack with that name is already in > memory..." > (not funny!) however without the evil circle of death after clicking > "Purge". 8-) > > > Kind regards, > > Panos > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Fri Aug 4 10:16:53 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Aug 2023 16:16:53 +0200 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: <8EFAABC0-FFB8-410F-B2CB-1FE25F5086A5@major-k.de> Hi Panos, > Am 04.08.2023 um 16:12 schrieb panagiotis m via use-livecode : > > Hello all, > > @Mark > There is a file "changelog.txt" in the bundle that describes all the > bugfixes and new features that are added per widget. > > @Klaus > Heh, I think the .zip file has this version (1_0_0) because it allows us to > update it more easily. If you unzip it, it should show the actual version: > "livecode_enhancements-1_0_32". OK, get it, they thou shalt be forgiven! :-D > Kind regards, > Panos > -- > > On Fri, 4 Aug 2023 at 17:06, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Panos, >> >>> Am 04.08.2023 um 15:47 schrieb panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hello all, >>> >>> Just to let you know that there is an update of the enhancements bundle >>> available in your account area. >>> Latest update 1.0.32: 4 August 2023 >>> This update includes some bugfixes. I'll update BugZilla later tonight. >> >> thanks! >> >> it might be agood idea to show the VERSION number in the filename, >> which still reads: livecode_enhancements-1_0_0.zip >> >>> Note that when installing this new version using the stack >>> "WidgetPackInstaller.livecode" that is included in the bundle, you might >>> need to restart the LC IDE once (or twice) - you will get a dialog asking >>> you to do so. >> >> And it also shows the beloved "A stack with that name is already in >> memory..." >> (not funny!) however without the evil circle of death after clicking >> "Purge". 8-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From marksmithhfx at gmail.com Fri Aug 4 10:18:28 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 4 Aug 2023 15:18:28 +0100 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: <00186242-1BF3-4431-8155-3B9E50AEE527@gmail.com> Many thanks!! > On 4 Aug 2023, at 3:12 pm, panagiotis m via use-livecode wrote: > > @Mark > There is a file "changelog.txt" in the bundle that describes all the > bugfixes and new features that are added per widget. From derek-lc-list at speedbump.io Fri Aug 4 10:23:20 2023 From: derek-lc-list at speedbump.io (Derek Bump) Date: Fri, 04 Aug 2023 14:23:20 +0000 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: <7-IZ5w3cxMIWVwf9cLAauFtIeZaYjW4cj9MXNvTlgP2Bf-WGpCy8_ppPBgzmWY6KrPfpgaL-pX7IJqu5wCVEd4FNMTNpqlAgonmj9v3n_nU=@speedbump.io> Hello Panos, Thank you! The enhancements bundle, specifically PolyList and PolyGrid, have been incredibly helpful in my projects. I've noticed I have different versions of PolyList in the "Extensions" folder under my "My LiveCode" directory. How can I be sure the proper version is being loaded? Should I be clearing out the old versions, or does your installer handle that? Thanks again, Thank you, Derek Bump ------- Original Message ------- On Friday, August 4th, 2023 at 08:47, panagiotis merakos via use-livecode wrote: > > > Hello all, > > Just to let you know that there is an update of the enhancements bundle > available in your account area. > > Latest update 1.0.32: 4 August 2023 > > This update includes some bugfixes. I'll update BugZilla later tonight. > > Note that when installing this new version using the stack > "WidgetPackInstaller.livecode" that is included in the bundle, you might > need to restart the LC IDE once (or twice) - you will get a dialog asking > you to do so. > > Kind regards, > Panos > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Aug 4 10:37:58 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 4 Aug 2023 17:37:58 +0300 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: <7-IZ5w3cxMIWVwf9cLAauFtIeZaYjW4cj9MXNvTlgP2Bf-WGpCy8_ppPBgzmWY6KrPfpgaL-pX7IJqu5wCVEd4FNMTNpqlAgonmj9v3n_nU=@speedbump.io> References: <7-IZ5w3cxMIWVwf9cLAauFtIeZaYjW4cj9MXNvTlgP2Bf-WGpCy8_ppPBgzmWY6KrPfpgaL-pX7IJqu5wCVEd4FNMTNpqlAgonmj9v3n_nU=@speedbump.io> Message-ID: Hello Derek, Indeed, those 2 widgets are probably the ones I mostly use in my projects as well! *>>>>How can I be sure the proper version is being loaded? Should I be clearing out the old versions, or does your installer handle that?* The installer does handle that - it removes existing versions and installs the newest ones. Kind regards, Panos -- On Fri, 4 Aug 2023 at 17:24, Derek Bump via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Panos, > > Thank you! The enhancements bundle, specifically PolyList and PolyGrid, > have been incredibly helpful in my projects. > > I've noticed I have different versions of PolyList in the "Extensions" > folder under my "My LiveCode" directory. How can I be sure the proper > version is being loaded? Should I be clearing out the old versions, or does > your installer handle that? > > Thanks again, > > Thank you, > Derek Bump > > > ------- Original Message ------- > On Friday, August 4th, 2023 at 08:47, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > > > Hello all, > > > > Just to let you know that there is an update of the enhancements bundle > > available in your account area. > > > > Latest update 1.0.32: 4 August 2023 > > > > This update includes some bugfixes. I'll update BugZilla later tonight. > > > > Note that when installing this new version using the stack > > "WidgetPackInstaller.livecode" that is included in the bundle, you might > > need to restart the LC IDE once (or twice) - you will get a dialog asking > > you to do so. > > > > Kind regards, > > Panos > > > > > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From derek-lc-list at speedbump.io Fri Aug 4 11:03:58 2023 From: derek-lc-list at speedbump.io (Derek Bump) Date: Fri, 04 Aug 2023 15:03:58 +0000 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: <7-IZ5w3cxMIWVwf9cLAauFtIeZaYjW4cj9MXNvTlgP2Bf-WGpCy8_ppPBgzmWY6KrPfpgaL-pX7IJqu5wCVEd4FNMTNpqlAgonmj9v3n_nU=@speedbump.io> Message-ID: <7SCN-uX9JIHdPtBNI_GICg6CfTvB_7Sy7JTU0c4eo73V5jEcYXEh2-NHXaq_NW9SEPmD9mXuGp9q-F2T7nrIBA7NEukM_bSjNJTL9qLMwnM=@speedbump.io> Hello Panos, Excellent, thank you for the quick response. Regards, Derek Bump ------- Original Message ------- On Friday, August 4th, 2023 at 09:37, panagiotis m via use-livecode wrote: > > > Hello Derek, > > Indeed, those 2 widgets are probably the ones I mostly use in my projects > as well! > > > *>>>>How can I be sure the proper version is being loaded? Should I be > > clearing out the old versions, or does your installer handle that?* > The installer does handle that - it removes existing versions and installs > the newest ones. > > Kind regards, > Panos > -- > > On Fri, 4 Aug 2023 at 17:24, Derek Bump via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello Panos, > > > > Thank you! The enhancements bundle, specifically PolyList and PolyGrid, > > have been incredibly helpful in my projects. > > > > I've noticed I have different versions of PolyList in the "Extensions" > > folder under my "My LiveCode" directory. How can I be sure the proper > > version is being loaded? Should I be clearing out the old versions, or does > > your installer handle that? > > > > Thanks again, > > > > Thank you, > > Derek Bump > > > > ------- Original Message ------- > > On Friday, August 4th, 2023 at 08:47, panagiotis merakos via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hello all, > > > > > > Just to let you know that there is an update of the enhancements bundle > > > available in your account area. > > > > > > Latest update 1.0.32: 4 August 2023 > > > > > > This update includes some bugfixes. I'll update BugZilla later tonight. > > > > > > Note that when installing this new version using the stack > > > "WidgetPackInstaller.livecode" that is included in the bundle, you might > > > need to restart the LC IDE once (or twice) - you will get a dialog asking > > > you to do so. > > > > > > Kind regards, > > > Panos > > > > > > -- > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Aug 5 03:21:32 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 5 Aug 2023 00:21:32 -0700 Subject: If you're using the github version of Navigator, please update Message-ID: Turns out I had a glitch I didn't notice with my github client, and no updates were making it to main for some time now. So if you happen to have installed Navigator by cloning the repo, now would be a good time to update. Some improvements that have happened: 1. I completely did away with the stack and card menus, replacing them with a single Target menu (indicated by a bullseye). It lists every stack with a submenu that includes things like Go (goes to the stack), Toplevel (Toplevels the stack), Card List and Background List, and further submenus for the cards and backgrounds, allowing you to focus on any of them. This fixes several small issues with the previous stack and card target menus. Remember that Navigator can display multiple targets if you hold down the Shift key while choosing a target -- you can have as many as you like, subject to performance limitations. Note: if anyone finds this menu to be too slow, let me know -- it does count through all cards and backgrounds of every stack, but in my experience unless you're dealing with literally tens of thousands of cards it should be fine. I could write some sort of caching algorithm and make updates manual -- or something, I haven't thought about it too much. 2. I improved the The MouseStack targeting functionality. I don't know what I was thinking before with the usability of the click, or long-click, on the menu. So at this point the menu is just a menu -- select "the mouseStack" on the menu and you get the pointer bullseye, then click over whatever target you like to select it in Navigator. 3. I switched to the merge function for the custom list display string. This opens up a ridiculous set of possibilities if anyone cares to really dig in. If you find any bugs let me know. From brian at milby7.com Sat Aug 5 09:51:52 2023 From: brian at milby7.com (Brian Milby) Date: Sat, 5 Aug 2023 09:51:52 -0400 Subject: If you're using the github version of Navigator, please update In-Reply-To: References: Message-ID: <6FC62E02-9350-4612-BA3E-45F8F8776126@milby7.com> Thanks for the heads up. This is a great tool that I probably should be using more than I do. I appreciate your work on this! Brian Milby brian at milby7.com > On Aug 5, 2023, at 3:23 AM, Geoff Canyon via use-livecode wrote: > > Turns out I had a glitch I didn't notice with my github client, and no > updates were making it to main for some time now. So if you happen to have > installed Navigator by cloning the repo, now would be a good time to > update. Some improvements that have happened: > > 1. I completely did away with the stack and card menus, replacing them > with a single Target menu (indicated by a bullseye). It lists every stack > with a submenu that includes things like Go (goes to the stack), Toplevel > (Toplevels the stack), Card List and Background List, and further submenus > for the cards and backgrounds, allowing you to focus on any of them. This > fixes several small issues with the previous stack and card target menus. > > Remember that Navigator can display multiple targets if you hold down the > Shift key while choosing a target -- you can have as many as you like, > subject to performance limitations. > > Note: if anyone finds this menu to be too slow, let me know -- it does > count through all cards and backgrounds of every stack, but in my > experience unless you're dealing with literally tens of thousands of cards > it should be fine. I could write some sort of caching algorithm and make > updates manual -- or something, I haven't thought about it too much. > > 2. I improved the The MouseStack targeting functionality. I don't know what > I was thinking before with the usability of the click, or long-click, on > the menu. So at this point the menu is just a menu -- select "the > mouseStack" on the menu and you get the pointer bullseye, then click over > whatever target you like to select it in Navigator. > > 3. I switched to the merge function for the custom list display string. > This opens up a ridiculous set of possibilities if anyone cares to really > dig in. > > If you find any bugs let me know. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Aug 5 10:31:21 2023 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Sat, 5 Aug 2023 10:31:21 -0400 Subject: Snapshot of browser not working? In-Reply-To: References: Message-ID: I believe this is a bug/feature of the browser widget being a native control. What has worked for me is being more specific about the snapshot location. export snapshot from rect globalRect(the rect of widget “Browser" of group “foo") to pictVariable as PNG This has worked in macOS and Windows standalones for a current project. Hope that helps! —Andrew Bell > Subject: Snapshot of browser not working? > Message-ID: > > Content-Type: text/plain; charset="UTF-8" > > I cannot find a specific bug report - but I am trying to take a snapshot of > a browser widget to capture an image of the website. In the latest 10 DP 5 > on MacOS M2 i get a very truncated text of the image (a few lines) in all > formats using: > > *export* snapshot from widget "Browser" to pictVariable as PNG > > Is this something that works on other platforms or livecode versions? > From scott at elementarysoftware.com Sun Aug 6 21:04:02 2023 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 6 Aug 2023 18:04:02 -0700 Subject: tsNetGet() on android Message-ID: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> I’m having difficulty using a LiveCode-created android app to read a (4.7 KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business Edition) I don’t actually think this is a tsNet issue since I had previously been using “load URL” syntax and that failed on android as well. The URL I am attempting to read is: constant kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt" (I have tried variations using http:// , www. and also, not using a constant) The call to tsNet is formatted: put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into tResult The (curl?) error I am getting from tsNet is: tsneterr: (6) Could not resolve host: elementarysoftware.com This seems like such a simple thing, so I’m hoping for an idea from the collective. (After which I will slap my forehead and say, “Duh!”) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ From jacque at hyperactivesw.com Sun Aug 6 22:13:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 06 Aug 2023 21:13:17 -0500 Subject: tsNetGet() on android In-Reply-To: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> References: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> Message-ID: <189cdc52648.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It might be due to a insidious trick that caught me out. It also caught the person who helped me, who said he only knew about it because it got him too. I assume you already have the right inclusions, but you may have missed the permissions checkbox in the Android pane of standalone settings. There's an Internet permission in there. Surprise! If that isn't the problem then...um...? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 6, 2023 8:06:36 PM scott--- via use-livecode wrote: > Im having difficulty using a LiveCode-created android app to read a (4.7 > KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the > app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business > Edition) I dont actually think this is a tsNet issue since I had > previously been using load URL syntax and that failed on android as well. > The URL I am attempting to read is: > > constant > kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt" > > (I have tried variations using http:// , www. and also, not using a > constant) > > The call to tsNet is formatted: > > put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into > tResult > > The (curl?) error I am getting from tsNet is: > > tsneterr: (6) Could not resolve host: elementarysoftware.com > > > This seems like such a simple thing, so Im hoping for an idea from the > collective. (After which I will slap my forehead and say, Duh!) > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sun Aug 6 22:29:04 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 6 Aug 2023 19:29:04 -0700 Subject: tsNetGet() on android In-Reply-To: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> References: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> Message-ID: On 8/6/23 18:04, scott--- via use-livecode wrote: > Im having difficulty using a LiveCode-created android app to read a (4.7 KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business Edition) I dont actually think this is a tsNet issue since I had previously been using load URL syntax and that failed on android as well. The URL I am attempting to read is: > > constant kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt" > > (I have tried variations using http:// , www. and also, not using a constant) > > The call to tsNet is formatted: > > put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into tResult > > The (curl?) error I am getting from tsNet is: > > tsneterr: (6) Could not resolve host: elementarysoftware.com > > This seems like such a simple thing, so Im hoping for an idea from the collective. (After which I will slap my forehead and say, Duh!) Your constant uses "https" but the error message says "http"? That's weird. Have you tried using 192.99.207.157 instead? That should eliminate dns as a variable. -- Mark Wieder ahsoftware at gmail.com From scott at elementarysoftware.com Mon Aug 7 00:35:06 2023 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 6 Aug 2023 21:35:06 -0700 Subject: tsNetGet() on android In-Reply-To: References: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> Message-ID: <7779CFF0-DC6F-4E2C-9587-4FFB964355CE@elementarysoftware.com> @Mark: I thought that “http” being reported in the error was weird when the constant used “https” but what do I know. @Jacque: Nailed it! Works as expected now. (Forehead slap was gentle but firm) Thank you both! — Scott > On Aug 6, 2023, at 7:29 PM, Mark Wieder via use-livecode wrote: > > On 8/6/23 18:04, scott--- via use-livecode wrote: >> I’m having difficulty using a LiveCode-created android app to read a (4.7 KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business Edition) I don’t actually think this is a tsNet issue since I had previously been using “load URL” syntax and that failed on android as well. The URL I am attempting to read is: >> constant kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt" >> (I have tried variations using http:// , www. and also, not using a constant) >> The call to tsNet is formatted: >> put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into tResult >> The (curl?) error I am getting from tsNet is: >> tsneterr: (6) Could not resolve host: elementarysoftware.com >> This seems like such a simple thing, so I’m hoping for an idea from the collective. (After which I will slap my forehead and say, “Duh!”) > > Your constant uses "https" but the error message says "http"? > That's weird. > Have you tried using 192.99.207.157 instead? That should eliminate dns as a variable. > > > -- > Mark Wieder > ahsoftware at gmail.com > > > It might be due to a insidious trick that caught me out. It also caught the person who helped me, who said he only knew about it because it got him too. > > I assume you already have the right inclusions, but you may have missed the permissions checkbox in the Android pane of standalone settings. There's an Internet permission in there. Surprise! > > If that isn't the problem then...um...? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Mon Aug 7 13:37:03 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 7 Aug 2023 11:37:03 -0600 Subject: Light Windows programs takes 40 s to load Message-ID: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Greetings! A made a stack with very little script—just enough to exercise the GUI. (I couldn’t build a Mac app; more on that as a separate question.) I build a Windows app from my Mac. It takes 40 seconds to load. What might I be doing wrong? I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute. Dar From merakosp at gmail.com Mon Aug 7 13:42:57 2023 From: merakosp at gmail.com (panagiotis m) Date: Mon, 7 Aug 2023 20:42:57 +0300 Subject: Light Windows programs takes 40 s to load In-Reply-To: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Hello Dar, Could you quit the printer spooler process ( from the task manager or from Windows CMD) and try again? Cheers, Panos On Mon, 7 Aug 2023, 20:38 Dar Scott via use-livecode, < use-livecode at lists.runrev.com> wrote: > > Greetings! > > A made a stack with very little script—just enough to exercise the GUI. > > (I couldn’t build a Mac app; more on that as a separate question.) > > I build a Windows app from my Mac. It takes 40 seconds to load. What might > I be doing wrong? > > I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute. > > Dar > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Mon Aug 7 13:46:57 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 7 Aug 2023 11:46:57 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed Message-ID: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> I’m having trouble building an application for Mac Intel. The first time LiveCode crashed. Subsequent times, I get this error: There was an error while saving the standalone application Adding ad-hoc signature failed with error: /…/myProgram.app: Replacing existing signature /…/myProgram.app: Resource for, Finder information, or similar detritus not Allowed I tried fiddling with the PLIST settings without success. From jacque at hyperactivesw.com Mon Aug 7 13:57:56 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Aug 2023 12:57:56 -0500 Subject: tsNetGet() on android In-Reply-To: <7779CFF0-DC6F-4E2C-9587-4FFB964355CE@elementarysoftware.com> References: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> <7779CFF0-DC6F-4E2C-9587-4FFB964355CE@elementarysoftware.com> Message-ID: <189d12600a0.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Cool. So, someone helped someone who helped me who helped you. Your turn. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 6, 2023 11:37:26 PM scott--- via use-livecode wrote: > > @Jacque: Nailed it! Works as expected now. (Forehead slap was gentle but > firm) From jacque at hyperactivesw.com Mon Aug 7 17:43:42 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Aug 2023 16:43:42 -0500 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> Message-ID: <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> This might help: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: > Im having trouble building an application for Mac Intel. > > The first time LiveCode crashed. > > Subsequent times, I get this error: > There was an error while saving the standalone application > Adding ad-hoc signature failed with error: > //myProgram.app: > Replacing existing signature > //myProgram.app: > Resource for, Finder information, or similar detritus not > Allowed > > I tried fiddling with the PLIST settings without success. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Aug 7 18:48:27 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Aug 2023 22:48:27 +0000 Subject: Bug or...? Native Querying Message-ID: <105A7904-B04B-4473-8004-424F4636D060@iotecdigital.com> I have code that uses the native API for SQL (as opposed to sqlYoga) because I have to do some joining that I do not know how to do with sqlYoga. The query string looks like this: select fileid,filename,fileversion,filecategory,custid,siteid,deviceid,serviceid,softwareid,parentidlist,filemodified,tempfilemodified,tmpfilesmodified,checkoutid,checkoutname,checkoutpath,rfapath,lastupdate,updateby from files t1 where custid = 56; When I execute this query in mySQLWorkbench, I get 6 records. When I use the native API: put revQueryDatabase( tDBID, tSQL) into tCursor Then I get the revNumberOfRecords(tCursor), but it’s only 5!!!!! The same query gets 6 using mySQLWorkbench and only 5 are counted in the cursor! Please tell my I haven’t stumbled across a Lex Luther universe! Bob S From dan at clearvisiontech.com Mon Aug 7 18:56:04 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 7 Aug 2023 22:56:04 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Does anyone have any experience with consumable in-app purchases on Android? I can’t seem to figure out how to (1) create a consumable product, and (2) how to consume it. mobileStoreConsumePurchase pProductID doesn’t seem to function right… I get back a result that is “true”, but attempting to purchase the same product, returns “alreadyEntitled”. The “How do I implement in-app purchases in LiveCode - Google Play Store?” lesson says: click "In-App Products” and click “Add new product”. From there, follow the instructions to create the type of in-app purchase you wish to use. In Google Play Console > Monitize > In-App Products > Create Product, there isn’t a place to select the type of in-app purchase. Any insight or instructions you may have would be greatly appreciated!! -Dan From selander at tkf.att.ne.jp Mon Aug 7 18:56:50 2023 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 8 Aug 2023 07:56:50 +0900 Subject: Uploading progress bar Message-ID: <88723a3a-4f10-3988-1911-11a56e1a2fc2@tkf.att.ne.jp> We are airing a kid's anime program on TV this fall, and are encouraging parents to video their kids singing the theme song -- which we'll air at the end of the program. Using LC Server, I made a simple page for the parents to use to upload the videos. It's working fine, but I would like to add a progress bar to give some kind of user feedback as the upload can take 2 or 3 minutes. I've found several php scripts that do this, which look great but I have no idea how it works, but can anyone tell me how I could do this in LC? Any and all tips appreciated! Tim Selander Tokyo, Japan From bobsneidar at iotecdigital.com Mon Aug 7 19:02:05 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Aug 2023 23:02:05 +0000 Subject: Bug or...? Native Querying In-Reply-To: <105A7904-B04B-4473-8004-424F4636D060@iotecdigital.com> References: <105A7904-B04B-4473-8004-424F4636D060@iotecdigital.com> Message-ID: I spoke too soon. I appended some SQL onto the initial query and there was an error in the SQL. I used ...where custid = 56 AND fileversion = (select max(fileversion) from files t2 where t2.filename = t1.filename) I should have used ...where custid = 56 AND fileversion = (select max(t1.fileversion) from files t2 where t2.filename = t1.filename) I was making an ambiguous reference to fileversion. Odd that the SQL ran anyway. Apparently if the reference is inside a function, mySQL does not balk! Bob S On Aug 7, 2023, at 3:48 PM, Bob Sneidar via use-livecode wrote: I have code that uses the native API for SQL (as opposed to sqlYoga) because I have to do some joining that I do not know how to do with sqlYoga. The query string looks like this: select fileid,filename,fileversion,filecategory,custid,siteid,deviceid,serviceid,softwareid,parentidlist,filemodified,tempfilemodified,tmpfilesmodified,checkoutid,checkoutname,checkoutpath,rfapath,lastupdate,updateby from files t1 where custid = 56; When I execute this query in mySQLWorkbench, I get 6 records. When I use the native API: put revQueryDatabase( tDBID, tSQL) into tCursor Then I get the revNumberOfRecords(tCursor), but it’s only 5!!!!! The same query gets 6 using mySQLWorkbench and only 5 are counted in the cursor! Please tell my I haven’t stumbled across a Lex Luther universe! Bob S From bobsneidar at iotecdigital.com Mon Aug 7 19:14:44 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Aug 2023 23:14:44 +0000 Subject: Bug or...? Native Querying In-Reply-To: References: <105A7904-B04B-4473-8004-424F4636D060@iotecdigital.com> Message-ID: Final correction and then I’ll shut up. Should have read …where custid = 56 AND fileversion = (select max(t2.fileversion) from files t2 where t2.filename = t1.filename) MAN that is complicated! Bob S On Aug 7, 2023, at 4:01 PM, Bob Sneidar wrote: I spoke too soon. I appended some SQL onto the initial query and there was an error in the SQL. I used ...where custid = 56 AND fileversion = (select max(fileversion) from files t2 where t2.filename = t1.filename) I should have used ...where custid = 56 AND fileversion = (select max(t1.fileversion) from files t2 where t2.filename = t1.filename) I was making an ambiguous reference to fileversion. Odd that the SQL ran anyway. Apparently if the reference is inside a function, mySQL does not balk! Bob S On Aug 7, 2023, at 3:48 PM, Bob Sneidar via use-livecode wrote: I have code that uses the native API for SQL (as opposed to sqlYoga) because I have to do some joining that I do not know how to do with sqlYoga. The query string looks like this: select fileid,filename,fileversion,filecategory,custid,siteid,deviceid,serviceid,softwareid,parentidlist,filemodified,tempfilemodified,tmpfilesmodified,checkoutid,checkoutname,checkoutpath,rfapath,lastupdate,updateby from files t1 where custid = 56; When I execute this query in mySQLWorkbench, I get 6 records. When I use the native API: put revQueryDatabase( tDBID, tSQL) into tCursor Then I get the revNumberOfRecords(tCursor), but it’s only 5!!!!! The same query gets 6 using mySQLWorkbench and only 5 are counted in the cursor! Please tell my I haven’t stumbled across a Lex Luther universe! Bob S From bdrunrev at gmail.com Tue Aug 8 02:57:37 2023 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 8 Aug 2023 07:57:37 +0100 Subject: If you're using the github version of Navigator, please update In-Reply-To: References: Message-ID: Thanks for reminding me to re-install a copy, Geoff. I've been away from LC development for a year or so, started again using a new machine, and had forgotten how much I like using your tool. I just downloaded v 7.5 RC2 from your Wordpress site, which looks like it's at the cutting edge along with the Github version. I would suggest you put the URL to the documentation in your signature. Probably most LC users have no idea what they are missing! https://gcanyon.wordpress.com/navigator-documentation/ Regards Bernard On Sat, Aug 5, 2023 at 8:23 AM Geoff Canyon via use-livecode < use-livecode at lists.runrev.com> wrote: > Turns out I had a glitch I didn't notice with my github client, and no > updates were making it to main for some time now. So if you happen to have > installed Navigator by cloning the repo, now would be a good time to > update. Some improvements that have happened: > > > From dsc at swcp.com Tue Aug 8 09:59:24 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 07:59:24 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Thanks, Jacque! That gives me a clue. I will try to get more info on this. However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. I’m willing to try some magic values in Standalone Application Settings. I’m using LiveCode 9.6.9, but I’m willing to upgrade. I’m on macOS Ventura. Has anyone successfully built a Mac application recently? Dar > On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: > > This might help: > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: > >> I’m having trouble building an application for Mac Intel. >> >> The first time LiveCode crashed. >> >> Subsequent times, I get this error: >> There was an error while saving the standalone application >> Adding ad-hoc signature failed with error: >> /…/myProgram.app: >> Replacing existing signature >> /…/myProgram.app: >> Resource for, Finder information, or similar detritus not >> Allowed >> >> I tried fiddling with the PLIST settings without success. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 8 10:03:41 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 8 Aug 2023 07:03:41 -0700 Subject: If you're using the github version of Navigator, please update In-Reply-To: References: Message-ID: Thanks for the suggestion, Bernard. Note that in a moment of whimsy I switched development of the documentation from wordpress to wix. So documentation on wordpress stops at version 6. Everything more recent is here: https://gcanyon.wixsite.com/navigator But even that's slightly out of date. I'll update soon. Thanks! Geoff On Mon, Aug 7, 2023 at 11:59 PM Bernard Devlin via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks for reminding me to re-install a copy, Geoff. I've been away from > LC development for a year or so, started again using a new machine, and had > forgotten how much I like using your tool. I just downloaded v 7.5 RC2 > from your Wordpress site, which looks like it's at the cutting edge along > with the Github version. > > I would suggest you put the URL to the documentation in your signature. > Probably most LC users have no idea what they are missing! > https://gcanyon.wordpress.com/navigator-documentation/ > > Regards > Bernard > > On Sat, Aug 5, 2023 at 8:23 AM Geoff Canyon via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Turns out I had a glitch I didn't notice with my github client, and no > > updates were making it to main for some time now. So if you happen to > have > > installed Navigator by cloning the repo, now would be a good time to > > update. Some improvements that have happened: > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Tue Aug 8 10:26:42 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 08:26:42 -0600 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Sure, Panos! Uh, what’s its name? > On Aug 7, 2023, at 11:42 AM, panagiotis m via use-livecode wrote: > > Hello Dar, > > Could you quit the printer spooler process ( from the task manager or from > Windows CMD) and try again? > > Cheers, > Panos > > On Mon, 7 Aug 2023, 20:38 Dar Scott via use-livecode, < > use-livecode at lists.runrev.com> wrote: > >> >> Greetings! >> >> A made a stack with very little script—just enough to exercise the GUI. >> >> (I couldn’t build a Mac app; more on that as a separate question.) >> >> I build a Windows app from my Mac. It takes 40 seconds to load. What might >> I be doing wrong? >> >> I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute. >> >> Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 11:14:12 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 8 Aug 2023 18:14:12 +0300 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Hello Dar, So, try this: 1. Open Windows Task Manager 2. Search for a process named "Spooler Subsystem app" or just "Print Spooler" 3. Force quit this process Now open your standalone and see if it starts immediately. Cheers, Panos -- On Tue, 8 Aug 2023 at 17:27, Dar Scott via use-livecode < use-livecode at lists.runrev.com> wrote: > Sure, Panos! Uh, what’s its name? > > > On Aug 7, 2023, at 11:42 AM, panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello Dar, > > > > Could you quit the printer spooler process ( from the task manager or > from > > Windows CMD) and try again? > > > > Cheers, > > Panos > > > > On Mon, 7 Aug 2023, 20:38 Dar Scott via use-livecode, < > > use-livecode at lists.runrev.com> wrote: > > > >> > >> Greetings! > >> > >> A made a stack with very little script—just enough to exercise the GUI. > >> > >> (I couldn’t build a Mac app; more on that as a separate question.) > >> > >> I build a Windows app from my Mac. It takes 40 seconds to load. What > might > >> I be doing wrong? > >> > >> I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute. > >> > >> Dar > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 11:35:14 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 15:35:14 +0000 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Pardon me if you know this already. Apps that are capable of printing will attempt to connect to the default printer upon launch. Panos is trying to isolate an issue where if the default printer is unresponsive, your app will wait until the process times out before proceeding. In Windows the Print Spooler service is the broker for all print processes. Stopping this service will prevent the long timeout. If using Windows, pop the Windows menu then start typing the word, “Service”. Once you see “Services” open it, then find the Print Spooler service (the list is Hot Typable but you have to select one of the services first, otherwise just scroll down) the slick the Stop Service button. BTW I would not use the task manager for this. I do not see either of those names in my tasks. I think the Print Spooler task is actually named Spoolsv. Bob S On Aug 8, 2023, at 7:26 AM, Dar Scott via use-livecode wrote: Sure, Panos! Uh, what’s its name? From jacque at hyperactivesw.com Tue Aug 8 11:44:23 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Aug 2023 10:44:23 -0500 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: <189d5d217d8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I built a Mac standalone about 3 weeks ago without issue using an RC version of 9.6.9. I'm still on Monterey though. Do you have any inclusions selected or files in the Copy Files pane of the standalone settings? If so, try building without them and see what happens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 8, 2023 9:01:54 AM Dar Scott via use-livecode wrote: > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note shows how to delete the offending resource using the > xattr tool, but I have no app to point it to. LiveCode did not build anything. > > Im willing to try some magic values in Standalone Application Settings. > Im using LiveCode 9.6.9, but Im willing to upgrade. > Im on macOS Ventura. > > Has anyone successfully built a Mac application recently? > > Dar > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode >> wrote: >> >> This might help: >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode >> wrote: >> >>> Im having trouble building an application for Mac Intel. >>> >>> The first time LiveCode crashed. >>> >>> Subsequent times, I get this error: >>> There was an error while saving the standalone application >>> Adding ad-hoc signature failed with error: >>> //myProgram.app: >>> Replacing existing signature >>> //myProgram.app: >>> Resource for, Finder information, or similar detritus not >>> Allowed >>> >>> I tried fiddling with the PLIST settings without success. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 11:45:40 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 15:45:40 +0000 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. Bob S > On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: > > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. > > I’m willing to try some magic values in Standalone Application Settings. > I’m using LiveCode 9.6.9, but I’m willing to upgrade. > I’m on macOS Ventura. > > Has anyone successfully built a Mac application recently? > > Dar > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >> >> This might help: >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >> >>> I’m having trouble building an application for Mac Intel. >>> >>> The first time LiveCode crashed. >>> >>> Subsequent times, I get this error: >>> There was an error while saving the standalone application >>> Adding ad-hoc signature failed with error: >>> /…/myProgram.app: >>> Replacing existing signature >>> /…/myProgram.app: >>> Resource for, Finder information, or similar detritus not >>> Allowed >>> >>> I tried fiddling with the PLIST settings without success. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Tue Aug 8 12:07:12 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Aug 2023 17:07:12 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: <60649154-A10E-4DBA-88B3-6B6576D7A59B@gmail.com> Hi Dar, I just built one unsigned and it worked fine. Will you be signing it for distribution in the Mac App store as well? Mark > On 8 Aug 2023, at 2:59 pm, Dar Scott via use-livecode wrote: > > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. > > I’m willing to try some magic values in Standalone Application Settings. > I’m using LiveCode 9.6.9, but I’m willing to upgrade. > I’m on macOS Ventura. > > Has anyone successfully built a Mac application recently? > > Dar > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >> >> This might help: >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >> >>> I’m having trouble building an application for Mac Intel. >>> >>> The first time LiveCode crashed. >>> >>> Subsequent times, I get this error: >>> There was an error while saving the standalone application >>> Adding ad-hoc signature failed with error: >>> /…/myProgram.app: >>> Replacing existing signature >>> /…/myProgram.app: >>> Resource for, Finder information, or similar detritus not >>> Allowed >>> >>> I tried fiddling with the PLIST settings without success. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:07:42 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 8 Aug 2023 19:07:42 +0300 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Hello all, We recently fixed a bug (affecting mainly Windows 11) where the LC installer, the LC IDE and Windows standalones were crashing on startup. It turned out this was caused if some generic printer drivers were installed in the device, and installing the official printer drivers from the vendor's website prevented the crash. We had reports for Brother printers, Epson and HP if I remember correctly. The fix we added did fix the crash, but in some cases caused a delay on startup, if the device still had the "generic" printer driver installed. That's why I asked to quit the printer spooler and try again - if it works with the printer spooler not running, it means that this device has a "generic" printer driver installed, so Dar could just install the official driver from the vendor's website and have the issue fixed. Kind regards, Panos On Tue, 8 Aug 2023 at 18:36, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Pardon me if you know this already. Apps that are capable of printing will > attempt to connect to the default printer upon launch. Panos is trying to > isolate an issue where if the default printer is unresponsive, your app > will wait until the process times out before proceeding. In Windows the > Print Spooler service is the broker for all print processes. Stopping this > service will prevent the long timeout. > > If using Windows, pop the Windows menu then start typing the word, > “Service”. Once you see “Services” open it, then find the Print Spooler > service (the list is Hot Typable but you have to select one of the services > first, otherwise just scroll down) the slick the Stop Service button. > > BTW I would not use the task manager for this. I do not see either of > those names in my tasks. I think the Print Spooler task is actually named > Spoolsv. > > Bob S > > > On Aug 8, 2023, at 7:26 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Sure, Panos! Uh, what’s its name? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:08:59 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Aug 2023 11:08:59 -0500 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: > I have, but I dont do any signing or notarizing. If that happens > transparently, then its working for me. > > Bob S > > >> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode >> wrote: >> >> Thanks, Jacque! >> >> That gives me a clue. I will try to get more info on this. >> >> However, that note shows how to delete the offending resource using the >> xattr tool, but I have no app to point it to. LiveCode did not build anything. >> >> Im willing to try some magic values in Standalone Application Settings. >> Im using LiveCode 9.6.9, but Im willing to upgrade. >> Im on macOS Ventura. >> >> Has anyone successfully built a Mac application recently? >> >> Dar >> >>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode >>> wrote: >>> >>> This might help: >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode >>> wrote: >>> >>>> Im having trouble building an application for Mac Intel. >>>> >>>> The first time LiveCode crashed. >>>> >>>> Subsequent times, I get this error: >>>> There was an error while saving the standalone application >>>> Adding ad-hoc signature failed with error: >>>> //myProgram.app: >>>> Replacing existing signature >>>> //myProgram.app: >>>> Resource for, Finder information, or similar detritus not >>>> Allowed >>>> >>>> I tried fiddling with the PLIST settings without success. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Tue Aug 8 12:11:39 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Aug 2023 17:11:39 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: <02F4A07C-7772-46A6-826A-D5F8FD4C016E@gmail.com> I should add I used 9.6.8 on Monterey. > On 8 Aug 2023, at 2:59 pm, Dar Scott via use-livecode wrote: > > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. > > I’m willing to try some magic values in Standalone Application Settings. > I’m using LiveCode 9.6.9, but I’m willing to upgrade. > I’m on macOS Ventura. > > Has anyone successfully built a Mac application recently? > > Dar > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >> >> This might help: >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >> >>> I’m having trouble building an application for Mac Intel. >>> >>> The first time LiveCode crashed. >>> >>> Subsequent times, I get this error: >>> There was an error while saving the standalone application >>> Adding ad-hoc signature failed with error: >>> /…/myProgram.app: >>> Replacing existing signature >>> /…/myProgram.app: >>> Resource for, Finder information, or similar detritus not >>> Allowed >>> >>> I tried fiddling with the PLIST settings without success. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:12:29 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 8 Aug 2023 19:12:29 +0300 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <60649154-A10E-4DBA-88B3-6B6576D7A59B@gmail.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <60649154-A10E-4DBA-88B3-6B6576D7A59B@gmail.com> Message-ID: Hello all, The standalone builder does add a signature when building the mac standalone - but an ad hoc one (i.e. it does not use an actual certificate). The error Dar gets happens during the standalone building process. @Dar Could you attach the exact error? Just upload the screenshot somewhere and post the link. It might help us isolate the problem, although I suspect it is related to the command line tools version you have installed. Could you try this in the terminal and post the output? xcode-select -p Cheers, Panos On Tue, 8 Aug 2023 at 19:08, Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Dar, > > I just built one unsigned and it worked fine. Will you be signing it for > distribution in the Mac App store as well? > > Mark > > > On 8 Aug 2023, at 2:59 pm, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Thanks, Jacque! > > > > That gives me a clue. I will try to get more info on this. > > > > However, that note shows how to delete the offending resource using the > xattr tool, but I have no app to point it to. LiveCode did not build > anything. > > > > I’m willing to try some magic values in Standalone Application Settings. > > I’m using LiveCode 9.6.9, but I’m willing to upgrade. > > I’m on macOS Ventura. > > > > Has anyone successfully built a Mac application recently? > > > > Dar > > > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> This might help: > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.com > >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >>> I’m having trouble building an application for Mac Intel. > >>> > >>> The first time LiveCode crashed. > >>> > >>> Subsequent times, I get this error: > >>> There was an error while saving the standalone application > >>> Adding ad-hoc signature failed with error: > >>> /…/myProgram.app: > >>> Replacing existing signature > >>> /…/myProgram.app: > >>> Resource for, Finder information, or similar detritus not > >>> Allowed > >>> > >>> I tried fiddling with the PLIST settings without success. > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Tue Aug 8 12:19:46 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 10:19:46 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. For PLIST I chose Chose a PLIST and then clicked Use None. I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. I have no Icons added. I get the same error. Dar > On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: > > Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: > >> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >> >> Bob S >> >> >>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>> >>> Thanks, Jacque! >>> >>> That gives me a clue. I will try to get more info on this. >>> >>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>> >>> I’m willing to try some magic values in Standalone Application Settings. >>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>> I’m on macOS Ventura. >>> >>> Has anyone successfully built a Mac application recently? >>> >>> Dar >>> >>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> This might help: >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>> >>>>> I’m having trouble building an application for Mac Intel. >>>>> >>>>> The first time LiveCode crashed. >>>>> >>>>> Subsequent times, I get this error: >>>>> There was an error while saving the standalone application >>>>> Adding ad-hoc signature failed with error: >>>>> /…/myProgram.app: >>>>> Replacing existing signature >>>>> /…/myProgram.app: >>>>> Resource for, Finder information, or similar detritus not >>>>> Allowed >>>>> >>>>> I tried fiddling with the PLIST settings without success. >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:19:52 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 8 Aug 2023 19:19:52 +0300 Subject: Consumable In App Purchases on Android In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hello Dan, I think Google no longer differentiates between consumables and non-consumables when setting up the in-app product - they are both marked as "In-App Products”. However, in LiveCode, you have to call mobileStoreConsumePurchase pProductID to be able to buy the product again - otherwise you get a "alreadyEntitled" status. If you do this, and still get "alreadyEntitled", then you have to ensure that the pProductID param passed to mobileStoreConsumePurchase indeed matches exactly the product id of the product you set up in the google dev console. Hope this helps. Kind regards, Panos On Tue, 8 Aug 2023 at 01:57, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Does anyone have any experience with consumable in-app purchases on > Android? I can’t seem to figure out how to (1) create a consumable > product, and (2) how to consume it. mobileStoreConsumePurchase pProductID > doesn’t seem to function right… I get back a result that is “true”, but > attempting to purchase the same product, returns “alreadyEntitled”. > > The “How do I implement in-app purchases in LiveCode - Google Play Store?” > lesson says: click "In-App Products” and click “Add new product”. From > there, follow the instructions to create the type of in-app purchase you > wish to use. > > In Google Play Console > Monitize > In-App Products > Create Product, > there isn’t a place to select the type of in-app purchase. > > Any insight or instructions you may have would be greatly appreciated!! > > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Aug 8 12:28:31 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 16:28:31 +0000 Subject: Variable Watcher disappeared Message-ID: Hi all. Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? Bob S From dan at clearvisiontech.com Tue Aug 8 12:35:19 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 8 Aug 2023 16:35:19 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Panos, Thank you for the reply. Unfortunately, this isn’t working for me… maybe I’m doing something wrong? Product ID is “1001”. I was able to purchase that product no problem. If I attempt to purchase it again, I get “alreadyEntitled”. In a button I put: on mouseUp mobileStoreConsumePurchase 1001 answer the result end mouseUp The result is empty (I assume that is success). Then, I attempt to purchase 1001 and again I get “alreadyEntitled”. I then tried (just guessing at what I need to do as the docs are very vague on how to use it): on mouseUp mobileStoreEnablePurchaseUpdates mobileStoreSetProductType 1001,"inapp" mobileStoreConsumePurchase 1001 answer the result end mouseUp Again, result is empty and an attempt to purchase 1001 again, gets “alreadyEntitled”. What am I doing wrong? -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Tuesday, August 8, 2023 at 9:21 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Consumable In App Purchases on Android Hello Dan, I think Google no longer differentiates between consumables and non-consumables when setting up the in-app product - they are both marked as "In-App Products”. However, in LiveCode, you have to call mobileStoreConsumePurchase pProductID to be able to buy the product again - otherwise you get a "alreadyEntitled" status. If you do this, and still get "alreadyEntitled", then you have to ensure that the pProductID param passed to mobileStoreConsumePurchase indeed matches exactly the product id of the product you set up in the google dev console. Hope this helps. Kind regards, Panos On Tue, 8 Aug 2023 at 01:57, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Does anyone have any experience with consumable in-app purchases on > Android? I can’t seem to figure out how to (1) create a consumable > product, and (2) how to consume it. mobileStoreConsumePurchase pProductID > doesn’t seem to function right… I get back a result that is “true”, but > attempting to purchase the same product, returns “alreadyEntitled”. > > The “How do I implement in-app purchases in LiveCode - Google Play Store?” > lesson says: click "In-App Products” and click “Add new product”. From > there, follow the instructions to create the type of in-app purchase you > wish to use. > > In Google Play Console > Monitize > In-App Products > Create Product, > there isn’t a place to select the type of in-app purchase. > > Any insight or instructions you may have would be greatly appreciated!! > > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 8 12:37:57 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 10:37:57 -0600 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: <1335B845-0809-4929-98E7-8EBF048E81E6@swcp.com> I stopped service Spoolsv. The executable then loaded quickly. It is not possible to delete drivers on that computer. I will set up a different computer with limited printer drivers. I look forward to seeing this resolved. My program does not print. Is there something I can remove in the creating of a standalone? Dar > On Aug 8, 2023, at 10:07 AM, panagiotis m via use-livecode wrote: > > Hello all, > > We recently fixed a bug (affecting mainly Windows 11) where the LC > installer, the LC IDE and Windows standalones were crashing on startup. It > turned out this was caused if some generic printer drivers were installed > in the device, and installing the official printer drivers from the > vendor's website prevented the crash. We had reports for Brother printers, > Epson and HP if I remember correctly. > > The fix we added did fix the crash, but in some cases caused a delay on > startup, if the device still had the "generic" printer driver installed. > > That's why I asked to quit the printer spooler and try again - if it works > with the printer spooler not running, it means that this device has a > "generic" printer driver installed, so Dar could just install the official > driver from the vendor's website and have the issue fixed. > > Kind regards, > Panos > > > > On Tue, 8 Aug 2023 at 18:36, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Pardon me if you know this already. Apps that are capable of printing will >> attempt to connect to the default printer upon launch. Panos is trying to >> isolate an issue where if the default printer is unresponsive, your app >> will wait until the process times out before proceeding. In Windows the >> Print Spooler service is the broker for all print processes. Stopping this >> service will prevent the long timeout. >> >> If using Windows, pop the Windows menu then start typing the word, >> “Service”. Once you see “Services” open it, then find the Print Spooler >> service (the list is Hot Typable but you have to select one of the services >> first, otherwise just scroll down) the slick the Stop Service button. >> >> BTW I would not use the task manager for this. I do not see either of >> those names in my tasks. I think the Print Spooler task is actually named >> Spoolsv. >> >> Bob S >> >> >> On Aug 8, 2023, at 7:26 AM, Dar Scott via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Sure, Panos! Uh, what’s its name? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:39:06 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Aug 2023 11:39:06 -0500 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: <189d6043010.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Removing the print driver or spooler works on the current machine but it will affect any other user who runs the app. We have a steady stream of support tickets from Windows users and a boilerplate response prepared. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 8, 2023 11:09:41 AM panagiotis m via use-livecode wrote: > Hello all, > > We recently fixed a bug (affecting mainly Windows 11) where the LC > installer, the LC IDE and Windows standalones were crashing on startup. It > turned out this was caused if some generic printer drivers were installed > in the device, and installing the official printer drivers from the > vendor's website prevented the crash. We had reports for Brother printers, > Epson and HP if I remember correctly. > > The fix we added did fix the crash, but in some cases caused a delay on > startup, if the device still had the "generic" printer driver installed. > > That's why I asked to quit the printer spooler and try again - if it works > with the printer spooler not running, it means that this device has a > "generic" printer driver installed, so Dar could just install the official > driver from the vendor's website and have the issue fixed. > > Kind regards, > Panos > > > > On Tue, 8 Aug 2023 at 18:36, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Pardon me if you know this already. Apps that are capable of printing will >> attempt to connect to the default printer upon launch. Panos is trying to >> isolate an issue where if the default printer is unresponsive, your app >> will wait until the process times out before proceeding. In Windows the >> Print Spooler service is the broker for all print processes. Stopping this >> service will prevent the long timeout. >> >> If using Windows, pop the Windows menu then start typing the word, >> Service. Once you see Services open it, then find the Print Spooler >> service (the list is Hot Typable but you have to select one of the services >> first, otherwise just scroll down) the slick the Stop Service button. >> >> BTW I would not use the task manager for this. I do not see either of >> those names in my tasks. I think the Print Spooler task is actually named >> Spoolsv. >> >> Bob S >> >> >> On Aug 8, 2023, at 7:26 AM, Dar Scott via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Sure, Panos! Uh, whats its name? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 8 12:41:45 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 10:41:45 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> Message-ID: xcode-select -p /Library/Developer/CommandLineTools > On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: > > I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. > > For PLIST I chose Chose a PLIST and then clicked Use None. > > I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. > > I have no Icons added. > > I get the same error. > > Dar > >> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >> >> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >> >>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>> >>> Bob S >>> >>> >>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>> >>>> Thanks, Jacque! >>>> >>>> That gives me a clue. I will try to get more info on this. >>>> >>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>> >>>> I’m willing to try some magic values in Standalone Application Settings. >>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>> I’m on macOS Ventura. >>>> >>>> Has anyone successfully built a Mac application recently? >>>> >>>> Dar >>>> >>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> This might help: >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>> >>>>>> I’m having trouble building an application for Mac Intel. >>>>>> >>>>>> The first time LiveCode crashed. >>>>>> >>>>>> Subsequent times, I get this error: >>>>>> There was an error while saving the standalone application >>>>>> Adding ad-hoc signature failed with error: >>>>>> /…/myProgram.app: >>>>>> Replacing existing signature >>>>>> /…/myProgram.app: >>>>>> Resource for, Finder information, or similar detritus not >>>>>> Allowed >>>>>> >>>>>> I tried fiddling with the PLIST settings without success. >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From marksmithhfx at gmail.com Tue Aug 8 12:47:05 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Aug 2023 17:47:05 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> Message-ID: I get this in response to Xcode-select -p /Applications/Xcode 13.2.app/Contents/Developer > On 8 Aug 2023, at 5:41 pm, Dar Scott via use-livecode wrote: > > xcode-select -p > /Library/Developer/CommandLineTools > >> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >> >> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >> >> For PLIST I chose Chose a PLIST and then clicked Use None. >> >> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >> >> I have no Icons added. >> >> I get the same error. >> >> Dar >> >>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>> >>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>> >>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>> >>>> Bob S >>>> >>>> >>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> Thanks, Jacque! >>>>> >>>>> That gives me a clue. I will try to get more info on this. >>>>> >>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>> >>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>> I’m on macOS Ventura. >>>>> >>>>> Has anyone successfully built a Mac application recently? >>>>> >>>>> Dar >>>>> >>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>> >>>>>> This might help: >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>> >>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>> >>>>>>> The first time LiveCode crashed. >>>>>>> >>>>>>> Subsequent times, I get this error: >>>>>>> There was an error while saving the standalone application >>>>>>> Adding ad-hoc signature failed with error: >>>>>>> /…/myProgram.app: >>>>>>> Replacing existing signature >>>>>>> /…/myProgram.app: >>>>>>> Resource for, Finder information, or similar detritus not >>>>>>> Allowed >>>>>>> >>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 8 12:47:10 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 10:47:10 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> Message-ID: <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> Oh, and I’m building from a network drive. > On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: > > xcode-select -p > /Library/Developer/CommandLineTools > >> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >> >> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >> >> For PLIST I chose Chose a PLIST and then clicked Use None. >> >> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >> >> I have no Icons added. >> >> I get the same error. >> >> Dar >> >>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>> >>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>> >>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>> >>>> Bob S >>>> >>>> >>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> Thanks, Jacque! >>>>> >>>>> That gives me a clue. I will try to get more info on this. >>>>> >>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>> >>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>> I’m on macOS Ventura. >>>>> >>>>> Has anyone successfully built a Mac application recently? >>>>> >>>>> Dar >>>>> >>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>> >>>>>> This might help: >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>> >>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>> >>>>>>> The first time LiveCode crashed. >>>>>>> >>>>>>> Subsequent times, I get this error: >>>>>>> There was an error while saving the standalone application >>>>>>> Adding ad-hoc signature failed with error: >>>>>>> /…/myProgram.app: >>>>>>> Replacing existing signature >>>>>>> /…/myProgram.app: >>>>>>> Resource for, Finder information, or similar detritus not >>>>>>> Allowed >>>>>>> >>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 13:18:16 2023 From: mkoob at rogers.com (Martin Koob) Date: Tue, 8 Aug 2023 13:18:16 -0400 Subject: Variable Watcher disappeared In-Reply-To: References: Message-ID: <2E7C61D6-01E0-4AB0-8DD0-6EDEF268C6B6@rogers.com> Hi Bob So you can see the Script Editor but you can’t see the variables pane at the bottom? There is a drag handle at the bottom of the Script Editor pane to resize it. Maybe you accidentally dragged that to the bottom hiding the variable pane at the bottom. Even if you did that you should still see the tabs for ‘Errors’; ‘Variables’; ‘Documentation’; ‘Breakpoints’; ’Search Results’. You should be able to drag the Drag handle up to reveal the bottom pane. The following doesn’t probably apply to you if your Script Editor Stack is open and visible. You probably know this but another thing that happens to me is that some of the LiveCode stacks disappear randomly. One thing that happens is that they somehow get moved offscreen. To get them back I first check if they are there by typing the following into the message box. put the openstacks That should result in a list like this. Message Box My Demo Stack revInspector revTools revNewScriptEditor 1 revDictionary revMenuBar Improve LiveCode Handler Finder com.livecode.palette.autocomplete.completions If you see the stack in the list that you are looking for you can relocate it back to the screen by setting its location to something that will be on your display by entering the following in the message box. set the topleft of stack "revtools" to 100,100 Two other reasons stacks disappear is that they become hidden or closed. If the stack is closed then enter the following in the message box open stack “revtools If the stack is open but hidden enter show stack “revtools” If it is your message box that you can’t find then there is nothing you can do…. … Just kidding. ;-) Just type command key + M to show the message box. Bob, I am sure this is covering things you already know but just in case there others in future are looking for this I added the other cases where your LiveCode IDE stacks disappear. BTW I am using LC 9.6.9 on a M1 Max Mac running Ventura 13.41 Martin > On Aug 8, 2023, at 12:28 PM, Bob Sneidar via use-livecode wrote: > > Hi all. > > Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? > > 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 dick.kriesel at mail.com Tue Aug 8 13:22:44 2023 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 8 Aug 2023 10:22:44 -0700 Subject: Variable Watcher disappeared In-Reply-To: References: Message-ID: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> Hi, Bob. The bottom pane reappears to show search results, so search for something. — Dick > On Aug 8, 2023, at 9:28 AM, Bob Sneidar via use-livecode wrote: > > Hi all. > > Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Aug 8 13:28:31 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 17:28:31 +0000 Subject: Variable Watcher disappeared In-Reply-To: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> References: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> Message-ID: That was a good suggestion, but alas no cookie. The entire window is visible, but the handle to resize is not visible. The handle for the handlers pane is visible, but is lower than halfway down the window, clueing me into the likelihood that something has gone horribly awry with my script editor. Quitting and relaunching does not fix it. I checked the forums and bug reports, nothing I can find. I’ll contact support I guess. Bob S > On Aug 8, 2023, at 10:22 AM, Dick Kriesel via use-livecode wrote: > > Hi, Bob. The bottom pane reappears to show search results, so search for something. > — Dick > >> On Aug 8, 2023, at 9:28 AM, Bob Sneidar via use-livecode wrote: >> >> Hi all. >> >> Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? >> >> Bob S >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Aug 8 13:39:10 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 17:39:10 +0000 Subject: Variable Watcher disappeared In-Reply-To: References: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> Message-ID: <44FF4A7B-5381-4E21-99A6-D6E03F131205@iotecdigital.com> Resetting prefs fixed it. Should be a better way than starting from scratch though. Bob S > On Aug 8, 2023, at 10:28 AM, Bob Sneidar wrote: > > That was a good suggestion, but alas no cookie. The entire window is visible, but the handle to resize is not visible. The handle for the handlers pane is visible, but is lower than halfway down the window, clueing me into the likelihood that something has gone horribly awry with my script editor. Quitting and relaunching does not fix it. > > I checked the forums and bug reports, nothing I can find. I’ll contact support I guess. > > Bob S > > >> On Aug 8, 2023, at 10:22 AM, Dick Kriesel via use-livecode wrote: >> >> Hi, Bob. The bottom pane reappears to show search results, so search for something. >> — Dick >> >>> On Aug 8, 2023, at 9:28 AM, Bob Sneidar via use-livecode wrote: >>> >>> Hi all. >>> >>> Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? >>> >>> Bob S >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Tue Aug 8 13:41:30 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 11:41:30 -0600 Subject: Color of text of the selected tab of Tab Panel Message-ID: <431B5ABB-9316-40C8-BFB6-FAACFFD8F769@swcp.com> I’m developing on a Mac. In order to change the color of the text on the selected tab of a Tab Panel I had to change backgroundColor. The seems weird. (I’ve been away, so I don’t remember how this should go). However, the .exe on Windows shows that text the same color as on the other tabs. I set other color properties except foregroundColor to a variety of colors to see if any affected the color, but that text is still black. I would like for it to work the same on both Windows and Mac. I do want to strengthen the emphasis for the selected tab. If need be, I can use a different method for the extra emphasis. I’d like to do it in a way that doesn’t break when any bugs are fixed. Ideas? Dar From andrew at midwestcoastmedia.com Tue Aug 8 13:56:16 2023 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Tue, 8 Aug 2023 13:56:16 -0400 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: If I’m consuming instantly, this is the code working in my Android/iOS project with comment lines explaining the values being passed in the Android build (note that the product ID values are more specific for Android than iOS): if tPlatform = "android" then put "com.midwestcoastmedia.dj3pm." into tProductIDbase else if tPlatform = "iPhone" then put EMPTY into tProductIDbase end if put tProductIDbase & pWhichProduct into tProductID mobileStoreEnablePurchaseUpdates ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", "inapp" mobileStoreSetProductType tProductID, "inapp" ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", "1", "Thanks for the buck!" mobileStoreMakePurchase tProductID, "1", tMessage ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" mobileStoreConsumePurchase tProductID put the result into tCatch BUT you’ll also need to implement the on purchaseStateUpdate handler to completely execute the purchase cycle. The lesson is sometimes hard to follow when Android changes their branding/naming but https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store has a good example of this. —Andrew Bell > To: How to use LiveCode > Subject: Re: Consumable In App Purchases on Android > Message-ID: > > > Content-Type: text/plain; charset="Windows-1252" > > Panos, > > Thank you for the reply. Unfortunately, this isn?t working for me? maybe I?m doing something wrong? Product ID is ?1001?. I was able to purchase that product no problem. If I attempt to purchase it again, I get ?alreadyEntitled?. > > In a button I put: > > on mouseUp > mobileStoreConsumePurchase 1001 > answer the result > end mouseUp > > The result is empty (I assume that is success). Then, I attempt to purchase 1001 and again I get ?alreadyEntitled?. > > I then tried (just guessing at what I need to do as the docs are very vague on how to use it): > > on mouseUp > mobileStoreEnablePurchaseUpdates > mobileStoreSetProductType 1001,"inapp" > mobileStoreConsumePurchase 1001 > answer the result > end mouseUp > > Again, result is empty and an attempt to purchase 1001 again, gets ?alreadyEntitled?. > > What am I doing wrong? > > -Dan > > > > From: use-livecode on behalf of panagiotis m via use-livecode > Date: Tuesday, August 8, 2023 at 9:21 AM > To: How to use LiveCode > Cc: panagiotis m > Subject: Re: Consumable In App Purchases on Android > Hello Dan, > > I think Google no longer differentiates between consumables and > non-consumables when setting up the in-app product - they are both marked > as "In-App Products?. However, in LiveCode, you have to call > mobileStoreConsumePurchase pProductID to be able to buy the product again - > otherwise you get a "alreadyEntitled" status. > > If you do this, and still get "alreadyEntitled", then you have to ensure > that the pProductID param passed to mobileStoreConsumePurchase indeed > matches exactly the product id of the product you set up in the google dev > console. > > Hope this helps. > > Kind regards, > Panos > > On Tue, 8 Aug 2023 at 01:57, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Does anyone have any experience with consumable in-app purchases on >> Android? I can?t seem to figure out how to (1) create a consumable >> product, and (2) how to consume it. mobileStoreConsumePurchase pProductID >> doesn?t seem to function right? I get back a result that is ?true?, but >> attempting to purchase the same product, returns ?alreadyEntitled?. >> >> The ?How do I implement in-app purchases in LiveCode - Google Play Store?? >> lesson says: click "In-App Products? and click ?Add new product?. From >> there, follow the instructions to create the type of in-app purchase you >> wish to use. >> >> In Google Play Console > Monitize > In-App Products > Create Product, >> there isn?t a place to select the type of in-app purchase. >> >> Any insight or instructions you may have would be greatly appreciated!! >> >> -Dan >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Aug 8 13:59:28 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 17:59:28 +0000 Subject: Color of text of the selected tab of Tab Panel In-Reply-To: <431B5ABB-9316-40C8-BFB6-FAACFFD8F769@swcp.com> References: <431B5ABB-9316-40C8-BFB6-FAACFFD8F769@swcp.com> Message-ID: <6ACB00F6-8087-4125-851D-7F57BC78AE4E@iotecdigital.com> Uurgh. I ran into this. It prompted me to create my own custom tab group around the tab widget. I overlayed buttons on the tab graphics, but the tricky part was getting the buttons to resize and reposition when new tabs were added. Bob S > On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: > > > I’m developing on a Mac. In order to change the color of the text on the selected tab of a Tab Panel I had to change backgroundColor. The seems weird. (I’ve been away, so I don’t remember how this should go). > > However, the .exe on Windows shows that text the same color as on the other tabs. I set other color properties except foregroundColor to a variety of colors to see if any affected the color, but that text is still black. > > I would like for it to work the same on both Windows and Mac. I do want to strengthen the emphasis for the selected tab. > > If need be, I can use a different method for the extra emphasis. > > I’d like to do it in a way that doesn’t break when any bugs are fixed. > > Ideas? > > Dar > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 8 14:14:41 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 12:14:41 -0600 Subject: Rectangles on Windows? Message-ID: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> I have some rectangles that work just fine in development on my Mac. However, there are problems in my Windows standalone. Not Showing Up Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness Showing Up Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. From dsc at swcp.com Tue Aug 8 14:25:01 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 12:25:01 -0600 Subject: Color of text of the selected tab of Tab Panel In-Reply-To: <6ACB00F6-8087-4125-851D-7F57BC78AE4E@iotecdigital.com> References: <431B5ABB-9316-40C8-BFB6-FAACFFD8F769@swcp.com> <6ACB00F6-8087-4125-851D-7F57BC78AE4E@iotecdigital.com> Message-ID: <77ECCE23-267B-418B-8670-8533B7794D3A@swcp.com> Thanks, Bob! I am quite open to using a different tab control. I might make my own or use another designer's tab control that fits in with the run-of-the-mill GUI. Hmmm, I’ve put some time into this look and feel, but I’m willing to consider a change, so I guess I should look at even exotic tab controls. In the mean time, I will try to set up something safe. Dar > On Aug 8, 2023, at 11:59 AM, Bob Sneidar via use-livecode wrote: > > Uurgh. I ran into this. It prompted me to create my own custom tab group around the tab widget. I overlayed buttons on the tab graphics, but the tricky part was getting the buttons to resize and reposition when new tabs were added. > > Bob S > > >> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >> >> >> I’m developing on a Mac. In order to change the color of the text on the selected tab of a Tab Panel I had to change backgroundColor. The seems weird. (I’ve been away, so I don’t remember how this should go). >> >> However, the .exe on Windows shows that text the same color as on the other tabs. I set other color properties except foregroundColor to a variety of colors to see if any affected the color, but that text is still black. >> >> I would like for it to work the same on both Windows and Mac. I do want to strengthen the emphasis for the selected tab. >> >> If need be, I can use a different method for the extra emphasis. >> >> I’d like to do it in a way that doesn’t break when any bugs are fixed. >> >> Ideas? >> >> Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From craig at starfirelighting.com Tue Aug 8 15:13:47 2023 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 8 Aug 2023 15:13:47 -0400 Subject: Variable Watcher disappeared In-Reply-To: <44FF4A7B-5381-4E21-99A6-D6E03F131205@iotecdigital.com> References: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> <44FF4A7B-5381-4E21-99A6-D6E03F131205@iotecdigital.com> Message-ID: <76E6D4CF-801E-423E-9D1C-1EFA59B09E8F@starfirelighting.com> What happens if you set the top of the SE window a bit higher than current? I have a gadget that locates the SE on my portrait monitor on command. I could easily make its top anything I want, and I bet that would display the hidden bottom of the window. Craig > On Aug 8, 2023, at 1:39 PM, Bob Sneidar via use-livecode wrote: > > Resetting prefs fixed it. Should be a better way than starting from scratch though. > > Bob S > > >> On Aug 8, 2023, at 10:28 AM, Bob Sneidar wrote: >> >> That was a good suggestion, but alas no cookie. The entire window is visible, but the handle to resize is not visible. The handle for the handlers pane is visible, but is lower than halfway down the window, clueing me into the likelihood that something has gone horribly awry with my script editor. Quitting and relaunching does not fix it. >> >> I checked the forums and bug reports, nothing I can find. I’ll contact support I guess. >> >> Bob S >> >> >>> On Aug 8, 2023, at 10:22 AM, Dick Kriesel via use-livecode wrote: >>> >>> Hi, Bob. The bottom pane reappears to show search results, so search for something. >>> — Dick >>> >>>> On Aug 8, 2023, at 9:28 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> Hi all. >>>> >>>> Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? >>>> >>>> Bob S >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Tue Aug 8 15:51:08 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 8 Aug 2023 19:51:08 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Andrew, Thank you for the input. The code snippet you said you are using has mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase. Is that what you are doing? The LC example show that mobileStoreMakePurchase should be handled in the purchaseStateUpdate message after the purchase is paymentReceived” If that’s true, then I feel like I’m doing exactly what you are suggesting. The purchase is fine, but the consumption if not working for me. Here’s what I’m doing: on startInAppPurchase numCredits //setup purchase id if numCredits = 1 then put 1001 into productID put "$0.99" into productAmount else if numCredits = 2 then put 1002 into productID put "$1.99" into productAmount else if numCredits = 3 then put 1003 into productID put "$2.99" into productAmount else if numCredits = 11 then put 1011 into productID put "$9.99" into productAmount end if //confirm with user if numCredits = 1 then put "Are you sure you want to purchase 1 credit for" && productAmount & "?" into pString else put "Are you sure you want to purchase" && numCredits && "credits for" && productAmount & "?" into pString end if if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") = "Cancel" then //my custom answer dialog exit startInAppPurchase end if //initiate the purchase mobileStoreEnablePurchaseUpdates mobileStoreSetProductType productID,"inapp" mobileStoreMakePurchase productID,"1","testPayload - Android Only" end startInAppPurchase on purchaseStateUpdate pPurchaseID,pProductID,pState global user switch pState case "paymentReceived" put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData //tell our server is was sucessful and log users credits to database if isIPhone() then if db_validateAppleReceipt(rawReciptData) then add (pProductID-1000) to user["credits"] end if else //will add Android database call when ready end if mobileStoreConfirmPurchase pProductID //Inform the store that the purchase identifier productID was successfully delivered if isAndroid() then mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO CONSUME THE PRODUCT !! end if mobileStoreDisablePurchaseUpdates loadMeUp //refresh our display break case "error" answer "Error occured during purchase handling:" & return & return & mobileStorePurchaseError(pPurchaseID) mobileStoreDisablePurchaseUpdates break case "invalidSKU" answer "Invalid SKU." mobileStoreDisablePurchaseUpdates break case "alreadyEntitled" answer "Already Owned." mobileStoreDisablePurchaseUpdates break case "restored" answer "restored" offerPurchasedProduct pProductID mobileStoreConfirmPurchase pProductID mobileStoreDisablePurchaseUpdates loadMeUp //refresh our display break case "canceled" case "cancelled" answer "Purchase Cancelled:" && pProductID mobileStoreDisablePurchaseUpdates break end switch end purchaseStateUpdate Do you see anything wonky in my code? --Dan From: use-livecode on behalf of Andrew at MidWest Coast Media via use-livecode Date: Tuesday, August 8, 2023 at 10:57 AM To: use-livecode at lists.runrev.com Cc: Andrew at MidWest Coast Media Subject: Re: Consumable In App Purchases on Android If I’m consuming instantly, this is the code working in my Android/iOS project with comment lines explaining the values being passed in the Android build (note that the product ID values are more specific for Android than iOS): if tPlatform = "android" then put "com.midwestcoastmedia.dj3pm." into tProductIDbase else if tPlatform = "iPhone" then put EMPTY into tProductIDbase end if put tProductIDbase & pWhichProduct into tProductID mobileStoreEnablePurchaseUpdates ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", "inapp" mobileStoreSetProductType tProductID, "inapp" ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", "1", "Thanks for the buck!" mobileStoreMakePurchase tProductID, "1", tMessage ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" mobileStoreConsumePurchase tProductID put the result into tCatch BUT you’ll also need to implement the on purchaseStateUpdate handler to completely execute the purchase cycle. The lesson is sometimes hard to follow when Android changes their branding/naming but https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store has a good example of this. —Andrew Bell From bobsneidar at iotecdigital.com Tue Aug 8 16:04:30 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 20:04:30 +0000 Subject: Variable Watcher disappeared In-Reply-To: <76E6D4CF-801E-423E-9D1C-1EFA59B09E8F@starfirelighting.com> References: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> <44FF4A7B-5381-4E21-99A6-D6E03F131205@iotecdigital.com> <76E6D4CF-801E-423E-9D1C-1EFA59B09E8F@starfirelighting.com> Message-ID: <7347F88E-BCA8-4596-9A24-4A9E80C3368F@iotecdigital.com> Didn’t try that. Too late now, I’m on new prefs, but if it happens again I’ll give it a try. I did drag the window to no effect, but I didn’t try resizing from the top. Bob S On Aug 8, 2023, at 12:13 PM, Craig Newman via use-livecode wrote: What happens if you set the top of the SE window a bit higher than current? I have a gadget that locates the SE on my portrait monitor on command. I could easily make its top anything I want, and I bet that would display the hidden bottom of the window. Craig On Aug 8, 2023, at 1:39 PM, Bob Sneidar via use-livecode > wrote: Resetting prefs fixed it. Should be a better way than starting from scratch though. Bob S From marksmithhfx at gmail.com Tue Aug 8 16:44:41 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Aug 2023 21:44:41 +0100 Subject: Variable Watcher disappeared In-Reply-To: <7347F88E-BCA8-4596-9A24-4A9E80C3368F@iotecdigital.com> References: <7347F88E-BCA8-4596-9A24-4A9E80C3368F@iotecdigital.com> Message-ID: <6764A36B-C213-4829-84E7-812E5D2DCAE2@gmail.com> Bob, glad you were able to fix it. I wonder what caused it in the first place. Martin, an incredible list of ways to get windows back. Thanks for posting!!! Sent from my iPhone > On Aug 8, 2023, at 9:05 PM, Bob Sneidar via use-livecode wrote: > > Didn’t try that. Too late now, I’m on new prefs, but if it happens again I’ll give it a try. I did drag the window to no effect, but I didn’t try resizing from the top. > > Bob S > > > On Aug 8, 2023, at 12:13 PM, Craig Newman via use-livecode wrote: > > What happens if you set the top of the SE window a bit higher than current? > > I have a gadget that locates the SE on my portrait monitor on command. I could easily make its top anything I want, and I bet that would display the hidden bottom of the window. > > Craig > > On Aug 8, 2023, at 1:39 PM, Bob Sneidar via use-livecode > wrote: > > Resetting prefs fixed it. Should be a better way than starting from scratch though. > > 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 dsc at swcp.com Tue Aug 8 18:45:19 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 16:45:19 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> Message-ID: <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. I guess building expects a drive on my Mac. And my Mac returns a bogus error message. I suggest one of these as an improvement to the build operation: * Complain and advise when the target is on a network drive. * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) Suggestion: * I should not have to remember. Thanks, everybody, for your help! Dar > On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: > > Oh, and I’m building from a network drive. > > >> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >> >> xcode-select -p >> /Library/Developer/CommandLineTools >> >>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>> >>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>> >>> For PLIST I chose Chose a PLIST and then clicked Use None. >>> >>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>> >>> I have no Icons added. >>> >>> I get the same error. >>> >>> Dar >>> >>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>> >>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>> >>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>> >>>>> Bob S >>>>> >>>>> >>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> Thanks, Jacque! >>>>>> >>>>>> That gives me a clue. I will try to get more info on this. >>>>>> >>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>> >>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>> I’m on macOS Ventura. >>>>>> >>>>>> Has anyone successfully built a Mac application recently? >>>>>> >>>>>> Dar >>>>>> >>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>> >>>>>>> This might help: >>>>>>> >>>>>>> -- >>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>> >>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>> >>>>>>>> The first time LiveCode crashed. >>>>>>>> >>>>>>>> Subsequent times, I get this error: >>>>>>>> There was an error while saving the standalone application >>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>> /…/myProgram.app: >>>>>>>> Replacing existing signature >>>>>>>> /…/myProgram.app: >>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>> Allowed >>>>>>>> >>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From matthias_livecode_150811 at m-r-d.de Tue Aug 8 19:13:15 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Aug 2023 01:13:15 +0200 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> Message-ID: <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> Hi Dar, just a shot in the dark.... For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? Regards, Matthias > Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : > > I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. > > I guess building expects a drive on my Mac. And my Mac returns a bogus error message. > > I suggest one of these as an improvement to the build operation: > > * Complain and advise when the target is on a network drive. > * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. > > I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) > > Suggestion: > > * I should not have to remember. > > Thanks, everybody, for your help! > > Dar > >> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >> >> Oh, and I’m building from a network drive. >> >> >>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>> >>> xcode-select -p >>> /Library/Developer/CommandLineTools >>> >>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>> >>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>> >>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>> >>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>> >>>> I have no Icons added. >>>> >>>> I get the same error. >>>> >>>> Dar >>>> >>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>> >>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>> >>>>>> Bob S >>>>>> >>>>>> >>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> Thanks, Jacque! >>>>>>> >>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>> >>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>> >>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>> I’m on macOS Ventura. >>>>>>> >>>>>>> Has anyone successfully built a Mac application recently? >>>>>>> >>>>>>> Dar >>>>>>> >>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>> >>>>>>>> This might help: >>>>>>>> >>>>>>>> -- >>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>> >>>>>>>>> The first time LiveCode crashed. >>>>>>>>> >>>>>>>>> Subsequent times, I get this error: >>>>>>>>> There was an error while saving the standalone application >>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>> /…/myProgram.app: >>>>>>>>> Replacing existing signature >>>>>>>>> /…/myProgram.app: >>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>> Allowed >>>>>>>>> >>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 19:15:08 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 23:15:08 +0000 Subject: Sorting Arrays Message-ID: Has anyone come across a need to sort a numbered array by the values of the different keys? Here you go. Keep in mind that there is no error checking so I have no idea what would happen if you provided a sort key that didn’t exist in the array. on sortNumberedArray @pArrayDataA, pSortKeys /* Provide a numbered array of key value pairs and a comma delimited list of the sort order you want. Ex. "filename,version numeric descending". The result will be numbered array resorted by the sort order you provide. */ put the keys of pArrayDataA into tKeyList sort tKeyList numeric ascending put the number of items of pSortKeys into tSortKeyCount -- convert the sort keys to an array repeat with i = the number of items of pSortKeys down to 1 put item i of pSortKeys into tSortIndex repeat with x = the number of words of tSortIndex down to 1 put word x of tSortIndex into tKeyWord switch case tKeyWord is among the items of "asc,ascending,desc,descending" put tKeyWord into tSortKeysA [i] ["sortorder"] break case tKeyWord is "International,Numeric,datetime,text,binary" put tKeyWord into tSortKeysA [i] ["sorttype"] break default put word 1 to x of tSortIndex into tSortKeysA [i] ["sortvalue"] end switch end repeat end repeat -- build a comma delimited list of sort keys from the passed array put the keys of pArrayDataA into tInputKeyList sort tInputKeyList numeric ascending repeat for each line tLine in tInputKeyList put the keys of tSortKeysA into tSortKeyList sort lines of tSortKeyList numeric repeat for each line tSortLine in tSortKeyList put tSortKeysA [tSortLine] ["sortvalue"] into tSortValue put pArrayDataA [tLine] [tSortValue] into item tSortLine of line tLine of tSortValueList end repeat put "," & tLine after tSortValueList end repeat -- sort the list put the keys of tSortKeysA into tSortKeyList sort tSortKeyList numeric descending repeat for each line tKey in tSortKeyList put "sort lines of tSortValueList" && tSortKeysA [tKey] ["sortorder"] && tSortKeysA [tKey] ["sorttype"] && \ "by item" && tkey && "of each" into tSortCommand do tSortCommand end repeat -- convert the list back to an array repeat for each line tLine in tSortValueList add 1 to tArrayCounter put item -1 of tLine into tArrayIndex put pArrayDataA [tArrayIndex] into tOutArrayA [tArrayCounter] end repeat put tOutArrayA into pArrayDataA end sortNumberedArray Bob S From matthias_livecode_150811 at m-r-d.de Wed Aug 9 01:32:30 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Aug 2023 07:32:30 +0200 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> Message-ID: Forgot my answer, i just saw your post that your error where caused because of building to a network drive. I had similar problems btw. in the past when building to a dropbox folder or a folder that was synchronized with iCloud. Regards, Matthias > Am 09.08.2023 um 01:13 schrieb matthias_livecode_150811 at m-r-d.de: > > Hi Dar, > > just a shot in the dark.... > > For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. > In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? > > Regards, > Matthias > > >> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >> >> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >> >> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >> >> I suggest one of these as an improvement to the build operation: >> >> * Complain and advise when the target is on a network drive. >> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >> >> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >> >> Suggestion: >> >> * I should not have to remember. >> >> Thanks, everybody, for your help! >> >> Dar >> >>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>> >>> Oh, and I’m building from a network drive. >>> >>> >>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>> >>>> xcode-select -p >>>> /Library/Developer/CommandLineTools >>>> >>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>> >>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>> >>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>> >>>>> I have no Icons added. >>>>> >>>>> I get the same error. >>>>> >>>>> Dar >>>>> >>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>> >>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>> >>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>> >>>>>>> Bob S >>>>>>> >>>>>>> >>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> Thanks, Jacque! >>>>>>>> >>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>> >>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>> >>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>> I’m on macOS Ventura. >>>>>>>> >>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>> >>>>>>>> Dar >>>>>>>> >>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>> >>>>>>>>> This might help: >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>> >>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>> >>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>> /…/myProgram.app: >>>>>>>>>> Replacing existing signature >>>>>>>>>> /…/myProgram.app: >>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>> Allowed >>>>>>>>>> >>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Wed Aug 9 04:04:45 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 9 Aug 2023 11:04:45 +0300 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> Message-ID: Hello Dar, I can successfully build a Mac standalone in a network drive. The error you are getting indicates that the app the standalone builder tries to codesign, has some extended attributes. This is strange, because the standalone builder does this very thing (i.e. it clears the extended attributes) just before the codesign command. I am wondering - do you get the same error when trying to build a standalone from a new simple stack? Or does that happen only with a specific stack? If the latter, does this stack contain anything in the Copy Files? Kind regards, Panos On Wed, 9 Aug 2023 at 08:33, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Forgot my answer, i just saw your post that your error where caused > because of building to a network drive. > > I had similar problems btw. in the past when building to a dropbox folder > or a folder that was synchronized with iCloud. > > Regards, > Matthias > > > > > Am 09.08.2023 um 01:13 schrieb matthias_livecode_150811 at m-r-d.de: > > > > Hi Dar, > > > > just a shot in the dark.... > > > > For some time now Livecode does an adhoc code signing when creating a > macOS standalone. So therefore the Xcode command line tools have to be > installed. > > In case you have installed more than one versions of Xcode on your > system, did you select in Xcode preferences the correct Xcode standalone > tools that shall be used? > > > > Regards, > > Matthias > > > > > >> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> I have a clue. I changed the build destination to a drive on my Mac. > That seemed to have gotten past that error and I ran into other errors. > >> > >> I guess building expects a drive on my Mac. And my Mac returns a bogus > error message. > >> > >> I suggest one of these as an improvement to the build operation: > >> > >> * Complain and advise when the target is on a network drive. > >> * Build the standalone in a temporary location on the local drive and > then copy to the network drive when the target is on a network drive. > >> > >> I got past that error, but now I am running into others. They look > familiar. I think the problem is that I’m not remembering the magic steps > related to saving, purging and so on. I’m not sure, since I can build for > Windows. (I can probably stumble through what I did long, long ago, but > might figure it out faster.) > >> > >> Suggestion: > >> > >> * I should not have to remember. > >> > >> Thanks, everybody, for your help! > >> > >> Dar > >> > >>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> Oh, and I’m building from a network drive. > >>> > >>> > >>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> xcode-select -p > >>>> /Library/Developer/CommandLineTools > >>>> > >>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>> > >>>>> I removed all inclusions. I opted to remove all profiles, probably > none. There are no Copy Files. I’m building for Intel only. > >>>>> > >>>>> For PLIST I chose Chose a PLIST and then clicked Use None. > >>>>> > >>>>> I set my bundle identifier and have not changed that among my > attempts. I left all of the other Version Information as default. > >>>>> > >>>>> I have no Icons added. > >>>>> > >>>>> I get the same error. > >>>>> > >>>>> Dar > >>>>> > >>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>> Signing happens after the app is built and is a manual process, so > yours isn't signed /notarized yet. But unsigned apps run on the development > machine anyway, so I'd say you built the app successfully. > >>>>>> > >>>>>> -- > >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>>>>> HyperActive Software | http://www.hyperactivesw.com > >>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>>> I have, but I don’t do any signing or notarizing. If that happens > transparently, then it’s working for me. > >>>>>>> > >>>>>>> Bob S > >>>>>>> > >>>>>>> > >>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>>>> > >>>>>>>> Thanks, Jacque! > >>>>>>>> > >>>>>>>> That gives me a clue. I will try to get more info on this. > >>>>>>>> > >>>>>>>> However, that note shows how to delete the offending resource > using the xattr tool, but I have no app to point it to. LiveCode did not > build anything. > >>>>>>>> > >>>>>>>> I’m willing to try some magic values in Standalone Application > Settings. > >>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. > >>>>>>>> I’m on macOS Ventura. > >>>>>>>> > >>>>>>>> Has anyone successfully built a Mac application recently? > >>>>>>>> > >>>>>>>> Dar > >>>>>>>> > >>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>>>>> > >>>>>>>>> This might help: > >>>>>>>>> < > https://developer.apple.com/library/archive/qa/qa1940/_index.html> > >>>>>>>>> -- > >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com > >>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>>>>> > >>>>>>>>>> I’m having trouble building an application for Mac Intel. > >>>>>>>>>> > >>>>>>>>>> The first time LiveCode crashed. > >>>>>>>>>> > >>>>>>>>>> Subsequent times, I get this error: > >>>>>>>>>> There was an error while saving the standalone application > >>>>>>>>>> Adding ad-hoc signature failed with error: > >>>>>>>>>> /…/myProgram.app: > >>>>>>>>>> Replacing existing signature > >>>>>>>>>> /…/myProgram.app: > >>>>>>>>>> Resource for, Finder information, or similar detritus not > >>>>>>>>>> Allowed > >>>>>>>>>> > >>>>>>>>>> I tried fiddling with the PLIST settings without success. > >>>>>>>>>> _______________________________________________ > >>>>>>>>>> use-livecode mailing list > >>>>>>>>>> use-livecode at lists.runrev.com > >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> _______________________________________________ > >>>>>>>>> use-livecode mailing list > >>>>>>>>> use-livecode at lists.runrev.com > >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>>>>> > >>>>>>>> > >>>>>>>> _______________________________________________ > >>>>>>>> use-livecode mailing list > >>>>>>>> use-livecode at lists.runrev.com > >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> use-livecode mailing list > >>>>>>> use-livecode at lists.runrev.com > >>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Aug 9 04:37:42 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 9 Aug 2023 11:37:42 +0300 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Hello Dan, The call to mobileStoreConfirmPurchase pProductID causes the purchaseStateUpdate message to be sent again with status=complete. So I would not suggest putting the call to mobileStoreConsumePurchase pProductID just after mobileStoreConfirmPurchase. You could either put it in a separate button and see if it works, otherwise add a [case "complete"] in the purchaseStateUpdate msg and there consume the product and disable purchase updates, i.e.: on purchaseStateUpdate pPurchaseID, pProductID, pState switch pState case "paymentReceived" answer "Payment received!" offerPurchasedProduct pProductID mobileStoreConfirmPurchase pProductID break case "error" answer "Error occured during purchase handling:" & return & return & mobileStorePurchaseError(pPurchaseID) mobileStoreDisablePurchaseUpdates break case "invalidSKU" answer "Invalid SKU." mobileStoreDisablePurchaseUpdates break case "alreadyEntitled" answer "Already Owned." mobileStoreDisablePurchaseUpdates break case "restored" put "Restored: " & pProductID & cr after field "restored" offerPurchasedProduct pProductID mobileStoreConfirmPurchase pProductID break case "cancelled" answer "Purchase Cancelled:" && pProductID mobileStoreDisablePurchaseUpdates break case "complete" answer "Purchase Complete:" && pProductID mobileStoreConsumePurchase pProductID // <-- ADD THIS HERE mobileStoreDisablePurchaseUpdates break end switch end purchaseStateUpdate Hope this helps. Kind regards, Panos -- On Tue, 8 Aug 2023 at 22:52, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Andrew, > > Thank you for the input. The code snippet you said you are using has > mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase. > Is that what you are doing? The LC example show that > mobileStoreMakePurchase should be handled in the purchaseStateUpdate > message after the purchase is paymentReceived” > > If that’s true, then I feel like I’m doing exactly what you are > suggesting. The purchase is fine, but the consumption if not working for > me. Here’s what I’m doing: > > on startInAppPurchase numCredits > //setup purchase id > if numCredits = 1 then > put 1001 into productID > put "$0.99" into productAmount > else if numCredits = 2 then > put 1002 into productID > put "$1.99" into productAmount > else if numCredits = 3 then > put 1003 into productID > put "$2.99" into productAmount > else if numCredits = 11 then > put 1011 into productID > put "$9.99" into productAmount > end if > > //confirm with user > if numCredits = 1 then > put "Are you sure you want to purchase 1 credit for" && productAmount > & "?" into pString > else > put "Are you sure you want to purchase" && numCredits && "credits for" > && productAmount & "?" into pString > end if > if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") > = "Cancel" then //my custom answer dialog > exit startInAppPurchase > end if > > //initiate the purchase > mobileStoreEnablePurchaseUpdates > mobileStoreSetProductType productID,"inapp" > mobileStoreMakePurchase productID,"1","testPayload - Android Only" > end startInAppPurchase > > on purchaseStateUpdate pPurchaseID,pProductID,pState > global user > > switch pState > case "paymentReceived" > put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData > > //tell our server is was sucessful and log users credits to database > if isIPhone() then > if db_validateAppleReceipt(rawReciptData) then > add (pProductID-1000) to user["credits"] > end if > else > //will add Android database call when ready > end if > > mobileStoreConfirmPurchase pProductID //Inform the store that the > purchase identifier productID was successfully delivered > if isAndroid() then > mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO > CONSUME THE PRODUCT !! > end if > > mobileStoreDisablePurchaseUpdates > loadMeUp //refresh our display > break > case "error" > answer "Error occured during purchase handling:" & return & return & > mobileStorePurchaseError(pPurchaseID) > mobileStoreDisablePurchaseUpdates > break > case "invalidSKU" > answer "Invalid SKU." > mobileStoreDisablePurchaseUpdates > break > case "alreadyEntitled" > answer "Already Owned." > mobileStoreDisablePurchaseUpdates > break > case "restored" > answer "restored" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > mobileStoreDisablePurchaseUpdates > > loadMeUp //refresh our display > break > case "canceled" > case "cancelled" > answer "Purchase Cancelled:" && pProductID > mobileStoreDisablePurchaseUpdates > break > end switch > end purchaseStateUpdate > > > > Do you see anything wonky in my code? > > --Dan > > From: use-livecode on behalf of > Andrew at MidWest Coast Media via use-livecode < > use-livecode at lists.runrev.com> > Date: Tuesday, August 8, 2023 at 10:57 AM > To: use-livecode at lists.runrev.com > Cc: Andrew at MidWest Coast Media > Subject: Re: Consumable In App Purchases on Android > If I’m consuming instantly, this is the code working in my Android/iOS > project with comment lines explaining the values being passed in the > Android build (note that the product ID values are more specific for > Android than iOS): > > if tPlatform = "android" then > put "com.midwestcoastmedia.dj3pm." into tProductIDbase > else if tPlatform = "iPhone" then > put EMPTY into tProductIDbase > end if > put tProductIDbase & pWhichProduct into tProductID > > mobileStoreEnablePurchaseUpdates > ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", > "inapp" > mobileStoreSetProductType tProductID, "inapp" > ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", "1", > "Thanks for the buck!" > mobileStoreMakePurchase tProductID, "1", tMessage > ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" > mobileStoreConsumePurchase tProductID > put the result into tCatch > > BUT you’ll also need to implement the on purchaseStateUpdate handler to > completely execute the purchase cycle. The lesson is sometimes hard to > follow when Android changes their branding/naming but > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store > < > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store> > has a good example of this. > > —Andrew Bell > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Wed Aug 9 07:55:21 2023 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2023 05:55:21 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> Message-ID: <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. I still feel defensive that Mac said “detritus”. ;-) > On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: > > Hi Dar, > > just a shot in the dark.... > > For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. > In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? > > Regards, > Matthias > > >> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >> >> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >> >> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >> >> I suggest one of these as an improvement to the build operation: >> >> * Complain and advise when the target is on a network drive. >> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >> >> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >> >> Suggestion: >> >> * I should not have to remember. >> >> Thanks, everybody, for your help! >> >> Dar >> >>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>> >>> Oh, and I’m building from a network drive. >>> >>> >>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>> >>>> xcode-select -p >>>> /Library/Developer/CommandLineTools >>>> >>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>> >>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>> >>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>> >>>>> I have no Icons added. >>>>> >>>>> I get the same error. >>>>> >>>>> Dar >>>>> >>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>> >>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>> >>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>> >>>>>>> Bob S >>>>>>> >>>>>>> >>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> Thanks, Jacque! >>>>>>>> >>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>> >>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>> >>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>> I’m on macOS Ventura. >>>>>>>> >>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>> >>>>>>>> Dar >>>>>>>> >>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>> >>>>>>>>> This might help: >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>> >>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>> >>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>> /…/myProgram.app: >>>>>>>>>> Replacing existing signature >>>>>>>>>> /…/myProgram.app: >>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>> Allowed >>>>>>>>>> >>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From dsc at swcp.com Wed Aug 9 08:17:14 2023 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2023 06:17:14 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> Message-ID: <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> Whoops, I sent the most recent before I saw that Panos had responded. Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. The drive provides SMB, AFP and NFS services. Dar > On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: > > I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. > > I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. > > I still feel defensive that Mac said “detritus”. ;-) > >> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >> >> Hi Dar, >> >> just a shot in the dark.... >> >> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >> >> Regards, >> Matthias >> >> >>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>> >>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>> >>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>> >>> I suggest one of these as an improvement to the build operation: >>> >>> * Complain and advise when the target is on a network drive. >>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>> >>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>> >>> Suggestion: >>> >>> * I should not have to remember. >>> >>> Thanks, everybody, for your help! >>> >>> Dar >>> >>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>> >>>> Oh, and I’m building from a network drive. >>>> >>>> >>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> xcode-select -p >>>>> /Library/Developer/CommandLineTools >>>>> >>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>> >>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>> >>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>> >>>>>> I have no Icons added. >>>>>> >>>>>> I get the same error. >>>>>> >>>>>> Dar >>>>>> >>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>> >>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>> >>>>>>> -- >>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>> >>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>> >>>>>>>> Bob S >>>>>>>> >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>> Thanks, Jacque! >>>>>>>>> >>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>> >>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>> >>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>> I’m on macOS Ventura. >>>>>>>>> >>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>> >>>>>>>>> Dar >>>>>>>>> >>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> This might help: >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>> >>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>> >>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>> >>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>> Replacing existing signature >>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>> Allowed >>>>>>>>>>> >>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Wed Aug 9 08:40:31 2023 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2023 06:40:31 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> Message-ID: I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. Dar > On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: > > Whoops, I sent the most recent before I saw that Panos had responded. > > Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. > > The drive provides SMB, AFP and NFS services. > > Dar > >> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >> >> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >> >> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >> >> I still feel defensive that Mac said “detritus”. ;-) >> >>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>> >>> Hi Dar, >>> >>> just a shot in the dark.... >>> >>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>> >>> Regards, >>> Matthias >>> >>> >>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>> >>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>> >>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>> >>>> I suggest one of these as an improvement to the build operation: >>>> >>>> * Complain and advise when the target is on a network drive. >>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>> >>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>> >>>> Suggestion: >>>> >>>> * I should not have to remember. >>>> >>>> Thanks, everybody, for your help! >>>> >>>> Dar >>>> >>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> Oh, and I’m building from a network drive. >>>>> >>>>> >>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> xcode-select -p >>>>>> /Library/Developer/CommandLineTools >>>>>> >>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>> >>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>> >>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>> >>>>>>> I have no Icons added. >>>>>>> >>>>>>> I get the same error. >>>>>>> >>>>>>> Dar >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>> >>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>> >>>>>>>> -- >>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>> >>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>> >>>>>>>>> Bob S >>>>>>>>> >>>>>>>>> >>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> Thanks, Jacque! >>>>>>>>>> >>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>> >>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>> >>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>> >>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>> >>>>>>>>>> Dar >>>>>>>>>> >>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>> >>>>>>>>>>> This might help: >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>> >>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>> >>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>> >>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>> Allowed >>>>>>>>>>>> >>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From marksmithhfx at gmail.com Wed Aug 9 09:28:54 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 9 Aug 2023 14:28:54 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> Message-ID: <960A584E-AB5D-435B-BBA1-D661E820C2FC@gmail.com> Hi Dar, > Does installing Xcode change the command-line tools? I think it should. Others will correct me if I’m wrong. > I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. I don’t know if this is of any help but there is a list of LC versions and compatible/required Xcode versions here… (in the first entry on the page) https://livecode.com/resources/support/ask-a-question/ Mark > On 9 Aug 2023, at 1:40 pm, Dar Scott via use-livecode wrote: > > I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. > > I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. > > Dar > >> On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: >> >> Whoops, I sent the most recent before I saw that Panos had responded. >> >> Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. >> >> The drive provides SMB, AFP and NFS services. >> >> Dar >> >>> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >>> >>> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >>> >>> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >>> >>> I still feel defensive that Mac said “detritus”. ;-) >>> >>>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>>> >>>> Hi Dar, >>>> >>>> just a shot in the dark.... >>>> >>>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>>> >>>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>>> >>>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>>> >>>>> I suggest one of these as an improvement to the build operation: >>>>> >>>>> * Complain and advise when the target is on a network drive. >>>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>>> >>>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>>> >>>>> Suggestion: >>>>> >>>>> * I should not have to remember. >>>>> >>>>> Thanks, everybody, for your help! >>>>> >>>>> Dar >>>>> >>>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> Oh, and I’m building from a network drive. >>>>>> >>>>>> >>>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> xcode-select -p >>>>>>> /Library/Developer/CommandLineTools >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>>> >>>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>>> >>>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>>> >>>>>>>> I have no Icons added. >>>>>>>> >>>>>>>> I get the same error. >>>>>>>> >>>>>>>> Dar >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>>> >>>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>>> >>>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>>> >>>>>>>>>> Bob S >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>>> >>>>>>>>>>> Thanks, Jacque! >>>>>>>>>>> >>>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>>> >>>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>>> >>>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>>> >>>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>>> >>>>>>>>>>> Dar >>>>>>>>>>> >>>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>> This might help: >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>>> >>>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>>> >>>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>>> Allowed >>>>>>>>>>>>> >>>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Aug 9 09:41:41 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Aug 2023 15:41:41 +0200 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> Message-ID: <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> Every version of Xocde come with it own version of command line tools. If you are just creating macOS standalones then you just need the command line tools. But if you are also planning to create iOS apps then you'll need the complete Xcode package. To install just the command line tools run the following command from terminal xcode-select --install This should download and install the most current version of command line tools or better said, the most current version that is available for your installed macOS. Regards, Matthias > Am 09.08.2023 um 14:40 schrieb Dar Scott via use-livecode : > > I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. > > I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. > > Dar > >> On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: >> >> Whoops, I sent the most recent before I saw that Panos had responded. >> >> Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. >> >> The drive provides SMB, AFP and NFS services. >> >> Dar >> >>> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >>> >>> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >>> >>> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >>> >>> I still feel defensive that Mac said “detritus”. ;-) >>> >>>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>>> >>>> Hi Dar, >>>> >>>> just a shot in the dark.... >>>> >>>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>>> >>>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>>> >>>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>>> >>>>> I suggest one of these as an improvement to the build operation: >>>>> >>>>> * Complain and advise when the target is on a network drive. >>>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>>> >>>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>>> >>>>> Suggestion: >>>>> >>>>> * I should not have to remember. >>>>> >>>>> Thanks, everybody, for your help! >>>>> >>>>> Dar >>>>> >>>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> Oh, and I’m building from a network drive. >>>>>> >>>>>> >>>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> xcode-select -p >>>>>>> /Library/Developer/CommandLineTools >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>>> >>>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>>> >>>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>>> >>>>>>>> I have no Icons added. >>>>>>>> >>>>>>>> I get the same error. >>>>>>>> >>>>>>>> Dar >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>>> >>>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>>> >>>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>>> >>>>>>>>>> Bob S >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>>> >>>>>>>>>>> Thanks, Jacque! >>>>>>>>>>> >>>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>>> >>>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>>> >>>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>>> >>>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>>> >>>>>>>>>>> Dar >>>>>>>>>>> >>>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>> This might help: >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>>> >>>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>>> >>>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>>> Allowed >>>>>>>>>>>>> >>>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Aug 9 09:46:35 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Aug 2023 15:46:35 +0200 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> Message-ID: <73364263-B19C-4F1D-9984-7572C833998C@m-r-d.de> And like the links says that Mark posted. For iOS standalones every Livecode version supports a special Xcode version according to the installed macOS. You'll find the information which works for your installed LC version also in the release notes of your LC version. You'll find the release notes under the Help menu in LC. > Am 09.08.2023 um 15:41 schrieb matthias_livecode_150811 at m-r-d.de: > > Every version of Xocde come with it own version of command line tools. > If you are just creating macOS standalones then you just need the command line tools. > But if you are also planning to create iOS apps then you'll need the complete Xcode package. > > To install just the command line tools run the following command from terminal > > xcode-select --install > > This should download and install the most current version of command line tools or better said, the most current version that is available for your installed macOS. > > Regards, > Matthias > > >> Am 09.08.2023 um 14:40 schrieb Dar Scott via use-livecode : >> >> I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. >> >> I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. >> >> Dar >> >>> On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: >>> >>> Whoops, I sent the most recent before I saw that Panos had responded. >>> >>> Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. >>> >>> The drive provides SMB, AFP and NFS services. >>> >>> Dar >>> >>>> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >>>> >>>> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >>>> >>>> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >>>> >>>> I still feel defensive that Mac said “detritus”. ;-) >>>> >>>>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>>>> >>>>> Hi Dar, >>>>> >>>>> just a shot in the dark.... >>>>> >>>>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>>>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>>>> >>>>> Regards, >>>>> Matthias >>>>> >>>>> >>>>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>>>> >>>>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>>>> >>>>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>>>> >>>>>> I suggest one of these as an improvement to the build operation: >>>>>> >>>>>> * Complain and advise when the target is on a network drive. >>>>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>>>> >>>>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>>>> >>>>>> Suggestion: >>>>>> >>>>>> * I should not have to remember. >>>>>> >>>>>> Thanks, everybody, for your help! >>>>>> >>>>>> Dar >>>>>> >>>>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> Oh, and I’m building from a network drive. >>>>>>> >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> xcode-select -p >>>>>>>> /Library/Developer/CommandLineTools >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>>>> >>>>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>>>> >>>>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>>>> >>>>>>>>> I have no Icons added. >>>>>>>>> >>>>>>>>> I get the same error. >>>>>>>>> >>>>>>>>> Dar >>>>>>>>> >>>>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>>>> >>>>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>>>> >>>>>>>>>>> Bob S >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>> Thanks, Jacque! >>>>>>>>>>>> >>>>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>>>> >>>>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>>>> >>>>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>>>> >>>>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>>>> >>>>>>>>>>>> Dar >>>>>>>>>>>> >>>>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> This might help: >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>>>> >>>>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>>>> Allowed >>>>>>>>>>>>>> >>>>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From marksmithhfx at gmail.com Wed Aug 9 10:07:41 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 9 Aug 2023 15:07:41 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> Message-ID: <7079B092-34CF-4779-90B6-86110432A1C8@gmail.com> Very useful info Matthias. Thanks for posting. Mark > On 9 Aug 2023, at 2:41 pm, matthias rebbe via use-livecode wrote: > > Every version of Xocde come with it own version of command line tools. > If you are just creating macOS standalones then you just need the command line tools. > But if you are also planning to create iOS apps then you'll need the complete Xcode package. > > To install just the command line tools run the following command from terminal > > xcode-select --install > > This should download and install the most current version of command line tools or better said, the most current version that is available for your installed macOS. > > Regards, > Matthias > > >> Am 09.08.2023 um 14:40 schrieb Dar Scott via use-livecode : >> >> I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. >> >> I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. >> >> Dar >> >>> On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: >>> >>> Whoops, I sent the most recent before I saw that Panos had responded. >>> >>> Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. >>> >>> The drive provides SMB, AFP and NFS services. >>> >>> Dar >>> >>>> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >>>> >>>> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >>>> >>>> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >>>> >>>> I still feel defensive that Mac said “detritus”. ;-) >>>> >>>>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>>>> >>>>> Hi Dar, >>>>> >>>>> just a shot in the dark.... >>>>> >>>>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>>>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>>>> >>>>> Regards, >>>>> Matthias >>>>> >>>>> >>>>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>>>> >>>>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>>>> >>>>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>>>> >>>>>> I suggest one of these as an improvement to the build operation: >>>>>> >>>>>> * Complain and advise when the target is on a network drive. >>>>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>>>> >>>>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>>>> >>>>>> Suggestion: >>>>>> >>>>>> * I should not have to remember. >>>>>> >>>>>> Thanks, everybody, for your help! >>>>>> >>>>>> Dar >>>>>> >>>>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> Oh, and I’m building from a network drive. >>>>>>> >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> xcode-select -p >>>>>>>> /Library/Developer/CommandLineTools >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>>>> >>>>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>>>> >>>>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>>>> >>>>>>>>> I have no Icons added. >>>>>>>>> >>>>>>>>> I get the same error. >>>>>>>>> >>>>>>>>> Dar >>>>>>>>> >>>>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>>>> >>>>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>>>> >>>>>>>>>>> Bob S >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>> Thanks, Jacque! >>>>>>>>>>>> >>>>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>>>> >>>>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>>>> >>>>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>>>> >>>>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>>>> >>>>>>>>>>>> Dar >>>>>>>>>>>> >>>>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> This might help: >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>>>> >>>>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>>>> Allowed >>>>>>>>>>>>>> >>>>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Aug 9 10:49:57 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 9 Aug 2023 17:49:57 +0300 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Hello all, Also, it might be worth trying this as well - add a new button with this code: on mouseUp mobileStoreEnablePurchaseUpdates mobileStoreRestorePurchases end mouseUp Then press the button, and *then* call mobileStoreConsumePurchase pProductID . Hopefully now it should be properly consumed, and you should be able to buy it (and consume it) again. Cheers, Panos -- On Wed, 9 Aug 2023 at 11:37, panagiotis m wrote: > Hello Dan, > > The call to mobileStoreConfirmPurchase pProductID causes the > purchaseStateUpdate message to be sent again with status=complete. > > So I would not suggest putting the call to mobileStoreConsumePurchase > pProductID just after mobileStoreConfirmPurchase. > > You could either put it in a separate button and see if it works, > otherwise add a [case "complete"] in the purchaseStateUpdate msg and there > consume the product and disable purchase updates, i.e.: > > on purchaseStateUpdate pPurchaseID, pProductID, pState > switch pState > case "paymentReceived" > answer "Payment received!" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > break > case "error" > answer "Error occured during purchase handling:" & return & > return & mobileStorePurchaseError(pPurchaseID) > mobileStoreDisablePurchaseUpdates > break > case "invalidSKU" > answer "Invalid SKU." > mobileStoreDisablePurchaseUpdates > break > case "alreadyEntitled" > answer "Already Owned." > mobileStoreDisablePurchaseUpdates > break > case "restored" > put "Restored: " & pProductID & cr after field "restored" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > break > case "cancelled" > answer "Purchase Cancelled:" && pProductID > mobileStoreDisablePurchaseUpdates > break > case "complete" > answer "Purchase Complete:" && pProductID > mobileStoreConsumePurchase pProductID // <-- ADD THIS HERE > mobileStoreDisablePurchaseUpdates > break > end switch > end purchaseStateUpdate > > Hope this helps. > > Kind regards, > Panos > -- > > > > On Tue, 8 Aug 2023 at 22:52, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Andrew, >> >> Thank you for the input. The code snippet you said you are using has >> mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase. >> Is that what you are doing? The LC example show that >> mobileStoreMakePurchase should be handled in the purchaseStateUpdate >> message after the purchase is paymentReceived” >> >> If that’s true, then I feel like I’m doing exactly what you are >> suggesting. The purchase is fine, but the consumption if not working for >> me. Here’s what I’m doing: >> >> on startInAppPurchase numCredits >> //setup purchase id >> if numCredits = 1 then >> put 1001 into productID >> put "$0.99" into productAmount >> else if numCredits = 2 then >> put 1002 into productID >> put "$1.99" into productAmount >> else if numCredits = 3 then >> put 1003 into productID >> put "$2.99" into productAmount >> else if numCredits = 11 then >> put 1011 into productID >> put "$9.99" into productAmount >> end if >> >> //confirm with user >> if numCredits = 1 then >> put "Are you sure you want to purchase 1 credit for" && productAmount >> & "?" into pString >> else >> put "Are you sure you want to purchase" && numCredits && "credits >> for" && productAmount & "?" into pString >> end if >> if myAnswer(pString,"Cancel|Buy Now","Purchase >> Confirmation","|appBlue") = "Cancel" then //my custom answer dialog >> exit startInAppPurchase >> end if >> >> //initiate the purchase >> mobileStoreEnablePurchaseUpdates >> mobileStoreSetProductType productID,"inapp" >> mobileStoreMakePurchase productID,"1","testPayload - Android Only" >> end startInAppPurchase >> >> on purchaseStateUpdate pPurchaseID,pProductID,pState >> global user >> >> switch pState >> case "paymentReceived" >> put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData >> >> //tell our server is was sucessful and log users credits to database >> if isIPhone() then >> if db_validateAppleReceipt(rawReciptData) then >> add (pProductID-1000) to user["credits"] >> end if >> else >> //will add Android database call when ready >> end if >> >> mobileStoreConfirmPurchase pProductID //Inform the store that the >> purchase identifier productID was successfully delivered >> if isAndroid() then >> mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO >> CONSUME THE PRODUCT !! >> end if >> >> mobileStoreDisablePurchaseUpdates >> loadMeUp //refresh our display >> break >> case "error" >> answer "Error occured during purchase handling:" & return & return >> & mobileStorePurchaseError(pPurchaseID) >> mobileStoreDisablePurchaseUpdates >> break >> case "invalidSKU" >> answer "Invalid SKU." >> mobileStoreDisablePurchaseUpdates >> break >> case "alreadyEntitled" >> answer "Already Owned." >> mobileStoreDisablePurchaseUpdates >> break >> case "restored" >> answer "restored" >> offerPurchasedProduct pProductID >> mobileStoreConfirmPurchase pProductID >> mobileStoreDisablePurchaseUpdates >> >> loadMeUp //refresh our display >> break >> case "canceled" >> case "cancelled" >> answer "Purchase Cancelled:" && pProductID >> mobileStoreDisablePurchaseUpdates >> break >> end switch >> end purchaseStateUpdate >> >> >> >> Do you see anything wonky in my code? >> >> --Dan >> >> From: use-livecode on behalf of >> Andrew at MidWest Coast Media via use-livecode < >> use-livecode at lists.runrev.com> >> Date: Tuesday, August 8, 2023 at 10:57 AM >> To: use-livecode at lists.runrev.com >> Cc: Andrew at MidWest Coast Media >> Subject: Re: Consumable In App Purchases on Android >> If I’m consuming instantly, this is the code working in my Android/iOS >> project with comment lines explaining the values being passed in the >> Android build (note that the product ID values are more specific for >> Android than iOS): >> >> if tPlatform = "android" then >> put "com.midwestcoastmedia.dj3pm." into tProductIDbase >> else if tPlatform = "iPhone" then >> put EMPTY into tProductIDbase >> end if >> put tProductIDbase & pWhichProduct into tProductID >> >> mobileStoreEnablePurchaseUpdates >> ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", >> "inapp" >> mobileStoreSetProductType tProductID, "inapp" >> ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", >> "1", "Thanks for the buck!" >> mobileStoreMakePurchase tProductID, "1", tMessage >> ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" >> mobileStoreConsumePurchase tProductID >> put the result into tCatch >> >> BUT you’ll also need to implement the on purchaseStateUpdate handler to >> completely execute the purchase cycle. The lesson is sometimes hard to >> follow when Android changes their branding/naming but >> https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store >> < >> https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store> >> has a good example of this. >> >> —Andrew Bell >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From gcanyon at gmail.com Wed Aug 9 11:23:31 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 9 Aug 2023 08:23:31 -0700 Subject: Variable Watcher disappeared In-Reply-To: <2E7C61D6-01E0-4AB0-8DD0-6EDEF268C6B6@rogers.com> References: <2E7C61D6-01E0-4AB0-8DD0-6EDEF268C6B6@rogers.com> Message-ID: You can also accomplish most of this by right-clicking a stack in Navigator, and selecting Go > Show on the popup menu. That centers the stack on screen and shows it. It's meant to be guaranteed, so if there are other steps to take to ensure a stack presents itself, I'm happy to add them. On Tue, Aug 8, 2023 at 10:19 AM Martin Koob via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Bob > > So you can see the Script Editor but you can’t see the variables pane at > the bottom? > > There is a drag handle at the bottom of the Script Editor pane to resize > it. Maybe you accidentally dragged that to the bottom hiding the variable > pane at the bottom. > > Even if you did that you should still see the tabs for ‘Errors’; > ‘Variables’; ‘Documentation’; ‘Breakpoints’; ’Search Results’. > > You should be able to drag the Drag handle up to reveal the bottom pane. > > > The following doesn’t probably apply to you if your Script Editor Stack is > open and visible. > > You probably know this but another thing that happens to me is that some > of the LiveCode stacks disappear randomly. > > One thing that happens is that they somehow get moved offscreen. > > To get them back I first check if they are there by typing the following > into the message box. > > put the openstacks > > That should result in a list like this. > > Message Box > My Demo Stack > revInspector > revTools > revNewScriptEditor 1 > revDictionary > revMenuBar > Improve LiveCode Handler Finder > com.livecode.palette.autocomplete.completions > > If you see the stack in the list that you are looking for you can relocate > it back to the screen by setting its location to something that will be on > your display by entering the following in the message box. > set the topleft of stack "revtools" to 100,100 > > > > > > Two other reasons stacks disappear is that they become hidden or closed. > > > > If the stack is closed then enter the following in the message box > > open stack “revtools > > > > If the stack is open but hidden enter > > show stack “revtools” > > If it is your message box that you can’t find then there is nothing you > can do…. > > > … Just kidding. ;-) > > Just type command key + M to show the message box. > > > Bob, I am sure this is covering things you already know but just in case > there others in future are looking for this I added the other cases where > your LiveCode IDE stacks disappear. > > BTW I am using LC 9.6.9 on a M1 Max Mac running Ventura 13.41 > > Martin > > > On Aug 8, 2023, at 12:28 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi all. > > > > Not sure how I did it but I can no longer see the variables while > debugging. The bottom pane has disappeared and nothing I can find can get > it back. Any ideas? > > > > Bob S > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dan at clearvisiontech.com Wed Aug 9 15:27:51 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 9 Aug 2023 19:27:51 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Panos and others… First, thank you for your assistance and advise with this. Panos’ suggestions were spot on! Restoring the purchases, then calling mobileStoreConsumePurchase worked for consumption. And, adding a “complete” case to purchaseStateUpdate and handeling the mobilePurchaseGet() as well as the mobileStoreConsumePurchase worked beautifully. A couple of follow up questions… 1 - Does the “complete” case get returned with the Apple Store as well? 2 – Is there a way to get the purchase token from mobilePurchaseGet() on Android? The “transactionIdentifier” returns the order number, not the purchase token. The purchase token is needed to verify the purchase server side. Lastly, it would be terrific if the lesson on the LC website was updated to these options/methods. It might save the next guy some grief. -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Wednesday, August 9, 2023 at 7:51 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Consumable In App Purchases on Android Hello all, Also, it might be worth trying this as well - add a new button with this code: on mouseUp mobileStoreEnablePurchaseUpdates mobileStoreRestorePurchases end mouseUp Then press the button, and *then* call mobileStoreConsumePurchase pProductID . Hopefully now it should be properly consumed, and you should be able to buy it (and consume it) again. Cheers, Panos -- On Wed, 9 Aug 2023 at 11:37, panagiotis m wrote: > Hello Dan, > > The call to mobileStoreConfirmPurchase pProductID causes the > purchaseStateUpdate message to be sent again with status=complete. > > So I would not suggest putting the call to mobileStoreConsumePurchase > pProductID just after mobileStoreConfirmPurchase. > > You could either put it in a separate button and see if it works, > otherwise add a [case "complete"] in the purchaseStateUpdate msg and there > consume the product and disable purchase updates, i.e.: > > on purchaseStateUpdate pPurchaseID, pProductID, pState > switch pState > case "paymentReceived" > answer "Payment received!" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > break > case "error" > answer "Error occured during purchase handling:" & return & > return & mobileStorePurchaseError(pPurchaseID) > mobileStoreDisablePurchaseUpdates > break > case "invalidSKU" > answer "Invalid SKU." > mobileStoreDisablePurchaseUpdates > break > case "alreadyEntitled" > answer "Already Owned." > mobileStoreDisablePurchaseUpdates > break > case "restored" > put "Restored: " & pProductID & cr after field "restored" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > break > case "cancelled" > answer "Purchase Cancelled:" && pProductID > mobileStoreDisablePurchaseUpdates > break > case "complete" > answer "Purchase Complete:" && pProductID > mobileStoreConsumePurchase pProductID // <-- ADD THIS HERE > mobileStoreDisablePurchaseUpdates > break > end switch > end purchaseStateUpdate > > Hope this helps. > > Kind regards, > Panos > -- > > > > On Tue, 8 Aug 2023 at 22:52, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Andrew, >> >> Thank you for the input. The code snippet you said you are using has >> mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase. >> Is that what you are doing? The LC example show that >> mobileStoreMakePurchase should be handled in the purchaseStateUpdate >> message after the purchase is paymentReceived” >> >> If that’s true, then I feel like I’m doing exactly what you are >> suggesting. The purchase is fine, but the consumption if not working for >> me. Here’s what I’m doing: >> >> on startInAppPurchase numCredits >> //setup purchase id >> if numCredits = 1 then >> put 1001 into productID >> put "$0.99" into productAmount >> else if numCredits = 2 then >> put 1002 into productID >> put "$1.99" into productAmount >> else if numCredits = 3 then >> put 1003 into productID >> put "$2.99" into productAmount >> else if numCredits = 11 then >> put 1011 into productID >> put "$9.99" into productAmount >> end if >> >> //confirm with user >> if numCredits = 1 then >> put "Are you sure you want to purchase 1 credit for" && productAmount >> & "?" into pString >> else >> put "Are you sure you want to purchase" && numCredits && "credits >> for" && productAmount & "?" into pString >> end if >> if myAnswer(pString,"Cancel|Buy Now","Purchase >> Confirmation","|appBlue") = "Cancel" then //my custom answer dialog >> exit startInAppPurchase >> end if >> >> //initiate the purchase >> mobileStoreEnablePurchaseUpdates >> mobileStoreSetProductType productID,"inapp" >> mobileStoreMakePurchase productID,"1","testPayload - Android Only" >> end startInAppPurchase >> >> on purchaseStateUpdate pPurchaseID,pProductID,pState >> global user >> >> switch pState >> case "paymentReceived" >> put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData >> >> //tell our server is was sucessful and log users credits to database >> if isIPhone() then >> if db_validateAppleReceipt(rawReciptData) then >> add (pProductID-1000) to user["credits"] >> end if >> else >> //will add Android database call when ready >> end if >> >> mobileStoreConfirmPurchase pProductID //Inform the store that the >> purchase identifier productID was successfully delivered >> if isAndroid() then >> mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO >> CONSUME THE PRODUCT !! >> end if >> >> mobileStoreDisablePurchaseUpdates >> loadMeUp //refresh our display >> break >> case "error" >> answer "Error occured during purchase handling:" & return & return >> & mobileStorePurchaseError(pPurchaseID) >> mobileStoreDisablePurchaseUpdates >> break >> case "invalidSKU" >> answer "Invalid SKU." >> mobileStoreDisablePurchaseUpdates >> break >> case "alreadyEntitled" >> answer "Already Owned." >> mobileStoreDisablePurchaseUpdates >> break >> case "restored" >> answer "restored" >> offerPurchasedProduct pProductID >> mobileStoreConfirmPurchase pProductID >> mobileStoreDisablePurchaseUpdates >> >> loadMeUp //refresh our display >> break >> case "canceled" >> case "cancelled" >> answer "Purchase Cancelled:" && pProductID >> mobileStoreDisablePurchaseUpdates >> break >> end switch >> end purchaseStateUpdate >> >> >> >> Do you see anything wonky in my code? >> >> --Dan >> >> From: use-livecode on behalf of >> Andrew at MidWest Coast Media via use-livecode < >> use-livecode at lists.runrev.com> >> Date: Tuesday, August 8, 2023 at 10:57 AM >> To: use-livecode at lists.runrev.com >> Cc: Andrew at MidWest Coast Media >> Subject: Re: Consumable In App Purchases on Android >> If I’m consuming instantly, this is the code working in my Android/iOS >> project with comment lines explaining the values being passed in the >> Android build (note that the product ID values are more specific for >> Android than iOS): >> >> if tPlatform = "android" then >> put "com.midwestcoastmedia.dj3pm." into tProductIDbase >> else if tPlatform = "iPhone" then >> put EMPTY into tProductIDbase >> end if >> put tProductIDbase & pWhichProduct into tProductID >> >> mobileStoreEnablePurchaseUpdates >> ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", >> "inapp" >> mobileStoreSetProductType tProductID, "inapp" >> ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", >> "1", "Thanks for the buck!" >> mobileStoreMakePurchase tProductID, "1", tMessage >> ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" >> mobileStoreConsumePurchase tProductID >> put the result into tCatch >> >> BUT you’ll also need to implement the on purchaseStateUpdate handler to >> completely execute the purchase cycle. The lesson is sometimes hard to >> follow when Android changes their branding/naming but >> https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store >> < >> https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store> >> has a good example of this. >> >> —Andrew Bell >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ use-livecode mailing list use-livecode at 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 Wed Aug 9 15:44:59 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 9 Aug 2023 22:44:59 +0300 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Hello Dan, Thanks for the update. RE 1, I *think* yes, but I would suggest you double check this anyway. RE 2, I would suggest not using mobilePurchaseGet(). This function is from the older API for in-app purchases, and we have kept it for backwards compatibility. I suggest using mobileStoreProductProperty (productID, propertyName) instead. In fact, using mobileStoreProductProperty (productID, "purchaseToken") is what you need in this use-case. RE the lessons, yes, they could have been better. I'll add this to my (long!) todo list :) Kind regards, Panos -- On Wed, 9 Aug 2023 at 22:29, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos and others… > > First, thank you for your assistance and advise with this. Panos’ > suggestions were spot on! Restoring the purchases, then calling > mobileStoreConsumePurchase worked for consumption. And, adding a > “complete” case to purchaseStateUpdate and handeling the > mobilePurchaseGet() as well as the mobileStoreConsumePurchase worked > beautifully. A couple of follow up questions… > > 1 - Does the “complete” case get returned with the Apple Store as well? > 2 – Is there a way to get the purchase token from mobilePurchaseGet() on > Android? The “transactionIdentifier” returns the order number, not the > purchase token. The purchase token is needed to verify the purchase server > side. > > Lastly, it would be terrific if the lesson on the LC website was updated > to these options/methods. It might save the next guy some grief. > > -Dan > > > From: use-livecode on behalf of > panagiotis m via use-livecode > Date: Wednesday, August 9, 2023 at 7:51 AM > To: How to use LiveCode > Cc: panagiotis m > Subject: Re: Consumable In App Purchases on Android > Hello all, > > Also, it might be worth trying this as well - add a new button with this > code: > > on mouseUp > mobileStoreEnablePurchaseUpdates > mobileStoreRestorePurchases > end mouseUp > > Then press the button, and *then* call mobileStoreConsumePurchase > pProductID . > Hopefully now it should be properly consumed, and you should be able to buy > it (and consume it) again. > > Cheers, > Panos > -- > > On Wed, 9 Aug 2023 at 11:37, panagiotis m wrote: > > > Hello Dan, > > > > The call to mobileStoreConfirmPurchase pProductID causes the > > purchaseStateUpdate message to be sent again with status=complete. > > > > So I would not suggest putting the call to mobileStoreConsumePurchase > > pProductID just after mobileStoreConfirmPurchase. > > > > You could either put it in a separate button and see if it works, > > otherwise add a [case "complete"] in the purchaseStateUpdate msg and > there > > consume the product and disable purchase updates, i.e.: > > > > on purchaseStateUpdate pPurchaseID, pProductID, pState > > switch pState > > case "paymentReceived" > > answer "Payment received!" > > offerPurchasedProduct pProductID > > mobileStoreConfirmPurchase pProductID > > break > > case "error" > > answer "Error occured during purchase handling:" & return & > > return & mobileStorePurchaseError(pPurchaseID) > > mobileStoreDisablePurchaseUpdates > > break > > case "invalidSKU" > > answer "Invalid SKU." > > mobileStoreDisablePurchaseUpdates > > break > > case "alreadyEntitled" > > answer "Already Owned." > > mobileStoreDisablePurchaseUpdates > > break > > case "restored" > > put "Restored: " & pProductID & cr after field "restored" > > offerPurchasedProduct pProductID > > mobileStoreConfirmPurchase pProductID > > break > > case "cancelled" > > answer "Purchase Cancelled:" && pProductID > > mobileStoreDisablePurchaseUpdates > > break > > case "complete" > > answer "Purchase Complete:" && pProductID > > mobileStoreConsumePurchase pProductID // <-- ADD THIS HERE > > mobileStoreDisablePurchaseUpdates > > break > > end switch > > end purchaseStateUpdate > > > > Hope this helps. > > > > Kind regards, > > Panos > > -- > > > > > > > > On Tue, 8 Aug 2023 at 22:52, Dan Friedman via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Andrew, > >> > >> Thank you for the input. The code snippet you said you are using has > >> mobileStoreConsumePurchase IMMEDIATELY following > mobileStoreMakePurchase. > >> Is that what you are doing? The LC example show that > >> mobileStoreMakePurchase should be handled in the purchaseStateUpdate > >> message after the purchase is paymentReceived” > >> > >> If that’s true, then I feel like I’m doing exactly what you are > >> suggesting. The purchase is fine, but the consumption if not working > for > >> me. Here’s what I’m doing: > >> > >> on startInAppPurchase numCredits > >> //setup purchase id > >> if numCredits = 1 then > >> put 1001 into productID > >> put "$0.99" into productAmount > >> else if numCredits = 2 then > >> put 1002 into productID > >> put "$1.99" into productAmount > >> else if numCredits = 3 then > >> put 1003 into productID > >> put "$2.99" into productAmount > >> else if numCredits = 11 then > >> put 1011 into productID > >> put "$9.99" into productAmount > >> end if > >> > >> //confirm with user > >> if numCredits = 1 then > >> put "Are you sure you want to purchase 1 credit for" && > productAmount > >> & "?" into pString > >> else > >> put "Are you sure you want to purchase" && numCredits && "credits > >> for" && productAmount & "?" into pString > >> end if > >> if myAnswer(pString,"Cancel|Buy Now","Purchase > >> Confirmation","|appBlue") = "Cancel" then //my custom answer dialog > >> exit startInAppPurchase > >> end if > >> > >> //initiate the purchase > >> mobileStoreEnablePurchaseUpdates > >> mobileStoreSetProductType productID,"inapp" > >> mobileStoreMakePurchase productID,"1","testPayload - Android Only" > >> end startInAppPurchase > >> > >> on purchaseStateUpdate pPurchaseID,pProductID,pState > >> global user > >> > >> switch pState > >> case "paymentReceived" > >> put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData > >> > >> //tell our server is was sucessful and log users credits to > database > >> if isIPhone() then > >> if db_validateAppleReceipt(rawReciptData) then > >> add (pProductID-1000) to user["credits"] > >> end if > >> else > >> //will add Android database call when ready > >> end if > >> > >> mobileStoreConfirmPurchase pProductID //Inform the store that the > >> purchase identifier productID was successfully delivered > >> if isAndroid() then > >> mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO > >> CONSUME THE PRODUCT !! > >> end if > >> > >> mobileStoreDisablePurchaseUpdates > >> loadMeUp //refresh our display > >> break > >> case "error" > >> answer "Error occured during purchase handling:" & return & return > >> & mobileStorePurchaseError(pPurchaseID) > >> mobileStoreDisablePurchaseUpdates > >> break > >> case "invalidSKU" > >> answer "Invalid SKU." > >> mobileStoreDisablePurchaseUpdates > >> break > >> case "alreadyEntitled" > >> answer "Already Owned." > >> mobileStoreDisablePurchaseUpdates > >> break > >> case "restored" > >> answer "restored" > >> offerPurchasedProduct pProductID > >> mobileStoreConfirmPurchase pProductID > >> mobileStoreDisablePurchaseUpdates > >> > >> loadMeUp //refresh our display > >> break > >> case "canceled" > >> case "cancelled" > >> answer "Purchase Cancelled:" && pProductID > >> mobileStoreDisablePurchaseUpdates > >> break > >> end switch > >> end purchaseStateUpdate > >> > >> > >> > >> Do you see anything wonky in my code? > >> > >> --Dan > >> > >> From: use-livecode on behalf of > >> Andrew at MidWest Coast Media via use-livecode < > >> use-livecode at lists.runrev.com> > >> Date: Tuesday, August 8, 2023 at 10:57 AM > >> To: use-livecode at lists.runrev.com > >> Cc: Andrew at MidWest Coast Media > >> Subject: Re: Consumable In App Purchases on Android > >> If I’m consuming instantly, this is the code working in my Android/iOS > >> project with comment lines explaining the values being passed in the > >> Android build (note that the product ID values are more specific for > >> Android than iOS): > >> > >> if tPlatform = "android" then > >> put "com.midwestcoastmedia.dj3pm." into tProductIDbase > >> else if tPlatform = "iPhone" then > >> put EMPTY into tProductIDbase > >> end if > >> put tProductIDbase & pWhichProduct into tProductID > >> > >> mobileStoreEnablePurchaseUpdates > >> ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", > >> "inapp" > >> mobileStoreSetProductType tProductID, "inapp" > >> ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", > >> "1", "Thanks for the buck!" > >> mobileStoreMakePurchase tProductID, "1", tMessage > >> ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" > >> mobileStoreConsumePurchase tProductID > >> put the result into tCatch > >> > >> BUT you’ll also need to implement the on purchaseStateUpdate handler to > >> completely execute the purchase cycle. The lesson is sometimes hard to > >> follow when Android changes their branding/naming but > >> > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store > >> < > >> > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store > >< > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store%3e > > > >> has a good example of this. > >> > >> —Andrew Bell > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Aug 9 16:38:51 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 9 Aug 2023 20:38:51 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Panos, Again, thank you for your help! mobileStoreProductProperty works beautifully! As for the lesson, it’s not that it could have been better, it’s actually pretty good (as most LC lessons are). It’s just that it needs to be updated to reflect newer methods and procedures. Given how long your todo list is, I appreciate the time you always take to help me, and all the others out. It’s GREATLY appreciated! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Wednesday, August 9, 2023 at 12:46 PM To: How to use LiveCode Cc: panagiotis m Subject: Re: Consumable In App Purchases on Android Hello Dan, Thanks for the update. RE 1, I *think* yes, but I would suggest you double check this anyway. RE 2, I would suggest not using mobilePurchaseGet(). This function is from the older API for in-app purchases, and we have kept it for backwards compatibility. I suggest using mobileStoreProductProperty (productID, propertyName) instead. In fact, using mobileStoreProductProperty (productID, "purchaseToken") is what you need in this use-case. RE the lessons, yes, they could have been better. I'll add this to my (long!) todo list :) Kind regards, Panos From klaus at major-k.de Thu Aug 10 06:01:41 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 10 Aug 2023 12:01:41 +0200 Subject: Android black screen again... Message-ID: Hi friends, maybe you remember my problem, that my app turns into a black screen occacionally. This has happened again about four or five times since I reported it here. This never happens at home, only when I am at a band rehearsal, but never at a gig (fingers crossed). Restarting the dveice definitively cures this, thank you Panos, but sometimes, especially at a gig, I do not have the time to do so. :-/ So any further hints highly appreciated! macOS 12.6.8, LC 9.6.9, android 5.1 on a SAMSUNG TAB A tablet. I'm mainly using the PDF widget if that matters... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From benr_mc at cogapp.com Thu Aug 10 11:51:29 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 10 Aug 2023 16:51:29 +0100 Subject: Browzer widget zoom/scale? Message-ID: <22538298-c24d-3077-5038-6dfa5322fb30@cogapp.com> Is there a way to set the 'zoom level' for the browser widget? TIA, Ben From MikeKerner at roadrunner.com Thu Aug 10 15:22:15 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 10 Aug 2023 15:22:15 -0400 Subject: xavvi - temper your expectations Message-ID: i'm using chatgpt and bard, every day, because i can, and because sometimes they give me more comprehensive things to think about. but, they are wrong. a lot. zdnet just published a piece, today, documenting the same thing: wrong > 50% of the time. so, temper your expectations for xavvi in the medium term: https://www.zdnet.com/article/chatgpt-answers-more-than-half-of-software-engineering-questions-incorrectly/ -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From alex at tweedly.net Thu Aug 10 15:29:52 2023 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 10 Aug 2023 20:29:52 +0100 Subject: Sorting Arrays In-Reply-To: References: Message-ID: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> On 09/08/2023 00:15, Bob Sneidar via use-livecode wrote: > Has anyone come across a need to sort a numbered array by the values of the different keys? Here you go. Absolutely I have needed that quite often now. I tend to use sequences (numbered arrays) often - maybe too often. Up until now I've just done the sorting in the "traditional" way (i.e. using multiple "sort" commands), like >    put seqAsLines(sQ2) into tKeys >    sort lines of tKeys numeric by sQ2[each]["anumber"] >    sort lines of tKeys by sQ2[each]["thecategory"] >    rebuildSeq sQ2, tKeys (the functions seqAsLines and rebuildSeq are included in the code snippet below). But I really like your idea of having a handler that can be given multiple sort keys, and just does it all, so I took a detailed look. First - a couple of little bugs for you. > Keep in mind that there is no error checking so I have no idea what would happen if you provided a sort key that didnt exist in the array. > > on sortNumberedArray @pArrayDataA, pSortKeys > switch > case tKeyWord is among the items of "asc,ascending,desc,descending" > put tKeyWord into tSortKeysA [i] ["sortorder"] > break > case tKeyWord is "International,Numeric,datetime,text,binary" 'is' should be 'is among the items of' > put tKeyWord into tSortKeysA [i] ["sorttype"] > break > default > put word 1 to x of tSortIndex into tSortKeysA [i] ["sortvalue"] > end switch > end repeat > end repeat > Secondly, not sure if it's a bug or simply a limitation - the code fails if one of the array keys to use for sorting is one of "asc,desc,numeric,...". And - overall, an alternate suggestion. I think your way is a bot complex. Combining my "traditional" way as above, and your example, I came up with a  simpler way to do the same thing: > on simpleSortNumberedArray @pArrayDataA, pSortKeys >    local tKeys, tSeq, tOneSortKey, tSortCommand >    put seqAsLines(pArrayDataA) into tKeys >    repeat with I = the number of items in pSortKeys down to 1 >       put item I of pSortKeys into tOneSortKey >       put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \ >             "by pArrayData[each][" && word 1 of tOneSortKey && "]" > into tSortCommand >       do tSortCommand >    end repeat >    rebuildSeq pArrayDataA, tKeys > end simpleSortNumberedArray > > function seqAsLines pSeq >    local tRes >    repeat with i = 1 to the number of elements in pSeq >       put i & CR after tRes >    end repeat >    return tRes > end seqAsLines > > command rebuildSeq @pSeq, pList >    local tResQ, tCount >    repeat for each line L in pList >       add 1 to tCount >       put pSeq[L] into tResQ[tCount] >    end repeat >    put tResQ into pSeq > end rebuildSeq This is simpler and, I think, easier to understand. And it's certainly much faster: takes 89 msec for my test case rather than 3416 msecs. Alex. From alex at tweedly.net Thu Aug 10 15:32:12 2023 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 10 Aug 2023 20:32:12 +0100 Subject: xavvi - temper your expectations In-Reply-To: References: Message-ID: I have high expectations of xavvi - mostly because I want the cloud IDE, cloud db, new widgets, ... Oh - and I might just play with the AI, but I have no short-term expectations for that part of it. :-) Alex. On 10/08/2023 20:22, Mike Kerner via use-livecode wrote: > i'm using chatgpt and bard, every day, because i can, and because > sometimes they give me more comprehensive things to think about. > but, they are wrong. a lot. > zdnet just published a piece, today, documenting the same thing: wrong >> 50% of the time. > so, temper your expectations for xavvi in the medium term: > https://www.zdnet.com/article/chatgpt-answers-more-than-half-of-software-engineering-questions-incorrectly/ > From matthias_livecode_150811 at m-r-d.de Thu Aug 10 15:31:55 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 10 Aug 2023 21:31:55 +0200 Subject: xavvi - temper your expectations In-Reply-To: References: Message-ID: <136C8206-6B98-4401-9CB7-4CD4B14CEA9F@m-r-d.de> I thought Xavvi will make use of AI, but the use is not mandatory. So even without AI, XAVVI would be an online development tool which can deploy web apps and which also could import and export Livecode stacks. Am 10.08.2023 um 21:22 schrieb Mike Kerner via use-livecode : > > i'm using chatgpt and bard, every day, because i can, and because > sometimes they give me more comprehensive things to think about. > but, they are wrong. a lot. > zdnet just published a piece, today, documenting the same thing: wrong >> 50% of the time. > so, temper your expectations for xavvi in the medium term: > https://www.zdnet.com/article/chatgpt-answers-more-than-half-of-software-engineering-questions-incorrectly/ > > -- > 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 bobsneidar at iotecdigital.com Thu Aug 10 16:08:09 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Aug 2023 20:08:09 +0000 Subject: Sorting Arrays In-Reply-To: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> Message-ID: <48072F9A-569B-455B-8665-76AE88221DBD@iotecdigital.com> Thanks Alex, not sure how I missed that. I was only testing for a specific use case and only tried numeric descending. Bob S > On Aug 10, 2023, at 12:29 PM, Alex Tweedly via use-livecode wrote: > > > On 09/08/2023 00:15, Bob Sneidar via use-livecode wrote: >> Has anyone come across a need to sort a numbered array by the values of the different keys? Here you go. > > Absolutely I have needed that quite often now. I tend to use sequences (numbered arrays) often - maybe too often. > > Up until now I've just done the sorting in the "traditional" way (i.e. using multiple "sort" commands), like > >> put seqAsLines(sQ2) into tKeys >> sort lines of tKeys numeric by sQ2[each]["anumber"] >> sort lines of tKeys by sQ2[each]["thecategory"] >> rebuildSeq sQ2, tKeys > (the functions seqAsLines and rebuildSeq are included in the code snippet below). > > But I really like your idea of having a handler that can be given multiple sort keys, and just does it all, so I took a detailed look. > > First - a couple of little bugs for you. > >> Keep in mind that there is no error checking so I have no idea what would happen if you provided a sort key that didn’t exist in the array. >> >> on sortNumberedArray @pArrayDataA, pSortKeys >> switch >> case tKeyWord is among the items of "asc,ascending,desc,descending" >> put tKeyWord into tSortKeysA [i] ["sortorder"] >> break >> case tKeyWord is "International,Numeric,datetime,text,binary" > 'is' should be 'is among the items of' >> put tKeyWord into tSortKeysA [i] ["sorttype"] >> break >> default >> put word 1 to x of tSortIndex into tSortKeysA [i] ["sortvalue"] >> end switch >> end repeat >> end repeat >> > > Secondly, not sure if it's a bug or simply a limitation - the code fails if one of the array keys to use for sorting is one of "asc,desc,numeric,...". > > > And - overall, an alternate suggestion. I think your way is a bot complex. > Combining my "traditional" way as above, and your example, I came up with a simpler way to do the same thing: > >> on simpleSortNumberedArray @pArrayDataA, pSortKeys >> local tKeys, tSeq, tOneSortKey, tSortCommand >> put seqAsLines(pArrayDataA) into tKeys >> repeat with I = the number of items in pSortKeys down to 1 >> put item I of pSortKeys into tOneSortKey >> put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \ >> "by pArrayData[each][" && word 1 of tOneSortKey && "]" into tSortCommand >> do tSortCommand >> end repeat >> rebuildSeq pArrayDataA, tKeys >> end simpleSortNumberedArray >> >> function seqAsLines pSeq >> local tRes >> repeat with i = 1 to the number of elements in pSeq >> put i & CR after tRes >> end repeat >> return tRes >> end seqAsLines >> >> command rebuildSeq @pSeq, pList >> local tResQ, tCount >> repeat for each line L in pList >> add 1 to tCount >> put pSeq[L] into tResQ[tCount] >> end repeat >> put tResQ into pSeq >> end rebuildSeq > This is simpler and, I think, easier to understand. And it's certainly much faster: takes 89 msec for my test case rather than 3416 msecs. > > Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Aug 10 16:28:59 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Aug 2023 20:28:59 +0000 Subject: Sorting Arrays In-Reply-To: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> Message-ID: <04F07EA9-5BAF-42E4-AE2A-90124E3D2381@iotecdigital.com> I see you are sorting the keys of the array. I’ll give your method a try. Bob S On Aug 10, 2023, at 12:29 PM, Alex Tweedly via use-livecode wrote: And - overall, an alternate suggestion. I think your way is a bot complex. Combining my "traditional" way as above, and your example, I came up with a simpler way to do the same thing: From jacque at hyperactivesw.com Thu Aug 10 16:34:01 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Aug 2023 15:34:01 -0500 Subject: Android black screen again... In-Reply-To: References: Message-ID: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I looked up the Samsung Tab A and it says it runs Android 9, upgradable to 11. There are multiple RAM options. Is this the one you have? I'm just guessing, but memory may be too low to allow the browser widget to work, since it does work after a reboot and the problem only happens occasionally. But Android 5 is almost 10 years old and I'd be surprised if that is what your tablet is running. Have you checked for an update? You have much more control of memory usage with a newer OS. In any case, you can keep memory usage lower if you delete or disable all apps and processes you don't need. You can do that in Settings/Apps. Samsung installs a lot of bloatware and if you don't use those things, turn them off or remove them. You can't always uninstall these but you can disable some of them. Also uninstall any extra apps you don't use. I have a newer Samsung tablet and I disabled or deleted almost half the software it shipped with. Many of these run in the background and use memory. Launcher widgets also run constantly so remove the ones you don't need from your launch screens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 10, 2023 5:03:24 AM Klaus major-k via use-livecode wrote: > Hi friends, > > maybe you remember my problem, that my app > turns into a black screen occacionally. > > This has happened again about four or five times since > I reported it here. > > This never happens at home, only when I am at a band > rehearsal, but never at a gig (fingers crossed). > > Restarting the dveice definitively cures this, thank you Panos, > but sometimes, especially at a gig, I do not have the time to > do so. :-/ > > So any further hints highly appreciated! > > macOS 12.6.8, LC 9.6.9, android 5.1 on a SAMSUNG TAB A tablet. > I'm mainly using the PDF widget if that matters... > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Thu Aug 10 18:30:55 2023 From: dsc at swcp.com (Dar Scott) Date: Thu, 10 Aug 2023 16:30:55 -0600 Subject: Rectangles on Windows? In-Reply-To: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> References: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> Message-ID: <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> Anybody else seeing missing rectangles on Windows? — Dar > On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode wrote: > > > I have some rectangles that work just fine in development on my Mac. > > However, there are problems in my Windows standalone. > > Not Showing Up > Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness > > Showing Up > Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Aug 10 18:45:20 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Aug 2023 22:45:20 +0000 Subject: Rectangles on Windows? In-Reply-To: <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> References: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> Message-ID: <61993CB1-D125-42DA-8E37-96368DF9F6AA@iotecdigital.com> Sorry Dar, I do not use rectangles for anything. Bob S > On Aug 10, 2023, at 3:30 PM, Dar Scott via use-livecode wrote: > > Anybody else seeing missing rectangles on Windows? — Dar > >> On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode wrote: >> >> >> I have some rectangles that work just fine in development on my Mac. >> >> However, there are problems in my Windows standalone. >> >> Not Showing Up >> Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness >> >> Showing Up >> Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. From klaus at major-k.de Fri Aug 11 04:12:56 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Aug 2023 10:12:56 +0200 Subject: Android black screen again... In-Reply-To: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <48D02CCA-2419-4562-BBB4-B1912ED34DD6@major-k.de> Hi Jacque, > Am 10.08.2023 um 22:34 schrieb J. Landman Gay via use-livecode : > > I looked up the Samsung Tab A and it says it runs Android 9, upgradable to 11. There are multiple RAM options. Is this the one you have? > > I'm just guessing, but memory may be too low to allow the browser widget to work, since it does work after a reboot and the problem only happens occasionally. But Android 5 is almost 10 years old and I'd be surprised if that is what your tablet is running. Have you checked for an update? You have much more control of memory usage with a newer OS. sorry, my fault, I obviously have an older version of the tablet and it does in fact run Android 8.1. However it is not upgradable. > In any case, you can keep memory usage lower if you delete or disable all apps and processes you don't need. You can do that in Settings/Apps. Samsung installs a lot of bloatware and if you don't use those things, turn them off or remove them. You can't always uninstall these but you can disable some of them. Also uninstall any extra apps you don't use. I have a newer Samsung tablet and I disabled or deleted almost half the software it shipped with. Many of these run in the background and use memory. Launcher widgets also run constantly so remove the ones you don't need from your launch screens. I already did that, snice I only need the device for displaying PDF leadsheets. But if it would be a memory issue, then it would happen more often, I think. The problem is that this is not reproducable, it happens out of a sudden if it happens. Even the hardware BACKKEY does not work in that situation, only the HOMEKEY so I can at least quit the app. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 10, 2023 5:03:24 AM Klaus major-k via use-livecode wrote: > >> Hi friends, >> >> maybe you remember my problem, that my app >> turns into a black screen occacionally. >> >> This has happened again about four or five times since >> I reported it here. >> >> This never happens at home, only when I am at a band >> rehearsal, but never at a gig (fingers crossed). >> >> Restarting the dveice definitively cures this, thank you Panos, >> but sometimes, especially at a gig, I do not have the time to >> do so. :-/ >> >> So any further hints highly appreciated! >> >> macOS 12.6.8, LC 9.6.9, android 5.1 on a SAMSUNG TAB A tablet. >> I'm mainly using the PDF widget if that matters... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From dsc at swcp.com Fri Aug 11 10:19:52 2023 From: dsc at swcp.com (Dar Scott) Date: Fri, 11 Aug 2023 08:19:52 -0600 Subject: Rectangles on Windows? In-Reply-To: <61993CB1-D125-42DA-8E37-96368DF9F6AA@iotecdigital.com> References: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> <61993CB1-D125-42DA-8E37-96368DF9F6AA@iotecdigital.com> Message-ID: <0916EA2B-8E51-4C5A-B8E5-C50FC5B85197@swcp.com> Hmmm. Maybe few use rectangles. I could try a polyline or a group. — Dar > On Aug 10, 2023, at 4:45 PM, Bob Sneidar via use-livecode wrote: > > Sorry Dar, I do not use rectangles for anything. > > Bob S > > >> On Aug 10, 2023, at 3:30 PM, Dar Scott via use-livecode wrote: >> >> Anybody else seeing missing rectangles on Windows? — Dar >> >>> On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode wrote: >>> >>> >>> I have some rectangles that work just fine in development on my Mac. >>> >>> However, there are problems in my Windows standalone. >>> >>> Not Showing Up >>> Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness >>> >>> Showing Up >>> Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Fri Aug 11 11:19:50 2023 From: paul at researchware.com (Paul Dupuis) Date: Fri, 11 Aug 2023 11:19:50 -0400 Subject: Rectangles on Windows? In-Reply-To: <0916EA2B-8E51-4C5A-B8E5-C50FC5B85197@swcp.com> References: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> <61993CB1-D125-42DA-8E37-96368DF9F6AA@iotecdigital.com> <0916EA2B-8E51-4C5A-B8E5-C50FC5B85197@swcp.com> Message-ID: <32b1c3d5-15b2-3328-9458-5fc38f4b3520@researchware.com> If you want to send me a link to your Windows standalone, I would be happy to download it (Windows 11 HP laptop) and see if I see the same thing. Or a link to your stack and I can see if it appears in the LC 9.6.9 IDE if you want. On 8/11/2023 10:19 AM, Dar Scott via use-livecode wrote: > Hmmm. Maybe few use rectangles. I could try a polyline or a group. Dar > >> On Aug 10, 2023, at 4:45 PM, Bob Sneidar via use-livecode wrote: >> >> Sorry Dar, I do not use rectangles for anything. >> >> Bob S >> >> >>> On Aug 10, 2023, at 3:30 PM, Dar Scott via use-livecode wrote: >>> >>> Anybody else seeing missing rectangles on Windows? Dar >>> >>>> On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode wrote: >>>> >>>> >>>> I have some rectangles that work just fine in development on my Mac. >>>> >>>> However, there are problems in my Windows standalone. >>>> >>>> Not Showing Up >>>> Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness >>>> >>>> Showing Up >>>> Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Aug 11 13:20:33 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Aug 2023 17:20:33 +0000 Subject: Tab Widget Go command Message-ID: <871423F1-6902-4A9D-A85A-4DEE8AF2D9CD@iotecdigital.com> In the dictionary, there is a Go command for widgets. I assumed this meant I can do something like: Go forward in widget “TabBar” But that does not work. Any ideas? I can kludge it. I would rather not have to. Bob S From jacque at hyperactivesw.com Fri Aug 11 16:30:55 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Aug 2023 15:30:55 -0500 Subject: Android black screen again... In-Reply-To: <48D02CCA-2419-4562-BBB4-B1912ED34DD6@major-k.de> References: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <48D02CCA-2419-4562-BBB4-B1912ED34DD6@major-k.de> Message-ID: On 8/11/23 3:12 AM, Klaus major-k via use-livecode wrote: > The problem is that this is not reproducable, it happens out of a sudden if it happens. > Even the hardware BACKKEY does not work in that situation, only the HOMEKEY so I can > at least quit the app. That's called an ANR ("Application Not Responding"). Something in the app is causing a hang. If you wait long enough, Android should put up a dialog asking if you want to wait or close the app. If you choose to wait, sometimes it comes back. However, the wait can be 10-20 seconds or more so people often just quit before the dialog appears. The problem here is figuring out what causes it. Is it always the same PDF file? Or maybe it happens after opening a certain number of files, or the length of a file, or the cumulative length of several files, or...? If it isn't reproducible, it's very difficult to find the cause. If it happens to you at home some day, see if waiting 15 seconds or more puts up that dialog. That would confirm it's an ANR. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Aug 11 18:00:22 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Aug 2023 17:00:22 -0500 Subject: Sorting Arrays In-Reply-To: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> Message-ID: <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: > Combining my "traditional" way as above, and your example, I came up with a  simpler way to do > the same thing: > >> on simpleSortNumberedArray @pArrayDataA, pSortKeys >>    local tKeys, tSeq, tOneSortKey, tSortCommand >>    put seqAsLines(pArrayDataA) into tKeys >>    repeat with I = the number of items in pSortKeys down to 1 >>       put item I of pSortKeys into tOneSortKey >>       put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \ >>             "by pArrayData[each][" && word 1 of tOneSortKey && "]" into tSortCommand >>       do tSortCommand >>    end repeat >>    rebuildSeq pArrayDataA, tKeys >> end simpleSortNumberedArray >> >> function seqAsLines pSeq >>    local tRes >>    repeat with i = 1 to the number of elements in pSeq >>       put i & CR after tRes >>    end repeat >>    return tRes >> end seqAsLines >> >> command rebuildSeq @pSeq, pList >>    local tResQ, tCount >>    repeat for each line L in pList >>       add 1 to tCount >>       put pSeq[L] into tResQ[tCount] >>    end repeat >>    put tResQ into pSeq >> end rebuildSeq I couldn't get this to work until I altered it, but I was using a very simple array. What type of array data did you use? I think I'm missing something. I just did this: put the weekdayNames into tDataA split tDataA by cr simpleSortNumberedArray tDataA, "descending,text" For that array, this worked: on simpleSortNumberedArray pArrayDataA, pSortKeys local tKeys, tSeq, tOneSortKey, tSortCommand put seqAsLines(pArrayDataA) into tKeys repeat with I = the number of items in pSortKeys down to 1 put item I of pSortKeys into tOneSortKey -- put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \ -- "by pArrayDataA[each][" && word 1 of tOneSortKey && "]" into tSortCommand put "sort lines of tKeys" && tOneSortKey into tSortCommand do tSortCommand end repeat rebuildSeq pArrayDataA, tKeys end simpleSortNumberedArray function seqAsLines pSeq local tRes -- repeat with i = 1 to the number of elements in pSeq repeat for each element e in pSeq put e & CR after tRes end repeat return tRes end seqAsLines command rebuildSeq @pSeq, pList local tResQ, tCount repeat for each line L in pList add 1 to tCount -- put pSeq[L] into tResQ[tCount] put L into tResQ[tCount] end repeat put tResQ into pSeq end rebuildSeq -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Fri Aug 11 19:58:59 2023 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 12 Aug 2023 00:58:59 +0100 Subject: Sorting Arrays In-Reply-To: <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> Message-ID: On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: > On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: > [ ... code from earlier posting ...] > I couldn't get this to work until I altered it, but I was using a very > simple array. What type of array data did you use? I think I'm missing > something. > > I just did this: > >   put the weekdayNames into tDataA >   split tDataA by cr >   simpleSortNumberedArray tDataA, "descending,text" > What you're missing is that this (simpleSortNumberedArray) is only intended for "numbered array"s (which LC is calling "sequences" in some places); i.e. an array where the (top-level) keys are all consecutive integers, from 1 .... n Also, the pSortkeys should be a number of comma-separated items, each of which consists of a key by which you want to sort the array followed optionally by an order and type. So you might do something like : > on mouseup >    local tCounter, tDataA > >    repeat for each line L in the weekdayNames >       add 1 to tCounter >       put L into tDataA[tCounter]["dayname"] >       put the number of chars in L into tDataA[tCounter]["charcount"] >    end repeat > >    -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >    simpleSortNumberedArray tDataA, "dayname" >    repeat with I = 1 to 7 >       put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >    end repeat > >    put "---------" &CR after msg > >    -- sorts descending numeric by number of characters in name >    --  NB within each char count value, they remain in alphabetical > order of name >    simpleSortNumberedArray tDataA, "charcount numeric descending" >    repeat with I = 1 to 7 >       put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >    end repeat > end mouseup and get as output > 6 Friday > 6 Monday > 8 Saturday > 6 Sunday > 8 Thursday > 7 Tuesday > 9 Wednesday > --------- > 9 Wednesday > 8 Saturday > 8 Thursday > 7 Tuesday > 6 Friday > 6 Monday > 6 Sunday So - it would be worth adding a check that the array passed in is indeed a sequence, at the start of simpleSortNumberedArray: if NOT (pArrayDataA is an array AND \            item 2 of extents(pArrayDataA) is the number of elements in pArrayDataA) then \                  return pArrayData I'm now going to add this to my personal library, but I'll rename it to     seqSortMultipleKeys Alex. From bobsneidar at iotecdigital.com Fri Aug 11 20:07:47 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 12 Aug 2023 00:07:47 +0000 Subject: Sorting Arrays In-Reply-To: References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> Message-ID: <43732233-0960-4653-BF08-F6BC36DB4275@iotecdigital.com> Send me what you have. Thanks. Sent from my iPhone > On Aug 11, 2023, at 17:02, Alex Tweedly via use-livecode wrote: > >  >> On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: >> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: >> [ ... code from earlier posting ...] > >> I couldn't get this to work until I altered it, but I was using a very simple array. What type of array data did you use? I think I'm missing something. >> >> I just did this: >> >> put the weekdayNames into tDataA >> split tDataA by cr >> simpleSortNumberedArray tDataA, "descending,text" >> > What you're missing is that this (simpleSortNumberedArray) is only intended for "numbered array"s (which LC is calling "sequences" in some places); i.e. an array where the (top-level) keys are all consecutive integers, from 1 .... n > > Also, the pSortkeys should be a number of comma-separated items, each of which consists of a key by which you want to sort the array followed optionally by an order and type. > > So you might do something like : > >> on mouseup >> local tCounter, tDataA >> >> repeat for each line L in the weekdayNames >> add 1 to tCounter >> put L into tDataA[tCounter]["dayname"] >> put the number of chars in L into tDataA[tCounter]["charcount"] >> end repeat >> >> -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >> simpleSortNumberedArray tDataA, "dayname" >> repeat with I = 1 to 7 >> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >> end repeat >> >> put "---------" &CR after msg >> >> -- sorts descending numeric by number of characters in name >> -- NB within each char count value, they remain in alphabetical order of name >> simpleSortNumberedArray tDataA, "charcount numeric descending" >> repeat with I = 1 to 7 >> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >> end repeat >> end mouseup > and get as output > >> 6 Friday >> 6 Monday >> 8 Saturday >> 6 Sunday >> 8 Thursday >> 7 Tuesday >> 9 Wednesday >> --------- >> 9 Wednesday >> 8 Saturday >> 8 Thursday >> 7 Tuesday >> 6 Friday >> 6 Monday >> 6 Sunday > > So - it would be worth adding a check that the array passed in is indeed a sequence, at the start of simpleSortNumberedArray: > > if NOT (pArrayDataA is an array AND \ > item 2 of extents(pArrayDataA) is the number of elements in pArrayDataA) then \ > return pArrayData > > I'm now going to add this to my personal library, but I'll rename it to > > seqSortMultipleKeys > > Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat Aug 12 03:31:21 2023 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Aug 2023 09:31:21 +0200 Subject: Android black screen again... In-Reply-To: References: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <48D02CCA-2419-4562-BBB4-B1912ED34DD6@major-k.de> Message-ID: <43493CFD-F381-41E1-AD4D-0FC859801E5B@major-k.de> Hi Jacque, you wrote: > I'm just guessing, but memory may be too low to allow the browser widget to work, however I am not using the browser widget (does not display PDFs on Andoid!) but the PDF widget! > Am 11.08.2023 um 22:30 schrieb J. Landman Gay via use-livecode : > > On 8/11/23 3:12 AM, Klaus major-k via use-livecode wrote: >> The problem is that this is not reproducable, it happens out of a sudden if it happens. >> Even the hardware BACKKEY does not work in that situation, only the HOMEKEY so I can >> at least quit the app. > > That's called an ANR ("Application Not Responding"). Something in the app is causing a hang. If you wait long enough, Android should put up a dialog asking if you want to wait or close the app. If you choose to wait, sometimes it comes back. However, the wait can be 10-20 seconds or more so people often just quit before the dialog appears. OK, if I have the time I will wait next time and see what happens. > The problem here is figuring out what causes it. Is it always the same PDF file? Or maybe it happens after opening a certain number of files, or the length of a file, or the cumulative length of several files, or...? If it isn't reproducible, it's very difficult to find the cause. It happen when I start the app, at that point there is no PDF loaded, just the "start card" with a couple of poly grids. It also happened in the same "session", means no switching the device off and on again. I started the device then opened my app, no problems. Then I quit my app and started again, BOOM, black screen. > If it happens to you at home some day, see if waiting 15 seconds or more puts up that dialog. That would confirm it's an ANR. Yes, will do, thanks for the hint! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Sat Aug 12 12:30:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Aug 2023 11:30:17 -0500 Subject: Sorting Arrays In-Reply-To: References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> Message-ID: <189ea958da8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Got it, thanks. The array was numbered but I didn't have enough dimensions. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 11, 2023 7:03:33 PM Alex Tweedly via use-livecode wrote: > On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: >> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: >> [ ... code from earlier posting ...] > >> I couldn't get this to work until I altered it, but I was using a very >> simple array. What type of array data did you use? I think I'm missing >> something. >> >> I just did this: >> >> put the weekdayNames into tDataA >> split tDataA by cr >> simpleSortNumberedArray tDataA, "descending,text" >> > What you're missing is that this (simpleSortNumberedArray) is only > intended for "numbered array"s (which LC is calling "sequences" in some > places); i.e. an array where the (top-level) keys are all consecutive > integers, from 1 .... n > > Also, the pSortkeys should be a number of comma-separated items, each of > which consists of a key by which you want to sort the array followed > optionally by an order and type. > > So you might do something like : > >> on mouseup >> local tCounter, tDataA >> >> repeat for each line L in the weekdayNames >> add 1 to tCounter >> put L into tDataA[tCounter]["dayname"] >> put the number of chars in L into tDataA[tCounter]["charcount"] >> end repeat >> >> -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >> simpleSortNumberedArray tDataA, "dayname" >> repeat with I = 1 to 7 >> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >> end repeat >> >> put "---------" &CR after msg >> >> -- sorts descending numeric by number of characters in name >> -- NB within each char count value, they remain in alphabetical >> order of name >> simpleSortNumberedArray tDataA, "charcount numeric descending" >> repeat with I = 1 to 7 >> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >> end repeat >> end mouseup > and get as output > >> 6 Friday >> 6 Monday >> 8 Saturday >> 6 Sunday >> 8 Thursday >> 7 Tuesday >> 9 Wednesday >> --------- >> 9 Wednesday >> 8 Saturday >> 8 Thursday >> 7 Tuesday >> 6 Friday >> 6 Monday >> 6 Sunday > > So - it would be worth adding a check that the array passed in is indeed > a sequence, at the start of simpleSortNumberedArray: > > if NOT (pArrayDataA is an array AND \ > item 2 of extents(pArrayDataA) is the number of elements in > pArrayDataA) then \ > return pArrayData > > I'm now going to add this to my personal library, but I'll rename it to > > seqSortMultipleKeys > > Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Aug 12 12:35:47 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Aug 2023 11:35:47 -0500 Subject: Sorting Arrays In-Reply-To: <43732233-0960-4653-BF08-F6BC36DB4275@iotecdigital.com> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> <43732233-0960-4653-BF08-F6BC36DB4275@iotecdigital.com> Message-ID: <189ea9a92d0.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I used a short, one-dimensional numbered array: put the weekdayNames into tDataA split tDataA by cr simpleSortNumberedArray tDataA, "descending,text" But as Alex explained, one dimension wasn't enough. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 11, 2023 7:09:50 PM Bob Sneidar via use-livecode wrote: > Send me what you have. Thanks. > > Sent from my iPhone > >> On Aug 11, 2023, at 17:02, Alex Tweedly via use-livecode >> wrote: >> >> ? >>> On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: >>> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: >>> [ ... code from earlier posting ...] >> >>> I couldn't get this to work until I altered it, but I was using a very >>> simple array. What type of array data did you use? I think I'm missing >>> something. >>> >>> I just did this: >>> >>> put the weekdayNames into tDataA >>> split tDataA by cr >>> simpleSortNumberedArray tDataA, "descending,text" >>> >> What you're missing is that this (simpleSortNumberedArray) is only intended >> for "numbered array"s (which LC is calling "sequences" in some places); >> i.e. an array where the (top-level) keys are all consecutive integers, from >> 1 .... n >> >> Also, the pSortkeys should be a number of comma-separated items, each of >> which consists of a key by which you want to sort the array followed >> optionally by an order and type. >> >> So you might do something like : >> >>> on mouseup >>> local tCounter, tDataA >>> >>> repeat for each line L in the weekdayNames >>> add 1 to tCounter >>> put L into tDataA[tCounter]["dayname"] >>> put the number of chars in L into tDataA[tCounter]["charcount"] >>> end repeat >>> >>> -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >>> simpleSortNumberedArray tDataA, "dayname" >>> repeat with I = 1 to 7 >>> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >>> end repeat >>> >>> put "---------" &CR after msg >>> >>> -- sorts descending numeric by number of characters in name >>> -- NB within each char count value, they remain in alphabetical order of name >>> simpleSortNumberedArray tDataA, "charcount numeric descending" >>> repeat with I = 1 to 7 >>> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >>> end repeat >>> end mouseup >> and get as output >> >>> 6 Friday >>> 6 Monday >>> 8 Saturday >>> 6 Sunday >>> 8 Thursday >>> 7 Tuesday >>> 9 Wednesday >>> --------- >>> 9 Wednesday >>> 8 Saturday >>> 8 Thursday >>> 7 Tuesday >>> 6 Friday >>> 6 Monday >>> 6 Sunday >> >> So - it would be worth adding a check that the array passed in is indeed a >> sequence, at the start of simpleSortNumberedArray: >> >> if NOT (pArrayDataA is an array AND \ >> item 2 of extents(pArrayDataA) is the number of elements in pArrayDataA) then \ >> return pArrayData >> >> I'm now going to add this to my personal library, but I'll rename it to >> >> seqSortMultipleKeys >> >> Alex. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sat Aug 12 18:22:18 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 12 Aug 2023 22:22:18 +0000 Subject: Sorting Arrays In-Reply-To: <189ea9a92d0.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> <43732233-0960-4653-BF08-F6BC36DB4275@iotecdigital.com> <189ea9a92d0.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <96401816-CDD0-4F24-935F-679A1B49E0AB@iotecdigital.com> I formatted the sortKeys as I would an SQL query or an LC sort, but then I needed to isolate the key from the parameters because I couldn’t assume the sort key was simply the first word. Sent from my iPhone > On Aug 12, 2023, at 09:36, J. Landman Gay via use-livecode wrote: > > I used a short, one-dimensional numbered array: > > put the weekdayNames into tDataA > split tDataA by cr > simpleSortNumberedArray tDataA, "descending,text" > > But as Alex explained, one dimension wasn't enough. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On August 11, 2023 7:09:50 PM Bob Sneidar via use-livecode wrote: >> >> Send me what you have. Thanks. >> >> Sent from my iPhone >> >>>> On Aug 11, 2023, at 17:02, Alex Tweedly via use-livecode wrote: >>> >>> ? >>>> On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: >>>> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: >>>> [ ... code from earlier posting ...] >>> >>>> I couldn't get this to work until I altered it, but I was using a very simple array. What type of array data did you use? I think I'm missing something. >>>> >>>> I just did this: >>>> >>>> put the weekdayNames into tDataA >>>> split tDataA by cr >>>> simpleSortNumberedArray tDataA, "descending,text" >>>> >>> What you're missing is that this (simpleSortNumberedArray) is only intended for "numbered array"s (which LC is calling "sequences" in some places); i.e. an array where the (top-level) keys are all consecutive integers, from 1 .... n >>> >>> Also, the pSortkeys should be a number of comma-separated items, each of which consists of a key by which you want to sort the array followed optionally by an order and type. >>> >>> So you might do something like : >>> >>>> on mouseup >>>> local tCounter, tDataA >>>> >>>> repeat for each line L in the weekdayNames >>>> add 1 to tCounter >>>> put L into tDataA[tCounter]["dayname"] >>>> put the number of chars in L into tDataA[tCounter]["charcount"] >>>> end repeat >>>> >>>> -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >>>> simpleSortNumberedArray tDataA, "dayname" >>>> repeat with I = 1 to 7 >>>> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >>>> end repeat >>>> >>>> put "---------" &CR after msg >>>> >>>> -- sorts descending numeric by number of characters in name >>>> -- NB within each char count value, they remain in alphabetical order of name >>>> simpleSortNumberedArray tDataA, "charcount numeric descending" >>>> repeat with I = 1 to 7 >>>> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >>>> end repeat >>>> end mouseup >>> and get as output >>> >>>> 6 Friday >>>> 6 Monday >>>> 8 Saturday >>>> 6 Sunday >>>> 8 Thursday >>>> 7 Tuesday >>>> 9 Wednesday >>>> --------- >>>> 9 Wednesday >>>> 8 Saturday >>>> 8 Thursday >>>> 7 Tuesday >>>> 6 Friday >>>> 6 Monday >>>> 6 Sunday >>> >>> So - it would be worth adding a check that the array passed in is indeed a sequence, at the start of simpleSortNumberedArray: >>> >>> if NOT (pArrayDataA is an array AND \ >>> item 2 of extents(pArrayDataA) is the number of elements in pArrayDataA) then \ >>> return pArrayData >>> >>> I'm now going to add this to my personal library, but I'll rename it to >>> >>> seqSortMultipleKeys >>> >>> Alex. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neville.smythe at optusnet.com.au Sun Aug 13 08:45:39 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sun, 13 Aug 2023 22:45:39 +1000 Subject: Linux file names in LC Server Message-ID: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> As we know with LC it is pretty straightforward to deal with internationalised text for remote databases and unknown user platforms by conversion to utf-8. But I have come across a problem with Linux filenames containing non-ascii characters which has me befuddled. My many-years-old app has until now just required all filenames to be in standard 7-bit ascii, so it was way past time I brought it up to date. The app talks to a database, media and web site on a unix (DreamHost) server using LC server as intermediary. I create a file say “Carré.txt” on a Mac - the non-ascii character in that name being [e-acute] - I shall use this convention from now on to ensure what is displayed here on the forum is understood. BTW, as far as I can determine that character in the Mac file system is a single byte hex [8e], the classic MacRoman encoding, not its utf-8 2-byte [C3A9] encoding. So I don’t understand how macOS handles unicode in its filesystem, which it certainly does. We are exhorted to textEncode to utf-8 when exporting anything outside LC but perhaps not filenames?? If I textEncode the filename and save with that name I get a new file “Carr[squareroot copyright].txt”. I am befuddled already - how does macOS distinguish MacRoman encoding from unicode encoding when it displays a file name? - but that is another story for another place.. Oh, and another story: it ain't true that all text in LC is utf-16: While it’s not possible using LC-API’s to determine exactly what is inside the black-box of an LC variable in memory, it is evidently platform dependent — that MacRoman [8e] is reported as being the relevant byte in the LC variable. What can be determined is what is on disk when a stack is saved: there text appears to be encoded as a mixture of 7-bit ascii when it can be, utf-16 encoding for other characters. Not that we as consumers need to know how the magic is performed, as long as it works. Back to my story.. So now I want to upload this file to my remote Linux server. I POST a form, prepared with libURLMultiPartFormData, to an LC Server script, which is supposed to save the received file. If I attempt to use the original Mac file name, the server responds “Cannot open file Carr[e-acute].txt” (this is the Result error message from "open file tFileName for binary write”) If I send textEncode(filename, utf-8) as the file name, the server responds “Cannot open file Carr[squareroot][copyright].txt” If I textEncode at the client end, and then textDecode on the server it responds “Cannot open file Carre[E-grave].txt” (Where did THAT come from? Is there a bug in textDecode on Linux LCS? The native encoding on Linux is supposed to be ISO-Latin-1, where E-grave is hex [C8], in MacRoman it is [E9], no apparent connections between them or the utf-8 bytes.) And just as a piece of nonsense, if I send the raw un-Encoded Mac file name, but then textDecode on the server, the file is happily saved as “Carr.txt”, which is correct since [8e] followed by . is illegal as utf-8, so the [e-acute] is just skipped by textDecode. Could it be that LCserver cannot create files on Linux with non-ascii names?!? That doesn’t seem believable. I can of course directly create files on the server with non-ascii characters such as e-acute. Either I am missing something, or surely our European users have seen this already, so someone should be able to unfuddle me! Neville Smythe From harrison at all-auctions.com Sun Aug 13 09:29:46 2023 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Sun, 13 Aug 2023 09:29:46 -0400 Subject: LC 9.6.9 App uses too much memory! In-Reply-To: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> References: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> Message-ID: <848FFA3D-F8BA-45F1-8595-B4742FE107B9@all-auctions.com> Hi LiveCoders, I just got a warning from the OS that I was out of application memory. Livecode was using over 90 GB of memory! The stack runs fine under LC 9.6.8 without any issues whatsoever, but as soon as I open it with LC 9.6.9 the problem reappears. (I have to use force quit to shut down LC 9.6.9 when this happens.) I’m running Mac OS Ventura on an M1 processor that has 16 GB of Memory. Clearly this is a bug in LC 9.6.9, but I don’t know what is causing the problem. I noticed that others in the past have run into a similar problem. Was this ever reported as a bug? Do you have any ideas or suggestions? Thanks, Rick From neville.smythe at optusnet.com.au Sun Aug 13 21:45:59 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Mon, 14 Aug 2023 11:45:59 +1000 Subject: Linux filenames in LC Server Message-ID: OK, so the macOS *is* using utf-8 for its file names - the [e-acute] in the filename Carré.txt is rendered with two bytes [C3A9] not the single byte MacRoman encoding. I got tricked by copying the terminal listing into another program rather than hex dumping within the terminal, and somewhere in the process the native encoding was preferred. So one must *not* textEncode a filename to utf-8 before writing a file to disk, LC deals with the encoding, although you *should” textEncode its contents. Which leaves the problem of why I can’t get LC Server on Linux to write non-ascii filenames Neville Smythe From dan at clearvisiontech.com Mon Aug 14 01:34:04 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 14 Aug 2023 05:34:04 +0000 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: I am getting some inconsistent results with in in app purchases from the iOS App Store. In the TestFlight dev environment, the purchase “seems” to be complete… I get all the normal iOS prompts to purchase the product, enter the password, etc. I even get the “You’re All Set. Your purchase was successful.” message. But, most of the time the purcahseStateUpdate message is never received. (Yes! I am calling mobileStoreEnablePurchaseUpdates before anything else). Also, after calling mobileStoreMakePurchase, there is quite a pause before you get the “confirm purchase” dialog… I mean like 7 to 10 seconds. And, after you make the purchase (and you hear the ‘ding’), there is another 4-5 second pause before the “Your purchase was successful” message. Is that normal? Any thoughts, insights or advise? Maybe this is a TestFlight dev environment thing? FWIW, I have no issues on Android. Google Play store is working as expected – every time. -Dan From mark at livecode.com Mon Aug 14 06:13:51 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Aug 2023 11:13:51 +0100 Subject: LC 9.6.9 App uses too much memory! In-Reply-To: <848FFA3D-F8BA-45F1-8595-B4742FE107B9@all-auctions.com> References: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> <848FFA3D-F8BA-45F1-8595-B4742FE107B9@all-auctions.com> Message-ID: <332932d5c6b5963e704c40816aec8145@livecode.com> On 2023-08-13 14:29, harrison--- via use-livecode wrote: > Hi LiveCoders, > > Clearly this is a bug in LC 9.6.9, but I dont know what is causing the > problem. > I noticed that others in the past have run into a similar problem. Was > this > ever reported as a bug? Could you file a bug report with recipe and attach (or send to support at livecode.com if its sensitive) the stack and recipe for reproducing the problem so we can take a look. Thanks in advance, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From mark at livecode.com Mon Aug 14 06:22:03 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Aug 2023 11:22:03 +0100 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: On 2023-08-14 02:45, Neville Smythe via use-livecode wrote: > OK, so the macOS *is* using utf-8 for its file names - the [e-acute] in > the filename Carr.txt is rendered with two bytes [C3A9] not the single > byte MacRoman encoding. I got tricked by copying the terminal listing > into another program rather than hex dumping within the terminal, and > somewhere in the process the native encoding was preferred. > > So one must *not* textEncode a filename to utf-8 before writing a file > to disk, LC deals with the encoding, although you *should textEncode > its contents. > > Which leaves the problem of why I cant get LC Server on Linux to write > non-ascii filenames So I suspect the problem here is normalization, rather than the inability of Linux to write non-ascii filenames. Characters such as e-acute / e-grave have *two* representations in unicode - the decomposed and composed form. The composed form is a direct mapping from the native encodings and is a single codepoint, the decomposed form will be two codepoints - (e, combining-acute/grave) Depending on where the string comes from it might either be composed or decomposed - macOS filenames are stored decomposed in the FS, but the higher-level parts of the OS make either form work (in a similar fashion to how macOS filesystems are case-insensitive by default). Linux filesystems, however, are both case-sensitive and form-sensitive - a filename must match byte to byte with what it was created with (indeed, linux filesystems care nothing for encodings, they see filenames as a sequence of bytes which are interpreted relative to the user's current locale - the default locale on linux these days is utf-8). If your app is managing the files completely on Linux (i.e. it is creating / deleting them and the filenames are not user-editable) then (if this is the caseu) the problem should be fixable by choosing a normalization form when you create / lookup the file - i.e. pass all filenames on the server through `normalizeText(,
)` - here you want form to be either "NFC" (composed) or "NFD" (decomposed). Warmest Regards, Mark. P.S. For all the gory details about Unicode normalization forms see - https://unicode.org/reports/tr15/ -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From matthias_livecode_150811 at m-r-d.de Mon Aug 14 07:12:55 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 14 Aug 2023 13:12:55 +0200 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> Hi Mark, when i read Neville's post i thought also about normalize, although i really do not have a clue about the whole unicode stuff, but i remembered that the standalone builder make use of the normalize function. ;) So i used this script on LC Server to write the seconds to a file containing an a-umlaut in its name. put normalizeText("testä.txt", "NFC") into tFile put the seconds into URL ("binfile:"&tFile) put the result put "

" put the files put "

" put tFile But that does not work. "The result" returns 'can't open file'. As i already wrote i have no clue about unicode so i tried also NFD and also the other 2 options, but also w/o success. Is there something else that one hast to keep in mind to have success with this? Regards, Matthias > Am 14.08.2023 um 12:22 schrieb Mark Waddingham via use-livecode : > > On 2023-08-14 02:45, Neville Smythe via use-livecode wrote: >> OK, so the macOS *is* using utf-8 for its file names - the [e-acute] in the filename Carré.txt is rendered with two bytes [C3A9] not the single byte MacRoman encoding. I got tricked by copying the terminal listing into another program rather than hex dumping within the terminal, and somewhere in the process the native encoding was preferred. >> So one must *not* textEncode a filename to utf-8 before writing a file to disk, LC deals with the encoding, although you *should” textEncode its contents. >> Which leaves the problem of why I can’t get LC Server on Linux to write non-ascii filenames > > So I suspect the problem here is normalization, rather than the inability of Linux to write non-ascii filenames. > > Characters such as e-acute / e-grave have *two* representations in unicode - the decomposed and composed form. > > The composed form is a direct mapping from the native encodings and is a single codepoint, the decomposed form will be two codepoints - (e, combining-acute/grave) > > Depending on where the string comes from it might either be composed or decomposed - macOS filenames are stored decomposed in the FS, but the higher-level parts of the OS make either form work (in a similar fashion to how macOS filesystems are case-insensitive by default). > > Linux filesystems, however, are both case-sensitive and form-sensitive - a filename must match byte to byte with what it was created with (indeed, linux filesystems care nothing for encodings, they see filenames as a sequence of bytes which are interpreted relative to the user's current locale - the default locale on linux these days is utf-8). > > If your app is managing the files completely on Linux (i.e. it is creating / deleting them and the filenames are not user-editable) then (if this is the caseu) the problem should be fixable by choosing a normalization form when you create / lookup the file - i.e. pass all filenames on the server through `normalizeText(, )` - here you want form to be either "NFC" (composed) or "NFD" (decomposed). > > Warmest Regards, > > Mark. > > P.S. For all the gory details about Unicode normalization forms see - https://unicode.org/reports/tr15/ > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Mon Aug 14 07:30:09 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Aug 2023 12:30:09 +0100 Subject: Linux filenames in LC Server In-Reply-To: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> References: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> Message-ID: <451d838117d6857f9af371ba2a213583@livecode.com> On 2023-08-14 12:12, matthias rebbe via use-livecode wrote: > Hi Mark, > > when i read Neville's post i thought also about normalize, although i > really do not have a clue about the whole unicode stuff, but i > remembered that the standalone builder make use of the normalize > function. ;) > > So i used this script on LC Server to write the seconds to a file > containing an a-umlaut in its name. > > put normalizeText("test.txt", "NFC") into tFile > put the seconds into URL ("binfile:"&tFile) > put the result > put "

" > put the files > put "

" > put tFile > > But that does not work. "The result" returns 'can't open file'. Hmmm - I must confess that I misread Neville's post - he did explicitly mention 'creating' files... The normalization would only arise if the file already existed, but the requested (incoming) filename was normalized differently (thus resulting in the file not being found). So assuming that the defaultFolder is accessible in your above script (as a read-only folder would also cause the same error) then there does appear to be something up here... Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From mark at livecode.com Mon Aug 14 07:50:31 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Aug 2023 12:50:31 +0100 Subject: Linux filenames in LC Server In-Reply-To: <451d838117d6857f9af371ba2a213583@livecode.com> References: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> <451d838117d6857f9af371ba2a213583@livecode.com> Message-ID: <681007f43f924ec513c60f842fbd84bd@livecode.com> On 2023-08-14 12:30, Mark Waddingham via use-livecode wrote: > So assuming that the defaultFolder is accessible in your above script > (as a read-only folder would also cause the same error) then there does > appear to be something up here... Okay so I'm pretty sure the linux server engine is doing the right thing. As mentioned previously, Linux filesystems don't actually care what the encoding of a filename is - to linux its just a sequence of bytes The interpretation is given by the 'locale' settings which are in effect for any given program. So, when you run lc-server from a terminal session directly, its almost certainly the case that the LC_ALL and LANG environment variables are set to en_US.UTF-8 (or some other language code DOT UTF-8 - it is the UTF-8 which is the important bit). On Linux, a C API nl_langinfo() is used to fetch the encoding to use when talking to the system APIs (e.g. filesystem APIs) - this (I believe) derives its information from LANG/LC_ALL. If the latter *are not set* then it will likely default to the 'C' locale which has no interpretation of any non-ascii chars, and thus attempts to encode/decode utf-8 encoded filenames will fail. My theory is that these variables are not set in the configuration for running CGIs in Apache (or whatever web server is being used in this instance). Digging around it looks like Apache (at least) has a `SetEnv` directive which would allow these environment variables to be set, e.g. SetEnv LC_ALL en_US.UTF-8 SetEnv LANG en_US.UTF-8 Although I'm not 100% sure where such things go, perhaps someone more conversant with apache config could chime in to suggest. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From matthias_livecode_150811 at m-r-d.de Mon Aug 14 07:53:27 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 14 Aug 2023 13:53:27 +0200 Subject: Linux filenames in LC Server In-Reply-To: <451d838117d6857f9af371ba2a213583@livecode.com> References: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> <451d838117d6857f9af371ba2a213583@livecode.com> Message-ID: see below... > Am 14.08.2023 um 13:30 schrieb Mark Waddingham via use-livecode : > > On 2023-08-14 12:12, matthias rebbe via use-livecode wrote: >> Hi Mark, >> when i read Neville's post i thought also about normalize, although i really do not have a clue about the whole unicode stuff, but i remembered that the standalone builder make use of the normalize function. ;) >> So i used this script on LC Server to write the seconds to a file containing an a-umlaut in its name. >> put normalizeText("testä.txt", "NFC") into tFile >> put the seconds into URL ("binfile:"&tFile) >> put the result >> put "

" >> put the files >> put "

" >> put tFile >> But that does not work. "The result" returns 'can't open file'. > > Hmmm - I must confess that I misread Neville's post - he did explicitly mention 'creating' files... The normalization would only arise if the file already existed, but the requested (incoming) filename was normalized differently (thus resulting in the file not being found). > > So assuming that the defaultFolder is accessible in your above script (as a read-only folder would also cause the same error) then there does appear to be something up here... > The default folder is accessible. The same script works when the ä is removed from the line put normalizeText("testä.txt", "NFC") into tFile > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Aug 14 20:07:27 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 14 Aug 2023 18:07:27 -0600 Subject: JSON Message-ID: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> I’m about write some scripts that fiddle with JSON. I have some old stacks of mine about someplace. But, I got to thinking there might be something faster about someplace. Ideas? Dar From andrew at midwestcoastmedia.com Mon Aug 14 23:29:01 2023 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Mon, 14 Aug 2023 23:29:01 -0400 Subject: iOS media player Message-ID: I have a project that needs updating but mobile media controls have completely changed since I last worked on this app. Seems now that the mobile player for iOS is a completely transparent rectangle until the user taps on it when 3 controls appear (rewind 10, play/pause, fast forward 10). Is there any way to make this overlay appear automatically? Once it appears it persists even after updating the media file. It feels like I’m going to have to create a skin (WinAMP flashbacks) for the media player that used to have standard timeline & playback UI from the OS. The logical command (in my head at least) was mobileControlSet "audioPlayer", "showController", TRUE but that acts more like a visibility command rather than calling up the controls. Here is a video showing the player object with a blueBackground and the controls appearing only after tapping on the mobile player: https://www.dropbox.com/scl/fi/q84nccwrqcct8jsmgwvs0/iOS_player.mp4?rlkey=mhqcuz96z9a88ztldweacdsco&dl=0 Curious how others have handled this change. —Andrew Bell From tore.nilsen at me.com Tue Aug 15 00:58:15 2023 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 15 Aug 2023 06:58:15 +0200 Subject: JSON In-Reply-To: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> References: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> Message-ID: JsonImport will make an array of your JSON data, whereas JsonExport will turn your array into JSON data. Not much fiddling there. Best regards Tore Nilsen > 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode : > > > I’m about write some scripts that fiddle with JSON. I have some old stacks of mine about someplace. But, I got to thinking there might be something faster about someplace. Ideas? > > Dar > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 01:16:48 2023 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 15 Aug 2023 08:16:48 +0300 Subject: JSON In-Reply-To: References: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> Message-ID: This has recently been explored across on the forums where I managed to expose my full level of ignorance on the subject. Best, Richmond. On Tue, 15 Aug 2023, 07:59 Tore Nilsen via use-livecode, < use-livecode at lists.runrev.com> wrote: > JsonImport will make an array of your JSON data, whereas JsonExport will > turn your array into JSON data. Not much fiddling there. > > Best regards > Tore Nilsen > > > 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode < > use-livecode at lists.runrev.com>: > > > > > > I’m about write some scripts that fiddle with JSON. I have some old > stacks of mine about someplace. But, I got to thinking there might be > something faster about someplace. Ideas? > > > > Dar > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From neville.smythe at optusnet.com.au Tue Aug 15 03:42:45 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Tue, 15 Aug 2023 17:42:45 +1000 Subject: Linux filenames in LC Server Message-ID: Thanks Mark and Matthias I think it is clear the problem is not related to variant forms - if I replace [e-acute] by any other non-ascii character, such as a Kanji character or emoji, I get the same “can’t open that file” error. And the weird decoding of [e-acute] to [E-grave] would be explained if textDecode is failing in LC Server. So if I understand Mark correctly, while one can create utf-8 encoded filenames directly in a terminal session, LC Server internally accesses Apache environment variables to encode/decode the filename before opening a file rather than directly using the shell. Presumably this has something to do with the engine being a server app having to respect the server environment. On Dreamhost, as far as I can determine, the LANG and LC-ALL variables are *not* set (though WordPress is running and it adds support for a swathe of languages, so surely has support for non-ascii filenames?) The site is a shared hosting, so I do not have permissions to change the Apache conf files. I tried adding the SetEnv commands in the .htaccess file but that didn’t work, although I could well be doing it wrong, I am fumbling around in the dark here. Unless there is some way to fix the configuration, it would seem that not only will opening files fail but the detailed files (the long files) command will also fail if non-ascii characters are encountered since it uses textEncode. I presume that using shell commands could be used as a workaround for accessing the filesystem, as long as LC doesn’t do an internal textEncode as it passes the variables to the shell! However it also means one cannot use textDecode/Encode at all, not just for the filenames but also content; and that could be a bummer. I haven’t encountered this so far because to this point I have encoded content before uploading binary files to the server, but I can envision situations where I would want to encode or decode server-side. I’m puzzled that this problem hasn’t been raised before. Surely the vast majority of website host providers use Linux servers, and the Dreamhost configuration for shared hosting is most likely standard. So has no-one in Europe (or Asia..) using LC Server wanted to create native-language filenames? I think LC Server is a magnificent tool, but perhaps it is not as widely used as it deserves! Or: they all found the fix and haven’t told us. > So, when you run lc-server from a terminal session directly, its almost > certainly the case that the LC_ALL and LANG environment variables are > set to en_US.UTF-8 (or some other language code DOT UTF-8 - it is the > UTF-8 which is the important bit). > > On Linux, a C API nl_langinfo() is used to fetch the encoding to use > when talking to the system APIs (e.g. filesystem APIs) - this (I > believe) derives its information from LANG/LC_ALL. > > If the latter *are not set* then it will likely default to the 'C' > locale which has no interpretation of any non-ascii chars, and thus > attempts to encode/decode utf-8 encoded filenames will fail. > > My theory is that these variables are not set in the configuration for > running CGIs in Apache (or whatever web server is being used in this > instance). > > Digging around it looks like Apache (at least) has a `SetEnv` directive > which would allow these environment variables to be set, e.g. > > SetEnv LC_ALL en_US.UTF-8 > SetEnv LANG en_US.UTF-8 > > Although I'm not 100% sure where such things go, perhaps someone more > conversant with apache config could chime in to suggest. Neville Smythe From matthias_livecode_150811 at m-r-d.de Tue Aug 15 04:06:51 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 15 Aug 2023 10:06:51 +0200 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: <4A5C44CF-2B54-44D7-9F9D-C69B0651C319@m-r-d.de> What definitely works, at least here, is to urlencode the filename before creating it So that e.g. testä would be created as test%E4 As urlencode does not "harm" you could use it in general, not only for non-ascii file names. And if you want to display the "real" name you just have to urldecode the filename again. > Am 15.08.2023 um 09:42 schrieb Neville Smythe via use-livecode : > > Thanks Mark and Matthias > > I think it is clear the problem is not related to variant forms - if I replace [e-acute] by any other non-ascii character, such as a Kanji character or emoji, I get the same “can’t open that file” error. And the weird decoding of [e-acute] to [E-grave] would be explained if textDecode is failing in LC Server. > > So if I understand Mark correctly, while one can create utf-8 encoded filenames directly in a terminal session, LC Server internally accesses Apache environment variables to encode/decode the filename before opening a file rather than directly using the shell. Presumably this has something to do with the engine being a server app having to respect the server environment. > > On Dreamhost, as far as I can determine, the LANG and LC-ALL variables are *not* set (though WordPress is running and it adds support for a swathe of languages, so surely has support for non-ascii filenames?) The site is a shared hosting, so I do not have permissions to change the Apache conf files. I tried adding the SetEnv commands in the .htaccess file but that didn’t work, although I could well be doing it wrong, I am fumbling around in the dark here. > > Unless there is some way to fix the configuration, it would seem that not only will opening files fail but the detailed files (the long files) command will also fail if non-ascii characters are encountered since it uses textEncode. I presume that using shell commands could be used as a workaround for accessing the filesystem, as long as LC doesn’t do an internal textEncode as it passes the variables to the shell! > > However it also means one cannot use textDecode/Encode at all, not just for the filenames but also content; and that could be a bummer. I haven’t encountered this so far because to this point I have encoded content before uploading binary files to the server, but I can envision situations where I would want to encode or decode server-side. > > I’m puzzled that this problem hasn’t been raised before. Surely the vast majority of website host providers use Linux servers, and the Dreamhost configuration for shared hosting is most likely standard. So has no-one in Europe (or Asia..) using LC Server wanted to create native-language filenames? I think LC Server is a magnificent tool, but perhaps it is not as widely used as it deserves! Or: they all found the fix and haven’t told us. > >> So, when you run lc-server from a terminal session directly, its almost >> certainly the case that the LC_ALL and LANG environment variables are >> set to en_US.UTF-8 (or some other language code DOT UTF-8 - it is the >> UTF-8 which is the important bit). >> >> On Linux, a C API nl_langinfo() is used to fetch the encoding to use >> when talking to the system APIs (e.g. filesystem APIs) - this (I >> believe) derives its information from LANG/LC_ALL. >> >> If the latter *are not set* then it will likely default to the 'C' >> locale which has no interpretation of any non-ascii chars, and thus >> attempts to encode/decode utf-8 encoded filenames will fail. >> >> My theory is that these variables are not set in the configuration for >> running CGIs in Apache (or whatever web server is being used in this >> instance). >> >> Digging around it looks like Apache (at least) has a `SetEnv` directive >> which would allow these environment variables to be set, e.g. >> >> SetEnv LC_ALL en_US.UTF-8 >> SetEnv LANG en_US.UTF-8 >> >> Although I'm not 100% sure where such things go, perhaps someone more >> conversant with apache config could chime in to suggest. > Neville Smythe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 04:31:37 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 15 Aug 2023 11:31:37 +0300 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: Hello Dan, Could you share the code that makes the purchase, as well as the purchaseStateUpdate message? Although, my guess is that this is rather a TestFlight issue, since if it was an issue in LC's API for in-app purchase on iOS, it would have been reported ready. Kind regards, Panos -- From mark at livecode.com Tue Aug 15 04:44:15 2023 From: mark at livecode.com (Mark Waddingham) Date: Tue, 15 Aug 2023 09:44:15 +0100 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: <4feb08be2f5d097077b387d0d4709c55@livecode.com> On 2023-08-15 08:42, Neville Smythe via use-livecode wrote: > So if I understand Mark correctly, while one can create utf-8 encoded > filenames directly in a terminal > session, LC Server internally accesses Apache environment variables to > encode/decode the filename > before opening a file rather than directly using the shell. Presumably > this has something to do with > the engine being a server app having to respect the server environment. So what is actually happening here is that there is a notion of a 'SysString' in the engine. A 'SysString' is a string represented as a sequence of bytes in whatever encoding the host platform understands in its APIs. The engine converts its internal string representation to a sys string whenever it accesses a system API - e.g. for opening files. In the case of Linux what encoding such 'sys strings' need to use depends on the environment - the encoding *could* be anything and thus the engine uses the UNIX 'iconv' library to convert from internal representation to the encoded bytes needed. I think this is what is causing the failure of the file APIs - iconv is refusing to convert a string with non-ascii characters to the 'default' 'C' locale as it can't (there is no mapping from, say, e-acute to ascii). I should point out that textEncode/Decode do not use system APIs - the conversions between UTF* forms and 'native' are all built into the engine - so that part is fine - its the low-level connection between commands like 'open file' and calling the UNIX open API which is throwing an error on file name conversion. > On Dreamhost, as far as I can determine, the LANG and LC-ALL variables > are *not* set (though WordPress > is running and it adds support for a swathe of languages, so surely has > support for non-ascii filenames?) > The site is a shared hosting, so I do not have permissions to change > the Apache conf files. I tried adding > the SetEnv commands in the .htaccess file but that didnt work, > although I could well be doing it wrong, > I am fumbling around in the dark here. The only thing I've found so far is SetEnv which does look like it can only be configured in the host config for a domain which is slightly irksome. However, there is a way to launch the CGI engine with any vars needed. I'm not sure how Dreamhost sets things up - indeed it might be worth asking their support if there is a way to configure environment variables which are passed through to CGI executables. If there isn't then it can be done with a launcher script: ``` #!/bin/sh export LC_ALL="en_US.UTF8" export LANG="en_US.UTF8" exec livecode-server ``` This would be a text file which has been made executable - and needs to be configured as the executable which is launched when a livecode server script is launched (livecode-server in the above needs to be the location of the livecode-server executable in the hosting setup). I know others here use (or have used) Dreamhost in the past - so they might know more about how the above could be configured (although, again, Dreamhost support can probably help). > Unless there is some way to fix the configuration, it would seem that > not only will opening files > fail but the detailed files (the long files) command will also fail if > non-ascii characters are > encountered since it uses textEncode. I presume that using shell > commands could be used as a workaround > for accessing the filesystem, as long as LC doesnt do an internal > textEncode as it passes the > variables to the shell! > However it also means one cannot use textDecode/Encode at all, not just > for the filenames but also > content; and that could be a bummer. I havent encountered this so far > because to this point I have > encoded content before uploading binary files to the server, but I can > envision situations where I > would want to encode or decode server-side. The problem isn't with textEncode/Decode - they work fine as mentioned above - its just the engine doesn't have the necessary information (due to lack of env vars) to know how to interpret/create the filenames the system APIs need. > Im puzzled that this problem hasnt been raised before. Surely the > vast majority of website host > providers use Linux servers, and the Dreamhost configuration for shared > hosting is most likely > standard. So has no-one in Europe (or Asia..) using LC Server wanted to > create native-language > filenames? I think LC Server is a magnificent tool, but perhaps it is > not as widely used as it > deserves! Or: they all found the fix and havent told us. This is almost certainly a server setup/config thing - I guess apache (by default) runs CGIs in the most 'raw' environment possible by default. The observation about Wordpress is interesting - certainly before PHP was 'unicodified' - the encoding of filenames was up to the script - i.e. you had to to encode/decode filenames appropriately yourself and I guess utf-8 was just assumed. With PHP7 I believe it handles unicode transparently a bit like LC does, so I'll see if I can see what PHP7+ uses to determine the system encoding. Indeed, it might do no harm at all to just assume UTF-8 encoding for Linux in the engine if the locale vars are not set (which appears to be the case here) which would resolve the problem transparently. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From benr_mc at cogapp.com Tue Aug 15 07:08:06 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 15 Aug 2023 12:08:06 +0100 Subject: Browser widget: "Navigation request cancelled" Message-ID: <706baeb4-f0f0-5fd3-9358-d0e3181ad045@cogapp.com> Trying to use the browser widget to access an internal site, I'm having a lot of trouble. If I send it (by setting the URL property of the widget) to the root of the hostname, it loads the page succesfully, although the widget gets a browserDocumentLoadFailed message "navigation request cancelled". If I set the URL property to some pages within the site, they load succesfully without that message. If I set the URL property to some other pages, they do not load, and that message is received. It's completely consistent which URLs work, and which don't. If I send the widget to a URL which works, I can navigate anywhere within the site without problems, including to the URLs which don't work using set. I haven't managed to pin down what distinguishes the working URLs from non-working. All the non-working ones I've found involve query parameters; but some of the working ones do also. My question is: how can I debug this issue? Are there any ways to get insight into the loading process? I am catching and reporting these messages: browserDocumentLoadFailed browserDocumentLoadComplete browserNavigateFailed browserNavigateComplete browserUnhandledLoadRequest ... but the only ones that trigger are either browserDocumentLoadFailed or browserUnhandledLoadRequest, or browserDocumentLoadComplete - always with the parameter being the requested URL. I'm guessing, though I might be wrong, that the issue is actually with one of the elements being requested by the document, but this is never in the parameter. Additionally, browserProgressChanged never seems to be sent. Is it possible to get any more detail about what's going on? TIA, Ben From mark at livecode.com Tue Aug 15 07:17:36 2023 From: mark at livecode.com (Mark Waddingham) Date: Tue, 15 Aug 2023 12:17:36 +0100 Subject: Browser widget: "Navigation request cancelled" In-Reply-To: <706baeb4-f0f0-5fd3-9358-d0e3181ad045@cogapp.com> References: <706baeb4-f0f0-5fd3-9358-d0e3181ad045@cogapp.com> Message-ID: On 2023-08-15 12:08, Ben Rubinstein via use-livecode wrote: > Is it possible to get any more detail about what's going on? I'm guessing you are using 10-dp-5 :) The issues here are regressions caused by the switch to WKWebView in 10 (previously we used the older WebView system web browser API): The missing progressChanged messages issue is https://quality.livecode.com/show_bug.cgi?id=24271 The missing other messages issue is https://quality.livecode.com/show_bug.cgi?id=24247 The latter is related to server vs local redirects in the web page. Both should be fixed in the upcoming 10-dp-6. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From dsc at swcp.com Tue Aug 15 09:46:43 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 15 Aug 2023 07:46:43 -0600 Subject: JSON In-Reply-To: References: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> Message-ID: <9C25DFE8-3B1D-4BD1-916F-9CD012283140@swcp.com> Thanks, Tore! I found these in the dictionary. For JsonImport I noted this: The return value may be any of the following types, depending on the content of the file: Array (for a JSON object) List (for a JSON array) String (for a JSON string) Number (for any JSON number) Boolean (for JSON true or false) nothing (for JSON null) How would an array of objects be translated? What is nothing? Dar > On Aug 14, 2023, at 10:58 PM, Tore Nilsen via use-livecode wrote: > > JsonImport will make an array of your JSON data, whereas JsonExport will turn your array into JSON data. Not much fiddling there. > > Best regards > Tore Nilsen > >> 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode : >> >> >> I’m about write some scripts that fiddle with JSON. I have some old stacks of mine about someplace. But, I got to thinking there might be something faster about someplace. Ideas? >> >> Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 15 10:03:13 2023 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 15 Aug 2023 16:03:13 +0200 Subject: JSON In-Reply-To: <9C25DFE8-3B1D-4BD1-916F-9CD012283140@swcp.com> References: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> <9C25DFE8-3B1D-4BD1-916F-9CD012283140@swcp.com> Message-ID: <15D33484-F79F-43EB-9F2B-38C01F74DABB@me.com> An array of object would be turned into a multidimensional array with value pairs in LiveCode. Depending on the source the main keys may be numeric or assosiative, like in these examples: contriesArray[1][name] contriesArray[1][capitol] contriesArray[1][inhabitants] Or contriesArray[«Norway"][capitol] contriesArray[«Norway»][inhabitants] Tore > 15. aug. 2023 kl. 15:46 skrev Dar Scott via use-livecode : > > Thanks, Tore! > > I found these in the dictionary. For JsonImport I noted this: > > The return value may be any of the following types, depending on the content of the file: > > Array (for a JSON object) > List (for a JSON array) > String (for a JSON string) > Number (for any JSON number) > Boolean (for JSON true or false) > nothing (for JSON null) > How would an array of objects be translated? What is nothing? > > Dar > > >> On Aug 14, 2023, at 10:58 PM, Tore Nilsen via use-livecode wrote: >> >> JsonImport will make an array of your JSON data, whereas JsonExport will turn your array into JSON data. Not much fiddling there. >> >> Best regards >> Tore Nilsen >> >>> 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode : >>> >>> >>> I’m about write some scripts that fiddle with JSON. I have some old stacks of mine about someplace. But, I got to thinking there might be something faster about someplace. Ideas? >>> >>> Dar >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 10:48:01 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 15 Aug 2023 14:48:01 +0000 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: Panos, Thank you for the reply. Here is my code…. You click a button, and it calls startInAppPurchase with the number of credits to purchase. After all is done, pLog is completely empty. This is working perfectly on Android. on startInAppPurchase numCredits //setup purchase id if numCredits = 1 then put 1001 into productID put "$0.99" into productAmount else if numCredits = 2 then put 1002 into productID put "$1.99" into productAmount else if numCredits = 3 then put 1003 into productID put "$2.99" into productAmount else if numCredits = 11 then put 1011 into productID put "$9.99" into productAmount end if //confirm with user if numCredits = 1 then put "Are you sure you want to purchase 1 credit for" && productAmount & "?" into pString else put "Are you sure you want to purchase" && numCredits && "credits for" && productAmount & "?" into pString end if if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") = "Cancel" then // <-- custom answer dialog exit startInAppPurchase end if //initiate the purchase mobileStoreEnablePurchaseUpdates mobileStoreSetProductType productID,"inapp" mobileStoreMakePurchase productID,"1","testPayload - Android Only" end startInAppPurchase on purchaseStateUpdate pPurchaseID,pProductID,pState global user global pLog put pState & cr after pLog switch pState case "paymentReceived" //2,1001,paymentReceived //tell our server is was successful and log users credits to database if isIPhone() then put mobileStoreProductProperty(pProductID,"transactionIdentifier") into tIdentifier get db_verifyPurchase(pProductID,tIdentifier) else //android handled in case "complete" end if mobileStoreConfirmPurchase pProductID //Inform the store that the purchase identifier productID was successfully delivered mobileStoreDisablePurchaseUpdates loadMeUp //refresh our display break case "error" answer "Error occured during purchase handling:" & return & return & mobileStorePurchaseError(pPurchaseID) mobileStoreDisablePurchaseUpdates break case "invalidSKU" answer "Invalid SKU." mobileStoreDisablePurchaseUpdates break case "alreadyEntitled" answer "Already Owned." mobileStoreDisablePurchaseUpdates break case "restored" answer "restored" offerPurchasedProduct pProductID mobileStoreConfirmPurchase pProductID mobileStoreDisablePurchaseUpdates loadMeUp break case "canceled" case "cancelled" answer "Purchase Cancelled:" && pProductID mobileStoreDisablePurchaseUpdates break case "complete" if isAndroid() then put mobileStoreProductProperty(pProductID,"orderId") into orderId mobileStoreConsumePurchase pProductID get db_verifyPurchase(pProductID,orderId) end if mobileStoreDisablePurchaseUpdates break end switch end purchaseStateUpdate Thank you! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Tuesday, August 15, 2023 at 1:33 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Oddities with iOS IAP Hello Dan, Could you share the code that makes the purchase, as well as the purchaseStateUpdate message? Although, my guess is that this is rather a TestFlight issue, since if it was an issue in LC's API for in-app purchase on iOS, it would have been reported ready. Kind regards, Panos -- _______________________________________________ use-livecode mailing list use-livecode at 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 Aug 15 13:22:34 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 15 Aug 2023 20:22:34 +0300 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: Hello Dan, Just a rough guess, in the purchaseStateUpdate msg, you have: mobileStoreConfirmPurchase pProductID //Inform the store that the purchase identifier productID was successfully delivered mobileStoreDisablePurchaseUpdates in both cases for paymentReceived and restored. Could you try commenting out the mobileStoreDisablePurchaseUpdates in these 2 cases? Once you call mobileStoreConfirmPurchase, it informs the store that the purchase was successful, and then the store sends another "purchaseStateUpdate" with state=complete. But if you call mobileStoreDisablePurchaseUpdates just after mobileStoreConfirmPurchase then this stops the communication with the store. I suggest having mobileStoreDisablePurchaseUpdates just in the "complete" case and remove it from "paymentReceived" and "restored". Note that on Android (if I remember correctly) mobileStoreEnablePurchaseUpdates/mobileStoreDisablePurchaseUpdates do not actually do something - but they are added for consistency. If you do this change, and still see the delay, then it is likely a TestFlight/Sandbox issue. Note that Apple's sandbox servers are slower than the actual ones used by StoreKit. (e.g. https://community.revenuecat.com/sdks-51/testflight-clicking-subscriptions-or-iaps-has-long-delay-2687 ) kind regards, Panos -- On Tue, 15 Aug 2023 at 17:49, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos, > > Thank you for the reply. Here is my code…. You click a button, and it > calls startInAppPurchase with the number of credits to purchase. After all > is done, pLog is completely empty. This is working perfectly on Android. > > on startInAppPurchase numCredits > //setup purchase id > if numCredits = 1 then > put 1001 into productID > put "$0.99" into productAmount > else if numCredits = 2 then > put 1002 into productID > put "$1.99" into productAmount > else if numCredits = 3 then > put 1003 into productID > put "$2.99" into productAmount > else if numCredits = 11 then > put 1011 into productID > put "$9.99" into productAmount > end if > > //confirm with user > if numCredits = 1 then > put "Are you sure you want to purchase 1 credit for" && productAmount > & "?" into pString > else > put "Are you sure you want to purchase" && numCredits && "credits for" > && productAmount & "?" into pString > end if > if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") > = "Cancel" then // <-- custom answer dialog > exit startInAppPurchase > end if > > //initiate the purchase > mobileStoreEnablePurchaseUpdates > mobileStoreSetProductType productID,"inapp" > mobileStoreMakePurchase productID,"1","testPayload - Android Only" > end startInAppPurchase > > on purchaseStateUpdate pPurchaseID,pProductID,pState > global user > global pLog > > put pState & cr after pLog > > switch pState > case "paymentReceived" //2,1001,paymentReceived > //tell our server is was successful and log users credits to database > if isIPhone() then > put mobileStoreProductProperty(pProductID,"transactionIdentifier") > into tIdentifier > get db_verifyPurchase(pProductID,tIdentifier) > else > //android handled in case "complete" > end if > > mobileStoreConfirmPurchase pProductID //Inform the store that the > purchase identifier productID was successfully delivered > mobileStoreDisablePurchaseUpdates > loadMeUp //refresh our display > break > case "error" > answer "Error occured during purchase handling:" & return & return & > mobileStorePurchaseError(pPurchaseID) > mobileStoreDisablePurchaseUpdates > break > case "invalidSKU" > answer "Invalid SKU." > mobileStoreDisablePurchaseUpdates > break > case "alreadyEntitled" > answer "Already Owned." > mobileStoreDisablePurchaseUpdates > break > case "restored" > answer "restored" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > mobileStoreDisablePurchaseUpdates > loadMeUp > break > case "canceled" > case "cancelled" > answer "Purchase Cancelled:" && pProductID > mobileStoreDisablePurchaseUpdates > break > case "complete" > if isAndroid() then > put mobileStoreProductProperty(pProductID,"orderId") into orderId > mobileStoreConsumePurchase pProductID > get db_verifyPurchase(pProductID,orderId) > end if > > mobileStoreDisablePurchaseUpdates > break > end switch > end purchaseStateUpdate > > > Thank you! > -Dan > > > From: use-livecode on behalf of > panagiotis m via use-livecode > Date: Tuesday, August 15, 2023 at 1:33 AM > To: How to use LiveCode > Cc: panagiotis m > Subject: Re: Oddities with iOS IAP > Hello Dan, > > Could you share the code that makes the purchase, as well as the > purchaseStateUpdate message? > > Although, my guess is that this is rather a TestFlight issue, since if it > was an issue in LC's API for in-app purchase on iOS, it would have been > reported > ready. > > Kind regards, > Panos > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 18:22:36 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 15 Aug 2023 22:22:36 +0000 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: Panos, Ok… seems to be working now. I’m no longer getting “completed”, but I am consistently getting “paymentRecieved”… and I can make that work. Obviously, I don’t really understand how this all works… but it’s working! Thank you again for your help! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Tuesday, August 15, 2023 at 10:24 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Oddities with iOS IAP Hello Dan, Just a rough guess, in the purchaseStateUpdate msg, you have: mobileStoreConfirmPurchase pProductID //Inform the store that the purchase identifier productID was successfully delivered mobileStoreDisablePurchaseUpdates in both cases for paymentReceived and restored. Could you try commenting out the mobileStoreDisablePurchaseUpdates in these 2 cases? Once you call mobileStoreConfirmPurchase, it informs the store that the purchase was successful, and then the store sends another "purchaseStateUpdate" with state=complete. But if you call mobileStoreDisablePurchaseUpdates just after mobileStoreConfirmPurchase then this stops the communication with the store. I suggest having mobileStoreDisablePurchaseUpdates just in the "complete" case and remove it from "paymentReceived" and "restored". Note that on Android (if I remember correctly) mobileStoreEnablePurchaseUpdates/mobileStoreDisablePurchaseUpdates do not actually do something - but they are added for consistency. If you do this change, and still see the delay, then it is likely a TestFlight/Sandbox issue. Note that Apple's sandbox servers are slower than the actual ones used by StoreKit. (e.g. https://community.revenuecat.com/sdks-51/testflight-clicking-subscriptions-or-iaps-has-long-delay-2687 ) kind regards, Panos From neville.smythe at optusnet.com.au Wed Aug 16 01:37:45 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Wed, 16 Aug 2023 15:37:45 +1000 Subject: Linux filenames in LC Server Message-ID: Thanks Mark for semi-unfuddling me. It’s good to know that textEncode/Decode is not to blame. But if I may try everyones' patience a little further > In the case of Linux what encoding such 'sys strings' need to use > depends on the environment - the encoding *could* be anything and thus > the engine uses the UNIX 'iconv' library to convert from internal > representation to the encoded bytes needed. I think this is what is > causing the failure of the file APIs - iconv is refusing to convert a > string with non-ascii characters to the 'default' 'C' locale as it can't > (there is no mapping from, say, e-acute to ascii). So I misunderstood, I thought we were talking about Apache environment variables. Indeed the Terminal app reports LANG=C as a system env variable. But if this is not specifically a server problem, wouldn’t that mean we could see the same behaviour with LC Desktop on Linux machines running vanilla Ubuntu or Debian (which is what Dreamhost uses)? I haven’t tried this yet, as it is a bit of pain to fire up my Linux emulator machine. An experiment, which make me wonder if this counts as a configuration problem or an actual bug in LC Server: In Terminal I type (actually paste) and execute echo “éü😃” > Carré.txt (for Forum users like me who just see ? everywhere, that is [e-acute][u-umlaut][happyface emoji] in the content to be written to a file with [e-acute] in its name) This works without problem. The contents of the file are utf-8 encoded, which I didn’t need to specify, but I guess that is what the pasteboard provided. Terminal had no problem creating or finding the file without needing those env settings. Of course it cannot *display* the file name without knowing the encoding, so ls reports the filename as 'Carr'$'\303\251''.txt’ ( readable as an ascii encoding, though not one I have seen before; note the single quotes) If I setup the env variables Mark suggests in the Terminal session export LC_ALL="en_US.UTF8" export LANG=“en_US.UTF8” then Terminal is able to display the filename á la française. Cyberduck reports this filename correctly using the [e-acute] without having to set encoding knowledge. And I can also create the file using Cyberduck with no problems. So IT knows about/expects/sets up the encoding as needed. I bet other Linux-aware apps would also open or list such files without drama or special configuration. However: in LC Server when I call "the long files" for the enclosing folder: crash! (Actually an in-line error reported for this code line). To my mind that qualifies as a bug, even if the source of the crash is the same as for open file. On the other hand hopefully setting the environment variables as Mark suggests will fix everything . Mark, could I clarify exactly how that “launcher script” is to be used… I’m guessing the cgi configuration should point to that file to be executed when it wants to open myscript.lc instead of pointing to the livecode-server executable (in which case it might have to have a .cgi suffix rather than .txt), or is it a shell script to be executed by livecode-server? Neville Smythe From mark at livecode.com Wed Aug 16 03:34:23 2023 From: mark at livecode.com (Mark Waddingham) Date: Wed, 16 Aug 2023 08:34:23 +0100 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: On 2023-08-16 06:37, Neville Smythe via use-livecode wrote: > So I misunderstood, I thought we were talking about Apache environment > variables. Indeed the Terminal app reports > > LANG=C > > as a system env variable. But if this is not specifically a server > problem, wouldnt > that mean we could see the same behaviour with LC Desktop on Linux > machines running > vanilla Ubuntu or Debian (which is what Dreamhost uses)? I havent > tried this yet, > as it is a bit of pain to fire up my Linux emulator machine. So the situation here is similar to that which you get on macOS. If you open Terminal, then the (UNIX) environment (variable-wise) which you get will be different from that you get when you double-click on an app to launch it. In the latter case, the executable is launched via the desktop environments 'launcher' process and will inherit the environment provided by that. Presumably, as Linux desktops mandate various things (like language settings), the locale and environment vars will be set appropriately. > An experiment, which make me wonder if this counts as a configuration > problem or an actual bug in LC Server: > > In Terminal I type (actually paste) and execute > > echo > Carr.txt > > (for Forum users like me who just see ? everywhere, that is > [e-acute][u-umlaut][happyface emoji] in the content to be written to a > file with [e-acute] in its name) > > This works without problem. The contents of the file are utf-8 > encoded, which I didnt > need to specify, but I guess that is what the pasteboard provided. > Terminal had no problem > creating or finding the file without needing those env settings. Of > course it cannot *display* > the file name without knowing the encoding, so ls reports the filename > as 'Carr'$'\303\251''.txt > ( readable as an ascii encoding, though not one I have seen before; > note the single quotes) I'm guessing here that this is a remote ssh session to your Linux server, and you are using macOS Terminal app to run and connect? If that is the case then the reason this works is because Terminal on macOS is UTF-8 (which is the *only* encoding macOS supports in its UNIX subsystem so you don't get the variance problem you do with Linux). This means that pasting text from somewhere else will paste the UTF-8 bytes - i.e. they will get transmitted over SSH to the remote linux machine. As filenames are just sequences of bytes on Linux this works fine - however when you ask the remote terminal to list the files, it can only interpret the ascii chars (as the LANG is C) and thus emits octal escapes for the others - here this ix 0xC3 0xA9 which is the utf-8 encoding of e-acute. > If I setup the env variables Mark suggests in the Terminal session > > export LC_ALL="en_US.UTF8" > export LANG=en_US.UTF8 > > then Terminal is able to display the filename la franaise. So now the remote terminal knows how to interpret the sequences of bytes present in the filenames, and thus can emit them appropriately. > Cyberduck reports this filename correctly using the [e-acute] without > having to set encoding > knowledge. And I can also create the file using Cyberduck with no > problems. So IT knows about/expects/sets > up the encoding as needed. I bet other Linux-aware apps would also open > or list such files without > drama or special configuration. IT doesn't know - it assumes. I suspect that if you used Cyberduck to connect to a Linux server which is setup to *not* be utf-8 (so filenames are encoded with some other encoding), then it would display things incorrectly. Of course, if the protocols it deals with specify the text encoding as utf-8 *and* the daemons running on said server are setup correctly (i.e. so that they process the filenames and such relative to the server's encoding) *and* they correctly convert the filenames from that encoding to the encoding mandated by the protocol then it would display fine. Certainly FTP treats filenames as sequences of bytes - so at least for that protocol the client would have to assume UTF-8 or be told the correct encoding to do the correct thing. > However: in LC Server when I call "the long files" for the enclosing > folder: crash! > (Actually an in-line error reported for this code line). To my mind > that qualifies as > bug, even if the source of the crash is the same as for open file. I take it by crash you mean a runtime error is logged, and that this only happens if the LANG / LC_ALL environment variables are not set? This is the same issue as opening a file - the low-level text encoding from ASCII to the internal encoding used by strings in the engine will be failing because it encounters non-ASCII. > On the other hand hopefully setting the environment variables as > Mark suggests will > fix everything . Mark, could I clarify exactly how that launcher > script is to be used > Im guessing the cgi configuration should point to that file to be > executed when it wants > to open myscript.lc instead of pointing to the livecode-server > executable (in which case > it might have to have a .cgi suffix rather than .txt), or is it a shell > script to be > executed by livecode-server? The provided text should be put into a shell script which should be launched *instead* of livecode-server - so configure your CGI environment to call said shell script when it encounters a lc server script file to run. It will then set environment variables and then 'exec' replaces the shell script with livecode-server (in the same process). Technically while what the engine is doing is correct (relative to its need to have filenames represented as strings internally at least) it isn't ideal. There are two options to improve the situation (when the locale env vars are not set / set to C): 1) Rather than assume ASCII, assume native - this would preserve the bytes in the filename regardless of system encoding. 2) Rather than assume ASCII, assume utf-8 - this would correctly represent filenames which are valid UTF-8, but would still fail on filenames with bad encoding Here (1) has the advantage that filenames would be preserved; but with the slight caveat that if you combined with other unicode characters (in a report say); the filenames would be displayed incorrectly (here 'display' would also include being sent as part of some protocol response). Here (2) has the advantage of everything working as expected assuming the server in question is utf-8 - it would still fail on filenames which are badly encoded though. However the latter could be mitigated by making the sys-string<->lc-string conversion slightly less strict - i.e. bad utf-8 chars map to/from '?' as they do in textEncode/Decode - so at least you could see the bad filenames. I suspect (2) is overall better - its only downside is that you would not be able to manipulate files on the server which had badly encoded utf-8 names. However, that seems like an extreme edge case; and one which you could work around by just setting the LANG env var to a native encoding and put appropriate code in your app to deal with. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From bobsneidar at iotecdigital.com Wed Aug 16 11:18:30 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Aug 2023 15:18:30 +0000 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: Hah! This reminds me of a time when Windows would allow files with names that were legal for Mac to be written to its own file system who’s filenames were NOT legal. The result is you could save the files, but you could never access or delete them, neither could you delete any folder that contained them. They had to write utilities to rename such files and they weren't 100% successful. Bob S On Aug 16, 2023, at 12:34 AM, Mark Waddingham via use-livecode wrote: I suspect (2) is overall better - its only downside is that you would not be able to manipulate files on the server which had badly encoded utf-8 names. However, that seems like an extreme edge case; and one which you could work around by just setting the LANG env var to a native encoding and put appropriate code in your app to deal with. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From bobsneidar at iotecdigital.com Wed Aug 16 12:30:56 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Aug 2023 16:30:56 +0000 Subject: Setting focus after tab Message-ID: Hi all. Something curious that has been going on for a while. When I tab from field 1 to field 2, I have code that populates field 2 in some circumstances, then checks to see if field 2 is empty, then focuses on field 2 if it is, or fiend 3 if it’s not. In other words I am trying to focus on the next empty field. This never works if I am tabbing, BUT if I set a breakpoint and step through the code, IT DOES WORK! I think this is because the tab-to-next-field native LC code is executing AFTER my code runs. Exit to top does not have an effect. Anyone else seeing this behavior? Bob S From bobsneidar at iotecdigital.com Wed Aug 16 12:49:16 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Aug 2023 16:49:16 +0000 Subject: Setting focus after tab In-Reply-To: References: Message-ID: never mind. I just tested this with a new stack and it works the way it’s supposed to. I must have a script that is doing this. Bob S > On Aug 16, 2023, at 9:30 AM, Bob Sneidar wrote: > > Hi all. > > Something curious that has been going on for a while. When I tab from field 1 to field 2, I have code that populates field 2 in some circumstances, then checks to see if field 2 is empty, then focuses on field 2 if it is, or fiend 3 if it’s not. In other words I am trying to focus on the next empty field. > > This never works if I am tabbing, BUT if I set a breakpoint and step through the code, IT DOES WORK! I think this is because the tab-to-next-field native LC code is executing AFTER my code runs. Exit to top does not have an effect. > > Anyone else seeing this behavior? > > Bob S > From matthias_livecode_150811 at m-r-d.de Wed Aug 16 19:33:16 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 17 Aug 2023 01:33:16 +0200 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: <12E0AE86-346F-441C-9CB1-394CC762E3E3@m-r-d.de> It seems it is possible to set environment vars using redirect rules in .htaccess. I added the following lines to my .htaccess RewriteEngine on RewriteRule \.(lc) - [E=LANG:de_DE.UTF-8] the 2nd line or better tells Apache not to redirect, but to 'use' the flag [E=....] when an .lc file is "requested". The flag allows to set an environment variable. E=LANG:de_DE.UTF-8 tells apache to set the variable LANG to the value de_DE.UTF-8 It's even possible to set cookies that way using a cookie tag. With those 2 lines i did not receive the 'can't open file' error anymore and the file with a non-ascii filename, in my script testä.txt, was created by the .lc script. In my ftp client the file testä.txt is shown as testä.txt, but i can access the file from LCserver still with its original name testä.txt > Am 16.08.2023 um 09:34 schrieb Mark Waddingham via use-livecode : > > On 2023-08-16 06:37, Neville Smythe via use-livecode wrote: >> So I misunderstood, I thought we were talking about Apache environment variables. Indeed the Terminal app reports >> LANG=C >> as a system env variable. But if this is not specifically a server problem, wouldn’t >> that mean we could see the same behaviour with LC Desktop on Linux machines running >> vanilla Ubuntu or Debian (which is what Dreamhost uses)? I haven’t tried this yet, >> as it is a bit of pain to fire up my Linux emulator machine. > > So the situation here is similar to that which you get on macOS. If you open Terminal, then the (UNIX) environment (variable-wise) which you get will be different from that you get when you double-click on an app to launch it. In the latter case, the executable is launched via the desktop environments 'launcher' process and will inherit the environment provided by that. Presumably, as Linux desktops mandate various things (like language settings), the locale and environment vars will be set appropriately. > >> An experiment, which make me wonder if this counts as a configuration problem or an actual bug in LC Server: >> In Terminal I type (actually paste) and execute >> echo “éü😃” > Carré.txt >> (for Forum users like me who just see ? everywhere, that is [e-acute][u-umlaut][happyface emoji] in the content to be written to a file with [e-acute] in its name) >> This works without problem. The contents of the file are utf-8 encoded, which I didn’t >> need to specify, but I guess that is what the pasteboard provided. Terminal had no problem >> creating or finding the file without needing those env settings. Of course it cannot *display* >> the file name without knowing the encoding, so ls reports the filename as 'Carr'$'\303\251''.txt’ >> ( readable as an ascii encoding, though not one I have seen before; note the single quotes) > > I'm guessing here that this is a remote ssh session to your Linux server, and you are using macOS Terminal app to run and connect? If that is the case then the reason this works is because Terminal on macOS is UTF-8 (which is the *only* encoding macOS supports in its UNIX subsystem so you don't get the variance problem you do with Linux). This means that pasting text from somewhere else will paste the UTF-8 bytes - i.e. they will get transmitted over SSH to the remote linux machine. > > As filenames are just sequences of bytes on Linux this works fine - however when you ask the remote terminal to list the files, it can only interpret the ascii chars (as the LANG is C) and thus emits octal escapes for the others - here this ix 0xC3 0xA9 which is the utf-8 encoding of e-acute. > >> If I setup the env variables Mark suggests in the Terminal session >> export LC_ALL="en_US.UTF8" >> export LANG=“en_US.UTF8” >> then Terminal is able to display the filename á la française. > > So now the remote terminal knows how to interpret the sequences of bytes present in the filenames, and thus can emit them appropriately. > >> Cyberduck reports this filename correctly using the [e-acute] without having to set encoding >> knowledge. And I can also create the file using Cyberduck with no problems. So IT knows about/expects/sets >> up the encoding as needed. I bet other Linux-aware apps would also open or list such files without >> drama or special configuration. > > IT doesn't know - it assumes. I suspect that if you used Cyberduck to connect to a Linux server which is setup to *not* be utf-8 (so filenames are encoded with some other encoding), then it would display things incorrectly. > > Of course, if the protocols it deals with specify the text encoding as utf-8 *and* the daemons running on said server are setup correctly (i.e. so that they process the filenames and such relative to the server's encoding) *and* they correctly convert the filenames from that encoding to the encoding mandated by the protocol then it would display fine. > > Certainly FTP treats filenames as sequences of bytes - so at least for that protocol the client would have to assume UTF-8 or be told the correct encoding to do the correct thing. > >> However: in LC Server when I call "the long files" for the enclosing folder: crash! >> (Actually an in-line error reported for this code line). To my mind that qualifies as >> bug, even if the source of the crash is the same as for open file. > > I take it by crash you mean a runtime error is logged, and that this only happens if the LANG / LC_ALL environment variables are not set? > > This is the same issue as opening a file - the low-level text encoding from ASCII to the internal encoding used by strings in the engine will be failing because it encounters non-ASCII. > >> On the other hand hopefully setting the environment variables as Mark suggests will >> fix everything . Mark, could I clarify exactly how that “launcher script” is to be used… >> I’m guessing the cgi configuration should point to that file to be executed when it wants >> to open myscript.lc instead of pointing to the livecode-server executable (in which case >> it might have to have a .cgi suffix rather than .txt), or is it a shell script to be >> executed by livecode-server? > > The provided text should be put into a shell script which should be launched *instead* of livecode-server - so configure your CGI environment to call said shell script when it encounters a lc server script file to run. It will then set environment variables and then 'exec' replaces the shell script with livecode-server (in the same process). > > Technically while what the engine is doing is correct (relative to its need to have filenames represented as strings internally at least) it isn't ideal. There are two options to improve the situation (when the locale env vars are not set / set to C): > > 1) Rather than assume ASCII, assume native - this would preserve the bytes in the filename regardless of system encoding. > 2) Rather than assume ASCII, assume utf-8 - this would correctly represent filenames which are valid UTF-8, but would still fail on filenames with bad encoding > > Here (1) has the advantage that filenames would be preserved; but with the slight caveat that if you combined with other unicode characters (in a report say); the filenames would be displayed incorrectly (here 'display' would also include being sent as part of some protocol response). > > Here (2) has the advantage of everything working as expected assuming the server in question is utf-8 - it would still fail on filenames which are badly encoded though. However the latter could be mitigated by making the sys-string<->lc-string conversion slightly less strict - i.e. bad utf-8 chars map to/from '?' as they do in textEncode/Decode - so at least you could see the bad filenames. > > I suspect (2) is overall better - its only downside is that you would not be able to manipulate files on the server which had badly encoded utf-8 names. However, that seems like an extreme edge case; and one which you could work around by just setting the LANG env var to a native encoding and put appropriate code in your app to deal with. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Wed Aug 16 21:27:40 2023 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Wed, 16 Aug 2023 21:27:40 -0400 Subject: LC 9.6.9 App uses too much memory! In-Reply-To: <332932d5c6b5963e704c40816aec8145@livecode.com> References: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> <848FFA3D-F8BA-45F1-8595-B4742FE107B9@all-auctions.com> <332932d5c6b5963e704c40816aec8145@livecode.com> Message-ID: <63F06F78-904E-485F-8A48-6A9EC1A67017@all-auctions.com> Hi Mark, It was a very old stack that used the Player object. It had start and stop buttons that I had created, and a couple of scrollbar objects for quick value scrubbing and playing. There was some rather odd behavior with the toggle controller where the 9.6.9 version was the flip flop of the 9.6.8 version. Other than that I couldn’t see any noticeable differences. I was able to reconstruct this simple stack in LC 9.6.9 and have it function properly, when made from scratch. Perhaps the old stack had some unseen corruption or something. It was just very odd to see it function fine in LC 9.6.8 but then have it cause that memory leak overrun in LC 9.6.9 and be unusable. I haven’t been able to come up with a recipe to duplicate the problem. If I can figure out a repeatable recipe I’ll get back to you on that. This is non-critical for me at the moment. Thanks, Rick > On Aug 14, 2023, at 6:13 AM, Mark Waddingham via use-livecode wrote: > > Could you file a bug report with recipe and attach (or send to support at livecode.com if its sensitive) the stack and recipe for reproducing the problem so we can take a look. > > Thanks in advance, > > Mark. From neville.smythe at optusnet.com.au Thu Aug 17 09:56:49 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 17 Aug 2023 23:56:49 +1000 Subject: Linux filenames in LC Server - Resolved Message-ID: <9DFCB875-8122-4440-A26F-22F073C96D67@optusnet.com.au> Thank you Mark, installing the launcher script to set environment variables has fixed all my issues with non-ascii filenames. The documentation for installing LCS could usefully make a note of these settings. And indeed TextEncode/Decode both work as expected, my musings there were irrelevant. Do you expect a future version of LCServer will incorporate the changes? IMHO I’d agree option 2 would make things work more transparently for the vast majority of cases. And while you wouldn’t able be able to handle badly encoded filenames within LC, I guess you wouldn't be able to create them either. Neville Smythe From panos.merakos at livecode.com Thu Aug 17 10:02:59 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 17 Aug 2023 17:02:59 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.10 RC-1. LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support for Android API 33, which will be a requirement for submitting new apps to the Google Play Store as of the 31st of August. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-10-rc-1-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From matthias_livecode_150811 at m-r-d.de Thu Aug 17 10:11:08 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 17 Aug 2023 16:11:08 +0200 Subject: Linux filenames in LC Server - Resolved In-Reply-To: <9DFCB875-8122-4440-A26F-22F073C96D67@optusnet.com.au> References: <9DFCB875-8122-4440-A26F-22F073C96D67@optusnet.com.au> Message-ID: <062314FD-CA58-4B47-8070-97A12355CF9E@m-r-d.de> Hi Neville, did you read my comment about setting the environment variable lang using .htaccess? That worked here and i could write non-ascii filenames using the "standard" LC Server installation. Regards, Matthias > Am 17.08.2023 um 15:56 schrieb Neville Smythe via use-livecode : > > Thank you Mark, installing the launcher script to set environment variables has fixed all my issues with non-ascii filenames. The documentation for installing LCS could usefully make a note of these settings. And indeed TextEncode/Decode both work as expected, my musings there were irrelevant. > > Do you expect a future version of LCServer will incorporate the changes? IMHO I’d agree option 2 would make things work more transparently for the vast majority of cases. And while you wouldn’t able be able to handle badly encoded filenames within LC, I guess you wouldn't be able to create them either. > > Neville Smythe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 canelasoftware.com Thu Aug 17 11:57:30 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 17 Aug 2023 08:57:30 -0700 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hi Panos, I am looking forward to testing this build. I do not have any links to the download on the page. They appear to be missing. The release notes are linked, and I can read them. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 matthias_livecode_150811 at m-r-d.de Thu Aug 17 12:01:12 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 17 Aug 2023 18:01:12 +0200 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: As Panos wrote.. ;) You can find the release in your LiveCode account area or get it via the automatic updater. > Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode : > > Hi Panos, > > I am looking forward to testing this build. I do not have any links to the download on the page. They appear to be missing. > > The release notes are linked, and I can read them. > > > Best regards, > Mark Talluto > > appli.io > livecloud.io > nursenotes.net > canelasoftware.com > > > >> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode wrote: >> >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >> >> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support >> for Android API 33, which will be a requirement for submitting new apps to >> the Google Play Store as of the 31st of August. >> >> You can find more details on the bug fixes and improvements of this new >> release here: >> >> https://livecode.com/livecode-9-6-10-rc-1-released/ >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> 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 merakosp at gmail.com Thu Aug 17 12:05:18 2023 From: merakosp at gmail.com (panagiotis m) Date: Thu, 17 Aug 2023 19:05:18 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hello Mark, As Matthias noted, you can find this release in your account area. You have to scroll down a bit because the stable releases are listed at the top. In the downloads page you can only find the last stable release - currently 9.6.9. Kind regards, Panos -- On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > As Panos wrote.. ;) > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > > Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Panos, > > > > I am looking forward to testing this build. I do not have any links to > the download on the page. They appear to be missing. > > > > The release notes are linked, and I can read them. > > > > > > Best regards, > > Mark Talluto > > > > appli.io > > livecloud.io > > nursenotes.net > > canelasoftware.com > > > > > > > >> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Dear list members, > >> > >> We are pleased to announce the release of LiveCode 9.6.10 RC-1. > >> > >> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support > >> for Android API 33, which will be a requirement for submitting new apps > to > >> the Google Play Store as of the 31st of August. > >> > >> You can find more details on the bug fixes and improvements of this new > >> release here: > >> > >> https://livecode.com/livecode-9-6-10-rc-1-released/ > >> > >> You can find the release in your LiveCode account area or get it via the > >> automatic updater. > >> > >> Enjoy! > >> > >> Kind regards > >> 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 mark at canelasoftware.com Thu Aug 17 12:12:37 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 17 Aug 2023 09:12:37 -0700 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: <7235ECDA-1A4D-4DA3-8E2A-D018C9E18B71@canelasoftware.com> I guess my email with a link to a screenshot of what I am seeing has not gone through. I appreciate you can get the update through the auto-updater, but I want to download the installer from my account page as we can with other builds. The issue may be specific to my account. I’ll let the earth spin a bit and see how it goes for others. This is not a high priority situation for me. :) FWIW, I tried in both Firefox and Safari. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Aug 17, 2023, at 9:05 AM, panagiotis m via use-livecode wrote: > > Hello Mark, > > As Matthias noted, you can find this release in your account area. You have > to scroll down a bit because the stable releases are listed at the top. > > In the downloads page you can only find the last stable release - currently > 9.6.9. > > Kind regards, > Panos > -- > > On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> As Panos wrote.. ;) >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hi Panos, >>> >>> I am looking forward to testing this build. I do not have any links to >> the download on the page. They appear to be missing. >>> >>> The release notes are linked, and I can read them. >>> >>> >>> Best regards, >>> Mark Talluto >>> >>> appli.io >>> livecloud.io >>> nursenotes.net >>> canelasoftware.com >>> >>> >>> >>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Dear list members, >>>> >>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >>>> >>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support >>>> for Android API 33, which will be a requirement for submitting new apps >> to >>>> the Google Play Store as of the 31st of August. >>>> >>>> You can find more details on the bug fixes and improvements of this new >>>> release here: >>>> >>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >>>> >>>> You can find the release in your LiveCode account area or get it via the >>>> automatic updater. >>>> >>>> Enjoy! >>>> >>>> Kind regards >>>> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Aug 17 12:12:35 2023 From: hlowe at me.com (HENRY LOWE) Date: Thu, 17 Aug 2023 17:12:35 +0100 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: I see only a link to the release notes. Henry > On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode wrote: > > Hello Mark, > > As Matthias noted, you can find this release in your account area. You have > to scroll down a bit because the stable releases are listed at the top. > > In the downloads page you can only find the last stable release - currently > 9.6.9. > > Kind regards, > Panos > -- > > On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> As Panos wrote.. ;) >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hi Panos, >>> >>> I am looking forward to testing this build. I do not have any links to >> the download on the page. They appear to be missing. >>> >>> The release notes are linked, and I can read them. >>> >>> >>> Best regards, >>> Mark Talluto >>> >>> appli.io >>> livecloud.io >>> nursenotes.net >>> canelasoftware.com >>> >>> >>> >>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Dear list members, >>>> >>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >>>> >>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support >>>> for Android API 33, which will be a requirement for submitting new apps >> to >>>> the Google Play Store as of the 31st of August. >>>> >>>> You can find more details on the bug fixes and improvements of this new >>>> release here: >>>> >>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >>>> >>>> You can find the release in your LiveCode account area or get it via the >>>> automatic updater. >>>> >>>> Enjoy! >>>> >>>> Kind regards >>>> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Thu Aug 17 12:22:20 2023 From: merakosp at gmail.com (panagiotis m) Date: Thu, 17 Aug 2023 19:22:20 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hello all, Oh I see what you mean! If you go to the "Downloads" section **in your account** - not the public downloads page - I confirm it only shows the release notes for LC 9.6.10 RC1 But you can still get LC 9.6.10 RC-1 if you go to Products -> LiveCode dropdown We will fix the issue asap. Thanks for spotting it! Cheers, Panos On Thu, 17 Aug 2023 at 19:13, HENRY LOWE via use-livecode < use-livecode at lists.runrev.com> wrote: > I see only a link to the release notes. > > Henry > > > On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello Mark, > > > > As Matthias noted, you can find this release in your account area. You > have > > to scroll down a bit because the stable releases are listed at the top. > > > > In the downloads page you can only find the last stable release - > currently > > 9.6.9. > > > > Kind regards, > > Panos > > -- > > > > On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> As Panos wrote.. ;) > >> > >> You can find the release in your LiveCode account area or get it via the > >> automatic updater. > >> > >>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < > >> use-livecode at lists.runrev.com>: > >>> > >>> Hi Panos, > >>> > >>> I am looking forward to testing this build. I do not have any links to > >> the download on the page. They appear to be missing. > >>> > >>> The release notes are linked, and I can read them. > >>> > >>> > >>> Best regards, > >>> Mark Talluto > >>> > >>> appli.io > >>> livecloud.io > >>> nursenotes.net > >>> canelasoftware.com > >>> > >>> > >>> > >>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Dear list members, > >>>> > >>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. > >>>> > >>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including > support > >>>> for Android API 33, which will be a requirement for submitting new > apps > >> to > >>>> the Google Play Store as of the 31st of August. > >>>> > >>>> You can find more details on the bug fixes and improvements of this > new > >>>> release here: > >>>> > >>>> https://livecode.com/livecode-9-6-10-rc-1-released/ > >>>> > >>>> You can find the release in your LiveCode account area or get it via > the > >>>> automatic updater. > >>>> > >>>> Enjoy! > >>>> > >>>> Kind regards > >>>> 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 > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From merakosp at gmail.com Thu Aug 17 12:23:10 2023 From: merakosp at gmail.com (panagiotis m) Date: Thu, 17 Aug 2023 19:23:10 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: OK should be fixed now! Cheers, Panos -- On Thu, 17 Aug 2023 at 19:22, panagiotis m wrote: > Hello all, > > Oh I see what you mean! > > If you go to the "Downloads" section **in your account** - not the public > downloads page - I confirm it only shows the release notes for LC 9.6.10 > RC1 > > But you can still get LC 9.6.10 RC-1 if you go to Products -> LiveCode > dropdown > > We will fix the issue asap. > > Thanks for spotting it! > > Cheers, > Panos > > On Thu, 17 Aug 2023 at 19:13, HENRY LOWE via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I see only a link to the release notes. >> >> Henry >> >> > On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > Hello Mark, >> > >> > As Matthias noted, you can find this release in your account area. You >> have >> > to scroll down a bit because the stable releases are listed at the top. >> > >> > In the downloads page you can only find the last stable release - >> currently >> > 9.6.9. >> > >> > Kind regards, >> > Panos >> > -- >> > >> > On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < >> > use-livecode at lists.runrev.com> wrote: >> > >> >> As Panos wrote.. ;) >> >> >> >> You can find the release in your LiveCode account area or get it via >> the >> >> automatic updater. >> >> >> >>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >> >> use-livecode at lists.runrev.com>: >> >>> >> >>> Hi Panos, >> >>> >> >>> I am looking forward to testing this build. I do not have any links to >> >> the download on the page. They appear to be missing. >> >>> >> >>> The release notes are linked, and I can read them. >> >>> >> >>> >> >>> Best regards, >> >>> Mark Talluto >> >>> >> >>> appli.io >> >>> livecloud.io >> >>> nursenotes.net >> >>> canelasoftware.com >> >>> >> >>> >> >>> >> >>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >> >> use-livecode at lists.runrev.com> wrote: >> >>>> >> >>>> Dear list members, >> >>>> >> >>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >> >>>> >> >>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including >> support >> >>>> for Android API 33, which will be a requirement for submitting new >> apps >> >> to >> >>>> the Google Play Store as of the 31st of August. >> >>>> >> >>>> You can find more details on the bug fixes and improvements of this >> new >> >>>> release here: >> >>>> >> >>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >> >>>> >> >>>> You can find the release in your LiveCode account area or get it via >> the >> >>>> automatic updater. >> >>>> >> >>>> Enjoy! >> >>>> >> >>>> Kind regards >> >>>> 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 >> >> >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 canelasoftware.com Thu Aug 17 12:28:23 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 17 Aug 2023 09:28:23 -0700 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Much appreciated, Panos. I just wanted to confirm that you fixed the issue. Downloading now. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Aug 17, 2023, at 9:23 AM, panagiotis m via use-livecode wrote: > > OK should be fixed now! > > Cheers, > Panos > -- > > On Thu, 17 Aug 2023 at 19:22, panagiotis m wrote: > >> Hello all, >> >> Oh I see what you mean! >> >> If you go to the "Downloads" section **in your account** - not the public >> downloads page - I confirm it only shows the release notes for LC 9.6.10 >> RC1 >> >> But you can still get LC 9.6.10 RC-1 if you go to Products -> LiveCode >> dropdown >> >> We will fix the issue asap. >> >> Thanks for spotting it! >> >> Cheers, >> Panos >> >> On Thu, 17 Aug 2023 at 19:13, HENRY LOWE via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> I see only a link to the release notes. >>> >>> Henry >>> >>>> On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hello Mark, >>>> >>>> As Matthias noted, you can find this release in your account area. You >>> have >>>> to scroll down a bit because the stable releases are listed at the top. >>>> >>>> In the downloads page you can only find the last stable release - >>> currently >>>> 9.6.9. >>>> >>>> Kind regards, >>>> Panos >>>> -- >>>> >>>> On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> As Panos wrote.. ;) >>>>> >>>>> You can find the release in your LiveCode account area or get it via >>> the >>>>> automatic updater. >>>>> >>>>>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >>>>> use-livecode at lists.runrev.com>: >>>>>> >>>>>> Hi Panos, >>>>>> >>>>>> I am looking forward to testing this build. I do not have any links to >>>>> the download on the page. They appear to be missing. >>>>>> >>>>>> The release notes are linked, and I can read them. >>>>>> >>>>>> >>>>>> Best regards, >>>>>> Mark Talluto >>>>>> >>>>>> appli.io >>>>>> livecloud.io >>>>>> nursenotes.net >>>>>> canelasoftware.com >>>>>> >>>>>> >>>>>> >>>>>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>>>> >>>>>>> Dear list members, >>>>>>> >>>>>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >>>>>>> >>>>>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including >>> support >>>>>>> for Android API 33, which will be a requirement for submitting new >>> apps >>>>> to >>>>>>> the Google Play Store as of the 31st of August. >>>>>>> >>>>>>> You can find more details on the bug fixes and improvements of this >>> new >>>>>>> release here: >>>>>>> >>>>>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >>>>>>> >>>>>>> You can find the release in your LiveCode account area or get it via >>> the >>>>>>> automatic updater. >>>>>>> >>>>>>> Enjoy! >>>>>>> >>>>>>> Kind regards >>>>>>> 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 >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 canelasoftware.com Thu Aug 17 12:30:16 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 17 Aug 2023 09:30:16 -0700 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Oh, I did not know you could get the downloads another way. I learn something new every day. Thanks. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Aug 17, 2023, at 9:22 AM, panagiotis m via use-livecode wrote: > > Hello all, > > Oh I see what you mean! > > If you go to the "Downloads" section **in your account** - not the public > downloads page - I confirm it only shows the release notes for LC 9.6.10 > RC1 > > But you can still get LC 9.6.10 RC-1 if you go to Products -> LiveCode > dropdown > > We will fix the issue asap. > > Thanks for spotting it! > > Cheers, > Panos > > On Thu, 17 Aug 2023 at 19:13, HENRY LOWE via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I see only a link to the release notes. >> >> Henry >> >>> On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hello Mark, >>> >>> As Matthias noted, you can find this release in your account area. You >> have >>> to scroll down a bit because the stable releases are listed at the top. >>> >>> In the downloads page you can only find the last stable release - >> currently >>> 9.6.9. >>> >>> Kind regards, >>> Panos >>> -- >>> >>> On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> As Panos wrote.. ;) >>>> >>>> You can find the release in your LiveCode account area or get it via the >>>> automatic updater. >>>> >>>>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >>>> use-livecode at lists.runrev.com>: >>>>> >>>>> Hi Panos, >>>>> >>>>> I am looking forward to testing this build. I do not have any links to >>>> the download on the page. They appear to be missing. >>>>> >>>>> The release notes are linked, and I can read them. >>>>> >>>>> >>>>> Best regards, >>>>> Mark Talluto >>>>> >>>>> appli.io >>>>> livecloud.io >>>>> nursenotes.net >>>>> canelasoftware.com >>>>> >>>>> >>>>> >>>>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Dear list members, >>>>>> >>>>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >>>>>> >>>>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including >> support >>>>>> for Android API 33, which will be a requirement for submitting new >> apps >>>> to >>>>>> the Google Play Store as of the 31st of August. >>>>>> >>>>>> You can find more details on the bug fixes and improvements of this >> new >>>>>> release here: >>>>>> >>>>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >>>>>> >>>>>> You can find the release in your LiveCode account area or get it via >> the >>>>>> automatic updater. >>>>>> >>>>>> Enjoy! >>>>>> >>>>>> Kind regards >>>>>> 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 >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Aug 17 14:46:43 2023 From: tom at makeshyft.com (Tom Glod) Date: Thu, 17 Aug 2023 14:46:43 -0400 Subject: xavvi - temper your expectations In-Reply-To: <136C8206-6B98-4401-9CB7-4CD4B14CEA9F@m-r-d.de> References: <136C8206-6B98-4401-9CB7-4CD4B14CEA9F@m-r-d.de> Message-ID: If I was integrating AI into livecode, I would train it on a higher level api built for it, instead of letting it use Livecode Script willy nilly. That would prevent the kinds of hallucinations that it has while trying to write livecode script. I suspect that Livecode has thought of this and has written and trained it on an API less prone to these problems. On Thu, Aug 10, 2023 at 3:32 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > I thought Xavvi will make use of AI, but the use is not mandatory. So even > without AI, XAVVI would be an online development tool which can deploy web > apps and which also could import and export Livecode stacks. > > > > Am 10.08.2023 um 21:22 schrieb Mike Kerner via use-livecode < > use-livecode at lists.runrev.com>: > > > > i'm using chatgpt and bard, every day, because i can, and because > > sometimes they give me more comprehensive things to think about. > > but, they are wrong. a lot. > > zdnet just published a piece, today, documenting the same thing: wrong > >> 50% of the time. > > so, temper your expectations for xavvi in the medium term: > > > https://www.zdnet.com/article/chatgpt-answers-more-than-half-of-software-engineering-questions-incorrectly/ > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From neville.smythe at optusnet.com.au Thu Aug 17 21:05:29 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Fri, 18 Aug 2023 11:05:29 +1000 Subject: Linux filenames in LC Server Message-ID: <60945C1B-BA73-47BC-8825-FCBD68F9B457@optusnet.com.au> Hi Matthias, I didn’t see your post until now. I did wonder if .htaccess could be used using Rewrite rules, but I couldn’t get my head around the documentation. So it’s good to know both methods work. We are running other apps on the website so I wonder a bit if setting the environment variables for everything running under apache might have some side effects, so I’ll stick with Mark’s launch script method. Neville Smythe From matthias_livecode_150811 at m-r-d.de Fri Aug 18 01:38:07 2023 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 18 Aug 2023 07:38:07 +0200 Subject: Linux filenames in LC Server In-Reply-To: <60945C1B-BA73-47BC-8825-FCBD68F9B457@optusnet.com.au> References: <60945C1B-BA73-47BC-8825-FCBD68F9B457@optusnet.com.au> Message-ID: <4C698EAD-26AC-4D13-BBF2-2F2A96198A3B@m-r-d.de> Neville, The htaccess solution would also not harm other apps because the environment variable is only set when executing .lc files and they’re only used within that session. Von meinem iPhone gesendet > Am 18.08.2023 um 03:07 schrieb Neville Smythe via use-livecode : > > Hi Matthias, I didn’t see your post until now. I did wonder if .htaccess could be used using Rewrite rules, but I couldn’t get my head around the documentation. > > So it’s good to know both methods work. We are running other apps on the website so I wonder a bit if setting the environment variables for everything running under apache might have some side effects, so I’ll stick with Mark’s launch script method. > > Neville Smythe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dfe4 at cornell.edu Fri Aug 18 12:03:44 2023 From: dfe4 at cornell.edu (David Epstein) Date: Fri, 18 Aug 2023 12:03:44 -0400 Subject: Detecting when resizeStack is completed Message-ID: How can I redraw objects after the user has resized the stack, but not continuously during the resize? Releasing the mouse at the end of a resize does not appear to send a mouseUp message. David Epstein From bobsneidar at iotecdigital.com Fri Aug 18 12:13:11 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 18 Aug 2023 16:13:11 +0000 Subject: Detecting when resizeStack is completed In-Reply-To: References: Message-ID: <1430D38D-9538-495E-83CA-8BF93E26696D@iotecdigital.com> Have you tried mouseStillDown? Bob S > On Aug 18, 2023, at 9:03 AM, David Epstein via use-livecode wrote: > > How can I redraw objects after the user has resized the stack, but not continuously during the resize? Releasing the mouse at the end of a resize does not appear to send a mouseUp message. > > David Epstein > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Aug 18 12:14:53 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 18 Aug 2023 16:14:53 +0000 Subject: Detecting when resizeStack is completed In-Reply-To: <1430D38D-9538-495E-83CA-8BF93E26696D@iotecdigital.com> References: <1430D38D-9538-495E-83CA-8BF93E26696D@iotecdigital.com> Message-ID: <67ED45B5-6265-4CE2-BCA8-A8E99D3A091B@iotecdigital.com> Or rather check if the mouse is down Bob S > On Aug 18, 2023, at 9:13 AM, Bob Sneidar wrote: > > Have you tried mouseStillDown? > > Bob S > > >> On Aug 18, 2023, at 9:03 AM, David Epstein via use-livecode wrote: >> >> How can I redraw objects after the user has resized the stack, but not continuously during the resize? Releasing the mouse at the end of a resize does not appear to send a mouseUp message. >> >> David Epstein >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Fri Aug 18 12:25:11 2023 From: paul at researchware.com (Paul Dupuis) Date: Fri, 18 Aug 2023 12:25:11 -0400 Subject: Detecting when resizeStack is completed In-Reply-To: References: Message-ID: On 8/18/2023 12:03 PM, David Epstein via use-livecode wrote: > How can I redraw objects after the user has resized the stack, but not continuously during the resize? Releasing the mouse at the end of a resize does not appear to send a mouseUp message. > > after resizeStack  -- actions you want to occur after end resizeStack Look at the "after" control structure in the Dictionary. I am NOT sure whether this will trigger after EACH resizeStack message (not what you want) OR only after the last resizeStack message (what you want), but it may be worth trying (I have not tried it myself) From mark at livecode.com Fri Aug 18 12:29:47 2023 From: mark at livecode.com (Mark Waddingham) Date: Fri, 18 Aug 2023 17:29:47 +0100 Subject: Detecting when resizeStack is completed In-Reply-To: References: Message-ID: <22b27f1af72510aa5ff4bb932086ee51@livecode.com> On 2023-08-18 17:03, David Epstein via use-livecode wrote: > How can I redraw objects after the user has resized the stack, but not > continuously during the resize? Releasing the mouse at the end of a > resize does not appear to send a mouseUp message. Normal window resizing is handled by the OS, so doesn't generate mouse events. One way to get close to what you request is to only relayout your objects if the user has not changed the size within a short period. Something like: ``` local sPendingResizeId constant kResizeTimeout = 20 on resizeStack pWidth, pHeight /* If there is already a deferred request to resize then cancel. */ if sPendingResizeId is not empty then cancel sPendingResizeId end if /* Defer the request to resize for a further period. */ send "_doResizeStack pWidth, pHeight" to me in kResizeTimeout milliseconds put the result into sPendingResizeId end resizeStack on _doResizeStack pWidth, pHeight lock screen ... do relayout ... unlock screen end _doResizeStack ``` This defers the relayout code until a resize stack message has not been sent for the timeout interval. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From martyknappster at gmail.com Fri Aug 18 14:20:19 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 18 Aug 2023 11:20:19 -0700 Subject: Solved: Writing to Mac Application Support folder In-Reply-To: <003fd44c-f5c0-cdbf-8865-f4722e83bdcd@hyperactivesw.com> References: <2afdbfdd-2c31-d334-14ef-68b561e3a287@hyperactivesw.com> <583ff6d4-3def-d10f-66a8-e280bac8be05@hyperactivesw.com> <003fd44c-f5c0-cdbf-8865-f4722e83bdcd@hyperactivesw.com> Message-ID: As I’m now working to get an app ready for Sonoma, I’m wondering what the official resolution is to writing to both the “Preferences” folder and the “Application Support” folder. What I’m finding is that this question from Jacque is the last in this thread. Was there a response from Panos or Mark? I will be dealing with existing customers upgrading to Sonoma as well as new customers and don’t want my inbox flooded with angry emails! Marty > On Jul 15, 2023, at 1:22 PM, J. Landman Gay via use-livecode wrote: > > Good approach. I assume if there is no file in Preferences, you write defaults directly to the container. > > I got curious and looked at where LC stores its files. They do not have a container. It's mostly in Application Support, in a folder "RunRev" (there's also an older one there named "Runtime Revolution".) Some of the files were updated recently so it apparently still works. Now I wonder if there's another way to do this stuff. > > I'd like some definitive info about this. @Panos? @Mark? > > On 7/15/23 12:24 AM, scott--- via use-livecode wrote: >> Thanks again, Jacque. >> My solution for migrating preference files from the Preferences folder to the Container turned out to be quite simple but for some reason I spent a bunch of time pondering other more complicated methods. In the end I changed an existing function which returns a path to the preferences file and had it first look to see if a Container exists. If it doesn’t then it creates the Container but still returns the path to the original Preferences folder. (This works in my use case because the app's first call to this function will always be to “read” the preference file) Now that the Container exists, all future calls to the function will return the Container path… and the original data, having been already loaded into the app, is ready to write to (and read from) the new Container location. > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > From dan at clearvisiontech.com Fri Aug 18 16:32:57 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 18 Aug 2023 20:32:57 +0000 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Panos, What about 10.0.0? Is there an update coming? I sure hope so… I’m going to be hosed if not. -Dan From: use-livecode on behalf of panagiotis merakos via use-livecode Date: Thursday, August 17, 2023 at 7:04 AM To: How to use LiveCode Cc: panagiotis merakos Subject: [[ ANN ]] Release 9.6.10 RC-1 Dear list members, We are pleased to announce the release of LiveCode 9.6.10 RC-1. LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support for Android API 33, which will be a requirement for submitting new apps to the Google Play Store as of the 31st of August. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-10-rc-1-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards 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 dsc at swcp.com Fri Aug 18 16:45:25 2023 From: dsc at swcp.com (Dar Scott) Date: Fri, 18 Aug 2023 14:45:25 -0600 Subject: Group corners Message-ID: If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar From matthias_livecode_150811 at m-r-d.de Fri Aug 18 16:50:00 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 18 Aug 2023 22:50:00 +0200 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: On the 25th July Heather wrote the following: "We are working on LiveCode 10 dp6. We expect it to ship in August, with support for Web Fonts plus a number of bug fixes. Web Fonts turned out to be rather trickier than expected but it looks like we've got it more or less sorted out now. If there are specific bugs in 10 dp-5 that are really problematic for you, its worth flagging them to me in support (not on the list) so I can at least find out for you if they will be fixed in dp-6. Please send me the bug report number from the Quality Center for checking. " > Am 18.08.2023 um 22:32 schrieb Dan Friedman via use-livecode : > > Panos, > > What about 10.0.0? Is there an update coming? I sure hope so… I’m going to be hosed if not. > > -Dan > > > From: use-livecode on behalf of panagiotis merakos via use-livecode > Date: Thursday, August 17, 2023 at 7:04 AM > To: How to use LiveCode > Cc: panagiotis merakos > Subject: [[ ANN ]] Release 9.6.10 RC-1 > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 merakosp at gmail.com Fri Aug 18 17:05:03 2023 From: merakosp at gmail.com (panagiotis m) Date: Sat, 19 Aug 2023 00:05:03 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hello all, Yes, the plan is to release LC 10 dp-6 before the end of the month, which will include support for API 33 as well as all the other fixes/enhancements of LC 9.6.10 rc1. Cheers, Panos On Fri, 18 Aug 2023, 23:50 matthias rebbe via use-livecode, < use-livecode at lists.runrev.com> wrote: > On the 25th July Heather wrote the following: > > "We are working on LiveCode 10 dp6. We expect it to ship in August, with > support for Web Fonts plus a number of bug fixes. Web Fonts turned out to > be rather trickier than expected but it looks like we've got it more or > less sorted out now. > > If there are specific bugs in 10 dp-5 that are really problematic for you, > its worth flagging them to me in support (not on the list) so I can at > least find out for you if they will be fixed in dp-6. Please send me the > bug report number from the Quality Center for checking. " > > > > > > Am 18.08.2023 um 22:32 schrieb Dan Friedman via use-livecode < > use-livecode at lists.runrev.com>: > > > > Panos, > > > > What about 10.0.0? Is there an update coming? I sure hope so… I’m > going to be hosed if not. > > > > -Dan > > > > > > From: use-livecode on behalf of > panagiotis merakos via use-livecode > > Date: Thursday, August 17, 2023 at 7:04 AM > > To: How to use LiveCode > > Cc: panagiotis merakos > > Subject: [[ ANN ]] Release 9.6.10 RC-1 > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support > > for Android API 33, which will be a requirement for submitting new apps > to > > the Google Play Store as of the 31st of August. > > > > You can find more details on the bug fixes and improvements of this new > > release here: > > > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > > > You can find the release in your LiveCode account area or get it via the > > automatic updater. > > > > Enjoy! > > > > Kind regards > > 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 tom at makeshyft.com Fri Aug 18 21:12:58 2023 From: tom at makeshyft.com (Tom Glod) Date: Fri, 18 Aug 2023 21:12:58 -0400 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: There are a few big ones in this update for me. Thanks. On Fri, Aug 18, 2023 at 5:06 PM panagiotis m via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello all, > > Yes, the plan is to release LC 10 dp-6 before the end of the month, which > will include support for API 33 as well as all the other fixes/enhancements > of LC 9.6.10 rc1. > > Cheers, > Panos > > On Fri, 18 Aug 2023, 23:50 matthias rebbe via use-livecode, < > use-livecode at lists.runrev.com> wrote: > > > On the 25th July Heather wrote the following: > > > > "We are working on LiveCode 10 dp6. We expect it to ship in August, with > > support for Web Fonts plus a number of bug fixes. Web Fonts turned out to > > be rather trickier than expected but it looks like we've got it more or > > less sorted out now. > > > > If there are specific bugs in 10 dp-5 that are really problematic for > you, > > its worth flagging them to me in support (not on the list) so I can at > > least find out for you if they will be fixed in dp-6. Please send me the > > bug report number from the Quality Center for checking. " > > > > > > > > > > > Am 18.08.2023 um 22:32 schrieb Dan Friedman via use-livecode < > > use-livecode at lists.runrev.com>: > > > > > > Panos, > > > > > > What about 10.0.0? Is there an update coming? I sure hope so… I’m > > going to be hosed if not. > > > > > > -Dan > > > > > > > > > From: use-livecode on behalf > of > > panagiotis merakos via use-livecode > > > Date: Thursday, August 17, 2023 at 7:04 AM > > > To: How to use LiveCode > > > Cc: panagiotis merakos > > > Subject: [[ ANN ]] Release 9.6.10 RC-1 > > > Dear list members, > > > > > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > > > > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including > support > > > for Android API 33, which will be a requirement for submitting new apps > > to > > > the Google Play Store as of the 31st of August. > > > > > > You can find more details on the bug fixes and improvements of this new > > > release here: > > > > > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > > > > > You can find the release in your LiveCode account area or get it via > the > > > automatic updater. > > > > > > Enjoy! > > > > > > Kind regards > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andreas.bergendal at gmail.com Sat Aug 19 11:37:30 2023 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Sat, 19 Aug 2023 17:37:30 +0200 Subject: Regex negative lookahead not working in LC? Message-ID: <8198ED98-7D84-4874-80FB-965632384373@gmail.com> Hi all, I’m trying to run a matchChunk regex on an LC script text, with the aim of scoring a hit only if a word is NOT commented out by one of the comment methods. This regex works beautifully when tested in regex101.com (PCRE flavor): (?i)^(?:(?!--|#|\/\/).)*\b(myHandler)\b When applied on the text command myOtherHandler # myHandler // myHandler -- myhandler notMyHandler end myOtherHandler it should score zero matches and it does. When applied on the text command myOtherHandler # myHandler // myHandler -- myhandler myHandler end myOtherHandler it should score 1 match and it does. Applying the same regex in LC does NOT score any match in the latter example though. Why? Doesn't negative lookahead work in LC? (v9.6.9 stable.) Best, Andreas From jacque at hyperactivesw.com Sat Aug 19 13:07:06 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Aug 2023 12:07:06 -0500 Subject: Group corners In-Reply-To: References: Message-ID: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Weird how? The corners should be right angles. Do you see something different? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: > If I turn off 3D for a group, the corners of the rectangle are weird. > Advice? Dar > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 19 13:24:57 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Aug 2023 12:24:57 -0500 Subject: Regex negative lookahead not working in LC? In-Reply-To: <8198ED98-7D84-4874-80FB-965632384373@gmail.com> References: <8198ED98-7D84-4874-80FB-965632384373@gmail.com> Message-ID: <18a0ed41e28.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Nope. https://quality.livecode.com/show_bug.cgi?id=21534 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 19, 2023 10:39:52 AM Andreas Bergendal via use-livecode wrote: > > Why? Doesn't negative lookahead work in LC? (v9.6.9 stable.) From andreas.bergendal at gmail.com Sat Aug 19 14:17:43 2023 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Sat, 19 Aug 2023 20:17:43 +0200 Subject: Regex negative lookahead not working in LC? Message-ID: <0DB59228-0ADC-43B0-AFBE-DE0AC94CC457@gmail.com> > Nope. > https://quality.livecode.com/show_bug.cgi?id=21534 Oh no! Well, cumbersome workaround it is then… Thanks Jacque! From fmoyer at aol.com Sat Aug 19 14:32:09 2023 From: fmoyer at aol.com (FRED MOYER) Date: Sat, 19 Aug 2023 14:32:09 -0400 Subject: How to search this list References: Message-ID: It’s been a long time since I’ve used this list. I’m puzzled -- it says I can search the archives for this list at http://www.google.com/advanced_search?q=site:lists.runrev.com If I search for something that I know is there (like “CharIndex” which was in some recent posts) it doesn’t find anything. In particular, I’m looking for information about keysdown — again no hits in that google search site. Thanks for your help. Fred Moyer From MikeKerner at roadrunner.com Sat Aug 19 15:42:26 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 19 Aug 2023 15:42:26 -0400 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: but hold off on the xcode command line tools 14.3 update? On Fri, Aug 18, 2023 at 9:14 PM Tom Glod via use-livecode wrote: > > There are a few big ones in this update for me. Thanks. > > > On Fri, Aug 18, 2023 at 5:06 PM panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello all, > > > > Yes, the plan is to release LC 10 dp-6 before the end of the month, which > > will include support for API 33 as well as all the other fixes/enhancements > > of LC 9.6.10 rc1. > > > > Cheers, > > Panos > > > > On Fri, 18 Aug 2023, 23:50 matthias rebbe via use-livecode, < > > use-livecode at lists.runrev.com> wrote: > > > > > On the 25th July Heather wrote the following: > > > > > > "We are working on LiveCode 10 dp6. We expect it to ship in August, with > > > support for Web Fonts plus a number of bug fixes. Web Fonts turned out to > > > be rather trickier than expected but it looks like we've got it more or > > > less sorted out now. > > > > > > If there are specific bugs in 10 dp-5 that are really problematic for > > you, > > > its worth flagging them to me in support (not on the list) so I can at > > > least find out for you if they will be fixed in dp-6. Please send me the > > > bug report number from the Quality Center for checking. " > > > > > > > > > > > > > > > > Am 18.08.2023 um 22:32 schrieb Dan Friedman via use-livecode < > > > use-livecode at lists.runrev.com>: > > > > > > > > Panos, > > > > > > > > What about 10.0.0? Is there an update coming? I sure hope so… I’m > > > going to be hosed if not. > > > > > > > > -Dan > > > > > > > > > > > > From: use-livecode on behalf > > of > > > panagiotis merakos via use-livecode > > > > Date: Thursday, August 17, 2023 at 7:04 AM > > > > To: How to use LiveCode > > > > Cc: panagiotis merakos > > > > Subject: [[ ANN ]] Release 9.6.10 RC-1 > > > > Dear list members, > > > > > > > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > > > > > > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including > > support > > > > for Android API 33, which will be a requirement for submitting new apps > > > to > > > > the Google Play Store as of the 31st of August. > > > > > > > > You can find more details on the bug fixes and improvements of this new > > > > release here: > > > > > > > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > > > > > > > You can find the release in your LiveCode account area or get it via > > the > > > > automatic updater. > > > > > > > > Enjoy! > > > > > > > > Kind regards > > > > 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 > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 richmondmathewson at gmail.com Sat Aug 19 16:36:57 2023 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 19 Aug 2023 23:36:57 +0300 Subject: How to search this list In-Reply-To: References: Message-ID: <9bff91a6-8761-489d-9b5d-1f0dfc493a89@gmail.com> Well, I am a keysDown 'fan', so why not just explain what your problem is . . . Richmond Mathewson On 19.08.23 21:32, FRED MOYER via use-livecode wrote: > Its been a long time since Ive used this list. Im puzzled -- it says I can search the archives for this list at > http://www.google.com/advanced_search?q=site:lists.runrev.com > > If I search for something that I know is there (like CharIndex which was in some recent posts) it doesnt find anything. > > In particular, Im looking for information about keysdown again no hits in that google search site. > > Thanks for your help. > > Fred Moyer > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 19 16:37:34 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Aug 2023 15:37:34 -0500 Subject: How to search this list In-Reply-To: References: Message-ID: <18a0f8476b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm not sure why the Google search doesn't work, but I generally use this: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 19, 2023 1:34:16 PM FRED MOYER via use-livecode wrote: > Its been a long time since Ive used this list. Im puzzled -- it says I > can search the archives for this list at > http://www.google.com/advanced_search?q=site:lists.runrev.com > > > If I search for something that I know is there (like CharIndex which was > in some recent posts) it doesnt find anything. > > In particular, Im looking for information about keysdown again no hits > in that google search site. > > Thanks for your help. > > Fred Moyer > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Sat Aug 19 16:57:44 2023 From: tom at makeshyft.com (Tom Glod) Date: Sat, 19 Aug 2023 16:57:44 -0400 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hello, Does this mean we have JSON support in SQLite? This is from the documentation.: In other words, the JSON functions went from being opt-in with SQLite version 3.37.2 and earlier to opt-out with SQLite version 3.38.0 and later. Are we keeping strict to the specifications of each SQLITE version? From mark at livecode.com Sun Aug 20 03:09:02 2023 From: mark at livecode.com (Mark Waddingham) Date: Sun, 20 Aug 2023 08:09:02 +0100 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: <7e9e3b20bd90462d31408ac2f6c008ab@livecode.com> On 2023-08-19 21:57, Tom Glod via use-livecode wrote: > Hello, > > Does this mean we have JSON support in SQLite? > > This is from the documentation.: > > In other words, the JSON functions went from being opt-in with SQLite > version 3.37.2 and earlier to opt-out with SQLite version 3.38.0 and > later. The SQLite JSON support was included in dbsqlite in 9.0.3 - https://quality.livecode.com/show_bug.cgi?id=21821 Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From roland.huettmann at gmail.com Sun Aug 20 13:25:42 2023 From: roland.huettmann at gmail.com (R.H.) Date: Sun, 20 Aug 2023 19:25:42 +0200 Subject: How to search this list Message-ID: I also can not use Google search. It finds nothing in the list. If Google is not the culprit then it deserves a bug report. From matthias_livecode_150811 at m-r-d.de Sun Aug 20 14:30:10 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 20 Aug 2023 20:30:10 +0200 Subject: How to search this list In-Reply-To: References: Message-ID: <11F15409-DB68-4336-A47B-0BC95733F808@m-r-d.de> I just tested and used search livecode uselist for a google search. The 6th result showed a link to the the--mail-archive which also has a complete archiv of this mailing list. > Am 20.08.2023 um 19:25 schrieb R.H. via use-livecode : > > I also can not use Google search. It finds nothing in the list. If Google > is not the culprit then it deserves a bug report. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sun Aug 20 20:50:34 2023 From: dsc at swcp.com (Dar Scott) Date: Sun, 20 Aug 2023 18:50:34 -0600 Subject: Group corners In-Reply-To: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> On Mac and LiveCode 9.6.9… Make a new stack. Put a few controls on it. Group them. Give the group a name Set the border width to something like 10-15 so the effect is visible. Turn off 3D. Turn on border. Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. Dar > On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: > > Weird how? The corners should be right angles. Do you see something different? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: > >> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Mon Aug 21 05:56:19 2023 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 21 Aug 2023 10:56:19 +0100 Subject: Group corners In-Reply-To: <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> Message-ID: I see those kind of changes (10.0.0DP5, MacOS), but the border changes from solid black to black/white lines - with those 'splits' you described. Alex. On 21/08/2023 01:50, Dar Scott via use-livecode wrote: > On Mac and LiveCode 9.6.9 > > Make a new stack. Put a few controls on it. Group them. > > Give the group a name > > Set the border width to something like 10-15 so the effect is visible. > > Turn off 3D. > > Turn on border. > > Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. > > On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. > > Dar > > >> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: >> >> Weird how? The corners should be right angles. Do you see something different? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: >> >>> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? Dar >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 21 07:03:32 2023 From: mkoob at rogers.com (Martin Koob) Date: Mon, 21 Aug 2023 07:03:32 -0400 Subject: How to search this list In-Reply-To: References: Message-ID: Hi I followed the first few steps of the instructions on the following site. https://www.wikihow.com/Use-Google-to-Search-Within-a-Specific-Website I tried this search term looking for mentions of ‘regex' in the search field of the google page not the search bar at the top. site:http://lists.runrev.com/pipermail/use-livecode/ regex It returned 4 hits from the lists. Doubt that is all of them but it is not that popular a topic I tried then the search term ‘datagrid’ undoubtedly a more popular topic. site:http://lists.runrev.com/pipermail/use-livecode/ datagrid It returned 5 hits. I am sure that is only a small fraction. So it kinda works but something is weird. Maybe there is a parameter that sets the number of results. Martin > On Aug 20, 2023, at 1:25 PM, R.H. via use-livecode wrote: > > I also can not use Google search. It finds nothing in the list. If Google > is not the culprit then it deserves a bug report. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Aug 21 11:47:05 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 21 Aug 2023 09:47:05 -0600 Subject: Group corners In-Reply-To: References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> Message-ID: <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> I sprinkled some colors over the different object colors. I can see more of what is happening that way. Show name off: The border grows outward. If 3D is off, it has the border color. If it is on it has the bevel colors: left and top are the bottom bevel, bottom and right have the top bevel. Show name on: Again 3D changes whether the background is used for both bevel colors or the two bevel colors are used. In this case though, instead of the whole outline having the above color pattern, the border lines, do. In addition the inside border grows **inward**, covering things. Also, a background stripe above and below the top line covers things. This might be the background of the label; I couldn’t figure out how to set the alpha of colors to test that, so I use the opaque check box. Even with opaque of, objects are obscured. It looks as though instead of putting an appropriate sized label over the border for the name, the object puts the opaque label above the content and tries to draw a border on top of that. The drawing is the 3D drawing, lines have 3D, not the whole rectangle of the border. The only difference for turning off 3D is using border instead of the bevels. With 3D on, one can see what is happening. The outside line is much like without the show name half width, but with a little diagonal gap in the upper left. The inside line, grows inward :( and has gaps in the lines, including the line ends around the name label. Some behavior depends on the order I check boxes. For some experiments clear all check boxes and then turn on some. The behavior I would have hoped for is this: * The border always grows outward. * Adding the show name does not change the border or background; it just puts a label over it. * The background is in the back and extends consistently to either the inside of the border, the middle of the border or outside edge of the border. The background for the name label is the same as that for the group including the opaque modifier, so a blip of background might extend above the top border. This is noticeable only with show name. * Except for a little blip around the label when opaque is on, nothing obscures the content region. * The label border is tight. A better way might be to crop out a hole in the current border and place the name label there with a transparent background. Or layer them behind the content, but above the background. So… I don’t seem to be doing something wrong. I need to look for a workaround. Thoughts (all involving keeping show name off): 1. I could put a small-margin label into the grouped controls so it fits just inside the border in a consistent corner. 2 I can put an opaque label on top of my border. The background color might be chosen to be that of the named group or that of its parent. I would have to address moving the group. There might be 3 ways. a) Move the label by hand. b) Add a script to do that. c) Put both label and my group into another group, but then have to figure out “of” and “parent” in scripts. 3 Draw my own border and label as the group content. (However, something seems to be weird with my rectangles on Windows.) 4. Any ideas you folks have. Dar > On Aug 21, 2023, at 3:56 AM, Alex Tweedly via use-livecode wrote: > > I see those kind of changes (10.0.0DP5, MacOS), but the border changes from solid black to black/white lines - with those 'splits' you described. > > Alex. > > On 21/08/2023 01:50, Dar Scott via use-livecode wrote: >> On Mac and LiveCode 9.6.9… >> >> Make a new stack. Put a few controls on it. Group them. >> >> Give the group a name >> >> Set the border width to something like 10-15 so the effect is visible. >> >> Turn off 3D. >> Turn on border. >> >> Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. >> >> On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. >> >> Dar >> >> >>> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: >>> >>> Weird how? The corners should be right angles. Do you see something different? >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: >>> >>>> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Mon Aug 21 12:09:20 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 21 Aug 2023 17:09:20 +0100 Subject: No progress updates on LC 10. Am i the only one who is concerned? In-Reply-To: <53887cdf-9bf4-4534-0741-ab08156b180b@cogapp.com> References: <8F7D10FF-1B32-4177-BFDC-7CEE721ACF8A@m-r-d.de> <13ec553f-f7ef-8fb7-42b5-77e6205cec4b@cogapp.com> <51859D53-03FD-4FA6-9C97-33B04803F016@mail.com> <53887cdf-9bf4-4534-0741-ab08156b180b@cogapp.com> Message-ID: <5f636baf-03c6-18e5-45dd-483c3219bc66@cogapp.com> Sad update: it's just happened to me again, with Bracket Completion switched off. I literally checked just before starting to type the format statement; after it crashed and I relaunched 10.0.0.dp5, I checked again. It was still switched off. I see that the bug is marked awaiting release - but it's not mentioned in the release notes for 10.0.0dp6. :-( On 26/07/2023 09:58, Ben Rubinstein via use-livecode wrote: > Oooh - I hadn't spotted that. (With only a little bit of fear) I'll venture > back into 10dp5 and turn that off. Thanks Geoff! > > On 26/07/2023 03:49, Geoff Canyon via use-livecode wrote: >> So, not to be too much of an apologist, but the issue doesn't seem like a >> showstopper to me. >> >> On Tue, Jul 25, 2023 at 10:36AM Dick Kriesel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> >>> >>>> On Jul 25, 2023, at 11:37 AM, Geoff Canyon via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Maybe a silly question, but that issue lists "turn on bracket completion" >>>> as a step to reproduce. If bracket completion is off, is it safe? >>> >>> Hi, Geoff. I filed the report. With bracket completion off, I saw no such >>> problem. >>> Dick >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Aug 21 12:50:37 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 21 Aug 2023 10:50:37 -0600 Subject: Group corners In-Reply-To: <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> Message-ID: <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. — Dar > On Aug 21, 2023, at 9:47 AM, Dar Scott via use-livecode wrote: > > I sprinkled some colors over the different object colors. I can see more of what is happening that way. > > Show name off: The border grows outward. If 3D is off, it has the border color. If it is on it has the bevel colors: left and top are the bottom bevel, bottom and right have the top bevel. > > Show name on: Again 3D changes whether the background is used for both bevel colors or the two bevel colors are used. In this case though, instead of the whole outline having the above color pattern, the border lines, do. In addition the inside border grows **inward**, covering things. Also, a background stripe above and below the top line covers things. This might be the background of the label; I couldn’t figure out how to set the alpha of colors to test that, so I use the opaque check box. Even with opaque of, objects are obscured. > > It looks as though instead of putting an appropriate sized label over the border for the name, the object puts the opaque label above the content and tries to draw a border on top of that. The drawing is the 3D drawing, lines have 3D, not the whole rectangle of the border. The only difference for turning off 3D is using border instead of the bevels. With 3D on, one can see what is happening. The outside line is much like without the show name half width, but with a little diagonal gap in the upper left. The inside line, grows inward :( and has gaps in the lines, including the line ends around the name label. > > Some behavior depends on the order I check boxes. For some experiments clear all check boxes and then turn on some. > > The behavior I would have hoped for is this: > > * The border always grows outward. > * Adding the show name does not change the border or background; it just puts a label over it. > * The background is in the back and extends consistently to either the inside of the border, the middle of the border or outside edge of the border. The background for the name label is the same as that for the group including the opaque modifier, so a blip of background might extend above the top border. This is noticeable only with show name. > * Except for a little blip around the label when opaque is on, nothing obscures the content region. > * The label border is tight. > > A better way might be to crop out a hole in the current border and place the name label there with a transparent background. Or layer them behind the content, but above the background. > > So… > > I don’t seem to be doing something wrong. I need to look for a workaround. > > Thoughts (all involving keeping show name off): > > 1. I could put a small-margin label into the grouped controls so it fits just inside the border in a consistent corner. > > 2 I can put an opaque label on top of my border. The background color might be chosen to be that of the named group or that of its parent. I would have to address moving the group. There might be 3 ways. a) Move the label by hand. b) Add a script to do that. c) Put both label and my group into another group, but then have to figure out “of” and “parent” in scripts. > > 3 Draw my own border and label as the group content. (However, something seems to be weird with my rectangles on Windows.) > > 4. Any ideas you folks have. > > Dar > >> On Aug 21, 2023, at 3:56 AM, Alex Tweedly via use-livecode wrote: >> >> I see those kind of changes (10.0.0DP5, MacOS), but the border changes from solid black to black/white lines - with those 'splits' you described. >> >> Alex. >> >> On 21/08/2023 01:50, Dar Scott via use-livecode wrote: >>> On Mac and LiveCode 9.6.9… >>> >>> Make a new stack. Put a few controls on it. Group them. >>> >>> Give the group a name >>> >>> Set the border width to something like 10-15 so the effect is visible. >>> >>> Turn off 3D. >>> Turn on border. >>> >>> Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. >>> >>> On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. >>> >>> Dar >>> >>> >>>> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: >>>> >>>> Weird how? The corners should be right angles. Do you see something different? >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: >>>> >>>>> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Mon Aug 21 12:58:42 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 21 Aug 2023 16:58:42 +0000 Subject: Group corners In-Reply-To: <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> Message-ID: Another thing you can do is draw the “border” the way you want in a graphic app with an alpha channel for whatever you want to be transparent. Then import that image and place it behind whatever you want a border around. Be sure to set the quality to best. If you need the “border” to change, create multiple graphics, then set the source of the image accordingly. Bob S > On Aug 21, 2023, at 9:50 AM, Dar Scott via use-livecode wrote: > > For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. — Dar > > >> On Aug 21, 2023, at 9:47 AM, Dar Scott via use-livecode wrote: >> >> I sprinkled some colors over the different object colors. I can see more of what is happening that way. >> >> Show name off: The border grows outward. If 3D is off, it has the border color. If it is on it has the bevel colors: left and top are the bottom bevel, bottom and right have the top bevel. >> >> Show name on: Again 3D changes whether the background is used for both bevel colors or the two bevel colors are used. In this case though, instead of the whole outline having the above color pattern, the border lines, do. In addition the inside border grows **inward**, covering things. Also, a background stripe above and below the top line covers things. This might be the background of the label; I couldn’t figure out how to set the alpha of colors to test that, so I use the opaque check box. Even with opaque of, objects are obscured. >> >> It looks as though instead of putting an appropriate sized label over the border for the name, the object puts the opaque label above the content and tries to draw a border on top of that. The drawing is the 3D drawing, lines have 3D, not the whole rectangle of the border. The only difference for turning off 3D is using border instead of the bevels. With 3D on, one can see what is happening. The outside line is much like without the show name half width, but with a little diagonal gap in the upper left. The inside line, grows inward :( and has gaps in the lines, including the line ends around the name label. >> >> Some behavior depends on the order I check boxes. For some experiments clear all check boxes and then turn on some. >> >> The behavior I would have hoped for is this: >> >> * The border always grows outward. >> * Adding the show name does not change the border or background; it just puts a label over it. >> * The background is in the back and extends consistently to either the inside of the border, the middle of the border or outside edge of the border. The background for the name label is the same as that for the group including the opaque modifier, so a blip of background might extend above the top border. This is noticeable only with show name. >> * Except for a little blip around the label when opaque is on, nothing obscures the content region. >> * The label border is tight. >> >> A better way might be to crop out a hole in the current border and place the name label there with a transparent background. Or layer them behind the content, but above the background. >> >> So… >> >> I don’t seem to be doing something wrong. I need to look for a workaround. >> >> Thoughts (all involving keeping show name off): >> >> 1. I could put a small-margin label into the grouped controls so it fits just inside the border in a consistent corner. >> >> 2 I can put an opaque label on top of my border. The background color might be chosen to be that of the named group or that of its parent. I would have to address moving the group. There might be 3 ways. a) Move the label by hand. b) Add a script to do that. c) Put both label and my group into another group, but then have to figure out “of” and “parent” in scripts. >> >> 3 Draw my own border and label as the group content. (However, something seems to be weird with my rectangles on Windows.) >> >> 4. Any ideas you folks have. >> >> Dar >> >>> On Aug 21, 2023, at 3:56 AM, Alex Tweedly via use-livecode wrote: >>> >>> I see those kind of changes (10.0.0DP5, MacOS), but the border changes from solid black to black/white lines - with those 'splits' you described. >>> >>> Alex. >>> >>> On 21/08/2023 01:50, Dar Scott via use-livecode wrote: >>>> On Mac and LiveCode 9.6.9… >>>> >>>> Make a new stack. Put a few controls on it. Group them. >>>> >>>> Give the group a name >>>> >>>> Set the border width to something like 10-15 so the effect is visible. >>>> >>>> Turn off 3D. >>>> Turn on border. >>>> >>>> Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. >>>> >>>> On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. >>>> >>>> Dar >>>> >>>> >>>>> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> Weird how? The corners should be right angles. Do you see something different? >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: >>>>> >>>>>> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 21 18:07:21 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Aug 2023 17:07:21 -0500 Subject: Group corners In-Reply-To: <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> Message-ID: <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: > For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. Tested in LC 9.6.10 RC 1. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Mon Aug 21 18:36:20 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 21 Aug 2023 22:36:20 +0000 Subject: Group corners In-Reply-To: <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> Message-ID: <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that. Bob S > On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode wrote: > > On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. > > I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. > > Tested in LC 9.6.10 RC 1. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Aug 21 21:44:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Aug 2023 20:44:17 -0500 Subject: Group corners In-Reply-To: <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> Message-ID: <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 3d. It's a plain gray border with the label appropriately placed. Three pixels works about the same. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode wrote: > Oh right! You cant have 3D with a 1 pixel border, can you?? I missed that. > > Bob S > > >> On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode >> wrote: >> >> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >>> For now, Im using a temporary solution: I am setting the border width to >>> 1. That might become a long-term workaround. >> >> I can reproduce your results. Weird thing: if I leave showName and >> showBorder on, and set the borderWidth to 4, and then turn on 3D I get a >> nice clean gray-ish border without any splits or lines. >> >> Tested in LC 9.6.10 RC 1. >> >> -- >> 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 fmoyer at aol.com Mon Aug 21 23:05:52 2023 From: fmoyer at aol.com (FRED MOYER) Date: Mon, 21 Aug 2023 23:05:52 -0400 Subject: use-livecode Digest, Vol 239, Issue 22 In-Reply-To: References: Message-ID: Thanks everyone for the answers. I think I’m ok with keysdown now — just needed to sort a few things out. Fred > On Aug 20, 2023, at 12:00 PM, use-livecode-request at lists.runrev.com wrote: > > Message: 6 > Date: Sat, 19 Aug 2023 23:36:57 +0300 > From: Richmond Mathewson > > To: FRED MOYER via use-livecode > > Subject: Re: How to search this list > Message-ID: <9bff91a6-8761-489d-9b5d-1f0dfc493a89 at gmail.com > > Content-Type: text/plain; charset=UTF-8; format=flowed > > Well, I am a keysDown 'fan', so why not just explain what your problem > is . . . > > Richmond Mathewson > > On 19.08.23 21:32, FRED MOYER via use-livecode wrote: >> It?s been a long time since I?ve used this list. I?m puzzled -- it says I can search the archives for this list at >> http://www.google.com/advanced_search?q=site:lists.runrev.com > >> >> If I search for something that I know is there (like ?CharIndex? which was in some recent posts) it doesn?t find anything. >> >> In particular, I?m looking for information about keysdown ? again no hits in that google search site. >> >> Thanks for your help. >> >> Fred Moyer >> From dsc at swcp.com Tue Aug 22 09:05:56 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Aug 2023 07:05:56 -0600 Subject: Group corners In-Reply-To: <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <674F8AAF-5F4C-42C1-831C-C51B384C4D6A@swcp.com> Yeah, the order of things seem to make a difference. It is sometimes hard to do deltas. My lazy programming style is to rebuild GUI features based on the current state whenever there is a change, and then look closer if that gets slow. > On Aug 21, 2023, at 7:44 PM, J. Landman Gay via use-livecode wrote: > > Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 3d. It's a plain gray border with the label appropriately placed. Three pixels works about the same. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode wrote: > >> Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that. >> >> Bob S >> >> >>> On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode wrote: >>> >>> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >>>> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. >>> >>> I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. >>> >>> Tested in LC 9.6.10 RC 1. >>> >>> -- >>> 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 dsc at swcp.com Tue Aug 22 12:57:20 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Aug 2023 10:57:20 -0600 Subject: Behaviors Message-ID: I am misremembering things about Behaviors. I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? From alex at tweedly.net Tue Aug 22 13:09:08 2023 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 22 Aug 2023 18:09:08 +0100 Subject: Behaviors In-Reply-To: References: Message-ID: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. So I do it all in preOpen... scripts, doing something like > set the behavior of fld "F" of grp tmpName to the long id of button > "RichTextFieldBehaviour" of \ >          card "Behaviours" of stack "/Users/alextweedly/Dropbox/My > Livecode/Libraries/richText.livecode" Alex. On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > I am misremembering things about Behaviors. > > I have a card with my behavior buttons, but I cant seem to point to buttons on that card. Maybe, Im remembering what I did long ago with front scripts. > > I suppose I can use substacks, but Im worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 22 13:12:06 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Aug 2023 11:12:06 -0600 Subject: Group corners In-Reply-To: <674F8AAF-5F4C-42C1-831C-C51B384C4D6A@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <674F8AAF-5F4C-42C1-831C-C51B384C4D6A@swcp.com> Message-ID: <84FAB4BF-3B26-48CE-BBDD-854C224A9FF1@swcp.com> Arg. There is a pixel missing in the upper left corner even when the border width is 1. — Dar > On Aug 22, 2023, at 7:05 AM, Dar Scott via use-livecode wrote: > > Yeah, the order of things seem to make a difference. It is sometimes hard to do deltas. My lazy programming style is to rebuild GUI features based on the current state whenever there is a change, and then look closer if that gets slow. > >> On Aug 21, 2023, at 7:44 PM, J. Landman Gay via use-livecode wrote: >> >> Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 3d. It's a plain gray border with the label appropriately placed. Three pixels works about the same. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode wrote: >> >>> Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that. >>> >>> Bob S >>> >>> >>>> On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >>>>> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. >>>> >>>> I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. >>>> >>>> Tested in LC 9.6.10 RC 1. >>>> >>>> -- >>>> 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 dsc at swcp.com Tue Aug 22 13:36:36 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Aug 2023 11:36:36 -0600 Subject: Behaviors In-Reply-To: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> Message-ID: <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar > On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: > > Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. > > So I do it all in preOpen... scripts, doing something like > >> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ >> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" > > Alex. > > On 22/08/2023 17:57, Dar Scott via use-livecode wrote: >> I am misremembering things about Behaviors. >> >> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. >> >> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 22 15:05:03 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 22 Aug 2023 15:05:03 -0400 Subject: Behaviors In-Reply-To: <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> Message-ID: you probably know this: in the property inspector, there's a panel for behavior, so you can just select the behavior from a menu button, without having to type it On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode wrote: > > I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar > > > On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: > > > > Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. > > > > So I do it all in preOpen... scripts, doing something like > > > >> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ > >> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" > > > > Alex. > > > > On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > >> I am misremembering things about Behaviors. > >> > >> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. > >> > >> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Aug 22 16:08:58 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Aug 2023 15:08:58 -0500 Subject: Group corners In-Reply-To: <84FAB4BF-3B26-48CE-BBDD-854C224A9FF1@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <674F8AAF-5F4C-42C1-831C-C51B384C4D6A@swcp.com> <84FAB4BF-3B26-48CE-BBDD-854C224A9FF1@swcp.com> Message-ID: It's probably about time to submit a bug report. The behavior we see isn't expected. On 8/22/23 12:12 PM, Dar Scott via use-livecode wrote: > Arg. There is a pixel missing in the upper left corner even when the border width is 1. — Dar > >> On Aug 22, 2023, at 7:05 AM, Dar Scott via use-livecode wrote: >> >> Yeah, the order of things seem to make a difference. It is sometimes hard to do deltas. My lazy programming style is to rebuild GUI features based on the current state whenever there is a change, and then look closer if that gets slow. >> >>> On Aug 21, 2023, at 7:44 PM, J. Landman Gay via use-livecode wrote: >>> >>> Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 3d. It's a plain gray border with the label appropriately placed. Three pixels works about the same. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode wrote: >>> >>>> Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that. >>>> >>>> Bob S >>>> >>>> >>>>> On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >>>>>> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. >>>>> >>>>> I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. >>>>> >>>>> Tested in LC 9.6.10 RC 1. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Tue Aug 22 16:43:28 2023 From: tom at makeshyft.com (Tom Glod) Date: Tue, 22 Aug 2023 16:43:28 -0400 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: <7e9e3b20bd90462d31408ac2f6c008ab@livecode.com> References: <7e9e3b20bd90462d31408ac2f6c008ab@livecode.com> Message-ID: Interesting, when I tried to use them recently they didn't work. Will test again, maybe it was my bad, thanks Mark. On Sun, Aug 20, 2023 at 3:09 AM Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2023-08-19 21:57, Tom Glod via use-livecode wrote: > > Hello, > > > > Does this mean we have JSON support in SQLite? > > > > This is from the documentation.: > > > > In other words, the JSON functions went from being opt-in with SQLite > > version 3.37.2 and earlier to opt-out with SQLite version 3.38.0 and > > later. > > The SQLite JSON support was included in dbsqlite in 9.0.3 - > https://quality.livecode.com/show_bug.cgi?id=21821 > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 22 17:02:10 2023 From: paul at researchware.com (Paul Dupuis) Date: Tue, 22 Aug 2023 17:02:10 -0400 Subject: Polygrid questions Message-ID: I see I have the properties of a polygrid for: pgColumns -- an array of all column properties and pgColumnWidths -- a comma delimited list of widths There does not seem to be a distinct property just for alignments, such as pgColumnAlignments What I need to do is change the width and/or alignment of a specific column (that can change which column based on data). I can se no way of doing this other than repopulating the pgColumns array If I try set the pgColumnWidths of widget "rwTableview" to "300,75,75,75,75,75,75,75,75" for example, that seems to have no effect. If I try to just change one element of the column array, such as put "300" into tArray[1]["width"]; set the pgColumns of widget "rwTableview" to tArray, it replaces all the other column information (names, etc.) with defaults (as I would expect) Am I missing some syntax that will allow changing the name, label, width, alignment, or whatever property desired of a single column without touching any of the other column data already set? From dsc at swcp.com Wed Aug 23 20:00:23 2023 From: dsc at swcp.com (Dar Scott) Date: Wed, 23 Aug 2023 18:00:23 -0600 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> Message-ID: I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar > On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: > > you probably know this: in the property inspector, there's a panel for > behavior, so you can just select the behavior from a menu button, > without having to type it > > On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode > wrote: >> >> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar >> >>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: >>> >>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. >>> >>> So I do it all in preOpen... scripts, doing something like >>> >>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ >>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" >>> >>> Alex. >>> >>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: >>>> I am misremembering things about Behaviors. >>>> >>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. >>>> >>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iowahengst at mac.com Thu Aug 24 09:28:49 2023 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 24 Aug 2023 08:28:49 -0500 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Hi All, This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… take care, randy Randy Hengst classroomfocusedsoftware.com > On Jul 20, 2023, at 10:47 PM, J. Landman Gay via use-livecode wrote: > > Very useful info, thank you. Especially the part about using the token on different machines. I was duped into believing everything I read on the internet. :) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode wrote: > >>> Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode : >>> >>> Thanks Matthias. I've been reading about it and I think the cert is stored on the machine but it is tied to that computer and not exportable. >> >> >>> If you get a new computer you need to buy a new certificate. >> I don't think that is true. The new type of certificate has to be stored on a secure device. That's what the eToken is for. The private key is also stored on the eToken and the certificate and the private key cannot be exported. You should be able to use that token on multiple computers. You just have to install the eToken driver to an other computer and attach the eToken to it. >> >> This is what Trustzone is saying about it: >> "The token-based type of Standard Code Signing certificates can also be used on multiple computers. The same goes for token-based EV certificates. But no token-based certificate can ever be used simultaneously on two computers since the SafeNet token can only be plugged into one computer at a time." >> >> As i never had such eToken, i do not know, if the certificate and the private key can be accessed as files through Finder. And what extension do they have. I've read the osslsigncode can use also certificates and key files with .cem extension. >> So if the eToken contains such files, WinSignHelper could be slightly adjusted to work with the eToken. But that's just an assumption. >> >> Matthias >> >> >>> So I don't think I'll experiment, and we'll just do the whole thing on the Windows box. >>> >>> The sad part is that if we'd renewed just a couple of weeks earlier we'd have been within the cutoff date and could have purchased the old type of certificate. >>> >> Same here. I was about 5 days to late otherwise i could have ordered the olde type. >> >> >>> If anyone else has used the new token hardware I'd be grateful for any tips or suggestions. This is all new to me. >> >> I am using a cloud based OV certificate from Certum. I just need to install the Software SimplySign Desktop. The software "integrates" the certificate into Windows' certificate storage (or what ever this is called) after i logged in using that SimplySign Desktop software. >> Microsoft's signtool can then directly access the certificate. >> >> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode wrote: >>> >>>> To be honest, i do not know. >>>> I am currently using a cloud code signing certificate which i can only use on Windows. >>>> I've chosen the cloud version because of the price, but later i noticed that it seems that those cloud certificates cannot be used on macOS. >>>> Or maybe they can, but i do not know how, especially with ossl signcode >>>> WinSignHelper uses ossl signcode and currently that tool needs a path to a certificate >>>> >>>> Do you know where the certificate is stored with the eToken solution? Is it stored also on the eToken or anywhere else on the Mac? >>>> If you have the certificate as a physical file it maybe could be possible to select that file in the WinSignHelper prefs. >>>> >>>> But as i alread wrote, i really don't know exactly. >>>> >>>> I am currently thinking of purchasing a 2nd certificate as eToken solution, but there is not yet a decision made, if i should spent money for this, as i have a working cloud certificate which expires in 3 years. >>>> >>>> Regards, >>>> Matthias >>>> >>>>> Am 19.07.2023 um 22:53 schrieb J. Landman Gay via use-livecode : >>>>> >>>>> @Matthias: does the upgraded WinSignHelper work with the new hardware eTokens? Those are required now. >>>>> >>>>> If so, do the instructions change on how to use your tool? >>>>> >>>>> >>>>> On 12/23/22 10:44 AM, matthias rebbe via use-livecode wrote: >>>>>> i've upgraded my free tool WinSignHelper. >>>>>> For those who do not know what WinSignHelper is... >>>>>> It's a GUI for osslsigncode. Osslsigncode is command line tool that can do the Authenticode signing and timestamping. With it you can code sign Windows applications using an appropriate code signing certificate. >>>>>> You just drag a folder with your Windows application into WinSignHelper and it signs all components of your standalone (.exe and .dll). >>>>>> WinSignHelper Help section gives enough information about how to install osslsigncode. >>>>>> So if anyone is interested in testing.... >>>>>> The version is notarized and is an universal build for X86 and Arm >>>>>> Zip >>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.zip >>>>>> DMG >>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.dmg >>>>>> Hope this is of help for one or the other. >>>>> >>>>> >>>>> -- >>>>> 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 Thu Aug 24 09:42:59 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 24 Aug 2023 15:42:59 +0200 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: Hi Randy, > Am 24.08.2023 um 15:28 schrieb Randy Hengst via use-livecode : > > Hi All, > > This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. > I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. > Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… I once set up a help page for exactly this issue: Scroll down for the Windows stuff... Hope that helps! > take care, > randy Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From iowahengst at mac.com Thu Aug 24 09:49:04 2023 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 24 Aug 2023 08:49:04 -0500 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: <2439D939-F60B-4AE2-A4EE-76B1D05B2202@mac.com> Excellent! Thank you, Klaus. Does the current version of windows look the same as your screen shots? take care, randy Randy Hengst classroomFocusedSoftware.com > On Aug 24, 2023, at 8:42 AM, Klaus major-k via use-livecode wrote: > > Hi Randy, > >> Am 24.08.2023 um 15:28 schrieb Randy Hengst via use-livecode : >> >> Hi All, >> >> This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. >> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. >> Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… > > I once set up a help page for exactly this issue: > > > Scroll down for the Windows stuff... > Hope that helps! > >> take care, >> randy > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Aug 24 09:52:05 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 24 Aug 2023 15:52:05 +0200 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <2439D939-F60B-4AE2-A4EE-76B1D05B2202@mac.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> <2439D939-F60B-4AE2-A4EE-76B1D05B2202@mac.com> Message-ID: Hi Randy, > Am 24.08.2023 um 15:49 schrieb Randy Hengst via use-livecode : > > Excellent! Thank you, Klaus. my pleasure! > Does the current version of windows look the same as your screen shots? Sorry, no idea, my last Win version is 10, as shown in the pics. > take care, > randy > > Randy Hengst > classroomFocusedSoftware.com >> >>> Hi All, >>> This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. >>> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. >>> Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… >> I once set up a help page for exactly this issue: >> >> Scroll down for the Windows stuff... >> Hope that helps! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From derek-lc-list at speedbump.io Thu Aug 24 10:26:50 2023 From: derek-lc-list at speedbump.io (Derek Bump) Date: Thu, 24 Aug 2023 14:26:50 +0000 Subject: Linux and the search for a controllable Web Browser Message-ID: Good Day, I've been wrestling with the Browser widget on Linux long enough now that I've largely given up on using it for anything destined for a production environment. However, that has not reduced my need for a browser which I can control in my specific use-case: open a streaming video url, make it full screen, autoplay, wait for navigational input from the user (arrow keys, DEL key, etc), and close when requested. I did attempt to build a controllable browser using Neutralinojs, which showed potential. With it's configuration options, having a borderless, floating browser window appear at exact coordinates is very do-able. Unfortunately for me, the cross-origin nature of using an iframe is preventing JavaScript from forcing playback without a physical "click" from the user. Setting the URL of the Neutralinojs "browser" directly (not using iframe) resolves the cross-origin restriction, but it still required click for playback. Plus, setting the URL directly wipes out any JavaScript written, so inter-process communications disappears immediately. So that solution isn't viable. I'm thinking of attempting the same concept using Electron, but I'm betting 100% the experience will be the same. Many in the past have abused the Autoplay feature, so its largely locked down in commercial browsers at this point. I'm pretty sure I'd have to compile a custom browser from source, which I have never done before. Nor am I interested in going down that rabbit hole (yet). So I wanted to reach out to see if anyone has stumbled upon a solution for showing web pages on Linux in such a way that you can still maintain control over the browser through LiveCode? With regards to my use-case, I've (temporarily) opted to launch Firefox using "open process" (non blocking) in Kiosk mode. This is nearly producing what I need, except regaining control involves terminating Firefox when my user presses a "Universal Home" button on their remote control. Not ideal, but it works. What's frustrating is that there's a Browser Widget sitting in my toolbar which seems to work well on Windows and Mac. However, even if the widget was compatible (or I found a modern distro where it works), it still wouldn't solve my problem: LC's browser implementation has some of it's multimedia framework support turned off, so HLS is out the window. This would need to be added in by LiveCode Ltd., most likely. Am I stuck? I appreciate the help and look forward to feedback. Thank you, Derek Bump From bobsneidar at iotecdigital.com Thu Aug 24 11:20:55 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 15:20:55 +0000 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: <02940F0A-2EC5-45C3-92FF-55EB471E3AE6@iotecdigital.com> I build for Windows and do not need a certificate. I’ve run my app on Windows 10 and server 2019 without an issue. Bob S On Aug 24, 2023, at 6:28 AM, Randy Hengst via use-livecode wrote: Hi All, This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… take care, randy Randy Hengst classroomfocusedsoftware.com From bobsneidar at iotecdigital.com Thu Aug 24 11:24:58 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 15:24:58 +0000 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <02940F0A-2EC5-45C3-92FF-55EB471E3AE6@iotecdigital.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> <02940F0A-2EC5-45C3-92FF-55EB471E3AE6@iotecdigital.com> Message-ID: <07F4836E-C325-4310-B319-9A1721840C06@iotecdigital.com> Oh right, I think I DID have to confirm that I want to run the app on both Windows and Mac. I suppose that would be an issue if I was distributing commercially. Bob S On Aug 24, 2023, at 8:20 AM, Bob Sneidar wrote: I build for Windows and do not need a certificate. I’ve run my app on Windows 10 and server 2019 without an issue. Bob S On Aug 24, 2023, at 6:28 AM, Randy Hengst via use-livecode wrote: Hi All, This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… take care, randy Randy Hengst classroomfocusedsoftware.com From bobsneidar at iotecdigital.com Thu Aug 24 11:34:02 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 15:34:02 +0000 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> Message-ID: <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> There is also the Advanced button in the property inspector (looks like one large gear with two smaller ones) where you can type the behavior, and also has the target icon. Also, you shouldn’t have to do that every time. Once should be enough if you save the stack afterwards. I note that Datagrids have no way to set the behavior, since they depend on their default behavior. It was discussed long ago when nested behaviors became a thing, that there ought to be a way to edit a list of behaviors of an object. In fact it shouldn’t be that difficult to make a Behavior Browser widget of some sort. Hmmm... Bob S > On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode wrote: > > I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar > >> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: >> >> you probably know this: in the property inspector, there's a panel for >> behavior, so you can just select the behavior from a menu button, >> without having to type it >> >> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode >> wrote: >>> >>> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar >>> >>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: >>>> >>>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. >>>> >>>> So I do it all in preOpen... scripts, doing something like >>>> >>>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ >>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" >>>> >>>> Alex. >>>> >>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: >>>>> I am misremembering things about Behaviors. >>>>> >>>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. >>>>> >>>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Thu Aug 24 11:41:07 2023 From: prothero at earthlearningsolutions.org (William Prothero) Date: Thu, 24 Aug 2023 08:41:07 -0700 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> References: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: I have an ios app that I built for myself only. I was able to load the app on my iphone for debugging. It works fine, for me, in normal use. You may be able to do the same with your friend's device. It saves a lot of the trouble with certificates, etc. you might search the forum on "sideloading". Good luck. Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On Aug 24, 2023, at 6:30 AM, Randy Hengst via use-livecode wrote: > > Hi All, > > This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. > > I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. > > Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… > > take care, > randy > > Randy Hengst > classroomfocusedsoftware.com > > > >> On Jul 20, 2023, at 10:47 PM, J. Landman Gay via use-livecode wrote: >> >> Very useful info, thank you. Especially the part about using the token on different machines. I was duped into believing everything I read on the internet. :) >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode wrote: >> >>>>> Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode : >>>>> >>>>> Thanks Matthias. I've been reading about it and I think the cert is stored on the machine but it is tied to that computer and not exportable. >>> >>> >>>> If you get a new computer you need to buy a new certificate. >>> I don't think that is true. The new type of certificate has to be stored on a secure device. That's what the eToken is for. The private key is also stored on the eToken and the certificate and the private key cannot be exported. You should be able to use that token on multiple computers. You just have to install the eToken driver to an other computer and attach the eToken to it. >>> >>> This is what Trustzone is saying about it: >>> "The token-based type of Standard Code Signing certificates can also be used on multiple computers. The same goes for token-based EV certificates. But no token-based certificate can ever be used simultaneously on two computers since the SafeNet token can only be plugged into one computer at a time." >>> >>> As i never had such eToken, i do not know, if the certificate and the private key can be accessed as files through Finder. And what extension do they have. I've read the osslsigncode can use also certificates and key files with .cem extension. >>> So if the eToken contains such files, WinSignHelper could be slightly adjusted to work with the eToken. But that's just an assumption. >>> >>> Matthias >>> >>> >>>> So I don't think I'll experiment, and we'll just do the whole thing on the Windows box. >>>> >>>> The sad part is that if we'd renewed just a couple of weeks earlier we'd have been within the cutoff date and could have purchased the old type of certificate. >>>> >>> Same here. I was about 5 days to late otherwise i could have ordered the olde type. >>> >>> >>>> If anyone else has used the new token hardware I'd be grateful for any tips or suggestions. This is all new to me. >>> >>> I am using a cloud based OV certificate from Certum. I just need to install the Software SimplySign Desktop. The software "integrates" the certificate into Windows' certificate storage (or what ever this is called) after i logged in using that SimplySign Desktop software. >>> Microsoft's signtool can then directly access the certificate. >>> >>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode wrote: >>>> >>>>> To be honest, i do not know. >>>>> I am currently using a cloud code signing certificate which i can only use on Windows. >>>>> I've chosen the cloud version because of the price, but later i noticed that it seems that those cloud certificates cannot be used on macOS. >>>>> Or maybe they can, but i do not know how, especially with ossl signcode >>>>> WinSignHelper uses ossl signcode and currently that tool needs a path to a certificate >>>>> >>>>> Do you know where the certificate is stored with the eToken solution? Is it stored also on the eToken or anywhere else on the Mac? >>>>> If you have the certificate as a physical file it maybe could be possible to select that file in the WinSignHelper prefs. >>>>> >>>>> But as i alread wrote, i really don't know exactly. >>>>> >>>>> I am currently thinking of purchasing a 2nd certificate as eToken solution, but there is not yet a decision made, if i should spent money for this, as i have a working cloud certificate which expires in 3 years. >>>>> >>>>> Regards, >>>>> Matthias >>>>> >>>>>> Am 19.07.2023 um 22:53 schrieb J. Landman Gay via use-livecode : >>>>>> >>>>>> @Matthias: does the upgraded WinSignHelper work with the new hardware eTokens? Those are required now. >>>>>> >>>>>> If so, do the instructions change on how to use your tool? >>>>>> >>>>>> >>>>>> On 12/23/22 10:44 AM, matthias rebbe via use-livecode wrote: >>>>>>> i've upgraded my free tool WinSignHelper. >>>>>>> For those who do not know what WinSignHelper is... >>>>>>> It's a GUI for osslsigncode. Osslsigncode is command line tool that can do the Authenticode signing and timestamping. With it you can code sign Windows applications using an appropriate code signing certificate. >>>>>>> You just drag a folder with your Windows application into WinSignHelper and it signs all components of your standalone (.exe and .dll). >>>>>>> WinSignHelper Help section gives enough information about how to install osslsigncode. >>>>>>> So if anyone is interested in testing.... >>>>>>> The version is notarized and is an universal build for X86 and Arm >>>>>>> Zip >>>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.zip >>>>>>> DMG >>>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.dmg >>>>>>> Hope this is of help for one or the other. >>>>>> >>>>>> >>>>>> -- >>>>>> 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 iowahengst at mac.com Thu Aug 24 12:12:59 2023 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 24 Aug 2023 11:12:59 -0500 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: References: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: <37049104-641F-4777-9D50-086CD885EA3F@mac.com> I built for windows using 9.6.9… just heard from my friend that he could open the app. Thanks all for the ideas and information. take care, randy Randy Hengst classroomfocusedsoftware.com > On Aug 24, 2023, at 10:41 AM, William Prothero via use-livecode wrote: > > I have an ios app that I built for myself only. I was able to load the app on my iphone for debugging. It works fine, for me, in normal use. You may be able to do the same with your friend's device. It saves a lot of the trouble with certificates, etc. you might search the forum on "sideloading". > > Good luck. > Bill > > William A. Prothero, PhD > Prof Emeritus, Dept of Earth Science > University of California, Santa Barbara > >> On Aug 24, 2023, at 6:30 AM, Randy Hengst via use-livecode wrote: >> >> Hi All, >> >> This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. >> >> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. >> >> Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… >> >> take care, >> randy >> >> Randy Hengst >> classroomfocusedsoftware.com >> >> >> >>> On Jul 20, 2023, at 10:47 PM, J. Landman Gay via use-livecode wrote: >>> >>> Very useful info, thank you. Especially the part about using the token on different machines. I was duped into believing everything I read on the internet. :) >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode wrote: >>> >>>>>> Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode : >>>>>> >>>>>> Thanks Matthias. I've been reading about it and I think the cert is stored on the machine but it is tied to that computer and not exportable. >>>> >>>> >>>>> If you get a new computer you need to buy a new certificate. >>>> I don't think that is true. The new type of certificate has to be stored on a secure device. That's what the eToken is for. The private key is also stored on the eToken and the certificate and the private key cannot be exported. You should be able to use that token on multiple computers. You just have to install the eToken driver to an other computer and attach the eToken to it. >>>> >>>> This is what Trustzone is saying about it: >>>> "The token-based type of Standard Code Signing certificates can also be used on multiple computers. The same goes for token-based EV certificates. But no token-based certificate can ever be used simultaneously on two computers since the SafeNet token can only be plugged into one computer at a time." >>>> >>>> As i never had such eToken, i do not know, if the certificate and the private key can be accessed as files through Finder. And what extension do they have. I've read the osslsigncode can use also certificates and key files with .cem extension. >>>> So if the eToken contains such files, WinSignHelper could be slightly adjusted to work with the eToken. But that's just an assumption. >>>> >>>> Matthias >>>> >>>> >>>>> So I don't think I'll experiment, and we'll just do the whole thing on the Windows box. >>>>> >>>>> The sad part is that if we'd renewed just a couple of weeks earlier we'd have been within the cutoff date and could have purchased the old type of certificate. >>>>> >>>> Same here. I was about 5 days to late otherwise i could have ordered the olde type. >>>> >>>> >>>>> If anyone else has used the new token hardware I'd be grateful for any tips or suggestions. This is all new to me. >>>> >>>> I am using a cloud based OV certificate from Certum. I just need to install the Software SimplySign Desktop. The software "integrates" the certificate into Windows' certificate storage (or what ever this is called) after i logged in using that SimplySign Desktop software. >>>> Microsoft's signtool can then directly access the certificate. >>>> >>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode wrote: >>>>> >>>>>> To be honest, i do not know. >>>>>> I am currently using a cloud code signing certificate which i can only use on Windows. >>>>>> I've chosen the cloud version because of the price, but later i noticed that it seems that those cloud certificates cannot be used on macOS. >>>>>> Or maybe they can, but i do not know how, especially with ossl signcode >>>>>> WinSignHelper uses ossl signcode and currently that tool needs a path to a certificate >>>>>> >>>>>> Do you know where the certificate is stored with the eToken solution? Is it stored also on the eToken or anywhere else on the Mac? >>>>>> If you have the certificate as a physical file it maybe could be possible to select that file in the WinSignHelper prefs. >>>>>> >>>>>> But as i alread wrote, i really don't know exactly. >>>>>> >>>>>> I am currently thinking of purchasing a 2nd certificate as eToken solution, but there is not yet a decision made, if i should spent money for this, as i have a working cloud certificate which expires in 3 years. >>>>>> >>>>>> Regards, >>>>>> Matthias >>>>>> >>>>>>> Am 19.07.2023 um 22:53 schrieb J. Landman Gay via use-livecode : >>>>>>> >>>>>>> @Matthias: does the upgraded WinSignHelper work with the new hardware eTokens? Those are required now. >>>>>>> >>>>>>> If so, do the instructions change on how to use your tool? >>>>>>> >>>>>>> >>>>>>> On 12/23/22 10:44 AM, matthias rebbe via use-livecode wrote: >>>>>>>> i've upgraded my free tool WinSignHelper. >>>>>>>> For those who do not know what WinSignHelper is... >>>>>>>> It's a GUI for osslsigncode. Osslsigncode is command line tool that can do the Authenticode signing and timestamping. With it you can code sign Windows applications using an appropriate code signing certificate. >>>>>>>> You just drag a folder with your Windows application into WinSignHelper and it signs all components of your standalone (.exe and .dll). >>>>>>>> WinSignHelper Help section gives enough information about how to install osslsigncode. >>>>>>>> So if anyone is interested in testing.... >>>>>>>> The version is notarized and is an universal build for X86 and Arm >>>>>>>> Zip >>>>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.zip >>>>>>>> DMG >>>>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.dmg >>>>>>>> Hope this is of help for one or the other. >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bleiler at buffalo.edu Thu Aug 24 13:02:32 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Thu, 24 Aug 2023 17:02:32 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in Message-ID: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> Hi all, I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. Code signing seems to work fine but when I get to the Notarization step I always get an "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. So far, this is what I’ve tried with the same result 1) Verified developer account in good status with Apple 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, 3) Multiple checks of my credentials in the parameters I’m using 4) Setting up a new app specific password on my account 5) Trying with a different Livecode application 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. 7) Repeat everything on a brand new user account on my Mac 8) Sought help through devprograms at apple.com I’ve done codesigning and notarization many times before with the same developer account with no issues. What’s new here for me is using NotaryTool and the app-specific password. I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) Thanks, Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo From MikeKerner at roadrunner.com Thu Aug 24 13:15:57 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 24 Aug 2023 13:15:57 -0400 Subject: Behaviors In-Reply-To: <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> Message-ID: i'm pretty sure you can set a dg's behavior. then you would set the behavior of that behavior to the button behavior (button id 1005 of stack "revDataGridLibrary"), OR you can include THAT script, separately, set that as the behavior, and modify it (but, what you should really do is remove your dg's and replace them with pg's, imho. they're much faster and more flexible and powerful). the project browser has a button for each behavior in the chain of an object. i'm pretty sure that levure baker's assistant does, too. On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode wrote: > > There is also the Advanced button in the property inspector (looks like one large gear with two smaller ones) where you can type the behavior, and also has the target icon. Also, you shouldn’t have to do that every time. Once should be enough if you save the stack afterwards. > > I note that Datagrids have no way to set the behavior, since they depend on their default behavior. It was discussed long ago when nested behaviors became a thing, that there ought to be a way to edit a list of behaviors of an object. In fact it shouldn’t be that difficult to make a Behavior Browser widget of some sort. Hmmm... > > Bob S > > > > On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode wrote: > > > > I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar > > > >> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: > >> > >> you probably know this: in the property inspector, there's a panel for > >> behavior, so you can just select the behavior from a menu button, > >> without having to type it > >> > >> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode > >> wrote: > >>> > >>> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar > >>> > >>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: > >>>> > >>>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. > >>>> > >>>> So I do it all in preOpen... scripts, doing something like > >>>> > >>>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ > >>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" > >>>> > >>>> Alex. > >>>> > >>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > >>>>> I am misremembering things about Behaviors. > >>>>> > >>>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. > >>>>> > >>>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> > >> -- > >> On the first day, God created the heavens and the Earth > >> On the second day, God created the oceans. > >> On the third day, God put the animals on hold for a few hours, > >> and did a little diving. > >> And God said, "This is good." > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 bobsneidar at iotecdigital.com Thu Aug 24 14:11:44 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 18:11:44 +0000 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> Message-ID: Ah thanks for that. Yes, I knew how to nest behaviors for datagrids, but I never use the Project Browser because of issues I had many years ago. I may have another look. What is a “pg”? I make extensive use of Datagrid properties, and whatever I might replace them with needs to provide ALL their functionality. Bob S > On Aug 24, 2023, at 10:15 AM, Mike Kerner via use-livecode wrote: > > i'm pretty sure you can set a dg's behavior. then you would set the > behavior of that behavior to the button behavior (button id 1005 of > stack "revDataGridLibrary"), OR you can include THAT script, > separately, set that as the behavior, and modify it > (but, what you should really do is remove your dg's and replace them > with pg's, imho. they're much faster and more flexible and powerful). > the project browser has a button for each behavior in the chain of an > object. i'm pretty sure that levure baker's assistant does, too. > > On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode > wrote: >> >> There is also the Advanced button in the property inspector (looks like one large gear with two smaller ones) where you can type the behavior, and also has the target icon. Also, you shouldn’t have to do that every time. Once should be enough if you save the stack afterwards. >> >> I note that Datagrids have no way to set the behavior, since they depend on their default behavior. It was discussed long ago when nested behaviors became a thing, that there ought to be a way to edit a list of behaviors of an object. In fact it shouldn’t be that difficult to make a Behavior Browser widget of some sort. Hmmm... >> >> Bob S >> >> >>> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode wrote: >>> >>> I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar >>> >>>> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: >>>> >>>> you probably know this: in the property inspector, there's a panel for >>>> behavior, so you can just select the behavior from a menu button, >>>> without having to type it >>>> >>>> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode >>>> wrote: >>>>> >>>>> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar >>>>> >>>>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: >>>>>> >>>>>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. >>>>>> >>>>>> So I do it all in preOpen... scripts, doing something like >>>>>> >>>>>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ >>>>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" >>>>>> >>>>>> Alex. >>>>>> >>>>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: >>>>>>> I am misremembering things about Behaviors. >>>>>>> >>>>>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. >>>>>>> >>>>>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> -- >>>> On the first day, God created the heavens and the Earth >>>> On the second day, God created the oceans. >>>> On the third day, God put the animals on hold for a few hours, >>>> and did a little diving. >>>> And God said, "This is good." >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Aug 24 14:26:28 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 14:26:28 -0400 Subject: Polygrid columns not fully clearing when pgColumns is set Message-ID: Hi to any polygrid developers out there, Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed Any thoughts to a work-around? From paul at researchware.com Thu Aug 24 14:30:31 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 14:30:31 -0400 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: References: Message-ID: Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. Perhaps this is a documentation bug? On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: > Hi to any polygrid developers out there, > > Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 > > I have run into an issue with the latest polygrid (as of this post) > where if you set pgColumns to a new array that reduces the number of > columns in the grid, some old columns are not cleared, but instead are > set to defaults (ie. the names revert to col5, col6, etc. instead of > being completely removed > > Any thoughts to a work-around? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 24 14:34:02 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 24 Aug 2023 20:34:02 +0200 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: References: Message-ID: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> Hi Paul, > Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode : > > Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns > You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. > Perhaps this is a documentation bug? I had success by setting the dgColumns to EMPTY first and later to the new "fewer" columns: ## Button "Fewer Columns" on mouseUp pMouseButton local tColA, tDataA local tSum lock screen ## !! set the pgColumns of widget "myTable" to EMPTY ## !! put "rowname" into tColA[1]["name"] ... > On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: >> Hi to any polygrid developers out there, >> >> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 >> >> I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed >> >> Any thoughts to a work-around? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From paul at researchware.com Thu Aug 24 16:26:04 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 16:26:04 -0400 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> References: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> Message-ID: Thanks Klaus. I may use this method rather than the overhead of clearing and setting the whole pgData property. Actually, the more I think about it, neither "method" should be needed. This is a polygrid bug. If you set the pgColumsn to fewer column, regardless of whether there is left over data in pgData, only the columns in the currently set pgColumns should be seen. On 8/24/2023 2:34 PM, Klaus major-k via use-livecode wrote: > Hi Paul, > >> Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode : >> >> Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns >> You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. >> Perhaps this is a documentation bug? > I had success by setting the dgColumns to EMPTY first and later to the new "fewer" columns: > ## Button "Fewer Columns" > on mouseUp pMouseButton > local tColA, tDataA > local tSum > lock screen > > ## !! > set the pgColumns of widget "myTable" to EMPTY > ## !! > > put "rowname" into tColA[1]["name"] > ... > >> On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: >>> Hi to any polygrid developers out there, >>> >>> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 >>> >>> I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed >>> >>> Any thoughts to a work-around? > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Aug 24 16:48:55 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 24 Aug 2023 22:48:55 +0200 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> Message-ID: Timothy, so running the following command from step 7.1.2 of that lesson xcrun notarytool submit --apple-id "" --password "" --team-id --wait "" gives you the 401 error or are you using the parameter --keychain-profile instead of the three parameters --password,--team-id and --apple-id? If using the above command, then could you please run the command again from command line and add --verbose to enable a detailed log and send the log file to me in a private email? If the second, then did you create a new keychain profile as described in chapter 8 of that lesson? Regards, Matthias > Am 24.08.2023 um 19:02 schrieb Timothy Bleiler via use-livecode : > > Hi all, > > I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. > > I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. > Code signing seems to work fine but when I get to the Notarization step I always get an > "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. > > I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. > > So far, this is what I’ve tried with the same result > > 1) Verified developer account in good status with Apple > 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, > 3) Multiple checks of my credentials in the parameters I’m using > 4) Setting up a new app specific password on my account > 5) Trying with a different Livecode application > 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. > > 7) Repeat everything on a brand new user account on my Mac > 8) Sought help through devprograms at apple.com > > > I’ve done codesigning and notarization many times before with the same developer account with no issues. > What’s new here for me is using NotaryTool and the app-specific password. > > I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) > > Thanks, > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Aug 24 16:53:06 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 20:53:06 +0000 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: References: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> Message-ID: Why not get the pgColumns first, alter only the array element needed for the specific column(s), then set the pgColumns of the PolyGrid? Bob S > On Aug 24, 2023, at 1:26 PM, Paul Dupuis via use-livecode wrote: > > Thanks Klaus. > > I may use this method rather than the overhead of clearing and setting the whole pgData property. > > Actually, the more I think about it, neither "method" should be needed. This is a polygrid bug. If you set the pgColumsn to fewer column, regardless of whether there is left over data in pgData, only the columns in the currently set pgColumns should be seen. > > > On 8/24/2023 2:34 PM, Klaus major-k via use-livecode wrote: >> Hi Paul, >> >>> Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode : >>> >>> Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns >>> You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. >>> Perhaps this is a documentation bug? >> I had success by setting the dgColumns to EMPTY first and later to the new "fewer" columns: >> ## Button "Fewer Columns" >> on mouseUp pMouseButton >> local tColA, tDataA >> local tSum >> lock screen >> >> ## !! >> set the pgColumns of widget "myTable" to EMPTY >> ## !! >> >> put "rowname" into tColA[1]["name"] >> ... >> >>> On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: >>>> Hi to any polygrid developers out there, >>>> >>>> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 >>>> >>>> I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed >>>> >>>> Any thoughts to a work-around? >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Aug 24 17:49:36 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 17:49:36 -0400 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: References: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> Message-ID: <540a48b9-8965-b2c9-ef2a-06ead0677240@researchware.com> In this particular case, the table being displayed in the polygrid is based on datasets that researcher loads into our application and the number of rows and columns can vary widely as well as the column names/labels and type of data. Rather than conduct a large analysis to determine which of N columns (and it could be 0 to N) have changed, it is easier to update pgColumns. In one dataset N could be 3 and in the next 1500 (yes, for real) On 8/24/2023 4:53 PM, Bob Sneidar via use-livecode wrote: > Why not get the pgColumns first, alter only the array element needed for the specific column(s), then set the pgColumns of the PolyGrid? > > Bob S > > >> On Aug 24, 2023, at 1:26 PM, Paul Dupuis via use-livecode wrote: >> >> Thanks Klaus. >> >> I may use this method rather than the overhead of clearing and setting the whole pgData property. >> >> Actually, the more I think about it, neither "method" should be needed. This is a polygrid bug. If you set the pgColumsn to fewer column, regardless of whether there is left over data in pgData, only the columns in the currently set pgColumns should be seen. >> >> >> On 8/24/2023 2:34 PM, Klaus major-k via use-livecode wrote: >>> Hi Paul, >>> >>>> Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode : >>>> >>>> Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns >>>> You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. >>>> Perhaps this is a documentation bug? >>> I had success by setting the dgColumns to EMPTY first and later to the new "fewer" columns: >>> ## Button "Fewer Columns" >>> on mouseUp pMouseButton >>> local tColA, tDataA >>> local tSum >>> lock screen >>> >>> ## !! >>> set the pgColumns of widget "myTable" to EMPTY >>> ## !! >>> >>> put "rowname" into tColA[1]["name"] >>> ... >>> >>>> On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: >>>>> Hi to any polygrid developers out there, >>>>> >>>>> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 >>>>> >>>>> I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed >>>>> >>>>> Any thoughts to a work-around? >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> https://www.major-k.de/bass >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Aug 24 19:17:27 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 24 Aug 2023 19:17:27 -0400 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> Message-ID: polygrid the api is similar, but they also have some nice additional features. i have ripped all my dg's and replaced them with pg's. now, if you're using custom templates, have a look at the pl - polyList. On Thu, Aug 24, 2023 at 2:12 PM Bob Sneidar via use-livecode wrote: > > Ah thanks for that. Yes, I knew how to nest behaviors for datagrids, but I never use the Project Browser because of issues I had many years ago. I may have another look. > > What is a “pg”? I make extensive use of Datagrid properties, and whatever I might replace them with needs to provide ALL their functionality. > > Bob S > > > > On Aug 24, 2023, at 10:15 AM, Mike Kerner via use-livecode wrote: > > > > i'm pretty sure you can set a dg's behavior. then you would set the > > behavior of that behavior to the button behavior (button id 1005 of > > stack "revDataGridLibrary"), OR you can include THAT script, > > separately, set that as the behavior, and modify it > > (but, what you should really do is remove your dg's and replace them > > with pg's, imho. they're much faster and more flexible and powerful). > > the project browser has a button for each behavior in the chain of an > > object. i'm pretty sure that levure baker's assistant does, too. > > > > On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode > > wrote: > >> > >> There is also the Advanced button in the property inspector (looks like one large gear with two smaller ones) where you can type the behavior, and also has the target icon. Also, you shouldn’t have to do that every time. Once should be enough if you save the stack afterwards. > >> > >> I note that Datagrids have no way to set the behavior, since they depend on their default behavior. It was discussed long ago when nested behaviors became a thing, that there ought to be a way to edit a list of behaviors of an object. In fact it shouldn’t be that difficult to make a Behavior Browser widget of some sort. Hmmm... > >> > >> Bob S > >> > >> > >>> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode wrote: > >>> > >>> I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar > >>> > >>>> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: > >>>> > >>>> you probably know this: in the property inspector, there's a panel for > >>>> behavior, so you can just select the behavior from a menu button, > >>>> without having to type it > >>>> > >>>> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode > >>>> wrote: > >>>>> > >>>>> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar > >>>>> > >>>>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: > >>>>>> > >>>>>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. > >>>>>> > >>>>>> So I do it all in preOpen... scripts, doing something like > >>>>>> > >>>>>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ > >>>>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" > >>>>>> > >>>>>> Alex. > >>>>>> > >>>>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > >>>>>>> I am misremembering things about Behaviors. > >>>>>>> > >>>>>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. > >>>>>>> > >>>>>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? > >>>>>>> _______________________________________________ > >>>>>>> use-livecode mailing list > >>>>>>> use-livecode at lists.runrev.com > >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>>> > >>>> > >>>> -- > >>>> On the first day, God created the heavens and the Earth > >>>> On the second day, God created the oceans. > >>>> On the third day, God put the animals on hold for a few hours, > >>>> and did a little diving. > >>>> And God said, "This is good." > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From paul at researchware.com Thu Aug 24 19:56:29 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 19:56:29 -0400 Subject: Polygrid sorting Message-ID: The Polygrid, unlike the Datagrid, has no built in column sorting. You have to roll your own. Before I write my own, has anyone written a column sort (i.e click on a column header to sort by it) for a Poly grid they'd care to share? From gcanyon at gmail.com Thu Aug 24 22:04:04 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 24 Aug 2023 22:04:04 -0400 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> Message-ID: I'll admit it's not very intuitive, but: In Navigator, right-click any button. On the context menu, select Copy > Objects. Navigate to any control or card, stack, etc. Bookmarks are fine for this as well. Right-click any other control. On the context menu, select Set Copied Btn as Behavior. On Thu, Aug 24, 2023 at 7:19 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > polygrid > the api is similar, but they also have some nice additional features. > i have ripped all my dg's and replaced them with pg's. > now, if you're using custom templates, have a look at the pl - polyList. > > On Thu, Aug 24, 2023 at 2:12 PM Bob Sneidar via use-livecode > wrote: > > > > Ah thanks for that. Yes, I knew how to nest behaviors for datagrids, but > I never use the Project Browser because of issues I had many years ago. I > may have another look. > > > > What is a “pg”? I make extensive use of Datagrid properties, and > whatever I might replace them with needs to provide ALL their functionality. > > > > Bob S > > > > > > > On Aug 24, 2023, at 10:15 AM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > i'm pretty sure you can set a dg's behavior. then you would set the > > > behavior of that behavior to the button behavior (button id 1005 of > > > stack "revDataGridLibrary"), OR you can include THAT script, > > > separately, set that as the behavior, and modify it > > > (but, what you should really do is remove your dg's and replace them > > > with pg's, imho. they're much faster and more flexible and powerful). > > > the project browser has a button for each behavior in the chain of an > > > object. i'm pretty sure that levure baker's assistant does, too. > > > > > > On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode > > > wrote: > > >> > > >> There is also the Advanced button in the property inspector (looks > like one large gear with two smaller ones) where you can type the behavior, > and also has the target icon. Also, you shouldn’t have to do that every > time. Once should be enough if you save the stack afterwards. > > >> > > >> I note that Datagrids have no way to set the behavior, since they > depend on their default behavior. It was discussed long ago when nested > behaviors became a thing, that there ought to be a way to edit a list of > behaviors of an object. In fact it shouldn’t be that difficult to make a > Behavior Browser widget of some sort. Hmmm... > > >> > > >> Bob S > > >> > > >> > > >>> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > > >>> > > >>> I, too, have discovered the target icon to the right of the behavior > object field in the property inspector. Alas, using that that I see only > buttons on the current card (and stacks). I don’t see a way to navigate to > a different card and select a button there. I might have missed it. — Dar > > >>> > > >>>> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > >>>> > > >>>> you probably know this: in the property inspector, there's a panel > for > > >>>> behavior, so you can just select the behavior from a menu button, > > >>>> without having to type it > > >>>> > > >>>> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode > > >>>> wrote: > > >>>>> > > >>>>> I figured out how to do it in the IDE. I needed to include “of > stack” in the reference. — Dar > > >>>>> > > >>>>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode < > use-livecode at lists.runrev.com> wrote: > > >>>>>> > > >>>>>> Not sure how it works in the IDE - seems a problem because it > only presents button in the current stack. > > >>>>>> > > >>>>>> So I do it all in preOpen... scripts, doing something like > > >>>>>> > > >>>>>>> set the behavior of fld "F" of grp tmpName to the long id of > button "RichTextFieldBehaviour" of \ > > >>>>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My > Livecode/Libraries/richText.livecode" > > >>>>>> > > >>>>>> Alex. > > >>>>>> > > >>>>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > > >>>>>>> I am misremembering things about Behaviors. > > >>>>>>> > > >>>>>>> I have a card with my behavior buttons, but I can’t seem to > point to buttons on that card. Maybe, I’m remembering what I did long ago > with front scripts. > > >>>>>>> > > >>>>>>> I suppose I can use substacks, but I’m worried that the stacks > would be in the message path. Is there a way to keep the stack out of the > message path? > > >>>>>>> _______________________________________________ > > >>>>>>> use-livecode mailing list > > >>>>>>> use-livecode at lists.runrev.com > > >>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>>>> > > >>>>>> _______________________________________________ > > >>>>>> use-livecode mailing list > > >>>>>> use-livecode at lists.runrev.com > > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>>>> > > >>>>> > > >>>>> > > >>>>> _______________________________________________ > > >>>>> use-livecode mailing list > > >>>>> use-livecode at lists.runrev.com > > >>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>> > > >>>> > > >>>> > > >>>> -- > > >>>> On the first day, God created the heavens and the Earth > > >>>> On the second day, God created the oceans. > > >>>> On the third day, God put the animals on hold for a few hours, > > >>>> and did a little diving. > > >>>> And God said, "This is good." > > >>>> > > >>>> _______________________________________________ > > >>>> use-livecode mailing list > > >>>> use-livecode at lists.runrev.com > > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>> > > >>> > > >>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > -- > > > On the first day, God created the heavens and the Earth > > > On the second day, God created the oceans. > > > On the third day, God put the animals on hold for a few hours, > > > and did a little diving. > > > And God said, "This is good." > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > 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 heather at livecode.com Fri Aug 25 04:13:14 2023 From: heather at livecode.com (Heather Laine) Date: Fri, 25 Aug 2023 09:13:14 +0100 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> Message-ID: <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. Probably not the issue but you never know... Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: > > Hi all, > > I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. > > I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. > Code signing seems to work fine but when I get to the Notarization step I always get an > "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. > > I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. > > So far, this is what I’ve tried with the same result > > 1) Verified developer account in good status with Apple > 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, > 3) Multiple checks of my credentials in the parameters I’m using > 4) Setting up a new app specific password on my account > 5) Trying with a different Livecode application > 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. > > 7) Repeat everything on a brand new user account on my Mac > 8) Sought help through devprograms at apple.com > > > I’ve done codesigning and notarization many times before with the same developer account with no issues. > What’s new here for me is using NotaryTool and the app-specific password. > > I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) > > Thanks, > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Fri Aug 25 05:16:44 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 25 Aug 2023 12:16:44 +0300 Subject: Polygrid sorting In-Reply-To: References: Message-ID: Hello Paul, See the example in the dictionary for the "headerClick" message: local sDirection on headerClick pColumnNumber local tText put the text of me into tText put not sDirection[pColumnNumber] into sDirection[pColumnNumber] set the itemDel to tab # Sort data by this column. if sDirection[pColumnNumber] then sort lines of tText ascending by item pColumnNumber of each else sort lines of tText descending by item pColumnNumber of each end if set the text of me to tText end headerClick Kind regards, Panos -- On Fri, 25 Aug 2023 at 02:57, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > The Polygrid, unlike the Datagrid, has no built in column sorting. You > have to roll your own. > > Before I write my own, has anyone written a column sort (i.e click on a > column header to sort by it) for a Poly grid they'd care to share? > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Fri Aug 25 07:04:21 2023 From: paul at researchware.com (Paul Dupuis) Date: Fri, 25 Aug 2023 07:04:21 -0400 Subject: Polygrid sorting In-Reply-To: References: Message-ID: Thank you Panos! I must be going blind not to have seen the example when I clicked on the Dictionary entry for the message! On 8/25/2023 5:16 AM, panagiotis m via use-livecode wrote: > Hello Paul, > > See the example in the dictionary for the "headerClick" message: > > local sDirection > > on headerClick pColumnNumber > local tText > > put the text of me into tText > put not sDirection[pColumnNumber] into sDirection[pColumnNumber] > > set the itemDel to tab > > # Sort data by this column. > if sDirection[pColumnNumber] then > sort lines of tText ascending by item pColumnNumber of each > else > sort lines of tText descending by item pColumnNumber of each > end if > > set the text of me to tText > end headerClick > > Kind regards, > Panos > > -- > > On Fri, 25 Aug 2023 at 02:57, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> The Polygrid, unlike the Datagrid, has no built in column sorting. You >> have to roll your own. >> >> Before I write my own, has anyone written a column sort (i.e click on a >> column header to sort by it) for a Poly grid they'd care to share? >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Fri Aug 25 09:10:22 2023 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Fri, 25 Aug 2023 13:10:22 +0000 Subject: Merging PDF pages Message-ID: It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? Thanks. ~Roger From craig at starfirelighting.com Fri Aug 25 09:33:44 2023 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 25 Aug 2023 09:33:44 -0400 Subject: Merging PDF pages In-Reply-To: References: Message-ID: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> Hi. Sure. Try this in a button on card 1 of a new stack with, say, three cards: on mouseUp get the desktop folder open printing to pdf it & "/" & “yourNamehere" & ".pdf" repeat with x = 1 to 3 print card x end repeat close printing end mouseUp And I wonder if the new pdf widget has that built in. Craig > On Aug 25, 2023, at 9:10 AM, Eller, Roger via use-livecode wrote: > > It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? > > Thanks. > > ~Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Aug 25 09:39:56 2023 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 25 Aug 2023 09:39:56 -0400 Subject: Merging PDF pages In-Reply-To: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> References: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> Message-ID: <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> Hmmm. Rereading, did you want to be able to collect existing pdf documents, read them, and then output a single new PDF? If so, I guess you can import those documents as images on successive cards, and do what I posted earlier. Seems clunky, but then you are asking LC to do something clunky. Craig > On Aug 25, 2023, at 9:33 AM, Craig Newman via use-livecode wrote: > > Hi. > > Sure. Try this in a button on card 1 of a new stack with, say, three cards: > > on mouseUp > > get the desktop folder > > open printing to pdf it & "/" & “yourNamehere" & ".pdf" > > repeat with x = 1 to 3 > > print card x > > end repeat > > close printing > > end mouseUp > > > > And I wonder if the new pdf widget has that built in. > > > > Craig > > >> On Aug 25, 2023, at 9:10 AM, Eller, Roger via use-livecode wrote: >> >> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >> >> Thanks. >> >> ~Roger >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Aug 25 09:58:10 2023 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 25 Aug 2023 16:58:10 +0300 Subject: Merging PDF pages In-Reply-To: <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> References: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> Message-ID: <89e805a0-da4d-4468-ac39-f79d31e2268e@gmail.com> Humph . . . importing documents at images and then knitting them together . . . be aware that you will lose one the most valuable things about a PDF document: the embedded text layer. Richmond. On 25.08.23 16:39, Craig Newman via use-livecode wrote: > Hmmm. > > Rereading, did you want to be able to collect existing pdf documents, read them, and then output a single new PDF? If so, I guess you can import those documents as images on successive cards, and do what I posted earlier. > > Seems clunky, but then you are asking LC to do something clunky. > > Craig > >> On Aug 25, 2023, at 9:33 AM, Craig Newman via use-livecode wrote: >> >> Hi. >> >> Sure. Try this in a button on card 1 of a new stack with, say, three cards: >> >> on mouseUp >> >> get the desktop folder >> >> open printing to pdf it & "/" & yourNamehere" & ".pdf" >> >> repeat with x = 1 to 3 >> >> print card x >> >> end repeat >> >> close printing >> >> end mouseUp >> >> >> >> And I wonder if the new pdf widget has that built in. >> >> >> >> Craig >> >> >>> On Aug 25, 2023, at 9:10 AM, Eller, Roger via use-livecode wrote: >>> >>> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >>> >>> Thanks. >>> >>> ~Roger >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Aug 25 10:03:02 2023 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 25 Aug 2023 10:03:02 -0400 Subject: Merging PDF pages In-Reply-To: <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> References: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> Message-ID: <73387718-83BB-469A-AE58-137DB4F8C1D9@starfirelighting.com> Richmond. Did I mention this was a bit clunky? Craig > On Aug 25, 2023, at 9:39 AM, Craig Newman via use-livecode wrote: > > Hmmm. > > Rereading, did you want to be able to collect existing pdf documents, read them, and then output a single new PDF? If so, I guess you can import those documents as images on successive cards, and do what I posted earlier. > > Seems clunky, but then you are asking LC to do something clunky. > > Craig > >> On Aug 25, 2023, at 9:33 AM, Craig Newman via use-livecode wrote: >> >> Hi. >> >> Sure. Try this in a button on card 1 of a new stack with, say, three cards: >> >> on mouseUp >> >> get the desktop folder >> >> open printing to pdf it & "/" & “yourNamehere" & ".pdf" >> >> repeat with x = 1 to 3 >> >> print card x >> >> end repeat >> >> close printing >> >> end mouseUp >> >> >> >> And I wonder if the new pdf widget has that built in. >> >> >> >> Craig >> >> >>> On Aug 25, 2023, at 9:10 AM, Eller, Roger via use-livecode wrote: >>> >>> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >>> >>> Thanks. >>> >>> ~Roger >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri Aug 25 10:22:07 2023 From: paul at researchware.com (Paul Dupuis) Date: Fri, 25 Aug 2023 10:22:07 -0400 Subject: Merging PDF pages In-Reply-To: References: Message-ID: <0d130f7d-9c5c-c18e-ecfe-b5c83a4cd5ab@researchware.com> The short answer is NO. There is nothing built into Livecode to take a set fo existing PDF files and append them to create a readable PDF that is them all stitched together. Neither the XPDF external nor the PDF widget will do this. You best option is to use some 3rd party command line utility that will merge PDF files that works on the platform or platforms your want to do this on and use the Livecode shell() function to call that command line utility. If this is going to be a distributed standalone, you can actually read the utility as a binary file and compress it as a staved property in your application, that can uncompress and install it on any target computer. We do this with the popular free open-source video tool ffmpeg for macOS and WIndows. Our app install it if needed on the target computer from a compressed copy bundled into our app and we use SHELL() to call it to do several video operations that can't be done in Livecode. Paul Dupuis Researchware On 8/25/2023 9:10 AM, Eller, Roger via use-livecode wrote: > It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? > > Thanks. > > ~Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bleiler at buffalo.edu Fri Aug 25 10:37:57 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 25 Aug 2023 14:37:57 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> Message-ID: <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> Thank you Heather, I’ll take a look. Matthias Rebbe is also trying to help me find the problem. Regards, Tim Bleiler > On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode wrote: > > Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. > > Probably not the issue but you never know... > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > http://www.livecode.com/ > > > >> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >> >> Hi all, >> >> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >> >> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >> Code signing seems to work fine but when I get to the Notarization step I always get an >> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >> >> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >> >> So far, this is what I’ve tried with the same result >> >> 1) Verified developer account in good status with Apple >> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >> 3) Multiple checks of my credentials in the parameters I’m using >> 4) Setting up a new app specific password on my account >> 5) Trying with a different Livecode application >> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >> >> 7) Repeat everything on a brand new user account on my Mac >> 8) Sought help through devprograms at apple.com >> >> >> I’ve done codesigning and notarization many times before with the same developer account with no issues. >> What’s new here for me is using NotaryTool and the app-specific password. >> >> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >> >> Thanks, >> >> Tim Bleiler, Ph.D. >> Instructional Designer, HSIT >> University at Buffalo >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Aug 25 10:44:08 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 16:44:08 +0200 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> Message-ID: <186D0CBE-2783-44A3-9040-5D4395E1F269@m-r-d.de> The Keychain.app does not have any influence on passwords entered in the command line. Passwords entered in terminal will not be replaced by Keychain.app. > Am 25.08.2023 um 16:37 schrieb Timothy Bleiler via use-livecode : > > Thank you Heather, > > I’ll take a look. Matthias Rebbe is also trying to help me find the problem. > > Regards, > Tim Bleiler > > > >> On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: >> >> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. >> >> Probably not the issue but you never know... >> >> Best Regards, >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> http://www.livecode.com/ >> >> >> >>> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >>> >>> Hi all, >>> >>> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >>> >>> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >>> Code signing seems to work fine but when I get to the Notarization step I always get an >>> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >>> >>> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >>> >>> So far, this is what I’ve tried with the same result >>> >>> 1) Verified developer account in good status with Apple >>> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >>> 3) Multiple checks of my credentials in the parameters I’m using >>> 4) Setting up a new app specific password on my account >>> 5) Trying with a different Livecode application >>> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >>> >>> 7) Repeat everything on a brand new user account on my Mac >>> 8) Sought help through devprograms at apple.com >>> >>> >>> I’ve done codesigning and notarization many times before with the same developer account with no issues. >>> What’s new here for me is using NotaryTool and the app-specific password. >>> >>> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >>> >>> Thanks, >>> >>> Tim Bleiler, Ph.D. >>> Instructional Designer, HSIT >>> University at Buffalo >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Aug 25 10:52:55 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 25 Aug 2023 17:52:55 +0300 Subject: Merging PDF pages In-Reply-To: <0d130f7d-9c5c-c18e-ecfe-b5c83a4cd5ab@researchware.com> References: <0d130f7d-9c5c-c18e-ecfe-b5c83a4cd5ab@researchware.com> Message-ID: Hello all, There is a built-in utility on MacOS for merging PDFs. You can call it from "shell", as Paul suggested. This seems to work - tested on MacOS Mojave. It merges "test1.pdf" and "test2.pdf" into "merged.pdf" on Desktop. Just check that the path of tApp actually exists in modern MacOS as well. on mouseUp pButtonNumber local tShell, tApp put quote & "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" & quote \ into tApp put tApp && "-o ~/Desktop/merged.pdf ~/Desktop/test1.pdf ~/Desktop/test2.pdf" \ into tShell get shell(tShell) end mouseUp Cheers, Panos -- On Fri, 25 Aug 2023 at 17:23, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > The short answer is NO. There is nothing built into Livecode to take a > set fo existing PDF files and append them to create a readable PDF that > is them all stitched together. Neither the XPDF external nor the PDF > widget will do this. > > You best option is to use some 3rd party command line utility that will > merge PDF files that works on the platform or platforms your want to do > this on and use the Livecode shell() function to call that command line > utility. > > If this is going to be a distributed standalone, you can actually read > the utility as a binary file and compress it as a staved property in > your application, that can uncompress and install it on any target > computer. > > We do this with the popular free open-source video tool ffmpeg for macOS > and WIndows. Our app install it if needed on the target computer from a > compressed copy bundled into our app and we use SHELL() to call it to do > several video operations that can't be done in Livecode. > > Paul Dupuis > Researchware > > > > On 8/25/2023 9:10 AM, Eller, Roger via use-livecode wrote: > > It's been a while since I've posted a question here. Is it possible to > use livecode script to merge multiple 1-page PDFs into a multipage PDF > without using Acrobat or other 3rd party software? > > > > Thanks. > > > > ~Roger > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Fri Aug 25 11:00:23 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 17:00:23 +0200 Subject: Merging PDF pages In-Reply-To: References: Message-ID: On which OS are you planning to do this? On Windows and macOS you could make use of PDFTK server from PDFLabs.com On macOS PDFTK Server normally has to be installed to use it. But you could follow these steps here to get it working w/o installation. 1. Do not use the d/l link for pdftk Server from the pdfLabs website. That version will not work on macOS11 and up. Instead download this version of PDFTK Server. Sid Steward created a new version but did not update the d/l link https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg 2. to extract the pkg run the following in Terminal pkgutil --expand If the source path to the pkg contains spaces then put quotes around the path. After extraction you'll find the 2 folders lib and bin and some others .The 2 mentioned ones are needed. Now in LC you can use shell shell function to call the pdftk Example set the folder to "path to the bin folder" put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") would create combine the three file..pdf file into a new one called mynewfile.pdf I wrote this in a hurry, so i might have some error in my explanation. Just ask, if you have problems. Regards, Matthias > Am 25.08.2023 um 15:10 schrieb Eller, Roger via use-livecode : > > It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? > > Thanks. > > ~Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Fri Aug 25 11:24:08 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 25 Aug 2023 16:24:08 +0100 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> Message-ID: <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> Hi Tim, Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. Cheers and best of luck, Mark > On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: > > Thank you Heather, > > I’ll take a look. Matthias Rebbe is also trying to help me find the problem. > > Regards, > Tim Bleiler > > > >> On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: >> >> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. >> >> Probably not the issue but you never know... >> >> Best Regards, >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> http://www.livecode.com/ >> >> >> >>> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >>> >>> Hi all, >>> >>> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >>> >>> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >>> Code signing seems to work fine but when I get to the Notarization step I always get an >>> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >>> >>> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >>> >>> So far, this is what I’ve tried with the same result >>> >>> 1) Verified developer account in good status with Apple >>> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >>> 3) Multiple checks of my credentials in the parameters I’m using >>> 4) Setting up a new app specific password on my account >>> 5) Trying with a different Livecode application >>> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >>> >>> 7) Repeat everything on a brand new user account on my Mac >>> 8) Sought help through devprograms at apple.com >>> >>> >>> I’ve done codesigning and notarization many times before with the same developer account with no issues. >>> What’s new here for me is using NotaryTool and the app-specific password. >>> >>> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >>> >>> Thanks, >>> >>> Tim Bleiler, Ph.D. >>> Instructional Designer, HSIT >>> University at Buffalo >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Aug 25 14:16:01 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 20:16:01 +0200 Subject: Merging PDF pages In-Reply-To: References: Message-ID: <37B87F81-5AC8-40C7-AA0D-E518B7688A12@m-r-d.de> Just noticed that my steps are missing something. So here's version 2 of it. 1. download https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg 2. to extract the pkg run the following in Terminal pkgutil --expand If the source path to the pkg contains spaces then put quotes around the path. 3. Now open the destination path to which you've extracted the .pkg. There should be another pkg pdftk.pkg 4. right click the file pdftk.pkg and select "show package content" 5. Now you should see a file payload. Right click that file and select "open with" and select the archive utility to decompress the file payload. 6. After extraction you'll find a new folder "Payload 2" 7. open that folder. In that folder you will find the Lib and Bin folder. Copy those folder to another location. Now in LC you can use shell shell function to call the pdftk Example set the folder to "path to the bin folder" put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") would create combine the three file..pdf file into a new one called mynewfile.pdf To use pdftk server in your standalone you just have to include both folders in your standalone. On Windows you first have to run the setup of pdftk server. During the installation you can select the folder where pdftk server shall be installed. You then can copy the bin folder from that installation folder and use it with your standalone on any other computer without the need to run the setup on that computer. > Am 25.08.2023 um 17:00 schrieb matthias rebbe via use-livecode : > > On which OS are you planning to do this? > > On Windows and macOS you could make use of PDFTK server from PDFLabs.com > > On macOS PDFTK Server normally has to be installed to use it. But you could follow these steps here to get it working w/o installation. > > 1. Do not use the d/l link for pdftk Server from the pdfLabs website. That version will not work on macOS11 and up. Instead download this version of PDFTK Server. Sid Steward created a new version but did not update the d/l link > https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg > > 2. to extract the pkg run the following in Terminal > pkgutil --expand > > If the source path to the pkg contains spaces then put quotes around the path. > > After extraction you'll find the 2 folders lib and bin and some others .The 2 mentioned ones are needed. > > Now in LC you can use shell shell function to call the pdftk > > Example > set the folder to "path to the bin folder" > > put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") > > > would create combine the three file..pdf file into a new one called mynewfile.pdf > > > I wrote this in a hurry, so i might have some error in my explanation. Just ask, if you have problems. > > Regards, > > Matthias > >> Am 25.08.2023 um 15:10 schrieb Eller, Roger via use-livecode : >> >> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >> >> Thanks. >> >> ~Roger >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Fri Aug 25 14:38:42 2023 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 25 Aug 2023 11:38:42 -0700 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> Message-ID: <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> I use Matthias' brilliant “mrSignNotarizeHelperV4.livecode” project regularly and when I’ve had a problem in the past, ticking the “Debug mode” checkbox (which places each step of the terminal commands in the message box when you click the “Start” button) and then manually entering each of these steps as a command line in Terminal.app, has been helpful in figuring out exactly what step was failing. And sometimes, why. -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ > On Aug 25, 2023, at 8:24 AM, Mark Smith via use-livecode wrote: > > Hi Tim, > > Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. > > Cheers and best of luck, > Mark > >> On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: >> >> Thank you Heather, >> >> I’ll take a look. Matthias Rebbe is also trying to help me find the problem. >> >> Regards, >> Tim Bleiler >> >> >> >>> On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: >>> >>> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. >>> >>> Probably not the issue but you never know... >>> >>> Best Regards, >>> >>> Heather >>> >>> Heather Laine >>> Customer Services Manager >>> LiveCode Ltd >>> http://www.livecode.com/ >>> >>> >>> >>>> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >>>> >>>> Hi all, >>>> >>>> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >>>> >>>> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >>>> Code signing seems to work fine but when I get to the Notarization step I always get an >>>> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >>>> >>>> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >>>> >>>> So far, this is what I’ve tried with the same result >>>> >>>> 1) Verified developer account in good status with Apple >>>> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >>>> 3) Multiple checks of my credentials in the parameters I’m using >>>> 4) Setting up a new app specific password on my account >>>> 5) Trying with a different Livecode application >>>> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >>>> >>>> 7) Repeat everything on a brand new user account on my Mac >>>> 8) Sought help through devprograms at apple.com >>>> >>>> >>>> I’ve done codesigning and notarization many times before with the same developer account with no issues. >>>> What’s new here for me is using NotaryTool and the app-specific password. >>>> >>>> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >>>> >>>> Thanks, >>>> >>>> Tim Bleiler, Ph.D. >>>> Instructional Designer, HSIT >>>> University at Buffalo >>>> From bleiler at buffalo.edu Fri Aug 25 16:34:24 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 25 Aug 2023 20:34:24 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: I think I’ve solved it. I’m very grateful to Matthias both for his code signing tool and his personal help with this problem. In the end it looks like the trouble was caused by a combination of my limited experience with the process and a lack of helpful feedback from Apple’s online tools at critical points. Here’s what happened. - I have 2 user accounts on my Mac that use different Apple IDs. - Somehow the one I use for the Apple developer account had made my Mac NOT a trusted device for the Apple ID I use for development. I have no idea how this happened. You can verify that your device is trusted at appleid.apple.com for your account under “Devices”. - Despite the device not being trusted for the account, the website let me think I’d created an app-specific password. I hadn’t succeed, but my lack of experience prevented me from realizing that the second step of the process is getting the actual password back from Apple and copying it down. I didn’t get anything, no error message, so in my ignorance I thought the seed string I’d typed in WAS the password. So, I did NOT have an actual app-specific password to use in the NotaryTool commands. This caused all commands dependent on an app-specific password to fail. What solved it for me was to go to System Settings, sign out of the Apple account on the mac and sign back in again. Then sign back in to appleid.apple.com, verify that my Mac was a trusted device on my developer account and then create a NEW app-specific password. This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. Once I had the new app-specific password and my Mac was a trusted device in my developer account, the notaryTool commands worked without errors. It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! On Aug 25, 2023, at 2:38 PM, scott--- via use-livecode wrote: I use Matthias' brilliant “mrSignNotarizeHelperV4.livecode” project regularly and when I’ve had a problem in the past, ticking the “Debug mode” checkbox (which places each step of the terminal commands in the message box when you click the “Start” button) and then manually entering each of these steps as a command line in Terminal.app, has been helpful in figuring out exactly what step was failing. And sometimes, why. -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Felementarysoftware.com%2F&data=05%7C01%7Cbleiler%40buffalo.edu%7Ccc7afb2eab1b4bcb60b608dba59aa569%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C638285855863548154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2Fk0TjFvUmYt2BZ9CqydNyA9ZZx34rwuZC3FiprBPQ4s%3D&reserved=0 email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ On Aug 25, 2023, at 8:24 AM, Mark Smith via use-livecode wrote: Hi Tim, Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. Cheers and best of luck, Mark On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: Thank you Heather, I’ll take a look. Matthias Rebbe is also trying to help me find the problem. Regards, Tim Bleiler On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. Probably not the issue but you never know... Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.livecode.com%2F&data=05%7C01%7Cbleiler%40buffalo.edu%7Ccc7afb2eab1b4bcb60b608dba59aa569%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C638285855863548154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Eaw78gb3oD9j4XuzyHu%2FdyRRerM%2FT0GunR2oGocDSzM%3D&reserved=0 On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: Hi all, I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. Code signing seems to work fine but when I get to the Notarization step I always get an "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. So far, this is what I’ve tried with the same result 1) Verified developer account in good status with Apple 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, 3) Multiple checks of my credentials in the parameters I’m using 4) Setting up a new app specific password on my account 5) Trying with a different Livecode application 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. 7) Repeat everything on a brand new user account on my Mac 8) Sought help through devprograms at apple.com I’ve done codesigning and notarization many times before with the same developer account with no issues. What’s new here for me is using NotaryTool and the app-specific password. I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) Thanks, Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Cbleiler%40buffalo.edu%7Ccc7afb2eab1b4bcb60b608dba59aa569%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C638285855863548154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2BC2d%2BPJ7y3SqU33%2FFPPb3WbXaVhQSDtM0jnI3wmepmc%3D&reserved=0 From bleiler at buffalo.edu Fri Aug 25 16:41:28 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 25 Aug 2023 20:41:28 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: <6268B1CD-DE82-4979-814A-B3914DDFB456@buffalo.edu> It’s just not my day. The goofy links in my last post are just supposed to be references to the appleID site. I don’t know how all the rest of that got put in there. I’ve got to be more careful with my copy and paste I guess. > On Aug 25, 2023, at 4:34 PM, Timothy Bleiler via use-livecode wrote: > > I think I’ve solved it. I’m very grateful to Matthias both for his code signing tool and his personal help with this problem. > > In the end it looks like the trouble was caused by a combination of my limited experience with the process and a lack of helpful feedback from Apple’s online tools at critical points. > > Here’s what happened. > - I have 2 user accounts on my Mac that use different Apple IDs. > > - Somehow the one I use for the Apple developer account had made my Mac NOT a trusted device for the Apple ID I use for development. I have no idea how this happened. > You can verify that your device is trusted at appleid.apple.com for your account under “Devices”. > > - Despite the device not being trusted for the account, the website let me think I’d created an app-specific password. I hadn’t succeed, but my lack of experience prevented me from realizing that the second step of the process is getting the actual password back from Apple and copying it down. I didn’t get anything, no error message, so in my ignorance I thought the seed string I’d typed in WAS the password. So, I did NOT have an actual app-specific password to use in the NotaryTool commands. This caused all commands dependent on an app-specific password to fail. > > What solved it for me was to go to System Settings, sign out of the Apple account on the mac and sign back in again. > Then sign back in to appleid.apple.com, verify that my Mac was a trusted device on my developer account and then create a NEW app-specific password. > This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. > > Once I had the new app-specific password and my Mac was a trusted device in my developer account, the notaryTool commands worked without errors. > > It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! > > > > On Aug 25, 2023, at 2:38 PM, scott--- via use-livecode wrote: > > I use Matthias' brilliant “mrSignNotarizeHelperV4.livecode” project regularly and when I’ve had a problem in the past, ticking the “Debug mode” checkbox (which places each step of the terminal commands in the message box when you click the “Start” button) and then manually entering each of these steps as a command line in Terminal.app, has been helpful in figuring out exactly what step was failing. And sometimes, why. > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > On Aug 25, 2023, at 8:24 AM, Mark Smith via use-livecode wrote: > > Hi Tim, > > Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. > > Cheers and best of luck, > Mark > > On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: > > Thank you Heather, > > I’ll take a look. Matthias Rebbe is also trying to help me find the problem. > > Regards, > Tim Bleiler > > > > On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: > > Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. > > Probably not the issue but you never know... > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > http://www.livecode.com/ > > > > On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: > > Hi all, > > I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. > > I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. > Code signing seems to work fine but when I get to the Notarization step I always get an > "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. > > I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. > > So far, this is what I’ve tried with the same result > > 1) Verified developer account in good status with Apple > 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, > 3) Multiple checks of my credentials in the parameters I’m using > 4) Setting up a new app specific password on my account > 5) Trying with a different Livecode application > 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. > > 7) Repeat everything on a brand new user account on my Mac > 8) Sought help through devprograms at apple.com > > > I’ve done codesigning and notarization many times before with the same developer account with no issues. > What’s new here for me is using NotaryTool and the app-specific password. > > I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) > > Thanks, > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Aug 25 17:00:52 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 23:00:52 +0200 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <6268B1CD-DE82-4979-814A-B3914DDFB456@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> <6268B1CD-DE82-4979-814A-B3914DDFB456@buffalo.edu> Message-ID: If you mean that the the link was shown normal and also in sharp bracktes, then that seems to be normal here in the list. I noticed this also in the past. > Am 25.08.2023 um 22:41 schrieb Timothy Bleiler via use-livecode : > > It’s just not my day. The goofy links in my last post are just supposed to be references to the appleID site. I don’t know how all the rest of that got put in there. > I’ve got to be more careful with my copy and paste I guess. > > > >> On Aug 25, 2023, at 4:34 PM, Timothy Bleiler via use-livecode wrote: >> >> I think I’ve solved it. I’m very grateful to Matthias both for his code signing tool and his personal help with this problem. >> >> In the end it looks like the trouble was caused by a combination of my limited experience with the process and a lack of helpful feedback from Apple’s online tools at critical points. >> >> Here’s what happened. >> - I have 2 user accounts on my Mac that use different Apple IDs. >> >> - Somehow the one I use for the Apple developer account had made my Mac NOT a trusted device for the Apple ID I use for development. I have no idea how this happened. >> You can verify that your device is trusted at appleid.apple.com for your account under “Devices”. >> >> - Despite the device not being trusted for the account, the website let me think I’d created an app-specific password. I hadn’t succeed, but my lack of experience prevented me from realizing that the second step of the process is getting the actual password back from Apple and copying it down. I didn’t get anything, no error message, so in my ignorance I thought the seed string I’d typed in WAS the password. So, I did NOT have an actual app-specific password to use in the NotaryTool commands. This caused all commands dependent on an app-specific password to fail. >> >> What solved it for me was to go to System Settings, sign out of the Apple account on the mac and sign back in again. >> Then sign back in to appleid.apple.com, verify that my Mac was a trusted device on my developer account and then create a NEW app-specific password. >> This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. >> >> Once I had the new app-specific password and my Mac was a trusted device in my developer account, the notaryTool commands worked without errors. >> >> It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! >> >> >> >> On Aug 25, 2023, at 2:38 PM, scott--- via use-livecode wrote: >> >> I use Matthias' brilliant “mrSignNotarizeHelperV4.livecode” project regularly and when I’ve had a problem in the past, ticking the “Debug mode” checkbox (which places each step of the terminal commands in the message box when you click the “Start” button) and then manually entering each of these steps as a command line in Terminal.app, has been helpful in figuring out exactly what step was failing. And sometimes, why. >> >> -- >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-360-734-4701 >> ------------------------------------------------------ >> >> On Aug 25, 2023, at 8:24 AM, Mark Smith via use-livecode wrote: >> >> Hi Tim, >> >> Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. >> >> Cheers and best of luck, >> Mark >> >> On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: >> >> Thank you Heather, >> >> I’ll take a look. Matthias Rebbe is also trying to help me find the problem. >> >> Regards, >> Tim Bleiler >> >> >> >> On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: >> >> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. >> >> Probably not the issue but you never know... >> >> Best Regards, >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> http://www.livecode.com/ >> >> >> >> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >> >> Hi all, >> >> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >> >> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >> Code signing seems to work fine but when I get to the Notarization step I always get an >> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >> >> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >> >> So far, this is what I’ve tried with the same result >> >> 1) Verified developer account in good status with Apple >> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >> 3) Multiple checks of my credentials in the parameters I’m using >> 4) Setting up a new app specific password on my account >> 5) Trying with a different Livecode application >> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >> >> 7) Repeat everything on a brand new user account on my Mac >> 8) Sought help through devprograms at apple.com >> >> >> I’ve done codesigning and notarization many times before with the same developer account with no issues. >> What’s new here for me is using NotaryTool and the app-specific password. >> >> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >> >> Thanks, >> >> Tim Bleiler, Ph.D. >> Instructional Designer, HSIT >> University at Buffalo >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Aug 25 17:04:46 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 25 Aug 2023 21:04:46 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: <94EB6397-D25E-4140-9132-88D7C05F88BB@iotecdigital.com> Yes, this is the advantage of an. App specific password. It’s unrecoverable by you, and so by anyone else. Bob S On Aug 25, 2023, at 1:34 PM, Timothy Bleiler via use-livecode wrote: This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. From roger.e.eller at sealedair.com Fri Aug 25 17:15:38 2023 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Fri, 25 Aug 2023 21:15:38 +0000 Subject: Merging PDF pages In-Reply-To: <37B87F81-5AC8-40C7-AA0D-E518B7688A12@m-r-d.de> References: <37B87F81-5AC8-40C7-AA0D-E518B7688A12@m-r-d.de> Message-ID: Thank you for this and all the details, Matthias. I will give it a try. ~Roger ________________________________ From: use-livecode on behalf of matthias rebbe via use-livecode Sent: Friday, August 25, 2023 2:16 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: Merging PDF pages CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Just noticed that my steps are missing something. So here's version 2 of it. 1. download https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pdflabs.com%2Ftools%2Fpdftk-the-pdf-toolkit%2Fpdftk_server-2.02-mac_osx-10.11-setup.pkg&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842350859203%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tEXnKnbF7xT3GjOMoYKIiM%2Fv3JwkS7pzKRM3op80KMI%3D&reserved=0 2. to extract the pkg run the following in Terminal pkgutil --expand If the source path to the pkg contains spaces then put quotes around the path. 3. Now open the destination path to which you've extracted the .pkg. There should be another pkg pdftk.pkg 4. right click the file pdftk.pkg and select "show package content" 5. Now you should see a file payload. Right click that file and select "open with" and select the archive utility to decompress the file payload. 6. After extraction you'll find a new folder "Payload 2" 7. open that folder. In that folder you will find the Lib and Bin folder. Copy those folder to another location. Now in LC you can use shell shell function to call the pdftk Example set the folder to "path to the bin folder" put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") would create combine the three file..pdf file into a new one called mynewfile.pdf To use pdftk server in your standalone you just have to include both folders in your standalone. On Windows you first have to run the setup of pdftk server. During the installation you can select the folder where pdftk server shall be installed. You then can copy the bin folder from that installation folder and use it with your standalone on any other computer without the need to run the setup on that computer. > Am 25.08.2023 um 17:00 schrieb matthias rebbe via use-livecode : > > On which OS are you planning to do this? > > On Windows and macOS you could make use of PDFTK server from PDFLabs.com > > > On macOS PDFTK Server normally has to be installed to use it. But you could follow these steps here to get it working w/o installation. > > 1. Do not use the d/l link for pdftk Server from the pdfLabs website. That version will not work on macOS11 and up. Instead download this version of PDFTK Server. Sid Steward created a new version but did not update the d/l link > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pdflabs.com%2Ftools%2Fpdftk-the-pdf-toolkit%2Fpdftk_server-2.02-mac_osx-10.11-setup.pkg&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=S5yjsFoOrBWQY%2FKUhQbD6WZxAzuRiBOK6Yrval2H1Q4%3D&reserved=0 > > 2. to extract the pkg run the following in Terminal > pkgutil --expand > > If the source path to the pkg contains spaces then put quotes around the path. > > After extraction you'll find the 2 folders lib and bin and some others .The 2 mentioned ones are needed. > > Now in LC you can use shell shell function to call the pdftk > > Example > set the folder to "path to the bin folder" > > put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") > > > would create combine the three file..pdf file into a new one called mynewfile.pdf > > > I wrote this in a hurry, so i might have some error in my explanation. Just ask, if you have problems. > > Regards, > > Matthias > >> Am 25.08.2023 um 15:10 schrieb Eller, Roger via use-livecode : >> >> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >> >> Thanks. >> >> ~Roger >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 From matthias_livecode_150811 at m-r-d.de Fri Aug 25 17:17:23 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 23:17:23 +0200 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: Congratulations. Good to know that you could resolve it. And now you know why wanted to do a remote session to repeat all steps from creating app-specific pw to connecting to apples services. ;) We could have found out sooner. ;) Unfortunately your security office prohibited the use of Teamviewer. Anyway, your are now setup to use Notarytool. Matthias > Am 25.08.2023 um 22:34 schrieb Timothy Bleiler via use-livecode : > > I think I’ve solved it. I’m very grateful to Matthias both for his code signing tool and his personal help with this problem. > > In the end it looks like the trouble was caused by a combination of my limited experience with the process and a lack of helpful feedback from Apple’s online tools at critical points. > > Here’s what happened. > - I have 2 user accounts on my Mac that use different Apple IDs. > > - Somehow the one I use for the Apple developer account had made my Mac NOT a trusted device for the Apple ID I use for development. I have no idea how this happened. > You can verify that your device is trusted at appleid.apple.com for your account under “Devices”. > > - Despite the device not being trusted for the account, the website let me think I’d created an app-specific password. I hadn’t succeed, but my lack of experience prevented me from realizing that the second step of the process is getting the actual password back from Apple and copying it down. I didn’t get anything, no error message, so in my ignorance I thought the seed string I’d typed in WAS the password. So, I did NOT have an actual app-specific password to use in the NotaryTool commands. This caused all commands dependent on an app-specific password to fail. > > What solved it for me was to go to System Settings, sign out of the Apple account on the mac and sign back in again. > Then sign back in to appleid.apple.com , verify that my Mac was a trusted device on my developer account and then create a NEW app-specific password. > This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. > > Once I had the new app-specific password and my Mac was a trusted device in my developer account, the notaryTool commands worked without errors. > > It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! > > From bleiler at buffalo.edu Fri Aug 25 17:27:49 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 25 Aug 2023 21:27:49 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: Yes Matthias, I figured you had a good reason so I went back into the account and checked every single thing very carefully. When I saw that my device was not trusted I figured THAT had to be fixed!! Then I just followed your suggestion to redo everything and that’s when I learned about how the app-specific password actually works. I don’t know if I’d have figured it out without your help!! On Aug 25, 2023, at 5:17 PM, matthias rebbe via use-livecode wrote: And now you know why wanted to do a remote session to repeat all steps from creating app-specific pw to connecting to apples services. ;) We could have found out sooner. ;) Unfortunately your security office prohibited the use of Teamviewer. From jacque at hyperactivesw.com Fri Aug 25 20:07:06 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 25 Aug 2023 19:07:06 -0500 Subject: Microsoft app store Message-ID: <18a2f2a7410.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Has anyone submitted a Windows app to the Microsoft store? I have a lead and if it pans out I'd like to know if there's a resource available here. Nothing is set yet but I'm thinking ahead. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Sat Aug 26 13:44:44 2023 From: dochawk at gmail.com (doc hawk) Date: Sat, 26 Aug 2023 10:44:44 -0700 Subject: Merging PDF pages In-Reply-To: <89e805a0-da4d-4468-ac39-f79d31e2268e@gmail.com> References: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> <89e805a0-da4d-4468-ac39-f79d31e2268e@gmail.com> Message-ID: richard reasoned be aware that you will lose one the most valuable things about a PDF document: the embedded text layer. Oh, no, there’s something more valuable, which you also lose: anything over 72 dpi! I played with a pdf library for python for a bit, as well as raw pdf, without much luck. From paul at researchware.com Sun Aug 27 15:43:27 2023 From: paul at researchware.com (Paul Dupuis) Date: Sun, 27 Aug 2023 15:43:27 -0400 Subject: Adding and delete a row of data to the Polygrid Message-ID: <8ca7cfd4-8958-d429-f2a5-325fb49cf388@researchware.com> I ran into an inconsistency with the Polygrid The Polygrid property pgDataOfRow returns the data for the row indicated by what pgInternalPointer is set to. The pgData of the Polygrid is a 2D array of the form array[n][columnName]value and pgDataOfRow returns a 1D array of the form array[columnName]value. Now the properties "AddDataAfter" (or "AddDataBefore") to add a row of data to the Polygrid After )or Before) the row pointed to by pgInternalPointer expects a 2D array of the same form as pgData or array[n][columnName]value. So, consider the follow use case where you want to remove a row of data (the last row of a table) that displays subtotals for each column but then later (upon some user action or whatever) you want to add it back       put the numberOfRows      of widget "rwTableview" into N       set the pgInternalPointer of widget "rwTableview" to N       put the pgDataOfRow       of widget "rwTableview" into sColSubtotalArray -- save the subtotal row in the form sColSubtotalArray[columnName]value, a 1D array       set the pgDeleteRow       of widget "rwTableview" to N -- delete the subtotal row And now you want to add it back       put the numberOfRows      of widget "rwTableview" into N       set the pgInternalPointer of widget "rwTableview" to N       set the addDataAfter      of widget "rwTableview" to sColSubtotalArray That LAST line (addDataAfter) will fail since the array saved by the pgDataOfRow is a 1D array and addDataAfter expects a 2D array. If could a simple repeat look through the keys of sColSubtotalArry will let you build a new 2D array with 1 row and the columns being the keys or column names, so it is not hard to convert, but SHOULD YOU HAVE TO? You can convert with       put the number lines of the keys of sColSubtotalArray into N       repeat for each key tKey in sColSubtotalArray         put sColSubtotalArray[tKey] into tA[1][tKey]       end repeat      -- tA is now in the format that the addDataAfter property of the Polygrid requires. I am not sure this is a BUG. It is certainly an inconsistency and changing it would break some current code. On the other hand, the Polygrid is part of the widget set for Xavvi/Livecode Create and the goal for that tool is to have things be super easy and super intuitive for beginners (non-code or low-code app building) so I think beginners would find thsi jarring. So, is it a bug? What does the community think? From hechris at ziggo.nl Mon Aug 28 06:02:11 2023 From: hechris at ziggo.nl (Chris Heidecker) Date: Mon, 28 Aug 2023 12:02:11 +0200 Subject: Merging PDF pages In-Reply-To: References: <37B87F81-5AC8-40C7-AA0D-E518B7688A12@m-r-d.de> Message-ID: <6B873E55-C762-45C1-A2EF-6CD3E940CAE8@ziggo.nl> Hi, While applescript is still around, you could use this script. Works pretty well. https://www.macscripter.net/t/applescript-objective-c-handler-to-merge-pdf-files/72534 Regards, Chis Heidecker use scripting additions use framework "Foundation" use framework "Quartz" -- required for PDF stuff set inFiles to (choose file of type {"pdf"} with prompt "Choose your PDF files:" with multiple selections allowed) set destPosixPath to POSIX path of (choose file name default name "Combined.pdf" with prompt "Save new PDF to:") its combineFiles:inFiles savingTo:destPosixPath on combineFiles:inFiles savingTo:destPosixPath -- make URL of the first PDF set inNSURL to current application's class "NSURL"'s fileURLWithPath:(POSIX path of item 1 of inFiles) -- make PDF document from the URL set theDoc to current application's PDFDocument's alloc()'s initWithURL:inNSURL -- loop through the rest set oldDocCount to theDoc's pageCount() set inFiles to rest of inFiles repeat with aFile in inFiles -- make URL of the next PDF set inNSURL to (current application's class "NSURL"'s fileURLWithPath:(POSIX path of aFile)) -- make PDF document from the URL set newDoc to (current application's PDFDocument's alloc()'s initWithURL:inNSURL) -- loop through, moving pages set newDocCount to newDoc's pageCount() repeat with i from 1 to newDocCount -- get page of old PDF set thePDFPage to (newDoc's pageAtIndex:(i - 1)) -- zero-based indexes -- insert the page (theDoc's insertPage:thePDFPage atIndex:oldDocCount) set oldDocCount to oldDocCount + 1 end repeat end repeat set outNSURL to current application's class "NSURL"'s fileURLWithPath:destPosixPath -- save the new PDF (theDoc's writeToURL:outNSURL) end combineFiles:savingTo: > Op 25 aug. 2023, om 23:15 heeft Eller, Roger via use-livecode het volgende geschreven: > > Thank you for this and all the details, Matthias. I will give it a try. > > > ~Roger > > ________________________________ > From: use-livecode on behalf of matthias rebbe via use-livecode > Sent: Friday, August 25, 2023 2:16 PM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: Merging PDF pages > > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. > > > > Just noticed that my steps are missing something. > So here's version 2 of it. > > 1. download > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pdflabs.com%2Ftools%2Fpdftk-the-pdf-toolkit%2Fpdftk_server-2.02-mac_osx-10.11-setup.pkg&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842350859203%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tEXnKnbF7xT3GjOMoYKIiM%2Fv3JwkS7pzKRM3op80KMI%3D&reserved=0 > > 2. to extract the pkg run the following in Terminal > pkgutil --expand > > If the source path to the pkg contains spaces then put quotes around the path. > > 3. Now open the destination path to which you've extracted the .pkg. There should be another pkg pdftk.pkg > > 4. right click the file pdftk.pkg and select "show package content" > > 5. Now you should see a file payload. Right click that file and select "open with" and select the archive utility to decompress the file payload. > > 6. After extraction you'll find a new folder "Payload 2" > > 7. open that folder. In that folder you will find the Lib and Bin folder. Copy those folder to another location. > > Now in LC you can use shell shell function to call the pdftk > > Example > set the folder to "path to the bin folder" > > put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") > > > would create combine the three file..pdf file into a new one called mynewfile.pdf > > To use pdftk server in your standalone you just have to include both folders in your standalone. > > > On Windows you first have to run the setup of pdftk server. During the installation you can select the folder where pdftk server shall be installed. You then can copy the bin folder from that installation folder > and use it with your standalone on any other computer without the need to run the setup on that computer. > > > > >> Am 25.08.2023 um 17:00 schrieb matthias rebbe via use-livecode : >> >> On which OS are you planning to do this? >> >> On Windows and macOS you could make use of PDFTK server from PDFLabs.com > >> >> On macOS PDFTK Server normally has to be installed to use it. But you could follow these steps here to get it working w/o installation. >> >> 1. Do not use the d/l link for pdftk Server from the pdfLabs website. That version will not work on macOS11 and up. Instead download this version of PDFTK Server. Sid Steward created a new version but did not update the d/l link >> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pdflabs.com%2Ftools%2Fpdftk-the-pdf-toolkit%2Fpdftk_server-2.02-mac_osx-10.11-setup.pkg&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=S5yjsFoOrBWQY%2FKUhQbD6WZxAzuRiBOK6Yrval2H1Q4%3D&reserved=0 >> >> 2. to extract the pkg run the following in Terminal >> pkgutil --expand >> >> If the source path to the pkg contains spaces then put quotes around the path. >> >> After extraction you'll find the 2 folders lib and bin and some others .The 2 mentioned ones are needed. >> >> Now in LC you can use shell shell function to call the pdftk >> >> Example >> set the folder to "path to the bin folder" >> >> put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") >> >> >> would create combine the three file..pdf file into a new one called mynewfile.pdf >> >> >> I wrote this in a hurry, so i might have some error in my explanation. Just ask, if you have problems. >> >> Regards, >> >> Matthias >> >>> Am 25.08.2023 um 15:10 schrieb Eller, Roger via use-livecode : >>> >>> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >>> >>> Thanks. >>> >>> ~Roger >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Mon Aug 28 07:28:08 2023 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 28 Aug 2023 12:28:08 +0100 Subject: Adding and delete a row of data to the Polygrid In-Reply-To: <8ca7cfd4-8958-d429-f2a5-325fb49cf388@researchware.com> References: <8ca7cfd4-8958-d429-f2a5-325fb49cf388@researchware.com> Message-ID: <16800d67-52f1-4163-b3be-0293c2b17318@tweedly.net> On 27/08/2023 20:43, Paul Dupuis via use-livecode wrote: > I ran into an inconsistency with the Polygrid > ... > I am not sure this is a BUG. It is certainly an inconsistency and > changing it would break some current code. On the other hand, the > Polygrid is part of the widget set for Xavvi/Livecode Create and the > goal for that tool is to have things be super easy and super intuitive > for beginners (non-code or low-code app building) so I think beginners > would find thsi jarring. > > So, is it a bug? What does the community think? I'd say it's definitely not a bug. It may be a "missing feature". There is an asymmetry, in that there are ways to - extract one row - delete one row but only - add multiple rows. You could make a case for adding a feature to "add a single row". But I wouldn't bother,  because it's already so easy - see below. You suggested converting by >       repeat for each key tKey in sColSubtotalArray >         put sColSubtotalArray[tKey] into tA[1][tKey] >       end repeat >      -- tA is now in the format that the addDataAfter property of the > Polygrid requires. The latest LC has the additional feauture of "automatic" sequences; i.e.   put [ sColSubtotalArray ] into tA So, in fact you would simply do >       put the numberOfRows    of widget "rwTableview" into N >       set the pgInternalPointer of widget "rwTableview" to N >       set the addDataAfter       of widget "rwTableview" to [ > sColSubtotalArray] Alex. From paul at researchware.com Mon Aug 28 08:32:14 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 28 Aug 2023 08:32:14 -0400 Subject: Adding and delete a row of data to the Polygrid In-Reply-To: <16800d67-52f1-4163-b3be-0293c2b17318@tweedly.net> References: <8ca7cfd4-8958-d429-f2a5-325fb49cf388@researchware.com> <16800d67-52f1-4163-b3be-0293c2b17318@tweedly.net> Message-ID: <1e7b2270-e8c3-bd61-ac85-57d7ba9064e5@researchware.com> On 8/28/2023 7:28 AM, Alex Tweedly via use-livecode wrote: > The latest LC has the additional feauture of "automatic" sequences; i.e. Is that LC 10.0.0dp5 or LC 9.6.9 or 9.6.10rc1, which 'latest' version? From alex at tweedly.net Mon Aug 28 09:35:53 2023 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 28 Aug 2023 14:35:53 +0100 Subject: Adding and delete a row of data to the Polygrid In-Reply-To: <1e7b2270-e8c3-bd61-ac85-57d7ba9064e5@researchware.com> References: <1e7b2270-e8c3-bd61-ac85-57d7ba9064e5@researchware.com> Message-ID: <3E7422D0-0C09-4EA0-9A62-85F90EE8851A@tweedly.net> Sorry, I meant 10.x In 9.x you could do put sColSubtotalArray into tA[1] set the addDataAfter of widget "rwTableview" to tA Alex Sent from my iPhone > On 28 Aug 2023, at 13:33, Paul Dupuis via use-livecode wrote: > On 8/28/2023 7:28 AM, Alex Tweedly via use-livecode wrote: >> The latest LC has the additional feauture of "automatic" sequences; i.e. > > Is that LC 10.0.0dp5 or LC 9.6.9 or 9.6.10rc1, which 'latest' version? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 28 11:30:46 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 28 Aug 2023 11:30:46 -0400 Subject: Adding and delete a row of data to the Polygrid In-Reply-To: <3E7422D0-0C09-4EA0-9A62-85F90EE8851A@tweedly.net> References: <1e7b2270-e8c3-bd61-ac85-57d7ba9064e5@researchware.com> <3E7422D0-0C09-4EA0-9A62-85F90EE8851A@tweedly.net> Message-ID: <964690c6-e1f1-2bff-f967-b009566c041f@researchware.com> Alex, Thank you. On 8/28/2023 9:35 AM, Alex Tweedly wrote: > Sorry, I meant 10.x > > In 9.x you could do > > put sColSubtotalArray into tA[1] > set the addDataAfter of widget "rwTableview" to tA > > Alex > > Sent from my iPhone > >> On 28 Aug 2023, at 13:33, Paul Dupuis via use-livecode wrote: >> On 8/28/2023 7:28 AM, Alex Tweedly via use-livecode wrote: >>> The latest LC has the additional feauture of "automatic" sequences; i.e. >> Is that LC 10.0.0dp5 or LC 9.6.9 or 9.6.10rc1, which 'latest' version? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Mon Aug 28 13:21:51 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 28 Aug 2023 18:21:51 +0100 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: Thanks for the excellent description of the problem Tim. It may help in debugging my own “notarisation” issues in the future (tucked away for future reference)!! > > It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! And boy can I relate to that! If it wasn’t for Matthias…. Mark From panos.merakos at livecode.com Tue Aug 29 11:09:10 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 29 Aug 2023 18:09:10 +0300 Subject: [[ ANN ]] Release 9.6.10 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.10 STABLE. LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support for Android API 33, which will be a requirement for submitting new apps to the Google Play Store as of the 31st of August. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-10-stable-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From matthias_livecode_150811 at m-r-d.de Tue Aug 29 11:17:48 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Aug 2023 17:17:48 +0200 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: <3B21678A-A103-4E61-A337-BAD8753D30F1@m-r-d.de> And still Livecode Server is not working with Internet Information Server (IIS). :( > Am 29.08.2023 um 17:09 schrieb panagiotis merakos via use-livecode : > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 STABLE. > > LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-stable-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 dan at clearvisiontech.com Tue Aug 29 12:33:38 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 29 Aug 2023 16:33:38 +0000 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: Any word on 10.0.0? Biting nails!! -Dan From: use-livecode on behalf of panagiotis merakos via use-livecode Date: Tuesday, August 29, 2023 at 8:10 AM To: How to use LiveCode Cc: panagiotis merakos Subject: [[ ANN ]] Release 9.6.10 Dear list members, We are pleased to announce the release of LiveCode 9.6.10 STABLE. LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support for Android API 33, which will be a requirement for submitting new apps to the Google Play Store as of the 31st of August. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-10-stable-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards 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 Tue Aug 29 12:41:56 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 29 Aug 2023 19:41:56 +0300 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: Hello all, @matthias I am sorry for the frustration - I know you are very eager to get this fixed. But this was not planned for LC 9.6.10 anyway. @Dan The release of LC 10 DP-6 is in the final stages of testing and it is expected to appear this week. Kind regards, Panos -- On Tue, 29 Aug 2023 at 19:34, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Any word on 10.0.0? Biting nails!! > > -Dan > > > From: use-livecode on behalf of > panagiotis merakos via use-livecode > Date: Tuesday, August 29, 2023 at 8:10 AM > To: How to use LiveCode > Cc: panagiotis merakos > Subject: [[ ANN ]] Release 9.6.10 > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 STABLE. > > LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-stable-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 matthias_livecode_150811 at m-r-d.de Tue Aug 29 13:00:04 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Aug 2023 19:00:04 +0200 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Hello Panos, so for which version is it planned, if at all? Regards, Matthias > Am 29.08.2023 um 18:41 schrieb panagiotis m via use-livecode : > > Hello all, > > @matthias > I am sorry for the frustration - I know you are very eager to get this > fixed. But this was not planned for LC 9.6.10 anyway. > > @Dan > The release of LC 10 DP-6 is in the final stages of testing and it is > expected to appear this week. > > Kind regards, > Panos > -- > > On Tue, 29 Aug 2023 at 19:34, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Any word on 10.0.0? Biting nails!! >> >> -Dan >> >> >> From: use-livecode on behalf of >> panagiotis merakos via use-livecode >> Date: Tuesday, August 29, 2023 at 8:10 AM >> To: How to use LiveCode >> Cc: panagiotis merakos >> Subject: [[ ANN ]] Release 9.6.10 >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.6.10 STABLE. >> >> LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support >> for Android API 33, which will be a requirement for submitting new apps to >> the Google Play Store as of the 31st of August. >> >> You can find more details on the bug fixes and improvements of this new >> release here: >> >> https://livecode.com/livecode-9-6-10-stable-released/ >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> 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 bobsneidar at iotecdigital.com Tue Aug 29 13:16:58 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Aug 2023 17:16:58 +0000 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: I think he said in that email that v10 is expected to be released this week. Bob S On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode wrote: Hello Panos, so for which version is it planned, if at all? Regards, Matthias From merakosp at gmail.com Tue Aug 29 13:20:51 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 29 Aug 2023 20:20:51 +0300 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: Hello Matthias, I am afraid I cannot give an ETA on this. All I know is it was not planned for 9.6.10 (neither for 10 DP-6). Kind regards, Panos -- On Tue, 29 Aug 2023 at 20:17, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I think he said in that email that v10 is expected to be released this > week. > > Bob S > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Hello Panos, > so for which version is it planned, if at all? > > Regards, > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Tue Aug 29 13:29:14 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Aug 2023 19:29:14 +0200 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: Hi Bob, i did not mean when an update for LC 10 is coming, but for what version the fix is planned for Livecode Server. Currently LC Server 7 and up do not work with IIS on Windows. You have to install Apache, although Windows has a built-in web server. > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode : > > I think he said in that email that v10 is expected to be released this week. > > Bob S > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode wrote: > > Hello Panos, > so for which version is it planned, if at all? > > Regards, > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Aug 29 13:44:59 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 29 Aug 2023 13:44:59 -0400 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: No XCode version update? MacOS updater keeps harassing me to update CLT to 14.3 On Tue, Aug 29, 2023 at 1:30 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Bob, > > i did not mean when an update for LC 10 is coming, but for what version > the fix is planned for Livecode Server. > Currently LC Server 7 and up do not work with IIS on Windows. > You have to install Apache, although Windows has a built-in web server. > > > > > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>: > > > > I think he said in that email that v10 is expected to be released this > week. > > > > Bob S > > > > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello Panos, > > so for which version is it planned, if at all? > > > > Regards, > > Matthias > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From merakosp at gmail.com Tue Aug 29 14:16:26 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 29 Aug 2023 21:16:26 +0300 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: Hello Mike, I guess we will update the supported xcode version once macOS Sonoma and/or Xcode 15 - iOS 17 SDK are publicly available, so probably in LC 9.6.11 rc-1 I think you can update your CLT to 14.3, but make sure you still keep the current supported xcode version Kind regards, Panos On Tue, 29 Aug 2023, 20:46 Mike Kerner via use-livecode, < use-livecode at lists.runrev.com> wrote: > No XCode version update? MacOS updater keeps harassing me to update CLT to > 14.3 > > On Tue, Aug 29, 2023 at 1:30 PM matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Bob, > > > > i did not mean when an update for LC 10 is coming, but for what version > > the fix is planned for Livecode Server. > > Currently LC Server 7 and up do not work with IIS on Windows. > > You have to install Apache, although Windows has a built-in web server. > > > > > > > > > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode < > > use-livecode at lists.runrev.com>: > > > > > > I think he said in that email that v10 is expected to be released this > > week. > > > > > > Bob S > > > > > > > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Hello Panos, > > > so for which version is it planned, if at all? > > > > > > Regards, > > > Matthias > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > 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 MikeKerner at roadrunner.com Tue Aug 29 14:46:38 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 29 Aug 2023 14:46:38 -0400 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: i'm still running ventura, but software update is constantly trying to update CLT, even though i downloaded and installed xcode manually, not via appstore On Tue, Aug 29, 2023 at 2:17 PM panagiotis m via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Mike, > > I guess we will update the supported xcode version once macOS Sonoma and/or > Xcode 15 - iOS 17 SDK are publicly available, so probably in LC 9.6.11 rc-1 > > I think you can update your CLT to 14.3, but make sure you still keep the > current supported xcode version > > Kind regards, > Panos > > On Tue, 29 Aug 2023, 20:46 Mike Kerner via use-livecode, < > use-livecode at lists.runrev.com> wrote: > > > No XCode version update? MacOS updater keeps harassing me to update CLT > to > > 14.3 > > > > On Tue, Aug 29, 2023 at 1:30 PM matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hi Bob, > > > > > > i did not mean when an update for LC 10 is coming, but for what version > > > the fix is planned for Livecode Server. > > > Currently LC Server 7 and up do not work with IIS on Windows. > > > You have to install Apache, although Windows has a built-in web server. > > > > > > > > > > > > > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode < > > > use-livecode at lists.runrev.com>: > > > > > > > > I think he said in that email that v10 is expected to be released > this > > > week. > > > > > > > > Bob S > > > > > > > > > > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > Hello Panos, > > > > so for which version is it planned, if at all? > > > > > > > > Regards, > > > > Matthias > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > -- > > 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 dan at clearvisiontech.com Tue Aug 29 17:39:43 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 29 Aug 2023 21:39:43 +0000 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: Panos, // The release of LC 10 DP-6 is in the final stages of testing and it is expected to appear this week. As always, thanks for the update. Appreciate it! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Tuesday, August 29, 2023 at 9:43 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: [[ ANN ]] Release 9.6.10 Hello all, @matthias I am sorry for the frustration - I know you are very eager to get this fixed. But this was not planned for LC 9.6.10 anyway. @Dan The release of LC 10 DP-6 is in the final stages of testing and it is expected to appear this week. Kind regards, Panos -- On Tue, 29 Aug 2023 at 19:34, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Any word on 10.0.0? Biting nails!! > > -Dan > > > From: use-livecode on behalf of > panagiotis merakos via use-livecode > Date: Tuesday, August 29, 2023 at 8:10 AM > To: How to use LiveCode > Cc: panagiotis merakos > Subject: [[ ANN ]] Release 9.6.10 > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 STABLE. > > LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-stable-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 bdrunrev at gmail.com Wed Aug 30 02:05:44 2023 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 30 Aug 2023 07:05:44 +0100 Subject: Charts widget. In-Reply-To: <62253d2d-a416-a334-ccec-acd5fa3d9176@tweedly.net> References: <62253d2d-a416-a334-ccec-acd5fa3d9176@tweedly.net> Message-ID: Hi Alex I've started using this, quite pleased with what it can do in terms of presentation. But it seems to me (going off the Dictionary and my own tests) that it doesn't receive any mouse messages. So clicking on any of the displayed chart components has no effect. I haven't yet investigated setting jsonoptions (as the designated way to invoke more of the chartsjs functionality). Regards Bernard On Sun, Sep 25, 2022 at 9:55 PM Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > Anyone using this widget ? > > Is there some documentation (other than the obvious dictionary entries) > about how to do different kinds of chart ? > > In the last 4-6 months, I've done 3 or 4 little personal projects where > I wanted to create a chart, but I've not been able to figure out how to > use the charts widget to do time-based charts. > > What I mean is, e.g., create a chart for the following data .... > > 2022-02-01 100 > 2022-02-04 500 > 2022-02-05 525 > 2022-02-17 900 > .... > > Obviously, the dates along the X-axis should be spaced properly > according to their data value, not equally spaced and simply labelled. > > Looking at the charts.js documentation, it tells me (or rather, fails to > tell me, since I can't understand it) that I need to define an 'adapter' > and shows some sample javascript. I don't really understand how to do it > simply in javascript - far less how I could use that in the widget. > > Can anyone give me a clue or a pointer ? > > From dfe4 at cornell.edu Wed Aug 30 12:35:42 2023 From: dfe4 at cornell.edu (David Epstein) Date: Wed, 30 Aug 2023 12:35:42 -0400 Subject: Pasting text and images together? Message-ID: <2A778021-978E-46AC-A0F1-18BFE597B5EB@cornell.edu> From a web browser, or from programs like Word or (Apple) Notes, it is possible to copy to the clipboard a single selection that includes both text and images. Is there any way to paste all of this information to LiveCode—for example, placing the text in fields and the imageData in image objects, or showing everything in one field by setting the imageSource of some characters in that field? After having copied such a collection of text and image information, the keys to the fullClipboardData seem only to include text and styled text options, with no indication of the images that are included on the clipboard. David Epstein From neville.smythe at optusnet.com.au Thu Aug 31 00:11:56 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 31 Aug 2023 14:11:56 +1000 Subject: Sort bug Message-ID: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> There is a bug in sorting a container using a function, as in sort lines tVariable by myVal(each) where the function is for example function myVal pStr return item 1 of pStr + item 2 of pStr end myval If the function myVal encounters a run-time error (in the example if one of the items is not a number) the sort command fails silently: the script exits at that code line and the user is unaware that the sort (and the rest of the handler) were not executed. If you sort directly with sort lines tVariable by (item 1 of pStr + item 2 of pStr) the handler will throw an error dialog, as expected. QC has confirmed this is a bug ( bug 24321 ) that evidently has been around for a long time. Neville Smythe From richmondmathewson at gmail.com Thu Aug 31 02:41:47 2023 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 31 Aug 2023 09:41:47 +0300 Subject: Pasting text and images together? In-Reply-To: <2A778021-978E-46AC-A0F1-18BFE597B5EB@cornell.edu> References: <2A778021-978E-46AC-A0F1-18BFE597B5EB@cornell.edu> Message-ID: As far as I know image data cannot be pasted into LC. I just tried pasting a banal image of a cat from an Ecosia search into a stack directly, and into an image, to no avail. Best, Richmond. On 30.08.23 19:35, David Epstein via use-livecode wrote: > From a web browser, or from programs like Word or (Apple) Notes, it is possible to copy to the clipboard a single selection that includes both text and images. > Is there any way to paste all of this information to LiveCodefor example, placing the text in fields and the imageData in image objects, or showing everything in one field by setting the imageSource of some characters in that field? > After having copied such a collection of text and image information, the keys to the fullClipboardData seem only to include text and styled text options, with no indication of the images that are included on the clipboard. > > David Epstein > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Thu Aug 31 09:48:29 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 31 Aug 2023 16:48:29 +0300 Subject: [[ ANN ]] Release 10.0.0 DP-6 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 DP-6. LiveCode 10.0.0 DP-6 comes with more than 30 bugfixes and exciting new features. You can find more details on this new release here: https://livecode.com/livecode-10-dp-6-web-fonts-and-api-33/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team From roger.e.eller at sealedair.com Thu Aug 31 10:52:54 2023 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Thu, 31 Aug 2023 14:52:54 +0000 Subject: HTML5 failure / javascript console Message-ID: My first try of saving a simple stack as HTML5... When it tries to run, it says to check the Javascropt console, which shows the following. As a LiveCode Script only developer, none of this gives me a clue. This is on Windows, using Chrome. Failed to load resource: the server responded with a status of 404 (Not Found) TEST_STACK.html:155 run() called, but dependencies remain, so not running printErr @ TEST_STACK.html:155 standalone-9.6.10.js:48 a problem seems to have happened with Module.memoryInitializerRequest, status: 404, retrying standalone-9.6.10.html.mem useRequest @ standalone-9.6.10.js:48 standalone-9.6.10.html.mem:1 Failed to load resource: the server responded with a status of 404 (Not Found) standalone-9.6.10.js:48 Uncaught could not load memory initializer standalone-9.6.10.html.mem TEST_STACK.html:155 still waiting on run dependencies: printErr @ TEST_STACK.html:155 (anonymous) @ standalone-9.6.10.js:1 TEST_STACK.html:155 dependency: memory initializer printErr @ TEST_STACK.html:155 (anonymous) @ standalone-9.6.10.js:1 TEST_STACK.html:155 (end of list) From bobsneidar at iotecdigital.com Thu Aug 31 11:06:19 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Aug 2023 15:06:19 +0000 Subject: Sort bug In-Reply-To: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> Message-ID: I think you have to append “of each”. Sort lines of tVar by item 3 of each Bob S > On Aug 30, 2023, at 9:11 PM, Neville Smythe via use-livecode wrote: > > There is a bug in sorting a container using a function, as in > > sort lines tVariable by myVal(each) > > where the function is for example > > function myVal pStr > return item 1 of pStr + item 2 of pStr > end myval > > If the function myVal encounters a run-time error (in the example if one of the items is not a number) the sort command fails silently: the script exits at that code line and the user is unaware that the sort (and the rest of the handler) were not executed. > > If you sort directly with > > sort lines tVariable by (item 1 of pStr + item 2 of pStr) > > the handler will throw an error dialog, as expected. > > QC has confirmed this is a bug ( bug 24321 ) that evidently has been around for a long time. > > Neville Smythe > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Aug 31 11:25:14 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Aug 2023 15:25:14 +0000 Subject: Sort bug In-Reply-To: References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> Message-ID: To be more clear, the argument to “by” needs to be a chunk statement, not a value, followed by “of each”. Your function *might* work if you returned the chunk expression instead of the actual value the chunk resolves to. But why? I am not sure what the myVal() function accomplishes. Does the chunk expression change on the fly? Even so, pStr needs to be a list of numbers because you are adding them together, so it won’t return a chunk expression. Your method as it stands would resolve to “sort lines tVariable by 3” when it needs to resolve to something like “sort lines of tVariable by item 3 of each”. Further it looks like you are sorting by multiple items. You cannot do that in one statement. Instead run multiple sorts, by the last element first, down to the first element. Bob S > On Aug 31, 2023, at 8:06 AM, Bob Sneidar via use-livecode wrote: > > I think you have to append “of each”. Sort lines of tVar by item 3 of each > > Bob S > > >> On Aug 30, 2023, at 9:11 PM, Neville Smythe via use-livecode wrote: >> >> There is a bug in sorting a container using a function, as in >> >> sort lines tVariable by myVal(each) >> >> where the function is for example >> >> function myVal pStr >> return item 1 of pStr + item 2 of pStr >> end myval >> >> If the function myVal encounters a run-time error (in the example if one of the items is not a number) the sort command fails silently: the script exits at that code line and the user is unaware that the sort (and the rest of the handler) were not executed. >> >> If you sort directly with >> >> sort lines tVariable by (item 1 of pStr + item 2 of pStr) >> >> the handler will throw an error dialog, as expected. >> >> QC has confirmed this is a bug ( bug 24321 ) that evidently has been around for a long time. >> >> Neville Smythe >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Thu Aug 31 18:36:47 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Thu, 31 Aug 2023 22:36:47 +0000 Subject: Shutdown on Android Message-ID: Does the shutdown message (or shutdownRequest message) work on Android? I am playing a song using androidStartAudioPlayingInBackground. However, if the app is closed (swiping up to exit it), then the audio continues to play. So, I added an androidStopAudioPlayingInBackground command in the shutdown message to stop playing the audio. But doesn’t seem to work – audio continues to play. Any thoughts? -Dan From jacque at hyperactivesw.com Thu Aug 31 18:38:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 31 Aug 2023 17:38:17 -0500 Subject: Sort bug In-Reply-To: References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> Message-ID: <5c09a840-a483-e087-ad59-16a8802a28e4@hyperactivesw.com> Actually, the syntax is correct. It uses a custom sort function. The function call includes the "each" which means it passes the correct parameter to the custom function, which then acts on it and sends the result back to the calling handler for sorting. It's a nice way to customize the built-in sort. You can do some pretty extravagant things with it. On 8/31/23 10:25 AM, Bob Sneidar via use-livecode wrote: > To be more clear, the argument to “by” needs to be a chunk statement, not a value, followed by “of each”. Your function *might* work if you returned the chunk expression instead of the actual value the chunk resolves to. > > But why? I am not sure what the myVal() function accomplishes. Does the chunk expression change on the fly? Even so, pStr needs to be a list of numbers because you are adding them together, so it won’t return a chunk expression. > > Your method as it stands would resolve to “sort lines tVariable by 3” when it needs to resolve to something like “sort lines of tVariable by item 3 of each”. > > Further it looks like you are sorting by multiple items. You cannot do that in one statement. Instead run multiple sorts, by the last element first, down to the first element. > > Bob S > > >> On Aug 31, 2023, at 8:06 AM, Bob Sneidar via use-livecode wrote: >> >> I think you have to append “of each”. Sort lines of tVar by item 3 of each >> >> Bob S >> >> >>> On Aug 30, 2023, at 9:11 PM, Neville Smythe via use-livecode wrote: >>> >>> There is a bug in sorting a container using a function, as in >>> >>> sort lines tVariable by myVal(each) >>> >>> where the function is for example >>> >>> function myVal pStr >>> return item 1 of pStr + item 2 of pStr >>> end myval >>> >>> If the function myVal encounters a run-time error (in the example if one of the items is not a number) the sort command fails silently: the script exits at that code line and the user is unaware that the sort (and the rest of the handler) were not executed. >>> >>> If you sort directly with >>> >>> sort lines tVariable by (item 1 of pStr + item 2 of pStr) >>> >>> the handler will throw an error dialog, as expected. >>> >>> QC has confirmed this is a bug ( bug 24321 ) that evidently has been around for a long time. >>> >>> Neville Smythe >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Aug 31 19:37:40 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Aug 2023 23:37:40 +0000 Subject: Sort bug In-Reply-To: <5c09a840-a483-e087-ad59-16a8802a28e4@hyperactivesw.com> References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> <5c09a840-a483-e087-ad59-16a8802a28e4@hyperactivesw.com> Message-ID: <3023053B-4955-4CA4-BA8C-7532DF5F90C0@iotecdigital.com> The function is adding the value of two chunks together and returning the result. How does that even compute? Unless the + operator is doing something totally different here… Bob S On Aug 31, 2023, at 3:38 PM, J. Landman Gay via use-livecode wrote: Actually, the syntax is correct. It uses a custom sort function. The function call includes the "each" which means it passes the correct parameter to the custom function, which then acts on it and sends the result back to the calling handler for sorting. It's a nice way to customize the built-in sort. You can do some pretty extravagant things with it. On 8/31/23 10:25 AM, Bob Sneidar via use-livecode wrote: From alex at tweedly.net Thu Aug 31 19:53:23 2023 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 1 Sep 2023 00:53:23 +0100 Subject: Sort bug In-Reply-To: <3023053B-4955-4CA4-BA8C-7532DF5F90C0@iotecdigital.com> References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> <5c09a840-a483-e087-ad59-16a8802a28e4@hyperactivesw.com> <3023053B-4955-4CA4-BA8C-7532DF5F90C0@iotecdigital.com> Message-ID: On 01/09/2023 00:37, Bob Sneidar via use-livecode wrote: > The function is adding the value of two chunks together and returning the result. How does that even compute? Unless the + operator is doing something totally different here The code said: > sort lines tVariable by myVal(each) > > where the function is for example > > function myVal pStr > return item 1 of pStr + item 2 of pStr > end myval since it's sorting the lines of the container, it calls the custom function with each line in turn. The function simply adds together the first two items from the passed-in line, and returns that. The returned value is associated with the corresponding line - and then the container is sorted by those associated values. This works fine if the input variable is well formatted (i.e. first and second items of each line are numeric), but fails to give an error when something goes wrong - such as a non-numeric item. (and, yes - the dictionary description is misleading, if not simply incorrect. However, the "Tip" at the end describes the use of ustom functions). Alex. From brian at milby7.com Thu Aug 31 21:29:17 2023 From: brian at milby7.com (Brian Milby) Date: Thu, 31 Aug 2023 21:29:17 -0400 Subject: Sort bug In-Reply-To: References: Message-ID: <9DE07A74-F443-4C9F-AA16-66A2B17AC606@milby7.com> I just tried this in 10dp5 and the sort didn’t completely bail (it put the error value first) but it did error when including inline (as in the bug report). If I add a try, then it will stop on the throw. Not sure how much this would slow down execution though. function myVal pStr local tResult try put item 1 of pStr + item 2 of pStr into tResult catch errorVariable throw "Bad data" end try return tResult end myVal Brian Milby brian at milby7.com > On Aug 31, 2023, at 7:53 PM, Alex Tweedly via use-livecode wrote: > >  >> On 01/09/2023 00:37, Bob Sneidar via use-livecode wrote: >> The function is adding the value of two chunks together and returning the result. How does that even compute? Unless the + operator is doing something totally different here… > > The code said: > >> sort lines tVariable by myVal(each) >> >> where the function is for example >> >> function myVal pStr >> return item 1 of pStr + item 2 of pStr >> end myval > since it's sorting the lines of the container, it calls the custom function with each line in turn. The function simply adds together the first two items from the passed-in line, and returns that. The returned value is associated with the corresponding line - and then the container is sorted by those associated values. > > This works fine if the input variable is well formatted (i.e. first and second items of each line are numeric), but fails to give an error when something goes wrong - such as a non-numeric item. > > (and, yes - the dictionary description is misleading, if not simply incorrect. However, the "Tip" at the end describes the use of ustom functions). > > Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jerry at jhjensen.com Tue Aug 1 01:27:46 2023 From: jerry at jhjensen.com (Jerry Jensen) Date: Mon, 31 Jul 2023 22:27:46 -0700 Subject: Managing windows in the IDE on Mac In-Reply-To: <189af3d71f8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9B368B43-B56B-43AE-A1D7-AF825538B07F@swcp.com> <189af3d71f8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I now always "set the backdrop to none” right away in the main stack. Otherwise mine is always black. Pain. .Jerry > On Jul 31, 2023, at 8:56 PM, J. Landman Gay via use-livecode wrote: > > Hey Dar! So nice to see you here again. > > The backdrop problem is a known bug on Ventura. Sometimes you can click where the window ought to be and it comes to the front, but basically windowing is broken. The only fix I know of for now is to not use a backdrop. > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On July 31, 2023 7:50:52 PM Dar Scott via use-livecode wrote: > >> It has been a while. Hi, all. I’m getting back into LiveCode. >> >> I’m using 9.6.9 on Mac Ventura. >> >> I’m having a lot of trouble with the windows in the IDE. The backdrop doesn’t always work. The stack I’m working on keeps disappearing. I can check Float above everything, but that is not what I need and it can become a problem when I want to look at something else. The Project Browser stays behind everything and then disappears when I click on it. >> >> Dar >> >> >> >> >> Dar Scott >> >>  >> >> +1.505.433.1024 | darzLAB.com | DarScott at darzLAB.com >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 04:35:40 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 1 Aug 2023 11:35:40 +0300 Subject: Query Android Version Code In-Reply-To: References: <20230721005258.Horde.fGWFLX7QeysnQIb4kFMIKDN@hub.4wsys.com> <238B28B2-9D91-4156-81BC-0C4EB7CE7F07@iotecdigital.com> <8a40bc65-b369-3673-37ad-5702eee68f5d@researchware.com> Message-ID: Hello Dan, You can do something like this: *put* the cRevStandaloneSettings["android,version code"] of this stack Kind regards, Panos -- On Sat, 22 Jul 2023 at 00:02, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Does anyone know if there is a way to query the “Version Code” that you > enter in the Application Settings screen? > > -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 ambassador at fourthworld.com Tue Aug 1 09:09:29 2023 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 01 Aug 2023 13:09:29 +0000 Subject: Update RE: LC domains for sale Message-ID: <20230801130929.Horde.wNIt98pS8I5_bFopHyuMQc9@hub.4wsys.com> learnlivecode.com is being sold (buyer has good plans for teachingLiveCode scripting, and I wish him the best with that).   livecodeworld.com remains available for now.   ------ original message -- I had taken out these domains some time ago for possible projects, but now I'm planning on having those proposed services become part of the existing livecodejournal.com domain instead.   If anyone here is interested in these domains they're listed at AfterNIC.com, and I'd be happy to negotiate favorable pricing if you have a community-oriented use in mind:     livecodeworld.com learnlivecode.com   --   Richard Gaskin Fourth World Systems   From dsc at swcp.com Tue Aug 1 11:39:35 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 1 Aug 2023 09:39:35 -0600 Subject: Tab button is not getting messages Message-ID: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> I have a tab button on a background. It does not seem to be getting menuPick. I tried mouseUp and that does not work, either. A checkbox on the same background does get a mouseUp. I tried beeps and puts, but nothing. (I’m switching to a card whose name is pChosenItem.) Dar From dsc at swcp.com Tue Aug 1 11:40:46 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 1 Aug 2023 09:40:46 -0600 Subject: Managing windows in the IDE on Mac In-Reply-To: References: <9B368B43-B56B-43AE-A1D7-AF825538B07F@swcp.com> <189af3d71f8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Thanks, all! > On Jul 31, 2023, at 11:27 PM, Jerry Jensen via use-livecode wrote: > > I now always "set the backdrop to none” right away in the main stack. Otherwise mine is always black. Pain. > .Jerry > >> On Jul 31, 2023, at 8:56 PM, J. Landman Gay via use-livecode wrote: >> >> Hey Dar! So nice to see you here again. >> >> The backdrop problem is a known bug on Ventura. Sometimes you can click where the window ought to be and it comes to the front, but basically windowing is broken. The only fix I know of for now is to not use a backdrop. >> >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On July 31, 2023 7:50:52 PM Dar Scott via use-livecode wrote: >> >>> It has been a while. Hi, all. I’m getting back into LiveCode. >>> >>> I’m using 9.6.9 on Mac Ventura. >>> >>> I’m having a lot of trouble with the windows in the IDE. The backdrop doesn’t always work. The stack I’m working on keeps disappearing. I can check Float above everything, but that is not what I need and it can become a problem when I want to look at something else. The Project Browser stays behind everything and then disappears when I click on it. >>> >>> Dar >>> >>> >>> >>> >>> Dar Scott >>> >>>  >>> >>> +1.505.433.1024 | darzLAB.com | DarScott at darzLAB.com >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 11:46:13 2023 From: david.bovill at gmail.com (David Bovill) Date: Tue, 1 Aug 2023 16:46:13 +0100 Subject: Snapshot of browser not working? Message-ID: I cannot find a specific bug report - but I am trying to take a snapshot of a browser widget to capture an image of the website. In the latest 10 DP 5 on MacOS M2 i get a very truncated text of the image (a few lines) in all formats using: *export* snapshot from widget "Browser" to pictVariable as PNG Is this something that works on other platforms or livecode versions? From bobsneidar at iotecdigital.com Tue Aug 1 11:47:19 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 1 Aug 2023 15:47:19 +0000 Subject: Tab button is not getting messages In-Reply-To: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> References: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> Message-ID: Tab button or tab widget? Bob S > On Aug 1, 2023, at 8:39 AM, Dar Scott via use-livecode wrote: > > > I have a tab button on a background. It does not seem to be getting menuPick. I tried mouseUp and that does not work, either. A checkbox on the same background does get a mouseUp. I tried beeps and puts, but nothing. (I’m switching to a card whose name is pChosenItem.) > > Dar > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 1 12:10:29 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 1 Aug 2023 10:10:29 -0600 Subject: Tab button is not getting messages In-Reply-To: References: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> Message-ID: <87445B73-94CB-4ACE-825C-4F906ED1F177@swcp.com> There’s a tab widget? Cool. I guess I’m using a tab button. I think I know what is the problem, though I don’t remember what I did to do cause it. Some of the backgrounds are really different; they just look the same. I edit the background (the tab button script) but the button script does not show up on most of the cards. How do I place the correct background on each card? Dar > On Aug 1, 2023, at 9:47 AM, Bob Sneidar via use-livecode wrote: > > Tab button or tab widget? > > Bob S > > >> On Aug 1, 2023, at 8:39 AM, Dar Scott via use-livecode wrote: >> >> >> I have a tab button on a background. It does not seem to be getting menuPick. I tried mouseUp and that does not work, either. A checkbox on the same background does get a mouseUp. I tried beeps and puts, but nothing. (I’m switching to a card whose name is pChosenItem.) >> >> Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 13:06:34 2023 From: paul at researchware.com (Paul Dupuis) Date: Tue, 1 Aug 2023 13:06:34 -0400 Subject: Snapshot of browser not working? In-Reply-To: References: Message-ID: <601f239b-8b6f-bb0f-b0ba-4a5ac78d29a6@researchware.com> Exporting a snapshot of a PLAYER fails under Windows (see https://quality.livecode.com/show_bug.cgi?id=23694). Exporting the Browser widget may be related? If it is reproducible in a test stack, you shoud file a bug report with a test stack to demonstrate the error. I seem to recall other export snapshot bugs. There is one related to multiple displays (https://quality.livecode.com/show_bug.cgi?id=22852) and there may be others. On 8/1/2023 11:46 AM, David Bovill via use-livecode wrote: > I cannot find a specific bug report - but I am trying to take a snapshot of > a browser widget to capture an image of the website. In the latest 10 DP 5 > on MacOS M2 i get a very truncated text of the image (a few lines) in all > formats using: > > *export* snapshot from widget "Browser" to pictVariable as PNG > > Is this something that works on other platforms or livecode versions? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 1 13:13:58 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 1 Aug 2023 10:13:58 -0700 Subject: Tab button is not getting messages In-Reply-To: <87445B73-94CB-4ACE-825C-4F906ED1F177@swcp.com> References: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> <87445B73-94CB-4ACE-825C-4F906ED1F177@swcp.com> Message-ID: place background onto card There are other ways (cough, Navigator has built in support), but that will do it. On Tue, Aug 1, 2023 at 9:11 AM Dar Scott via use-livecode < use-livecode at lists.runrev.com> wrote: > > There’s a tab widget? Cool. > > I guess I’m using a tab button. > > I think I know what is the problem, though I don’t remember what I did to > do cause it. Some of the backgrounds are really different; they just look > the same. I edit the background (the tab button script) but the button > script does not show up on most of the cards. > > How do I place the correct background on each card? > > Dar > > > > On Aug 1, 2023, at 9:47 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Tab button or tab widget? > > > > Bob S > > > > > >> On Aug 1, 2023, at 8:39 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> > >> I have a tab button on a background. It does not seem to be getting > menuPick. I tried mouseUp and that does not work, either. A checkbox on the > same background does get a mouseUp. I tried beeps and puts, but nothing. > (I’m switching to a card whose name is pChosenItem.) > >> > >> Dar > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Aug 4 09:47:40 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 4 Aug 2023 16:47:40 +0300 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available Message-ID: Hello all, Just to let you know that there is an update of the enhancements bundle available in your account area. Latest update 1.0.32: 4 August 2023 This update includes some bugfixes. I'll update BugZilla later tonight. Note that when installing this new version using the stack "WidgetPackInstaller.livecode" that is included in the bundle, you might need to restart the LC IDE once (or twice) - you will get a dialog asking you to do so. Kind regards, Panos -- From marksmithhfx at gmail.com Fri Aug 4 10:03:53 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 4 Aug 2023 15:03:53 +0100 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: <9D343B29-08A3-49FC-8298-D4B6F75488EC@gmail.com> Hi Panos, while you are updating Bugzilla could you make a brief list of the bug fixes and post them here? Mark Sent from my iPhone > On Aug 4, 2023, at 2:49 PM, panagiotis merakos via use-livecode wrote: > > Hello all, > > Just to let you know that there is an update of the enhancements bundle > available in your account area. > > Latest update 1.0.32: 4 August 2023 > > This update includes some bugfixes. I'll update BugZilla later tonight. > > Note that when installing this new version using the stack > "WidgetPackInstaller.livecode" that is included in the bundle, you might > need to restart the LC IDE once (or twice) - you will get a dialog asking > you to do so. > > Kind regards, > Panos > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Aug 4 10:05:45 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Aug 2023 16:05:45 +0200 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: Hi Panos, > Am 04.08.2023 um 15:47 schrieb panagiotis merakos via use-livecode : > > Hello all, > > Just to let you know that there is an update of the enhancements bundle > available in your account area. > Latest update 1.0.32: 4 August 2023 > This update includes some bugfixes. I'll update BugZilla later tonight. thanks! it might be agood idea to show the VERSION number in the filename, which still reads: livecode_enhancements-1_0_0.zip > Note that when installing this new version using the stack > "WidgetPackInstaller.livecode" that is included in the bundle, you might > need to restart the LC IDE once (or twice) - you will get a dialog asking > you to do so. And it also shows the beloved "A stack with that name is already in memory..." (not funny!) however without the evil circle of death after clicking "Purge". 8-) > Kind regards, > Panos Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Fri Aug 4 10:12:28 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 4 Aug 2023 17:12:28 +0300 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: Hello all, @Mark There is a file "changelog.txt" in the bundle that describes all the bugfixes and new features that are added per widget. @Klaus Heh, I think the .zip file has this version (1_0_0) because it allows us to update it more easily. If you unzip it, it should show the actual version: "livecode_enhancements-1_0_32". Kind regards, Panos -- On Fri, 4 Aug 2023 at 17:06, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > > Am 04.08.2023 um 15:47 schrieb panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hello all, > > > > Just to let you know that there is an update of the enhancements bundle > > available in your account area. > > Latest update 1.0.32: 4 August 2023 > > This update includes some bugfixes. I'll update BugZilla later tonight. > > thanks! > > it might be agood idea to show the VERSION number in the filename, > which still reads: livecode_enhancements-1_0_0.zip > > > Note that when installing this new version using the stack > > "WidgetPackInstaller.livecode" that is included in the bundle, you might > > need to restart the LC IDE once (or twice) - you will get a dialog asking > > you to do so. > > And it also shows the beloved "A stack with that name is already in > memory..." > (not funny!) however without the evil circle of death after clicking > "Purge". 8-) > > > Kind regards, > > Panos > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Fri Aug 4 10:16:53 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Aug 2023 16:16:53 +0200 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: <8EFAABC0-FFB8-410F-B2CB-1FE25F5086A5@major-k.de> Hi Panos, > Am 04.08.2023 um 16:12 schrieb panagiotis m via use-livecode : > > Hello all, > > @Mark > There is a file "changelog.txt" in the bundle that describes all the > bugfixes and new features that are added per widget. > > @Klaus > Heh, I think the .zip file has this version (1_0_0) because it allows us to > update it more easily. If you unzip it, it should show the actual version: > "livecode_enhancements-1_0_32". OK, get it, they thou shalt be forgiven! :-D > Kind regards, > Panos > -- > > On Fri, 4 Aug 2023 at 17:06, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Panos, >> >>> Am 04.08.2023 um 15:47 schrieb panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hello all, >>> >>> Just to let you know that there is an update of the enhancements bundle >>> available in your account area. >>> Latest update 1.0.32: 4 August 2023 >>> This update includes some bugfixes. I'll update BugZilla later tonight. >> >> thanks! >> >> it might be agood idea to show the VERSION number in the filename, >> which still reads: livecode_enhancements-1_0_0.zip >> >>> Note that when installing this new version using the stack >>> "WidgetPackInstaller.livecode" that is included in the bundle, you might >>> need to restart the LC IDE once (or twice) - you will get a dialog asking >>> you to do so. >> >> And it also shows the beloved "A stack with that name is already in >> memory..." >> (not funny!) however without the evil circle of death after clicking >> "Purge". 8-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From marksmithhfx at gmail.com Fri Aug 4 10:18:28 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 4 Aug 2023 15:18:28 +0100 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: <00186242-1BF3-4431-8155-3B9E50AEE527@gmail.com> Many thanks!! > On 4 Aug 2023, at 3:12 pm, panagiotis m via use-livecode wrote: > > @Mark > There is a file "changelog.txt" in the bundle that describes all the > bugfixes and new features that are added per widget. From derek-lc-list at speedbump.io Fri Aug 4 10:23:20 2023 From: derek-lc-list at speedbump.io (Derek Bump) Date: Fri, 04 Aug 2023 14:23:20 +0000 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: <7-IZ5w3cxMIWVwf9cLAauFtIeZaYjW4cj9MXNvTlgP2Bf-WGpCy8_ppPBgzmWY6KrPfpgaL-pX7IJqu5wCVEd4FNMTNpqlAgonmj9v3n_nU=@speedbump.io> Hello Panos, Thank you! The enhancements bundle, specifically PolyList and PolyGrid, have been incredibly helpful in my projects. I've noticed I have different versions of PolyList in the "Extensions" folder under my "My LiveCode" directory. How can I be sure the proper version is being loaded? Should I be clearing out the old versions, or does your installer handle that? Thanks again, Thank you, Derek Bump ------- Original Message ------- On Friday, August 4th, 2023 at 08:47, panagiotis merakos via use-livecode wrote: > > > Hello all, > > Just to let you know that there is an update of the enhancements bundle > available in your account area. > > Latest update 1.0.32: 4 August 2023 > > This update includes some bugfixes. I'll update BugZilla later tonight. > > Note that when installing this new version using the stack > "WidgetPackInstaller.livecode" that is included in the bundle, you might > need to restart the LC IDE once (or twice) - you will get a dialog asking > you to do so. > > Kind regards, > Panos > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Aug 4 10:37:58 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 4 Aug 2023 17:37:58 +0300 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: <7-IZ5w3cxMIWVwf9cLAauFtIeZaYjW4cj9MXNvTlgP2Bf-WGpCy8_ppPBgzmWY6KrPfpgaL-pX7IJqu5wCVEd4FNMTNpqlAgonmj9v3n_nU=@speedbump.io> References: <7-IZ5w3cxMIWVwf9cLAauFtIeZaYjW4cj9MXNvTlgP2Bf-WGpCy8_ppPBgzmWY6KrPfpgaL-pX7IJqu5wCVEd4FNMTNpqlAgonmj9v3n_nU=@speedbump.io> Message-ID: Hello Derek, Indeed, those 2 widgets are probably the ones I mostly use in my projects as well! *>>>>How can I be sure the proper version is being loaded? Should I be clearing out the old versions, or does your installer handle that?* The installer does handle that - it removes existing versions and installs the newest ones. Kind regards, Panos -- On Fri, 4 Aug 2023 at 17:24, Derek Bump via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Panos, > > Thank you! The enhancements bundle, specifically PolyList and PolyGrid, > have been incredibly helpful in my projects. > > I've noticed I have different versions of PolyList in the "Extensions" > folder under my "My LiveCode" directory. How can I be sure the proper > version is being loaded? Should I be clearing out the old versions, or does > your installer handle that? > > Thanks again, > > Thank you, > Derek Bump > > > ------- Original Message ------- > On Friday, August 4th, 2023 at 08:47, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > > > Hello all, > > > > Just to let you know that there is an update of the enhancements bundle > > available in your account area. > > > > Latest update 1.0.32: 4 August 2023 > > > > This update includes some bugfixes. I'll update BugZilla later tonight. > > > > Note that when installing this new version using the stack > > "WidgetPackInstaller.livecode" that is included in the bundle, you might > > need to restart the LC IDE once (or twice) - you will get a dialog asking > > you to do so. > > > > Kind regards, > > Panos > > > > > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From derek-lc-list at speedbump.io Fri Aug 4 11:03:58 2023 From: derek-lc-list at speedbump.io (Derek Bump) Date: Fri, 04 Aug 2023 15:03:58 +0000 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: <7-IZ5w3cxMIWVwf9cLAauFtIeZaYjW4cj9MXNvTlgP2Bf-WGpCy8_ppPBgzmWY6KrPfpgaL-pX7IJqu5wCVEd4FNMTNpqlAgonmj9v3n_nU=@speedbump.io> Message-ID: <7SCN-uX9JIHdPtBNI_GICg6CfTvB_7Sy7JTU0c4eo73V5jEcYXEh2-NHXaq_NW9SEPmD9mXuGp9q-F2T7nrIBA7NEukM_bSjNJTL9qLMwnM=@speedbump.io> Hello Panos, Excellent, thank you for the quick response. Regards, Derek Bump ------- Original Message ------- On Friday, August 4th, 2023 at 09:37, panagiotis m via use-livecode wrote: > > > Hello Derek, > > Indeed, those 2 widgets are probably the ones I mostly use in my projects > as well! > > > *>>>>How can I be sure the proper version is being loaded? Should I be > > clearing out the old versions, or does your installer handle that?* > The installer does handle that - it removes existing versions and installs > the newest ones. > > Kind regards, > Panos > -- > > On Fri, 4 Aug 2023 at 17:24, Derek Bump via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello Panos, > > > > Thank you! The enhancements bundle, specifically PolyList and PolyGrid, > > have been incredibly helpful in my projects. > > > > I've noticed I have different versions of PolyList in the "Extensions" > > folder under my "My LiveCode" directory. How can I be sure the proper > > version is being loaded? Should I be clearing out the old versions, or does > > your installer handle that? > > > > Thanks again, > > > > Thank you, > > Derek Bump > > > > ------- Original Message ------- > > On Friday, August 4th, 2023 at 08:47, panagiotis merakos via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hello all, > > > > > > Just to let you know that there is an update of the enhancements bundle > > > available in your account area. > > > > > > Latest update 1.0.32: 4 August 2023 > > > > > > This update includes some bugfixes. I'll update BugZilla later tonight. > > > > > > Note that when installing this new version using the stack > > > "WidgetPackInstaller.livecode" that is included in the bundle, you might > > > need to restart the LC IDE once (or twice) - you will get a dialog asking > > > you to do so. > > > > > > Kind regards, > > > Panos > > > > > > -- > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Aug 5 03:21:32 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 5 Aug 2023 00:21:32 -0700 Subject: If you're using the github version of Navigator, please update Message-ID: Turns out I had a glitch I didn't notice with my github client, and no updates were making it to main for some time now. So if you happen to have installed Navigator by cloning the repo, now would be a good time to update. Some improvements that have happened: 1. I completely did away with the stack and card menus, replacing them with a single Target menu (indicated by a bullseye). It lists every stack with a submenu that includes things like Go (goes to the stack), Toplevel (Toplevels the stack), Card List and Background List, and further submenus for the cards and backgrounds, allowing you to focus on any of them. This fixes several small issues with the previous stack and card target menus. Remember that Navigator can display multiple targets if you hold down the Shift key while choosing a target -- you can have as many as you like, subject to performance limitations. Note: if anyone finds this menu to be too slow, let me know -- it does count through all cards and backgrounds of every stack, but in my experience unless you're dealing with literally tens of thousands of cards it should be fine. I could write some sort of caching algorithm and make updates manual -- or something, I haven't thought about it too much. 2. I improved the The MouseStack targeting functionality. I don't know what I was thinking before with the usability of the click, or long-click, on the menu. So at this point the menu is just a menu -- select "the mouseStack" on the menu and you get the pointer bullseye, then click over whatever target you like to select it in Navigator. 3. I switched to the merge function for the custom list display string. This opens up a ridiculous set of possibilities if anyone cares to really dig in. If you find any bugs let me know. From brian at milby7.com Sat Aug 5 09:51:52 2023 From: brian at milby7.com (Brian Milby) Date: Sat, 5 Aug 2023 09:51:52 -0400 Subject: If you're using the github version of Navigator, please update In-Reply-To: References: Message-ID: <6FC62E02-9350-4612-BA3E-45F8F8776126@milby7.com> Thanks for the heads up. This is a great tool that I probably should be using more than I do. I appreciate your work on this! Brian Milby brian at milby7.com > On Aug 5, 2023, at 3:23 AM, Geoff Canyon via use-livecode wrote: > > Turns out I had a glitch I didn't notice with my github client, and no > updates were making it to main for some time now. So if you happen to have > installed Navigator by cloning the repo, now would be a good time to > update. Some improvements that have happened: > > 1. I completely did away with the stack and card menus, replacing them > with a single Target menu (indicated by a bullseye). It lists every stack > with a submenu that includes things like Go (goes to the stack), Toplevel > (Toplevels the stack), Card List and Background List, and further submenus > for the cards and backgrounds, allowing you to focus on any of them. This > fixes several small issues with the previous stack and card target menus. > > Remember that Navigator can display multiple targets if you hold down the > Shift key while choosing a target -- you can have as many as you like, > subject to performance limitations. > > Note: if anyone finds this menu to be too slow, let me know -- it does > count through all cards and backgrounds of every stack, but in my > experience unless you're dealing with literally tens of thousands of cards > it should be fine. I could write some sort of caching algorithm and make > updates manual -- or something, I haven't thought about it too much. > > 2. I improved the The MouseStack targeting functionality. I don't know what > I was thinking before with the usability of the click, or long-click, on > the menu. So at this point the menu is just a menu -- select "the > mouseStack" on the menu and you get the pointer bullseye, then click over > whatever target you like to select it in Navigator. > > 3. I switched to the merge function for the custom list display string. > This opens up a ridiculous set of possibilities if anyone cares to really > dig in. > > If you find any bugs let me know. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Aug 5 10:31:21 2023 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Sat, 5 Aug 2023 10:31:21 -0400 Subject: Snapshot of browser not working? In-Reply-To: References: Message-ID: I believe this is a bug/feature of the browser widget being a native control. What has worked for me is being more specific about the snapshot location. export snapshot from rect globalRect(the rect of widget “Browser" of group “foo") to pictVariable as PNG This has worked in macOS and Windows standalones for a current project. Hope that helps! —Andrew Bell > Subject: Snapshot of browser not working? > Message-ID: > > Content-Type: text/plain; charset="UTF-8" > > I cannot find a specific bug report - but I am trying to take a snapshot of > a browser widget to capture an image of the website. In the latest 10 DP 5 > on MacOS M2 i get a very truncated text of the image (a few lines) in all > formats using: > > *export* snapshot from widget "Browser" to pictVariable as PNG > > Is this something that works on other platforms or livecode versions? > From scott at elementarysoftware.com Sun Aug 6 21:04:02 2023 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 6 Aug 2023 18:04:02 -0700 Subject: tsNetGet() on android Message-ID: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> I’m having difficulty using a LiveCode-created android app to read a (4.7 KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business Edition) I don’t actually think this is a tsNet issue since I had previously been using “load URL” syntax and that failed on android as well. The URL I am attempting to read is: constant kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt" (I have tried variations using http:// , www. and also, not using a constant) The call to tsNet is formatted: put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into tResult The (curl?) error I am getting from tsNet is: tsneterr: (6) Could not resolve host: elementarysoftware.com This seems like such a simple thing, so I’m hoping for an idea from the collective. (After which I will slap my forehead and say, “Duh!”) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ From jacque at hyperactivesw.com Sun Aug 6 22:13:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 06 Aug 2023 21:13:17 -0500 Subject: tsNetGet() on android In-Reply-To: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> References: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> Message-ID: <189cdc52648.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It might be due to a insidious trick that caught me out. It also caught the person who helped me, who said he only knew about it because it got him too. I assume you already have the right inclusions, but you may have missed the permissions checkbox in the Android pane of standalone settings. There's an Internet permission in there. Surprise! If that isn't the problem then...um...? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 6, 2023 8:06:36 PM scott--- via use-livecode wrote: > Im having difficulty using a LiveCode-created android app to read a (4.7 > KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the > app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business > Edition) I dont actually think this is a tsNet issue since I had > previously been using load URL syntax and that failed on android as well. > The URL I am attempting to read is: > > constant > kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt" > > (I have tried variations using http:// , www. and also, not using a > constant) > > The call to tsNet is formatted: > > put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into > tResult > > The (curl?) error I am getting from tsNet is: > > tsneterr: (6) Could not resolve host: elementarysoftware.com > > > This seems like such a simple thing, so Im hoping for an idea from the > collective. (After which I will slap my forehead and say, Duh!) > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sun Aug 6 22:29:04 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 6 Aug 2023 19:29:04 -0700 Subject: tsNetGet() on android In-Reply-To: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> References: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> Message-ID: On 8/6/23 18:04, scott--- via use-livecode wrote: > Im having difficulty using a LiveCode-created android app to read a (4.7 KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business Edition) I dont actually think this is a tsNet issue since I had previously been using load URL syntax and that failed on android as well. The URL I am attempting to read is: > > constant kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt" > > (I have tried variations using http:// , www. and also, not using a constant) > > The call to tsNet is formatted: > > put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into tResult > > The (curl?) error I am getting from tsNet is: > > tsneterr: (6) Could not resolve host: elementarysoftware.com > > This seems like such a simple thing, so Im hoping for an idea from the collective. (After which I will slap my forehead and say, Duh!) Your constant uses "https" but the error message says "http"? That's weird. Have you tried using 192.99.207.157 instead? That should eliminate dns as a variable. -- Mark Wieder ahsoftware at gmail.com From scott at elementarysoftware.com Mon Aug 7 00:35:06 2023 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 6 Aug 2023 21:35:06 -0700 Subject: tsNetGet() on android In-Reply-To: References: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> Message-ID: <7779CFF0-DC6F-4E2C-9587-4FFB964355CE@elementarysoftware.com> @Mark: I thought that “http” being reported in the error was weird when the constant used “https” but what do I know. @Jacque: Nailed it! Works as expected now. (Forehead slap was gentle but firm) Thank you both! — Scott > On Aug 6, 2023, at 7:29 PM, Mark Wieder via use-livecode wrote: > > On 8/6/23 18:04, scott--- via use-livecode wrote: >> I’m having difficulty using a LiveCode-created android app to read a (4.7 KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business Edition) I don’t actually think this is a tsNet issue since I had previously been using “load URL” syntax and that failed on android as well. The URL I am attempting to read is: >> constant kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt" >> (I have tried variations using http:// , www. and also, not using a constant) >> The call to tsNet is formatted: >> put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into tResult >> The (curl?) error I am getting from tsNet is: >> tsneterr: (6) Could not resolve host: elementarysoftware.com >> This seems like such a simple thing, so I’m hoping for an idea from the collective. (After which I will slap my forehead and say, “Duh!”) > > Your constant uses "https" but the error message says "http"? > That's weird. > Have you tried using 192.99.207.157 instead? That should eliminate dns as a variable. > > > -- > Mark Wieder > ahsoftware at gmail.com > > > It might be due to a insidious trick that caught me out. It also caught the person who helped me, who said he only knew about it because it got him too. > > I assume you already have the right inclusions, but you may have missed the permissions checkbox in the Android pane of standalone settings. There's an Internet permission in there. Surprise! > > If that isn't the problem then...um...? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Mon Aug 7 13:37:03 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 7 Aug 2023 11:37:03 -0600 Subject: Light Windows programs takes 40 s to load Message-ID: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Greetings! A made a stack with very little script—just enough to exercise the GUI. (I couldn’t build a Mac app; more on that as a separate question.) I build a Windows app from my Mac. It takes 40 seconds to load. What might I be doing wrong? I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute. Dar From merakosp at gmail.com Mon Aug 7 13:42:57 2023 From: merakosp at gmail.com (panagiotis m) Date: Mon, 7 Aug 2023 20:42:57 +0300 Subject: Light Windows programs takes 40 s to load In-Reply-To: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Hello Dar, Could you quit the printer spooler process ( from the task manager or from Windows CMD) and try again? Cheers, Panos On Mon, 7 Aug 2023, 20:38 Dar Scott via use-livecode, < use-livecode at lists.runrev.com> wrote: > > Greetings! > > A made a stack with very little script—just enough to exercise the GUI. > > (I couldn’t build a Mac app; more on that as a separate question.) > > I build a Windows app from my Mac. It takes 40 seconds to load. What might > I be doing wrong? > > I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute. > > Dar > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Mon Aug 7 13:46:57 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 7 Aug 2023 11:46:57 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed Message-ID: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> I’m having trouble building an application for Mac Intel. The first time LiveCode crashed. Subsequent times, I get this error: There was an error while saving the standalone application Adding ad-hoc signature failed with error: /…/myProgram.app: Replacing existing signature /…/myProgram.app: Resource for, Finder information, or similar detritus not Allowed I tried fiddling with the PLIST settings without success. From jacque at hyperactivesw.com Mon Aug 7 13:57:56 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Aug 2023 12:57:56 -0500 Subject: tsNetGet() on android In-Reply-To: <7779CFF0-DC6F-4E2C-9587-4FFB964355CE@elementarysoftware.com> References: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> <7779CFF0-DC6F-4E2C-9587-4FFB964355CE@elementarysoftware.com> Message-ID: <189d12600a0.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Cool. So, someone helped someone who helped me who helped you. Your turn. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 6, 2023 11:37:26 PM scott--- via use-livecode wrote: > > @Jacque: Nailed it! Works as expected now. (Forehead slap was gentle but > firm) From jacque at hyperactivesw.com Mon Aug 7 17:43:42 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Aug 2023 16:43:42 -0500 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> Message-ID: <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> This might help: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: > Im having trouble building an application for Mac Intel. > > The first time LiveCode crashed. > > Subsequent times, I get this error: > There was an error while saving the standalone application > Adding ad-hoc signature failed with error: > //myProgram.app: > Replacing existing signature > //myProgram.app: > Resource for, Finder information, or similar detritus not > Allowed > > I tried fiddling with the PLIST settings without success. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Aug 7 18:48:27 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Aug 2023 22:48:27 +0000 Subject: Bug or...? Native Querying Message-ID: <105A7904-B04B-4473-8004-424F4636D060@iotecdigital.com> I have code that uses the native API for SQL (as opposed to sqlYoga) because I have to do some joining that I do not know how to do with sqlYoga. The query string looks like this: select fileid,filename,fileversion,filecategory,custid,siteid,deviceid,serviceid,softwareid,parentidlist,filemodified,tempfilemodified,tmpfilesmodified,checkoutid,checkoutname,checkoutpath,rfapath,lastupdate,updateby from files t1 where custid = 56; When I execute this query in mySQLWorkbench, I get 6 records. When I use the native API: put revQueryDatabase( tDBID, tSQL) into tCursor Then I get the revNumberOfRecords(tCursor), but it’s only 5!!!!! The same query gets 6 using mySQLWorkbench and only 5 are counted in the cursor! Please tell my I haven’t stumbled across a Lex Luther universe! Bob S From dan at clearvisiontech.com Mon Aug 7 18:56:04 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 7 Aug 2023 22:56:04 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Does anyone have any experience with consumable in-app purchases on Android? I can’t seem to figure out how to (1) create a consumable product, and (2) how to consume it. mobileStoreConsumePurchase pProductID doesn’t seem to function right… I get back a result that is “true”, but attempting to purchase the same product, returns “alreadyEntitled”. The “How do I implement in-app purchases in LiveCode - Google Play Store?” lesson says: click "In-App Products” and click “Add new product”. From there, follow the instructions to create the type of in-app purchase you wish to use. In Google Play Console > Monitize > In-App Products > Create Product, there isn’t a place to select the type of in-app purchase. Any insight or instructions you may have would be greatly appreciated!! -Dan From selander at tkf.att.ne.jp Mon Aug 7 18:56:50 2023 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 8 Aug 2023 07:56:50 +0900 Subject: Uploading progress bar Message-ID: <88723a3a-4f10-3988-1911-11a56e1a2fc2@tkf.att.ne.jp> We are airing a kid's anime program on TV this fall, and are encouraging parents to video their kids singing the theme song -- which we'll air at the end of the program. Using LC Server, I made a simple page for the parents to use to upload the videos. It's working fine, but I would like to add a progress bar to give some kind of user feedback as the upload can take 2 or 3 minutes. I've found several php scripts that do this, which look great but I have no idea how it works, but can anyone tell me how I could do this in LC? Any and all tips appreciated! Tim Selander Tokyo, Japan From bobsneidar at iotecdigital.com Mon Aug 7 19:02:05 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Aug 2023 23:02:05 +0000 Subject: Bug or...? Native Querying In-Reply-To: <105A7904-B04B-4473-8004-424F4636D060@iotecdigital.com> References: <105A7904-B04B-4473-8004-424F4636D060@iotecdigital.com> Message-ID: I spoke too soon. I appended some SQL onto the initial query and there was an error in the SQL. I used ...where custid = 56 AND fileversion = (select max(fileversion) from files t2 where t2.filename = t1.filename) I should have used ...where custid = 56 AND fileversion = (select max(t1.fileversion) from files t2 where t2.filename = t1.filename) I was making an ambiguous reference to fileversion. Odd that the SQL ran anyway. Apparently if the reference is inside a function, mySQL does not balk! Bob S On Aug 7, 2023, at 3:48 PM, Bob Sneidar via use-livecode wrote: I have code that uses the native API for SQL (as opposed to sqlYoga) because I have to do some joining that I do not know how to do with sqlYoga. The query string looks like this: select fileid,filename,fileversion,filecategory,custid,siteid,deviceid,serviceid,softwareid,parentidlist,filemodified,tempfilemodified,tmpfilesmodified,checkoutid,checkoutname,checkoutpath,rfapath,lastupdate,updateby from files t1 where custid = 56; When I execute this query in mySQLWorkbench, I get 6 records. When I use the native API: put revQueryDatabase( tDBID, tSQL) into tCursor Then I get the revNumberOfRecords(tCursor), but it’s only 5!!!!! The same query gets 6 using mySQLWorkbench and only 5 are counted in the cursor! Please tell my I haven’t stumbled across a Lex Luther universe! Bob S From bobsneidar at iotecdigital.com Mon Aug 7 19:14:44 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Aug 2023 23:14:44 +0000 Subject: Bug or...? Native Querying In-Reply-To: References: <105A7904-B04B-4473-8004-424F4636D060@iotecdigital.com> Message-ID: Final correction and then I’ll shut up. Should have read …where custid = 56 AND fileversion = (select max(t2.fileversion) from files t2 where t2.filename = t1.filename) MAN that is complicated! Bob S On Aug 7, 2023, at 4:01 PM, Bob Sneidar wrote: I spoke too soon. I appended some SQL onto the initial query and there was an error in the SQL. I used ...where custid = 56 AND fileversion = (select max(fileversion) from files t2 where t2.filename = t1.filename) I should have used ...where custid = 56 AND fileversion = (select max(t1.fileversion) from files t2 where t2.filename = t1.filename) I was making an ambiguous reference to fileversion. Odd that the SQL ran anyway. Apparently if the reference is inside a function, mySQL does not balk! Bob S On Aug 7, 2023, at 3:48 PM, Bob Sneidar via use-livecode wrote: I have code that uses the native API for SQL (as opposed to sqlYoga) because I have to do some joining that I do not know how to do with sqlYoga. The query string looks like this: select fileid,filename,fileversion,filecategory,custid,siteid,deviceid,serviceid,softwareid,parentidlist,filemodified,tempfilemodified,tmpfilesmodified,checkoutid,checkoutname,checkoutpath,rfapath,lastupdate,updateby from files t1 where custid = 56; When I execute this query in mySQLWorkbench, I get 6 records. When I use the native API: put revQueryDatabase( tDBID, tSQL) into tCursor Then I get the revNumberOfRecords(tCursor), but it’s only 5!!!!! The same query gets 6 using mySQLWorkbench and only 5 are counted in the cursor! Please tell my I haven’t stumbled across a Lex Luther universe! Bob S From bdrunrev at gmail.com Tue Aug 8 02:57:37 2023 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 8 Aug 2023 07:57:37 +0100 Subject: If you're using the github version of Navigator, please update In-Reply-To: References: Message-ID: Thanks for reminding me to re-install a copy, Geoff. I've been away from LC development for a year or so, started again using a new machine, and had forgotten how much I like using your tool. I just downloaded v 7.5 RC2 from your Wordpress site, which looks like it's at the cutting edge along with the Github version. I would suggest you put the URL to the documentation in your signature. Probably most LC users have no idea what they are missing! https://gcanyon.wordpress.com/navigator-documentation/ Regards Bernard On Sat, Aug 5, 2023 at 8:23 AM Geoff Canyon via use-livecode < use-livecode at lists.runrev.com> wrote: > Turns out I had a glitch I didn't notice with my github client, and no > updates were making it to main for some time now. So if you happen to have > installed Navigator by cloning the repo, now would be a good time to > update. Some improvements that have happened: > > > From dsc at swcp.com Tue Aug 8 09:59:24 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 07:59:24 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Thanks, Jacque! That gives me a clue. I will try to get more info on this. However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. I’m willing to try some magic values in Standalone Application Settings. I’m using LiveCode 9.6.9, but I’m willing to upgrade. I’m on macOS Ventura. Has anyone successfully built a Mac application recently? Dar > On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: > > This might help: > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: > >> I’m having trouble building an application for Mac Intel. >> >> The first time LiveCode crashed. >> >> Subsequent times, I get this error: >> There was an error while saving the standalone application >> Adding ad-hoc signature failed with error: >> /…/myProgram.app: >> Replacing existing signature >> /…/myProgram.app: >> Resource for, Finder information, or similar detritus not >> Allowed >> >> I tried fiddling with the PLIST settings without success. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 8 10:03:41 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 8 Aug 2023 07:03:41 -0700 Subject: If you're using the github version of Navigator, please update In-Reply-To: References: Message-ID: Thanks for the suggestion, Bernard. Note that in a moment of whimsy I switched development of the documentation from wordpress to wix. So documentation on wordpress stops at version 6. Everything more recent is here: https://gcanyon.wixsite.com/navigator But even that's slightly out of date. I'll update soon. Thanks! Geoff On Mon, Aug 7, 2023 at 11:59 PM Bernard Devlin via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks for reminding me to re-install a copy, Geoff. I've been away from > LC development for a year or so, started again using a new machine, and had > forgotten how much I like using your tool. I just downloaded v 7.5 RC2 > from your Wordpress site, which looks like it's at the cutting edge along > with the Github version. > > I would suggest you put the URL to the documentation in your signature. > Probably most LC users have no idea what they are missing! > https://gcanyon.wordpress.com/navigator-documentation/ > > Regards > Bernard > > On Sat, Aug 5, 2023 at 8:23 AM Geoff Canyon via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Turns out I had a glitch I didn't notice with my github client, and no > > updates were making it to main for some time now. So if you happen to > have > > installed Navigator by cloning the repo, now would be a good time to > > update. Some improvements that have happened: > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Tue Aug 8 10:26:42 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 08:26:42 -0600 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Sure, Panos! Uh, what’s its name? > On Aug 7, 2023, at 11:42 AM, panagiotis m via use-livecode wrote: > > Hello Dar, > > Could you quit the printer spooler process ( from the task manager or from > Windows CMD) and try again? > > Cheers, > Panos > > On Mon, 7 Aug 2023, 20:38 Dar Scott via use-livecode, < > use-livecode at lists.runrev.com> wrote: > >> >> Greetings! >> >> A made a stack with very little script—just enough to exercise the GUI. >> >> (I couldn’t build a Mac app; more on that as a separate question.) >> >> I build a Windows app from my Mac. It takes 40 seconds to load. What might >> I be doing wrong? >> >> I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute. >> >> Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 11:14:12 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 8 Aug 2023 18:14:12 +0300 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Hello Dar, So, try this: 1. Open Windows Task Manager 2. Search for a process named "Spooler Subsystem app" or just "Print Spooler" 3. Force quit this process Now open your standalone and see if it starts immediately. Cheers, Panos -- On Tue, 8 Aug 2023 at 17:27, Dar Scott via use-livecode < use-livecode at lists.runrev.com> wrote: > Sure, Panos! Uh, what’s its name? > > > On Aug 7, 2023, at 11:42 AM, panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello Dar, > > > > Could you quit the printer spooler process ( from the task manager or > from > > Windows CMD) and try again? > > > > Cheers, > > Panos > > > > On Mon, 7 Aug 2023, 20:38 Dar Scott via use-livecode, < > > use-livecode at lists.runrev.com> wrote: > > > >> > >> Greetings! > >> > >> A made a stack with very little script—just enough to exercise the GUI. > >> > >> (I couldn’t build a Mac app; more on that as a separate question.) > >> > >> I build a Windows app from my Mac. It takes 40 seconds to load. What > might > >> I be doing wrong? > >> > >> I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute. > >> > >> Dar > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 11:35:14 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 15:35:14 +0000 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Pardon me if you know this already. Apps that are capable of printing will attempt to connect to the default printer upon launch. Panos is trying to isolate an issue where if the default printer is unresponsive, your app will wait until the process times out before proceeding. In Windows the Print Spooler service is the broker for all print processes. Stopping this service will prevent the long timeout. If using Windows, pop the Windows menu then start typing the word, “Service”. Once you see “Services” open it, then find the Print Spooler service (the list is Hot Typable but you have to select one of the services first, otherwise just scroll down) the slick the Stop Service button. BTW I would not use the task manager for this. I do not see either of those names in my tasks. I think the Print Spooler task is actually named Spoolsv. Bob S On Aug 8, 2023, at 7:26 AM, Dar Scott via use-livecode wrote: Sure, Panos! Uh, what’s its name? From jacque at hyperactivesw.com Tue Aug 8 11:44:23 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Aug 2023 10:44:23 -0500 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: <189d5d217d8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I built a Mac standalone about 3 weeks ago without issue using an RC version of 9.6.9. I'm still on Monterey though. Do you have any inclusions selected or files in the Copy Files pane of the standalone settings? If so, try building without them and see what happens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 8, 2023 9:01:54 AM Dar Scott via use-livecode wrote: > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note shows how to delete the offending resource using the > xattr tool, but I have no app to point it to. LiveCode did not build anything. > > Im willing to try some magic values in Standalone Application Settings. > Im using LiveCode 9.6.9, but Im willing to upgrade. > Im on macOS Ventura. > > Has anyone successfully built a Mac application recently? > > Dar > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode >> wrote: >> >> This might help: >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode >> wrote: >> >>> Im having trouble building an application for Mac Intel. >>> >>> The first time LiveCode crashed. >>> >>> Subsequent times, I get this error: >>> There was an error while saving the standalone application >>> Adding ad-hoc signature failed with error: >>> //myProgram.app: >>> Replacing existing signature >>> //myProgram.app: >>> Resource for, Finder information, or similar detritus not >>> Allowed >>> >>> I tried fiddling with the PLIST settings without success. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 11:45:40 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 15:45:40 +0000 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. Bob S > On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: > > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. > > I’m willing to try some magic values in Standalone Application Settings. > I’m using LiveCode 9.6.9, but I’m willing to upgrade. > I’m on macOS Ventura. > > Has anyone successfully built a Mac application recently? > > Dar > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >> >> This might help: >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >> >>> I’m having trouble building an application for Mac Intel. >>> >>> The first time LiveCode crashed. >>> >>> Subsequent times, I get this error: >>> There was an error while saving the standalone application >>> Adding ad-hoc signature failed with error: >>> /…/myProgram.app: >>> Replacing existing signature >>> /…/myProgram.app: >>> Resource for, Finder information, or similar detritus not >>> Allowed >>> >>> I tried fiddling with the PLIST settings without success. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Tue Aug 8 12:07:12 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Aug 2023 17:07:12 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: <60649154-A10E-4DBA-88B3-6B6576D7A59B@gmail.com> Hi Dar, I just built one unsigned and it worked fine. Will you be signing it for distribution in the Mac App store as well? Mark > On 8 Aug 2023, at 2:59 pm, Dar Scott via use-livecode wrote: > > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. > > I’m willing to try some magic values in Standalone Application Settings. > I’m using LiveCode 9.6.9, but I’m willing to upgrade. > I’m on macOS Ventura. > > Has anyone successfully built a Mac application recently? > > Dar > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >> >> This might help: >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >> >>> I’m having trouble building an application for Mac Intel. >>> >>> The first time LiveCode crashed. >>> >>> Subsequent times, I get this error: >>> There was an error while saving the standalone application >>> Adding ad-hoc signature failed with error: >>> /…/myProgram.app: >>> Replacing existing signature >>> /…/myProgram.app: >>> Resource for, Finder information, or similar detritus not >>> Allowed >>> >>> I tried fiddling with the PLIST settings without success. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:07:42 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 8 Aug 2023 19:07:42 +0300 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Hello all, We recently fixed a bug (affecting mainly Windows 11) where the LC installer, the LC IDE and Windows standalones were crashing on startup. It turned out this was caused if some generic printer drivers were installed in the device, and installing the official printer drivers from the vendor's website prevented the crash. We had reports for Brother printers, Epson and HP if I remember correctly. The fix we added did fix the crash, but in some cases caused a delay on startup, if the device still had the "generic" printer driver installed. That's why I asked to quit the printer spooler and try again - if it works with the printer spooler not running, it means that this device has a "generic" printer driver installed, so Dar could just install the official driver from the vendor's website and have the issue fixed. Kind regards, Panos On Tue, 8 Aug 2023 at 18:36, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Pardon me if you know this already. Apps that are capable of printing will > attempt to connect to the default printer upon launch. Panos is trying to > isolate an issue where if the default printer is unresponsive, your app > will wait until the process times out before proceeding. In Windows the > Print Spooler service is the broker for all print processes. Stopping this > service will prevent the long timeout. > > If using Windows, pop the Windows menu then start typing the word, > “Service”. Once you see “Services” open it, then find the Print Spooler > service (the list is Hot Typable but you have to select one of the services > first, otherwise just scroll down) the slick the Stop Service button. > > BTW I would not use the task manager for this. I do not see either of > those names in my tasks. I think the Print Spooler task is actually named > Spoolsv. > > Bob S > > > On Aug 8, 2023, at 7:26 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Sure, Panos! Uh, what’s its name? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:08:59 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Aug 2023 11:08:59 -0500 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: > I have, but I dont do any signing or notarizing. If that happens > transparently, then its working for me. > > Bob S > > >> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode >> wrote: >> >> Thanks, Jacque! >> >> That gives me a clue. I will try to get more info on this. >> >> However, that note shows how to delete the offending resource using the >> xattr tool, but I have no app to point it to. LiveCode did not build anything. >> >> Im willing to try some magic values in Standalone Application Settings. >> Im using LiveCode 9.6.9, but Im willing to upgrade. >> Im on macOS Ventura. >> >> Has anyone successfully built a Mac application recently? >> >> Dar >> >>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode >>> wrote: >>> >>> This might help: >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode >>> wrote: >>> >>>> Im having trouble building an application for Mac Intel. >>>> >>>> The first time LiveCode crashed. >>>> >>>> Subsequent times, I get this error: >>>> There was an error while saving the standalone application >>>> Adding ad-hoc signature failed with error: >>>> //myProgram.app: >>>> Replacing existing signature >>>> //myProgram.app: >>>> Resource for, Finder information, or similar detritus not >>>> Allowed >>>> >>>> I tried fiddling with the PLIST settings without success. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Tue Aug 8 12:11:39 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Aug 2023 17:11:39 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: <02F4A07C-7772-46A6-826A-D5F8FD4C016E@gmail.com> I should add I used 9.6.8 on Monterey. > On 8 Aug 2023, at 2:59 pm, Dar Scott via use-livecode wrote: > > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. > > I’m willing to try some magic values in Standalone Application Settings. > I’m using LiveCode 9.6.9, but I’m willing to upgrade. > I’m on macOS Ventura. > > Has anyone successfully built a Mac application recently? > > Dar > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >> >> This might help: >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >> >>> I’m having trouble building an application for Mac Intel. >>> >>> The first time LiveCode crashed. >>> >>> Subsequent times, I get this error: >>> There was an error while saving the standalone application >>> Adding ad-hoc signature failed with error: >>> /…/myProgram.app: >>> Replacing existing signature >>> /…/myProgram.app: >>> Resource for, Finder information, or similar detritus not >>> Allowed >>> >>> I tried fiddling with the PLIST settings without success. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:12:29 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 8 Aug 2023 19:12:29 +0300 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <60649154-A10E-4DBA-88B3-6B6576D7A59B@gmail.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <60649154-A10E-4DBA-88B3-6B6576D7A59B@gmail.com> Message-ID: Hello all, The standalone builder does add a signature when building the mac standalone - but an ad hoc one (i.e. it does not use an actual certificate). The error Dar gets happens during the standalone building process. @Dar Could you attach the exact error? Just upload the screenshot somewhere and post the link. It might help us isolate the problem, although I suspect it is related to the command line tools version you have installed. Could you try this in the terminal and post the output? xcode-select -p Cheers, Panos On Tue, 8 Aug 2023 at 19:08, Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Dar, > > I just built one unsigned and it worked fine. Will you be signing it for > distribution in the Mac App store as well? > > Mark > > > On 8 Aug 2023, at 2:59 pm, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Thanks, Jacque! > > > > That gives me a clue. I will try to get more info on this. > > > > However, that note shows how to delete the offending resource using the > xattr tool, but I have no app to point it to. LiveCode did not build > anything. > > > > I’m willing to try some magic values in Standalone Application Settings. > > I’m using LiveCode 9.6.9, but I’m willing to upgrade. > > I’m on macOS Ventura. > > > > Has anyone successfully built a Mac application recently? > > > > Dar > > > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> This might help: > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.com > >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >>> I’m having trouble building an application for Mac Intel. > >>> > >>> The first time LiveCode crashed. > >>> > >>> Subsequent times, I get this error: > >>> There was an error while saving the standalone application > >>> Adding ad-hoc signature failed with error: > >>> /…/myProgram.app: > >>> Replacing existing signature > >>> /…/myProgram.app: > >>> Resource for, Finder information, or similar detritus not > >>> Allowed > >>> > >>> I tried fiddling with the PLIST settings without success. > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Tue Aug 8 12:19:46 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 10:19:46 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. For PLIST I chose Chose a PLIST and then clicked Use None. I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. I have no Icons added. I get the same error. Dar > On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: > > Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: > >> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >> >> Bob S >> >> >>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>> >>> Thanks, Jacque! >>> >>> That gives me a clue. I will try to get more info on this. >>> >>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>> >>> I’m willing to try some magic values in Standalone Application Settings. >>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>> I’m on macOS Ventura. >>> >>> Has anyone successfully built a Mac application recently? >>> >>> Dar >>> >>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> This might help: >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>> >>>>> I’m having trouble building an application for Mac Intel. >>>>> >>>>> The first time LiveCode crashed. >>>>> >>>>> Subsequent times, I get this error: >>>>> There was an error while saving the standalone application >>>>> Adding ad-hoc signature failed with error: >>>>> /…/myProgram.app: >>>>> Replacing existing signature >>>>> /…/myProgram.app: >>>>> Resource for, Finder information, or similar detritus not >>>>> Allowed >>>>> >>>>> I tried fiddling with the PLIST settings without success. >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:19:52 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 8 Aug 2023 19:19:52 +0300 Subject: Consumable In App Purchases on Android In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hello Dan, I think Google no longer differentiates between consumables and non-consumables when setting up the in-app product - they are both marked as "In-App Products”. However, in LiveCode, you have to call mobileStoreConsumePurchase pProductID to be able to buy the product again - otherwise you get a "alreadyEntitled" status. If you do this, and still get "alreadyEntitled", then you have to ensure that the pProductID param passed to mobileStoreConsumePurchase indeed matches exactly the product id of the product you set up in the google dev console. Hope this helps. Kind regards, Panos On Tue, 8 Aug 2023 at 01:57, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Does anyone have any experience with consumable in-app purchases on > Android? I can’t seem to figure out how to (1) create a consumable > product, and (2) how to consume it. mobileStoreConsumePurchase pProductID > doesn’t seem to function right… I get back a result that is “true”, but > attempting to purchase the same product, returns “alreadyEntitled”. > > The “How do I implement in-app purchases in LiveCode - Google Play Store?” > lesson says: click "In-App Products” and click “Add new product”. From > there, follow the instructions to create the type of in-app purchase you > wish to use. > > In Google Play Console > Monitize > In-App Products > Create Product, > there isn’t a place to select the type of in-app purchase. > > Any insight or instructions you may have would be greatly appreciated!! > > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Aug 8 12:28:31 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 16:28:31 +0000 Subject: Variable Watcher disappeared Message-ID: Hi all. Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? Bob S From dan at clearvisiontech.com Tue Aug 8 12:35:19 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 8 Aug 2023 16:35:19 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Panos, Thank you for the reply. Unfortunately, this isn’t working for me… maybe I’m doing something wrong? Product ID is “1001”. I was able to purchase that product no problem. If I attempt to purchase it again, I get “alreadyEntitled”. In a button I put: on mouseUp mobileStoreConsumePurchase 1001 answer the result end mouseUp The result is empty (I assume that is success). Then, I attempt to purchase 1001 and again I get “alreadyEntitled”. I then tried (just guessing at what I need to do as the docs are very vague on how to use it): on mouseUp mobileStoreEnablePurchaseUpdates mobileStoreSetProductType 1001,"inapp" mobileStoreConsumePurchase 1001 answer the result end mouseUp Again, result is empty and an attempt to purchase 1001 again, gets “alreadyEntitled”. What am I doing wrong? -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Tuesday, August 8, 2023 at 9:21 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Consumable In App Purchases on Android Hello Dan, I think Google no longer differentiates between consumables and non-consumables when setting up the in-app product - they are both marked as "In-App Products”. However, in LiveCode, you have to call mobileStoreConsumePurchase pProductID to be able to buy the product again - otherwise you get a "alreadyEntitled" status. If you do this, and still get "alreadyEntitled", then you have to ensure that the pProductID param passed to mobileStoreConsumePurchase indeed matches exactly the product id of the product you set up in the google dev console. Hope this helps. Kind regards, Panos On Tue, 8 Aug 2023 at 01:57, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Does anyone have any experience with consumable in-app purchases on > Android? I can’t seem to figure out how to (1) create a consumable > product, and (2) how to consume it. mobileStoreConsumePurchase pProductID > doesn’t seem to function right… I get back a result that is “true”, but > attempting to purchase the same product, returns “alreadyEntitled”. > > The “How do I implement in-app purchases in LiveCode - Google Play Store?” > lesson says: click "In-App Products” and click “Add new product”. From > there, follow the instructions to create the type of in-app purchase you > wish to use. > > In Google Play Console > Monitize > In-App Products > Create Product, > there isn’t a place to select the type of in-app purchase. > > Any insight or instructions you may have would be greatly appreciated!! > > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 8 12:37:57 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 10:37:57 -0600 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: <1335B845-0809-4929-98E7-8EBF048E81E6@swcp.com> I stopped service Spoolsv. The executable then loaded quickly. It is not possible to delete drivers on that computer. I will set up a different computer with limited printer drivers. I look forward to seeing this resolved. My program does not print. Is there something I can remove in the creating of a standalone? Dar > On Aug 8, 2023, at 10:07 AM, panagiotis m via use-livecode wrote: > > Hello all, > > We recently fixed a bug (affecting mainly Windows 11) where the LC > installer, the LC IDE and Windows standalones were crashing on startup. It > turned out this was caused if some generic printer drivers were installed > in the device, and installing the official printer drivers from the > vendor's website prevented the crash. We had reports for Brother printers, > Epson and HP if I remember correctly. > > The fix we added did fix the crash, but in some cases caused a delay on > startup, if the device still had the "generic" printer driver installed. > > That's why I asked to quit the printer spooler and try again - if it works > with the printer spooler not running, it means that this device has a > "generic" printer driver installed, so Dar could just install the official > driver from the vendor's website and have the issue fixed. > > Kind regards, > Panos > > > > On Tue, 8 Aug 2023 at 18:36, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Pardon me if you know this already. Apps that are capable of printing will >> attempt to connect to the default printer upon launch. Panos is trying to >> isolate an issue where if the default printer is unresponsive, your app >> will wait until the process times out before proceeding. In Windows the >> Print Spooler service is the broker for all print processes. Stopping this >> service will prevent the long timeout. >> >> If using Windows, pop the Windows menu then start typing the word, >> “Service”. Once you see “Services” open it, then find the Print Spooler >> service (the list is Hot Typable but you have to select one of the services >> first, otherwise just scroll down) the slick the Stop Service button. >> >> BTW I would not use the task manager for this. I do not see either of >> those names in my tasks. I think the Print Spooler task is actually named >> Spoolsv. >> >> Bob S >> >> >> On Aug 8, 2023, at 7:26 AM, Dar Scott via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Sure, Panos! Uh, what’s its name? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:39:06 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Aug 2023 11:39:06 -0500 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: <189d6043010.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Removing the print driver or spooler works on the current machine but it will affect any other user who runs the app. We have a steady stream of support tickets from Windows users and a boilerplate response prepared. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 8, 2023 11:09:41 AM panagiotis m via use-livecode wrote: > Hello all, > > We recently fixed a bug (affecting mainly Windows 11) where the LC > installer, the LC IDE and Windows standalones were crashing on startup. It > turned out this was caused if some generic printer drivers were installed > in the device, and installing the official printer drivers from the > vendor's website prevented the crash. We had reports for Brother printers, > Epson and HP if I remember correctly. > > The fix we added did fix the crash, but in some cases caused a delay on > startup, if the device still had the "generic" printer driver installed. > > That's why I asked to quit the printer spooler and try again - if it works > with the printer spooler not running, it means that this device has a > "generic" printer driver installed, so Dar could just install the official > driver from the vendor's website and have the issue fixed. > > Kind regards, > Panos > > > > On Tue, 8 Aug 2023 at 18:36, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Pardon me if you know this already. Apps that are capable of printing will >> attempt to connect to the default printer upon launch. Panos is trying to >> isolate an issue where if the default printer is unresponsive, your app >> will wait until the process times out before proceeding. In Windows the >> Print Spooler service is the broker for all print processes. Stopping this >> service will prevent the long timeout. >> >> If using Windows, pop the Windows menu then start typing the word, >> Service. Once you see Services open it, then find the Print Spooler >> service (the list is Hot Typable but you have to select one of the services >> first, otherwise just scroll down) the slick the Stop Service button. >> >> BTW I would not use the task manager for this. I do not see either of >> those names in my tasks. I think the Print Spooler task is actually named >> Spoolsv. >> >> Bob S >> >> >> On Aug 8, 2023, at 7:26 AM, Dar Scott via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Sure, Panos! Uh, whats its name? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 8 12:41:45 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 10:41:45 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> Message-ID: xcode-select -p /Library/Developer/CommandLineTools > On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: > > I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. > > For PLIST I chose Chose a PLIST and then clicked Use None. > > I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. > > I have no Icons added. > > I get the same error. > > Dar > >> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >> >> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >> >>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>> >>> Bob S >>> >>> >>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>> >>>> Thanks, Jacque! >>>> >>>> That gives me a clue. I will try to get more info on this. >>>> >>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>> >>>> I’m willing to try some magic values in Standalone Application Settings. >>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>> I’m on macOS Ventura. >>>> >>>> Has anyone successfully built a Mac application recently? >>>> >>>> Dar >>>> >>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> This might help: >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>> >>>>>> I’m having trouble building an application for Mac Intel. >>>>>> >>>>>> The first time LiveCode crashed. >>>>>> >>>>>> Subsequent times, I get this error: >>>>>> There was an error while saving the standalone application >>>>>> Adding ad-hoc signature failed with error: >>>>>> /…/myProgram.app: >>>>>> Replacing existing signature >>>>>> /…/myProgram.app: >>>>>> Resource for, Finder information, or similar detritus not >>>>>> Allowed >>>>>> >>>>>> I tried fiddling with the PLIST settings without success. >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From marksmithhfx at gmail.com Tue Aug 8 12:47:05 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Aug 2023 17:47:05 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> Message-ID: I get this in response to Xcode-select -p /Applications/Xcode 13.2.app/Contents/Developer > On 8 Aug 2023, at 5:41 pm, Dar Scott via use-livecode wrote: > > xcode-select -p > /Library/Developer/CommandLineTools > >> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >> >> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >> >> For PLIST I chose Chose a PLIST and then clicked Use None. >> >> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >> >> I have no Icons added. >> >> I get the same error. >> >> Dar >> >>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>> >>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>> >>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>> >>>> Bob S >>>> >>>> >>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> Thanks, Jacque! >>>>> >>>>> That gives me a clue. I will try to get more info on this. >>>>> >>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>> >>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>> I’m on macOS Ventura. >>>>> >>>>> Has anyone successfully built a Mac application recently? >>>>> >>>>> Dar >>>>> >>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>> >>>>>> This might help: >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>> >>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>> >>>>>>> The first time LiveCode crashed. >>>>>>> >>>>>>> Subsequent times, I get this error: >>>>>>> There was an error while saving the standalone application >>>>>>> Adding ad-hoc signature failed with error: >>>>>>> /…/myProgram.app: >>>>>>> Replacing existing signature >>>>>>> /…/myProgram.app: >>>>>>> Resource for, Finder information, or similar detritus not >>>>>>> Allowed >>>>>>> >>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 8 12:47:10 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 10:47:10 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> Message-ID: <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> Oh, and I’m building from a network drive. > On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: > > xcode-select -p > /Library/Developer/CommandLineTools > >> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >> >> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >> >> For PLIST I chose Chose a PLIST and then clicked Use None. >> >> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >> >> I have no Icons added. >> >> I get the same error. >> >> Dar >> >>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>> >>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>> >>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>> >>>> Bob S >>>> >>>> >>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> Thanks, Jacque! >>>>> >>>>> That gives me a clue. I will try to get more info on this. >>>>> >>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>> >>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>> I’m on macOS Ventura. >>>>> >>>>> Has anyone successfully built a Mac application recently? >>>>> >>>>> Dar >>>>> >>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>> >>>>>> This might help: >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>> >>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>> >>>>>>> The first time LiveCode crashed. >>>>>>> >>>>>>> Subsequent times, I get this error: >>>>>>> There was an error while saving the standalone application >>>>>>> Adding ad-hoc signature failed with error: >>>>>>> /…/myProgram.app: >>>>>>> Replacing existing signature >>>>>>> /…/myProgram.app: >>>>>>> Resource for, Finder information, or similar detritus not >>>>>>> Allowed >>>>>>> >>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 13:18:16 2023 From: mkoob at rogers.com (Martin Koob) Date: Tue, 8 Aug 2023 13:18:16 -0400 Subject: Variable Watcher disappeared In-Reply-To: References: Message-ID: <2E7C61D6-01E0-4AB0-8DD0-6EDEF268C6B6@rogers.com> Hi Bob So you can see the Script Editor but you can’t see the variables pane at the bottom? There is a drag handle at the bottom of the Script Editor pane to resize it. Maybe you accidentally dragged that to the bottom hiding the variable pane at the bottom. Even if you did that you should still see the tabs for ‘Errors’; ‘Variables’; ‘Documentation’; ‘Breakpoints’; ’Search Results’. You should be able to drag the Drag handle up to reveal the bottom pane. The following doesn’t probably apply to you if your Script Editor Stack is open and visible. You probably know this but another thing that happens to me is that some of the LiveCode stacks disappear randomly. One thing that happens is that they somehow get moved offscreen. To get them back I first check if they are there by typing the following into the message box. put the openstacks That should result in a list like this. Message Box My Demo Stack revInspector revTools revNewScriptEditor 1 revDictionary revMenuBar Improve LiveCode Handler Finder com.livecode.palette.autocomplete.completions If you see the stack in the list that you are looking for you can relocate it back to the screen by setting its location to something that will be on your display by entering the following in the message box. set the topleft of stack "revtools" to 100,100 Two other reasons stacks disappear is that they become hidden or closed. If the stack is closed then enter the following in the message box open stack “revtools If the stack is open but hidden enter show stack “revtools” If it is your message box that you can’t find then there is nothing you can do…. … Just kidding. ;-) Just type command key + M to show the message box. Bob, I am sure this is covering things you already know but just in case there others in future are looking for this I added the other cases where your LiveCode IDE stacks disappear. BTW I am using LC 9.6.9 on a M1 Max Mac running Ventura 13.41 Martin > On Aug 8, 2023, at 12:28 PM, Bob Sneidar via use-livecode wrote: > > Hi all. > > Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? > > 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 dick.kriesel at mail.com Tue Aug 8 13:22:44 2023 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 8 Aug 2023 10:22:44 -0700 Subject: Variable Watcher disappeared In-Reply-To: References: Message-ID: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> Hi, Bob. The bottom pane reappears to show search results, so search for something. — Dick > On Aug 8, 2023, at 9:28 AM, Bob Sneidar via use-livecode wrote: > > Hi all. > > Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Aug 8 13:28:31 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 17:28:31 +0000 Subject: Variable Watcher disappeared In-Reply-To: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> References: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> Message-ID: That was a good suggestion, but alas no cookie. The entire window is visible, but the handle to resize is not visible. The handle for the handlers pane is visible, but is lower than halfway down the window, clueing me into the likelihood that something has gone horribly awry with my script editor. Quitting and relaunching does not fix it. I checked the forums and bug reports, nothing I can find. I’ll contact support I guess. Bob S > On Aug 8, 2023, at 10:22 AM, Dick Kriesel via use-livecode wrote: > > Hi, Bob. The bottom pane reappears to show search results, so search for something. > — Dick > >> On Aug 8, 2023, at 9:28 AM, Bob Sneidar via use-livecode wrote: >> >> Hi all. >> >> Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? >> >> Bob S >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Aug 8 13:39:10 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 17:39:10 +0000 Subject: Variable Watcher disappeared In-Reply-To: References: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> Message-ID: <44FF4A7B-5381-4E21-99A6-D6E03F131205@iotecdigital.com> Resetting prefs fixed it. Should be a better way than starting from scratch though. Bob S > On Aug 8, 2023, at 10:28 AM, Bob Sneidar wrote: > > That was a good suggestion, but alas no cookie. The entire window is visible, but the handle to resize is not visible. The handle for the handlers pane is visible, but is lower than halfway down the window, clueing me into the likelihood that something has gone horribly awry with my script editor. Quitting and relaunching does not fix it. > > I checked the forums and bug reports, nothing I can find. I’ll contact support I guess. > > Bob S > > >> On Aug 8, 2023, at 10:22 AM, Dick Kriesel via use-livecode wrote: >> >> Hi, Bob. The bottom pane reappears to show search results, so search for something. >> — Dick >> >>> On Aug 8, 2023, at 9:28 AM, Bob Sneidar via use-livecode wrote: >>> >>> Hi all. >>> >>> Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? >>> >>> Bob S >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Tue Aug 8 13:41:30 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 11:41:30 -0600 Subject: Color of text of the selected tab of Tab Panel Message-ID: <431B5ABB-9316-40C8-BFB6-FAACFFD8F769@swcp.com> I’m developing on a Mac. In order to change the color of the text on the selected tab of a Tab Panel I had to change backgroundColor. The seems weird. (I’ve been away, so I don’t remember how this should go). However, the .exe on Windows shows that text the same color as on the other tabs. I set other color properties except foregroundColor to a variety of colors to see if any affected the color, but that text is still black. I would like for it to work the same on both Windows and Mac. I do want to strengthen the emphasis for the selected tab. If need be, I can use a different method for the extra emphasis. I’d like to do it in a way that doesn’t break when any bugs are fixed. Ideas? Dar From andrew at midwestcoastmedia.com Tue Aug 8 13:56:16 2023 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Tue, 8 Aug 2023 13:56:16 -0400 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: If I’m consuming instantly, this is the code working in my Android/iOS project with comment lines explaining the values being passed in the Android build (note that the product ID values are more specific for Android than iOS): if tPlatform = "android" then put "com.midwestcoastmedia.dj3pm." into tProductIDbase else if tPlatform = "iPhone" then put EMPTY into tProductIDbase end if put tProductIDbase & pWhichProduct into tProductID mobileStoreEnablePurchaseUpdates ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", "inapp" mobileStoreSetProductType tProductID, "inapp" ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", "1", "Thanks for the buck!" mobileStoreMakePurchase tProductID, "1", tMessage ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" mobileStoreConsumePurchase tProductID put the result into tCatch BUT you’ll also need to implement the on purchaseStateUpdate handler to completely execute the purchase cycle. The lesson is sometimes hard to follow when Android changes their branding/naming but https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store has a good example of this. —Andrew Bell > To: How to use LiveCode > Subject: Re: Consumable In App Purchases on Android > Message-ID: > > > Content-Type: text/plain; charset="Windows-1252" > > Panos, > > Thank you for the reply. Unfortunately, this isn?t working for me? maybe I?m doing something wrong? Product ID is ?1001?. I was able to purchase that product no problem. If I attempt to purchase it again, I get ?alreadyEntitled?. > > In a button I put: > > on mouseUp > mobileStoreConsumePurchase 1001 > answer the result > end mouseUp > > The result is empty (I assume that is success). Then, I attempt to purchase 1001 and again I get ?alreadyEntitled?. > > I then tried (just guessing at what I need to do as the docs are very vague on how to use it): > > on mouseUp > mobileStoreEnablePurchaseUpdates > mobileStoreSetProductType 1001,"inapp" > mobileStoreConsumePurchase 1001 > answer the result > end mouseUp > > Again, result is empty and an attempt to purchase 1001 again, gets ?alreadyEntitled?. > > What am I doing wrong? > > -Dan > > > > From: use-livecode on behalf of panagiotis m via use-livecode > Date: Tuesday, August 8, 2023 at 9:21 AM > To: How to use LiveCode > Cc: panagiotis m > Subject: Re: Consumable In App Purchases on Android > Hello Dan, > > I think Google no longer differentiates between consumables and > non-consumables when setting up the in-app product - they are both marked > as "In-App Products?. However, in LiveCode, you have to call > mobileStoreConsumePurchase pProductID to be able to buy the product again - > otherwise you get a "alreadyEntitled" status. > > If you do this, and still get "alreadyEntitled", then you have to ensure > that the pProductID param passed to mobileStoreConsumePurchase indeed > matches exactly the product id of the product you set up in the google dev > console. > > Hope this helps. > > Kind regards, > Panos > > On Tue, 8 Aug 2023 at 01:57, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Does anyone have any experience with consumable in-app purchases on >> Android? I can?t seem to figure out how to (1) create a consumable >> product, and (2) how to consume it. mobileStoreConsumePurchase pProductID >> doesn?t seem to function right? I get back a result that is ?true?, but >> attempting to purchase the same product, returns ?alreadyEntitled?. >> >> The ?How do I implement in-app purchases in LiveCode - Google Play Store?? >> lesson says: click "In-App Products? and click ?Add new product?. From >> there, follow the instructions to create the type of in-app purchase you >> wish to use. >> >> In Google Play Console > Monitize > In-App Products > Create Product, >> there isn?t a place to select the type of in-app purchase. >> >> Any insight or instructions you may have would be greatly appreciated!! >> >> -Dan >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Aug 8 13:59:28 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 17:59:28 +0000 Subject: Color of text of the selected tab of Tab Panel In-Reply-To: <431B5ABB-9316-40C8-BFB6-FAACFFD8F769@swcp.com> References: <431B5ABB-9316-40C8-BFB6-FAACFFD8F769@swcp.com> Message-ID: <6ACB00F6-8087-4125-851D-7F57BC78AE4E@iotecdigital.com> Uurgh. I ran into this. It prompted me to create my own custom tab group around the tab widget. I overlayed buttons on the tab graphics, but the tricky part was getting the buttons to resize and reposition when new tabs were added. Bob S > On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: > > > I’m developing on a Mac. In order to change the color of the text on the selected tab of a Tab Panel I had to change backgroundColor. The seems weird. (I’ve been away, so I don’t remember how this should go). > > However, the .exe on Windows shows that text the same color as on the other tabs. I set other color properties except foregroundColor to a variety of colors to see if any affected the color, but that text is still black. > > I would like for it to work the same on both Windows and Mac. I do want to strengthen the emphasis for the selected tab. > > If need be, I can use a different method for the extra emphasis. > > I’d like to do it in a way that doesn’t break when any bugs are fixed. > > Ideas? > > Dar > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 8 14:14:41 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 12:14:41 -0600 Subject: Rectangles on Windows? Message-ID: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> I have some rectangles that work just fine in development on my Mac. However, there are problems in my Windows standalone. Not Showing Up Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness Showing Up Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. From dsc at swcp.com Tue Aug 8 14:25:01 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 12:25:01 -0600 Subject: Color of text of the selected tab of Tab Panel In-Reply-To: <6ACB00F6-8087-4125-851D-7F57BC78AE4E@iotecdigital.com> References: <431B5ABB-9316-40C8-BFB6-FAACFFD8F769@swcp.com> <6ACB00F6-8087-4125-851D-7F57BC78AE4E@iotecdigital.com> Message-ID: <77ECCE23-267B-418B-8670-8533B7794D3A@swcp.com> Thanks, Bob! I am quite open to using a different tab control. I might make my own or use another designer's tab control that fits in with the run-of-the-mill GUI. Hmmm, I’ve put some time into this look and feel, but I’m willing to consider a change, so I guess I should look at even exotic tab controls. In the mean time, I will try to set up something safe. Dar > On Aug 8, 2023, at 11:59 AM, Bob Sneidar via use-livecode wrote: > > Uurgh. I ran into this. It prompted me to create my own custom tab group around the tab widget. I overlayed buttons on the tab graphics, but the tricky part was getting the buttons to resize and reposition when new tabs were added. > > Bob S > > >> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >> >> >> I’m developing on a Mac. In order to change the color of the text on the selected tab of a Tab Panel I had to change backgroundColor. The seems weird. (I’ve been away, so I don’t remember how this should go). >> >> However, the .exe on Windows shows that text the same color as on the other tabs. I set other color properties except foregroundColor to a variety of colors to see if any affected the color, but that text is still black. >> >> I would like for it to work the same on both Windows and Mac. I do want to strengthen the emphasis for the selected tab. >> >> If need be, I can use a different method for the extra emphasis. >> >> I’d like to do it in a way that doesn’t break when any bugs are fixed. >> >> Ideas? >> >> Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From craig at starfirelighting.com Tue Aug 8 15:13:47 2023 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 8 Aug 2023 15:13:47 -0400 Subject: Variable Watcher disappeared In-Reply-To: <44FF4A7B-5381-4E21-99A6-D6E03F131205@iotecdigital.com> References: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> <44FF4A7B-5381-4E21-99A6-D6E03F131205@iotecdigital.com> Message-ID: <76E6D4CF-801E-423E-9D1C-1EFA59B09E8F@starfirelighting.com> What happens if you set the top of the SE window a bit higher than current? I have a gadget that locates the SE on my portrait monitor on command. I could easily make its top anything I want, and I bet that would display the hidden bottom of the window. Craig > On Aug 8, 2023, at 1:39 PM, Bob Sneidar via use-livecode wrote: > > Resetting prefs fixed it. Should be a better way than starting from scratch though. > > Bob S > > >> On Aug 8, 2023, at 10:28 AM, Bob Sneidar wrote: >> >> That was a good suggestion, but alas no cookie. The entire window is visible, but the handle to resize is not visible. The handle for the handlers pane is visible, but is lower than halfway down the window, clueing me into the likelihood that something has gone horribly awry with my script editor. Quitting and relaunching does not fix it. >> >> I checked the forums and bug reports, nothing I can find. I’ll contact support I guess. >> >> Bob S >> >> >>> On Aug 8, 2023, at 10:22 AM, Dick Kriesel via use-livecode wrote: >>> >>> Hi, Bob. The bottom pane reappears to show search results, so search for something. >>> — Dick >>> >>>> On Aug 8, 2023, at 9:28 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> Hi all. >>>> >>>> Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? >>>> >>>> Bob S >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Tue Aug 8 15:51:08 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 8 Aug 2023 19:51:08 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Andrew, Thank you for the input. The code snippet you said you are using has mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase. Is that what you are doing? The LC example show that mobileStoreMakePurchase should be handled in the purchaseStateUpdate message after the purchase is paymentReceived” If that’s true, then I feel like I’m doing exactly what you are suggesting. The purchase is fine, but the consumption if not working for me. Here’s what I’m doing: on startInAppPurchase numCredits //setup purchase id if numCredits = 1 then put 1001 into productID put "$0.99" into productAmount else if numCredits = 2 then put 1002 into productID put "$1.99" into productAmount else if numCredits = 3 then put 1003 into productID put "$2.99" into productAmount else if numCredits = 11 then put 1011 into productID put "$9.99" into productAmount end if //confirm with user if numCredits = 1 then put "Are you sure you want to purchase 1 credit for" && productAmount & "?" into pString else put "Are you sure you want to purchase" && numCredits && "credits for" && productAmount & "?" into pString end if if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") = "Cancel" then //my custom answer dialog exit startInAppPurchase end if //initiate the purchase mobileStoreEnablePurchaseUpdates mobileStoreSetProductType productID,"inapp" mobileStoreMakePurchase productID,"1","testPayload - Android Only" end startInAppPurchase on purchaseStateUpdate pPurchaseID,pProductID,pState global user switch pState case "paymentReceived" put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData //tell our server is was sucessful and log users credits to database if isIPhone() then if db_validateAppleReceipt(rawReciptData) then add (pProductID-1000) to user["credits"] end if else //will add Android database call when ready end if mobileStoreConfirmPurchase pProductID //Inform the store that the purchase identifier productID was successfully delivered if isAndroid() then mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO CONSUME THE PRODUCT !! end if mobileStoreDisablePurchaseUpdates loadMeUp //refresh our display break case "error" answer "Error occured during purchase handling:" & return & return & mobileStorePurchaseError(pPurchaseID) mobileStoreDisablePurchaseUpdates break case "invalidSKU" answer "Invalid SKU." mobileStoreDisablePurchaseUpdates break case "alreadyEntitled" answer "Already Owned." mobileStoreDisablePurchaseUpdates break case "restored" answer "restored" offerPurchasedProduct pProductID mobileStoreConfirmPurchase pProductID mobileStoreDisablePurchaseUpdates loadMeUp //refresh our display break case "canceled" case "cancelled" answer "Purchase Cancelled:" && pProductID mobileStoreDisablePurchaseUpdates break end switch end purchaseStateUpdate Do you see anything wonky in my code? --Dan From: use-livecode on behalf of Andrew at MidWest Coast Media via use-livecode Date: Tuesday, August 8, 2023 at 10:57 AM To: use-livecode at lists.runrev.com Cc: Andrew at MidWest Coast Media Subject: Re: Consumable In App Purchases on Android If I’m consuming instantly, this is the code working in my Android/iOS project with comment lines explaining the values being passed in the Android build (note that the product ID values are more specific for Android than iOS): if tPlatform = "android" then put "com.midwestcoastmedia.dj3pm." into tProductIDbase else if tPlatform = "iPhone" then put EMPTY into tProductIDbase end if put tProductIDbase & pWhichProduct into tProductID mobileStoreEnablePurchaseUpdates ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", "inapp" mobileStoreSetProductType tProductID, "inapp" ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", "1", "Thanks for the buck!" mobileStoreMakePurchase tProductID, "1", tMessage ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" mobileStoreConsumePurchase tProductID put the result into tCatch BUT you’ll also need to implement the on purchaseStateUpdate handler to completely execute the purchase cycle. The lesson is sometimes hard to follow when Android changes their branding/naming but https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store has a good example of this. —Andrew Bell From bobsneidar at iotecdigital.com Tue Aug 8 16:04:30 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 20:04:30 +0000 Subject: Variable Watcher disappeared In-Reply-To: <76E6D4CF-801E-423E-9D1C-1EFA59B09E8F@starfirelighting.com> References: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> <44FF4A7B-5381-4E21-99A6-D6E03F131205@iotecdigital.com> <76E6D4CF-801E-423E-9D1C-1EFA59B09E8F@starfirelighting.com> Message-ID: <7347F88E-BCA8-4596-9A24-4A9E80C3368F@iotecdigital.com> Didn’t try that. Too late now, I’m on new prefs, but if it happens again I’ll give it a try. I did drag the window to no effect, but I didn’t try resizing from the top. Bob S On Aug 8, 2023, at 12:13 PM, Craig Newman via use-livecode wrote: What happens if you set the top of the SE window a bit higher than current? I have a gadget that locates the SE on my portrait monitor on command. I could easily make its top anything I want, and I bet that would display the hidden bottom of the window. Craig On Aug 8, 2023, at 1:39 PM, Bob Sneidar via use-livecode > wrote: Resetting prefs fixed it. Should be a better way than starting from scratch though. Bob S From marksmithhfx at gmail.com Tue Aug 8 16:44:41 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Aug 2023 21:44:41 +0100 Subject: Variable Watcher disappeared In-Reply-To: <7347F88E-BCA8-4596-9A24-4A9E80C3368F@iotecdigital.com> References: <7347F88E-BCA8-4596-9A24-4A9E80C3368F@iotecdigital.com> Message-ID: <6764A36B-C213-4829-84E7-812E5D2DCAE2@gmail.com> Bob, glad you were able to fix it. I wonder what caused it in the first place. Martin, an incredible list of ways to get windows back. Thanks for posting!!! Sent from my iPhone > On Aug 8, 2023, at 9:05 PM, Bob Sneidar via use-livecode wrote: > > Didn’t try that. Too late now, I’m on new prefs, but if it happens again I’ll give it a try. I did drag the window to no effect, but I didn’t try resizing from the top. > > Bob S > > > On Aug 8, 2023, at 12:13 PM, Craig Newman via use-livecode wrote: > > What happens if you set the top of the SE window a bit higher than current? > > I have a gadget that locates the SE on my portrait monitor on command. I could easily make its top anything I want, and I bet that would display the hidden bottom of the window. > > Craig > > On Aug 8, 2023, at 1:39 PM, Bob Sneidar via use-livecode > wrote: > > Resetting prefs fixed it. Should be a better way than starting from scratch though. > > 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 dsc at swcp.com Tue Aug 8 18:45:19 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 16:45:19 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> Message-ID: <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. I guess building expects a drive on my Mac. And my Mac returns a bogus error message. I suggest one of these as an improvement to the build operation: * Complain and advise when the target is on a network drive. * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) Suggestion: * I should not have to remember. Thanks, everybody, for your help! Dar > On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: > > Oh, and I’m building from a network drive. > > >> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >> >> xcode-select -p >> /Library/Developer/CommandLineTools >> >>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>> >>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>> >>> For PLIST I chose Chose a PLIST and then clicked Use None. >>> >>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>> >>> I have no Icons added. >>> >>> I get the same error. >>> >>> Dar >>> >>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>> >>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>> >>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>> >>>>> Bob S >>>>> >>>>> >>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> Thanks, Jacque! >>>>>> >>>>>> That gives me a clue. I will try to get more info on this. >>>>>> >>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>> >>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>> I’m on macOS Ventura. >>>>>> >>>>>> Has anyone successfully built a Mac application recently? >>>>>> >>>>>> Dar >>>>>> >>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>> >>>>>>> This might help: >>>>>>> >>>>>>> -- >>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>> >>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>> >>>>>>>> The first time LiveCode crashed. >>>>>>>> >>>>>>>> Subsequent times, I get this error: >>>>>>>> There was an error while saving the standalone application >>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>> /…/myProgram.app: >>>>>>>> Replacing existing signature >>>>>>>> /…/myProgram.app: >>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>> Allowed >>>>>>>> >>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From matthias_livecode_150811 at m-r-d.de Tue Aug 8 19:13:15 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Aug 2023 01:13:15 +0200 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> Message-ID: <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> Hi Dar, just a shot in the dark.... For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? Regards, Matthias > Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : > > I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. > > I guess building expects a drive on my Mac. And my Mac returns a bogus error message. > > I suggest one of these as an improvement to the build operation: > > * Complain and advise when the target is on a network drive. > * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. > > I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) > > Suggestion: > > * I should not have to remember. > > Thanks, everybody, for your help! > > Dar > >> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >> >> Oh, and I’m building from a network drive. >> >> >>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>> >>> xcode-select -p >>> /Library/Developer/CommandLineTools >>> >>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>> >>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>> >>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>> >>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>> >>>> I have no Icons added. >>>> >>>> I get the same error. >>>> >>>> Dar >>>> >>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>> >>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>> >>>>>> Bob S >>>>>> >>>>>> >>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> Thanks, Jacque! >>>>>>> >>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>> >>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>> >>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>> I’m on macOS Ventura. >>>>>>> >>>>>>> Has anyone successfully built a Mac application recently? >>>>>>> >>>>>>> Dar >>>>>>> >>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>> >>>>>>>> This might help: >>>>>>>> >>>>>>>> -- >>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>> >>>>>>>>> The first time LiveCode crashed. >>>>>>>>> >>>>>>>>> Subsequent times, I get this error: >>>>>>>>> There was an error while saving the standalone application >>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>> /…/myProgram.app: >>>>>>>>> Replacing existing signature >>>>>>>>> /…/myProgram.app: >>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>> Allowed >>>>>>>>> >>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 19:15:08 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 23:15:08 +0000 Subject: Sorting Arrays Message-ID: Has anyone come across a need to sort a numbered array by the values of the different keys? Here you go. Keep in mind that there is no error checking so I have no idea what would happen if you provided a sort key that didn’t exist in the array. on sortNumberedArray @pArrayDataA, pSortKeys /* Provide a numbered array of key value pairs and a comma delimited list of the sort order you want. Ex. "filename,version numeric descending". The result will be numbered array resorted by the sort order you provide. */ put the keys of pArrayDataA into tKeyList sort tKeyList numeric ascending put the number of items of pSortKeys into tSortKeyCount -- convert the sort keys to an array repeat with i = the number of items of pSortKeys down to 1 put item i of pSortKeys into tSortIndex repeat with x = the number of words of tSortIndex down to 1 put word x of tSortIndex into tKeyWord switch case tKeyWord is among the items of "asc,ascending,desc,descending" put tKeyWord into tSortKeysA [i] ["sortorder"] break case tKeyWord is "International,Numeric,datetime,text,binary" put tKeyWord into tSortKeysA [i] ["sorttype"] break default put word 1 to x of tSortIndex into tSortKeysA [i] ["sortvalue"] end switch end repeat end repeat -- build a comma delimited list of sort keys from the passed array put the keys of pArrayDataA into tInputKeyList sort tInputKeyList numeric ascending repeat for each line tLine in tInputKeyList put the keys of tSortKeysA into tSortKeyList sort lines of tSortKeyList numeric repeat for each line tSortLine in tSortKeyList put tSortKeysA [tSortLine] ["sortvalue"] into tSortValue put pArrayDataA [tLine] [tSortValue] into item tSortLine of line tLine of tSortValueList end repeat put "," & tLine after tSortValueList end repeat -- sort the list put the keys of tSortKeysA into tSortKeyList sort tSortKeyList numeric descending repeat for each line tKey in tSortKeyList put "sort lines of tSortValueList" && tSortKeysA [tKey] ["sortorder"] && tSortKeysA [tKey] ["sorttype"] && \ "by item" && tkey && "of each" into tSortCommand do tSortCommand end repeat -- convert the list back to an array repeat for each line tLine in tSortValueList add 1 to tArrayCounter put item -1 of tLine into tArrayIndex put pArrayDataA [tArrayIndex] into tOutArrayA [tArrayCounter] end repeat put tOutArrayA into pArrayDataA end sortNumberedArray Bob S From matthias_livecode_150811 at m-r-d.de Wed Aug 9 01:32:30 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Aug 2023 07:32:30 +0200 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> Message-ID: Forgot my answer, i just saw your post that your error where caused because of building to a network drive. I had similar problems btw. in the past when building to a dropbox folder or a folder that was synchronized with iCloud. Regards, Matthias > Am 09.08.2023 um 01:13 schrieb matthias_livecode_150811 at m-r-d.de: > > Hi Dar, > > just a shot in the dark.... > > For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. > In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? > > Regards, > Matthias > > >> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >> >> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >> >> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >> >> I suggest one of these as an improvement to the build operation: >> >> * Complain and advise when the target is on a network drive. >> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >> >> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >> >> Suggestion: >> >> * I should not have to remember. >> >> Thanks, everybody, for your help! >> >> Dar >> >>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>> >>> Oh, and I’m building from a network drive. >>> >>> >>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>> >>>> xcode-select -p >>>> /Library/Developer/CommandLineTools >>>> >>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>> >>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>> >>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>> >>>>> I have no Icons added. >>>>> >>>>> I get the same error. >>>>> >>>>> Dar >>>>> >>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>> >>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>> >>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>> >>>>>>> Bob S >>>>>>> >>>>>>> >>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> Thanks, Jacque! >>>>>>>> >>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>> >>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>> >>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>> I’m on macOS Ventura. >>>>>>>> >>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>> >>>>>>>> Dar >>>>>>>> >>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>> >>>>>>>>> This might help: >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>> >>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>> >>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>> /…/myProgram.app: >>>>>>>>>> Replacing existing signature >>>>>>>>>> /…/myProgram.app: >>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>> Allowed >>>>>>>>>> >>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Wed Aug 9 04:04:45 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 9 Aug 2023 11:04:45 +0300 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> Message-ID: Hello Dar, I can successfully build a Mac standalone in a network drive. The error you are getting indicates that the app the standalone builder tries to codesign, has some extended attributes. This is strange, because the standalone builder does this very thing (i.e. it clears the extended attributes) just before the codesign command. I am wondering - do you get the same error when trying to build a standalone from a new simple stack? Or does that happen only with a specific stack? If the latter, does this stack contain anything in the Copy Files? Kind regards, Panos On Wed, 9 Aug 2023 at 08:33, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Forgot my answer, i just saw your post that your error where caused > because of building to a network drive. > > I had similar problems btw. in the past when building to a dropbox folder > or a folder that was synchronized with iCloud. > > Regards, > Matthias > > > > > Am 09.08.2023 um 01:13 schrieb matthias_livecode_150811 at m-r-d.de: > > > > Hi Dar, > > > > just a shot in the dark.... > > > > For some time now Livecode does an adhoc code signing when creating a > macOS standalone. So therefore the Xcode command line tools have to be > installed. > > In case you have installed more than one versions of Xcode on your > system, did you select in Xcode preferences the correct Xcode standalone > tools that shall be used? > > > > Regards, > > Matthias > > > > > >> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> I have a clue. I changed the build destination to a drive on my Mac. > That seemed to have gotten past that error and I ran into other errors. > >> > >> I guess building expects a drive on my Mac. And my Mac returns a bogus > error message. > >> > >> I suggest one of these as an improvement to the build operation: > >> > >> * Complain and advise when the target is on a network drive. > >> * Build the standalone in a temporary location on the local drive and > then copy to the network drive when the target is on a network drive. > >> > >> I got past that error, but now I am running into others. They look > familiar. I think the problem is that I’m not remembering the magic steps > related to saving, purging and so on. I’m not sure, since I can build for > Windows. (I can probably stumble through what I did long, long ago, but > might figure it out faster.) > >> > >> Suggestion: > >> > >> * I should not have to remember. > >> > >> Thanks, everybody, for your help! > >> > >> Dar > >> > >>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> Oh, and I’m building from a network drive. > >>> > >>> > >>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> xcode-select -p > >>>> /Library/Developer/CommandLineTools > >>>> > >>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>> > >>>>> I removed all inclusions. I opted to remove all profiles, probably > none. There are no Copy Files. I’m building for Intel only. > >>>>> > >>>>> For PLIST I chose Chose a PLIST and then clicked Use None. > >>>>> > >>>>> I set my bundle identifier and have not changed that among my > attempts. I left all of the other Version Information as default. > >>>>> > >>>>> I have no Icons added. > >>>>> > >>>>> I get the same error. > >>>>> > >>>>> Dar > >>>>> > >>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>> Signing happens after the app is built and is a manual process, so > yours isn't signed /notarized yet. But unsigned apps run on the development > machine anyway, so I'd say you built the app successfully. > >>>>>> > >>>>>> -- > >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>>>>> HyperActive Software | http://www.hyperactivesw.com > >>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>>> I have, but I don’t do any signing or notarizing. If that happens > transparently, then it’s working for me. > >>>>>>> > >>>>>>> Bob S > >>>>>>> > >>>>>>> > >>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>>>> > >>>>>>>> Thanks, Jacque! > >>>>>>>> > >>>>>>>> That gives me a clue. I will try to get more info on this. > >>>>>>>> > >>>>>>>> However, that note shows how to delete the offending resource > using the xattr tool, but I have no app to point it to. LiveCode did not > build anything. > >>>>>>>> > >>>>>>>> I’m willing to try some magic values in Standalone Application > Settings. > >>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. > >>>>>>>> I’m on macOS Ventura. > >>>>>>>> > >>>>>>>> Has anyone successfully built a Mac application recently? > >>>>>>>> > >>>>>>>> Dar > >>>>>>>> > >>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>>>>> > >>>>>>>>> This might help: > >>>>>>>>> < > https://developer.apple.com/library/archive/qa/qa1940/_index.html> > >>>>>>>>> -- > >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com > >>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>>>>> > >>>>>>>>>> I’m having trouble building an application for Mac Intel. > >>>>>>>>>> > >>>>>>>>>> The first time LiveCode crashed. > >>>>>>>>>> > >>>>>>>>>> Subsequent times, I get this error: > >>>>>>>>>> There was an error while saving the standalone application > >>>>>>>>>> Adding ad-hoc signature failed with error: > >>>>>>>>>> /…/myProgram.app: > >>>>>>>>>> Replacing existing signature > >>>>>>>>>> /…/myProgram.app: > >>>>>>>>>> Resource for, Finder information, or similar detritus not > >>>>>>>>>> Allowed > >>>>>>>>>> > >>>>>>>>>> I tried fiddling with the PLIST settings without success. > >>>>>>>>>> _______________________________________________ > >>>>>>>>>> use-livecode mailing list > >>>>>>>>>> use-livecode at lists.runrev.com > >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> _______________________________________________ > >>>>>>>>> use-livecode mailing list > >>>>>>>>> use-livecode at lists.runrev.com > >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>>>>> > >>>>>>>> > >>>>>>>> _______________________________________________ > >>>>>>>> use-livecode mailing list > >>>>>>>> use-livecode at lists.runrev.com > >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> use-livecode mailing list > >>>>>>> use-livecode at lists.runrev.com > >>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Aug 9 04:37:42 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 9 Aug 2023 11:37:42 +0300 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Hello Dan, The call to mobileStoreConfirmPurchase pProductID causes the purchaseStateUpdate message to be sent again with status=complete. So I would not suggest putting the call to mobileStoreConsumePurchase pProductID just after mobileStoreConfirmPurchase. You could either put it in a separate button and see if it works, otherwise add a [case "complete"] in the purchaseStateUpdate msg and there consume the product and disable purchase updates, i.e.: on purchaseStateUpdate pPurchaseID, pProductID, pState switch pState case "paymentReceived" answer "Payment received!" offerPurchasedProduct pProductID mobileStoreConfirmPurchase pProductID break case "error" answer "Error occured during purchase handling:" & return & return & mobileStorePurchaseError(pPurchaseID) mobileStoreDisablePurchaseUpdates break case "invalidSKU" answer "Invalid SKU." mobileStoreDisablePurchaseUpdates break case "alreadyEntitled" answer "Already Owned." mobileStoreDisablePurchaseUpdates break case "restored" put "Restored: " & pProductID & cr after field "restored" offerPurchasedProduct pProductID mobileStoreConfirmPurchase pProductID break case "cancelled" answer "Purchase Cancelled:" && pProductID mobileStoreDisablePurchaseUpdates break case "complete" answer "Purchase Complete:" && pProductID mobileStoreConsumePurchase pProductID // <-- ADD THIS HERE mobileStoreDisablePurchaseUpdates break end switch end purchaseStateUpdate Hope this helps. Kind regards, Panos -- On Tue, 8 Aug 2023 at 22:52, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Andrew, > > Thank you for the input. The code snippet you said you are using has > mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase. > Is that what you are doing? The LC example show that > mobileStoreMakePurchase should be handled in the purchaseStateUpdate > message after the purchase is paymentReceived” > > If that’s true, then I feel like I’m doing exactly what you are > suggesting. The purchase is fine, but the consumption if not working for > me. Here’s what I’m doing: > > on startInAppPurchase numCredits > //setup purchase id > if numCredits = 1 then > put 1001 into productID > put "$0.99" into productAmount > else if numCredits = 2 then > put 1002 into productID > put "$1.99" into productAmount > else if numCredits = 3 then > put 1003 into productID > put "$2.99" into productAmount > else if numCredits = 11 then > put 1011 into productID > put "$9.99" into productAmount > end if > > //confirm with user > if numCredits = 1 then > put "Are you sure you want to purchase 1 credit for" && productAmount > & "?" into pString > else > put "Are you sure you want to purchase" && numCredits && "credits for" > && productAmount & "?" into pString > end if > if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") > = "Cancel" then //my custom answer dialog > exit startInAppPurchase > end if > > //initiate the purchase > mobileStoreEnablePurchaseUpdates > mobileStoreSetProductType productID,"inapp" > mobileStoreMakePurchase productID,"1","testPayload - Android Only" > end startInAppPurchase > > on purchaseStateUpdate pPurchaseID,pProductID,pState > global user > > switch pState > case "paymentReceived" > put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData > > //tell our server is was sucessful and log users credits to database > if isIPhone() then > if db_validateAppleReceipt(rawReciptData) then > add (pProductID-1000) to user["credits"] > end if > else > //will add Android database call when ready > end if > > mobileStoreConfirmPurchase pProductID //Inform the store that the > purchase identifier productID was successfully delivered > if isAndroid() then > mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO > CONSUME THE PRODUCT !! > end if > > mobileStoreDisablePurchaseUpdates > loadMeUp //refresh our display > break > case "error" > answer "Error occured during purchase handling:" & return & return & > mobileStorePurchaseError(pPurchaseID) > mobileStoreDisablePurchaseUpdates > break > case "invalidSKU" > answer "Invalid SKU." > mobileStoreDisablePurchaseUpdates > break > case "alreadyEntitled" > answer "Already Owned." > mobileStoreDisablePurchaseUpdates > break > case "restored" > answer "restored" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > mobileStoreDisablePurchaseUpdates > > loadMeUp //refresh our display > break > case "canceled" > case "cancelled" > answer "Purchase Cancelled:" && pProductID > mobileStoreDisablePurchaseUpdates > break > end switch > end purchaseStateUpdate > > > > Do you see anything wonky in my code? > > --Dan > > From: use-livecode on behalf of > Andrew at MidWest Coast Media via use-livecode < > use-livecode at lists.runrev.com> > Date: Tuesday, August 8, 2023 at 10:57 AM > To: use-livecode at lists.runrev.com > Cc: Andrew at MidWest Coast Media > Subject: Re: Consumable In App Purchases on Android > If I’m consuming instantly, this is the code working in my Android/iOS > project with comment lines explaining the values being passed in the > Android build (note that the product ID values are more specific for > Android than iOS): > > if tPlatform = "android" then > put "com.midwestcoastmedia.dj3pm." into tProductIDbase > else if tPlatform = "iPhone" then > put EMPTY into tProductIDbase > end if > put tProductIDbase & pWhichProduct into tProductID > > mobileStoreEnablePurchaseUpdates > ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", > "inapp" > mobileStoreSetProductType tProductID, "inapp" > ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", "1", > "Thanks for the buck!" > mobileStoreMakePurchase tProductID, "1", tMessage > ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" > mobileStoreConsumePurchase tProductID > put the result into tCatch > > BUT you’ll also need to implement the on purchaseStateUpdate handler to > completely execute the purchase cycle. The lesson is sometimes hard to > follow when Android changes their branding/naming but > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store > < > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store> > has a good example of this. > > —Andrew Bell > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Wed Aug 9 07:55:21 2023 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2023 05:55:21 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> Message-ID: <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. I still feel defensive that Mac said “detritus”. ;-) > On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: > > Hi Dar, > > just a shot in the dark.... > > For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. > In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? > > Regards, > Matthias > > >> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >> >> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >> >> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >> >> I suggest one of these as an improvement to the build operation: >> >> * Complain and advise when the target is on a network drive. >> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >> >> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >> >> Suggestion: >> >> * I should not have to remember. >> >> Thanks, everybody, for your help! >> >> Dar >> >>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>> >>> Oh, and I’m building from a network drive. >>> >>> >>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>> >>>> xcode-select -p >>>> /Library/Developer/CommandLineTools >>>> >>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>> >>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>> >>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>> >>>>> I have no Icons added. >>>>> >>>>> I get the same error. >>>>> >>>>> Dar >>>>> >>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>> >>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>> >>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>> >>>>>>> Bob S >>>>>>> >>>>>>> >>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> Thanks, Jacque! >>>>>>>> >>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>> >>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>> >>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>> I’m on macOS Ventura. >>>>>>>> >>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>> >>>>>>>> Dar >>>>>>>> >>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>> >>>>>>>>> This might help: >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>> >>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>> >>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>> /…/myProgram.app: >>>>>>>>>> Replacing existing signature >>>>>>>>>> /…/myProgram.app: >>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>> Allowed >>>>>>>>>> >>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From dsc at swcp.com Wed Aug 9 08:17:14 2023 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2023 06:17:14 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> Message-ID: <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> Whoops, I sent the most recent before I saw that Panos had responded. Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. The drive provides SMB, AFP and NFS services. Dar > On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: > > I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. > > I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. > > I still feel defensive that Mac said “detritus”. ;-) > >> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >> >> Hi Dar, >> >> just a shot in the dark.... >> >> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >> >> Regards, >> Matthias >> >> >>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>> >>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>> >>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>> >>> I suggest one of these as an improvement to the build operation: >>> >>> * Complain and advise when the target is on a network drive. >>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>> >>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>> >>> Suggestion: >>> >>> * I should not have to remember. >>> >>> Thanks, everybody, for your help! >>> >>> Dar >>> >>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>> >>>> Oh, and I’m building from a network drive. >>>> >>>> >>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> xcode-select -p >>>>> /Library/Developer/CommandLineTools >>>>> >>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>> >>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>> >>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>> >>>>>> I have no Icons added. >>>>>> >>>>>> I get the same error. >>>>>> >>>>>> Dar >>>>>> >>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>> >>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>> >>>>>>> -- >>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>> >>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>> >>>>>>>> Bob S >>>>>>>> >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>> Thanks, Jacque! >>>>>>>>> >>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>> >>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>> >>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>> I’m on macOS Ventura. >>>>>>>>> >>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>> >>>>>>>>> Dar >>>>>>>>> >>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> This might help: >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>> >>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>> >>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>> >>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>> Replacing existing signature >>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>> Allowed >>>>>>>>>>> >>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Wed Aug 9 08:40:31 2023 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2023 06:40:31 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> Message-ID: I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. Dar > On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: > > Whoops, I sent the most recent before I saw that Panos had responded. > > Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. > > The drive provides SMB, AFP and NFS services. > > Dar > >> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >> >> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >> >> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >> >> I still feel defensive that Mac said “detritus”. ;-) >> >>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>> >>> Hi Dar, >>> >>> just a shot in the dark.... >>> >>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>> >>> Regards, >>> Matthias >>> >>> >>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>> >>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>> >>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>> >>>> I suggest one of these as an improvement to the build operation: >>>> >>>> * Complain and advise when the target is on a network drive. >>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>> >>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>> >>>> Suggestion: >>>> >>>> * I should not have to remember. >>>> >>>> Thanks, everybody, for your help! >>>> >>>> Dar >>>> >>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> Oh, and I’m building from a network drive. >>>>> >>>>> >>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> xcode-select -p >>>>>> /Library/Developer/CommandLineTools >>>>>> >>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>> >>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>> >>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>> >>>>>>> I have no Icons added. >>>>>>> >>>>>>> I get the same error. >>>>>>> >>>>>>> Dar >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>> >>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>> >>>>>>>> -- >>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>> >>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>> >>>>>>>>> Bob S >>>>>>>>> >>>>>>>>> >>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> Thanks, Jacque! >>>>>>>>>> >>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>> >>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>> >>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>> >>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>> >>>>>>>>>> Dar >>>>>>>>>> >>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>> >>>>>>>>>>> This might help: >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>> >>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>> >>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>> >>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>> Allowed >>>>>>>>>>>> >>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From marksmithhfx at gmail.com Wed Aug 9 09:28:54 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 9 Aug 2023 14:28:54 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> Message-ID: <960A584E-AB5D-435B-BBA1-D661E820C2FC@gmail.com> Hi Dar, > Does installing Xcode change the command-line tools? I think it should. Others will correct me if I’m wrong. > I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. I don’t know if this is of any help but there is a list of LC versions and compatible/required Xcode versions here… (in the first entry on the page) https://livecode.com/resources/support/ask-a-question/ Mark > On 9 Aug 2023, at 1:40 pm, Dar Scott via use-livecode wrote: > > I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. > > I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. > > Dar > >> On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: >> >> Whoops, I sent the most recent before I saw that Panos had responded. >> >> Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. >> >> The drive provides SMB, AFP and NFS services. >> >> Dar >> >>> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >>> >>> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >>> >>> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >>> >>> I still feel defensive that Mac said “detritus”. ;-) >>> >>>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>>> >>>> Hi Dar, >>>> >>>> just a shot in the dark.... >>>> >>>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>>> >>>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>>> >>>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>>> >>>>> I suggest one of these as an improvement to the build operation: >>>>> >>>>> * Complain and advise when the target is on a network drive. >>>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>>> >>>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>>> >>>>> Suggestion: >>>>> >>>>> * I should not have to remember. >>>>> >>>>> Thanks, everybody, for your help! >>>>> >>>>> Dar >>>>> >>>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> Oh, and I’m building from a network drive. >>>>>> >>>>>> >>>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> xcode-select -p >>>>>>> /Library/Developer/CommandLineTools >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>>> >>>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>>> >>>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>>> >>>>>>>> I have no Icons added. >>>>>>>> >>>>>>>> I get the same error. >>>>>>>> >>>>>>>> Dar >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>>> >>>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>>> >>>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>>> >>>>>>>>>> Bob S >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>>> >>>>>>>>>>> Thanks, Jacque! >>>>>>>>>>> >>>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>>> >>>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>>> >>>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>>> >>>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>>> >>>>>>>>>>> Dar >>>>>>>>>>> >>>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>> This might help: >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>>> >>>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>>> >>>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>>> Allowed >>>>>>>>>>>>> >>>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Aug 9 09:41:41 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Aug 2023 15:41:41 +0200 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> Message-ID: <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> Every version of Xocde come with it own version of command line tools. If you are just creating macOS standalones then you just need the command line tools. But if you are also planning to create iOS apps then you'll need the complete Xcode package. To install just the command line tools run the following command from terminal xcode-select --install This should download and install the most current version of command line tools or better said, the most current version that is available for your installed macOS. Regards, Matthias > Am 09.08.2023 um 14:40 schrieb Dar Scott via use-livecode : > > I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. > > I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. > > Dar > >> On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: >> >> Whoops, I sent the most recent before I saw that Panos had responded. >> >> Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. >> >> The drive provides SMB, AFP and NFS services. >> >> Dar >> >>> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >>> >>> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >>> >>> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >>> >>> I still feel defensive that Mac said “detritus”. ;-) >>> >>>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>>> >>>> Hi Dar, >>>> >>>> just a shot in the dark.... >>>> >>>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>>> >>>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>>> >>>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>>> >>>>> I suggest one of these as an improvement to the build operation: >>>>> >>>>> * Complain and advise when the target is on a network drive. >>>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>>> >>>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>>> >>>>> Suggestion: >>>>> >>>>> * I should not have to remember. >>>>> >>>>> Thanks, everybody, for your help! >>>>> >>>>> Dar >>>>> >>>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> Oh, and I’m building from a network drive. >>>>>> >>>>>> >>>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> xcode-select -p >>>>>>> /Library/Developer/CommandLineTools >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>>> >>>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>>> >>>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>>> >>>>>>>> I have no Icons added. >>>>>>>> >>>>>>>> I get the same error. >>>>>>>> >>>>>>>> Dar >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>>> >>>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>>> >>>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>>> >>>>>>>>>> Bob S >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>>> >>>>>>>>>>> Thanks, Jacque! >>>>>>>>>>> >>>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>>> >>>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>>> >>>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>>> >>>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>>> >>>>>>>>>>> Dar >>>>>>>>>>> >>>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>> This might help: >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>>> >>>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>>> >>>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>>> Allowed >>>>>>>>>>>>> >>>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Aug 9 09:46:35 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Aug 2023 15:46:35 +0200 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> Message-ID: <73364263-B19C-4F1D-9984-7572C833998C@m-r-d.de> And like the links says that Mark posted. For iOS standalones every Livecode version supports a special Xcode version according to the installed macOS. You'll find the information which works for your installed LC version also in the release notes of your LC version. You'll find the release notes under the Help menu in LC. > Am 09.08.2023 um 15:41 schrieb matthias_livecode_150811 at m-r-d.de: > > Every version of Xocde come with it own version of command line tools. > If you are just creating macOS standalones then you just need the command line tools. > But if you are also planning to create iOS apps then you'll need the complete Xcode package. > > To install just the command line tools run the following command from terminal > > xcode-select --install > > This should download and install the most current version of command line tools or better said, the most current version that is available for your installed macOS. > > Regards, > Matthias > > >> Am 09.08.2023 um 14:40 schrieb Dar Scott via use-livecode : >> >> I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. >> >> I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. >> >> Dar >> >>> On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: >>> >>> Whoops, I sent the most recent before I saw that Panos had responded. >>> >>> Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. >>> >>> The drive provides SMB, AFP and NFS services. >>> >>> Dar >>> >>>> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >>>> >>>> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >>>> >>>> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >>>> >>>> I still feel defensive that Mac said “detritus”. ;-) >>>> >>>>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>>>> >>>>> Hi Dar, >>>>> >>>>> just a shot in the dark.... >>>>> >>>>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>>>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>>>> >>>>> Regards, >>>>> Matthias >>>>> >>>>> >>>>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>>>> >>>>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>>>> >>>>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>>>> >>>>>> I suggest one of these as an improvement to the build operation: >>>>>> >>>>>> * Complain and advise when the target is on a network drive. >>>>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>>>> >>>>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>>>> >>>>>> Suggestion: >>>>>> >>>>>> * I should not have to remember. >>>>>> >>>>>> Thanks, everybody, for your help! >>>>>> >>>>>> Dar >>>>>> >>>>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> Oh, and I’m building from a network drive. >>>>>>> >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> xcode-select -p >>>>>>>> /Library/Developer/CommandLineTools >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>>>> >>>>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>>>> >>>>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>>>> >>>>>>>>> I have no Icons added. >>>>>>>>> >>>>>>>>> I get the same error. >>>>>>>>> >>>>>>>>> Dar >>>>>>>>> >>>>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>>>> >>>>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>>>> >>>>>>>>>>> Bob S >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>> Thanks, Jacque! >>>>>>>>>>>> >>>>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>>>> >>>>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>>>> >>>>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>>>> >>>>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>>>> >>>>>>>>>>>> Dar >>>>>>>>>>>> >>>>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> This might help: >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>>>> >>>>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>>>> Allowed >>>>>>>>>>>>>> >>>>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From marksmithhfx at gmail.com Wed Aug 9 10:07:41 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 9 Aug 2023 15:07:41 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> Message-ID: <7079B092-34CF-4779-90B6-86110432A1C8@gmail.com> Very useful info Matthias. Thanks for posting. Mark > On 9 Aug 2023, at 2:41 pm, matthias rebbe via use-livecode wrote: > > Every version of Xocde come with it own version of command line tools. > If you are just creating macOS standalones then you just need the command line tools. > But if you are also planning to create iOS apps then you'll need the complete Xcode package. > > To install just the command line tools run the following command from terminal > > xcode-select --install > > This should download and install the most current version of command line tools or better said, the most current version that is available for your installed macOS. > > Regards, > Matthias > > >> Am 09.08.2023 um 14:40 schrieb Dar Scott via use-livecode : >> >> I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. >> >> I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. >> >> Dar >> >>> On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: >>> >>> Whoops, I sent the most recent before I saw that Panos had responded. >>> >>> Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. >>> >>> The drive provides SMB, AFP and NFS services. >>> >>> Dar >>> >>>> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >>>> >>>> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >>>> >>>> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >>>> >>>> I still feel defensive that Mac said “detritus”. ;-) >>>> >>>>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>>>> >>>>> Hi Dar, >>>>> >>>>> just a shot in the dark.... >>>>> >>>>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>>>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>>>> >>>>> Regards, >>>>> Matthias >>>>> >>>>> >>>>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>>>> >>>>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>>>> >>>>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>>>> >>>>>> I suggest one of these as an improvement to the build operation: >>>>>> >>>>>> * Complain and advise when the target is on a network drive. >>>>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>>>> >>>>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>>>> >>>>>> Suggestion: >>>>>> >>>>>> * I should not have to remember. >>>>>> >>>>>> Thanks, everybody, for your help! >>>>>> >>>>>> Dar >>>>>> >>>>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> Oh, and I’m building from a network drive. >>>>>>> >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> xcode-select -p >>>>>>>> /Library/Developer/CommandLineTools >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>>>> >>>>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>>>> >>>>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>>>> >>>>>>>>> I have no Icons added. >>>>>>>>> >>>>>>>>> I get the same error. >>>>>>>>> >>>>>>>>> Dar >>>>>>>>> >>>>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>>>> >>>>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>>>> >>>>>>>>>>> Bob S >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>> Thanks, Jacque! >>>>>>>>>>>> >>>>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>>>> >>>>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>>>> >>>>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>>>> >>>>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>>>> >>>>>>>>>>>> Dar >>>>>>>>>>>> >>>>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> This might help: >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>>>> >>>>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>>>> Allowed >>>>>>>>>>>>>> >>>>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Aug 9 10:49:57 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 9 Aug 2023 17:49:57 +0300 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Hello all, Also, it might be worth trying this as well - add a new button with this code: on mouseUp mobileStoreEnablePurchaseUpdates mobileStoreRestorePurchases end mouseUp Then press the button, and *then* call mobileStoreConsumePurchase pProductID . Hopefully now it should be properly consumed, and you should be able to buy it (and consume it) again. Cheers, Panos -- On Wed, 9 Aug 2023 at 11:37, panagiotis m wrote: > Hello Dan, > > The call to mobileStoreConfirmPurchase pProductID causes the > purchaseStateUpdate message to be sent again with status=complete. > > So I would not suggest putting the call to mobileStoreConsumePurchase > pProductID just after mobileStoreConfirmPurchase. > > You could either put it in a separate button and see if it works, > otherwise add a [case "complete"] in the purchaseStateUpdate msg and there > consume the product and disable purchase updates, i.e.: > > on purchaseStateUpdate pPurchaseID, pProductID, pState > switch pState > case "paymentReceived" > answer "Payment received!" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > break > case "error" > answer "Error occured during purchase handling:" & return & > return & mobileStorePurchaseError(pPurchaseID) > mobileStoreDisablePurchaseUpdates > break > case "invalidSKU" > answer "Invalid SKU." > mobileStoreDisablePurchaseUpdates > break > case "alreadyEntitled" > answer "Already Owned." > mobileStoreDisablePurchaseUpdates > break > case "restored" > put "Restored: " & pProductID & cr after field "restored" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > break > case "cancelled" > answer "Purchase Cancelled:" && pProductID > mobileStoreDisablePurchaseUpdates > break > case "complete" > answer "Purchase Complete:" && pProductID > mobileStoreConsumePurchase pProductID // <-- ADD THIS HERE > mobileStoreDisablePurchaseUpdates > break > end switch > end purchaseStateUpdate > > Hope this helps. > > Kind regards, > Panos > -- > > > > On Tue, 8 Aug 2023 at 22:52, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Andrew, >> >> Thank you for the input. The code snippet you said you are using has >> mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase. >> Is that what you are doing? The LC example show that >> mobileStoreMakePurchase should be handled in the purchaseStateUpdate >> message after the purchase is paymentReceived” >> >> If that’s true, then I feel like I’m doing exactly what you are >> suggesting. The purchase is fine, but the consumption if not working for >> me. Here’s what I’m doing: >> >> on startInAppPurchase numCredits >> //setup purchase id >> if numCredits = 1 then >> put 1001 into productID >> put "$0.99" into productAmount >> else if numCredits = 2 then >> put 1002 into productID >> put "$1.99" into productAmount >> else if numCredits = 3 then >> put 1003 into productID >> put "$2.99" into productAmount >> else if numCredits = 11 then >> put 1011 into productID >> put "$9.99" into productAmount >> end if >> >> //confirm with user >> if numCredits = 1 then >> put "Are you sure you want to purchase 1 credit for" && productAmount >> & "?" into pString >> else >> put "Are you sure you want to purchase" && numCredits && "credits >> for" && productAmount & "?" into pString >> end if >> if myAnswer(pString,"Cancel|Buy Now","Purchase >> Confirmation","|appBlue") = "Cancel" then //my custom answer dialog >> exit startInAppPurchase >> end if >> >> //initiate the purchase >> mobileStoreEnablePurchaseUpdates >> mobileStoreSetProductType productID,"inapp" >> mobileStoreMakePurchase productID,"1","testPayload - Android Only" >> end startInAppPurchase >> >> on purchaseStateUpdate pPurchaseID,pProductID,pState >> global user >> >> switch pState >> case "paymentReceived" >> put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData >> >> //tell our server is was sucessful and log users credits to database >> if isIPhone() then >> if db_validateAppleReceipt(rawReciptData) then >> add (pProductID-1000) to user["credits"] >> end if >> else >> //will add Android database call when ready >> end if >> >> mobileStoreConfirmPurchase pProductID //Inform the store that the >> purchase identifier productID was successfully delivered >> if isAndroid() then >> mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO >> CONSUME THE PRODUCT !! >> end if >> >> mobileStoreDisablePurchaseUpdates >> loadMeUp //refresh our display >> break >> case "error" >> answer "Error occured during purchase handling:" & return & return >> & mobileStorePurchaseError(pPurchaseID) >> mobileStoreDisablePurchaseUpdates >> break >> case "invalidSKU" >> answer "Invalid SKU." >> mobileStoreDisablePurchaseUpdates >> break >> case "alreadyEntitled" >> answer "Already Owned." >> mobileStoreDisablePurchaseUpdates >> break >> case "restored" >> answer "restored" >> offerPurchasedProduct pProductID >> mobileStoreConfirmPurchase pProductID >> mobileStoreDisablePurchaseUpdates >> >> loadMeUp //refresh our display >> break >> case "canceled" >> case "cancelled" >> answer "Purchase Cancelled:" && pProductID >> mobileStoreDisablePurchaseUpdates >> break >> end switch >> end purchaseStateUpdate >> >> >> >> Do you see anything wonky in my code? >> >> --Dan >> >> From: use-livecode on behalf of >> Andrew at MidWest Coast Media via use-livecode < >> use-livecode at lists.runrev.com> >> Date: Tuesday, August 8, 2023 at 10:57 AM >> To: use-livecode at lists.runrev.com >> Cc: Andrew at MidWest Coast Media >> Subject: Re: Consumable In App Purchases on Android >> If I’m consuming instantly, this is the code working in my Android/iOS >> project with comment lines explaining the values being passed in the >> Android build (note that the product ID values are more specific for >> Android than iOS): >> >> if tPlatform = "android" then >> put "com.midwestcoastmedia.dj3pm." into tProductIDbase >> else if tPlatform = "iPhone" then >> put EMPTY into tProductIDbase >> end if >> put tProductIDbase & pWhichProduct into tProductID >> >> mobileStoreEnablePurchaseUpdates >> ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", >> "inapp" >> mobileStoreSetProductType tProductID, "inapp" >> ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", >> "1", "Thanks for the buck!" >> mobileStoreMakePurchase tProductID, "1", tMessage >> ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" >> mobileStoreConsumePurchase tProductID >> put the result into tCatch >> >> BUT you’ll also need to implement the on purchaseStateUpdate handler to >> completely execute the purchase cycle. The lesson is sometimes hard to >> follow when Android changes their branding/naming but >> https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store >> < >> https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store> >> has a good example of this. >> >> —Andrew Bell >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From gcanyon at gmail.com Wed Aug 9 11:23:31 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 9 Aug 2023 08:23:31 -0700 Subject: Variable Watcher disappeared In-Reply-To: <2E7C61D6-01E0-4AB0-8DD0-6EDEF268C6B6@rogers.com> References: <2E7C61D6-01E0-4AB0-8DD0-6EDEF268C6B6@rogers.com> Message-ID: You can also accomplish most of this by right-clicking a stack in Navigator, and selecting Go > Show on the popup menu. That centers the stack on screen and shows it. It's meant to be guaranteed, so if there are other steps to take to ensure a stack presents itself, I'm happy to add them. On Tue, Aug 8, 2023 at 10:19 AM Martin Koob via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Bob > > So you can see the Script Editor but you can’t see the variables pane at > the bottom? > > There is a drag handle at the bottom of the Script Editor pane to resize > it. Maybe you accidentally dragged that to the bottom hiding the variable > pane at the bottom. > > Even if you did that you should still see the tabs for ‘Errors’; > ‘Variables’; ‘Documentation’; ‘Breakpoints’; ’Search Results’. > > You should be able to drag the Drag handle up to reveal the bottom pane. > > > The following doesn’t probably apply to you if your Script Editor Stack is > open and visible. > > You probably know this but another thing that happens to me is that some > of the LiveCode stacks disappear randomly. > > One thing that happens is that they somehow get moved offscreen. > > To get them back I first check if they are there by typing the following > into the message box. > > put the openstacks > > That should result in a list like this. > > Message Box > My Demo Stack > revInspector > revTools > revNewScriptEditor 1 > revDictionary > revMenuBar > Improve LiveCode Handler Finder > com.livecode.palette.autocomplete.completions > > If you see the stack in the list that you are looking for you can relocate > it back to the screen by setting its location to something that will be on > your display by entering the following in the message box. > set the topleft of stack "revtools" to 100,100 > > > > > > Two other reasons stacks disappear is that they become hidden or closed. > > > > If the stack is closed then enter the following in the message box > > open stack “revtools > > > > If the stack is open but hidden enter > > show stack “revtools” > > If it is your message box that you can’t find then there is nothing you > can do…. > > > … Just kidding. ;-) > > Just type command key + M to show the message box. > > > Bob, I am sure this is covering things you already know but just in case > there others in future are looking for this I added the other cases where > your LiveCode IDE stacks disappear. > > BTW I am using LC 9.6.9 on a M1 Max Mac running Ventura 13.41 > > Martin > > > On Aug 8, 2023, at 12:28 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi all. > > > > Not sure how I did it but I can no longer see the variables while > debugging. The bottom pane has disappeared and nothing I can find can get > it back. Any ideas? > > > > Bob S > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dan at clearvisiontech.com Wed Aug 9 15:27:51 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 9 Aug 2023 19:27:51 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Panos and others… First, thank you for your assistance and advise with this. Panos’ suggestions were spot on! Restoring the purchases, then calling mobileStoreConsumePurchase worked for consumption. And, adding a “complete” case to purchaseStateUpdate and handeling the mobilePurchaseGet() as well as the mobileStoreConsumePurchase worked beautifully. A couple of follow up questions… 1 - Does the “complete” case get returned with the Apple Store as well? 2 – Is there a way to get the purchase token from mobilePurchaseGet() on Android? The “transactionIdentifier” returns the order number, not the purchase token. The purchase token is needed to verify the purchase server side. Lastly, it would be terrific if the lesson on the LC website was updated to these options/methods. It might save the next guy some grief. -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Wednesday, August 9, 2023 at 7:51 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Consumable In App Purchases on Android Hello all, Also, it might be worth trying this as well - add a new button with this code: on mouseUp mobileStoreEnablePurchaseUpdates mobileStoreRestorePurchases end mouseUp Then press the button, and *then* call mobileStoreConsumePurchase pProductID . Hopefully now it should be properly consumed, and you should be able to buy it (and consume it) again. Cheers, Panos -- On Wed, 9 Aug 2023 at 11:37, panagiotis m wrote: > Hello Dan, > > The call to mobileStoreConfirmPurchase pProductID causes the > purchaseStateUpdate message to be sent again with status=complete. > > So I would not suggest putting the call to mobileStoreConsumePurchase > pProductID just after mobileStoreConfirmPurchase. > > You could either put it in a separate button and see if it works, > otherwise add a [case "complete"] in the purchaseStateUpdate msg and there > consume the product and disable purchase updates, i.e.: > > on purchaseStateUpdate pPurchaseID, pProductID, pState > switch pState > case "paymentReceived" > answer "Payment received!" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > break > case "error" > answer "Error occured during purchase handling:" & return & > return & mobileStorePurchaseError(pPurchaseID) > mobileStoreDisablePurchaseUpdates > break > case "invalidSKU" > answer "Invalid SKU." > mobileStoreDisablePurchaseUpdates > break > case "alreadyEntitled" > answer "Already Owned." > mobileStoreDisablePurchaseUpdates > break > case "restored" > put "Restored: " & pProductID & cr after field "restored" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > break > case "cancelled" > answer "Purchase Cancelled:" && pProductID > mobileStoreDisablePurchaseUpdates > break > case "complete" > answer "Purchase Complete:" && pProductID > mobileStoreConsumePurchase pProductID // <-- ADD THIS HERE > mobileStoreDisablePurchaseUpdates > break > end switch > end purchaseStateUpdate > > Hope this helps. > > Kind regards, > Panos > -- > > > > On Tue, 8 Aug 2023 at 22:52, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Andrew, >> >> Thank you for the input. The code snippet you said you are using has >> mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase. >> Is that what you are doing? The LC example show that >> mobileStoreMakePurchase should be handled in the purchaseStateUpdate >> message after the purchase is paymentReceived” >> >> If that’s true, then I feel like I’m doing exactly what you are >> suggesting. The purchase is fine, but the consumption if not working for >> me. Here’s what I’m doing: >> >> on startInAppPurchase numCredits >> //setup purchase id >> if numCredits = 1 then >> put 1001 into productID >> put "$0.99" into productAmount >> else if numCredits = 2 then >> put 1002 into productID >> put "$1.99" into productAmount >> else if numCredits = 3 then >> put 1003 into productID >> put "$2.99" into productAmount >> else if numCredits = 11 then >> put 1011 into productID >> put "$9.99" into productAmount >> end if >> >> //confirm with user >> if numCredits = 1 then >> put "Are you sure you want to purchase 1 credit for" && productAmount >> & "?" into pString >> else >> put "Are you sure you want to purchase" && numCredits && "credits >> for" && productAmount & "?" into pString >> end if >> if myAnswer(pString,"Cancel|Buy Now","Purchase >> Confirmation","|appBlue") = "Cancel" then //my custom answer dialog >> exit startInAppPurchase >> end if >> >> //initiate the purchase >> mobileStoreEnablePurchaseUpdates >> mobileStoreSetProductType productID,"inapp" >> mobileStoreMakePurchase productID,"1","testPayload - Android Only" >> end startInAppPurchase >> >> on purchaseStateUpdate pPurchaseID,pProductID,pState >> global user >> >> switch pState >> case "paymentReceived" >> put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData >> >> //tell our server is was sucessful and log users credits to database >> if isIPhone() then >> if db_validateAppleReceipt(rawReciptData) then >> add (pProductID-1000) to user["credits"] >> end if >> else >> //will add Android database call when ready >> end if >> >> mobileStoreConfirmPurchase pProductID //Inform the store that the >> purchase identifier productID was successfully delivered >> if isAndroid() then >> mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO >> CONSUME THE PRODUCT !! >> end if >> >> mobileStoreDisablePurchaseUpdates >> loadMeUp //refresh our display >> break >> case "error" >> answer "Error occured during purchase handling:" & return & return >> & mobileStorePurchaseError(pPurchaseID) >> mobileStoreDisablePurchaseUpdates >> break >> case "invalidSKU" >> answer "Invalid SKU." >> mobileStoreDisablePurchaseUpdates >> break >> case "alreadyEntitled" >> answer "Already Owned." >> mobileStoreDisablePurchaseUpdates >> break >> case "restored" >> answer "restored" >> offerPurchasedProduct pProductID >> mobileStoreConfirmPurchase pProductID >> mobileStoreDisablePurchaseUpdates >> >> loadMeUp //refresh our display >> break >> case "canceled" >> case "cancelled" >> answer "Purchase Cancelled:" && pProductID >> mobileStoreDisablePurchaseUpdates >> break >> end switch >> end purchaseStateUpdate >> >> >> >> Do you see anything wonky in my code? >> >> --Dan >> >> From: use-livecode on behalf of >> Andrew at MidWest Coast Media via use-livecode < >> use-livecode at lists.runrev.com> >> Date: Tuesday, August 8, 2023 at 10:57 AM >> To: use-livecode at lists.runrev.com >> Cc: Andrew at MidWest Coast Media >> Subject: Re: Consumable In App Purchases on Android >> If I’m consuming instantly, this is the code working in my Android/iOS >> project with comment lines explaining the values being passed in the >> Android build (note that the product ID values are more specific for >> Android than iOS): >> >> if tPlatform = "android" then >> put "com.midwestcoastmedia.dj3pm." into tProductIDbase >> else if tPlatform = "iPhone" then >> put EMPTY into tProductIDbase >> end if >> put tProductIDbase & pWhichProduct into tProductID >> >> mobileStoreEnablePurchaseUpdates >> ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", >> "inapp" >> mobileStoreSetProductType tProductID, "inapp" >> ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", >> "1", "Thanks for the buck!" >> mobileStoreMakePurchase tProductID, "1", tMessage >> ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" >> mobileStoreConsumePurchase tProductID >> put the result into tCatch >> >> BUT you’ll also need to implement the on purchaseStateUpdate handler to >> completely execute the purchase cycle. The lesson is sometimes hard to >> follow when Android changes their branding/naming but >> https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store >> < >> https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store> >> has a good example of this. >> >> —Andrew Bell >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ use-livecode mailing list use-livecode at 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 Wed Aug 9 15:44:59 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 9 Aug 2023 22:44:59 +0300 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Hello Dan, Thanks for the update. RE 1, I *think* yes, but I would suggest you double check this anyway. RE 2, I would suggest not using mobilePurchaseGet(). This function is from the older API for in-app purchases, and we have kept it for backwards compatibility. I suggest using mobileStoreProductProperty (productID, propertyName) instead. In fact, using mobileStoreProductProperty (productID, "purchaseToken") is what you need in this use-case. RE the lessons, yes, they could have been better. I'll add this to my (long!) todo list :) Kind regards, Panos -- On Wed, 9 Aug 2023 at 22:29, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos and others… > > First, thank you for your assistance and advise with this. Panos’ > suggestions were spot on! Restoring the purchases, then calling > mobileStoreConsumePurchase worked for consumption. And, adding a > “complete” case to purchaseStateUpdate and handeling the > mobilePurchaseGet() as well as the mobileStoreConsumePurchase worked > beautifully. A couple of follow up questions… > > 1 - Does the “complete” case get returned with the Apple Store as well? > 2 – Is there a way to get the purchase token from mobilePurchaseGet() on > Android? The “transactionIdentifier” returns the order number, not the > purchase token. The purchase token is needed to verify the purchase server > side. > > Lastly, it would be terrific if the lesson on the LC website was updated > to these options/methods. It might save the next guy some grief. > > -Dan > > > From: use-livecode on behalf of > panagiotis m via use-livecode > Date: Wednesday, August 9, 2023 at 7:51 AM > To: How to use LiveCode > Cc: panagiotis m > Subject: Re: Consumable In App Purchases on Android > Hello all, > > Also, it might be worth trying this as well - add a new button with this > code: > > on mouseUp > mobileStoreEnablePurchaseUpdates > mobileStoreRestorePurchases > end mouseUp > > Then press the button, and *then* call mobileStoreConsumePurchase > pProductID . > Hopefully now it should be properly consumed, and you should be able to buy > it (and consume it) again. > > Cheers, > Panos > -- > > On Wed, 9 Aug 2023 at 11:37, panagiotis m wrote: > > > Hello Dan, > > > > The call to mobileStoreConfirmPurchase pProductID causes the > > purchaseStateUpdate message to be sent again with status=complete. > > > > So I would not suggest putting the call to mobileStoreConsumePurchase > > pProductID just after mobileStoreConfirmPurchase. > > > > You could either put it in a separate button and see if it works, > > otherwise add a [case "complete"] in the purchaseStateUpdate msg and > there > > consume the product and disable purchase updates, i.e.: > > > > on purchaseStateUpdate pPurchaseID, pProductID, pState > > switch pState > > case "paymentReceived" > > answer "Payment received!" > > offerPurchasedProduct pProductID > > mobileStoreConfirmPurchase pProductID > > break > > case "error" > > answer "Error occured during purchase handling:" & return & > > return & mobileStorePurchaseError(pPurchaseID) > > mobileStoreDisablePurchaseUpdates > > break > > case "invalidSKU" > > answer "Invalid SKU." > > mobileStoreDisablePurchaseUpdates > > break > > case "alreadyEntitled" > > answer "Already Owned." > > mobileStoreDisablePurchaseUpdates > > break > > case "restored" > > put "Restored: " & pProductID & cr after field "restored" > > offerPurchasedProduct pProductID > > mobileStoreConfirmPurchase pProductID > > break > > case "cancelled" > > answer "Purchase Cancelled:" && pProductID > > mobileStoreDisablePurchaseUpdates > > break > > case "complete" > > answer "Purchase Complete:" && pProductID > > mobileStoreConsumePurchase pProductID // <-- ADD THIS HERE > > mobileStoreDisablePurchaseUpdates > > break > > end switch > > end purchaseStateUpdate > > > > Hope this helps. > > > > Kind regards, > > Panos > > -- > > > > > > > > On Tue, 8 Aug 2023 at 22:52, Dan Friedman via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Andrew, > >> > >> Thank you for the input. The code snippet you said you are using has > >> mobileStoreConsumePurchase IMMEDIATELY following > mobileStoreMakePurchase. > >> Is that what you are doing? The LC example show that > >> mobileStoreMakePurchase should be handled in the purchaseStateUpdate > >> message after the purchase is paymentReceived” > >> > >> If that’s true, then I feel like I’m doing exactly what you are > >> suggesting. The purchase is fine, but the consumption if not working > for > >> me. Here’s what I’m doing: > >> > >> on startInAppPurchase numCredits > >> //setup purchase id > >> if numCredits = 1 then > >> put 1001 into productID > >> put "$0.99" into productAmount > >> else if numCredits = 2 then > >> put 1002 into productID > >> put "$1.99" into productAmount > >> else if numCredits = 3 then > >> put 1003 into productID > >> put "$2.99" into productAmount > >> else if numCredits = 11 then > >> put 1011 into productID > >> put "$9.99" into productAmount > >> end if > >> > >> //confirm with user > >> if numCredits = 1 then > >> put "Are you sure you want to purchase 1 credit for" && > productAmount > >> & "?" into pString > >> else > >> put "Are you sure you want to purchase" && numCredits && "credits > >> for" && productAmount & "?" into pString > >> end if > >> if myAnswer(pString,"Cancel|Buy Now","Purchase > >> Confirmation","|appBlue") = "Cancel" then //my custom answer dialog > >> exit startInAppPurchase > >> end if > >> > >> //initiate the purchase > >> mobileStoreEnablePurchaseUpdates > >> mobileStoreSetProductType productID,"inapp" > >> mobileStoreMakePurchase productID,"1","testPayload - Android Only" > >> end startInAppPurchase > >> > >> on purchaseStateUpdate pPurchaseID,pProductID,pState > >> global user > >> > >> switch pState > >> case "paymentReceived" > >> put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData > >> > >> //tell our server is was sucessful and log users credits to > database > >> if isIPhone() then > >> if db_validateAppleReceipt(rawReciptData) then > >> add (pProductID-1000) to user["credits"] > >> end if > >> else > >> //will add Android database call when ready > >> end if > >> > >> mobileStoreConfirmPurchase pProductID //Inform the store that the > >> purchase identifier productID was successfully delivered > >> if isAndroid() then > >> mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO > >> CONSUME THE PRODUCT !! > >> end if > >> > >> mobileStoreDisablePurchaseUpdates > >> loadMeUp //refresh our display > >> break > >> case "error" > >> answer "Error occured during purchase handling:" & return & return > >> & mobileStorePurchaseError(pPurchaseID) > >> mobileStoreDisablePurchaseUpdates > >> break > >> case "invalidSKU" > >> answer "Invalid SKU." > >> mobileStoreDisablePurchaseUpdates > >> break > >> case "alreadyEntitled" > >> answer "Already Owned." > >> mobileStoreDisablePurchaseUpdates > >> break > >> case "restored" > >> answer "restored" > >> offerPurchasedProduct pProductID > >> mobileStoreConfirmPurchase pProductID > >> mobileStoreDisablePurchaseUpdates > >> > >> loadMeUp //refresh our display > >> break > >> case "canceled" > >> case "cancelled" > >> answer "Purchase Cancelled:" && pProductID > >> mobileStoreDisablePurchaseUpdates > >> break > >> end switch > >> end purchaseStateUpdate > >> > >> > >> > >> Do you see anything wonky in my code? > >> > >> --Dan > >> > >> From: use-livecode on behalf of > >> Andrew at MidWest Coast Media via use-livecode < > >> use-livecode at lists.runrev.com> > >> Date: Tuesday, August 8, 2023 at 10:57 AM > >> To: use-livecode at lists.runrev.com > >> Cc: Andrew at MidWest Coast Media > >> Subject: Re: Consumable In App Purchases on Android > >> If I’m consuming instantly, this is the code working in my Android/iOS > >> project with comment lines explaining the values being passed in the > >> Android build (note that the product ID values are more specific for > >> Android than iOS): > >> > >> if tPlatform = "android" then > >> put "com.midwestcoastmedia.dj3pm." into tProductIDbase > >> else if tPlatform = "iPhone" then > >> put EMPTY into tProductIDbase > >> end if > >> put tProductIDbase & pWhichProduct into tProductID > >> > >> mobileStoreEnablePurchaseUpdates > >> ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", > >> "inapp" > >> mobileStoreSetProductType tProductID, "inapp" > >> ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", > >> "1", "Thanks for the buck!" > >> mobileStoreMakePurchase tProductID, "1", tMessage > >> ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" > >> mobileStoreConsumePurchase tProductID > >> put the result into tCatch > >> > >> BUT you’ll also need to implement the on purchaseStateUpdate handler to > >> completely execute the purchase cycle. The lesson is sometimes hard to > >> follow when Android changes their branding/naming but > >> > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store > >> < > >> > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store > >< > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store%3e > > > >> has a good example of this. > >> > >> —Andrew Bell > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Aug 9 16:38:51 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 9 Aug 2023 20:38:51 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Panos, Again, thank you for your help! mobileStoreProductProperty works beautifully! As for the lesson, it’s not that it could have been better, it’s actually pretty good (as most LC lessons are). It’s just that it needs to be updated to reflect newer methods and procedures. Given how long your todo list is, I appreciate the time you always take to help me, and all the others out. It’s GREATLY appreciated! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Wednesday, August 9, 2023 at 12:46 PM To: How to use LiveCode Cc: panagiotis m Subject: Re: Consumable In App Purchases on Android Hello Dan, Thanks for the update. RE 1, I *think* yes, but I would suggest you double check this anyway. RE 2, I would suggest not using mobilePurchaseGet(). This function is from the older API for in-app purchases, and we have kept it for backwards compatibility. I suggest using mobileStoreProductProperty (productID, propertyName) instead. In fact, using mobileStoreProductProperty (productID, "purchaseToken") is what you need in this use-case. RE the lessons, yes, they could have been better. I'll add this to my (long!) todo list :) Kind regards, Panos From klaus at major-k.de Thu Aug 10 06:01:41 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 10 Aug 2023 12:01:41 +0200 Subject: Android black screen again... Message-ID: Hi friends, maybe you remember my problem, that my app turns into a black screen occacionally. This has happened again about four or five times since I reported it here. This never happens at home, only when I am at a band rehearsal, but never at a gig (fingers crossed). Restarting the dveice definitively cures this, thank you Panos, but sometimes, especially at a gig, I do not have the time to do so. :-/ So any further hints highly appreciated! macOS 12.6.8, LC 9.6.9, android 5.1 on a SAMSUNG TAB A tablet. I'm mainly using the PDF widget if that matters... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From benr_mc at cogapp.com Thu Aug 10 11:51:29 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 10 Aug 2023 16:51:29 +0100 Subject: Browzer widget zoom/scale? Message-ID: <22538298-c24d-3077-5038-6dfa5322fb30@cogapp.com> Is there a way to set the 'zoom level' for the browser widget? TIA, Ben From MikeKerner at roadrunner.com Thu Aug 10 15:22:15 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 10 Aug 2023 15:22:15 -0400 Subject: xavvi - temper your expectations Message-ID: i'm using chatgpt and bard, every day, because i can, and because sometimes they give me more comprehensive things to think about. but, they are wrong. a lot. zdnet just published a piece, today, documenting the same thing: wrong > 50% of the time. so, temper your expectations for xavvi in the medium term: https://www.zdnet.com/article/chatgpt-answers-more-than-half-of-software-engineering-questions-incorrectly/ -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From alex at tweedly.net Thu Aug 10 15:29:52 2023 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 10 Aug 2023 20:29:52 +0100 Subject: Sorting Arrays In-Reply-To: References: Message-ID: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> On 09/08/2023 00:15, Bob Sneidar via use-livecode wrote: > Has anyone come across a need to sort a numbered array by the values of the different keys? Here you go. Absolutely I have needed that quite often now. I tend to use sequences (numbered arrays) often - maybe too often. Up until now I've just done the sorting in the "traditional" way (i.e. using multiple "sort" commands), like >    put seqAsLines(sQ2) into tKeys >    sort lines of tKeys numeric by sQ2[each]["anumber"] >    sort lines of tKeys by sQ2[each]["thecategory"] >    rebuildSeq sQ2, tKeys (the functions seqAsLines and rebuildSeq are included in the code snippet below). But I really like your idea of having a handler that can be given multiple sort keys, and just does it all, so I took a detailed look. First - a couple of little bugs for you. > Keep in mind that there is no error checking so I have no idea what would happen if you provided a sort key that didnt exist in the array. > > on sortNumberedArray @pArrayDataA, pSortKeys > switch > case tKeyWord is among the items of "asc,ascending,desc,descending" > put tKeyWord into tSortKeysA [i] ["sortorder"] > break > case tKeyWord is "International,Numeric,datetime,text,binary" 'is' should be 'is among the items of' > put tKeyWord into tSortKeysA [i] ["sorttype"] > break > default > put word 1 to x of tSortIndex into tSortKeysA [i] ["sortvalue"] > end switch > end repeat > end repeat > Secondly, not sure if it's a bug or simply a limitation - the code fails if one of the array keys to use for sorting is one of "asc,desc,numeric,...". And - overall, an alternate suggestion. I think your way is a bot complex. Combining my "traditional" way as above, and your example, I came up with a  simpler way to do the same thing: > on simpleSortNumberedArray @pArrayDataA, pSortKeys >    local tKeys, tSeq, tOneSortKey, tSortCommand >    put seqAsLines(pArrayDataA) into tKeys >    repeat with I = the number of items in pSortKeys down to 1 >       put item I of pSortKeys into tOneSortKey >       put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \ >             "by pArrayData[each][" && word 1 of tOneSortKey && "]" > into tSortCommand >       do tSortCommand >    end repeat >    rebuildSeq pArrayDataA, tKeys > end simpleSortNumberedArray > > function seqAsLines pSeq >    local tRes >    repeat with i = 1 to the number of elements in pSeq >       put i & CR after tRes >    end repeat >    return tRes > end seqAsLines > > command rebuildSeq @pSeq, pList >    local tResQ, tCount >    repeat for each line L in pList >       add 1 to tCount >       put pSeq[L] into tResQ[tCount] >    end repeat >    put tResQ into pSeq > end rebuildSeq This is simpler and, I think, easier to understand. And it's certainly much faster: takes 89 msec for my test case rather than 3416 msecs. Alex. From alex at tweedly.net Thu Aug 10 15:32:12 2023 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 10 Aug 2023 20:32:12 +0100 Subject: xavvi - temper your expectations In-Reply-To: References: Message-ID: I have high expectations of xavvi - mostly because I want the cloud IDE, cloud db, new widgets, ... Oh - and I might just play with the AI, but I have no short-term expectations for that part of it. :-) Alex. On 10/08/2023 20:22, Mike Kerner via use-livecode wrote: > i'm using chatgpt and bard, every day, because i can, and because > sometimes they give me more comprehensive things to think about. > but, they are wrong. a lot. > zdnet just published a piece, today, documenting the same thing: wrong >> 50% of the time. > so, temper your expectations for xavvi in the medium term: > https://www.zdnet.com/article/chatgpt-answers-more-than-half-of-software-engineering-questions-incorrectly/ > From matthias_livecode_150811 at m-r-d.de Thu Aug 10 15:31:55 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 10 Aug 2023 21:31:55 +0200 Subject: xavvi - temper your expectations In-Reply-To: References: Message-ID: <136C8206-6B98-4401-9CB7-4CD4B14CEA9F@m-r-d.de> I thought Xavvi will make use of AI, but the use is not mandatory. So even without AI, XAVVI would be an online development tool which can deploy web apps and which also could import and export Livecode stacks. Am 10.08.2023 um 21:22 schrieb Mike Kerner via use-livecode : > > i'm using chatgpt and bard, every day, because i can, and because > sometimes they give me more comprehensive things to think about. > but, they are wrong. a lot. > zdnet just published a piece, today, documenting the same thing: wrong >> 50% of the time. > so, temper your expectations for xavvi in the medium term: > https://www.zdnet.com/article/chatgpt-answers-more-than-half-of-software-engineering-questions-incorrectly/ > > -- > 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 bobsneidar at iotecdigital.com Thu Aug 10 16:08:09 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Aug 2023 20:08:09 +0000 Subject: Sorting Arrays In-Reply-To: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> Message-ID: <48072F9A-569B-455B-8665-76AE88221DBD@iotecdigital.com> Thanks Alex, not sure how I missed that. I was only testing for a specific use case and only tried numeric descending. Bob S > On Aug 10, 2023, at 12:29 PM, Alex Tweedly via use-livecode wrote: > > > On 09/08/2023 00:15, Bob Sneidar via use-livecode wrote: >> Has anyone come across a need to sort a numbered array by the values of the different keys? Here you go. > > Absolutely I have needed that quite often now. I tend to use sequences (numbered arrays) often - maybe too often. > > Up until now I've just done the sorting in the "traditional" way (i.e. using multiple "sort" commands), like > >> put seqAsLines(sQ2) into tKeys >> sort lines of tKeys numeric by sQ2[each]["anumber"] >> sort lines of tKeys by sQ2[each]["thecategory"] >> rebuildSeq sQ2, tKeys > (the functions seqAsLines and rebuildSeq are included in the code snippet below). > > But I really like your idea of having a handler that can be given multiple sort keys, and just does it all, so I took a detailed look. > > First - a couple of little bugs for you. > >> Keep in mind that there is no error checking so I have no idea what would happen if you provided a sort key that didn’t exist in the array. >> >> on sortNumberedArray @pArrayDataA, pSortKeys >> switch >> case tKeyWord is among the items of "asc,ascending,desc,descending" >> put tKeyWord into tSortKeysA [i] ["sortorder"] >> break >> case tKeyWord is "International,Numeric,datetime,text,binary" > 'is' should be 'is among the items of' >> put tKeyWord into tSortKeysA [i] ["sorttype"] >> break >> default >> put word 1 to x of tSortIndex into tSortKeysA [i] ["sortvalue"] >> end switch >> end repeat >> end repeat >> > > Secondly, not sure if it's a bug or simply a limitation - the code fails if one of the array keys to use for sorting is one of "asc,desc,numeric,...". > > > And - overall, an alternate suggestion. I think your way is a bot complex. > Combining my "traditional" way as above, and your example, I came up with a simpler way to do the same thing: > >> on simpleSortNumberedArray @pArrayDataA, pSortKeys >> local tKeys, tSeq, tOneSortKey, tSortCommand >> put seqAsLines(pArrayDataA) into tKeys >> repeat with I = the number of items in pSortKeys down to 1 >> put item I of pSortKeys into tOneSortKey >> put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \ >> "by pArrayData[each][" && word 1 of tOneSortKey && "]" into tSortCommand >> do tSortCommand >> end repeat >> rebuildSeq pArrayDataA, tKeys >> end simpleSortNumberedArray >> >> function seqAsLines pSeq >> local tRes >> repeat with i = 1 to the number of elements in pSeq >> put i & CR after tRes >> end repeat >> return tRes >> end seqAsLines >> >> command rebuildSeq @pSeq, pList >> local tResQ, tCount >> repeat for each line L in pList >> add 1 to tCount >> put pSeq[L] into tResQ[tCount] >> end repeat >> put tResQ into pSeq >> end rebuildSeq > This is simpler and, I think, easier to understand. And it's certainly much faster: takes 89 msec for my test case rather than 3416 msecs. > > Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Aug 10 16:28:59 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Aug 2023 20:28:59 +0000 Subject: Sorting Arrays In-Reply-To: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> Message-ID: <04F07EA9-5BAF-42E4-AE2A-90124E3D2381@iotecdigital.com> I see you are sorting the keys of the array. I’ll give your method a try. Bob S On Aug 10, 2023, at 12:29 PM, Alex Tweedly via use-livecode wrote: And - overall, an alternate suggestion. I think your way is a bot complex. Combining my "traditional" way as above, and your example, I came up with a simpler way to do the same thing: From jacque at hyperactivesw.com Thu Aug 10 16:34:01 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Aug 2023 15:34:01 -0500 Subject: Android black screen again... In-Reply-To: References: Message-ID: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I looked up the Samsung Tab A and it says it runs Android 9, upgradable to 11. There are multiple RAM options. Is this the one you have? I'm just guessing, but memory may be too low to allow the browser widget to work, since it does work after a reboot and the problem only happens occasionally. But Android 5 is almost 10 years old and I'd be surprised if that is what your tablet is running. Have you checked for an update? You have much more control of memory usage with a newer OS. In any case, you can keep memory usage lower if you delete or disable all apps and processes you don't need. You can do that in Settings/Apps. Samsung installs a lot of bloatware and if you don't use those things, turn them off or remove them. You can't always uninstall these but you can disable some of them. Also uninstall any extra apps you don't use. I have a newer Samsung tablet and I disabled or deleted almost half the software it shipped with. Many of these run in the background and use memory. Launcher widgets also run constantly so remove the ones you don't need from your launch screens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 10, 2023 5:03:24 AM Klaus major-k via use-livecode wrote: > Hi friends, > > maybe you remember my problem, that my app > turns into a black screen occacionally. > > This has happened again about four or five times since > I reported it here. > > This never happens at home, only when I am at a band > rehearsal, but never at a gig (fingers crossed). > > Restarting the dveice definitively cures this, thank you Panos, > but sometimes, especially at a gig, I do not have the time to > do so. :-/ > > So any further hints highly appreciated! > > macOS 12.6.8, LC 9.6.9, android 5.1 on a SAMSUNG TAB A tablet. > I'm mainly using the PDF widget if that matters... > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Thu Aug 10 18:30:55 2023 From: dsc at swcp.com (Dar Scott) Date: Thu, 10 Aug 2023 16:30:55 -0600 Subject: Rectangles on Windows? In-Reply-To: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> References: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> Message-ID: <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> Anybody else seeing missing rectangles on Windows? — Dar > On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode wrote: > > > I have some rectangles that work just fine in development on my Mac. > > However, there are problems in my Windows standalone. > > Not Showing Up > Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness > > Showing Up > Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Aug 10 18:45:20 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Aug 2023 22:45:20 +0000 Subject: Rectangles on Windows? In-Reply-To: <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> References: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> Message-ID: <61993CB1-D125-42DA-8E37-96368DF9F6AA@iotecdigital.com> Sorry Dar, I do not use rectangles for anything. Bob S > On Aug 10, 2023, at 3:30 PM, Dar Scott via use-livecode wrote: > > Anybody else seeing missing rectangles on Windows? — Dar > >> On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode wrote: >> >> >> I have some rectangles that work just fine in development on my Mac. >> >> However, there are problems in my Windows standalone. >> >> Not Showing Up >> Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness >> >> Showing Up >> Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. From klaus at major-k.de Fri Aug 11 04:12:56 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Aug 2023 10:12:56 +0200 Subject: Android black screen again... In-Reply-To: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <48D02CCA-2419-4562-BBB4-B1912ED34DD6@major-k.de> Hi Jacque, > Am 10.08.2023 um 22:34 schrieb J. Landman Gay via use-livecode : > > I looked up the Samsung Tab A and it says it runs Android 9, upgradable to 11. There are multiple RAM options. Is this the one you have? > > I'm just guessing, but memory may be too low to allow the browser widget to work, since it does work after a reboot and the problem only happens occasionally. But Android 5 is almost 10 years old and I'd be surprised if that is what your tablet is running. Have you checked for an update? You have much more control of memory usage with a newer OS. sorry, my fault, I obviously have an older version of the tablet and it does in fact run Android 8.1. However it is not upgradable. > In any case, you can keep memory usage lower if you delete or disable all apps and processes you don't need. You can do that in Settings/Apps. Samsung installs a lot of bloatware and if you don't use those things, turn them off or remove them. You can't always uninstall these but you can disable some of them. Also uninstall any extra apps you don't use. I have a newer Samsung tablet and I disabled or deleted almost half the software it shipped with. Many of these run in the background and use memory. Launcher widgets also run constantly so remove the ones you don't need from your launch screens. I already did that, snice I only need the device for displaying PDF leadsheets. But if it would be a memory issue, then it would happen more often, I think. The problem is that this is not reproducable, it happens out of a sudden if it happens. Even the hardware BACKKEY does not work in that situation, only the HOMEKEY so I can at least quit the app. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 10, 2023 5:03:24 AM Klaus major-k via use-livecode wrote: > >> Hi friends, >> >> maybe you remember my problem, that my app >> turns into a black screen occacionally. >> >> This has happened again about four or five times since >> I reported it here. >> >> This never happens at home, only when I am at a band >> rehearsal, but never at a gig (fingers crossed). >> >> Restarting the dveice definitively cures this, thank you Panos, >> but sometimes, especially at a gig, I do not have the time to >> do so. :-/ >> >> So any further hints highly appreciated! >> >> macOS 12.6.8, LC 9.6.9, android 5.1 on a SAMSUNG TAB A tablet. >> I'm mainly using the PDF widget if that matters... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From dsc at swcp.com Fri Aug 11 10:19:52 2023 From: dsc at swcp.com (Dar Scott) Date: Fri, 11 Aug 2023 08:19:52 -0600 Subject: Rectangles on Windows? In-Reply-To: <61993CB1-D125-42DA-8E37-96368DF9F6AA@iotecdigital.com> References: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> <61993CB1-D125-42DA-8E37-96368DF9F6AA@iotecdigital.com> Message-ID: <0916EA2B-8E51-4C5A-B8E5-C50FC5B85197@swcp.com> Hmmm. Maybe few use rectangles. I could try a polyline or a group. — Dar > On Aug 10, 2023, at 4:45 PM, Bob Sneidar via use-livecode wrote: > > Sorry Dar, I do not use rectangles for anything. > > Bob S > > >> On Aug 10, 2023, at 3:30 PM, Dar Scott via use-livecode wrote: >> >> Anybody else seeing missing rectangles on Windows? — Dar >> >>> On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode wrote: >>> >>> >>> I have some rectangles that work just fine in development on my Mac. >>> >>> However, there are problems in my Windows standalone. >>> >>> Not Showing Up >>> Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness >>> >>> Showing Up >>> Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Fri Aug 11 11:19:50 2023 From: paul at researchware.com (Paul Dupuis) Date: Fri, 11 Aug 2023 11:19:50 -0400 Subject: Rectangles on Windows? In-Reply-To: <0916EA2B-8E51-4C5A-B8E5-C50FC5B85197@swcp.com> References: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> <61993CB1-D125-42DA-8E37-96368DF9F6AA@iotecdigital.com> <0916EA2B-8E51-4C5A-B8E5-C50FC5B85197@swcp.com> Message-ID: <32b1c3d5-15b2-3328-9458-5fc38f4b3520@researchware.com> If you want to send me a link to your Windows standalone, I would be happy to download it (Windows 11 HP laptop) and see if I see the same thing. Or a link to your stack and I can see if it appears in the LC 9.6.9 IDE if you want. On 8/11/2023 10:19 AM, Dar Scott via use-livecode wrote: > Hmmm. Maybe few use rectangles. I could try a polyline or a group. Dar > >> On Aug 10, 2023, at 4:45 PM, Bob Sneidar via use-livecode wrote: >> >> Sorry Dar, I do not use rectangles for anything. >> >> Bob S >> >> >>> On Aug 10, 2023, at 3:30 PM, Dar Scott via use-livecode wrote: >>> >>> Anybody else seeing missing rectangles on Windows? Dar >>> >>>> On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode wrote: >>>> >>>> >>>> I have some rectangles that work just fine in development on my Mac. >>>> >>>> However, there are problems in my Windows standalone. >>>> >>>> Not Showing Up >>>> Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness >>>> >>>> Showing Up >>>> Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Aug 11 13:20:33 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Aug 2023 17:20:33 +0000 Subject: Tab Widget Go command Message-ID: <871423F1-6902-4A9D-A85A-4DEE8AF2D9CD@iotecdigital.com> In the dictionary, there is a Go command for widgets. I assumed this meant I can do something like: Go forward in widget “TabBar” But that does not work. Any ideas? I can kludge it. I would rather not have to. Bob S From jacque at hyperactivesw.com Fri Aug 11 16:30:55 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Aug 2023 15:30:55 -0500 Subject: Android black screen again... In-Reply-To: <48D02CCA-2419-4562-BBB4-B1912ED34DD6@major-k.de> References: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <48D02CCA-2419-4562-BBB4-B1912ED34DD6@major-k.de> Message-ID: On 8/11/23 3:12 AM, Klaus major-k via use-livecode wrote: > The problem is that this is not reproducable, it happens out of a sudden if it happens. > Even the hardware BACKKEY does not work in that situation, only the HOMEKEY so I can > at least quit the app. That's called an ANR ("Application Not Responding"). Something in the app is causing a hang. If you wait long enough, Android should put up a dialog asking if you want to wait or close the app. If you choose to wait, sometimes it comes back. However, the wait can be 10-20 seconds or more so people often just quit before the dialog appears. The problem here is figuring out what causes it. Is it always the same PDF file? Or maybe it happens after opening a certain number of files, or the length of a file, or the cumulative length of several files, or...? If it isn't reproducible, it's very difficult to find the cause. If it happens to you at home some day, see if waiting 15 seconds or more puts up that dialog. That would confirm it's an ANR. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Aug 11 18:00:22 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Aug 2023 17:00:22 -0500 Subject: Sorting Arrays In-Reply-To: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> Message-ID: <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: > Combining my "traditional" way as above, and your example, I came up with a  simpler way to do > the same thing: > >> on simpleSortNumberedArray @pArrayDataA, pSortKeys >>    local tKeys, tSeq, tOneSortKey, tSortCommand >>    put seqAsLines(pArrayDataA) into tKeys >>    repeat with I = the number of items in pSortKeys down to 1 >>       put item I of pSortKeys into tOneSortKey >>       put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \ >>             "by pArrayData[each][" && word 1 of tOneSortKey && "]" into tSortCommand >>       do tSortCommand >>    end repeat >>    rebuildSeq pArrayDataA, tKeys >> end simpleSortNumberedArray >> >> function seqAsLines pSeq >>    local tRes >>    repeat with i = 1 to the number of elements in pSeq >>       put i & CR after tRes >>    end repeat >>    return tRes >> end seqAsLines >> >> command rebuildSeq @pSeq, pList >>    local tResQ, tCount >>    repeat for each line L in pList >>       add 1 to tCount >>       put pSeq[L] into tResQ[tCount] >>    end repeat >>    put tResQ into pSeq >> end rebuildSeq I couldn't get this to work until I altered it, but I was using a very simple array. What type of array data did you use? I think I'm missing something. I just did this: put the weekdayNames into tDataA split tDataA by cr simpleSortNumberedArray tDataA, "descending,text" For that array, this worked: on simpleSortNumberedArray pArrayDataA, pSortKeys local tKeys, tSeq, tOneSortKey, tSortCommand put seqAsLines(pArrayDataA) into tKeys repeat with I = the number of items in pSortKeys down to 1 put item I of pSortKeys into tOneSortKey -- put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \ -- "by pArrayDataA[each][" && word 1 of tOneSortKey && "]" into tSortCommand put "sort lines of tKeys" && tOneSortKey into tSortCommand do tSortCommand end repeat rebuildSeq pArrayDataA, tKeys end simpleSortNumberedArray function seqAsLines pSeq local tRes -- repeat with i = 1 to the number of elements in pSeq repeat for each element e in pSeq put e & CR after tRes end repeat return tRes end seqAsLines command rebuildSeq @pSeq, pList local tResQ, tCount repeat for each line L in pList add 1 to tCount -- put pSeq[L] into tResQ[tCount] put L into tResQ[tCount] end repeat put tResQ into pSeq end rebuildSeq -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Fri Aug 11 19:58:59 2023 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 12 Aug 2023 00:58:59 +0100 Subject: Sorting Arrays In-Reply-To: <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> Message-ID: On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: > On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: > [ ... code from earlier posting ...] > I couldn't get this to work until I altered it, but I was using a very > simple array. What type of array data did you use? I think I'm missing > something. > > I just did this: > >   put the weekdayNames into tDataA >   split tDataA by cr >   simpleSortNumberedArray tDataA, "descending,text" > What you're missing is that this (simpleSortNumberedArray) is only intended for "numbered array"s (which LC is calling "sequences" in some places); i.e. an array where the (top-level) keys are all consecutive integers, from 1 .... n Also, the pSortkeys should be a number of comma-separated items, each of which consists of a key by which you want to sort the array followed optionally by an order and type. So you might do something like : > on mouseup >    local tCounter, tDataA > >    repeat for each line L in the weekdayNames >       add 1 to tCounter >       put L into tDataA[tCounter]["dayname"] >       put the number of chars in L into tDataA[tCounter]["charcount"] >    end repeat > >    -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >    simpleSortNumberedArray tDataA, "dayname" >    repeat with I = 1 to 7 >       put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >    end repeat > >    put "---------" &CR after msg > >    -- sorts descending numeric by number of characters in name >    --  NB within each char count value, they remain in alphabetical > order of name >    simpleSortNumberedArray tDataA, "charcount numeric descending" >    repeat with I = 1 to 7 >       put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >    end repeat > end mouseup and get as output > 6 Friday > 6 Monday > 8 Saturday > 6 Sunday > 8 Thursday > 7 Tuesday > 9 Wednesday > --------- > 9 Wednesday > 8 Saturday > 8 Thursday > 7 Tuesday > 6 Friday > 6 Monday > 6 Sunday So - it would be worth adding a check that the array passed in is indeed a sequence, at the start of simpleSortNumberedArray: if NOT (pArrayDataA is an array AND \            item 2 of extents(pArrayDataA) is the number of elements in pArrayDataA) then \                  return pArrayData I'm now going to add this to my personal library, but I'll rename it to     seqSortMultipleKeys Alex. From bobsneidar at iotecdigital.com Fri Aug 11 20:07:47 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 12 Aug 2023 00:07:47 +0000 Subject: Sorting Arrays In-Reply-To: References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> Message-ID: <43732233-0960-4653-BF08-F6BC36DB4275@iotecdigital.com> Send me what you have. Thanks. Sent from my iPhone > On Aug 11, 2023, at 17:02, Alex Tweedly via use-livecode wrote: > >  >> On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: >> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: >> [ ... code from earlier posting ...] > >> I couldn't get this to work until I altered it, but I was using a very simple array. What type of array data did you use? I think I'm missing something. >> >> I just did this: >> >> put the weekdayNames into tDataA >> split tDataA by cr >> simpleSortNumberedArray tDataA, "descending,text" >> > What you're missing is that this (simpleSortNumberedArray) is only intended for "numbered array"s (which LC is calling "sequences" in some places); i.e. an array where the (top-level) keys are all consecutive integers, from 1 .... n > > Also, the pSortkeys should be a number of comma-separated items, each of which consists of a key by which you want to sort the array followed optionally by an order and type. > > So you might do something like : > >> on mouseup >> local tCounter, tDataA >> >> repeat for each line L in the weekdayNames >> add 1 to tCounter >> put L into tDataA[tCounter]["dayname"] >> put the number of chars in L into tDataA[tCounter]["charcount"] >> end repeat >> >> -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >> simpleSortNumberedArray tDataA, "dayname" >> repeat with I = 1 to 7 >> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >> end repeat >> >> put "---------" &CR after msg >> >> -- sorts descending numeric by number of characters in name >> -- NB within each char count value, they remain in alphabetical order of name >> simpleSortNumberedArray tDataA, "charcount numeric descending" >> repeat with I = 1 to 7 >> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >> end repeat >> end mouseup > and get as output > >> 6 Friday >> 6 Monday >> 8 Saturday >> 6 Sunday >> 8 Thursday >> 7 Tuesday >> 9 Wednesday >> --------- >> 9 Wednesday >> 8 Saturday >> 8 Thursday >> 7 Tuesday >> 6 Friday >> 6 Monday >> 6 Sunday > > So - it would be worth adding a check that the array passed in is indeed a sequence, at the start of simpleSortNumberedArray: > > if NOT (pArrayDataA is an array AND \ > item 2 of extents(pArrayDataA) is the number of elements in pArrayDataA) then \ > return pArrayData > > I'm now going to add this to my personal library, but I'll rename it to > > seqSortMultipleKeys > > Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat Aug 12 03:31:21 2023 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Aug 2023 09:31:21 +0200 Subject: Android black screen again... In-Reply-To: References: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <48D02CCA-2419-4562-BBB4-B1912ED34DD6@major-k.de> Message-ID: <43493CFD-F381-41E1-AD4D-0FC859801E5B@major-k.de> Hi Jacque, you wrote: > I'm just guessing, but memory may be too low to allow the browser widget to work, however I am not using the browser widget (does not display PDFs on Andoid!) but the PDF widget! > Am 11.08.2023 um 22:30 schrieb J. Landman Gay via use-livecode : > > On 8/11/23 3:12 AM, Klaus major-k via use-livecode wrote: >> The problem is that this is not reproducable, it happens out of a sudden if it happens. >> Even the hardware BACKKEY does not work in that situation, only the HOMEKEY so I can >> at least quit the app. > > That's called an ANR ("Application Not Responding"). Something in the app is causing a hang. If you wait long enough, Android should put up a dialog asking if you want to wait or close the app. If you choose to wait, sometimes it comes back. However, the wait can be 10-20 seconds or more so people often just quit before the dialog appears. OK, if I have the time I will wait next time and see what happens. > The problem here is figuring out what causes it. Is it always the same PDF file? Or maybe it happens after opening a certain number of files, or the length of a file, or the cumulative length of several files, or...? If it isn't reproducible, it's very difficult to find the cause. It happen when I start the app, at that point there is no PDF loaded, just the "start card" with a couple of poly grids. It also happened in the same "session", means no switching the device off and on again. I started the device then opened my app, no problems. Then I quit my app and started again, BOOM, black screen. > If it happens to you at home some day, see if waiting 15 seconds or more puts up that dialog. That would confirm it's an ANR. Yes, will do, thanks for the hint! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Sat Aug 12 12:30:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Aug 2023 11:30:17 -0500 Subject: Sorting Arrays In-Reply-To: References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> Message-ID: <189ea958da8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Got it, thanks. The array was numbered but I didn't have enough dimensions. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 11, 2023 7:03:33 PM Alex Tweedly via use-livecode wrote: > On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: >> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: >> [ ... code from earlier posting ...] > >> I couldn't get this to work until I altered it, but I was using a very >> simple array. What type of array data did you use? I think I'm missing >> something. >> >> I just did this: >> >> put the weekdayNames into tDataA >> split tDataA by cr >> simpleSortNumberedArray tDataA, "descending,text" >> > What you're missing is that this (simpleSortNumberedArray) is only > intended for "numbered array"s (which LC is calling "sequences" in some > places); i.e. an array where the (top-level) keys are all consecutive > integers, from 1 .... n > > Also, the pSortkeys should be a number of comma-separated items, each of > which consists of a key by which you want to sort the array followed > optionally by an order and type. > > So you might do something like : > >> on mouseup >> local tCounter, tDataA >> >> repeat for each line L in the weekdayNames >> add 1 to tCounter >> put L into tDataA[tCounter]["dayname"] >> put the number of chars in L into tDataA[tCounter]["charcount"] >> end repeat >> >> -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >> simpleSortNumberedArray tDataA, "dayname" >> repeat with I = 1 to 7 >> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >> end repeat >> >> put "---------" &CR after msg >> >> -- sorts descending numeric by number of characters in name >> -- NB within each char count value, they remain in alphabetical >> order of name >> simpleSortNumberedArray tDataA, "charcount numeric descending" >> repeat with I = 1 to 7 >> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >> end repeat >> end mouseup > and get as output > >> 6 Friday >> 6 Monday >> 8 Saturday >> 6 Sunday >> 8 Thursday >> 7 Tuesday >> 9 Wednesday >> --------- >> 9 Wednesday >> 8 Saturday >> 8 Thursday >> 7 Tuesday >> 6 Friday >> 6 Monday >> 6 Sunday > > So - it would be worth adding a check that the array passed in is indeed > a sequence, at the start of simpleSortNumberedArray: > > if NOT (pArrayDataA is an array AND \ > item 2 of extents(pArrayDataA) is the number of elements in > pArrayDataA) then \ > return pArrayData > > I'm now going to add this to my personal library, but I'll rename it to > > seqSortMultipleKeys > > Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Aug 12 12:35:47 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Aug 2023 11:35:47 -0500 Subject: Sorting Arrays In-Reply-To: <43732233-0960-4653-BF08-F6BC36DB4275@iotecdigital.com> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> <43732233-0960-4653-BF08-F6BC36DB4275@iotecdigital.com> Message-ID: <189ea9a92d0.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I used a short, one-dimensional numbered array: put the weekdayNames into tDataA split tDataA by cr simpleSortNumberedArray tDataA, "descending,text" But as Alex explained, one dimension wasn't enough. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 11, 2023 7:09:50 PM Bob Sneidar via use-livecode wrote: > Send me what you have. Thanks. > > Sent from my iPhone > >> On Aug 11, 2023, at 17:02, Alex Tweedly via use-livecode >> wrote: >> >> ? >>> On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: >>> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: >>> [ ... code from earlier posting ...] >> >>> I couldn't get this to work until I altered it, but I was using a very >>> simple array. What type of array data did you use? I think I'm missing >>> something. >>> >>> I just did this: >>> >>> put the weekdayNames into tDataA >>> split tDataA by cr >>> simpleSortNumberedArray tDataA, "descending,text" >>> >> What you're missing is that this (simpleSortNumberedArray) is only intended >> for "numbered array"s (which LC is calling "sequences" in some places); >> i.e. an array where the (top-level) keys are all consecutive integers, from >> 1 .... n >> >> Also, the pSortkeys should be a number of comma-separated items, each of >> which consists of a key by which you want to sort the array followed >> optionally by an order and type. >> >> So you might do something like : >> >>> on mouseup >>> local tCounter, tDataA >>> >>> repeat for each line L in the weekdayNames >>> add 1 to tCounter >>> put L into tDataA[tCounter]["dayname"] >>> put the number of chars in L into tDataA[tCounter]["charcount"] >>> end repeat >>> >>> -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >>> simpleSortNumberedArray tDataA, "dayname" >>> repeat with I = 1 to 7 >>> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >>> end repeat >>> >>> put "---------" &CR after msg >>> >>> -- sorts descending numeric by number of characters in name >>> -- NB within each char count value, they remain in alphabetical order of name >>> simpleSortNumberedArray tDataA, "charcount numeric descending" >>> repeat with I = 1 to 7 >>> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >>> end repeat >>> end mouseup >> and get as output >> >>> 6 Friday >>> 6 Monday >>> 8 Saturday >>> 6 Sunday >>> 8 Thursday >>> 7 Tuesday >>> 9 Wednesday >>> --------- >>> 9 Wednesday >>> 8 Saturday >>> 8 Thursday >>> 7 Tuesday >>> 6 Friday >>> 6 Monday >>> 6 Sunday >> >> So - it would be worth adding a check that the array passed in is indeed a >> sequence, at the start of simpleSortNumberedArray: >> >> if NOT (pArrayDataA is an array AND \ >> item 2 of extents(pArrayDataA) is the number of elements in pArrayDataA) then \ >> return pArrayData >> >> I'm now going to add this to my personal library, but I'll rename it to >> >> seqSortMultipleKeys >> >> Alex. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sat Aug 12 18:22:18 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 12 Aug 2023 22:22:18 +0000 Subject: Sorting Arrays In-Reply-To: <189ea9a92d0.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> <43732233-0960-4653-BF08-F6BC36DB4275@iotecdigital.com> <189ea9a92d0.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <96401816-CDD0-4F24-935F-679A1B49E0AB@iotecdigital.com> I formatted the sortKeys as I would an SQL query or an LC sort, but then I needed to isolate the key from the parameters because I couldn’t assume the sort key was simply the first word. Sent from my iPhone > On Aug 12, 2023, at 09:36, J. Landman Gay via use-livecode wrote: > > I used a short, one-dimensional numbered array: > > put the weekdayNames into tDataA > split tDataA by cr > simpleSortNumberedArray tDataA, "descending,text" > > But as Alex explained, one dimension wasn't enough. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On August 11, 2023 7:09:50 PM Bob Sneidar via use-livecode wrote: >> >> Send me what you have. Thanks. >> >> Sent from my iPhone >> >>>> On Aug 11, 2023, at 17:02, Alex Tweedly via use-livecode wrote: >>> >>> ? >>>> On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: >>>> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: >>>> [ ... code from earlier posting ...] >>> >>>> I couldn't get this to work until I altered it, but I was using a very simple array. What type of array data did you use? I think I'm missing something. >>>> >>>> I just did this: >>>> >>>> put the weekdayNames into tDataA >>>> split tDataA by cr >>>> simpleSortNumberedArray tDataA, "descending,text" >>>> >>> What you're missing is that this (simpleSortNumberedArray) is only intended for "numbered array"s (which LC is calling "sequences" in some places); i.e. an array where the (top-level) keys are all consecutive integers, from 1 .... n >>> >>> Also, the pSortkeys should be a number of comma-separated items, each of which consists of a key by which you want to sort the array followed optionally by an order and type. >>> >>> So you might do something like : >>> >>>> on mouseup >>>> local tCounter, tDataA >>>> >>>> repeat for each line L in the weekdayNames >>>> add 1 to tCounter >>>> put L into tDataA[tCounter]["dayname"] >>>> put the number of chars in L into tDataA[tCounter]["charcount"] >>>> end repeat >>>> >>>> -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >>>> simpleSortNumberedArray tDataA, "dayname" >>>> repeat with I = 1 to 7 >>>> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >>>> end repeat >>>> >>>> put "---------" &CR after msg >>>> >>>> -- sorts descending numeric by number of characters in name >>>> -- NB within each char count value, they remain in alphabetical order of name >>>> simpleSortNumberedArray tDataA, "charcount numeric descending" >>>> repeat with I = 1 to 7 >>>> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >>>> end repeat >>>> end mouseup >>> and get as output >>> >>>> 6 Friday >>>> 6 Monday >>>> 8 Saturday >>>> 6 Sunday >>>> 8 Thursday >>>> 7 Tuesday >>>> 9 Wednesday >>>> --------- >>>> 9 Wednesday >>>> 8 Saturday >>>> 8 Thursday >>>> 7 Tuesday >>>> 6 Friday >>>> 6 Monday >>>> 6 Sunday >>> >>> So - it would be worth adding a check that the array passed in is indeed a sequence, at the start of simpleSortNumberedArray: >>> >>> if NOT (pArrayDataA is an array AND \ >>> item 2 of extents(pArrayDataA) is the number of elements in pArrayDataA) then \ >>> return pArrayData >>> >>> I'm now going to add this to my personal library, but I'll rename it to >>> >>> seqSortMultipleKeys >>> >>> Alex. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neville.smythe at optusnet.com.au Sun Aug 13 08:45:39 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sun, 13 Aug 2023 22:45:39 +1000 Subject: Linux file names in LC Server Message-ID: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> As we know with LC it is pretty straightforward to deal with internationalised text for remote databases and unknown user platforms by conversion to utf-8. But I have come across a problem with Linux filenames containing non-ascii characters which has me befuddled. My many-years-old app has until now just required all filenames to be in standard 7-bit ascii, so it was way past time I brought it up to date. The app talks to a database, media and web site on a unix (DreamHost) server using LC server as intermediary. I create a file say “Carré.txt” on a Mac - the non-ascii character in that name being [e-acute] - I shall use this convention from now on to ensure what is displayed here on the forum is understood. BTW, as far as I can determine that character in the Mac file system is a single byte hex [8e], the classic MacRoman encoding, not its utf-8 2-byte [C3A9] encoding. So I don’t understand how macOS handles unicode in its filesystem, which it certainly does. We are exhorted to textEncode to utf-8 when exporting anything outside LC but perhaps not filenames?? If I textEncode the filename and save with that name I get a new file “Carr[squareroot copyright].txt”. I am befuddled already - how does macOS distinguish MacRoman encoding from unicode encoding when it displays a file name? - but that is another story for another place.. Oh, and another story: it ain't true that all text in LC is utf-16: While it’s not possible using LC-API’s to determine exactly what is inside the black-box of an LC variable in memory, it is evidently platform dependent — that MacRoman [8e] is reported as being the relevant byte in the LC variable. What can be determined is what is on disk when a stack is saved: there text appears to be encoded as a mixture of 7-bit ascii when it can be, utf-16 encoding for other characters. Not that we as consumers need to know how the magic is performed, as long as it works. Back to my story.. So now I want to upload this file to my remote Linux server. I POST a form, prepared with libURLMultiPartFormData, to an LC Server script, which is supposed to save the received file. If I attempt to use the original Mac file name, the server responds “Cannot open file Carr[e-acute].txt” (this is the Result error message from "open file tFileName for binary write”) If I send textEncode(filename, utf-8) as the file name, the server responds “Cannot open file Carr[squareroot][copyright].txt” If I textEncode at the client end, and then textDecode on the server it responds “Cannot open file Carre[E-grave].txt” (Where did THAT come from? Is there a bug in textDecode on Linux LCS? The native encoding on Linux is supposed to be ISO-Latin-1, where E-grave is hex [C8], in MacRoman it is [E9], no apparent connections between them or the utf-8 bytes.) And just as a piece of nonsense, if I send the raw un-Encoded Mac file name, but then textDecode on the server, the file is happily saved as “Carr.txt”, which is correct since [8e] followed by . is illegal as utf-8, so the [e-acute] is just skipped by textDecode. Could it be that LCserver cannot create files on Linux with non-ascii names?!? That doesn’t seem believable. I can of course directly create files on the server with non-ascii characters such as e-acute. Either I am missing something, or surely our European users have seen this already, so someone should be able to unfuddle me! Neville Smythe From harrison at all-auctions.com Sun Aug 13 09:29:46 2023 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Sun, 13 Aug 2023 09:29:46 -0400 Subject: LC 9.6.9 App uses too much memory! In-Reply-To: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> References: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> Message-ID: <848FFA3D-F8BA-45F1-8595-B4742FE107B9@all-auctions.com> Hi LiveCoders, I just got a warning from the OS that I was out of application memory. Livecode was using over 90 GB of memory! The stack runs fine under LC 9.6.8 without any issues whatsoever, but as soon as I open it with LC 9.6.9 the problem reappears. (I have to use force quit to shut down LC 9.6.9 when this happens.) I’m running Mac OS Ventura on an M1 processor that has 16 GB of Memory. Clearly this is a bug in LC 9.6.9, but I don’t know what is causing the problem. I noticed that others in the past have run into a similar problem. Was this ever reported as a bug? Do you have any ideas or suggestions? Thanks, Rick From neville.smythe at optusnet.com.au Sun Aug 13 21:45:59 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Mon, 14 Aug 2023 11:45:59 +1000 Subject: Linux filenames in LC Server Message-ID: OK, so the macOS *is* using utf-8 for its file names - the [e-acute] in the filename Carré.txt is rendered with two bytes [C3A9] not the single byte MacRoman encoding. I got tricked by copying the terminal listing into another program rather than hex dumping within the terminal, and somewhere in the process the native encoding was preferred. So one must *not* textEncode a filename to utf-8 before writing a file to disk, LC deals with the encoding, although you *should” textEncode its contents. Which leaves the problem of why I can’t get LC Server on Linux to write non-ascii filenames Neville Smythe From dan at clearvisiontech.com Mon Aug 14 01:34:04 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 14 Aug 2023 05:34:04 +0000 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: I am getting some inconsistent results with in in app purchases from the iOS App Store. In the TestFlight dev environment, the purchase “seems” to be complete… I get all the normal iOS prompts to purchase the product, enter the password, etc. I even get the “You’re All Set. Your purchase was successful.” message. But, most of the time the purcahseStateUpdate message is never received. (Yes! I am calling mobileStoreEnablePurchaseUpdates before anything else). Also, after calling mobileStoreMakePurchase, there is quite a pause before you get the “confirm purchase” dialog… I mean like 7 to 10 seconds. And, after you make the purchase (and you hear the ‘ding’), there is another 4-5 second pause before the “Your purchase was successful” message. Is that normal? Any thoughts, insights or advise? Maybe this is a TestFlight dev environment thing? FWIW, I have no issues on Android. Google Play store is working as expected – every time. -Dan From mark at livecode.com Mon Aug 14 06:13:51 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Aug 2023 11:13:51 +0100 Subject: LC 9.6.9 App uses too much memory! In-Reply-To: <848FFA3D-F8BA-45F1-8595-B4742FE107B9@all-auctions.com> References: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> <848FFA3D-F8BA-45F1-8595-B4742FE107B9@all-auctions.com> Message-ID: <332932d5c6b5963e704c40816aec8145@livecode.com> On 2023-08-13 14:29, harrison--- via use-livecode wrote: > Hi LiveCoders, > > Clearly this is a bug in LC 9.6.9, but I dont know what is causing the > problem. > I noticed that others in the past have run into a similar problem. Was > this > ever reported as a bug? Could you file a bug report with recipe and attach (or send to support at livecode.com if its sensitive) the stack and recipe for reproducing the problem so we can take a look. Thanks in advance, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From mark at livecode.com Mon Aug 14 06:22:03 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Aug 2023 11:22:03 +0100 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: On 2023-08-14 02:45, Neville Smythe via use-livecode wrote: > OK, so the macOS *is* using utf-8 for its file names - the [e-acute] in > the filename Carr.txt is rendered with two bytes [C3A9] not the single > byte MacRoman encoding. I got tricked by copying the terminal listing > into another program rather than hex dumping within the terminal, and > somewhere in the process the native encoding was preferred. > > So one must *not* textEncode a filename to utf-8 before writing a file > to disk, LC deals with the encoding, although you *should textEncode > its contents. > > Which leaves the problem of why I cant get LC Server on Linux to write > non-ascii filenames So I suspect the problem here is normalization, rather than the inability of Linux to write non-ascii filenames. Characters such as e-acute / e-grave have *two* representations in unicode - the decomposed and composed form. The composed form is a direct mapping from the native encodings and is a single codepoint, the decomposed form will be two codepoints - (e, combining-acute/grave) Depending on where the string comes from it might either be composed or decomposed - macOS filenames are stored decomposed in the FS, but the higher-level parts of the OS make either form work (in a similar fashion to how macOS filesystems are case-insensitive by default). Linux filesystems, however, are both case-sensitive and form-sensitive - a filename must match byte to byte with what it was created with (indeed, linux filesystems care nothing for encodings, they see filenames as a sequence of bytes which are interpreted relative to the user's current locale - the default locale on linux these days is utf-8). If your app is managing the files completely on Linux (i.e. it is creating / deleting them and the filenames are not user-editable) then (if this is the caseu) the problem should be fixable by choosing a normalization form when you create / lookup the file - i.e. pass all filenames on the server through `normalizeText(, )` - here you want form to be either "NFC" (composed) or "NFD" (decomposed). Warmest Regards, Mark. P.S. For all the gory details about Unicode normalization forms see - https://unicode.org/reports/tr15/ -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From matthias_livecode_150811 at m-r-d.de Mon Aug 14 07:12:55 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 14 Aug 2023 13:12:55 +0200 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> Hi Mark, when i read Neville's post i thought also about normalize, although i really do not have a clue about the whole unicode stuff, but i remembered that the standalone builder make use of the normalize function. ;) So i used this script on LC Server to write the seconds to a file containing an a-umlaut in its name. put normalizeText("testä.txt", "NFC") into tFile put the seconds into URL ("binfile:"&tFile) put the result put "

" put the files put "

" put tFile But that does not work. "The result" returns 'can't open file'. As i already wrote i have no clue about unicode so i tried also NFD and also the other 2 options, but also w/o success. Is there something else that one hast to keep in mind to have success with this? Regards, Matthias > Am 14.08.2023 um 12:22 schrieb Mark Waddingham via use-livecode : > > On 2023-08-14 02:45, Neville Smythe via use-livecode wrote: >> OK, so the macOS *is* using utf-8 for its file names - the [e-acute] in the filename Carré.txt is rendered with two bytes [C3A9] not the single byte MacRoman encoding. I got tricked by copying the terminal listing into another program rather than hex dumping within the terminal, and somewhere in the process the native encoding was preferred. >> So one must *not* textEncode a filename to utf-8 before writing a file to disk, LC deals with the encoding, although you *should” textEncode its contents. >> Which leaves the problem of why I can’t get LC Server on Linux to write non-ascii filenames > > So I suspect the problem here is normalization, rather than the inability of Linux to write non-ascii filenames. > > Characters such as e-acute / e-grave have *two* representations in unicode - the decomposed and composed form. > > The composed form is a direct mapping from the native encodings and is a single codepoint, the decomposed form will be two codepoints - (e, combining-acute/grave) > > Depending on where the string comes from it might either be composed or decomposed - macOS filenames are stored decomposed in the FS, but the higher-level parts of the OS make either form work (in a similar fashion to how macOS filesystems are case-insensitive by default). > > Linux filesystems, however, are both case-sensitive and form-sensitive - a filename must match byte to byte with what it was created with (indeed, linux filesystems care nothing for encodings, they see filenames as a sequence of bytes which are interpreted relative to the user's current locale - the default locale on linux these days is utf-8). > > If your app is managing the files completely on Linux (i.e. it is creating / deleting them and the filenames are not user-editable) then (if this is the caseu) the problem should be fixable by choosing a normalization form when you create / lookup the file - i.e. pass all filenames on the server through `normalizeText(, )` - here you want form to be either "NFC" (composed) or "NFD" (decomposed). > > Warmest Regards, > > Mark. > > P.S. For all the gory details about Unicode normalization forms see - https://unicode.org/reports/tr15/ > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Mon Aug 14 07:30:09 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Aug 2023 12:30:09 +0100 Subject: Linux filenames in LC Server In-Reply-To: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> References: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> Message-ID: <451d838117d6857f9af371ba2a213583@livecode.com> On 2023-08-14 12:12, matthias rebbe via use-livecode wrote: > Hi Mark, > > when i read Neville's post i thought also about normalize, although i > really do not have a clue about the whole unicode stuff, but i > remembered that the standalone builder make use of the normalize > function. ;) > > So i used this script on LC Server to write the seconds to a file > containing an a-umlaut in its name. > > put normalizeText("test.txt", "NFC") into tFile > put the seconds into URL ("binfile:"&tFile) > put the result > put "

" > put the files > put "

" > put tFile > > But that does not work. "The result" returns 'can't open file'. Hmmm - I must confess that I misread Neville's post - he did explicitly mention 'creating' files... The normalization would only arise if the file already existed, but the requested (incoming) filename was normalized differently (thus resulting in the file not being found). So assuming that the defaultFolder is accessible in your above script (as a read-only folder would also cause the same error) then there does appear to be something up here... Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From mark at livecode.com Mon Aug 14 07:50:31 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Aug 2023 12:50:31 +0100 Subject: Linux filenames in LC Server In-Reply-To: <451d838117d6857f9af371ba2a213583@livecode.com> References: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> <451d838117d6857f9af371ba2a213583@livecode.com> Message-ID: <681007f43f924ec513c60f842fbd84bd@livecode.com> On 2023-08-14 12:30, Mark Waddingham via use-livecode wrote: > So assuming that the defaultFolder is accessible in your above script > (as a read-only folder would also cause the same error) then there does > appear to be something up here... Okay so I'm pretty sure the linux server engine is doing the right thing. As mentioned previously, Linux filesystems don't actually care what the encoding of a filename is - to linux its just a sequence of bytes The interpretation is given by the 'locale' settings which are in effect for any given program. So, when you run lc-server from a terminal session directly, its almost certainly the case that the LC_ALL and LANG environment variables are set to en_US.UTF-8 (or some other language code DOT UTF-8 - it is the UTF-8 which is the important bit). On Linux, a C API nl_langinfo() is used to fetch the encoding to use when talking to the system APIs (e.g. filesystem APIs) - this (I believe) derives its information from LANG/LC_ALL. If the latter *are not set* then it will likely default to the 'C' locale which has no interpretation of any non-ascii chars, and thus attempts to encode/decode utf-8 encoded filenames will fail. My theory is that these variables are not set in the configuration for running CGIs in Apache (or whatever web server is being used in this instance). Digging around it looks like Apache (at least) has a `SetEnv` directive which would allow these environment variables to be set, e.g. SetEnv LC_ALL en_US.UTF-8 SetEnv LANG en_US.UTF-8 Although I'm not 100% sure where such things go, perhaps someone more conversant with apache config could chime in to suggest. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From matthias_livecode_150811 at m-r-d.de Mon Aug 14 07:53:27 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 14 Aug 2023 13:53:27 +0200 Subject: Linux filenames in LC Server In-Reply-To: <451d838117d6857f9af371ba2a213583@livecode.com> References: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> <451d838117d6857f9af371ba2a213583@livecode.com> Message-ID: see below... > Am 14.08.2023 um 13:30 schrieb Mark Waddingham via use-livecode : > > On 2023-08-14 12:12, matthias rebbe via use-livecode wrote: >> Hi Mark, >> when i read Neville's post i thought also about normalize, although i really do not have a clue about the whole unicode stuff, but i remembered that the standalone builder make use of the normalize function. ;) >> So i used this script on LC Server to write the seconds to a file containing an a-umlaut in its name. >> put normalizeText("testä.txt", "NFC") into tFile >> put the seconds into URL ("binfile:"&tFile) >> put the result >> put "

" >> put the files >> put "

" >> put tFile >> But that does not work. "The result" returns 'can't open file'. > > Hmmm - I must confess that I misread Neville's post - he did explicitly mention 'creating' files... The normalization would only arise if the file already existed, but the requested (incoming) filename was normalized differently (thus resulting in the file not being found). > > So assuming that the defaultFolder is accessible in your above script (as a read-only folder would also cause the same error) then there does appear to be something up here... > The default folder is accessible. The same script works when the ä is removed from the line put normalizeText("testä.txt", "NFC") into tFile > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Aug 14 20:07:27 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 14 Aug 2023 18:07:27 -0600 Subject: JSON Message-ID: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> I’m about write some scripts that fiddle with JSON. I have some old stacks of mine about someplace. But, I got to thinking there might be something faster about someplace. Ideas? Dar From andrew at midwestcoastmedia.com Mon Aug 14 23:29:01 2023 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Mon, 14 Aug 2023 23:29:01 -0400 Subject: iOS media player Message-ID: I have a project that needs updating but mobile media controls have completely changed since I last worked on this app. Seems now that the mobile player for iOS is a completely transparent rectangle until the user taps on it when 3 controls appear (rewind 10, play/pause, fast forward 10). Is there any way to make this overlay appear automatically? Once it appears it persists even after updating the media file. It feels like I’m going to have to create a skin (WinAMP flashbacks) for the media player that used to have standard timeline & playback UI from the OS. The logical command (in my head at least) was mobileControlSet "audioPlayer", "showController", TRUE but that acts more like a visibility command rather than calling up the controls. Here is a video showing the player object with a blueBackground and the controls appearing only after tapping on the mobile player: https://www.dropbox.com/scl/fi/q84nccwrqcct8jsmgwvs0/iOS_player.mp4?rlkey=mhqcuz96z9a88ztldweacdsco&dl=0 Curious how others have handled this change. —Andrew Bell From tore.nilsen at me.com Tue Aug 15 00:58:15 2023 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 15 Aug 2023 06:58:15 +0200 Subject: JSON In-Reply-To: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> References: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> Message-ID: JsonImport will make an array of your JSON data, whereas JsonExport will turn your array into JSON data. Not much fiddling there. Best regards Tore Nilsen > 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode : > > > I’m about write some scripts that fiddle with JSON. I have some old stacks of mine about someplace. But, I got to thinking there might be something faster about someplace. Ideas? > > Dar > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 01:16:48 2023 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 15 Aug 2023 08:16:48 +0300 Subject: JSON In-Reply-To: References: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> Message-ID: This has recently been explored across on the forums where I managed to expose my full level of ignorance on the subject. Best, Richmond. On Tue, 15 Aug 2023, 07:59 Tore Nilsen via use-livecode, < use-livecode at lists.runrev.com> wrote: > JsonImport will make an array of your JSON data, whereas JsonExport will > turn your array into JSON data. Not much fiddling there. > > Best regards > Tore Nilsen > > > 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode < > use-livecode at lists.runrev.com>: > > > > > > I’m about write some scripts that fiddle with JSON. I have some old > stacks of mine about someplace. But, I got to thinking there might be > something faster about someplace. Ideas? > > > > Dar > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From neville.smythe at optusnet.com.au Tue Aug 15 03:42:45 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Tue, 15 Aug 2023 17:42:45 +1000 Subject: Linux filenames in LC Server Message-ID: Thanks Mark and Matthias I think it is clear the problem is not related to variant forms - if I replace [e-acute] by any other non-ascii character, such as a Kanji character or emoji, I get the same “can’t open that file” error. And the weird decoding of [e-acute] to [E-grave] would be explained if textDecode is failing in LC Server. So if I understand Mark correctly, while one can create utf-8 encoded filenames directly in a terminal session, LC Server internally accesses Apache environment variables to encode/decode the filename before opening a file rather than directly using the shell. Presumably this has something to do with the engine being a server app having to respect the server environment. On Dreamhost, as far as I can determine, the LANG and LC-ALL variables are *not* set (though WordPress is running and it adds support for a swathe of languages, so surely has support for non-ascii filenames?) The site is a shared hosting, so I do not have permissions to change the Apache conf files. I tried adding the SetEnv commands in the .htaccess file but that didn’t work, although I could well be doing it wrong, I am fumbling around in the dark here. Unless there is some way to fix the configuration, it would seem that not only will opening files fail but the detailed files (the long files) command will also fail if non-ascii characters are encountered since it uses textEncode. I presume that using shell commands could be used as a workaround for accessing the filesystem, as long as LC doesn’t do an internal textEncode as it passes the variables to the shell! However it also means one cannot use textDecode/Encode at all, not just for the filenames but also content; and that could be a bummer. I haven’t encountered this so far because to this point I have encoded content before uploading binary files to the server, but I can envision situations where I would want to encode or decode server-side. I’m puzzled that this problem hasn’t been raised before. Surely the vast majority of website host providers use Linux servers, and the Dreamhost configuration for shared hosting is most likely standard. So has no-one in Europe (or Asia..) using LC Server wanted to create native-language filenames? I think LC Server is a magnificent tool, but perhaps it is not as widely used as it deserves! Or: they all found the fix and haven’t told us. > So, when you run lc-server from a terminal session directly, its almost > certainly the case that the LC_ALL and LANG environment variables are > set to en_US.UTF-8 (or some other language code DOT UTF-8 - it is the > UTF-8 which is the important bit). > > On Linux, a C API nl_langinfo() is used to fetch the encoding to use > when talking to the system APIs (e.g. filesystem APIs) - this (I > believe) derives its information from LANG/LC_ALL. > > If the latter *are not set* then it will likely default to the 'C' > locale which has no interpretation of any non-ascii chars, and thus > attempts to encode/decode utf-8 encoded filenames will fail. > > My theory is that these variables are not set in the configuration for > running CGIs in Apache (or whatever web server is being used in this > instance). > > Digging around it looks like Apache (at least) has a `SetEnv` directive > which would allow these environment variables to be set, e.g. > > SetEnv LC_ALL en_US.UTF-8 > SetEnv LANG en_US.UTF-8 > > Although I'm not 100% sure where such things go, perhaps someone more > conversant with apache config could chime in to suggest. Neville Smythe From matthias_livecode_150811 at m-r-d.de Tue Aug 15 04:06:51 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 15 Aug 2023 10:06:51 +0200 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: <4A5C44CF-2B54-44D7-9F9D-C69B0651C319@m-r-d.de> What definitely works, at least here, is to urlencode the filename before creating it So that e.g. testä would be created as test%E4 As urlencode does not "harm" you could use it in general, not only for non-ascii file names. And if you want to display the "real" name you just have to urldecode the filename again. > Am 15.08.2023 um 09:42 schrieb Neville Smythe via use-livecode : > > Thanks Mark and Matthias > > I think it is clear the problem is not related to variant forms - if I replace [e-acute] by any other non-ascii character, such as a Kanji character or emoji, I get the same “can’t open that file” error. And the weird decoding of [e-acute] to [E-grave] would be explained if textDecode is failing in LC Server. > > So if I understand Mark correctly, while one can create utf-8 encoded filenames directly in a terminal session, LC Server internally accesses Apache environment variables to encode/decode the filename before opening a file rather than directly using the shell. Presumably this has something to do with the engine being a server app having to respect the server environment. > > On Dreamhost, as far as I can determine, the LANG and LC-ALL variables are *not* set (though WordPress is running and it adds support for a swathe of languages, so surely has support for non-ascii filenames?) The site is a shared hosting, so I do not have permissions to change the Apache conf files. I tried adding the SetEnv commands in the .htaccess file but that didn’t work, although I could well be doing it wrong, I am fumbling around in the dark here. > > Unless there is some way to fix the configuration, it would seem that not only will opening files fail but the detailed files (the long files) command will also fail if non-ascii characters are encountered since it uses textEncode. I presume that using shell commands could be used as a workaround for accessing the filesystem, as long as LC doesn’t do an internal textEncode as it passes the variables to the shell! > > However it also means one cannot use textDecode/Encode at all, not just for the filenames but also content; and that could be a bummer. I haven’t encountered this so far because to this point I have encoded content before uploading binary files to the server, but I can envision situations where I would want to encode or decode server-side. > > I’m puzzled that this problem hasn’t been raised before. Surely the vast majority of website host providers use Linux servers, and the Dreamhost configuration for shared hosting is most likely standard. So has no-one in Europe (or Asia..) using LC Server wanted to create native-language filenames? I think LC Server is a magnificent tool, but perhaps it is not as widely used as it deserves! Or: they all found the fix and haven’t told us. > >> So, when you run lc-server from a terminal session directly, its almost >> certainly the case that the LC_ALL and LANG environment variables are >> set to en_US.UTF-8 (or some other language code DOT UTF-8 - it is the >> UTF-8 which is the important bit). >> >> On Linux, a C API nl_langinfo() is used to fetch the encoding to use >> when talking to the system APIs (e.g. filesystem APIs) - this (I >> believe) derives its information from LANG/LC_ALL. >> >> If the latter *are not set* then it will likely default to the 'C' >> locale which has no interpretation of any non-ascii chars, and thus >> attempts to encode/decode utf-8 encoded filenames will fail. >> >> My theory is that these variables are not set in the configuration for >> running CGIs in Apache (or whatever web server is being used in this >> instance). >> >> Digging around it looks like Apache (at least) has a `SetEnv` directive >> which would allow these environment variables to be set, e.g. >> >> SetEnv LC_ALL en_US.UTF-8 >> SetEnv LANG en_US.UTF-8 >> >> Although I'm not 100% sure where such things go, perhaps someone more >> conversant with apache config could chime in to suggest. > Neville Smythe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 04:31:37 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 15 Aug 2023 11:31:37 +0300 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: Hello Dan, Could you share the code that makes the purchase, as well as the purchaseStateUpdate message? Although, my guess is that this is rather a TestFlight issue, since if it was an issue in LC's API for in-app purchase on iOS, it would have been reported ready. Kind regards, Panos -- From mark at livecode.com Tue Aug 15 04:44:15 2023 From: mark at livecode.com (Mark Waddingham) Date: Tue, 15 Aug 2023 09:44:15 +0100 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: <4feb08be2f5d097077b387d0d4709c55@livecode.com> On 2023-08-15 08:42, Neville Smythe via use-livecode wrote: > So if I understand Mark correctly, while one can create utf-8 encoded > filenames directly in a terminal > session, LC Server internally accesses Apache environment variables to > encode/decode the filename > before opening a file rather than directly using the shell. Presumably > this has something to do with > the engine being a server app having to respect the server environment. So what is actually happening here is that there is a notion of a 'SysString' in the engine. A 'SysString' is a string represented as a sequence of bytes in whatever encoding the host platform understands in its APIs. The engine converts its internal string representation to a sys string whenever it accesses a system API - e.g. for opening files. In the case of Linux what encoding such 'sys strings' need to use depends on the environment - the encoding *could* be anything and thus the engine uses the UNIX 'iconv' library to convert from internal representation to the encoded bytes needed. I think this is what is causing the failure of the file APIs - iconv is refusing to convert a string with non-ascii characters to the 'default' 'C' locale as it can't (there is no mapping from, say, e-acute to ascii). I should point out that textEncode/Decode do not use system APIs - the conversions between UTF* forms and 'native' are all built into the engine - so that part is fine - its the low-level connection between commands like 'open file' and calling the UNIX open API which is throwing an error on file name conversion. > On Dreamhost, as far as I can determine, the LANG and LC-ALL variables > are *not* set (though WordPress > is running and it adds support for a swathe of languages, so surely has > support for non-ascii filenames?) > The site is a shared hosting, so I do not have permissions to change > the Apache conf files. I tried adding > the SetEnv commands in the .htaccess file but that didnt work, > although I could well be doing it wrong, > I am fumbling around in the dark here. The only thing I've found so far is SetEnv which does look like it can only be configured in the host config for a domain which is slightly irksome. However, there is a way to launch the CGI engine with any vars needed. I'm not sure how Dreamhost sets things up - indeed it might be worth asking their support if there is a way to configure environment variables which are passed through to CGI executables. If there isn't then it can be done with a launcher script: ``` #!/bin/sh export LC_ALL="en_US.UTF8" export LANG="en_US.UTF8" exec livecode-server ``` This would be a text file which has been made executable - and needs to be configured as the executable which is launched when a livecode server script is launched (livecode-server in the above needs to be the location of the livecode-server executable in the hosting setup). I know others here use (or have used) Dreamhost in the past - so they might know more about how the above could be configured (although, again, Dreamhost support can probably help). > Unless there is some way to fix the configuration, it would seem that > not only will opening files > fail but the detailed files (the long files) command will also fail if > non-ascii characters are > encountered since it uses textEncode. I presume that using shell > commands could be used as a workaround > for accessing the filesystem, as long as LC doesnt do an internal > textEncode as it passes the > variables to the shell! > However it also means one cannot use textDecode/Encode at all, not just > for the filenames but also > content; and that could be a bummer. I havent encountered this so far > because to this point I have > encoded content before uploading binary files to the server, but I can > envision situations where I > would want to encode or decode server-side. The problem isn't with textEncode/Decode - they work fine as mentioned above - its just the engine doesn't have the necessary information (due to lack of env vars) to know how to interpret/create the filenames the system APIs need. > Im puzzled that this problem hasnt been raised before. Surely the > vast majority of website host > providers use Linux servers, and the Dreamhost configuration for shared > hosting is most likely > standard. So has no-one in Europe (or Asia..) using LC Server wanted to > create native-language > filenames? I think LC Server is a magnificent tool, but perhaps it is > not as widely used as it > deserves! Or: they all found the fix and havent told us. This is almost certainly a server setup/config thing - I guess apache (by default) runs CGIs in the most 'raw' environment possible by default. The observation about Wordpress is interesting - certainly before PHP was 'unicodified' - the encoding of filenames was up to the script - i.e. you had to to encode/decode filenames appropriately yourself and I guess utf-8 was just assumed. With PHP7 I believe it handles unicode transparently a bit like LC does, so I'll see if I can see what PHP7+ uses to determine the system encoding. Indeed, it might do no harm at all to just assume UTF-8 encoding for Linux in the engine if the locale vars are not set (which appears to be the case here) which would resolve the problem transparently. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From benr_mc at cogapp.com Tue Aug 15 07:08:06 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 15 Aug 2023 12:08:06 +0100 Subject: Browser widget: "Navigation request cancelled" Message-ID: <706baeb4-f0f0-5fd3-9358-d0e3181ad045@cogapp.com> Trying to use the browser widget to access an internal site, I'm having a lot of trouble. If I send it (by setting the URL property of the widget) to the root of the hostname, it loads the page succesfully, although the widget gets a browserDocumentLoadFailed message "navigation request cancelled". If I set the URL property to some pages within the site, they load succesfully without that message. If I set the URL property to some other pages, they do not load, and that message is received. It's completely consistent which URLs work, and which don't. If I send the widget to a URL which works, I can navigate anywhere within the site without problems, including to the URLs which don't work using set. I haven't managed to pin down what distinguishes the working URLs from non-working. All the non-working ones I've found involve query parameters; but some of the working ones do also. My question is: how can I debug this issue? Are there any ways to get insight into the loading process? I am catching and reporting these messages: browserDocumentLoadFailed browserDocumentLoadComplete browserNavigateFailed browserNavigateComplete browserUnhandledLoadRequest ... but the only ones that trigger are either browserDocumentLoadFailed or browserUnhandledLoadRequest, or browserDocumentLoadComplete - always with the parameter being the requested URL. I'm guessing, though I might be wrong, that the issue is actually with one of the elements being requested by the document, but this is never in the parameter. Additionally, browserProgressChanged never seems to be sent. Is it possible to get any more detail about what's going on? TIA, Ben From mark at livecode.com Tue Aug 15 07:17:36 2023 From: mark at livecode.com (Mark Waddingham) Date: Tue, 15 Aug 2023 12:17:36 +0100 Subject: Browser widget: "Navigation request cancelled" In-Reply-To: <706baeb4-f0f0-5fd3-9358-d0e3181ad045@cogapp.com> References: <706baeb4-f0f0-5fd3-9358-d0e3181ad045@cogapp.com> Message-ID: On 2023-08-15 12:08, Ben Rubinstein via use-livecode wrote: > Is it possible to get any more detail about what's going on? I'm guessing you are using 10-dp-5 :) The issues here are regressions caused by the switch to WKWebView in 10 (previously we used the older WebView system web browser API): The missing progressChanged messages issue is https://quality.livecode.com/show_bug.cgi?id=24271 The missing other messages issue is https://quality.livecode.com/show_bug.cgi?id=24247 The latter is related to server vs local redirects in the web page. Both should be fixed in the upcoming 10-dp-6. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From dsc at swcp.com Tue Aug 15 09:46:43 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 15 Aug 2023 07:46:43 -0600 Subject: JSON In-Reply-To: References: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> Message-ID: <9C25DFE8-3B1D-4BD1-916F-9CD012283140@swcp.com> Thanks, Tore! I found these in the dictionary. For JsonImport I noted this: The return value may be any of the following types, depending on the content of the file: Array (for a JSON object) List (for a JSON array) String (for a JSON string) Number (for any JSON number) Boolean (for JSON true or false) nothing (for JSON null) How would an array of objects be translated? What is nothing? Dar > On Aug 14, 2023, at 10:58 PM, Tore Nilsen via use-livecode wrote: > > JsonImport will make an array of your JSON data, whereas JsonExport will turn your array into JSON data. Not much fiddling there. > > Best regards > Tore Nilsen > >> 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode : >> >> >> I’m about write some scripts that fiddle with JSON. I have some old stacks of mine about someplace. But, I got to thinking there might be something faster about someplace. Ideas? >> >> Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 15 10:03:13 2023 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 15 Aug 2023 16:03:13 +0200 Subject: JSON In-Reply-To: <9C25DFE8-3B1D-4BD1-916F-9CD012283140@swcp.com> References: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> <9C25DFE8-3B1D-4BD1-916F-9CD012283140@swcp.com> Message-ID: <15D33484-F79F-43EB-9F2B-38C01F74DABB@me.com> An array of object would be turned into a multidimensional array with value pairs in LiveCode. Depending on the source the main keys may be numeric or assosiative, like in these examples: contriesArray[1][name] contriesArray[1][capitol] contriesArray[1][inhabitants] Or contriesArray[«Norway"][capitol] contriesArray[«Norway»][inhabitants] Tore > 15. aug. 2023 kl. 15:46 skrev Dar Scott via use-livecode : > > Thanks, Tore! > > I found these in the dictionary. For JsonImport I noted this: > > The return value may be any of the following types, depending on the content of the file: > > Array (for a JSON object) > List (for a JSON array) > String (for a JSON string) > Number (for any JSON number) > Boolean (for JSON true or false) > nothing (for JSON null) > How would an array of objects be translated? What is nothing? > > Dar > > >> On Aug 14, 2023, at 10:58 PM, Tore Nilsen via use-livecode wrote: >> >> JsonImport will make an array of your JSON data, whereas JsonExport will turn your array into JSON data. Not much fiddling there. >> >> Best regards >> Tore Nilsen >> >>> 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode : >>> >>> >>> I’m about write some scripts that fiddle with JSON. I have some old stacks of mine about someplace. But, I got to thinking there might be something faster about someplace. Ideas? >>> >>> Dar >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 10:48:01 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 15 Aug 2023 14:48:01 +0000 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: Panos, Thank you for the reply. Here is my code…. You click a button, and it calls startInAppPurchase with the number of credits to purchase. After all is done, pLog is completely empty. This is working perfectly on Android. on startInAppPurchase numCredits //setup purchase id if numCredits = 1 then put 1001 into productID put "$0.99" into productAmount else if numCredits = 2 then put 1002 into productID put "$1.99" into productAmount else if numCredits = 3 then put 1003 into productID put "$2.99" into productAmount else if numCredits = 11 then put 1011 into productID put "$9.99" into productAmount end if //confirm with user if numCredits = 1 then put "Are you sure you want to purchase 1 credit for" && productAmount & "?" into pString else put "Are you sure you want to purchase" && numCredits && "credits for" && productAmount & "?" into pString end if if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") = "Cancel" then // <-- custom answer dialog exit startInAppPurchase end if //initiate the purchase mobileStoreEnablePurchaseUpdates mobileStoreSetProductType productID,"inapp" mobileStoreMakePurchase productID,"1","testPayload - Android Only" end startInAppPurchase on purchaseStateUpdate pPurchaseID,pProductID,pState global user global pLog put pState & cr after pLog switch pState case "paymentReceived" //2,1001,paymentReceived //tell our server is was successful and log users credits to database if isIPhone() then put mobileStoreProductProperty(pProductID,"transactionIdentifier") into tIdentifier get db_verifyPurchase(pProductID,tIdentifier) else //android handled in case "complete" end if mobileStoreConfirmPurchase pProductID //Inform the store that the purchase identifier productID was successfully delivered mobileStoreDisablePurchaseUpdates loadMeUp //refresh our display break case "error" answer "Error occured during purchase handling:" & return & return & mobileStorePurchaseError(pPurchaseID) mobileStoreDisablePurchaseUpdates break case "invalidSKU" answer "Invalid SKU." mobileStoreDisablePurchaseUpdates break case "alreadyEntitled" answer "Already Owned." mobileStoreDisablePurchaseUpdates break case "restored" answer "restored" offerPurchasedProduct pProductID mobileStoreConfirmPurchase pProductID mobileStoreDisablePurchaseUpdates loadMeUp break case "canceled" case "cancelled" answer "Purchase Cancelled:" && pProductID mobileStoreDisablePurchaseUpdates break case "complete" if isAndroid() then put mobileStoreProductProperty(pProductID,"orderId") into orderId mobileStoreConsumePurchase pProductID get db_verifyPurchase(pProductID,orderId) end if mobileStoreDisablePurchaseUpdates break end switch end purchaseStateUpdate Thank you! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Tuesday, August 15, 2023 at 1:33 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Oddities with iOS IAP Hello Dan, Could you share the code that makes the purchase, as well as the purchaseStateUpdate message? Although, my guess is that this is rather a TestFlight issue, since if it was an issue in LC's API for in-app purchase on iOS, it would have been reported ready. Kind regards, Panos -- _______________________________________________ use-livecode mailing list use-livecode at 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 Aug 15 13:22:34 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 15 Aug 2023 20:22:34 +0300 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: Hello Dan, Just a rough guess, in the purchaseStateUpdate msg, you have: mobileStoreConfirmPurchase pProductID //Inform the store that the purchase identifier productID was successfully delivered mobileStoreDisablePurchaseUpdates in both cases for paymentReceived and restored. Could you try commenting out the mobileStoreDisablePurchaseUpdates in these 2 cases? Once you call mobileStoreConfirmPurchase, it informs the store that the purchase was successful, and then the store sends another "purchaseStateUpdate" with state=complete. But if you call mobileStoreDisablePurchaseUpdates just after mobileStoreConfirmPurchase then this stops the communication with the store. I suggest having mobileStoreDisablePurchaseUpdates just in the "complete" case and remove it from "paymentReceived" and "restored". Note that on Android (if I remember correctly) mobileStoreEnablePurchaseUpdates/mobileStoreDisablePurchaseUpdates do not actually do something - but they are added for consistency. If you do this change, and still see the delay, then it is likely a TestFlight/Sandbox issue. Note that Apple's sandbox servers are slower than the actual ones used by StoreKit. (e.g. https://community.revenuecat.com/sdks-51/testflight-clicking-subscriptions-or-iaps-has-long-delay-2687 ) kind regards, Panos -- On Tue, 15 Aug 2023 at 17:49, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos, > > Thank you for the reply. Here is my code…. You click a button, and it > calls startInAppPurchase with the number of credits to purchase. After all > is done, pLog is completely empty. This is working perfectly on Android. > > on startInAppPurchase numCredits > //setup purchase id > if numCredits = 1 then > put 1001 into productID > put "$0.99" into productAmount > else if numCredits = 2 then > put 1002 into productID > put "$1.99" into productAmount > else if numCredits = 3 then > put 1003 into productID > put "$2.99" into productAmount > else if numCredits = 11 then > put 1011 into productID > put "$9.99" into productAmount > end if > > //confirm with user > if numCredits = 1 then > put "Are you sure you want to purchase 1 credit for" && productAmount > & "?" into pString > else > put "Are you sure you want to purchase" && numCredits && "credits for" > && productAmount & "?" into pString > end if > if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") > = "Cancel" then // <-- custom answer dialog > exit startInAppPurchase > end if > > //initiate the purchase > mobileStoreEnablePurchaseUpdates > mobileStoreSetProductType productID,"inapp" > mobileStoreMakePurchase productID,"1","testPayload - Android Only" > end startInAppPurchase > > on purchaseStateUpdate pPurchaseID,pProductID,pState > global user > global pLog > > put pState & cr after pLog > > switch pState > case "paymentReceived" //2,1001,paymentReceived > //tell our server is was successful and log users credits to database > if isIPhone() then > put mobileStoreProductProperty(pProductID,"transactionIdentifier") > into tIdentifier > get db_verifyPurchase(pProductID,tIdentifier) > else > //android handled in case "complete" > end if > > mobileStoreConfirmPurchase pProductID //Inform the store that the > purchase identifier productID was successfully delivered > mobileStoreDisablePurchaseUpdates > loadMeUp //refresh our display > break > case "error" > answer "Error occured during purchase handling:" & return & return & > mobileStorePurchaseError(pPurchaseID) > mobileStoreDisablePurchaseUpdates > break > case "invalidSKU" > answer "Invalid SKU." > mobileStoreDisablePurchaseUpdates > break > case "alreadyEntitled" > answer "Already Owned." > mobileStoreDisablePurchaseUpdates > break > case "restored" > answer "restored" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > mobileStoreDisablePurchaseUpdates > loadMeUp > break > case "canceled" > case "cancelled" > answer "Purchase Cancelled:" && pProductID > mobileStoreDisablePurchaseUpdates > break > case "complete" > if isAndroid() then > put mobileStoreProductProperty(pProductID,"orderId") into orderId > mobileStoreConsumePurchase pProductID > get db_verifyPurchase(pProductID,orderId) > end if > > mobileStoreDisablePurchaseUpdates > break > end switch > end purchaseStateUpdate > > > Thank you! > -Dan > > > From: use-livecode on behalf of > panagiotis m via use-livecode > Date: Tuesday, August 15, 2023 at 1:33 AM > To: How to use LiveCode > Cc: panagiotis m > Subject: Re: Oddities with iOS IAP > Hello Dan, > > Could you share the code that makes the purchase, as well as the > purchaseStateUpdate message? > > Although, my guess is that this is rather a TestFlight issue, since if it > was an issue in LC's API for in-app purchase on iOS, it would have been > reported > ready. > > Kind regards, > Panos > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 18:22:36 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 15 Aug 2023 22:22:36 +0000 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: Panos, Ok… seems to be working now. I’m no longer getting “completed”, but I am consistently getting “paymentRecieved”… and I can make that work. Obviously, I don’t really understand how this all works… but it’s working! Thank you again for your help! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Tuesday, August 15, 2023 at 10:24 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Oddities with iOS IAP Hello Dan, Just a rough guess, in the purchaseStateUpdate msg, you have: mobileStoreConfirmPurchase pProductID //Inform the store that the purchase identifier productID was successfully delivered mobileStoreDisablePurchaseUpdates in both cases for paymentReceived and restored. Could you try commenting out the mobileStoreDisablePurchaseUpdates in these 2 cases? Once you call mobileStoreConfirmPurchase, it informs the store that the purchase was successful, and then the store sends another "purchaseStateUpdate" with state=complete. But if you call mobileStoreDisablePurchaseUpdates just after mobileStoreConfirmPurchase then this stops the communication with the store. I suggest having mobileStoreDisablePurchaseUpdates just in the "complete" case and remove it from "paymentReceived" and "restored". Note that on Android (if I remember correctly) mobileStoreEnablePurchaseUpdates/mobileStoreDisablePurchaseUpdates do not actually do something - but they are added for consistency. If you do this change, and still see the delay, then it is likely a TestFlight/Sandbox issue. Note that Apple's sandbox servers are slower than the actual ones used by StoreKit. (e.g. https://community.revenuecat.com/sdks-51/testflight-clicking-subscriptions-or-iaps-has-long-delay-2687 ) kind regards, Panos From neville.smythe at optusnet.com.au Wed Aug 16 01:37:45 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Wed, 16 Aug 2023 15:37:45 +1000 Subject: Linux filenames in LC Server Message-ID: Thanks Mark for semi-unfuddling me. It’s good to know that textEncode/Decode is not to blame. But if I may try everyones' patience a little further > In the case of Linux what encoding such 'sys strings' need to use > depends on the environment - the encoding *could* be anything and thus > the engine uses the UNIX 'iconv' library to convert from internal > representation to the encoded bytes needed. I think this is what is > causing the failure of the file APIs - iconv is refusing to convert a > string with non-ascii characters to the 'default' 'C' locale as it can't > (there is no mapping from, say, e-acute to ascii). So I misunderstood, I thought we were talking about Apache environment variables. Indeed the Terminal app reports LANG=C as a system env variable. But if this is not specifically a server problem, wouldn’t that mean we could see the same behaviour with LC Desktop on Linux machines running vanilla Ubuntu or Debian (which is what Dreamhost uses)? I haven’t tried this yet, as it is a bit of pain to fire up my Linux emulator machine. An experiment, which make me wonder if this counts as a configuration problem or an actual bug in LC Server: In Terminal I type (actually paste) and execute echo “éü😃” > Carré.txt (for Forum users like me who just see ? everywhere, that is [e-acute][u-umlaut][happyface emoji] in the content to be written to a file with [e-acute] in its name) This works without problem. The contents of the file are utf-8 encoded, which I didn’t need to specify, but I guess that is what the pasteboard provided. Terminal had no problem creating or finding the file without needing those env settings. Of course it cannot *display* the file name without knowing the encoding, so ls reports the filename as 'Carr'$'\303\251''.txt’ ( readable as an ascii encoding, though not one I have seen before; note the single quotes) If I setup the env variables Mark suggests in the Terminal session export LC_ALL="en_US.UTF8" export LANG=“en_US.UTF8” then Terminal is able to display the filename á la française. Cyberduck reports this filename correctly using the [e-acute] without having to set encoding knowledge. And I can also create the file using Cyberduck with no problems. So IT knows about/expects/sets up the encoding as needed. I bet other Linux-aware apps would also open or list such files without drama or special configuration. However: in LC Server when I call "the long files" for the enclosing folder: crash! (Actually an in-line error reported for this code line). To my mind that qualifies as a bug, even if the source of the crash is the same as for open file. On the other hand hopefully setting the environment variables as Mark suggests will fix everything . Mark, could I clarify exactly how that “launcher script” is to be used… I’m guessing the cgi configuration should point to that file to be executed when it wants to open myscript.lc instead of pointing to the livecode-server executable (in which case it might have to have a .cgi suffix rather than .txt), or is it a shell script to be executed by livecode-server? Neville Smythe From mark at livecode.com Wed Aug 16 03:34:23 2023 From: mark at livecode.com (Mark Waddingham) Date: Wed, 16 Aug 2023 08:34:23 +0100 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: On 2023-08-16 06:37, Neville Smythe via use-livecode wrote: > So I misunderstood, I thought we were talking about Apache environment > variables. Indeed the Terminal app reports > > LANG=C > > as a system env variable. But if this is not specifically a server > problem, wouldnt > that mean we could see the same behaviour with LC Desktop on Linux > machines running > vanilla Ubuntu or Debian (which is what Dreamhost uses)? I havent > tried this yet, > as it is a bit of pain to fire up my Linux emulator machine. So the situation here is similar to that which you get on macOS. If you open Terminal, then the (UNIX) environment (variable-wise) which you get will be different from that you get when you double-click on an app to launch it. In the latter case, the executable is launched via the desktop environments 'launcher' process and will inherit the environment provided by that. Presumably, as Linux desktops mandate various things (like language settings), the locale and environment vars will be set appropriately. > An experiment, which make me wonder if this counts as a configuration > problem or an actual bug in LC Server: > > In Terminal I type (actually paste) and execute > > echo > Carr.txt > > (for Forum users like me who just see ? everywhere, that is > [e-acute][u-umlaut][happyface emoji] in the content to be written to a > file with [e-acute] in its name) > > This works without problem. The contents of the file are utf-8 > encoded, which I didnt > need to specify, but I guess that is what the pasteboard provided. > Terminal had no problem > creating or finding the file without needing those env settings. Of > course it cannot *display* > the file name without knowing the encoding, so ls reports the filename > as 'Carr'$'\303\251''.txt > ( readable as an ascii encoding, though not one I have seen before; > note the single quotes) I'm guessing here that this is a remote ssh session to your Linux server, and you are using macOS Terminal app to run and connect? If that is the case then the reason this works is because Terminal on macOS is UTF-8 (which is the *only* encoding macOS supports in its UNIX subsystem so you don't get the variance problem you do with Linux). This means that pasting text from somewhere else will paste the UTF-8 bytes - i.e. they will get transmitted over SSH to the remote linux machine. As filenames are just sequences of bytes on Linux this works fine - however when you ask the remote terminal to list the files, it can only interpret the ascii chars (as the LANG is C) and thus emits octal escapes for the others - here this ix 0xC3 0xA9 which is the utf-8 encoding of e-acute. > If I setup the env variables Mark suggests in the Terminal session > > export LC_ALL="en_US.UTF8" > export LANG=en_US.UTF8 > > then Terminal is able to display the filename la franaise. So now the remote terminal knows how to interpret the sequences of bytes present in the filenames, and thus can emit them appropriately. > Cyberduck reports this filename correctly using the [e-acute] without > having to set encoding > knowledge. And I can also create the file using Cyberduck with no > problems. So IT knows about/expects/sets > up the encoding as needed. I bet other Linux-aware apps would also open > or list such files without > drama or special configuration. IT doesn't know - it assumes. I suspect that if you used Cyberduck to connect to a Linux server which is setup to *not* be utf-8 (so filenames are encoded with some other encoding), then it would display things incorrectly. Of course, if the protocols it deals with specify the text encoding as utf-8 *and* the daemons running on said server are setup correctly (i.e. so that they process the filenames and such relative to the server's encoding) *and* they correctly convert the filenames from that encoding to the encoding mandated by the protocol then it would display fine. Certainly FTP treats filenames as sequences of bytes - so at least for that protocol the client would have to assume UTF-8 or be told the correct encoding to do the correct thing. > However: in LC Server when I call "the long files" for the enclosing > folder: crash! > (Actually an in-line error reported for this code line). To my mind > that qualifies as > bug, even if the source of the crash is the same as for open file. I take it by crash you mean a runtime error is logged, and that this only happens if the LANG / LC_ALL environment variables are not set? This is the same issue as opening a file - the low-level text encoding from ASCII to the internal encoding used by strings in the engine will be failing because it encounters non-ASCII. > On the other hand hopefully setting the environment variables as > Mark suggests will > fix everything . Mark, could I clarify exactly how that launcher > script is to be used > Im guessing the cgi configuration should point to that file to be > executed when it wants > to open myscript.lc instead of pointing to the livecode-server > executable (in which case > it might have to have a .cgi suffix rather than .txt), or is it a shell > script to be > executed by livecode-server? The provided text should be put into a shell script which should be launched *instead* of livecode-server - so configure your CGI environment to call said shell script when it encounters a lc server script file to run. It will then set environment variables and then 'exec' replaces the shell script with livecode-server (in the same process). Technically while what the engine is doing is correct (relative to its need to have filenames represented as strings internally at least) it isn't ideal. There are two options to improve the situation (when the locale env vars are not set / set to C): 1) Rather than assume ASCII, assume native - this would preserve the bytes in the filename regardless of system encoding. 2) Rather than assume ASCII, assume utf-8 - this would correctly represent filenames which are valid UTF-8, but would still fail on filenames with bad encoding Here (1) has the advantage that filenames would be preserved; but with the slight caveat that if you combined with other unicode characters (in a report say); the filenames would be displayed incorrectly (here 'display' would also include being sent as part of some protocol response). Here (2) has the advantage of everything working as expected assuming the server in question is utf-8 - it would still fail on filenames which are badly encoded though. However the latter could be mitigated by making the sys-string<->lc-string conversion slightly less strict - i.e. bad utf-8 chars map to/from '?' as they do in textEncode/Decode - so at least you could see the bad filenames. I suspect (2) is overall better - its only downside is that you would not be able to manipulate files on the server which had badly encoded utf-8 names. However, that seems like an extreme edge case; and one which you could work around by just setting the LANG env var to a native encoding and put appropriate code in your app to deal with. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From bobsneidar at iotecdigital.com Wed Aug 16 11:18:30 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Aug 2023 15:18:30 +0000 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: Hah! This reminds me of a time when Windows would allow files with names that were legal for Mac to be written to its own file system who’s filenames were NOT legal. The result is you could save the files, but you could never access or delete them, neither could you delete any folder that contained them. They had to write utilities to rename such files and they weren't 100% successful. Bob S On Aug 16, 2023, at 12:34 AM, Mark Waddingham via use-livecode wrote: I suspect (2) is overall better - its only downside is that you would not be able to manipulate files on the server which had badly encoded utf-8 names. However, that seems like an extreme edge case; and one which you could work around by just setting the LANG env var to a native encoding and put appropriate code in your app to deal with. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From bobsneidar at iotecdigital.com Wed Aug 16 12:30:56 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Aug 2023 16:30:56 +0000 Subject: Setting focus after tab Message-ID: Hi all. Something curious that has been going on for a while. When I tab from field 1 to field 2, I have code that populates field 2 in some circumstances, then checks to see if field 2 is empty, then focuses on field 2 if it is, or fiend 3 if it’s not. In other words I am trying to focus on the next empty field. This never works if I am tabbing, BUT if I set a breakpoint and step through the code, IT DOES WORK! I think this is because the tab-to-next-field native LC code is executing AFTER my code runs. Exit to top does not have an effect. Anyone else seeing this behavior? Bob S From bobsneidar at iotecdigital.com Wed Aug 16 12:49:16 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Aug 2023 16:49:16 +0000 Subject: Setting focus after tab In-Reply-To: References: Message-ID: never mind. I just tested this with a new stack and it works the way it’s supposed to. I must have a script that is doing this. Bob S > On Aug 16, 2023, at 9:30 AM, Bob Sneidar wrote: > > Hi all. > > Something curious that has been going on for a while. When I tab from field 1 to field 2, I have code that populates field 2 in some circumstances, then checks to see if field 2 is empty, then focuses on field 2 if it is, or fiend 3 if it’s not. In other words I am trying to focus on the next empty field. > > This never works if I am tabbing, BUT if I set a breakpoint and step through the code, IT DOES WORK! I think this is because the tab-to-next-field native LC code is executing AFTER my code runs. Exit to top does not have an effect. > > Anyone else seeing this behavior? > > Bob S > From matthias_livecode_150811 at m-r-d.de Wed Aug 16 19:33:16 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 17 Aug 2023 01:33:16 +0200 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: <12E0AE86-346F-441C-9CB1-394CC762E3E3@m-r-d.de> It seems it is possible to set environment vars using redirect rules in .htaccess. I added the following lines to my .htaccess RewriteEngine on RewriteRule \.(lc) - [E=LANG:de_DE.UTF-8] the 2nd line or better tells Apache not to redirect, but to 'use' the flag [E=....] when an .lc file is "requested". The flag allows to set an environment variable. E=LANG:de_DE.UTF-8 tells apache to set the variable LANG to the value de_DE.UTF-8 It's even possible to set cookies that way using a cookie tag. With those 2 lines i did not receive the 'can't open file' error anymore and the file with a non-ascii filename, in my script testä.txt, was created by the .lc script. In my ftp client the file testä.txt is shown as testä.txt, but i can access the file from LCserver still with its original name testä.txt > Am 16.08.2023 um 09:34 schrieb Mark Waddingham via use-livecode : > > On 2023-08-16 06:37, Neville Smythe via use-livecode wrote: >> So I misunderstood, I thought we were talking about Apache environment variables. Indeed the Terminal app reports >> LANG=C >> as a system env variable. But if this is not specifically a server problem, wouldn’t >> that mean we could see the same behaviour with LC Desktop on Linux machines running >> vanilla Ubuntu or Debian (which is what Dreamhost uses)? I haven’t tried this yet, >> as it is a bit of pain to fire up my Linux emulator machine. > > So the situation here is similar to that which you get on macOS. If you open Terminal, then the (UNIX) environment (variable-wise) which you get will be different from that you get when you double-click on an app to launch it. In the latter case, the executable is launched via the desktop environments 'launcher' process and will inherit the environment provided by that. Presumably, as Linux desktops mandate various things (like language settings), the locale and environment vars will be set appropriately. > >> An experiment, which make me wonder if this counts as a configuration problem or an actual bug in LC Server: >> In Terminal I type (actually paste) and execute >> echo “éü😃” > Carré.txt >> (for Forum users like me who just see ? everywhere, that is [e-acute][u-umlaut][happyface emoji] in the content to be written to a file with [e-acute] in its name) >> This works without problem. The contents of the file are utf-8 encoded, which I didn’t >> need to specify, but I guess that is what the pasteboard provided. Terminal had no problem >> creating or finding the file without needing those env settings. Of course it cannot *display* >> the file name without knowing the encoding, so ls reports the filename as 'Carr'$'\303\251''.txt’ >> ( readable as an ascii encoding, though not one I have seen before; note the single quotes) > > I'm guessing here that this is a remote ssh session to your Linux server, and you are using macOS Terminal app to run and connect? If that is the case then the reason this works is because Terminal on macOS is UTF-8 (which is the *only* encoding macOS supports in its UNIX subsystem so you don't get the variance problem you do with Linux). This means that pasting text from somewhere else will paste the UTF-8 bytes - i.e. they will get transmitted over SSH to the remote linux machine. > > As filenames are just sequences of bytes on Linux this works fine - however when you ask the remote terminal to list the files, it can only interpret the ascii chars (as the LANG is C) and thus emits octal escapes for the others - here this ix 0xC3 0xA9 which is the utf-8 encoding of e-acute. > >> If I setup the env variables Mark suggests in the Terminal session >> export LC_ALL="en_US.UTF8" >> export LANG=“en_US.UTF8” >> then Terminal is able to display the filename á la française. > > So now the remote terminal knows how to interpret the sequences of bytes present in the filenames, and thus can emit them appropriately. > >> Cyberduck reports this filename correctly using the [e-acute] without having to set encoding >> knowledge. And I can also create the file using Cyberduck with no problems. So IT knows about/expects/sets >> up the encoding as needed. I bet other Linux-aware apps would also open or list such files without >> drama or special configuration. > > IT doesn't know - it assumes. I suspect that if you used Cyberduck to connect to a Linux server which is setup to *not* be utf-8 (so filenames are encoded with some other encoding), then it would display things incorrectly. > > Of course, if the protocols it deals with specify the text encoding as utf-8 *and* the daemons running on said server are setup correctly (i.e. so that they process the filenames and such relative to the server's encoding) *and* they correctly convert the filenames from that encoding to the encoding mandated by the protocol then it would display fine. > > Certainly FTP treats filenames as sequences of bytes - so at least for that protocol the client would have to assume UTF-8 or be told the correct encoding to do the correct thing. > >> However: in LC Server when I call "the long files" for the enclosing folder: crash! >> (Actually an in-line error reported for this code line). To my mind that qualifies as >> bug, even if the source of the crash is the same as for open file. > > I take it by crash you mean a runtime error is logged, and that this only happens if the LANG / LC_ALL environment variables are not set? > > This is the same issue as opening a file - the low-level text encoding from ASCII to the internal encoding used by strings in the engine will be failing because it encounters non-ASCII. > >> On the other hand hopefully setting the environment variables as Mark suggests will >> fix everything . Mark, could I clarify exactly how that “launcher script” is to be used… >> I’m guessing the cgi configuration should point to that file to be executed when it wants >> to open myscript.lc instead of pointing to the livecode-server executable (in which case >> it might have to have a .cgi suffix rather than .txt), or is it a shell script to be >> executed by livecode-server? > > The provided text should be put into a shell script which should be launched *instead* of livecode-server - so configure your CGI environment to call said shell script when it encounters a lc server script file to run. It will then set environment variables and then 'exec' replaces the shell script with livecode-server (in the same process). > > Technically while what the engine is doing is correct (relative to its need to have filenames represented as strings internally at least) it isn't ideal. There are two options to improve the situation (when the locale env vars are not set / set to C): > > 1) Rather than assume ASCII, assume native - this would preserve the bytes in the filename regardless of system encoding. > 2) Rather than assume ASCII, assume utf-8 - this would correctly represent filenames which are valid UTF-8, but would still fail on filenames with bad encoding > > Here (1) has the advantage that filenames would be preserved; but with the slight caveat that if you combined with other unicode characters (in a report say); the filenames would be displayed incorrectly (here 'display' would also include being sent as part of some protocol response). > > Here (2) has the advantage of everything working as expected assuming the server in question is utf-8 - it would still fail on filenames which are badly encoded though. However the latter could be mitigated by making the sys-string<->lc-string conversion slightly less strict - i.e. bad utf-8 chars map to/from '?' as they do in textEncode/Decode - so at least you could see the bad filenames. > > I suspect (2) is overall better - its only downside is that you would not be able to manipulate files on the server which had badly encoded utf-8 names. However, that seems like an extreme edge case; and one which you could work around by just setting the LANG env var to a native encoding and put appropriate code in your app to deal with. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Wed Aug 16 21:27:40 2023 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Wed, 16 Aug 2023 21:27:40 -0400 Subject: LC 9.6.9 App uses too much memory! In-Reply-To: <332932d5c6b5963e704c40816aec8145@livecode.com> References: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> <848FFA3D-F8BA-45F1-8595-B4742FE107B9@all-auctions.com> <332932d5c6b5963e704c40816aec8145@livecode.com> Message-ID: <63F06F78-904E-485F-8A48-6A9EC1A67017@all-auctions.com> Hi Mark, It was a very old stack that used the Player object. It had start and stop buttons that I had created, and a couple of scrollbar objects for quick value scrubbing and playing. There was some rather odd behavior with the toggle controller where the 9.6.9 version was the flip flop of the 9.6.8 version. Other than that I couldn’t see any noticeable differences. I was able to reconstruct this simple stack in LC 9.6.9 and have it function properly, when made from scratch. Perhaps the old stack had some unseen corruption or something. It was just very odd to see it function fine in LC 9.6.8 but then have it cause that memory leak overrun in LC 9.6.9 and be unusable. I haven’t been able to come up with a recipe to duplicate the problem. If I can figure out a repeatable recipe I’ll get back to you on that. This is non-critical for me at the moment. Thanks, Rick > On Aug 14, 2023, at 6:13 AM, Mark Waddingham via use-livecode wrote: > > Could you file a bug report with recipe and attach (or send to support at livecode.com if its sensitive) the stack and recipe for reproducing the problem so we can take a look. > > Thanks in advance, > > Mark. From neville.smythe at optusnet.com.au Thu Aug 17 09:56:49 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 17 Aug 2023 23:56:49 +1000 Subject: Linux filenames in LC Server - Resolved Message-ID: <9DFCB875-8122-4440-A26F-22F073C96D67@optusnet.com.au> Thank you Mark, installing the launcher script to set environment variables has fixed all my issues with non-ascii filenames. The documentation for installing LCS could usefully make a note of these settings. And indeed TextEncode/Decode both work as expected, my musings there were irrelevant. Do you expect a future version of LCServer will incorporate the changes? IMHO I’d agree option 2 would make things work more transparently for the vast majority of cases. And while you wouldn’t able be able to handle badly encoded filenames within LC, I guess you wouldn't be able to create them either. Neville Smythe From panos.merakos at livecode.com Thu Aug 17 10:02:59 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 17 Aug 2023 17:02:59 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.10 RC-1. LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support for Android API 33, which will be a requirement for submitting new apps to the Google Play Store as of the 31st of August. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-10-rc-1-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From matthias_livecode_150811 at m-r-d.de Thu Aug 17 10:11:08 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 17 Aug 2023 16:11:08 +0200 Subject: Linux filenames in LC Server - Resolved In-Reply-To: <9DFCB875-8122-4440-A26F-22F073C96D67@optusnet.com.au> References: <9DFCB875-8122-4440-A26F-22F073C96D67@optusnet.com.au> Message-ID: <062314FD-CA58-4B47-8070-97A12355CF9E@m-r-d.de> Hi Neville, did you read my comment about setting the environment variable lang using .htaccess? That worked here and i could write non-ascii filenames using the "standard" LC Server installation. Regards, Matthias > Am 17.08.2023 um 15:56 schrieb Neville Smythe via use-livecode : > > Thank you Mark, installing the launcher script to set environment variables has fixed all my issues with non-ascii filenames. The documentation for installing LCS could usefully make a note of these settings. And indeed TextEncode/Decode both work as expected, my musings there were irrelevant. > > Do you expect a future version of LCServer will incorporate the changes? IMHO I’d agree option 2 would make things work more transparently for the vast majority of cases. And while you wouldn’t able be able to handle badly encoded filenames within LC, I guess you wouldn't be able to create them either. > > Neville Smythe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 canelasoftware.com Thu Aug 17 11:57:30 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 17 Aug 2023 08:57:30 -0700 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hi Panos, I am looking forward to testing this build. I do not have any links to the download on the page. They appear to be missing. The release notes are linked, and I can read them. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 matthias_livecode_150811 at m-r-d.de Thu Aug 17 12:01:12 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 17 Aug 2023 18:01:12 +0200 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: As Panos wrote.. ;) You can find the release in your LiveCode account area or get it via the automatic updater. > Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode : > > Hi Panos, > > I am looking forward to testing this build. I do not have any links to the download on the page. They appear to be missing. > > The release notes are linked, and I can read them. > > > Best regards, > Mark Talluto > > appli.io > livecloud.io > nursenotes.net > canelasoftware.com > > > >> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode wrote: >> >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >> >> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support >> for Android API 33, which will be a requirement for submitting new apps to >> the Google Play Store as of the 31st of August. >> >> You can find more details on the bug fixes and improvements of this new >> release here: >> >> https://livecode.com/livecode-9-6-10-rc-1-released/ >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> 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 merakosp at gmail.com Thu Aug 17 12:05:18 2023 From: merakosp at gmail.com (panagiotis m) Date: Thu, 17 Aug 2023 19:05:18 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hello Mark, As Matthias noted, you can find this release in your account area. You have to scroll down a bit because the stable releases are listed at the top. In the downloads page you can only find the last stable release - currently 9.6.9. Kind regards, Panos -- On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > As Panos wrote.. ;) > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > > Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Panos, > > > > I am looking forward to testing this build. I do not have any links to > the download on the page. They appear to be missing. > > > > The release notes are linked, and I can read them. > > > > > > Best regards, > > Mark Talluto > > > > appli.io > > livecloud.io > > nursenotes.net > > canelasoftware.com > > > > > > > >> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Dear list members, > >> > >> We are pleased to announce the release of LiveCode 9.6.10 RC-1. > >> > >> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support > >> for Android API 33, which will be a requirement for submitting new apps > to > >> the Google Play Store as of the 31st of August. > >> > >> You can find more details on the bug fixes and improvements of this new > >> release here: > >> > >> https://livecode.com/livecode-9-6-10-rc-1-released/ > >> > >> You can find the release in your LiveCode account area or get it via the > >> automatic updater. > >> > >> Enjoy! > >> > >> Kind regards > >> 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 mark at canelasoftware.com Thu Aug 17 12:12:37 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 17 Aug 2023 09:12:37 -0700 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: <7235ECDA-1A4D-4DA3-8E2A-D018C9E18B71@canelasoftware.com> I guess my email with a link to a screenshot of what I am seeing has not gone through. I appreciate you can get the update through the auto-updater, but I want to download the installer from my account page as we can with other builds. The issue may be specific to my account. I’ll let the earth spin a bit and see how it goes for others. This is not a high priority situation for me. :) FWIW, I tried in both Firefox and Safari. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Aug 17, 2023, at 9:05 AM, panagiotis m via use-livecode wrote: > > Hello Mark, > > As Matthias noted, you can find this release in your account area. You have > to scroll down a bit because the stable releases are listed at the top. > > In the downloads page you can only find the last stable release - currently > 9.6.9. > > Kind regards, > Panos > -- > > On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> As Panos wrote.. ;) >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hi Panos, >>> >>> I am looking forward to testing this build. I do not have any links to >> the download on the page. They appear to be missing. >>> >>> The release notes are linked, and I can read them. >>> >>> >>> Best regards, >>> Mark Talluto >>> >>> appli.io >>> livecloud.io >>> nursenotes.net >>> canelasoftware.com >>> >>> >>> >>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Dear list members, >>>> >>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >>>> >>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support >>>> for Android API 33, which will be a requirement for submitting new apps >> to >>>> the Google Play Store as of the 31st of August. >>>> >>>> You can find more details on the bug fixes and improvements of this new >>>> release here: >>>> >>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >>>> >>>> You can find the release in your LiveCode account area or get it via the >>>> automatic updater. >>>> >>>> Enjoy! >>>> >>>> Kind regards >>>> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Aug 17 12:12:35 2023 From: hlowe at me.com (HENRY LOWE) Date: Thu, 17 Aug 2023 17:12:35 +0100 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: I see only a link to the release notes. Henry > On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode wrote: > > Hello Mark, > > As Matthias noted, you can find this release in your account area. You have > to scroll down a bit because the stable releases are listed at the top. > > In the downloads page you can only find the last stable release - currently > 9.6.9. > > Kind regards, > Panos > -- > > On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> As Panos wrote.. ;) >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hi Panos, >>> >>> I am looking forward to testing this build. I do not have any links to >> the download on the page. They appear to be missing. >>> >>> The release notes are linked, and I can read them. >>> >>> >>> Best regards, >>> Mark Talluto >>> >>> appli.io >>> livecloud.io >>> nursenotes.net >>> canelasoftware.com >>> >>> >>> >>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Dear list members, >>>> >>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >>>> >>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support >>>> for Android API 33, which will be a requirement for submitting new apps >> to >>>> the Google Play Store as of the 31st of August. >>>> >>>> You can find more details on the bug fixes and improvements of this new >>>> release here: >>>> >>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >>>> >>>> You can find the release in your LiveCode account area or get it via the >>>> automatic updater. >>>> >>>> Enjoy! >>>> >>>> Kind regards >>>> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Thu Aug 17 12:22:20 2023 From: merakosp at gmail.com (panagiotis m) Date: Thu, 17 Aug 2023 19:22:20 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hello all, Oh I see what you mean! If you go to the "Downloads" section **in your account** - not the public downloads page - I confirm it only shows the release notes for LC 9.6.10 RC1 But you can still get LC 9.6.10 RC-1 if you go to Products -> LiveCode dropdown We will fix the issue asap. Thanks for spotting it! Cheers, Panos On Thu, 17 Aug 2023 at 19:13, HENRY LOWE via use-livecode < use-livecode at lists.runrev.com> wrote: > I see only a link to the release notes. > > Henry > > > On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello Mark, > > > > As Matthias noted, you can find this release in your account area. You > have > > to scroll down a bit because the stable releases are listed at the top. > > > > In the downloads page you can only find the last stable release - > currently > > 9.6.9. > > > > Kind regards, > > Panos > > -- > > > > On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> As Panos wrote.. ;) > >> > >> You can find the release in your LiveCode account area or get it via the > >> automatic updater. > >> > >>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < > >> use-livecode at lists.runrev.com>: > >>> > >>> Hi Panos, > >>> > >>> I am looking forward to testing this build. I do not have any links to > >> the download on the page. They appear to be missing. > >>> > >>> The release notes are linked, and I can read them. > >>> > >>> > >>> Best regards, > >>> Mark Talluto > >>> > >>> appli.io > >>> livecloud.io > >>> nursenotes.net > >>> canelasoftware.com > >>> > >>> > >>> > >>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Dear list members, > >>>> > >>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. > >>>> > >>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including > support > >>>> for Android API 33, which will be a requirement for submitting new > apps > >> to > >>>> the Google Play Store as of the 31st of August. > >>>> > >>>> You can find more details on the bug fixes and improvements of this > new > >>>> release here: > >>>> > >>>> https://livecode.com/livecode-9-6-10-rc-1-released/ > >>>> > >>>> You can find the release in your LiveCode account area or get it via > the > >>>> automatic updater. > >>>> > >>>> Enjoy! > >>>> > >>>> Kind regards > >>>> 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 > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From merakosp at gmail.com Thu Aug 17 12:23:10 2023 From: merakosp at gmail.com (panagiotis m) Date: Thu, 17 Aug 2023 19:23:10 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: OK should be fixed now! Cheers, Panos -- On Thu, 17 Aug 2023 at 19:22, panagiotis m wrote: > Hello all, > > Oh I see what you mean! > > If you go to the "Downloads" section **in your account** - not the public > downloads page - I confirm it only shows the release notes for LC 9.6.10 > RC1 > > But you can still get LC 9.6.10 RC-1 if you go to Products -> LiveCode > dropdown > > We will fix the issue asap. > > Thanks for spotting it! > > Cheers, > Panos > > On Thu, 17 Aug 2023 at 19:13, HENRY LOWE via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I see only a link to the release notes. >> >> Henry >> >> > On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > Hello Mark, >> > >> > As Matthias noted, you can find this release in your account area. You >> have >> > to scroll down a bit because the stable releases are listed at the top. >> > >> > In the downloads page you can only find the last stable release - >> currently >> > 9.6.9. >> > >> > Kind regards, >> > Panos >> > -- >> > >> > On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < >> > use-livecode at lists.runrev.com> wrote: >> > >> >> As Panos wrote.. ;) >> >> >> >> You can find the release in your LiveCode account area or get it via >> the >> >> automatic updater. >> >> >> >>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >> >> use-livecode at lists.runrev.com>: >> >>> >> >>> Hi Panos, >> >>> >> >>> I am looking forward to testing this build. I do not have any links to >> >> the download on the page. They appear to be missing. >> >>> >> >>> The release notes are linked, and I can read them. >> >>> >> >>> >> >>> Best regards, >> >>> Mark Talluto >> >>> >> >>> appli.io >> >>> livecloud.io >> >>> nursenotes.net >> >>> canelasoftware.com >> >>> >> >>> >> >>> >> >>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >> >> use-livecode at lists.runrev.com> wrote: >> >>>> >> >>>> Dear list members, >> >>>> >> >>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >> >>>> >> >>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including >> support >> >>>> for Android API 33, which will be a requirement for submitting new >> apps >> >> to >> >>>> the Google Play Store as of the 31st of August. >> >>>> >> >>>> You can find more details on the bug fixes and improvements of this >> new >> >>>> release here: >> >>>> >> >>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >> >>>> >> >>>> You can find the release in your LiveCode account area or get it via >> the >> >>>> automatic updater. >> >>>> >> >>>> Enjoy! >> >>>> >> >>>> Kind regards >> >>>> 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 >> >> >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 canelasoftware.com Thu Aug 17 12:28:23 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 17 Aug 2023 09:28:23 -0700 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Much appreciated, Panos. I just wanted to confirm that you fixed the issue. Downloading now. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Aug 17, 2023, at 9:23 AM, panagiotis m via use-livecode wrote: > > OK should be fixed now! > > Cheers, > Panos > -- > > On Thu, 17 Aug 2023 at 19:22, panagiotis m wrote: > >> Hello all, >> >> Oh I see what you mean! >> >> If you go to the "Downloads" section **in your account** - not the public >> downloads page - I confirm it only shows the release notes for LC 9.6.10 >> RC1 >> >> But you can still get LC 9.6.10 RC-1 if you go to Products -> LiveCode >> dropdown >> >> We will fix the issue asap. >> >> Thanks for spotting it! >> >> Cheers, >> Panos >> >> On Thu, 17 Aug 2023 at 19:13, HENRY LOWE via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> I see only a link to the release notes. >>> >>> Henry >>> >>>> On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hello Mark, >>>> >>>> As Matthias noted, you can find this release in your account area. You >>> have >>>> to scroll down a bit because the stable releases are listed at the top. >>>> >>>> In the downloads page you can only find the last stable release - >>> currently >>>> 9.6.9. >>>> >>>> Kind regards, >>>> Panos >>>> -- >>>> >>>> On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> As Panos wrote.. ;) >>>>> >>>>> You can find the release in your LiveCode account area or get it via >>> the >>>>> automatic updater. >>>>> >>>>>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >>>>> use-livecode at lists.runrev.com>: >>>>>> >>>>>> Hi Panos, >>>>>> >>>>>> I am looking forward to testing this build. I do not have any links to >>>>> the download on the page. They appear to be missing. >>>>>> >>>>>> The release notes are linked, and I can read them. >>>>>> >>>>>> >>>>>> Best regards, >>>>>> Mark Talluto >>>>>> >>>>>> appli.io >>>>>> livecloud.io >>>>>> nursenotes.net >>>>>> canelasoftware.com >>>>>> >>>>>> >>>>>> >>>>>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>>>> >>>>>>> Dear list members, >>>>>>> >>>>>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >>>>>>> >>>>>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including >>> support >>>>>>> for Android API 33, which will be a requirement for submitting new >>> apps >>>>> to >>>>>>> the Google Play Store as of the 31st of August. >>>>>>> >>>>>>> You can find more details on the bug fixes and improvements of this >>> new >>>>>>> release here: >>>>>>> >>>>>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >>>>>>> >>>>>>> You can find the release in your LiveCode account area or get it via >>> the >>>>>>> automatic updater. >>>>>>> >>>>>>> Enjoy! >>>>>>> >>>>>>> Kind regards >>>>>>> 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 >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 canelasoftware.com Thu Aug 17 12:30:16 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 17 Aug 2023 09:30:16 -0700 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Oh, I did not know you could get the downloads another way. I learn something new every day. Thanks. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Aug 17, 2023, at 9:22 AM, panagiotis m via use-livecode wrote: > > Hello all, > > Oh I see what you mean! > > If you go to the "Downloads" section **in your account** - not the public > downloads page - I confirm it only shows the release notes for LC 9.6.10 > RC1 > > But you can still get LC 9.6.10 RC-1 if you go to Products -> LiveCode > dropdown > > We will fix the issue asap. > > Thanks for spotting it! > > Cheers, > Panos > > On Thu, 17 Aug 2023 at 19:13, HENRY LOWE via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I see only a link to the release notes. >> >> Henry >> >>> On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hello Mark, >>> >>> As Matthias noted, you can find this release in your account area. You >> have >>> to scroll down a bit because the stable releases are listed at the top. >>> >>> In the downloads page you can only find the last stable release - >> currently >>> 9.6.9. >>> >>> Kind regards, >>> Panos >>> -- >>> >>> On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> As Panos wrote.. ;) >>>> >>>> You can find the release in your LiveCode account area or get it via the >>>> automatic updater. >>>> >>>>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >>>> use-livecode at lists.runrev.com>: >>>>> >>>>> Hi Panos, >>>>> >>>>> I am looking forward to testing this build. I do not have any links to >>>> the download on the page. They appear to be missing. >>>>> >>>>> The release notes are linked, and I can read them. >>>>> >>>>> >>>>> Best regards, >>>>> Mark Talluto >>>>> >>>>> appli.io >>>>> livecloud.io >>>>> nursenotes.net >>>>> canelasoftware.com >>>>> >>>>> >>>>> >>>>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Dear list members, >>>>>> >>>>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >>>>>> >>>>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including >> support >>>>>> for Android API 33, which will be a requirement for submitting new >> apps >>>> to >>>>>> the Google Play Store as of the 31st of August. >>>>>> >>>>>> You can find more details on the bug fixes and improvements of this >> new >>>>>> release here: >>>>>> >>>>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >>>>>> >>>>>> You can find the release in your LiveCode account area or get it via >> the >>>>>> automatic updater. >>>>>> >>>>>> Enjoy! >>>>>> >>>>>> Kind regards >>>>>> 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 >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Aug 17 14:46:43 2023 From: tom at makeshyft.com (Tom Glod) Date: Thu, 17 Aug 2023 14:46:43 -0400 Subject: xavvi - temper your expectations In-Reply-To: <136C8206-6B98-4401-9CB7-4CD4B14CEA9F@m-r-d.de> References: <136C8206-6B98-4401-9CB7-4CD4B14CEA9F@m-r-d.de> Message-ID: If I was integrating AI into livecode, I would train it on a higher level api built for it, instead of letting it use Livecode Script willy nilly. That would prevent the kinds of hallucinations that it has while trying to write livecode script. I suspect that Livecode has thought of this and has written and trained it on an API less prone to these problems. On Thu, Aug 10, 2023 at 3:32 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > I thought Xavvi will make use of AI, but the use is not mandatory. So even > without AI, XAVVI would be an online development tool which can deploy web > apps and which also could import and export Livecode stacks. > > > > Am 10.08.2023 um 21:22 schrieb Mike Kerner via use-livecode < > use-livecode at lists.runrev.com>: > > > > i'm using chatgpt and bard, every day, because i can, and because > > sometimes they give me more comprehensive things to think about. > > but, they are wrong. a lot. > > zdnet just published a piece, today, documenting the same thing: wrong > >> 50% of the time. > > so, temper your expectations for xavvi in the medium term: > > > https://www.zdnet.com/article/chatgpt-answers-more-than-half-of-software-engineering-questions-incorrectly/ > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From neville.smythe at optusnet.com.au Thu Aug 17 21:05:29 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Fri, 18 Aug 2023 11:05:29 +1000 Subject: Linux filenames in LC Server Message-ID: <60945C1B-BA73-47BC-8825-FCBD68F9B457@optusnet.com.au> Hi Matthias, I didn’t see your post until now. I did wonder if .htaccess could be used using Rewrite rules, but I couldn’t get my head around the documentation. So it’s good to know both methods work. We are running other apps on the website so I wonder a bit if setting the environment variables for everything running under apache might have some side effects, so I’ll stick with Mark’s launch script method. Neville Smythe From matthias_livecode_150811 at m-r-d.de Fri Aug 18 01:38:07 2023 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 18 Aug 2023 07:38:07 +0200 Subject: Linux filenames in LC Server In-Reply-To: <60945C1B-BA73-47BC-8825-FCBD68F9B457@optusnet.com.au> References: <60945C1B-BA73-47BC-8825-FCBD68F9B457@optusnet.com.au> Message-ID: <4C698EAD-26AC-4D13-BBF2-2F2A96198A3B@m-r-d.de> Neville, The htaccess solution would also not harm other apps because the environment variable is only set when executing .lc files and they’re only used within that session. Von meinem iPhone gesendet > Am 18.08.2023 um 03:07 schrieb Neville Smythe via use-livecode : > > Hi Matthias, I didn’t see your post until now. I did wonder if .htaccess could be used using Rewrite rules, but I couldn’t get my head around the documentation. > > So it’s good to know both methods work. We are running other apps on the website so I wonder a bit if setting the environment variables for everything running under apache might have some side effects, so I’ll stick with Mark’s launch script method. > > Neville Smythe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dfe4 at cornell.edu Fri Aug 18 12:03:44 2023 From: dfe4 at cornell.edu (David Epstein) Date: Fri, 18 Aug 2023 12:03:44 -0400 Subject: Detecting when resizeStack is completed Message-ID: How can I redraw objects after the user has resized the stack, but not continuously during the resize? Releasing the mouse at the end of a resize does not appear to send a mouseUp message. David Epstein From bobsneidar at iotecdigital.com Fri Aug 18 12:13:11 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 18 Aug 2023 16:13:11 +0000 Subject: Detecting when resizeStack is completed In-Reply-To: References: Message-ID: <1430D38D-9538-495E-83CA-8BF93E26696D@iotecdigital.com> Have you tried mouseStillDown? Bob S > On Aug 18, 2023, at 9:03 AM, David Epstein via use-livecode wrote: > > How can I redraw objects after the user has resized the stack, but not continuously during the resize? Releasing the mouse at the end of a resize does not appear to send a mouseUp message. > > David Epstein > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Aug 18 12:14:53 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 18 Aug 2023 16:14:53 +0000 Subject: Detecting when resizeStack is completed In-Reply-To: <1430D38D-9538-495E-83CA-8BF93E26696D@iotecdigital.com> References: <1430D38D-9538-495E-83CA-8BF93E26696D@iotecdigital.com> Message-ID: <67ED45B5-6265-4CE2-BCA8-A8E99D3A091B@iotecdigital.com> Or rather check if the mouse is down Bob S > On Aug 18, 2023, at 9:13 AM, Bob Sneidar wrote: > > Have you tried mouseStillDown? > > Bob S > > >> On Aug 18, 2023, at 9:03 AM, David Epstein via use-livecode wrote: >> >> How can I redraw objects after the user has resized the stack, but not continuously during the resize? Releasing the mouse at the end of a resize does not appear to send a mouseUp message. >> >> David Epstein >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Fri Aug 18 12:25:11 2023 From: paul at researchware.com (Paul Dupuis) Date: Fri, 18 Aug 2023 12:25:11 -0400 Subject: Detecting when resizeStack is completed In-Reply-To: References: Message-ID: On 8/18/2023 12:03 PM, David Epstein via use-livecode wrote: > How can I redraw objects after the user has resized the stack, but not continuously during the resize? Releasing the mouse at the end of a resize does not appear to send a mouseUp message. > > after resizeStack  -- actions you want to occur after end resizeStack Look at the "after" control structure in the Dictionary. I am NOT sure whether this will trigger after EACH resizeStack message (not what you want) OR only after the last resizeStack message (what you want), but it may be worth trying (I have not tried it myself) From mark at livecode.com Fri Aug 18 12:29:47 2023 From: mark at livecode.com (Mark Waddingham) Date: Fri, 18 Aug 2023 17:29:47 +0100 Subject: Detecting when resizeStack is completed In-Reply-To: References: Message-ID: <22b27f1af72510aa5ff4bb932086ee51@livecode.com> On 2023-08-18 17:03, David Epstein via use-livecode wrote: > How can I redraw objects after the user has resized the stack, but not > continuously during the resize? Releasing the mouse at the end of a > resize does not appear to send a mouseUp message. Normal window resizing is handled by the OS, so doesn't generate mouse events. One way to get close to what you request is to only relayout your objects if the user has not changed the size within a short period. Something like: ``` local sPendingResizeId constant kResizeTimeout = 20 on resizeStack pWidth, pHeight /* If there is already a deferred request to resize then cancel. */ if sPendingResizeId is not empty then cancel sPendingResizeId end if /* Defer the request to resize for a further period. */ send "_doResizeStack pWidth, pHeight" to me in kResizeTimeout milliseconds put the result into sPendingResizeId end resizeStack on _doResizeStack pWidth, pHeight lock screen ... do relayout ... unlock screen end _doResizeStack ``` This defers the relayout code until a resize stack message has not been sent for the timeout interval. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From martyknappster at gmail.com Fri Aug 18 14:20:19 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 18 Aug 2023 11:20:19 -0700 Subject: Solved: Writing to Mac Application Support folder In-Reply-To: <003fd44c-f5c0-cdbf-8865-f4722e83bdcd@hyperactivesw.com> References: <2afdbfdd-2c31-d334-14ef-68b561e3a287@hyperactivesw.com> <583ff6d4-3def-d10f-66a8-e280bac8be05@hyperactivesw.com> <003fd44c-f5c0-cdbf-8865-f4722e83bdcd@hyperactivesw.com> Message-ID: As I’m now working to get an app ready for Sonoma, I’m wondering what the official resolution is to writing to both the “Preferences” folder and the “Application Support” folder. What I’m finding is that this question from Jacque is the last in this thread. Was there a response from Panos or Mark? I will be dealing with existing customers upgrading to Sonoma as well as new customers and don’t want my inbox flooded with angry emails! Marty > On Jul 15, 2023, at 1:22 PM, J. Landman Gay via use-livecode wrote: > > Good approach. I assume if there is no file in Preferences, you write defaults directly to the container. > > I got curious and looked at where LC stores its files. They do not have a container. It's mostly in Application Support, in a folder "RunRev" (there's also an older one there named "Runtime Revolution".) Some of the files were updated recently so it apparently still works. Now I wonder if there's another way to do this stuff. > > I'd like some definitive info about this. @Panos? @Mark? > > On 7/15/23 12:24 AM, scott--- via use-livecode wrote: >> Thanks again, Jacque. >> My solution for migrating preference files from the Preferences folder to the Container turned out to be quite simple but for some reason I spent a bunch of time pondering other more complicated methods. In the end I changed an existing function which returns a path to the preferences file and had it first look to see if a Container exists. If it doesn’t then it creates the Container but still returns the path to the original Preferences folder. (This works in my use case because the app's first call to this function will always be to “read” the preference file) Now that the Container exists, all future calls to the function will return the Container path… and the original data, having been already loaded into the app, is ready to write to (and read from) the new Container location. > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > From dan at clearvisiontech.com Fri Aug 18 16:32:57 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 18 Aug 2023 20:32:57 +0000 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Panos, What about 10.0.0? Is there an update coming? I sure hope so… I’m going to be hosed if not. -Dan From: use-livecode on behalf of panagiotis merakos via use-livecode Date: Thursday, August 17, 2023 at 7:04 AM To: How to use LiveCode Cc: panagiotis merakos Subject: [[ ANN ]] Release 9.6.10 RC-1 Dear list members, We are pleased to announce the release of LiveCode 9.6.10 RC-1. LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support for Android API 33, which will be a requirement for submitting new apps to the Google Play Store as of the 31st of August. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-10-rc-1-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards 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 dsc at swcp.com Fri Aug 18 16:45:25 2023 From: dsc at swcp.com (Dar Scott) Date: Fri, 18 Aug 2023 14:45:25 -0600 Subject: Group corners Message-ID: If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar From matthias_livecode_150811 at m-r-d.de Fri Aug 18 16:50:00 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 18 Aug 2023 22:50:00 +0200 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: On the 25th July Heather wrote the following: "We are working on LiveCode 10 dp6. We expect it to ship in August, with support for Web Fonts plus a number of bug fixes. Web Fonts turned out to be rather trickier than expected but it looks like we've got it more or less sorted out now. If there are specific bugs in 10 dp-5 that are really problematic for you, its worth flagging them to me in support (not on the list) so I can at least find out for you if they will be fixed in dp-6. Please send me the bug report number from the Quality Center for checking. " > Am 18.08.2023 um 22:32 schrieb Dan Friedman via use-livecode : > > Panos, > > What about 10.0.0? Is there an update coming? I sure hope so… I’m going to be hosed if not. > > -Dan > > > From: use-livecode on behalf of panagiotis merakos via use-livecode > Date: Thursday, August 17, 2023 at 7:04 AM > To: How to use LiveCode > Cc: panagiotis merakos > Subject: [[ ANN ]] Release 9.6.10 RC-1 > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 merakosp at gmail.com Fri Aug 18 17:05:03 2023 From: merakosp at gmail.com (panagiotis m) Date: Sat, 19 Aug 2023 00:05:03 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hello all, Yes, the plan is to release LC 10 dp-6 before the end of the month, which will include support for API 33 as well as all the other fixes/enhancements of LC 9.6.10 rc1. Cheers, Panos On Fri, 18 Aug 2023, 23:50 matthias rebbe via use-livecode, < use-livecode at lists.runrev.com> wrote: > On the 25th July Heather wrote the following: > > "We are working on LiveCode 10 dp6. We expect it to ship in August, with > support for Web Fonts plus a number of bug fixes. Web Fonts turned out to > be rather trickier than expected but it looks like we've got it more or > less sorted out now. > > If there are specific bugs in 10 dp-5 that are really problematic for you, > its worth flagging them to me in support (not on the list) so I can at > least find out for you if they will be fixed in dp-6. Please send me the > bug report number from the Quality Center for checking. " > > > > > > Am 18.08.2023 um 22:32 schrieb Dan Friedman via use-livecode < > use-livecode at lists.runrev.com>: > > > > Panos, > > > > What about 10.0.0? Is there an update coming? I sure hope so… I’m > going to be hosed if not. > > > > -Dan > > > > > > From: use-livecode on behalf of > panagiotis merakos via use-livecode > > Date: Thursday, August 17, 2023 at 7:04 AM > > To: How to use LiveCode > > Cc: panagiotis merakos > > Subject: [[ ANN ]] Release 9.6.10 RC-1 > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support > > for Android API 33, which will be a requirement for submitting new apps > to > > the Google Play Store as of the 31st of August. > > > > You can find more details on the bug fixes and improvements of this new > > release here: > > > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > > > You can find the release in your LiveCode account area or get it via the > > automatic updater. > > > > Enjoy! > > > > Kind regards > > 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 tom at makeshyft.com Fri Aug 18 21:12:58 2023 From: tom at makeshyft.com (Tom Glod) Date: Fri, 18 Aug 2023 21:12:58 -0400 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: There are a few big ones in this update for me. Thanks. On Fri, Aug 18, 2023 at 5:06 PM panagiotis m via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello all, > > Yes, the plan is to release LC 10 dp-6 before the end of the month, which > will include support for API 33 as well as all the other fixes/enhancements > of LC 9.6.10 rc1. > > Cheers, > Panos > > On Fri, 18 Aug 2023, 23:50 matthias rebbe via use-livecode, < > use-livecode at lists.runrev.com> wrote: > > > On the 25th July Heather wrote the following: > > > > "We are working on LiveCode 10 dp6. We expect it to ship in August, with > > support for Web Fonts plus a number of bug fixes. Web Fonts turned out to > > be rather trickier than expected but it looks like we've got it more or > > less sorted out now. > > > > If there are specific bugs in 10 dp-5 that are really problematic for > you, > > its worth flagging them to me in support (not on the list) so I can at > > least find out for you if they will be fixed in dp-6. Please send me the > > bug report number from the Quality Center for checking. " > > > > > > > > > > > Am 18.08.2023 um 22:32 schrieb Dan Friedman via use-livecode < > > use-livecode at lists.runrev.com>: > > > > > > Panos, > > > > > > What about 10.0.0? Is there an update coming? I sure hope so… I’m > > going to be hosed if not. > > > > > > -Dan > > > > > > > > > From: use-livecode on behalf > of > > panagiotis merakos via use-livecode > > > Date: Thursday, August 17, 2023 at 7:04 AM > > > To: How to use LiveCode > > > Cc: panagiotis merakos > > > Subject: [[ ANN ]] Release 9.6.10 RC-1 > > > Dear list members, > > > > > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > > > > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including > support > > > for Android API 33, which will be a requirement for submitting new apps > > to > > > the Google Play Store as of the 31st of August. > > > > > > You can find more details on the bug fixes and improvements of this new > > > release here: > > > > > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > > > > > You can find the release in your LiveCode account area or get it via > the > > > automatic updater. > > > > > > Enjoy! > > > > > > Kind regards > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andreas.bergendal at gmail.com Sat Aug 19 11:37:30 2023 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Sat, 19 Aug 2023 17:37:30 +0200 Subject: Regex negative lookahead not working in LC? Message-ID: <8198ED98-7D84-4874-80FB-965632384373@gmail.com> Hi all, I’m trying to run a matchChunk regex on an LC script text, with the aim of scoring a hit only if a word is NOT commented out by one of the comment methods. This regex works beautifully when tested in regex101.com (PCRE flavor): (?i)^(?:(?!--|#|\/\/).)*\b(myHandler)\b When applied on the text command myOtherHandler # myHandler // myHandler -- myhandler notMyHandler end myOtherHandler it should score zero matches and it does. When applied on the text command myOtherHandler # myHandler // myHandler -- myhandler myHandler end myOtherHandler it should score 1 match and it does. Applying the same regex in LC does NOT score any match in the latter example though. Why? Doesn't negative lookahead work in LC? (v9.6.9 stable.) Best, Andreas From jacque at hyperactivesw.com Sat Aug 19 13:07:06 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Aug 2023 12:07:06 -0500 Subject: Group corners In-Reply-To: References: Message-ID: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Weird how? The corners should be right angles. Do you see something different? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: > If I turn off 3D for a group, the corners of the rectangle are weird. > Advice? Dar > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 19 13:24:57 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Aug 2023 12:24:57 -0500 Subject: Regex negative lookahead not working in LC? In-Reply-To: <8198ED98-7D84-4874-80FB-965632384373@gmail.com> References: <8198ED98-7D84-4874-80FB-965632384373@gmail.com> Message-ID: <18a0ed41e28.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Nope. https://quality.livecode.com/show_bug.cgi?id=21534 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 19, 2023 10:39:52 AM Andreas Bergendal via use-livecode wrote: > > Why? Doesn't negative lookahead work in LC? (v9.6.9 stable.) From andreas.bergendal at gmail.com Sat Aug 19 14:17:43 2023 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Sat, 19 Aug 2023 20:17:43 +0200 Subject: Regex negative lookahead not working in LC? Message-ID: <0DB59228-0ADC-43B0-AFBE-DE0AC94CC457@gmail.com> > Nope. > https://quality.livecode.com/show_bug.cgi?id=21534 Oh no! Well, cumbersome workaround it is then… Thanks Jacque! From fmoyer at aol.com Sat Aug 19 14:32:09 2023 From: fmoyer at aol.com (FRED MOYER) Date: Sat, 19 Aug 2023 14:32:09 -0400 Subject: How to search this list References: Message-ID: It’s been a long time since I’ve used this list. I’m puzzled -- it says I can search the archives for this list at http://www.google.com/advanced_search?q=site:lists.runrev.com If I search for something that I know is there (like “CharIndex” which was in some recent posts) it doesn’t find anything. In particular, I’m looking for information about keysdown — again no hits in that google search site. Thanks for your help. Fred Moyer From MikeKerner at roadrunner.com Sat Aug 19 15:42:26 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 19 Aug 2023 15:42:26 -0400 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: but hold off on the xcode command line tools 14.3 update? On Fri, Aug 18, 2023 at 9:14 PM Tom Glod via use-livecode wrote: > > There are a few big ones in this update for me. Thanks. > > > On Fri, Aug 18, 2023 at 5:06 PM panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello all, > > > > Yes, the plan is to release LC 10 dp-6 before the end of the month, which > > will include support for API 33 as well as all the other fixes/enhancements > > of LC 9.6.10 rc1. > > > > Cheers, > > Panos > > > > On Fri, 18 Aug 2023, 23:50 matthias rebbe via use-livecode, < > > use-livecode at lists.runrev.com> wrote: > > > > > On the 25th July Heather wrote the following: > > > > > > "We are working on LiveCode 10 dp6. We expect it to ship in August, with > > > support for Web Fonts plus a number of bug fixes. Web Fonts turned out to > > > be rather trickier than expected but it looks like we've got it more or > > > less sorted out now. > > > > > > If there are specific bugs in 10 dp-5 that are really problematic for > > you, > > > its worth flagging them to me in support (not on the list) so I can at > > > least find out for you if they will be fixed in dp-6. Please send me the > > > bug report number from the Quality Center for checking. " > > > > > > > > > > > > > > > > Am 18.08.2023 um 22:32 schrieb Dan Friedman via use-livecode < > > > use-livecode at lists.runrev.com>: > > > > > > > > Panos, > > > > > > > > What about 10.0.0? Is there an update coming? I sure hope so… I’m > > > going to be hosed if not. > > > > > > > > -Dan > > > > > > > > > > > > From: use-livecode on behalf > > of > > > panagiotis merakos via use-livecode > > > > Date: Thursday, August 17, 2023 at 7:04 AM > > > > To: How to use LiveCode > > > > Cc: panagiotis merakos > > > > Subject: [[ ANN ]] Release 9.6.10 RC-1 > > > > Dear list members, > > > > > > > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > > > > > > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including > > support > > > > for Android API 33, which will be a requirement for submitting new apps > > > to > > > > the Google Play Store as of the 31st of August. > > > > > > > > You can find more details on the bug fixes and improvements of this new > > > > release here: > > > > > > > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > > > > > > > You can find the release in your LiveCode account area or get it via > > the > > > > automatic updater. > > > > > > > > Enjoy! > > > > > > > > Kind regards > > > > 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 > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 richmondmathewson at gmail.com Sat Aug 19 16:36:57 2023 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 19 Aug 2023 23:36:57 +0300 Subject: How to search this list In-Reply-To: References: Message-ID: <9bff91a6-8761-489d-9b5d-1f0dfc493a89@gmail.com> Well, I am a keysDown 'fan', so why not just explain what your problem is . . . Richmond Mathewson On 19.08.23 21:32, FRED MOYER via use-livecode wrote: > Its been a long time since Ive used this list. Im puzzled -- it says I can search the archives for this list at > http://www.google.com/advanced_search?q=site:lists.runrev.com > > If I search for something that I know is there (like CharIndex which was in some recent posts) it doesnt find anything. > > In particular, Im looking for information about keysdown again no hits in that google search site. > > Thanks for your help. > > Fred Moyer > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 19 16:37:34 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Aug 2023 15:37:34 -0500 Subject: How to search this list In-Reply-To: References: Message-ID: <18a0f8476b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm not sure why the Google search doesn't work, but I generally use this: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 19, 2023 1:34:16 PM FRED MOYER via use-livecode wrote: > Its been a long time since Ive used this list. Im puzzled -- it says I > can search the archives for this list at > http://www.google.com/advanced_search?q=site:lists.runrev.com > > > If I search for something that I know is there (like CharIndex which was > in some recent posts) it doesnt find anything. > > In particular, Im looking for information about keysdown again no hits > in that google search site. > > Thanks for your help. > > Fred Moyer > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Sat Aug 19 16:57:44 2023 From: tom at makeshyft.com (Tom Glod) Date: Sat, 19 Aug 2023 16:57:44 -0400 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hello, Does this mean we have JSON support in SQLite? This is from the documentation.: In other words, the JSON functions went from being opt-in with SQLite version 3.37.2 and earlier to opt-out with SQLite version 3.38.0 and later. Are we keeping strict to the specifications of each SQLITE version? From mark at livecode.com Sun Aug 20 03:09:02 2023 From: mark at livecode.com (Mark Waddingham) Date: Sun, 20 Aug 2023 08:09:02 +0100 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: <7e9e3b20bd90462d31408ac2f6c008ab@livecode.com> On 2023-08-19 21:57, Tom Glod via use-livecode wrote: > Hello, > > Does this mean we have JSON support in SQLite? > > This is from the documentation.: > > In other words, the JSON functions went from being opt-in with SQLite > version 3.37.2 and earlier to opt-out with SQLite version 3.38.0 and > later. The SQLite JSON support was included in dbsqlite in 9.0.3 - https://quality.livecode.com/show_bug.cgi?id=21821 Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From roland.huettmann at gmail.com Sun Aug 20 13:25:42 2023 From: roland.huettmann at gmail.com (R.H.) Date: Sun, 20 Aug 2023 19:25:42 +0200 Subject: How to search this list Message-ID: I also can not use Google search. It finds nothing in the list. If Google is not the culprit then it deserves a bug report. From matthias_livecode_150811 at m-r-d.de Sun Aug 20 14:30:10 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 20 Aug 2023 20:30:10 +0200 Subject: How to search this list In-Reply-To: References: Message-ID: <11F15409-DB68-4336-A47B-0BC95733F808@m-r-d.de> I just tested and used search livecode uselist for a google search. The 6th result showed a link to the the--mail-archive which also has a complete archiv of this mailing list. > Am 20.08.2023 um 19:25 schrieb R.H. via use-livecode : > > I also can not use Google search. It finds nothing in the list. If Google > is not the culprit then it deserves a bug report. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sun Aug 20 20:50:34 2023 From: dsc at swcp.com (Dar Scott) Date: Sun, 20 Aug 2023 18:50:34 -0600 Subject: Group corners In-Reply-To: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> On Mac and LiveCode 9.6.9… Make a new stack. Put a few controls on it. Group them. Give the group a name Set the border width to something like 10-15 so the effect is visible. Turn off 3D. Turn on border. Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. Dar > On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: > > Weird how? The corners should be right angles. Do you see something different? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: > >> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Mon Aug 21 05:56:19 2023 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 21 Aug 2023 10:56:19 +0100 Subject: Group corners In-Reply-To: <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> Message-ID: I see those kind of changes (10.0.0DP5, MacOS), but the border changes from solid black to black/white lines - with those 'splits' you described. Alex. On 21/08/2023 01:50, Dar Scott via use-livecode wrote: > On Mac and LiveCode 9.6.9 > > Make a new stack. Put a few controls on it. Group them. > > Give the group a name > > Set the border width to something like 10-15 so the effect is visible. > > Turn off 3D. > > Turn on border. > > Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. > > On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. > > Dar > > >> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: >> >> Weird how? The corners should be right angles. Do you see something different? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: >> >>> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? Dar >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 21 07:03:32 2023 From: mkoob at rogers.com (Martin Koob) Date: Mon, 21 Aug 2023 07:03:32 -0400 Subject: How to search this list In-Reply-To: References: Message-ID: Hi I followed the first few steps of the instructions on the following site. https://www.wikihow.com/Use-Google-to-Search-Within-a-Specific-Website I tried this search term looking for mentions of ‘regex' in the search field of the google page not the search bar at the top. site:http://lists.runrev.com/pipermail/use-livecode/ regex It returned 4 hits from the lists. Doubt that is all of them but it is not that popular a topic I tried then the search term ‘datagrid’ undoubtedly a more popular topic. site:http://lists.runrev.com/pipermail/use-livecode/ datagrid It returned 5 hits. I am sure that is only a small fraction. So it kinda works but something is weird. Maybe there is a parameter that sets the number of results. Martin > On Aug 20, 2023, at 1:25 PM, R.H. via use-livecode wrote: > > I also can not use Google search. It finds nothing in the list. If Google > is not the culprit then it deserves a bug report. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Aug 21 11:47:05 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 21 Aug 2023 09:47:05 -0600 Subject: Group corners In-Reply-To: References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> Message-ID: <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> I sprinkled some colors over the different object colors. I can see more of what is happening that way. Show name off: The border grows outward. If 3D is off, it has the border color. If it is on it has the bevel colors: left and top are the bottom bevel, bottom and right have the top bevel. Show name on: Again 3D changes whether the background is used for both bevel colors or the two bevel colors are used. In this case though, instead of the whole outline having the above color pattern, the border lines, do. In addition the inside border grows **inward**, covering things. Also, a background stripe above and below the top line covers things. This might be the background of the label; I couldn’t figure out how to set the alpha of colors to test that, so I use the opaque check box. Even with opaque of, objects are obscured. It looks as though instead of putting an appropriate sized label over the border for the name, the object puts the opaque label above the content and tries to draw a border on top of that. The drawing is the 3D drawing, lines have 3D, not the whole rectangle of the border. The only difference for turning off 3D is using border instead of the bevels. With 3D on, one can see what is happening. The outside line is much like without the show name half width, but with a little diagonal gap in the upper left. The inside line, grows inward :( and has gaps in the lines, including the line ends around the name label. Some behavior depends on the order I check boxes. For some experiments clear all check boxes and then turn on some. The behavior I would have hoped for is this: * The border always grows outward. * Adding the show name does not change the border or background; it just puts a label over it. * The background is in the back and extends consistently to either the inside of the border, the middle of the border or outside edge of the border. The background for the name label is the same as that for the group including the opaque modifier, so a blip of background might extend above the top border. This is noticeable only with show name. * Except for a little blip around the label when opaque is on, nothing obscures the content region. * The label border is tight. A better way might be to crop out a hole in the current border and place the name label there with a transparent background. Or layer them behind the content, but above the background. So… I don’t seem to be doing something wrong. I need to look for a workaround. Thoughts (all involving keeping show name off): 1. I could put a small-margin label into the grouped controls so it fits just inside the border in a consistent corner. 2 I can put an opaque label on top of my border. The background color might be chosen to be that of the named group or that of its parent. I would have to address moving the group. There might be 3 ways. a) Move the label by hand. b) Add a script to do that. c) Put both label and my group into another group, but then have to figure out “of” and “parent” in scripts. 3 Draw my own border and label as the group content. (However, something seems to be weird with my rectangles on Windows.) 4. Any ideas you folks have. Dar > On Aug 21, 2023, at 3:56 AM, Alex Tweedly via use-livecode wrote: > > I see those kind of changes (10.0.0DP5, MacOS), but the border changes from solid black to black/white lines - with those 'splits' you described. > > Alex. > > On 21/08/2023 01:50, Dar Scott via use-livecode wrote: >> On Mac and LiveCode 9.6.9… >> >> Make a new stack. Put a few controls on it. Group them. >> >> Give the group a name >> >> Set the border width to something like 10-15 so the effect is visible. >> >> Turn off 3D. >> Turn on border. >> >> Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. >> >> On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. >> >> Dar >> >> >>> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: >>> >>> Weird how? The corners should be right angles. Do you see something different? >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: >>> >>>> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Mon Aug 21 12:09:20 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 21 Aug 2023 17:09:20 +0100 Subject: No progress updates on LC 10. Am i the only one who is concerned? In-Reply-To: <53887cdf-9bf4-4534-0741-ab08156b180b@cogapp.com> References: <8F7D10FF-1B32-4177-BFDC-7CEE721ACF8A@m-r-d.de> <13ec553f-f7ef-8fb7-42b5-77e6205cec4b@cogapp.com> <51859D53-03FD-4FA6-9C97-33B04803F016@mail.com> <53887cdf-9bf4-4534-0741-ab08156b180b@cogapp.com> Message-ID: <5f636baf-03c6-18e5-45dd-483c3219bc66@cogapp.com> Sad update: it's just happened to me again, with Bracket Completion switched off. I literally checked just before starting to type the format statement; after it crashed and I relaunched 10.0.0.dp5, I checked again. It was still switched off. I see that the bug is marked awaiting release - but it's not mentioned in the release notes for 10.0.0dp6. :-( On 26/07/2023 09:58, Ben Rubinstein via use-livecode wrote: > Oooh - I hadn't spotted that. (With only a little bit of fear) I'll venture > back into 10dp5 and turn that off. Thanks Geoff! > > On 26/07/2023 03:49, Geoff Canyon via use-livecode wrote: >> So, not to be too much of an apologist, but the issue doesn't seem like a >> showstopper to me. >> >> On Tue, Jul 25, 2023 at 10:36AM Dick Kriesel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> >>> >>>> On Jul 25, 2023, at 11:37 AM, Geoff Canyon via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Maybe a silly question, but that issue lists "turn on bracket completion" >>>> as a step to reproduce. If bracket completion is off, is it safe? >>> >>> Hi, Geoff. I filed the report. With bracket completion off, I saw no such >>> problem. >>> Dick >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Aug 21 12:50:37 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 21 Aug 2023 10:50:37 -0600 Subject: Group corners In-Reply-To: <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> Message-ID: <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. — Dar > On Aug 21, 2023, at 9:47 AM, Dar Scott via use-livecode wrote: > > I sprinkled some colors over the different object colors. I can see more of what is happening that way. > > Show name off: The border grows outward. If 3D is off, it has the border color. If it is on it has the bevel colors: left and top are the bottom bevel, bottom and right have the top bevel. > > Show name on: Again 3D changes whether the background is used for both bevel colors or the two bevel colors are used. In this case though, instead of the whole outline having the above color pattern, the border lines, do. In addition the inside border grows **inward**, covering things. Also, a background stripe above and below the top line covers things. This might be the background of the label; I couldn’t figure out how to set the alpha of colors to test that, so I use the opaque check box. Even with opaque of, objects are obscured. > > It looks as though instead of putting an appropriate sized label over the border for the name, the object puts the opaque label above the content and tries to draw a border on top of that. The drawing is the 3D drawing, lines have 3D, not the whole rectangle of the border. The only difference for turning off 3D is using border instead of the bevels. With 3D on, one can see what is happening. The outside line is much like without the show name half width, but with a little diagonal gap in the upper left. The inside line, grows inward :( and has gaps in the lines, including the line ends around the name label. > > Some behavior depends on the order I check boxes. For some experiments clear all check boxes and then turn on some. > > The behavior I would have hoped for is this: > > * The border always grows outward. > * Adding the show name does not change the border or background; it just puts a label over it. > * The background is in the back and extends consistently to either the inside of the border, the middle of the border or outside edge of the border. The background for the name label is the same as that for the group including the opaque modifier, so a blip of background might extend above the top border. This is noticeable only with show name. > * Except for a little blip around the label when opaque is on, nothing obscures the content region. > * The label border is tight. > > A better way might be to crop out a hole in the current border and place the name label there with a transparent background. Or layer them behind the content, but above the background. > > So… > > I don’t seem to be doing something wrong. I need to look for a workaround. > > Thoughts (all involving keeping show name off): > > 1. I could put a small-margin label into the grouped controls so it fits just inside the border in a consistent corner. > > 2 I can put an opaque label on top of my border. The background color might be chosen to be that of the named group or that of its parent. I would have to address moving the group. There might be 3 ways. a) Move the label by hand. b) Add a script to do that. c) Put both label and my group into another group, but then have to figure out “of” and “parent” in scripts. > > 3 Draw my own border and label as the group content. (However, something seems to be weird with my rectangles on Windows.) > > 4. Any ideas you folks have. > > Dar > >> On Aug 21, 2023, at 3:56 AM, Alex Tweedly via use-livecode wrote: >> >> I see those kind of changes (10.0.0DP5, MacOS), but the border changes from solid black to black/white lines - with those 'splits' you described. >> >> Alex. >> >> On 21/08/2023 01:50, Dar Scott via use-livecode wrote: >>> On Mac and LiveCode 9.6.9… >>> >>> Make a new stack. Put a few controls on it. Group them. >>> >>> Give the group a name >>> >>> Set the border width to something like 10-15 so the effect is visible. >>> >>> Turn off 3D. >>> Turn on border. >>> >>> Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. >>> >>> On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. >>> >>> Dar >>> >>> >>>> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: >>>> >>>> Weird how? The corners should be right angles. Do you see something different? >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: >>>> >>>>> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Mon Aug 21 12:58:42 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 21 Aug 2023 16:58:42 +0000 Subject: Group corners In-Reply-To: <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> Message-ID: Another thing you can do is draw the “border” the way you want in a graphic app with an alpha channel for whatever you want to be transparent. Then import that image and place it behind whatever you want a border around. Be sure to set the quality to best. If you need the “border” to change, create multiple graphics, then set the source of the image accordingly. Bob S > On Aug 21, 2023, at 9:50 AM, Dar Scott via use-livecode wrote: > > For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. — Dar > > >> On Aug 21, 2023, at 9:47 AM, Dar Scott via use-livecode wrote: >> >> I sprinkled some colors over the different object colors. I can see more of what is happening that way. >> >> Show name off: The border grows outward. If 3D is off, it has the border color. If it is on it has the bevel colors: left and top are the bottom bevel, bottom and right have the top bevel. >> >> Show name on: Again 3D changes whether the background is used for both bevel colors or the two bevel colors are used. In this case though, instead of the whole outline having the above color pattern, the border lines, do. In addition the inside border grows **inward**, covering things. Also, a background stripe above and below the top line covers things. This might be the background of the label; I couldn’t figure out how to set the alpha of colors to test that, so I use the opaque check box. Even with opaque of, objects are obscured. >> >> It looks as though instead of putting an appropriate sized label over the border for the name, the object puts the opaque label above the content and tries to draw a border on top of that. The drawing is the 3D drawing, lines have 3D, not the whole rectangle of the border. The only difference for turning off 3D is using border instead of the bevels. With 3D on, one can see what is happening. The outside line is much like without the show name half width, but with a little diagonal gap in the upper left. The inside line, grows inward :( and has gaps in the lines, including the line ends around the name label. >> >> Some behavior depends on the order I check boxes. For some experiments clear all check boxes and then turn on some. >> >> The behavior I would have hoped for is this: >> >> * The border always grows outward. >> * Adding the show name does not change the border or background; it just puts a label over it. >> * The background is in the back and extends consistently to either the inside of the border, the middle of the border or outside edge of the border. The background for the name label is the same as that for the group including the opaque modifier, so a blip of background might extend above the top border. This is noticeable only with show name. >> * Except for a little blip around the label when opaque is on, nothing obscures the content region. >> * The label border is tight. >> >> A better way might be to crop out a hole in the current border and place the name label there with a transparent background. Or layer them behind the content, but above the background. >> >> So… >> >> I don’t seem to be doing something wrong. I need to look for a workaround. >> >> Thoughts (all involving keeping show name off): >> >> 1. I could put a small-margin label into the grouped controls so it fits just inside the border in a consistent corner. >> >> 2 I can put an opaque label on top of my border. The background color might be chosen to be that of the named group or that of its parent. I would have to address moving the group. There might be 3 ways. a) Move the label by hand. b) Add a script to do that. c) Put both label and my group into another group, but then have to figure out “of” and “parent” in scripts. >> >> 3 Draw my own border and label as the group content. (However, something seems to be weird with my rectangles on Windows.) >> >> 4. Any ideas you folks have. >> >> Dar >> >>> On Aug 21, 2023, at 3:56 AM, Alex Tweedly via use-livecode wrote: >>> >>> I see those kind of changes (10.0.0DP5, MacOS), but the border changes from solid black to black/white lines - with those 'splits' you described. >>> >>> Alex. >>> >>> On 21/08/2023 01:50, Dar Scott via use-livecode wrote: >>>> On Mac and LiveCode 9.6.9… >>>> >>>> Make a new stack. Put a few controls on it. Group them. >>>> >>>> Give the group a name >>>> >>>> Set the border width to something like 10-15 so the effect is visible. >>>> >>>> Turn off 3D. >>>> Turn on border. >>>> >>>> Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. >>>> >>>> On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. >>>> >>>> Dar >>>> >>>> >>>>> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> Weird how? The corners should be right angles. Do you see something different? >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: >>>>> >>>>>> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 21 18:07:21 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Aug 2023 17:07:21 -0500 Subject: Group corners In-Reply-To: <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> Message-ID: <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: > For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. Tested in LC 9.6.10 RC 1. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Mon Aug 21 18:36:20 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 21 Aug 2023 22:36:20 +0000 Subject: Group corners In-Reply-To: <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> Message-ID: <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that. Bob S > On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode wrote: > > On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. > > I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. > > Tested in LC 9.6.10 RC 1. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Aug 21 21:44:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Aug 2023 20:44:17 -0500 Subject: Group corners In-Reply-To: <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> Message-ID: <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 3d. It's a plain gray border with the label appropriately placed. Three pixels works about the same. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode wrote: > Oh right! You cant have 3D with a 1 pixel border, can you?? I missed that. > > Bob S > > >> On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode >> wrote: >> >> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >>> For now, Im using a temporary solution: I am setting the border width to >>> 1. That might become a long-term workaround. >> >> I can reproduce your results. Weird thing: if I leave showName and >> showBorder on, and set the borderWidth to 4, and then turn on 3D I get a >> nice clean gray-ish border without any splits or lines. >> >> Tested in LC 9.6.10 RC 1. >> >> -- >> 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 fmoyer at aol.com Mon Aug 21 23:05:52 2023 From: fmoyer at aol.com (FRED MOYER) Date: Mon, 21 Aug 2023 23:05:52 -0400 Subject: use-livecode Digest, Vol 239, Issue 22 In-Reply-To: References: Message-ID: Thanks everyone for the answers. I think I’m ok with keysdown now — just needed to sort a few things out. Fred > On Aug 20, 2023, at 12:00 PM, use-livecode-request at lists.runrev.com wrote: > > Message: 6 > Date: Sat, 19 Aug 2023 23:36:57 +0300 > From: Richmond Mathewson > > To: FRED MOYER via use-livecode > > Subject: Re: How to search this list > Message-ID: <9bff91a6-8761-489d-9b5d-1f0dfc493a89 at gmail.com > > Content-Type: text/plain; charset=UTF-8; format=flowed > > Well, I am a keysDown 'fan', so why not just explain what your problem > is . . . > > Richmond Mathewson > > On 19.08.23 21:32, FRED MOYER via use-livecode wrote: >> It?s been a long time since I?ve used this list. I?m puzzled -- it says I can search the archives for this list at >> http://www.google.com/advanced_search?q=site:lists.runrev.com > >> >> If I search for something that I know is there (like ?CharIndex? which was in some recent posts) it doesn?t find anything. >> >> In particular, I?m looking for information about keysdown ? again no hits in that google search site. >> >> Thanks for your help. >> >> Fred Moyer >> From dsc at swcp.com Tue Aug 22 09:05:56 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Aug 2023 07:05:56 -0600 Subject: Group corners In-Reply-To: <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <674F8AAF-5F4C-42C1-831C-C51B384C4D6A@swcp.com> Yeah, the order of things seem to make a difference. It is sometimes hard to do deltas. My lazy programming style is to rebuild GUI features based on the current state whenever there is a change, and then look closer if that gets slow. > On Aug 21, 2023, at 7:44 PM, J. Landman Gay via use-livecode wrote: > > Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 3d. It's a plain gray border with the label appropriately placed. Three pixels works about the same. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode wrote: > >> Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that. >> >> Bob S >> >> >>> On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode wrote: >>> >>> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >>>> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. >>> >>> I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. >>> >>> Tested in LC 9.6.10 RC 1. >>> >>> -- >>> 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 dsc at swcp.com Tue Aug 22 12:57:20 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Aug 2023 10:57:20 -0600 Subject: Behaviors Message-ID: I am misremembering things about Behaviors. I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? From alex at tweedly.net Tue Aug 22 13:09:08 2023 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 22 Aug 2023 18:09:08 +0100 Subject: Behaviors In-Reply-To: References: Message-ID: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. So I do it all in preOpen... scripts, doing something like > set the behavior of fld "F" of grp tmpName to the long id of button > "RichTextFieldBehaviour" of \ >          card "Behaviours" of stack "/Users/alextweedly/Dropbox/My > Livecode/Libraries/richText.livecode" Alex. On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > I am misremembering things about Behaviors. > > I have a card with my behavior buttons, but I cant seem to point to buttons on that card. Maybe, Im remembering what I did long ago with front scripts. > > I suppose I can use substacks, but Im worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 22 13:12:06 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Aug 2023 11:12:06 -0600 Subject: Group corners In-Reply-To: <674F8AAF-5F4C-42C1-831C-C51B384C4D6A@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <674F8AAF-5F4C-42C1-831C-C51B384C4D6A@swcp.com> Message-ID: <84FAB4BF-3B26-48CE-BBDD-854C224A9FF1@swcp.com> Arg. There is a pixel missing in the upper left corner even when the border width is 1. — Dar > On Aug 22, 2023, at 7:05 AM, Dar Scott via use-livecode wrote: > > Yeah, the order of things seem to make a difference. It is sometimes hard to do deltas. My lazy programming style is to rebuild GUI features based on the current state whenever there is a change, and then look closer if that gets slow. > >> On Aug 21, 2023, at 7:44 PM, J. Landman Gay via use-livecode wrote: >> >> Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 3d. It's a plain gray border with the label appropriately placed. Three pixels works about the same. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode wrote: >> >>> Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that. >>> >>> Bob S >>> >>> >>>> On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >>>>> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. >>>> >>>> I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. >>>> >>>> Tested in LC 9.6.10 RC 1. >>>> >>>> -- >>>> 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 dsc at swcp.com Tue Aug 22 13:36:36 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Aug 2023 11:36:36 -0600 Subject: Behaviors In-Reply-To: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> Message-ID: <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar > On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: > > Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. > > So I do it all in preOpen... scripts, doing something like > >> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ >> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" > > Alex. > > On 22/08/2023 17:57, Dar Scott via use-livecode wrote: >> I am misremembering things about Behaviors. >> >> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. >> >> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 22 15:05:03 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 22 Aug 2023 15:05:03 -0400 Subject: Behaviors In-Reply-To: <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> Message-ID: you probably know this: in the property inspector, there's a panel for behavior, so you can just select the behavior from a menu button, without having to type it On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode wrote: > > I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar > > > On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: > > > > Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. > > > > So I do it all in preOpen... scripts, doing something like > > > >> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ > >> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" > > > > Alex. > > > > On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > >> I am misremembering things about Behaviors. > >> > >> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. > >> > >> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Aug 22 16:08:58 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Aug 2023 15:08:58 -0500 Subject: Group corners In-Reply-To: <84FAB4BF-3B26-48CE-BBDD-854C224A9FF1@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <674F8AAF-5F4C-42C1-831C-C51B384C4D6A@swcp.com> <84FAB4BF-3B26-48CE-BBDD-854C224A9FF1@swcp.com> Message-ID: It's probably about time to submit a bug report. The behavior we see isn't expected. On 8/22/23 12:12 PM, Dar Scott via use-livecode wrote: > Arg. There is a pixel missing in the upper left corner even when the border width is 1. — Dar > >> On Aug 22, 2023, at 7:05 AM, Dar Scott via use-livecode wrote: >> >> Yeah, the order of things seem to make a difference. It is sometimes hard to do deltas. My lazy programming style is to rebuild GUI features based on the current state whenever there is a change, and then look closer if that gets slow. >> >>> On Aug 21, 2023, at 7:44 PM, J. Landman Gay via use-livecode wrote: >>> >>> Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 3d. It's a plain gray border with the label appropriately placed. Three pixels works about the same. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode wrote: >>> >>>> Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that. >>>> >>>> Bob S >>>> >>>> >>>>> On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >>>>>> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. >>>>> >>>>> I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. >>>>> >>>>> Tested in LC 9.6.10 RC 1. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Tue Aug 22 16:43:28 2023 From: tom at makeshyft.com (Tom Glod) Date: Tue, 22 Aug 2023 16:43:28 -0400 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: <7e9e3b20bd90462d31408ac2f6c008ab@livecode.com> References: <7e9e3b20bd90462d31408ac2f6c008ab@livecode.com> Message-ID: Interesting, when I tried to use them recently they didn't work. Will test again, maybe it was my bad, thanks Mark. On Sun, Aug 20, 2023 at 3:09 AM Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2023-08-19 21:57, Tom Glod via use-livecode wrote: > > Hello, > > > > Does this mean we have JSON support in SQLite? > > > > This is from the documentation.: > > > > In other words, the JSON functions went from being opt-in with SQLite > > version 3.37.2 and earlier to opt-out with SQLite version 3.38.0 and > > later. > > The SQLite JSON support was included in dbsqlite in 9.0.3 - > https://quality.livecode.com/show_bug.cgi?id=21821 > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 22 17:02:10 2023 From: paul at researchware.com (Paul Dupuis) Date: Tue, 22 Aug 2023 17:02:10 -0400 Subject: Polygrid questions Message-ID: I see I have the properties of a polygrid for: pgColumns -- an array of all column properties and pgColumnWidths -- a comma delimited list of widths There does not seem to be a distinct property just for alignments, such as pgColumnAlignments What I need to do is change the width and/or alignment of a specific column (that can change which column based on data). I can se no way of doing this other than repopulating the pgColumns array If I try set the pgColumnWidths of widget "rwTableview" to "300,75,75,75,75,75,75,75,75" for example, that seems to have no effect. If I try to just change one element of the column array, such as put "300" into tArray[1]["width"]; set the pgColumns of widget "rwTableview" to tArray, it replaces all the other column information (names, etc.) with defaults (as I would expect) Am I missing some syntax that will allow changing the name, label, width, alignment, or whatever property desired of a single column without touching any of the other column data already set? From dsc at swcp.com Wed Aug 23 20:00:23 2023 From: dsc at swcp.com (Dar Scott) Date: Wed, 23 Aug 2023 18:00:23 -0600 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> Message-ID: I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar > On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: > > you probably know this: in the property inspector, there's a panel for > behavior, so you can just select the behavior from a menu button, > without having to type it > > On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode > wrote: >> >> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar >> >>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: >>> >>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. >>> >>> So I do it all in preOpen... scripts, doing something like >>> >>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ >>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" >>> >>> Alex. >>> >>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: >>>> I am misremembering things about Behaviors. >>>> >>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. >>>> >>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iowahengst at mac.com Thu Aug 24 09:28:49 2023 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 24 Aug 2023 08:28:49 -0500 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Hi All, This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… take care, randy Randy Hengst classroomfocusedsoftware.com > On Jul 20, 2023, at 10:47 PM, J. Landman Gay via use-livecode wrote: > > Very useful info, thank you. Especially the part about using the token on different machines. I was duped into believing everything I read on the internet. :) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode wrote: > >>> Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode : >>> >>> Thanks Matthias. I've been reading about it and I think the cert is stored on the machine but it is tied to that computer and not exportable. >> >> >>> If you get a new computer you need to buy a new certificate. >> I don't think that is true. The new type of certificate has to be stored on a secure device. That's what the eToken is for. The private key is also stored on the eToken and the certificate and the private key cannot be exported. You should be able to use that token on multiple computers. You just have to install the eToken driver to an other computer and attach the eToken to it. >> >> This is what Trustzone is saying about it: >> "The token-based type of Standard Code Signing certificates can also be used on multiple computers. The same goes for token-based EV certificates. But no token-based certificate can ever be used simultaneously on two computers since the SafeNet token can only be plugged into one computer at a time." >> >> As i never had such eToken, i do not know, if the certificate and the private key can be accessed as files through Finder. And what extension do they have. I've read the osslsigncode can use also certificates and key files with .cem extension. >> So if the eToken contains such files, WinSignHelper could be slightly adjusted to work with the eToken. But that's just an assumption. >> >> Matthias >> >> >>> So I don't think I'll experiment, and we'll just do the whole thing on the Windows box. >>> >>> The sad part is that if we'd renewed just a couple of weeks earlier we'd have been within the cutoff date and could have purchased the old type of certificate. >>> >> Same here. I was about 5 days to late otherwise i could have ordered the olde type. >> >> >>> If anyone else has used the new token hardware I'd be grateful for any tips or suggestions. This is all new to me. >> >> I am using a cloud based OV certificate from Certum. I just need to install the Software SimplySign Desktop. The software "integrates" the certificate into Windows' certificate storage (or what ever this is called) after i logged in using that SimplySign Desktop software. >> Microsoft's signtool can then directly access the certificate. >> >> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode wrote: >>> >>>> To be honest, i do not know. >>>> I am currently using a cloud code signing certificate which i can only use on Windows. >>>> I've chosen the cloud version because of the price, but later i noticed that it seems that those cloud certificates cannot be used on macOS. >>>> Or maybe they can, but i do not know how, especially with ossl signcode >>>> WinSignHelper uses ossl signcode and currently that tool needs a path to a certificate >>>> >>>> Do you know where the certificate is stored with the eToken solution? Is it stored also on the eToken or anywhere else on the Mac? >>>> If you have the certificate as a physical file it maybe could be possible to select that file in the WinSignHelper prefs. >>>> >>>> But as i alread wrote, i really don't know exactly. >>>> >>>> I am currently thinking of purchasing a 2nd certificate as eToken solution, but there is not yet a decision made, if i should spent money for this, as i have a working cloud certificate which expires in 3 years. >>>> >>>> Regards, >>>> Matthias >>>> >>>>> Am 19.07.2023 um 22:53 schrieb J. Landman Gay via use-livecode : >>>>> >>>>> @Matthias: does the upgraded WinSignHelper work with the new hardware eTokens? Those are required now. >>>>> >>>>> If so, do the instructions change on how to use your tool? >>>>> >>>>> >>>>> On 12/23/22 10:44 AM, matthias rebbe via use-livecode wrote: >>>>>> i've upgraded my free tool WinSignHelper. >>>>>> For those who do not know what WinSignHelper is... >>>>>> It's a GUI for osslsigncode. Osslsigncode is command line tool that can do the Authenticode signing and timestamping. With it you can code sign Windows applications using an appropriate code signing certificate. >>>>>> You just drag a folder with your Windows application into WinSignHelper and it signs all components of your standalone (.exe and .dll). >>>>>> WinSignHelper Help section gives enough information about how to install osslsigncode. >>>>>> So if anyone is interested in testing.... >>>>>> The version is notarized and is an universal build for X86 and Arm >>>>>> Zip >>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.zip >>>>>> DMG >>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.dmg >>>>>> Hope this is of help for one or the other. >>>>> >>>>> >>>>> -- >>>>> 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 Thu Aug 24 09:42:59 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 24 Aug 2023 15:42:59 +0200 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: Hi Randy, > Am 24.08.2023 um 15:28 schrieb Randy Hengst via use-livecode : > > Hi All, > > This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. > I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. > Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… I once set up a help page for exactly this issue: Scroll down for the Windows stuff... Hope that helps! > take care, > randy Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From iowahengst at mac.com Thu Aug 24 09:49:04 2023 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 24 Aug 2023 08:49:04 -0500 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: <2439D939-F60B-4AE2-A4EE-76B1D05B2202@mac.com> Excellent! Thank you, Klaus. Does the current version of windows look the same as your screen shots? take care, randy Randy Hengst classroomFocusedSoftware.com > On Aug 24, 2023, at 8:42 AM, Klaus major-k via use-livecode wrote: > > Hi Randy, > >> Am 24.08.2023 um 15:28 schrieb Randy Hengst via use-livecode : >> >> Hi All, >> >> This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. >> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. >> Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… > > I once set up a help page for exactly this issue: > > > Scroll down for the Windows stuff... > Hope that helps! > >> take care, >> randy > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Aug 24 09:52:05 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 24 Aug 2023 15:52:05 +0200 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <2439D939-F60B-4AE2-A4EE-76B1D05B2202@mac.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> <2439D939-F60B-4AE2-A4EE-76B1D05B2202@mac.com> Message-ID: Hi Randy, > Am 24.08.2023 um 15:49 schrieb Randy Hengst via use-livecode : > > Excellent! Thank you, Klaus. my pleasure! > Does the current version of windows look the same as your screen shots? Sorry, no idea, my last Win version is 10, as shown in the pics. > take care, > randy > > Randy Hengst > classroomFocusedSoftware.com >> >>> Hi All, >>> This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. >>> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. >>> Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… >> I once set up a help page for exactly this issue: >> >> Scroll down for the Windows stuff... >> Hope that helps! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From derek-lc-list at speedbump.io Thu Aug 24 10:26:50 2023 From: derek-lc-list at speedbump.io (Derek Bump) Date: Thu, 24 Aug 2023 14:26:50 +0000 Subject: Linux and the search for a controllable Web Browser Message-ID: Good Day, I've been wrestling with the Browser widget on Linux long enough now that I've largely given up on using it for anything destined for a production environment. However, that has not reduced my need for a browser which I can control in my specific use-case: open a streaming video url, make it full screen, autoplay, wait for navigational input from the user (arrow keys, DEL key, etc), and close when requested. I did attempt to build a controllable browser using Neutralinojs, which showed potential. With it's configuration options, having a borderless, floating browser window appear at exact coordinates is very do-able. Unfortunately for me, the cross-origin nature of using an iframe is preventing JavaScript from forcing playback without a physical "click" from the user. Setting the URL of the Neutralinojs "browser" directly (not using iframe) resolves the cross-origin restriction, but it still required click for playback. Plus, setting the URL directly wipes out any JavaScript written, so inter-process communications disappears immediately. So that solution isn't viable. I'm thinking of attempting the same concept using Electron, but I'm betting 100% the experience will be the same. Many in the past have abused the Autoplay feature, so its largely locked down in commercial browsers at this point. I'm pretty sure I'd have to compile a custom browser from source, which I have never done before. Nor am I interested in going down that rabbit hole (yet). So I wanted to reach out to see if anyone has stumbled upon a solution for showing web pages on Linux in such a way that you can still maintain control over the browser through LiveCode? With regards to my use-case, I've (temporarily) opted to launch Firefox using "open process" (non blocking) in Kiosk mode. This is nearly producing what I need, except regaining control involves terminating Firefox when my user presses a "Universal Home" button on their remote control. Not ideal, but it works. What's frustrating is that there's a Browser Widget sitting in my toolbar which seems to work well on Windows and Mac. However, even if the widget was compatible (or I found a modern distro where it works), it still wouldn't solve my problem: LC's browser implementation has some of it's multimedia framework support turned off, so HLS is out the window. This would need to be added in by LiveCode Ltd., most likely. Am I stuck? I appreciate the help and look forward to feedback. Thank you, Derek Bump From bobsneidar at iotecdigital.com Thu Aug 24 11:20:55 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 15:20:55 +0000 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: <02940F0A-2EC5-45C3-92FF-55EB471E3AE6@iotecdigital.com> I build for Windows and do not need a certificate. I’ve run my app on Windows 10 and server 2019 without an issue. Bob S On Aug 24, 2023, at 6:28 AM, Randy Hengst via use-livecode wrote: Hi All, This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… take care, randy Randy Hengst classroomfocusedsoftware.com From bobsneidar at iotecdigital.com Thu Aug 24 11:24:58 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 15:24:58 +0000 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <02940F0A-2EC5-45C3-92FF-55EB471E3AE6@iotecdigital.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> <02940F0A-2EC5-45C3-92FF-55EB471E3AE6@iotecdigital.com> Message-ID: <07F4836E-C325-4310-B319-9A1721840C06@iotecdigital.com> Oh right, I think I DID have to confirm that I want to run the app on both Windows and Mac. I suppose that would be an issue if I was distributing commercially. Bob S On Aug 24, 2023, at 8:20 AM, Bob Sneidar wrote: I build for Windows and do not need a certificate. I’ve run my app on Windows 10 and server 2019 without an issue. Bob S On Aug 24, 2023, at 6:28 AM, Randy Hengst via use-livecode wrote: Hi All, This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… take care, randy Randy Hengst classroomfocusedsoftware.com From bobsneidar at iotecdigital.com Thu Aug 24 11:34:02 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 15:34:02 +0000 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> Message-ID: <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> There is also the Advanced button in the property inspector (looks like one large gear with two smaller ones) where you can type the behavior, and also has the target icon. Also, you shouldn’t have to do that every time. Once should be enough if you save the stack afterwards. I note that Datagrids have no way to set the behavior, since they depend on their default behavior. It was discussed long ago when nested behaviors became a thing, that there ought to be a way to edit a list of behaviors of an object. In fact it shouldn’t be that difficult to make a Behavior Browser widget of some sort. Hmmm... Bob S > On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode wrote: > > I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar > >> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: >> >> you probably know this: in the property inspector, there's a panel for >> behavior, so you can just select the behavior from a menu button, >> without having to type it >> >> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode >> wrote: >>> >>> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar >>> >>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: >>>> >>>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. >>>> >>>> So I do it all in preOpen... scripts, doing something like >>>> >>>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ >>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" >>>> >>>> Alex. >>>> >>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: >>>>> I am misremembering things about Behaviors. >>>>> >>>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. >>>>> >>>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Thu Aug 24 11:41:07 2023 From: prothero at earthlearningsolutions.org (William Prothero) Date: Thu, 24 Aug 2023 08:41:07 -0700 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> References: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: I have an ios app that I built for myself only. I was able to load the app on my iphone for debugging. It works fine, for me, in normal use. You may be able to do the same with your friend's device. It saves a lot of the trouble with certificates, etc. you might search the forum on "sideloading". Good luck. Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On Aug 24, 2023, at 6:30 AM, Randy Hengst via use-livecode wrote: > > Hi All, > > This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. > > I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. > > Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… > > take care, > randy > > Randy Hengst > classroomfocusedsoftware.com > > > >> On Jul 20, 2023, at 10:47 PM, J. Landman Gay via use-livecode wrote: >> >> Very useful info, thank you. Especially the part about using the token on different machines. I was duped into believing everything I read on the internet. :) >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode wrote: >> >>>>> Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode : >>>>> >>>>> Thanks Matthias. I've been reading about it and I think the cert is stored on the machine but it is tied to that computer and not exportable. >>> >>> >>>> If you get a new computer you need to buy a new certificate. >>> I don't think that is true. The new type of certificate has to be stored on a secure device. That's what the eToken is for. The private key is also stored on the eToken and the certificate and the private key cannot be exported. You should be able to use that token on multiple computers. You just have to install the eToken driver to an other computer and attach the eToken to it. >>> >>> This is what Trustzone is saying about it: >>> "The token-based type of Standard Code Signing certificates can also be used on multiple computers. The same goes for token-based EV certificates. But no token-based certificate can ever be used simultaneously on two computers since the SafeNet token can only be plugged into one computer at a time." >>> >>> As i never had such eToken, i do not know, if the certificate and the private key can be accessed as files through Finder. And what extension do they have. I've read the osslsigncode can use also certificates and key files with .cem extension. >>> So if the eToken contains such files, WinSignHelper could be slightly adjusted to work with the eToken. But that's just an assumption. >>> >>> Matthias >>> >>> >>>> So I don't think I'll experiment, and we'll just do the whole thing on the Windows box. >>>> >>>> The sad part is that if we'd renewed just a couple of weeks earlier we'd have been within the cutoff date and could have purchased the old type of certificate. >>>> >>> Same here. I was about 5 days to late otherwise i could have ordered the olde type. >>> >>> >>>> If anyone else has used the new token hardware I'd be grateful for any tips or suggestions. This is all new to me. >>> >>> I am using a cloud based OV certificate from Certum. I just need to install the Software SimplySign Desktop. The software "integrates" the certificate into Windows' certificate storage (or what ever this is called) after i logged in using that SimplySign Desktop software. >>> Microsoft's signtool can then directly access the certificate. >>> >>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode wrote: >>>> >>>>> To be honest, i do not know. >>>>> I am currently using a cloud code signing certificate which i can only use on Windows. >>>>> I've chosen the cloud version because of the price, but later i noticed that it seems that those cloud certificates cannot be used on macOS. >>>>> Or maybe they can, but i do not know how, especially with ossl signcode >>>>> WinSignHelper uses ossl signcode and currently that tool needs a path to a certificate >>>>> >>>>> Do you know where the certificate is stored with the eToken solution? Is it stored also on the eToken or anywhere else on the Mac? >>>>> If you have the certificate as a physical file it maybe could be possible to select that file in the WinSignHelper prefs. >>>>> >>>>> But as i alread wrote, i really don't know exactly. >>>>> >>>>> I am currently thinking of purchasing a 2nd certificate as eToken solution, but there is not yet a decision made, if i should spent money for this, as i have a working cloud certificate which expires in 3 years. >>>>> >>>>> Regards, >>>>> Matthias >>>>> >>>>>> Am 19.07.2023 um 22:53 schrieb J. Landman Gay via use-livecode : >>>>>> >>>>>> @Matthias: does the upgraded WinSignHelper work with the new hardware eTokens? Those are required now. >>>>>> >>>>>> If so, do the instructions change on how to use your tool? >>>>>> >>>>>> >>>>>> On 12/23/22 10:44 AM, matthias rebbe via use-livecode wrote: >>>>>>> i've upgraded my free tool WinSignHelper. >>>>>>> For those who do not know what WinSignHelper is... >>>>>>> It's a GUI for osslsigncode. Osslsigncode is command line tool that can do the Authenticode signing and timestamping. With it you can code sign Windows applications using an appropriate code signing certificate. >>>>>>> You just drag a folder with your Windows application into WinSignHelper and it signs all components of your standalone (.exe and .dll). >>>>>>> WinSignHelper Help section gives enough information about how to install osslsigncode. >>>>>>> So if anyone is interested in testing.... >>>>>>> The version is notarized and is an universal build for X86 and Arm >>>>>>> Zip >>>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.zip >>>>>>> DMG >>>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.dmg >>>>>>> Hope this is of help for one or the other. >>>>>> >>>>>> >>>>>> -- >>>>>> 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 iowahengst at mac.com Thu Aug 24 12:12:59 2023 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 24 Aug 2023 11:12:59 -0500 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: References: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: <37049104-641F-4777-9D50-086CD885EA3F@mac.com> I built for windows using 9.6.9… just heard from my friend that he could open the app. Thanks all for the ideas and information. take care, randy Randy Hengst classroomfocusedsoftware.com > On Aug 24, 2023, at 10:41 AM, William Prothero via use-livecode wrote: > > I have an ios app that I built for myself only. I was able to load the app on my iphone for debugging. It works fine, for me, in normal use. You may be able to do the same with your friend's device. It saves a lot of the trouble with certificates, etc. you might search the forum on "sideloading". > > Good luck. > Bill > > William A. Prothero, PhD > Prof Emeritus, Dept of Earth Science > University of California, Santa Barbara > >> On Aug 24, 2023, at 6:30 AM, Randy Hengst via use-livecode wrote: >> >> Hi All, >> >> This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. >> >> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. >> >> Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… >> >> take care, >> randy >> >> Randy Hengst >> classroomfocusedsoftware.com >> >> >> >>> On Jul 20, 2023, at 10:47 PM, J. Landman Gay via use-livecode wrote: >>> >>> Very useful info, thank you. Especially the part about using the token on different machines. I was duped into believing everything I read on the internet. :) >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode wrote: >>> >>>>>> Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode : >>>>>> >>>>>> Thanks Matthias. I've been reading about it and I think the cert is stored on the machine but it is tied to that computer and not exportable. >>>> >>>> >>>>> If you get a new computer you need to buy a new certificate. >>>> I don't think that is true. The new type of certificate has to be stored on a secure device. That's what the eToken is for. The private key is also stored on the eToken and the certificate and the private key cannot be exported. You should be able to use that token on multiple computers. You just have to install the eToken driver to an other computer and attach the eToken to it. >>>> >>>> This is what Trustzone is saying about it: >>>> "The token-based type of Standard Code Signing certificates can also be used on multiple computers. The same goes for token-based EV certificates. But no token-based certificate can ever be used simultaneously on two computers since the SafeNet token can only be plugged into one computer at a time." >>>> >>>> As i never had such eToken, i do not know, if the certificate and the private key can be accessed as files through Finder. And what extension do they have. I've read the osslsigncode can use also certificates and key files with .cem extension. >>>> So if the eToken contains such files, WinSignHelper could be slightly adjusted to work with the eToken. But that's just an assumption. >>>> >>>> Matthias >>>> >>>> >>>>> So I don't think I'll experiment, and we'll just do the whole thing on the Windows box. >>>>> >>>>> The sad part is that if we'd renewed just a couple of weeks earlier we'd have been within the cutoff date and could have purchased the old type of certificate. >>>>> >>>> Same here. I was about 5 days to late otherwise i could have ordered the olde type. >>>> >>>> >>>>> If anyone else has used the new token hardware I'd be grateful for any tips or suggestions. This is all new to me. >>>> >>>> I am using a cloud based OV certificate from Certum. I just need to install the Software SimplySign Desktop. The software "integrates" the certificate into Windows' certificate storage (or what ever this is called) after i logged in using that SimplySign Desktop software. >>>> Microsoft's signtool can then directly access the certificate. >>>> >>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode wrote: >>>>> >>>>>> To be honest, i do not know. >>>>>> I am currently using a cloud code signing certificate which i can only use on Windows. >>>>>> I've chosen the cloud version because of the price, but later i noticed that it seems that those cloud certificates cannot be used on macOS. >>>>>> Or maybe they can, but i do not know how, especially with ossl signcode >>>>>> WinSignHelper uses ossl signcode and currently that tool needs a path to a certificate >>>>>> >>>>>> Do you know where the certificate is stored with the eToken solution? Is it stored also on the eToken or anywhere else on the Mac? >>>>>> If you have the certificate as a physical file it maybe could be possible to select that file in the WinSignHelper prefs. >>>>>> >>>>>> But as i alread wrote, i really don't know exactly. >>>>>> >>>>>> I am currently thinking of purchasing a 2nd certificate as eToken solution, but there is not yet a decision made, if i should spent money for this, as i have a working cloud certificate which expires in 3 years. >>>>>> >>>>>> Regards, >>>>>> Matthias >>>>>> >>>>>>> Am 19.07.2023 um 22:53 schrieb J. Landman Gay via use-livecode : >>>>>>> >>>>>>> @Matthias: does the upgraded WinSignHelper work with the new hardware eTokens? Those are required now. >>>>>>> >>>>>>> If so, do the instructions change on how to use your tool? >>>>>>> >>>>>>> >>>>>>> On 12/23/22 10:44 AM, matthias rebbe via use-livecode wrote: >>>>>>>> i've upgraded my free tool WinSignHelper. >>>>>>>> For those who do not know what WinSignHelper is... >>>>>>>> It's a GUI for osslsigncode. Osslsigncode is command line tool that can do the Authenticode signing and timestamping. With it you can code sign Windows applications using an appropriate code signing certificate. >>>>>>>> You just drag a folder with your Windows application into WinSignHelper and it signs all components of your standalone (.exe and .dll). >>>>>>>> WinSignHelper Help section gives enough information about how to install osslsigncode. >>>>>>>> So if anyone is interested in testing.... >>>>>>>> The version is notarized and is an universal build for X86 and Arm >>>>>>>> Zip >>>>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.zip >>>>>>>> DMG >>>>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.dmg >>>>>>>> Hope this is of help for one or the other. >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bleiler at buffalo.edu Thu Aug 24 13:02:32 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Thu, 24 Aug 2023 17:02:32 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in Message-ID: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> Hi all, I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. Code signing seems to work fine but when I get to the Notarization step I always get an "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. So far, this is what I’ve tried with the same result 1) Verified developer account in good status with Apple 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, 3) Multiple checks of my credentials in the parameters I’m using 4) Setting up a new app specific password on my account 5) Trying with a different Livecode application 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. 7) Repeat everything on a brand new user account on my Mac 8) Sought help through devprograms at apple.com I’ve done codesigning and notarization many times before with the same developer account with no issues. What’s new here for me is using NotaryTool and the app-specific password. I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) Thanks, Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo From MikeKerner at roadrunner.com Thu Aug 24 13:15:57 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 24 Aug 2023 13:15:57 -0400 Subject: Behaviors In-Reply-To: <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> Message-ID: i'm pretty sure you can set a dg's behavior. then you would set the behavior of that behavior to the button behavior (button id 1005 of stack "revDataGridLibrary"), OR you can include THAT script, separately, set that as the behavior, and modify it (but, what you should really do is remove your dg's and replace them with pg's, imho. they're much faster and more flexible and powerful). the project browser has a button for each behavior in the chain of an object. i'm pretty sure that levure baker's assistant does, too. On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode wrote: > > There is also the Advanced button in the property inspector (looks like one large gear with two smaller ones) where you can type the behavior, and also has the target icon. Also, you shouldn’t have to do that every time. Once should be enough if you save the stack afterwards. > > I note that Datagrids have no way to set the behavior, since they depend on their default behavior. It was discussed long ago when nested behaviors became a thing, that there ought to be a way to edit a list of behaviors of an object. In fact it shouldn’t be that difficult to make a Behavior Browser widget of some sort. Hmmm... > > Bob S > > > > On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode wrote: > > > > I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar > > > >> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: > >> > >> you probably know this: in the property inspector, there's a panel for > >> behavior, so you can just select the behavior from a menu button, > >> without having to type it > >> > >> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode > >> wrote: > >>> > >>> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar > >>> > >>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: > >>>> > >>>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. > >>>> > >>>> So I do it all in preOpen... scripts, doing something like > >>>> > >>>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ > >>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" > >>>> > >>>> Alex. > >>>> > >>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > >>>>> I am misremembering things about Behaviors. > >>>>> > >>>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. > >>>>> > >>>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> > >> -- > >> On the first day, God created the heavens and the Earth > >> On the second day, God created the oceans. > >> On the third day, God put the animals on hold for a few hours, > >> and did a little diving. > >> And God said, "This is good." > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 bobsneidar at iotecdigital.com Thu Aug 24 14:11:44 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 18:11:44 +0000 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> Message-ID: Ah thanks for that. Yes, I knew how to nest behaviors for datagrids, but I never use the Project Browser because of issues I had many years ago. I may have another look. What is a “pg”? I make extensive use of Datagrid properties, and whatever I might replace them with needs to provide ALL their functionality. Bob S > On Aug 24, 2023, at 10:15 AM, Mike Kerner via use-livecode wrote: > > i'm pretty sure you can set a dg's behavior. then you would set the > behavior of that behavior to the button behavior (button id 1005 of > stack "revDataGridLibrary"), OR you can include THAT script, > separately, set that as the behavior, and modify it > (but, what you should really do is remove your dg's and replace them > with pg's, imho. they're much faster and more flexible and powerful). > the project browser has a button for each behavior in the chain of an > object. i'm pretty sure that levure baker's assistant does, too. > > On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode > wrote: >> >> There is also the Advanced button in the property inspector (looks like one large gear with two smaller ones) where you can type the behavior, and also has the target icon. Also, you shouldn’t have to do that every time. Once should be enough if you save the stack afterwards. >> >> I note that Datagrids have no way to set the behavior, since they depend on their default behavior. It was discussed long ago when nested behaviors became a thing, that there ought to be a way to edit a list of behaviors of an object. In fact it shouldn’t be that difficult to make a Behavior Browser widget of some sort. Hmmm... >> >> Bob S >> >> >>> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode wrote: >>> >>> I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar >>> >>>> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: >>>> >>>> you probably know this: in the property inspector, there's a panel for >>>> behavior, so you can just select the behavior from a menu button, >>>> without having to type it >>>> >>>> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode >>>> wrote: >>>>> >>>>> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar >>>>> >>>>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: >>>>>> >>>>>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. >>>>>> >>>>>> So I do it all in preOpen... scripts, doing something like >>>>>> >>>>>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ >>>>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" >>>>>> >>>>>> Alex. >>>>>> >>>>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: >>>>>>> I am misremembering things about Behaviors. >>>>>>> >>>>>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. >>>>>>> >>>>>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> -- >>>> On the first day, God created the heavens and the Earth >>>> On the second day, God created the oceans. >>>> On the third day, God put the animals on hold for a few hours, >>>> and did a little diving. >>>> And God said, "This is good." >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Aug 24 14:26:28 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 14:26:28 -0400 Subject: Polygrid columns not fully clearing when pgColumns is set Message-ID: Hi to any polygrid developers out there, Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed Any thoughts to a work-around? From paul at researchware.com Thu Aug 24 14:30:31 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 14:30:31 -0400 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: References: Message-ID: Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. Perhaps this is a documentation bug? On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: > Hi to any polygrid developers out there, > > Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 > > I have run into an issue with the latest polygrid (as of this post) > where if you set pgColumns to a new array that reduces the number of > columns in the grid, some old columns are not cleared, but instead are > set to defaults (ie. the names revert to col5, col6, etc. instead of > being completely removed > > Any thoughts to a work-around? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 24 14:34:02 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 24 Aug 2023 20:34:02 +0200 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: References: Message-ID: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> Hi Paul, > Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode : > > Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns > You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. > Perhaps this is a documentation bug? I had success by setting the dgColumns to EMPTY first and later to the new "fewer" columns: ## Button "Fewer Columns" on mouseUp pMouseButton local tColA, tDataA local tSum lock screen ## !! set the pgColumns of widget "myTable" to EMPTY ## !! put "rowname" into tColA[1]["name"] ... > On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: >> Hi to any polygrid developers out there, >> >> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 >> >> I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed >> >> Any thoughts to a work-around? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From paul at researchware.com Thu Aug 24 16:26:04 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 16:26:04 -0400 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> References: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> Message-ID: Thanks Klaus. I may use this method rather than the overhead of clearing and setting the whole pgData property. Actually, the more I think about it, neither "method" should be needed. This is a polygrid bug. If you set the pgColumsn to fewer column, regardless of whether there is left over data in pgData, only the columns in the currently set pgColumns should be seen. On 8/24/2023 2:34 PM, Klaus major-k via use-livecode wrote: > Hi Paul, > >> Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode : >> >> Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns >> You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. >> Perhaps this is a documentation bug? > I had success by setting the dgColumns to EMPTY first and later to the new "fewer" columns: > ## Button "Fewer Columns" > on mouseUp pMouseButton > local tColA, tDataA > local tSum > lock screen > > ## !! > set the pgColumns of widget "myTable" to EMPTY > ## !! > > put "rowname" into tColA[1]["name"] > ... > >> On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: >>> Hi to any polygrid developers out there, >>> >>> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 >>> >>> I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed >>> >>> Any thoughts to a work-around? > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Aug 24 16:48:55 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 24 Aug 2023 22:48:55 +0200 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> Message-ID: Timothy, so running the following command from step 7.1.2 of that lesson xcrun notarytool submit --apple-id "" --password "" --team-id --wait "" gives you the 401 error or are you using the parameter --keychain-profile instead of the three parameters --password,--team-id and --apple-id? If using the above command, then could you please run the command again from command line and add --verbose to enable a detailed log and send the log file to me in a private email? If the second, then did you create a new keychain profile as described in chapter 8 of that lesson? Regards, Matthias > Am 24.08.2023 um 19:02 schrieb Timothy Bleiler via use-livecode : > > Hi all, > > I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. > > I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. > Code signing seems to work fine but when I get to the Notarization step I always get an > "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. > > I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. > > So far, this is what I’ve tried with the same result > > 1) Verified developer account in good status with Apple > 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, > 3) Multiple checks of my credentials in the parameters I’m using > 4) Setting up a new app specific password on my account > 5) Trying with a different Livecode application > 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. > > 7) Repeat everything on a brand new user account on my Mac > 8) Sought help through devprograms at apple.com > > > I’ve done codesigning and notarization many times before with the same developer account with no issues. > What’s new here for me is using NotaryTool and the app-specific password. > > I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) > > Thanks, > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Aug 24 16:53:06 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 20:53:06 +0000 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: References: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> Message-ID: Why not get the pgColumns first, alter only the array element needed for the specific column(s), then set the pgColumns of the PolyGrid? Bob S > On Aug 24, 2023, at 1:26 PM, Paul Dupuis via use-livecode wrote: > > Thanks Klaus. > > I may use this method rather than the overhead of clearing and setting the whole pgData property. > > Actually, the more I think about it, neither "method" should be needed. This is a polygrid bug. If you set the pgColumsn to fewer column, regardless of whether there is left over data in pgData, only the columns in the currently set pgColumns should be seen. > > > On 8/24/2023 2:34 PM, Klaus major-k via use-livecode wrote: >> Hi Paul, >> >>> Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode : >>> >>> Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns >>> You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. >>> Perhaps this is a documentation bug? >> I had success by setting the dgColumns to EMPTY first and later to the new "fewer" columns: >> ## Button "Fewer Columns" >> on mouseUp pMouseButton >> local tColA, tDataA >> local tSum >> lock screen >> >> ## !! >> set the pgColumns of widget "myTable" to EMPTY >> ## !! >> >> put "rowname" into tColA[1]["name"] >> ... >> >>> On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: >>>> Hi to any polygrid developers out there, >>>> >>>> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 >>>> >>>> I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed >>>> >>>> Any thoughts to a work-around? >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Aug 24 17:49:36 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 17:49:36 -0400 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: References: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> Message-ID: <540a48b9-8965-b2c9-ef2a-06ead0677240@researchware.com> In this particular case, the table being displayed in the polygrid is based on datasets that researcher loads into our application and the number of rows and columns can vary widely as well as the column names/labels and type of data. Rather than conduct a large analysis to determine which of N columns (and it could be 0 to N) have changed, it is easier to update pgColumns. In one dataset N could be 3 and in the next 1500 (yes, for real) On 8/24/2023 4:53 PM, Bob Sneidar via use-livecode wrote: > Why not get the pgColumns first, alter only the array element needed for the specific column(s), then set the pgColumns of the PolyGrid? > > Bob S > > >> On Aug 24, 2023, at 1:26 PM, Paul Dupuis via use-livecode wrote: >> >> Thanks Klaus. >> >> I may use this method rather than the overhead of clearing and setting the whole pgData property. >> >> Actually, the more I think about it, neither "method" should be needed. This is a polygrid bug. If you set the pgColumsn to fewer column, regardless of whether there is left over data in pgData, only the columns in the currently set pgColumns should be seen. >> >> >> On 8/24/2023 2:34 PM, Klaus major-k via use-livecode wrote: >>> Hi Paul, >>> >>>> Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode : >>>> >>>> Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns >>>> You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. >>>> Perhaps this is a documentation bug? >>> I had success by setting the dgColumns to EMPTY first and later to the new "fewer" columns: >>> ## Button "Fewer Columns" >>> on mouseUp pMouseButton >>> local tColA, tDataA >>> local tSum >>> lock screen >>> >>> ## !! >>> set the pgColumns of widget "myTable" to EMPTY >>> ## !! >>> >>> put "rowname" into tColA[1]["name"] >>> ... >>> >>>> On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: >>>>> Hi to any polygrid developers out there, >>>>> >>>>> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 >>>>> >>>>> I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed >>>>> >>>>> Any thoughts to a work-around? >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> https://www.major-k.de/bass >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Aug 24 19:17:27 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 24 Aug 2023 19:17:27 -0400 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> Message-ID: polygrid the api is similar, but they also have some nice additional features. i have ripped all my dg's and replaced them with pg's. now, if you're using custom templates, have a look at the pl - polyList. On Thu, Aug 24, 2023 at 2:12 PM Bob Sneidar via use-livecode wrote: > > Ah thanks for that. Yes, I knew how to nest behaviors for datagrids, but I never use the Project Browser because of issues I had many years ago. I may have another look. > > What is a “pg”? I make extensive use of Datagrid properties, and whatever I might replace them with needs to provide ALL their functionality. > > Bob S > > > > On Aug 24, 2023, at 10:15 AM, Mike Kerner via use-livecode wrote: > > > > i'm pretty sure you can set a dg's behavior. then you would set the > > behavior of that behavior to the button behavior (button id 1005 of > > stack "revDataGridLibrary"), OR you can include THAT script, > > separately, set that as the behavior, and modify it > > (but, what you should really do is remove your dg's and replace them > > with pg's, imho. they're much faster and more flexible and powerful). > > the project browser has a button for each behavior in the chain of an > > object. i'm pretty sure that levure baker's assistant does, too. > > > > On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode > > wrote: > >> > >> There is also the Advanced button in the property inspector (looks like one large gear with two smaller ones) where you can type the behavior, and also has the target icon. Also, you shouldn’t have to do that every time. Once should be enough if you save the stack afterwards. > >> > >> I note that Datagrids have no way to set the behavior, since they depend on their default behavior. It was discussed long ago when nested behaviors became a thing, that there ought to be a way to edit a list of behaviors of an object. In fact it shouldn’t be that difficult to make a Behavior Browser widget of some sort. Hmmm... > >> > >> Bob S > >> > >> > >>> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode wrote: > >>> > >>> I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar > >>> > >>>> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: > >>>> > >>>> you probably know this: in the property inspector, there's a panel for > >>>> behavior, so you can just select the behavior from a menu button, > >>>> without having to type it > >>>> > >>>> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode > >>>> wrote: > >>>>> > >>>>> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar > >>>>> > >>>>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: > >>>>>> > >>>>>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. > >>>>>> > >>>>>> So I do it all in preOpen... scripts, doing something like > >>>>>> > >>>>>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ > >>>>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" > >>>>>> > >>>>>> Alex. > >>>>>> > >>>>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > >>>>>>> I am misremembering things about Behaviors. > >>>>>>> > >>>>>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. > >>>>>>> > >>>>>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? > >>>>>>> _______________________________________________ > >>>>>>> use-livecode mailing list > >>>>>>> use-livecode at lists.runrev.com > >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>>> > >>>> > >>>> -- > >>>> On the first day, God created the heavens and the Earth > >>>> On the second day, God created the oceans. > >>>> On the third day, God put the animals on hold for a few hours, > >>>> and did a little diving. > >>>> And God said, "This is good." > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From paul at researchware.com Thu Aug 24 19:56:29 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 19:56:29 -0400 Subject: Polygrid sorting Message-ID: The Polygrid, unlike the Datagrid, has no built in column sorting. You have to roll your own. Before I write my own, has anyone written a column sort (i.e click on a column header to sort by it) for a Poly grid they'd care to share? From gcanyon at gmail.com Thu Aug 24 22:04:04 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 24 Aug 2023 22:04:04 -0400 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> Message-ID: I'll admit it's not very intuitive, but: In Navigator, right-click any button. On the context menu, select Copy > Objects. Navigate to any control or card, stack, etc. Bookmarks are fine for this as well. Right-click any other control. On the context menu, select Set Copied Btn as Behavior. On Thu, Aug 24, 2023 at 7:19 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > polygrid > the api is similar, but they also have some nice additional features. > i have ripped all my dg's and replaced them with pg's. > now, if you're using custom templates, have a look at the pl - polyList. > > On Thu, Aug 24, 2023 at 2:12 PM Bob Sneidar via use-livecode > wrote: > > > > Ah thanks for that. Yes, I knew how to nest behaviors for datagrids, but > I never use the Project Browser because of issues I had many years ago. I > may have another look. > > > > What is a “pg”? I make extensive use of Datagrid properties, and > whatever I might replace them with needs to provide ALL their functionality. > > > > Bob S > > > > > > > On Aug 24, 2023, at 10:15 AM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > i'm pretty sure you can set a dg's behavior. then you would set the > > > behavior of that behavior to the button behavior (button id 1005 of > > > stack "revDataGridLibrary"), OR you can include THAT script, > > > separately, set that as the behavior, and modify it > > > (but, what you should really do is remove your dg's and replace them > > > with pg's, imho. they're much faster and more flexible and powerful). > > > the project browser has a button for each behavior in the chain of an > > > object. i'm pretty sure that levure baker's assistant does, too. > > > > > > On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode > > > wrote: > > >> > > >> There is also the Advanced button in the property inspector (looks > like one large gear with two smaller ones) where you can type the behavior, > and also has the target icon. Also, you shouldn’t have to do that every > time. Once should be enough if you save the stack afterwards. > > >> > > >> I note that Datagrids have no way to set the behavior, since they > depend on their default behavior. It was discussed long ago when nested > behaviors became a thing, that there ought to be a way to edit a list of > behaviors of an object. In fact it shouldn’t be that difficult to make a > Behavior Browser widget of some sort. Hmmm... > > >> > > >> Bob S > > >> > > >> > > >>> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > > >>> > > >>> I, too, have discovered the target icon to the right of the behavior > object field in the property inspector. Alas, using that that I see only > buttons on the current card (and stacks). I don’t see a way to navigate to > a different card and select a button there. I might have missed it. — Dar > > >>> > > >>>> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > >>>> > > >>>> you probably know this: in the property inspector, there's a panel > for > > >>>> behavior, so you can just select the behavior from a menu button, > > >>>> without having to type it > > >>>> > > >>>> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode > > >>>> wrote: > > >>>>> > > >>>>> I figured out how to do it in the IDE. I needed to include “of > stack” in the reference. — Dar > > >>>>> > > >>>>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode < > use-livecode at lists.runrev.com> wrote: > > >>>>>> > > >>>>>> Not sure how it works in the IDE - seems a problem because it > only presents button in the current stack. > > >>>>>> > > >>>>>> So I do it all in preOpen... scripts, doing something like > > >>>>>> > > >>>>>>> set the behavior of fld "F" of grp tmpName to the long id of > button "RichTextFieldBehaviour" of \ > > >>>>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My > Livecode/Libraries/richText.livecode" > > >>>>>> > > >>>>>> Alex. > > >>>>>> > > >>>>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > > >>>>>>> I am misremembering things about Behaviors. > > >>>>>>> > > >>>>>>> I have a card with my behavior buttons, but I can’t seem to > point to buttons on that card. Maybe, I’m remembering what I did long ago > with front scripts. > > >>>>>>> > > >>>>>>> I suppose I can use substacks, but I’m worried that the stacks > would be in the message path. Is there a way to keep the stack out of the > message path? > > >>>>>>> _______________________________________________ > > >>>>>>> use-livecode mailing list > > >>>>>>> use-livecode at lists.runrev.com > > >>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>>>> > > >>>>>> _______________________________________________ > > >>>>>> use-livecode mailing list > > >>>>>> use-livecode at lists.runrev.com > > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>>>> > > >>>>> > > >>>>> > > >>>>> _______________________________________________ > > >>>>> use-livecode mailing list > > >>>>> use-livecode at lists.runrev.com > > >>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>> > > >>>> > > >>>> > > >>>> -- > > >>>> On the first day, God created the heavens and the Earth > > >>>> On the second day, God created the oceans. > > >>>> On the third day, God put the animals on hold for a few hours, > > >>>> and did a little diving. > > >>>> And God said, "This is good." > > >>>> > > >>>> _______________________________________________ > > >>>> use-livecode mailing list > > >>>> use-livecode at lists.runrev.com > > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>> > > >>> > > >>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > -- > > > On the first day, God created the heavens and the Earth > > > On the second day, God created the oceans. > > > On the third day, God put the animals on hold for a few hours, > > > and did a little diving. > > > And God said, "This is good." > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > 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 heather at livecode.com Fri Aug 25 04:13:14 2023 From: heather at livecode.com (Heather Laine) Date: Fri, 25 Aug 2023 09:13:14 +0100 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> Message-ID: <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. Probably not the issue but you never know... Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: > > Hi all, > > I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. > > I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. > Code signing seems to work fine but when I get to the Notarization step I always get an > "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. > > I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. > > So far, this is what I’ve tried with the same result > > 1) Verified developer account in good status with Apple > 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, > 3) Multiple checks of my credentials in the parameters I’m using > 4) Setting up a new app specific password on my account > 5) Trying with a different Livecode application > 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. > > 7) Repeat everything on a brand new user account on my Mac > 8) Sought help through devprograms at apple.com > > > I’ve done codesigning and notarization many times before with the same developer account with no issues. > What’s new here for me is using NotaryTool and the app-specific password. > > I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) > > Thanks, > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Fri Aug 25 05:16:44 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 25 Aug 2023 12:16:44 +0300 Subject: Polygrid sorting In-Reply-To: References: Message-ID: Hello Paul, See the example in the dictionary for the "headerClick" message: local sDirection on headerClick pColumnNumber local tText put the text of me into tText put not sDirection[pColumnNumber] into sDirection[pColumnNumber] set the itemDel to tab # Sort data by this column. if sDirection[pColumnNumber] then sort lines of tText ascending by item pColumnNumber of each else sort lines of tText descending by item pColumnNumber of each end if set the text of me to tText end headerClick Kind regards, Panos -- On Fri, 25 Aug 2023 at 02:57, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > The Polygrid, unlike the Datagrid, has no built in column sorting. You > have to roll your own. > > Before I write my own, has anyone written a column sort (i.e click on a > column header to sort by it) for a Poly grid they'd care to share? > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Fri Aug 25 07:04:21 2023 From: paul at researchware.com (Paul Dupuis) Date: Fri, 25 Aug 2023 07:04:21 -0400 Subject: Polygrid sorting In-Reply-To: References: Message-ID: Thank you Panos! I must be going blind not to have seen the example when I clicked on the Dictionary entry for the message! On 8/25/2023 5:16 AM, panagiotis m via use-livecode wrote: > Hello Paul, > > See the example in the dictionary for the "headerClick" message: > > local sDirection > > on headerClick pColumnNumber > local tText > > put the text of me into tText > put not sDirection[pColumnNumber] into sDirection[pColumnNumber] > > set the itemDel to tab > > # Sort data by this column. > if sDirection[pColumnNumber] then > sort lines of tText ascending by item pColumnNumber of each > else > sort lines of tText descending by item pColumnNumber of each > end if > > set the text of me to tText > end headerClick > > Kind regards, > Panos > > -- > > On Fri, 25 Aug 2023 at 02:57, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> The Polygrid, unlike the Datagrid, has no built in column sorting. You >> have to roll your own. >> >> Before I write my own, has anyone written a column sort (i.e click on a >> column header to sort by it) for a Poly grid they'd care to share? >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Fri Aug 25 09:10:22 2023 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Fri, 25 Aug 2023 13:10:22 +0000 Subject: Merging PDF pages Message-ID: It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? Thanks. ~Roger From craig at starfirelighting.com Fri Aug 25 09:33:44 2023 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 25 Aug 2023 09:33:44 -0400 Subject: Merging PDF pages In-Reply-To: References: Message-ID: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> Hi. Sure. Try this in a button on card 1 of a new stack with, say, three cards: on mouseUp get the desktop folder open printing to pdf it & "/" & “yourNamehere" & ".pdf" repeat with x = 1 to 3 print card x end repeat close printing end mouseUp And I wonder if the new pdf widget has that built in. Craig > On Aug 25, 2023, at 9:10 AM, Eller, Roger via use-livecode wrote: > > It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? > > Thanks. > > ~Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Aug 25 09:39:56 2023 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 25 Aug 2023 09:39:56 -0400 Subject: Merging PDF pages In-Reply-To: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> References: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> Message-ID: <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> Hmmm. Rereading, did you want to be able to collect existing pdf documents, read them, and then output a single new PDF? If so, I guess you can import those documents as images on successive cards, and do what I posted earlier. Seems clunky, but then you are asking LC to do something clunky. Craig > On Aug 25, 2023, at 9:33 AM, Craig Newman via use-livecode wrote: > > Hi. > > Sure. Try this in a button on card 1 of a new stack with, say, three cards: > > on mouseUp > > get the desktop folder > > open printing to pdf it & "/" & “yourNamehere" & ".pdf" > > repeat with x = 1 to 3 > > print card x > > end repeat > > close printing > > end mouseUp > > > > And I wonder if the new pdf widget has that built in. > > > > Craig > > >> On Aug 25, 2023, at 9:10 AM, Eller, Roger via use-livecode wrote: >> >> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >> >> Thanks. >> >> ~Roger >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Aug 25 09:58:10 2023 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 25 Aug 2023 16:58:10 +0300 Subject: Merging PDF pages In-Reply-To: <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> References: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> Message-ID: <89e805a0-da4d-4468-ac39-f79d31e2268e@gmail.com> Humph . . . importing documents at images and then knitting them together . . . be aware that you will lose one the most valuable things about a PDF document: the embedded text layer. Richmond. On 25.08.23 16:39, Craig Newman via use-livecode wrote: > Hmmm. > > Rereading, did you want to be able to collect existing pdf documents, read them, and then output a single new PDF? If so, I guess you can import those documents as images on successive cards, and do what I posted earlier. > > Seems clunky, but then you are asking LC to do something clunky. > > Craig > >> On Aug 25, 2023, at 9:33 AM, Craig Newman via use-livecode wrote: >> >> Hi. >> >> Sure. Try this in a button on card 1 of a new stack with, say, three cards: >> >> on mouseUp >> >> get the desktop folder >> >> open printing to pdf it & "/" & yourNamehere" & ".pdf" >> >> repeat with x = 1 to 3 >> >> print card x >> >> end repeat >> >> close printing >> >> end mouseUp >> >> >> >> And I wonder if the new pdf widget has that built in. >> >> >> >> Craig >> >> >>> On Aug 25, 2023, at 9:10 AM, Eller, Roger via use-livecode wrote: >>> >>> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >>> >>> Thanks. >>> >>> ~Roger >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Aug 25 10:03:02 2023 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 25 Aug 2023 10:03:02 -0400 Subject: Merging PDF pages In-Reply-To: <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> References: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> Message-ID: <73387718-83BB-469A-AE58-137DB4F8C1D9@starfirelighting.com> Richmond. Did I mention this was a bit clunky? Craig > On Aug 25, 2023, at 9:39 AM, Craig Newman via use-livecode wrote: > > Hmmm. > > Rereading, did you want to be able to collect existing pdf documents, read them, and then output a single new PDF? If so, I guess you can import those documents as images on successive cards, and do what I posted earlier. > > Seems clunky, but then you are asking LC to do something clunky. > > Craig > >> On Aug 25, 2023, at 9:33 AM, Craig Newman via use-livecode wrote: >> >> Hi. >> >> Sure. Try this in a button on card 1 of a new stack with, say, three cards: >> >> on mouseUp >> >> get the desktop folder >> >> open printing to pdf it & "/" & “yourNamehere" & ".pdf" >> >> repeat with x = 1 to 3 >> >> print card x >> >> end repeat >> >> close printing >> >> end mouseUp >> >> >> >> And I wonder if the new pdf widget has that built in. >> >> >> >> Craig >> >> >>> On Aug 25, 2023, at 9:10 AM, Eller, Roger via use-livecode wrote: >>> >>> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >>> >>> Thanks. >>> >>> ~Roger >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri Aug 25 10:22:07 2023 From: paul at researchware.com (Paul Dupuis) Date: Fri, 25 Aug 2023 10:22:07 -0400 Subject: Merging PDF pages In-Reply-To: References: Message-ID: <0d130f7d-9c5c-c18e-ecfe-b5c83a4cd5ab@researchware.com> The short answer is NO. There is nothing built into Livecode to take a set fo existing PDF files and append them to create a readable PDF that is them all stitched together. Neither the XPDF external nor the PDF widget will do this. You best option is to use some 3rd party command line utility that will merge PDF files that works on the platform or platforms your want to do this on and use the Livecode shell() function to call that command line utility. If this is going to be a distributed standalone, you can actually read the utility as a binary file and compress it as a staved property in your application, that can uncompress and install it on any target computer. We do this with the popular free open-source video tool ffmpeg for macOS and WIndows. Our app install it if needed on the target computer from a compressed copy bundled into our app and we use SHELL() to call it to do several video operations that can't be done in Livecode. Paul Dupuis Researchware On 8/25/2023 9:10 AM, Eller, Roger via use-livecode wrote: > It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? > > Thanks. > > ~Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bleiler at buffalo.edu Fri Aug 25 10:37:57 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 25 Aug 2023 14:37:57 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> Message-ID: <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> Thank you Heather, I’ll take a look. Matthias Rebbe is also trying to help me find the problem. Regards, Tim Bleiler > On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode wrote: > > Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. > > Probably not the issue but you never know... > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > http://www.livecode.com/ > > > >> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >> >> Hi all, >> >> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >> >> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >> Code signing seems to work fine but when I get to the Notarization step I always get an >> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >> >> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >> >> So far, this is what I’ve tried with the same result >> >> 1) Verified developer account in good status with Apple >> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >> 3) Multiple checks of my credentials in the parameters I’m using >> 4) Setting up a new app specific password on my account >> 5) Trying with a different Livecode application >> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >> >> 7) Repeat everything on a brand new user account on my Mac >> 8) Sought help through devprograms at apple.com >> >> >> I’ve done codesigning and notarization many times before with the same developer account with no issues. >> What’s new here for me is using NotaryTool and the app-specific password. >> >> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >> >> Thanks, >> >> Tim Bleiler, Ph.D. >> Instructional Designer, HSIT >> University at Buffalo >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Aug 25 10:44:08 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 16:44:08 +0200 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> Message-ID: <186D0CBE-2783-44A3-9040-5D4395E1F269@m-r-d.de> The Keychain.app does not have any influence on passwords entered in the command line. Passwords entered in terminal will not be replaced by Keychain.app. > Am 25.08.2023 um 16:37 schrieb Timothy Bleiler via use-livecode : > > Thank you Heather, > > I’ll take a look. Matthias Rebbe is also trying to help me find the problem. > > Regards, > Tim Bleiler > > > >> On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: >> >> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. >> >> Probably not the issue but you never know... >> >> Best Regards, >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> http://www.livecode.com/ >> >> >> >>> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >>> >>> Hi all, >>> >>> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >>> >>> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >>> Code signing seems to work fine but when I get to the Notarization step I always get an >>> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >>> >>> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >>> >>> So far, this is what I’ve tried with the same result >>> >>> 1) Verified developer account in good status with Apple >>> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >>> 3) Multiple checks of my credentials in the parameters I’m using >>> 4) Setting up a new app specific password on my account >>> 5) Trying with a different Livecode application >>> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >>> >>> 7) Repeat everything on a brand new user account on my Mac >>> 8) Sought help through devprograms at apple.com >>> >>> >>> I’ve done codesigning and notarization many times before with the same developer account with no issues. >>> What’s new here for me is using NotaryTool and the app-specific password. >>> >>> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >>> >>> Thanks, >>> >>> Tim Bleiler, Ph.D. >>> Instructional Designer, HSIT >>> University at Buffalo >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Aug 25 10:52:55 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 25 Aug 2023 17:52:55 +0300 Subject: Merging PDF pages In-Reply-To: <0d130f7d-9c5c-c18e-ecfe-b5c83a4cd5ab@researchware.com> References: <0d130f7d-9c5c-c18e-ecfe-b5c83a4cd5ab@researchware.com> Message-ID: Hello all, There is a built-in utility on MacOS for merging PDFs. You can call it from "shell", as Paul suggested. This seems to work - tested on MacOS Mojave. It merges "test1.pdf" and "test2.pdf" into "merged.pdf" on Desktop. Just check that the path of tApp actually exists in modern MacOS as well. on mouseUp pButtonNumber local tShell, tApp put quote & "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" & quote \ into tApp put tApp && "-o ~/Desktop/merged.pdf ~/Desktop/test1.pdf ~/Desktop/test2.pdf" \ into tShell get shell(tShell) end mouseUp Cheers, Panos -- On Fri, 25 Aug 2023 at 17:23, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > The short answer is NO. There is nothing built into Livecode to take a > set fo existing PDF files and append them to create a readable PDF that > is them all stitched together. Neither the XPDF external nor the PDF > widget will do this. > > You best option is to use some 3rd party command line utility that will > merge PDF files that works on the platform or platforms your want to do > this on and use the Livecode shell() function to call that command line > utility. > > If this is going to be a distributed standalone, you can actually read > the utility as a binary file and compress it as a staved property in > your application, that can uncompress and install it on any target > computer. > > We do this with the popular free open-source video tool ffmpeg for macOS > and WIndows. Our app install it if needed on the target computer from a > compressed copy bundled into our app and we use SHELL() to call it to do > several video operations that can't be done in Livecode. > > Paul Dupuis > Researchware > > > > On 8/25/2023 9:10 AM, Eller, Roger via use-livecode wrote: > > It's been a while since I've posted a question here. Is it possible to > use livecode script to merge multiple 1-page PDFs into a multipage PDF > without using Acrobat or other 3rd party software? > > > > Thanks. > > > > ~Roger > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Fri Aug 25 11:00:23 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 17:00:23 +0200 Subject: Merging PDF pages In-Reply-To: References: Message-ID: On which OS are you planning to do this? On Windows and macOS you could make use of PDFTK server from PDFLabs.com On macOS PDFTK Server normally has to be installed to use it. But you could follow these steps here to get it working w/o installation. 1. Do not use the d/l link for pdftk Server from the pdfLabs website. That version will not work on macOS11 and up. Instead download this version of PDFTK Server. Sid Steward created a new version but did not update the d/l link https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg 2. to extract the pkg run the following in Terminal pkgutil --expand If the source path to the pkg contains spaces then put quotes around the path. After extraction you'll find the 2 folders lib and bin and some others .The 2 mentioned ones are needed. Now in LC you can use shell shell function to call the pdftk Example set the folder to "path to the bin folder" put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") would create combine the three file..pdf file into a new one called mynewfile.pdf I wrote this in a hurry, so i might have some error in my explanation. Just ask, if you have problems. Regards, Matthias > Am 25.08.2023 um 15:10 schrieb Eller, Roger via use-livecode : > > It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? > > Thanks. > > ~Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Fri Aug 25 11:24:08 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 25 Aug 2023 16:24:08 +0100 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> Message-ID: <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> Hi Tim, Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. Cheers and best of luck, Mark > On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: > > Thank you Heather, > > I’ll take a look. Matthias Rebbe is also trying to help me find the problem. > > Regards, > Tim Bleiler > > > >> On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: >> >> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. >> >> Probably not the issue but you never know... >> >> Best Regards, >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> http://www.livecode.com/ >> >> >> >>> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >>> >>> Hi all, >>> >>> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >>> >>> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >>> Code signing seems to work fine but when I get to the Notarization step I always get an >>> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >>> >>> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >>> >>> So far, this is what I’ve tried with the same result >>> >>> 1) Verified developer account in good status with Apple >>> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >>> 3) Multiple checks of my credentials in the parameters I’m using >>> 4) Setting up a new app specific password on my account >>> 5) Trying with a different Livecode application >>> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >>> >>> 7) Repeat everything on a brand new user account on my Mac >>> 8) Sought help through devprograms at apple.com >>> >>> >>> I’ve done codesigning and notarization many times before with the same developer account with no issues. >>> What’s new here for me is using NotaryTool and the app-specific password. >>> >>> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >>> >>> Thanks, >>> >>> Tim Bleiler, Ph.D. >>> Instructional Designer, HSIT >>> University at Buffalo >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Aug 25 14:16:01 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 20:16:01 +0200 Subject: Merging PDF pages In-Reply-To: References: Message-ID: <37B87F81-5AC8-40C7-AA0D-E518B7688A12@m-r-d.de> Just noticed that my steps are missing something. So here's version 2 of it. 1. download https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg 2. to extract the pkg run the following in Terminal pkgutil --expand If the source path to the pkg contains spaces then put quotes around the path. 3. Now open the destination path to which you've extracted the .pkg. There should be another pkg pdftk.pkg 4. right click the file pdftk.pkg and select "show package content" 5. Now you should see a file payload. Right click that file and select "open with" and select the archive utility to decompress the file payload. 6. After extraction you'll find a new folder "Payload 2" 7. open that folder. In that folder you will find the Lib and Bin folder. Copy those folder to another location. Now in LC you can use shell shell function to call the pdftk Example set the folder to "path to the bin folder" put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") would create combine the three file..pdf file into a new one called mynewfile.pdf To use pdftk server in your standalone you just have to include both folders in your standalone. On Windows you first have to run the setup of pdftk server. During the installation you can select the folder where pdftk server shall be installed. You then can copy the bin folder from that installation folder and use it with your standalone on any other computer without the need to run the setup on that computer. > Am 25.08.2023 um 17:00 schrieb matthias rebbe via use-livecode : > > On which OS are you planning to do this? > > On Windows and macOS you could make use of PDFTK server from PDFLabs.com > > On macOS PDFTK Server normally has to be installed to use it. But you could follow these steps here to get it working w/o installation. > > 1. Do not use the d/l link for pdftk Server from the pdfLabs website. That version will not work on macOS11 and up. Instead download this version of PDFTK Server. Sid Steward created a new version but did not update the d/l link > https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg > > 2. to extract the pkg run the following in Terminal > pkgutil --expand > > If the source path to the pkg contains spaces then put quotes around the path. > > After extraction you'll find the 2 folders lib and bin and some others .The 2 mentioned ones are needed. > > Now in LC you can use shell shell function to call the pdftk > > Example > set the folder to "path to the bin folder" > > put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") > > > would create combine the three file..pdf file into a new one called mynewfile.pdf > > > I wrote this in a hurry, so i might have some error in my explanation. Just ask, if you have problems. > > Regards, > > Matthias > >> Am 25.08.2023 um 15:10 schrieb Eller, Roger via use-livecode : >> >> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >> >> Thanks. >> >> ~Roger >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Fri Aug 25 14:38:42 2023 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 25 Aug 2023 11:38:42 -0700 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> Message-ID: <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> I use Matthias' brilliant “mrSignNotarizeHelperV4.livecode” project regularly and when I’ve had a problem in the past, ticking the “Debug mode” checkbox (which places each step of the terminal commands in the message box when you click the “Start” button) and then manually entering each of these steps as a command line in Terminal.app, has been helpful in figuring out exactly what step was failing. And sometimes, why. -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ > On Aug 25, 2023, at 8:24 AM, Mark Smith via use-livecode wrote: > > Hi Tim, > > Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. > > Cheers and best of luck, > Mark > >> On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: >> >> Thank you Heather, >> >> I’ll take a look. Matthias Rebbe is also trying to help me find the problem. >> >> Regards, >> Tim Bleiler >> >> >> >>> On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: >>> >>> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. >>> >>> Probably not the issue but you never know... >>> >>> Best Regards, >>> >>> Heather >>> >>> Heather Laine >>> Customer Services Manager >>> LiveCode Ltd >>> http://www.livecode.com/ >>> >>> >>> >>>> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >>>> >>>> Hi all, >>>> >>>> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >>>> >>>> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >>>> Code signing seems to work fine but when I get to the Notarization step I always get an >>>> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >>>> >>>> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >>>> >>>> So far, this is what I’ve tried with the same result >>>> >>>> 1) Verified developer account in good status with Apple >>>> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >>>> 3) Multiple checks of my credentials in the parameters I’m using >>>> 4) Setting up a new app specific password on my account >>>> 5) Trying with a different Livecode application >>>> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >>>> >>>> 7) Repeat everything on a brand new user account on my Mac >>>> 8) Sought help through devprograms at apple.com >>>> >>>> >>>> I’ve done codesigning and notarization many times before with the same developer account with no issues. >>>> What’s new here for me is using NotaryTool and the app-specific password. >>>> >>>> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >>>> >>>> Thanks, >>>> >>>> Tim Bleiler, Ph.D. >>>> Instructional Designer, HSIT >>>> University at Buffalo >>>> From bleiler at buffalo.edu Fri Aug 25 16:34:24 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 25 Aug 2023 20:34:24 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: I think I’ve solved it. I’m very grateful to Matthias both for his code signing tool and his personal help with this problem. In the end it looks like the trouble was caused by a combination of my limited experience with the process and a lack of helpful feedback from Apple’s online tools at critical points. Here’s what happened. - I have 2 user accounts on my Mac that use different Apple IDs. - Somehow the one I use for the Apple developer account had made my Mac NOT a trusted device for the Apple ID I use for development. I have no idea how this happened. You can verify that your device is trusted at appleid.apple.com for your account under “Devices”. - Despite the device not being trusted for the account, the website let me think I’d created an app-specific password. I hadn’t succeed, but my lack of experience prevented me from realizing that the second step of the process is getting the actual password back from Apple and copying it down. I didn’t get anything, no error message, so in my ignorance I thought the seed string I’d typed in WAS the password. So, I did NOT have an actual app-specific password to use in the NotaryTool commands. This caused all commands dependent on an app-specific password to fail. What solved it for me was to go to System Settings, sign out of the Apple account on the mac and sign back in again. Then sign back in to appleid.apple.com, verify that my Mac was a trusted device on my developer account and then create a NEW app-specific password. This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. Once I had the new app-specific password and my Mac was a trusted device in my developer account, the notaryTool commands worked without errors. It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! On Aug 25, 2023, at 2:38 PM, scott--- via use-livecode wrote: I use Matthias' brilliant “mrSignNotarizeHelperV4.livecode” project regularly and when I’ve had a problem in the past, ticking the “Debug mode” checkbox (which places each step of the terminal commands in the message box when you click the “Start” button) and then manually entering each of these steps as a command line in Terminal.app, has been helpful in figuring out exactly what step was failing. And sometimes, why. -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Felementarysoftware.com%2F&data=05%7C01%7Cbleiler%40buffalo.edu%7Ccc7afb2eab1b4bcb60b608dba59aa569%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C638285855863548154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2Fk0TjFvUmYt2BZ9CqydNyA9ZZx34rwuZC3FiprBPQ4s%3D&reserved=0 email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ On Aug 25, 2023, at 8:24 AM, Mark Smith via use-livecode wrote: Hi Tim, Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. Cheers and best of luck, Mark On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: Thank you Heather, I’ll take a look. Matthias Rebbe is also trying to help me find the problem. Regards, Tim Bleiler On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. Probably not the issue but you never know... Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.livecode.com%2F&data=05%7C01%7Cbleiler%40buffalo.edu%7Ccc7afb2eab1b4bcb60b608dba59aa569%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C638285855863548154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Eaw78gb3oD9j4XuzyHu%2FdyRRerM%2FT0GunR2oGocDSzM%3D&reserved=0 On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: Hi all, I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. Code signing seems to work fine but when I get to the Notarization step I always get an "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. So far, this is what I’ve tried with the same result 1) Verified developer account in good status with Apple 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, 3) Multiple checks of my credentials in the parameters I’m using 4) Setting up a new app specific password on my account 5) Trying with a different Livecode application 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. 7) Repeat everything on a brand new user account on my Mac 8) Sought help through devprograms at apple.com I’ve done codesigning and notarization many times before with the same developer account with no issues. What’s new here for me is using NotaryTool and the app-specific password. I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) Thanks, Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Cbleiler%40buffalo.edu%7Ccc7afb2eab1b4bcb60b608dba59aa569%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C638285855863548154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2BC2d%2BPJ7y3SqU33%2FFPPb3WbXaVhQSDtM0jnI3wmepmc%3D&reserved=0 From bleiler at buffalo.edu Fri Aug 25 16:41:28 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 25 Aug 2023 20:41:28 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: <6268B1CD-DE82-4979-814A-B3914DDFB456@buffalo.edu> It’s just not my day. The goofy links in my last post are just supposed to be references to the appleID site. I don’t know how all the rest of that got put in there. I’ve got to be more careful with my copy and paste I guess. > On Aug 25, 2023, at 4:34 PM, Timothy Bleiler via use-livecode wrote: > > I think I’ve solved it. I’m very grateful to Matthias both for his code signing tool and his personal help with this problem. > > In the end it looks like the trouble was caused by a combination of my limited experience with the process and a lack of helpful feedback from Apple’s online tools at critical points. > > Here’s what happened. > - I have 2 user accounts on my Mac that use different Apple IDs. > > - Somehow the one I use for the Apple developer account had made my Mac NOT a trusted device for the Apple ID I use for development. I have no idea how this happened. > You can verify that your device is trusted at appleid.apple.com for your account under “Devices”. > > - Despite the device not being trusted for the account, the website let me think I’d created an app-specific password. I hadn’t succeed, but my lack of experience prevented me from realizing that the second step of the process is getting the actual password back from Apple and copying it down. I didn’t get anything, no error message, so in my ignorance I thought the seed string I’d typed in WAS the password. So, I did NOT have an actual app-specific password to use in the NotaryTool commands. This caused all commands dependent on an app-specific password to fail. > > What solved it for me was to go to System Settings, sign out of the Apple account on the mac and sign back in again. > Then sign back in to appleid.apple.com, verify that my Mac was a trusted device on my developer account and then create a NEW app-specific password. > This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. > > Once I had the new app-specific password and my Mac was a trusted device in my developer account, the notaryTool commands worked without errors. > > It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! > > > > On Aug 25, 2023, at 2:38 PM, scott--- via use-livecode wrote: > > I use Matthias' brilliant “mrSignNotarizeHelperV4.livecode” project regularly and when I’ve had a problem in the past, ticking the “Debug mode” checkbox (which places each step of the terminal commands in the message box when you click the “Start” button) and then manually entering each of these steps as a command line in Terminal.app, has been helpful in figuring out exactly what step was failing. And sometimes, why. > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > On Aug 25, 2023, at 8:24 AM, Mark Smith via use-livecode wrote: > > Hi Tim, > > Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. > > Cheers and best of luck, > Mark > > On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: > > Thank you Heather, > > I’ll take a look. Matthias Rebbe is also trying to help me find the problem. > > Regards, > Tim Bleiler > > > > On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: > > Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. > > Probably not the issue but you never know... > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > http://www.livecode.com/ > > > > On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: > > Hi all, > > I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. > > I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. > Code signing seems to work fine but when I get to the Notarization step I always get an > "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. > > I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. > > So far, this is what I’ve tried with the same result > > 1) Verified developer account in good status with Apple > 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, > 3) Multiple checks of my credentials in the parameters I’m using > 4) Setting up a new app specific password on my account > 5) Trying with a different Livecode application > 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. > > 7) Repeat everything on a brand new user account on my Mac > 8) Sought help through devprograms at apple.com > > > I’ve done codesigning and notarization many times before with the same developer account with no issues. > What’s new here for me is using NotaryTool and the app-specific password. > > I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) > > Thanks, > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Aug 25 17:00:52 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 23:00:52 +0200 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <6268B1CD-DE82-4979-814A-B3914DDFB456@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> <6268B1CD-DE82-4979-814A-B3914DDFB456@buffalo.edu> Message-ID: If you mean that the the link was shown normal and also in sharp bracktes, then that seems to be normal here in the list. I noticed this also in the past. > Am 25.08.2023 um 22:41 schrieb Timothy Bleiler via use-livecode : > > It’s just not my day. The goofy links in my last post are just supposed to be references to the appleID site. I don’t know how all the rest of that got put in there. > I’ve got to be more careful with my copy and paste I guess. > > > >> On Aug 25, 2023, at 4:34 PM, Timothy Bleiler via use-livecode wrote: >> >> I think I’ve solved it. I’m very grateful to Matthias both for his code signing tool and his personal help with this problem. >> >> In the end it looks like the trouble was caused by a combination of my limited experience with the process and a lack of helpful feedback from Apple’s online tools at critical points. >> >> Here’s what happened. >> - I have 2 user accounts on my Mac that use different Apple IDs. >> >> - Somehow the one I use for the Apple developer account had made my Mac NOT a trusted device for the Apple ID I use for development. I have no idea how this happened. >> You can verify that your device is trusted at appleid.apple.com for your account under “Devices”. >> >> - Despite the device not being trusted for the account, the website let me think I’d created an app-specific password. I hadn’t succeed, but my lack of experience prevented me from realizing that the second step of the process is getting the actual password back from Apple and copying it down. I didn’t get anything, no error message, so in my ignorance I thought the seed string I’d typed in WAS the password. So, I did NOT have an actual app-specific password to use in the NotaryTool commands. This caused all commands dependent on an app-specific password to fail. >> >> What solved it for me was to go to System Settings, sign out of the Apple account on the mac and sign back in again. >> Then sign back in to appleid.apple.com, verify that my Mac was a trusted device on my developer account and then create a NEW app-specific password. >> This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. >> >> Once I had the new app-specific password and my Mac was a trusted device in my developer account, the notaryTool commands worked without errors. >> >> It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! >> >> >> >> On Aug 25, 2023, at 2:38 PM, scott--- via use-livecode wrote: >> >> I use Matthias' brilliant “mrSignNotarizeHelperV4.livecode” project regularly and when I’ve had a problem in the past, ticking the “Debug mode” checkbox (which places each step of the terminal commands in the message box when you click the “Start” button) and then manually entering each of these steps as a command line in Terminal.app, has been helpful in figuring out exactly what step was failing. And sometimes, why. >> >> -- >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-360-734-4701 >> ------------------------------------------------------ >> >> On Aug 25, 2023, at 8:24 AM, Mark Smith via use-livecode wrote: >> >> Hi Tim, >> >> Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. >> >> Cheers and best of luck, >> Mark >> >> On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: >> >> Thank you Heather, >> >> I’ll take a look. Matthias Rebbe is also trying to help me find the problem. >> >> Regards, >> Tim Bleiler >> >> >> >> On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: >> >> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. >> >> Probably not the issue but you never know... >> >> Best Regards, >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> http://www.livecode.com/ >> >> >> >> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >> >> Hi all, >> >> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >> >> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >> Code signing seems to work fine but when I get to the Notarization step I always get an >> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >> >> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >> >> So far, this is what I’ve tried with the same result >> >> 1) Verified developer account in good status with Apple >> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >> 3) Multiple checks of my credentials in the parameters I’m using >> 4) Setting up a new app specific password on my account >> 5) Trying with a different Livecode application >> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >> >> 7) Repeat everything on a brand new user account on my Mac >> 8) Sought help through devprograms at apple.com >> >> >> I’ve done codesigning and notarization many times before with the same developer account with no issues. >> What’s new here for me is using NotaryTool and the app-specific password. >> >> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >> >> Thanks, >> >> Tim Bleiler, Ph.D. >> Instructional Designer, HSIT >> University at Buffalo >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Aug 25 17:04:46 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 25 Aug 2023 21:04:46 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: <94EB6397-D25E-4140-9132-88D7C05F88BB@iotecdigital.com> Yes, this is the advantage of an. App specific password. It’s unrecoverable by you, and so by anyone else. Bob S On Aug 25, 2023, at 1:34 PM, Timothy Bleiler via use-livecode wrote: This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. From roger.e.eller at sealedair.com Fri Aug 25 17:15:38 2023 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Fri, 25 Aug 2023 21:15:38 +0000 Subject: Merging PDF pages In-Reply-To: <37B87F81-5AC8-40C7-AA0D-E518B7688A12@m-r-d.de> References: <37B87F81-5AC8-40C7-AA0D-E518B7688A12@m-r-d.de> Message-ID: Thank you for this and all the details, Matthias. I will give it a try. ~Roger ________________________________ From: use-livecode on behalf of matthias rebbe via use-livecode Sent: Friday, August 25, 2023 2:16 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: Merging PDF pages CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Just noticed that my steps are missing something. So here's version 2 of it. 1. download https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pdflabs.com%2Ftools%2Fpdftk-the-pdf-toolkit%2Fpdftk_server-2.02-mac_osx-10.11-setup.pkg&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842350859203%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tEXnKnbF7xT3GjOMoYKIiM%2Fv3JwkS7pzKRM3op80KMI%3D&reserved=0 2. to extract the pkg run the following in Terminal pkgutil --expand If the source path to the pkg contains spaces then put quotes around the path. 3. Now open the destination path to which you've extracted the .pkg. There should be another pkg pdftk.pkg 4. right click the file pdftk.pkg and select "show package content" 5. Now you should see a file payload. Right click that file and select "open with" and select the archive utility to decompress the file payload. 6. After extraction you'll find a new folder "Payload 2" 7. open that folder. In that folder you will find the Lib and Bin folder. Copy those folder to another location. Now in LC you can use shell shell function to call the pdftk Example set the folder to "path to the bin folder" put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") would create combine the three file..pdf file into a new one called mynewfile.pdf To use pdftk server in your standalone you just have to include both folders in your standalone. On Windows you first have to run the setup of pdftk server. During the installation you can select the folder where pdftk server shall be installed. You then can copy the bin folder from that installation folder and use it with your standalone on any other computer without the need to run the setup on that computer. > Am 25.08.2023 um 17:00 schrieb matthias rebbe via use-livecode : > > On which OS are you planning to do this? > > On Windows and macOS you could make use of PDFTK server from PDFLabs.com > > > On macOS PDFTK Server normally has to be installed to use it. But you could follow these steps here to get it working w/o installation. > > 1. Do not use the d/l link for pdftk Server from the pdfLabs website. That version will not work on macOS11 and up. Instead download this version of PDFTK Server. Sid Steward created a new version but did not update the d/l link > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pdflabs.com%2Ftools%2Fpdftk-the-pdf-toolkit%2Fpdftk_server-2.02-mac_osx-10.11-setup.pkg&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=S5yjsFoOrBWQY%2FKUhQbD6WZxAzuRiBOK6Yrval2H1Q4%3D&reserved=0 > > 2. to extract the pkg run the following in Terminal > pkgutil --expand > > If the source path to the pkg contains spaces then put quotes around the path. > > After extraction you'll find the 2 folders lib and bin and some others .The 2 mentioned ones are needed. > > Now in LC you can use shell shell function to call the pdftk > > Example > set the folder to "path to the bin folder" > > put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") > > > would create combine the three file..pdf file into a new one called mynewfile.pdf > > > I wrote this in a hurry, so i might have some error in my explanation. Just ask, if you have problems. > > Regards, > > Matthias > >> Am 25.08.2023 um 15:10 schrieb Eller, Roger via use-livecode : >> >> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >> >> Thanks. >> >> ~Roger >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 From matthias_livecode_150811 at m-r-d.de Fri Aug 25 17:17:23 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 23:17:23 +0200 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: Congratulations. Good to know that you could resolve it. And now you know why wanted to do a remote session to repeat all steps from creating app-specific pw to connecting to apples services. ;) We could have found out sooner. ;) Unfortunately your security office prohibited the use of Teamviewer. Anyway, your are now setup to use Notarytool. Matthias > Am 25.08.2023 um 22:34 schrieb Timothy Bleiler via use-livecode : > > I think I’ve solved it. I’m very grateful to Matthias both for his code signing tool and his personal help with this problem. > > In the end it looks like the trouble was caused by a combination of my limited experience with the process and a lack of helpful feedback from Apple’s online tools at critical points. > > Here’s what happened. > - I have 2 user accounts on my Mac that use different Apple IDs. > > - Somehow the one I use for the Apple developer account had made my Mac NOT a trusted device for the Apple ID I use for development. I have no idea how this happened. > You can verify that your device is trusted at appleid.apple.com for your account under “Devices”. > > - Despite the device not being trusted for the account, the website let me think I’d created an app-specific password. I hadn’t succeed, but my lack of experience prevented me from realizing that the second step of the process is getting the actual password back from Apple and copying it down. I didn’t get anything, no error message, so in my ignorance I thought the seed string I’d typed in WAS the password. So, I did NOT have an actual app-specific password to use in the NotaryTool commands. This caused all commands dependent on an app-specific password to fail. > > What solved it for me was to go to System Settings, sign out of the Apple account on the mac and sign back in again. > Then sign back in to appleid.apple.com , verify that my Mac was a trusted device on my developer account and then create a NEW app-specific password. > This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. > > Once I had the new app-specific password and my Mac was a trusted device in my developer account, the notaryTool commands worked without errors. > > It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! > > From bleiler at buffalo.edu Fri Aug 25 17:27:49 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 25 Aug 2023 21:27:49 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: Yes Matthias, I figured you had a good reason so I went back into the account and checked every single thing very carefully. When I saw that my device was not trusted I figured THAT had to be fixed!! Then I just followed your suggestion to redo everything and that’s when I learned about how the app-specific password actually works. I don’t know if I’d have figured it out without your help!! On Aug 25, 2023, at 5:17 PM, matthias rebbe via use-livecode wrote: And now you know why wanted to do a remote session to repeat all steps from creating app-specific pw to connecting to apples services. ;) We could have found out sooner. ;) Unfortunately your security office prohibited the use of Teamviewer. From jacque at hyperactivesw.com Fri Aug 25 20:07:06 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 25 Aug 2023 19:07:06 -0500 Subject: Microsoft app store Message-ID: <18a2f2a7410.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Has anyone submitted a Windows app to the Microsoft store? I have a lead and if it pans out I'd like to know if there's a resource available here. Nothing is set yet but I'm thinking ahead. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Sat Aug 26 13:44:44 2023 From: dochawk at gmail.com (doc hawk) Date: Sat, 26 Aug 2023 10:44:44 -0700 Subject: Merging PDF pages In-Reply-To: <89e805a0-da4d-4468-ac39-f79d31e2268e@gmail.com> References: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> <89e805a0-da4d-4468-ac39-f79d31e2268e@gmail.com> Message-ID: richard reasoned be aware that you will lose one the most valuable things about a PDF document: the embedded text layer. Oh, no, there’s something more valuable, which you also lose: anything over 72 dpi! I played with a pdf library for python for a bit, as well as raw pdf, without much luck. From paul at researchware.com Sun Aug 27 15:43:27 2023 From: paul at researchware.com (Paul Dupuis) Date: Sun, 27 Aug 2023 15:43:27 -0400 Subject: Adding and delete a row of data to the Polygrid Message-ID: <8ca7cfd4-8958-d429-f2a5-325fb49cf388@researchware.com> I ran into an inconsistency with the Polygrid The Polygrid property pgDataOfRow returns the data for the row indicated by what pgInternalPointer is set to. The pgData of the Polygrid is a 2D array of the form array[n][columnName]value and pgDataOfRow returns a 1D array of the form array[columnName]value. Now the properties "AddDataAfter" (or "AddDataBefore") to add a row of data to the Polygrid After )or Before) the row pointed to by pgInternalPointer expects a 2D array of the same form as pgData or array[n][columnName]value. So, consider the follow use case where you want to remove a row of data (the last row of a table) that displays subtotals for each column but then later (upon some user action or whatever) you want to add it back       put the numberOfRows      of widget "rwTableview" into N       set the pgInternalPointer of widget "rwTableview" to N       put the pgDataOfRow       of widget "rwTableview" into sColSubtotalArray -- save the subtotal row in the form sColSubtotalArray[columnName]value, a 1D array       set the pgDeleteRow       of widget "rwTableview" to N -- delete the subtotal row And now you want to add it back       put the numberOfRows      of widget "rwTableview" into N       set the pgInternalPointer of widget "rwTableview" to N       set the addDataAfter      of widget "rwTableview" to sColSubtotalArray That LAST line (addDataAfter) will fail since the array saved by the pgDataOfRow is a 1D array and addDataAfter expects a 2D array. If could a simple repeat look through the keys of sColSubtotalArry will let you build a new 2D array with 1 row and the columns being the keys or column names, so it is not hard to convert, but SHOULD YOU HAVE TO? You can convert with       put the number lines of the keys of sColSubtotalArray into N       repeat for each key tKey in sColSubtotalArray         put sColSubtotalArray[tKey] into tA[1][tKey]       end repeat      -- tA is now in the format that the addDataAfter property of the Polygrid requires. I am not sure this is a BUG. It is certainly an inconsistency and changing it would break some current code. On the other hand, the Polygrid is part of the widget set for Xavvi/Livecode Create and the goal for that tool is to have things be super easy and super intuitive for beginners (non-code or low-code app building) so I think beginners would find thsi jarring. So, is it a bug? What does the community think? From hechris at ziggo.nl Mon Aug 28 06:02:11 2023 From: hechris at ziggo.nl (Chris Heidecker) Date: Mon, 28 Aug 2023 12:02:11 +0200 Subject: Merging PDF pages In-Reply-To: References: <37B87F81-5AC8-40C7-AA0D-E518B7688A12@m-r-d.de> Message-ID: <6B873E55-C762-45C1-A2EF-6CD3E940CAE8@ziggo.nl> Hi, While applescript is still around, you could use this script. Works pretty well. https://www.macscripter.net/t/applescript-objective-c-handler-to-merge-pdf-files/72534 Regards, Chis Heidecker use scripting additions use framework "Foundation" use framework "Quartz" -- required for PDF stuff set inFiles to (choose file of type {"pdf"} with prompt "Choose your PDF files:" with multiple selections allowed) set destPosixPath to POSIX path of (choose file name default name "Combined.pdf" with prompt "Save new PDF to:") its combineFiles:inFiles savingTo:destPosixPath on combineFiles:inFiles savingTo:destPosixPath -- make URL of the first PDF set inNSURL to current application's class "NSURL"'s fileURLWithPath:(POSIX path of item 1 of inFiles) -- make PDF document from the URL set theDoc to current application's PDFDocument's alloc()'s initWithURL:inNSURL -- loop through the rest set oldDocCount to theDoc's pageCount() set inFiles to rest of inFiles repeat with aFile in inFiles -- make URL of the next PDF set inNSURL to (current application's class "NSURL"'s fileURLWithPath:(POSIX path of aFile)) -- make PDF document from the URL set newDoc to (current application's PDFDocument's alloc()'s initWithURL:inNSURL) -- loop through, moving pages set newDocCount to newDoc's pageCount() repeat with i from 1 to newDocCount -- get page of old PDF set thePDFPage to (newDoc's pageAtIndex:(i - 1)) -- zero-based indexes -- insert the page (theDoc's insertPage:thePDFPage atIndex:oldDocCount) set oldDocCount to oldDocCount + 1 end repeat end repeat set outNSURL to current application's class "NSURL"'s fileURLWithPath:destPosixPath -- save the new PDF (theDoc's writeToURL:outNSURL) end combineFiles:savingTo: > Op 25 aug. 2023, om 23:15 heeft Eller, Roger via use-livecode het volgende geschreven: > > Thank you for this and all the details, Matthias. I will give it a try. > > > ~Roger > > ________________________________ > From: use-livecode on behalf of matthias rebbe via use-livecode > Sent: Friday, August 25, 2023 2:16 PM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: Merging PDF pages > > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. > > > > Just noticed that my steps are missing something. > So here's version 2 of it. > > 1. download > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pdflabs.com%2Ftools%2Fpdftk-the-pdf-toolkit%2Fpdftk_server-2.02-mac_osx-10.11-setup.pkg&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842350859203%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tEXnKnbF7xT3GjOMoYKIiM%2Fv3JwkS7pzKRM3op80KMI%3D&reserved=0 > > 2. to extract the pkg run the following in Terminal > pkgutil --expand > > If the source path to the pkg contains spaces then put quotes around the path. > > 3. Now open the destination path to which you've extracted the .pkg. There should be another pkg pdftk.pkg > > 4. right click the file pdftk.pkg and select "show package content" > > 5. Now you should see a file payload. Right click that file and select "open with" and select the archive utility to decompress the file payload. > > 6. After extraction you'll find a new folder "Payload 2" > > 7. open that folder. In that folder you will find the Lib and Bin folder. Copy those folder to another location. > > Now in LC you can use shell shell function to call the pdftk > > Example > set the folder to "path to the bin folder" > > put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") > > > would create combine the three file..pdf file into a new one called mynewfile.pdf > > To use pdftk server in your standalone you just have to include both folders in your standalone. > > > On Windows you first have to run the setup of pdftk server. During the installation you can select the folder where pdftk server shall be installed. You then can copy the bin folder from that installation folder > and use it with your standalone on any other computer without the need to run the setup on that computer. > > > > >> Am 25.08.2023 um 17:00 schrieb matthias rebbe via use-livecode : >> >> On which OS are you planning to do this? >> >> On Windows and macOS you could make use of PDFTK server from PDFLabs.com > >> >> On macOS PDFTK Server normally has to be installed to use it. But you could follow these steps here to get it working w/o installation. >> >> 1. Do not use the d/l link for pdftk Server from the pdfLabs website. That version will not work on macOS11 and up. Instead download this version of PDFTK Server. Sid Steward created a new version but did not update the d/l link >> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pdflabs.com%2Ftools%2Fpdftk-the-pdf-toolkit%2Fpdftk_server-2.02-mac_osx-10.11-setup.pkg&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=S5yjsFoOrBWQY%2FKUhQbD6WZxAzuRiBOK6Yrval2H1Q4%3D&reserved=0 >> >> 2. to extract the pkg run the following in Terminal >> pkgutil --expand >> >> If the source path to the pkg contains spaces then put quotes around the path. >> >> After extraction you'll find the 2 folders lib and bin and some others .The 2 mentioned ones are needed. >> >> Now in LC you can use shell shell function to call the pdftk >> >> Example >> set the folder to "path to the bin folder" >> >> put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") >> >> >> would create combine the three file..pdf file into a new one called mynewfile.pdf >> >> >> I wrote this in a hurry, so i might have some error in my explanation. Just ask, if you have problems. >> >> Regards, >> >> Matthias >> >>> Am 25.08.2023 um 15:10 schrieb Eller, Roger via use-livecode : >>> >>> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >>> >>> Thanks. >>> >>> ~Roger >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Mon Aug 28 07:28:08 2023 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 28 Aug 2023 12:28:08 +0100 Subject: Adding and delete a row of data to the Polygrid In-Reply-To: <8ca7cfd4-8958-d429-f2a5-325fb49cf388@researchware.com> References: <8ca7cfd4-8958-d429-f2a5-325fb49cf388@researchware.com> Message-ID: <16800d67-52f1-4163-b3be-0293c2b17318@tweedly.net> On 27/08/2023 20:43, Paul Dupuis via use-livecode wrote: > I ran into an inconsistency with the Polygrid > ... > I am not sure this is a BUG. It is certainly an inconsistency and > changing it would break some current code. On the other hand, the > Polygrid is part of the widget set for Xavvi/Livecode Create and the > goal for that tool is to have things be super easy and super intuitive > for beginners (non-code or low-code app building) so I think beginners > would find thsi jarring. > > So, is it a bug? What does the community think? I'd say it's definitely not a bug. It may be a "missing feature". There is an asymmetry, in that there are ways to - extract one row - delete one row but only - add multiple rows. You could make a case for adding a feature to "add a single row". But I wouldn't bother,  because it's already so easy - see below. You suggested converting by >       repeat for each key tKey in sColSubtotalArray >         put sColSubtotalArray[tKey] into tA[1][tKey] >       end repeat >      -- tA is now in the format that the addDataAfter property of the > Polygrid requires. The latest LC has the additional feauture of "automatic" sequences; i.e.   put [ sColSubtotalArray ] into tA So, in fact you would simply do >       put the numberOfRows    of widget "rwTableview" into N >       set the pgInternalPointer of widget "rwTableview" to N >       set the addDataAfter       of widget "rwTableview" to [ > sColSubtotalArray] Alex. From paul at researchware.com Mon Aug 28 08:32:14 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 28 Aug 2023 08:32:14 -0400 Subject: Adding and delete a row of data to the Polygrid In-Reply-To: <16800d67-52f1-4163-b3be-0293c2b17318@tweedly.net> References: <8ca7cfd4-8958-d429-f2a5-325fb49cf388@researchware.com> <16800d67-52f1-4163-b3be-0293c2b17318@tweedly.net> Message-ID: <1e7b2270-e8c3-bd61-ac85-57d7ba9064e5@researchware.com> On 8/28/2023 7:28 AM, Alex Tweedly via use-livecode wrote: > The latest LC has the additional feauture of "automatic" sequences; i.e. Is that LC 10.0.0dp5 or LC 9.6.9 or 9.6.10rc1, which 'latest' version? From alex at tweedly.net Mon Aug 28 09:35:53 2023 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 28 Aug 2023 14:35:53 +0100 Subject: Adding and delete a row of data to the Polygrid In-Reply-To: <1e7b2270-e8c3-bd61-ac85-57d7ba9064e5@researchware.com> References: <1e7b2270-e8c3-bd61-ac85-57d7ba9064e5@researchware.com> Message-ID: <3E7422D0-0C09-4EA0-9A62-85F90EE8851A@tweedly.net> Sorry, I meant 10.x In 9.x you could do put sColSubtotalArray into tA[1] set the addDataAfter of widget "rwTableview" to tA Alex Sent from my iPhone > On 28 Aug 2023, at 13:33, Paul Dupuis via use-livecode wrote: > On 8/28/2023 7:28 AM, Alex Tweedly via use-livecode wrote: >> The latest LC has the additional feauture of "automatic" sequences; i.e. > > Is that LC 10.0.0dp5 or LC 9.6.9 or 9.6.10rc1, which 'latest' version? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 28 11:30:46 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 28 Aug 2023 11:30:46 -0400 Subject: Adding and delete a row of data to the Polygrid In-Reply-To: <3E7422D0-0C09-4EA0-9A62-85F90EE8851A@tweedly.net> References: <1e7b2270-e8c3-bd61-ac85-57d7ba9064e5@researchware.com> <3E7422D0-0C09-4EA0-9A62-85F90EE8851A@tweedly.net> Message-ID: <964690c6-e1f1-2bff-f967-b009566c041f@researchware.com> Alex, Thank you. On 8/28/2023 9:35 AM, Alex Tweedly wrote: > Sorry, I meant 10.x > > In 9.x you could do > > put sColSubtotalArray into tA[1] > set the addDataAfter of widget "rwTableview" to tA > > Alex > > Sent from my iPhone > >> On 28 Aug 2023, at 13:33, Paul Dupuis via use-livecode wrote: >> On 8/28/2023 7:28 AM, Alex Tweedly via use-livecode wrote: >>> The latest LC has the additional feauture of "automatic" sequences; i.e. >> Is that LC 10.0.0dp5 or LC 9.6.9 or 9.6.10rc1, which 'latest' version? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Mon Aug 28 13:21:51 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 28 Aug 2023 18:21:51 +0100 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: Thanks for the excellent description of the problem Tim. It may help in debugging my own “notarisation” issues in the future (tucked away for future reference)!! > > It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! And boy can I relate to that! If it wasn’t for Matthias…. Mark From panos.merakos at livecode.com Tue Aug 29 11:09:10 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 29 Aug 2023 18:09:10 +0300 Subject: [[ ANN ]] Release 9.6.10 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.10 STABLE. LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support for Android API 33, which will be a requirement for submitting new apps to the Google Play Store as of the 31st of August. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-10-stable-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From matthias_livecode_150811 at m-r-d.de Tue Aug 29 11:17:48 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Aug 2023 17:17:48 +0200 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: <3B21678A-A103-4E61-A337-BAD8753D30F1@m-r-d.de> And still Livecode Server is not working with Internet Information Server (IIS). :( > Am 29.08.2023 um 17:09 schrieb panagiotis merakos via use-livecode : > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 STABLE. > > LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-stable-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 dan at clearvisiontech.com Tue Aug 29 12:33:38 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 29 Aug 2023 16:33:38 +0000 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: Any word on 10.0.0? Biting nails!! -Dan From: use-livecode on behalf of panagiotis merakos via use-livecode Date: Tuesday, August 29, 2023 at 8:10 AM To: How to use LiveCode Cc: panagiotis merakos Subject: [[ ANN ]] Release 9.6.10 Dear list members, We are pleased to announce the release of LiveCode 9.6.10 STABLE. LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support for Android API 33, which will be a requirement for submitting new apps to the Google Play Store as of the 31st of August. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-10-stable-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards 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 Tue Aug 29 12:41:56 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 29 Aug 2023 19:41:56 +0300 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: Hello all, @matthias I am sorry for the frustration - I know you are very eager to get this fixed. But this was not planned for LC 9.6.10 anyway. @Dan The release of LC 10 DP-6 is in the final stages of testing and it is expected to appear this week. Kind regards, Panos -- On Tue, 29 Aug 2023 at 19:34, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Any word on 10.0.0? Biting nails!! > > -Dan > > > From: use-livecode on behalf of > panagiotis merakos via use-livecode > Date: Tuesday, August 29, 2023 at 8:10 AM > To: How to use LiveCode > Cc: panagiotis merakos > Subject: [[ ANN ]] Release 9.6.10 > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 STABLE. > > LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-stable-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 matthias_livecode_150811 at m-r-d.de Tue Aug 29 13:00:04 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Aug 2023 19:00:04 +0200 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Hello Panos, so for which version is it planned, if at all? Regards, Matthias > Am 29.08.2023 um 18:41 schrieb panagiotis m via use-livecode : > > Hello all, > > @matthias > I am sorry for the frustration - I know you are very eager to get this > fixed. But this was not planned for LC 9.6.10 anyway. > > @Dan > The release of LC 10 DP-6 is in the final stages of testing and it is > expected to appear this week. > > Kind regards, > Panos > -- > > On Tue, 29 Aug 2023 at 19:34, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Any word on 10.0.0? Biting nails!! >> >> -Dan >> >> >> From: use-livecode on behalf of >> panagiotis merakos via use-livecode >> Date: Tuesday, August 29, 2023 at 8:10 AM >> To: How to use LiveCode >> Cc: panagiotis merakos >> Subject: [[ ANN ]] Release 9.6.10 >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.6.10 STABLE. >> >> LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support >> for Android API 33, which will be a requirement for submitting new apps to >> the Google Play Store as of the 31st of August. >> >> You can find more details on the bug fixes and improvements of this new >> release here: >> >> https://livecode.com/livecode-9-6-10-stable-released/ >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> 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 bobsneidar at iotecdigital.com Tue Aug 29 13:16:58 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Aug 2023 17:16:58 +0000 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: I think he said in that email that v10 is expected to be released this week. Bob S On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode wrote: Hello Panos, so for which version is it planned, if at all? Regards, Matthias From merakosp at gmail.com Tue Aug 29 13:20:51 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 29 Aug 2023 20:20:51 +0300 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: Hello Matthias, I am afraid I cannot give an ETA on this. All I know is it was not planned for 9.6.10 (neither for 10 DP-6). Kind regards, Panos -- On Tue, 29 Aug 2023 at 20:17, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I think he said in that email that v10 is expected to be released this > week. > > Bob S > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Hello Panos, > so for which version is it planned, if at all? > > Regards, > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Tue Aug 29 13:29:14 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Aug 2023 19:29:14 +0200 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: Hi Bob, i did not mean when an update for LC 10 is coming, but for what version the fix is planned for Livecode Server. Currently LC Server 7 and up do not work with IIS on Windows. You have to install Apache, although Windows has a built-in web server. > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode : > > I think he said in that email that v10 is expected to be released this week. > > Bob S > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode wrote: > > Hello Panos, > so for which version is it planned, if at all? > > Regards, > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Aug 29 13:44:59 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 29 Aug 2023 13:44:59 -0400 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: No XCode version update? MacOS updater keeps harassing me to update CLT to 14.3 On Tue, Aug 29, 2023 at 1:30 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Bob, > > i did not mean when an update for LC 10 is coming, but for what version > the fix is planned for Livecode Server. > Currently LC Server 7 and up do not work with IIS on Windows. > You have to install Apache, although Windows has a built-in web server. > > > > > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>: > > > > I think he said in that email that v10 is expected to be released this > week. > > > > Bob S > > > > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello Panos, > > so for which version is it planned, if at all? > > > > Regards, > > Matthias > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From merakosp at gmail.com Tue Aug 29 14:16:26 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 29 Aug 2023 21:16:26 +0300 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: Hello Mike, I guess we will update the supported xcode version once macOS Sonoma and/or Xcode 15 - iOS 17 SDK are publicly available, so probably in LC 9.6.11 rc-1 I think you can update your CLT to 14.3, but make sure you still keep the current supported xcode version Kind regards, Panos On Tue, 29 Aug 2023, 20:46 Mike Kerner via use-livecode, < use-livecode at lists.runrev.com> wrote: > No XCode version update? MacOS updater keeps harassing me to update CLT to > 14.3 > > On Tue, Aug 29, 2023 at 1:30 PM matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Bob, > > > > i did not mean when an update for LC 10 is coming, but for what version > > the fix is planned for Livecode Server. > > Currently LC Server 7 and up do not work with IIS on Windows. > > You have to install Apache, although Windows has a built-in web server. > > > > > > > > > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode < > > use-livecode at lists.runrev.com>: > > > > > > I think he said in that email that v10 is expected to be released this > > week. > > > > > > Bob S > > > > > > > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Hello Panos, > > > so for which version is it planned, if at all? > > > > > > Regards, > > > Matthias > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > 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 MikeKerner at roadrunner.com Tue Aug 29 14:46:38 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 29 Aug 2023 14:46:38 -0400 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: i'm still running ventura, but software update is constantly trying to update CLT, even though i downloaded and installed xcode manually, not via appstore On Tue, Aug 29, 2023 at 2:17 PM panagiotis m via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Mike, > > I guess we will update the supported xcode version once macOS Sonoma and/or > Xcode 15 - iOS 17 SDK are publicly available, so probably in LC 9.6.11 rc-1 > > I think you can update your CLT to 14.3, but make sure you still keep the > current supported xcode version > > Kind regards, > Panos > > On Tue, 29 Aug 2023, 20:46 Mike Kerner via use-livecode, < > use-livecode at lists.runrev.com> wrote: > > > No XCode version update? MacOS updater keeps harassing me to update CLT > to > > 14.3 > > > > On Tue, Aug 29, 2023 at 1:30 PM matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hi Bob, > > > > > > i did not mean when an update for LC 10 is coming, but for what version > > > the fix is planned for Livecode Server. > > > Currently LC Server 7 and up do not work with IIS on Windows. > > > You have to install Apache, although Windows has a built-in web server. > > > > > > > > > > > > > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode < > > > use-livecode at lists.runrev.com>: > > > > > > > > I think he said in that email that v10 is expected to be released > this > > > week. > > > > > > > > Bob S > > > > > > > > > > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > Hello Panos, > > > > so for which version is it planned, if at all? > > > > > > > > Regards, > > > > Matthias > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > -- > > 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 dan at clearvisiontech.com Tue Aug 29 17:39:43 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 29 Aug 2023 21:39:43 +0000 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: Panos, // The release of LC 10 DP-6 is in the final stages of testing and it is expected to appear this week. As always, thanks for the update. Appreciate it! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Tuesday, August 29, 2023 at 9:43 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: [[ ANN ]] Release 9.6.10 Hello all, @matthias I am sorry for the frustration - I know you are very eager to get this fixed. But this was not planned for LC 9.6.10 anyway. @Dan The release of LC 10 DP-6 is in the final stages of testing and it is expected to appear this week. Kind regards, Panos -- On Tue, 29 Aug 2023 at 19:34, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Any word on 10.0.0? Biting nails!! > > -Dan > > > From: use-livecode on behalf of > panagiotis merakos via use-livecode > Date: Tuesday, August 29, 2023 at 8:10 AM > To: How to use LiveCode > Cc: panagiotis merakos > Subject: [[ ANN ]] Release 9.6.10 > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 STABLE. > > LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-stable-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 bdrunrev at gmail.com Wed Aug 30 02:05:44 2023 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 30 Aug 2023 07:05:44 +0100 Subject: Charts widget. In-Reply-To: <62253d2d-a416-a334-ccec-acd5fa3d9176@tweedly.net> References: <62253d2d-a416-a334-ccec-acd5fa3d9176@tweedly.net> Message-ID: Hi Alex I've started using this, quite pleased with what it can do in terms of presentation. But it seems to me (going off the Dictionary and my own tests) that it doesn't receive any mouse messages. So clicking on any of the displayed chart components has no effect. I haven't yet investigated setting jsonoptions (as the designated way to invoke more of the chartsjs functionality). Regards Bernard On Sun, Sep 25, 2022 at 9:55 PM Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > Anyone using this widget ? > > Is there some documentation (other than the obvious dictionary entries) > about how to do different kinds of chart ? > > In the last 4-6 months, I've done 3 or 4 little personal projects where > I wanted to create a chart, but I've not been able to figure out how to > use the charts widget to do time-based charts. > > What I mean is, e.g., create a chart for the following data .... > > 2022-02-01 100 > 2022-02-04 500 > 2022-02-05 525 > 2022-02-17 900 > .... > > Obviously, the dates along the X-axis should be spaced properly > according to their data value, not equally spaced and simply labelled. > > Looking at the charts.js documentation, it tells me (or rather, fails to > tell me, since I can't understand it) that I need to define an 'adapter' > and shows some sample javascript. I don't really understand how to do it > simply in javascript - far less how I could use that in the widget. > > Can anyone give me a clue or a pointer ? > > From dfe4 at cornell.edu Wed Aug 30 12:35:42 2023 From: dfe4 at cornell.edu (David Epstein) Date: Wed, 30 Aug 2023 12:35:42 -0400 Subject: Pasting text and images together? Message-ID: <2A778021-978E-46AC-A0F1-18BFE597B5EB@cornell.edu> From a web browser, or from programs like Word or (Apple) Notes, it is possible to copy to the clipboard a single selection that includes both text and images. Is there any way to paste all of this information to LiveCode—for example, placing the text in fields and the imageData in image objects, or showing everything in one field by setting the imageSource of some characters in that field? After having copied such a collection of text and image information, the keys to the fullClipboardData seem only to include text and styled text options, with no indication of the images that are included on the clipboard. David Epstein From neville.smythe at optusnet.com.au Thu Aug 31 00:11:56 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 31 Aug 2023 14:11:56 +1000 Subject: Sort bug Message-ID: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> There is a bug in sorting a container using a function, as in sort lines tVariable by myVal(each) where the function is for example function myVal pStr return item 1 of pStr + item 2 of pStr end myval If the function myVal encounters a run-time error (in the example if one of the items is not a number) the sort command fails silently: the script exits at that code line and the user is unaware that the sort (and the rest of the handler) were not executed. If you sort directly with sort lines tVariable by (item 1 of pStr + item 2 of pStr) the handler will throw an error dialog, as expected. QC has confirmed this is a bug ( bug 24321 ) that evidently has been around for a long time. Neville Smythe From richmondmathewson at gmail.com Thu Aug 31 02:41:47 2023 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 31 Aug 2023 09:41:47 +0300 Subject: Pasting text and images together? In-Reply-To: <2A778021-978E-46AC-A0F1-18BFE597B5EB@cornell.edu> References: <2A778021-978E-46AC-A0F1-18BFE597B5EB@cornell.edu> Message-ID: As far as I know image data cannot be pasted into LC. I just tried pasting a banal image of a cat from an Ecosia search into a stack directly, and into an image, to no avail. Best, Richmond. On 30.08.23 19:35, David Epstein via use-livecode wrote: > From a web browser, or from programs like Word or (Apple) Notes, it is possible to copy to the clipboard a single selection that includes both text and images. > Is there any way to paste all of this information to LiveCodefor example, placing the text in fields and the imageData in image objects, or showing everything in one field by setting the imageSource of some characters in that field? > After having copied such a collection of text and image information, the keys to the fullClipboardData seem only to include text and styled text options, with no indication of the images that are included on the clipboard. > > David Epstein > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Thu Aug 31 09:48:29 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 31 Aug 2023 16:48:29 +0300 Subject: [[ ANN ]] Release 10.0.0 DP-6 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 DP-6. LiveCode 10.0.0 DP-6 comes with more than 30 bugfixes and exciting new features. You can find more details on this new release here: https://livecode.com/livecode-10-dp-6-web-fonts-and-api-33/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team From roger.e.eller at sealedair.com Thu Aug 31 10:52:54 2023 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Thu, 31 Aug 2023 14:52:54 +0000 Subject: HTML5 failure / javascript console Message-ID: My first try of saving a simple stack as HTML5... When it tries to run, it says to check the Javascropt console, which shows the following. As a LiveCode Script only developer, none of this gives me a clue. This is on Windows, using Chrome. Failed to load resource: the server responded with a status of 404 (Not Found) TEST_STACK.html:155 run() called, but dependencies remain, so not running printErr @ TEST_STACK.html:155 standalone-9.6.10.js:48 a problem seems to have happened with Module.memoryInitializerRequest, status: 404, retrying standalone-9.6.10.html.mem useRequest @ standalone-9.6.10.js:48 standalone-9.6.10.html.mem:1 Failed to load resource: the server responded with a status of 404 (Not Found) standalone-9.6.10.js:48 Uncaught could not load memory initializer standalone-9.6.10.html.mem TEST_STACK.html:155 still waiting on run dependencies: printErr @ TEST_STACK.html:155 (anonymous) @ standalone-9.6.10.js:1 TEST_STACK.html:155 dependency: memory initializer printErr @ TEST_STACK.html:155 (anonymous) @ standalone-9.6.10.js:1 TEST_STACK.html:155 (end of list) From bobsneidar at iotecdigital.com Thu Aug 31 11:06:19 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Aug 2023 15:06:19 +0000 Subject: Sort bug In-Reply-To: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> Message-ID: I think you have to append “of each”. Sort lines of tVar by item 3 of each Bob S > On Aug 30, 2023, at 9:11 PM, Neville Smythe via use-livecode wrote: > > There is a bug in sorting a container using a function, as in > > sort lines tVariable by myVal(each) > > where the function is for example > > function myVal pStr > return item 1 of pStr + item 2 of pStr > end myval > > If the function myVal encounters a run-time error (in the example if one of the items is not a number) the sort command fails silently: the script exits at that code line and the user is unaware that the sort (and the rest of the handler) were not executed. > > If you sort directly with > > sort lines tVariable by (item 1 of pStr + item 2 of pStr) > > the handler will throw an error dialog, as expected. > > QC has confirmed this is a bug ( bug 24321 ) that evidently has been around for a long time. > > Neville Smythe > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Aug 31 11:25:14 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Aug 2023 15:25:14 +0000 Subject: Sort bug In-Reply-To: References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> Message-ID: To be more clear, the argument to “by” needs to be a chunk statement, not a value, followed by “of each”. Your function *might* work if you returned the chunk expression instead of the actual value the chunk resolves to. But why? I am not sure what the myVal() function accomplishes. Does the chunk expression change on the fly? Even so, pStr needs to be a list of numbers because you are adding them together, so it won’t return a chunk expression. Your method as it stands would resolve to “sort lines tVariable by 3” when it needs to resolve to something like “sort lines of tVariable by item 3 of each”. Further it looks like you are sorting by multiple items. You cannot do that in one statement. Instead run multiple sorts, by the last element first, down to the first element. Bob S > On Aug 31, 2023, at 8:06 AM, Bob Sneidar via use-livecode wrote: > > I think you have to append “of each”. Sort lines of tVar by item 3 of each > > Bob S > > >> On Aug 30, 2023, at 9:11 PM, Neville Smythe via use-livecode wrote: >> >> There is a bug in sorting a container using a function, as in >> >> sort lines tVariable by myVal(each) >> >> where the function is for example >> >> function myVal pStr >> return item 1 of pStr + item 2 of pStr >> end myval >> >> If the function myVal encounters a run-time error (in the example if one of the items is not a number) the sort command fails silently: the script exits at that code line and the user is unaware that the sort (and the rest of the handler) were not executed. >> >> If you sort directly with >> >> sort lines tVariable by (item 1 of pStr + item 2 of pStr) >> >> the handler will throw an error dialog, as expected. >> >> QC has confirmed this is a bug ( bug 24321 ) that evidently has been around for a long time. >> >> Neville Smythe >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Thu Aug 31 18:36:47 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Thu, 31 Aug 2023 22:36:47 +0000 Subject: Shutdown on Android Message-ID: Does the shutdown message (or shutdownRequest message) work on Android? I am playing a song using androidStartAudioPlayingInBackground. However, if the app is closed (swiping up to exit it), then the audio continues to play. So, I added an androidStopAudioPlayingInBackground command in the shutdown message to stop playing the audio. But doesn’t seem to work – audio continues to play. Any thoughts? -Dan From jacque at hyperactivesw.com Thu Aug 31 18:38:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 31 Aug 2023 17:38:17 -0500 Subject: Sort bug In-Reply-To: References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> Message-ID: <5c09a840-a483-e087-ad59-16a8802a28e4@hyperactivesw.com> Actually, the syntax is correct. It uses a custom sort function. The function call includes the "each" which means it passes the correct parameter to the custom function, which then acts on it and sends the result back to the calling handler for sorting. It's a nice way to customize the built-in sort. You can do some pretty extravagant things with it. On 8/31/23 10:25 AM, Bob Sneidar via use-livecode wrote: > To be more clear, the argument to “by” needs to be a chunk statement, not a value, followed by “of each”. Your function *might* work if you returned the chunk expression instead of the actual value the chunk resolves to. > > But why? I am not sure what the myVal() function accomplishes. Does the chunk expression change on the fly? Even so, pStr needs to be a list of numbers because you are adding them together, so it won’t return a chunk expression. > > Your method as it stands would resolve to “sort lines tVariable by 3” when it needs to resolve to something like “sort lines of tVariable by item 3 of each”. > > Further it looks like you are sorting by multiple items. You cannot do that in one statement. Instead run multiple sorts, by the last element first, down to the first element. > > Bob S > > >> On Aug 31, 2023, at 8:06 AM, Bob Sneidar via use-livecode wrote: >> >> I think you have to append “of each”. Sort lines of tVar by item 3 of each >> >> Bob S >> >> >>> On Aug 30, 2023, at 9:11 PM, Neville Smythe via use-livecode wrote: >>> >>> There is a bug in sorting a container using a function, as in >>> >>> sort lines tVariable by myVal(each) >>> >>> where the function is for example >>> >>> function myVal pStr >>> return item 1 of pStr + item 2 of pStr >>> end myval >>> >>> If the function myVal encounters a run-time error (in the example if one of the items is not a number) the sort command fails silently: the script exits at that code line and the user is unaware that the sort (and the rest of the handler) were not executed. >>> >>> If you sort directly with >>> >>> sort lines tVariable by (item 1 of pStr + item 2 of pStr) >>> >>> the handler will throw an error dialog, as expected. >>> >>> QC has confirmed this is a bug ( bug 24321 ) that evidently has been around for a long time. >>> >>> Neville Smythe >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Aug 31 19:37:40 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Aug 2023 23:37:40 +0000 Subject: Sort bug In-Reply-To: <5c09a840-a483-e087-ad59-16a8802a28e4@hyperactivesw.com> References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> <5c09a840-a483-e087-ad59-16a8802a28e4@hyperactivesw.com> Message-ID: <3023053B-4955-4CA4-BA8C-7532DF5F90C0@iotecdigital.com> The function is adding the value of two chunks together and returning the result. How does that even compute? Unless the + operator is doing something totally different here… Bob S On Aug 31, 2023, at 3:38 PM, J. Landman Gay via use-livecode wrote: Actually, the syntax is correct. It uses a custom sort function. The function call includes the "each" which means it passes the correct parameter to the custom function, which then acts on it and sends the result back to the calling handler for sorting. It's a nice way to customize the built-in sort. You can do some pretty extravagant things with it. On 8/31/23 10:25 AM, Bob Sneidar via use-livecode wrote: From alex at tweedly.net Thu Aug 31 19:53:23 2023 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 1 Sep 2023 00:53:23 +0100 Subject: Sort bug In-Reply-To: <3023053B-4955-4CA4-BA8C-7532DF5F90C0@iotecdigital.com> References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> <5c09a840-a483-e087-ad59-16a8802a28e4@hyperactivesw.com> <3023053B-4955-4CA4-BA8C-7532DF5F90C0@iotecdigital.com> Message-ID: On 01/09/2023 00:37, Bob Sneidar via use-livecode wrote: > The function is adding the value of two chunks together and returning the result. How does that even compute? Unless the + operator is doing something totally different here The code said: > sort lines tVariable by myVal(each) > > where the function is for example > > function myVal pStr > return item 1 of pStr + item 2 of pStr > end myval since it's sorting the lines of the container, it calls the custom function with each line in turn. The function simply adds together the first two items from the passed-in line, and returns that. The returned value is associated with the corresponding line - and then the container is sorted by those associated values. This works fine if the input variable is well formatted (i.e. first and second items of each line are numeric), but fails to give an error when something goes wrong - such as a non-numeric item. (and, yes - the dictionary description is misleading, if not simply incorrect. However, the "Tip" at the end describes the use of ustom functions). Alex. From brian at milby7.com Thu Aug 31 21:29:17 2023 From: brian at milby7.com (Brian Milby) Date: Thu, 31 Aug 2023 21:29:17 -0400 Subject: Sort bug In-Reply-To: References: Message-ID: <9DE07A74-F443-4C9F-AA16-66A2B17AC606@milby7.com> I just tried this in 10dp5 and the sort didn’t completely bail (it put the error value first) but it did error when including inline (as in the bug report). If I add a try, then it will stop on the throw. Not sure how much this would slow down execution though. function myVal pStr local tResult try put item 1 of pStr + item 2 of pStr into tResult catch errorVariable throw "Bad data" end try return tResult end myVal Brian Milby brian at milby7.com > On Aug 31, 2023, at 7:53 PM, Alex Tweedly via use-livecode wrote: > >  >> On 01/09/2023 00:37, Bob Sneidar via use-livecode wrote: >> The function is adding the value of two chunks together and returning the result. How does that even compute? Unless the + operator is doing something totally different here… > > The code said: > >> sort lines tVariable by myVal(each) >> >> where the function is for example >> >> function myVal pStr >> return item 1 of pStr + item 2 of pStr >> end myval > since it's sorting the lines of the container, it calls the custom function with each line in turn. The function simply adds together the first two items from the passed-in line, and returns that. The returned value is associated with the corresponding line - and then the container is sorted by those associated values. > > This works fine if the input variable is well formatted (i.e. first and second items of each line are numeric), but fails to give an error when something goes wrong - such as a non-numeric item. > > (and, yes - the dictionary description is misleading, if not simply incorrect. However, the "Tip" at the end describes the use of ustom functions). > > Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jerry at jhjensen.com Tue Aug 1 01:27:46 2023 From: jerry at jhjensen.com (Jerry Jensen) Date: Mon, 31 Jul 2023 22:27:46 -0700 Subject: Managing windows in the IDE on Mac In-Reply-To: <189af3d71f8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9B368B43-B56B-43AE-A1D7-AF825538B07F@swcp.com> <189af3d71f8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I now always "set the backdrop to none” right away in the main stack. Otherwise mine is always black. Pain. .Jerry > On Jul 31, 2023, at 8:56 PM, J. Landman Gay via use-livecode wrote: > > Hey Dar! So nice to see you here again. > > The backdrop problem is a known bug on Ventura. Sometimes you can click where the window ought to be and it comes to the front, but basically windowing is broken. The only fix I know of for now is to not use a backdrop. > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On July 31, 2023 7:50:52 PM Dar Scott via use-livecode wrote: > >> It has been a while. Hi, all. I’m getting back into LiveCode. >> >> I’m using 9.6.9 on Mac Ventura. >> >> I’m having a lot of trouble with the windows in the IDE. The backdrop doesn’t always work. The stack I’m working on keeps disappearing. I can check Float above everything, but that is not what I need and it can become a problem when I want to look at something else. The Project Browser stays behind everything and then disappears when I click on it. >> >> Dar >> >> >> >> >> Dar Scott >> >>  >> >> +1.505.433.1024 | darzLAB.com | DarScott at darzLAB.com >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 04:35:40 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 1 Aug 2023 11:35:40 +0300 Subject: Query Android Version Code In-Reply-To: References: <20230721005258.Horde.fGWFLX7QeysnQIb4kFMIKDN@hub.4wsys.com> <238B28B2-9D91-4156-81BC-0C4EB7CE7F07@iotecdigital.com> <8a40bc65-b369-3673-37ad-5702eee68f5d@researchware.com> Message-ID: Hello Dan, You can do something like this: *put* the cRevStandaloneSettings["android,version code"] of this stack Kind regards, Panos -- On Sat, 22 Jul 2023 at 00:02, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Does anyone know if there is a way to query the “Version Code” that you > enter in the Application Settings screen? > > -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 ambassador at fourthworld.com Tue Aug 1 09:09:29 2023 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 01 Aug 2023 13:09:29 +0000 Subject: Update RE: LC domains for sale Message-ID: <20230801130929.Horde.wNIt98pS8I5_bFopHyuMQc9@hub.4wsys.com> learnlivecode.com is being sold (buyer has good plans for teachingLiveCode scripting, and I wish him the best with that).   livecodeworld.com remains available for now.   ------ original message -- I had taken out these domains some time ago for possible projects, but now I'm planning on having those proposed services become part of the existing livecodejournal.com domain instead.   If anyone here is interested in these domains they're listed at AfterNIC.com, and I'd be happy to negotiate favorable pricing if you have a community-oriented use in mind:     livecodeworld.com learnlivecode.com   --   Richard Gaskin Fourth World Systems   From dsc at swcp.com Tue Aug 1 11:39:35 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 1 Aug 2023 09:39:35 -0600 Subject: Tab button is not getting messages Message-ID: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> I have a tab button on a background. It does not seem to be getting menuPick. I tried mouseUp and that does not work, either. A checkbox on the same background does get a mouseUp. I tried beeps and puts, but nothing. (I’m switching to a card whose name is pChosenItem.) Dar From dsc at swcp.com Tue Aug 1 11:40:46 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 1 Aug 2023 09:40:46 -0600 Subject: Managing windows in the IDE on Mac In-Reply-To: References: <9B368B43-B56B-43AE-A1D7-AF825538B07F@swcp.com> <189af3d71f8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Thanks, all! > On Jul 31, 2023, at 11:27 PM, Jerry Jensen via use-livecode wrote: > > I now always "set the backdrop to none” right away in the main stack. Otherwise mine is always black. Pain. > .Jerry > >> On Jul 31, 2023, at 8:56 PM, J. Landman Gay via use-livecode wrote: >> >> Hey Dar! So nice to see you here again. >> >> The backdrop problem is a known bug on Ventura. Sometimes you can click where the window ought to be and it comes to the front, but basically windowing is broken. The only fix I know of for now is to not use a backdrop. >> >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On July 31, 2023 7:50:52 PM Dar Scott via use-livecode wrote: >> >>> It has been a while. Hi, all. I’m getting back into LiveCode. >>> >>> I’m using 9.6.9 on Mac Ventura. >>> >>> I’m having a lot of trouble with the windows in the IDE. The backdrop doesn’t always work. The stack I’m working on keeps disappearing. I can check Float above everything, but that is not what I need and it can become a problem when I want to look at something else. The Project Browser stays behind everything and then disappears when I click on it. >>> >>> Dar >>> >>> >>> >>> >>> Dar Scott >>> >>>  >>> >>> +1.505.433.1024 | darzLAB.com | DarScott at darzLAB.com >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 11:46:13 2023 From: david.bovill at gmail.com (David Bovill) Date: Tue, 1 Aug 2023 16:46:13 +0100 Subject: Snapshot of browser not working? Message-ID: I cannot find a specific bug report - but I am trying to take a snapshot of a browser widget to capture an image of the website. In the latest 10 DP 5 on MacOS M2 i get a very truncated text of the image (a few lines) in all formats using: *export* snapshot from widget "Browser" to pictVariable as PNG Is this something that works on other platforms or livecode versions? From bobsneidar at iotecdigital.com Tue Aug 1 11:47:19 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 1 Aug 2023 15:47:19 +0000 Subject: Tab button is not getting messages In-Reply-To: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> References: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> Message-ID: Tab button or tab widget? Bob S > On Aug 1, 2023, at 8:39 AM, Dar Scott via use-livecode wrote: > > > I have a tab button on a background. It does not seem to be getting menuPick. I tried mouseUp and that does not work, either. A checkbox on the same background does get a mouseUp. I tried beeps and puts, but nothing. (I’m switching to a card whose name is pChosenItem.) > > Dar > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 1 12:10:29 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 1 Aug 2023 10:10:29 -0600 Subject: Tab button is not getting messages In-Reply-To: References: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> Message-ID: <87445B73-94CB-4ACE-825C-4F906ED1F177@swcp.com> There’s a tab widget? Cool. I guess I’m using a tab button. I think I know what is the problem, though I don’t remember what I did to do cause it. Some of the backgrounds are really different; they just look the same. I edit the background (the tab button script) but the button script does not show up on most of the cards. How do I place the correct background on each card? Dar > On Aug 1, 2023, at 9:47 AM, Bob Sneidar via use-livecode wrote: > > Tab button or tab widget? > > Bob S > > >> On Aug 1, 2023, at 8:39 AM, Dar Scott via use-livecode wrote: >> >> >> I have a tab button on a background. It does not seem to be getting menuPick. I tried mouseUp and that does not work, either. A checkbox on the same background does get a mouseUp. I tried beeps and puts, but nothing. (I’m switching to a card whose name is pChosenItem.) >> >> Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 13:06:34 2023 From: paul at researchware.com (Paul Dupuis) Date: Tue, 1 Aug 2023 13:06:34 -0400 Subject: Snapshot of browser not working? In-Reply-To: References: Message-ID: <601f239b-8b6f-bb0f-b0ba-4a5ac78d29a6@researchware.com> Exporting a snapshot of a PLAYER fails under Windows (see https://quality.livecode.com/show_bug.cgi?id=23694). Exporting the Browser widget may be related? If it is reproducible in a test stack, you shoud file a bug report with a test stack to demonstrate the error. I seem to recall other export snapshot bugs. There is one related to multiple displays (https://quality.livecode.com/show_bug.cgi?id=22852) and there may be others. On 8/1/2023 11:46 AM, David Bovill via use-livecode wrote: > I cannot find a specific bug report - but I am trying to take a snapshot of > a browser widget to capture an image of the website. In the latest 10 DP 5 > on MacOS M2 i get a very truncated text of the image (a few lines) in all > formats using: > > *export* snapshot from widget "Browser" to pictVariable as PNG > > Is this something that works on other platforms or livecode versions? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 1 13:13:58 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 1 Aug 2023 10:13:58 -0700 Subject: Tab button is not getting messages In-Reply-To: <87445B73-94CB-4ACE-825C-4F906ED1F177@swcp.com> References: <43035845-9589-4802-9486-F49A05BE3C4B@swcp.com> <87445B73-94CB-4ACE-825C-4F906ED1F177@swcp.com> Message-ID: place background onto card There are other ways (cough, Navigator has built in support), but that will do it. On Tue, Aug 1, 2023 at 9:11 AM Dar Scott via use-livecode < use-livecode at lists.runrev.com> wrote: > > There’s a tab widget? Cool. > > I guess I’m using a tab button. > > I think I know what is the problem, though I don’t remember what I did to > do cause it. Some of the backgrounds are really different; they just look > the same. I edit the background (the tab button script) but the button > script does not show up on most of the cards. > > How do I place the correct background on each card? > > Dar > > > > On Aug 1, 2023, at 9:47 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Tab button or tab widget? > > > > Bob S > > > > > >> On Aug 1, 2023, at 8:39 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> > >> I have a tab button on a background. It does not seem to be getting > menuPick. I tried mouseUp and that does not work, either. A checkbox on the > same background does get a mouseUp. I tried beeps and puts, but nothing. > (I’m switching to a card whose name is pChosenItem.) > >> > >> Dar > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Aug 4 09:47:40 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 4 Aug 2023 16:47:40 +0300 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available Message-ID: Hello all, Just to let you know that there is an update of the enhancements bundle available in your account area. Latest update 1.0.32: 4 August 2023 This update includes some bugfixes. I'll update BugZilla later tonight. Note that when installing this new version using the stack "WidgetPackInstaller.livecode" that is included in the bundle, you might need to restart the LC IDE once (or twice) - you will get a dialog asking you to do so. Kind regards, Panos -- From marksmithhfx at gmail.com Fri Aug 4 10:03:53 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 4 Aug 2023 15:03:53 +0100 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: <9D343B29-08A3-49FC-8298-D4B6F75488EC@gmail.com> Hi Panos, while you are updating Bugzilla could you make a brief list of the bug fixes and post them here? Mark Sent from my iPhone > On Aug 4, 2023, at 2:49 PM, panagiotis merakos via use-livecode wrote: > > Hello all, > > Just to let you know that there is an update of the enhancements bundle > available in your account area. > > Latest update 1.0.32: 4 August 2023 > > This update includes some bugfixes. I'll update BugZilla later tonight. > > Note that when installing this new version using the stack > "WidgetPackInstaller.livecode" that is included in the bundle, you might > need to restart the LC IDE once (or twice) - you will get a dialog asking > you to do so. > > Kind regards, > Panos > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Aug 4 10:05:45 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Aug 2023 16:05:45 +0200 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: Hi Panos, > Am 04.08.2023 um 15:47 schrieb panagiotis merakos via use-livecode : > > Hello all, > > Just to let you know that there is an update of the enhancements bundle > available in your account area. > Latest update 1.0.32: 4 August 2023 > This update includes some bugfixes. I'll update BugZilla later tonight. thanks! it might be agood idea to show the VERSION number in the filename, which still reads: livecode_enhancements-1_0_0.zip > Note that when installing this new version using the stack > "WidgetPackInstaller.livecode" that is included in the bundle, you might > need to restart the LC IDE once (or twice) - you will get a dialog asking > you to do so. And it also shows the beloved "A stack with that name is already in memory..." (not funny!) however without the evil circle of death after clicking "Purge". 8-) > Kind regards, > Panos Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Fri Aug 4 10:12:28 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 4 Aug 2023 17:12:28 +0300 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: Hello all, @Mark There is a file "changelog.txt" in the bundle that describes all the bugfixes and new features that are added per widget. @Klaus Heh, I think the .zip file has this version (1_0_0) because it allows us to update it more easily. If you unzip it, it should show the actual version: "livecode_enhancements-1_0_32". Kind regards, Panos -- On Fri, 4 Aug 2023 at 17:06, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > > Am 04.08.2023 um 15:47 schrieb panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hello all, > > > > Just to let you know that there is an update of the enhancements bundle > > available in your account area. > > Latest update 1.0.32: 4 August 2023 > > This update includes some bugfixes. I'll update BugZilla later tonight. > > thanks! > > it might be agood idea to show the VERSION number in the filename, > which still reads: livecode_enhancements-1_0_0.zip > > > Note that when installing this new version using the stack > > "WidgetPackInstaller.livecode" that is included in the bundle, you might > > need to restart the LC IDE once (or twice) - you will get a dialog asking > > you to do so. > > And it also shows the beloved "A stack with that name is already in > memory..." > (not funny!) however without the evil circle of death after clicking > "Purge". 8-) > > > Kind regards, > > Panos > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Fri Aug 4 10:16:53 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 4 Aug 2023 16:16:53 +0200 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: <8EFAABC0-FFB8-410F-B2CB-1FE25F5086A5@major-k.de> Hi Panos, > Am 04.08.2023 um 16:12 schrieb panagiotis m via use-livecode : > > Hello all, > > @Mark > There is a file "changelog.txt" in the bundle that describes all the > bugfixes and new features that are added per widget. > > @Klaus > Heh, I think the .zip file has this version (1_0_0) because it allows us to > update it more easily. If you unzip it, it should show the actual version: > "livecode_enhancements-1_0_32". OK, get it, they thou shalt be forgiven! :-D > Kind regards, > Panos > -- > > On Fri, 4 Aug 2023 at 17:06, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Panos, >> >>> Am 04.08.2023 um 15:47 schrieb panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hello all, >>> >>> Just to let you know that there is an update of the enhancements bundle >>> available in your account area. >>> Latest update 1.0.32: 4 August 2023 >>> This update includes some bugfixes. I'll update BugZilla later tonight. >> >> thanks! >> >> it might be agood idea to show the VERSION number in the filename, >> which still reads: livecode_enhancements-1_0_0.zip >> >>> Note that when installing this new version using the stack >>> "WidgetPackInstaller.livecode" that is included in the bundle, you might >>> need to restart the LC IDE once (or twice) - you will get a dialog asking >>> you to do so. >> >> And it also shows the beloved "A stack with that name is already in >> memory..." >> (not funny!) however without the evil circle of death after clicking >> "Purge". 8-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From marksmithhfx at gmail.com Fri Aug 4 10:18:28 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 4 Aug 2023 15:18:28 +0100 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: <00186242-1BF3-4431-8155-3B9E50AEE527@gmail.com> Many thanks!! > On 4 Aug 2023, at 3:12 pm, panagiotis m via use-livecode wrote: > > @Mark > There is a file "changelog.txt" in the bundle that describes all the > bugfixes and new features that are added per widget. From derek-lc-list at speedbump.io Fri Aug 4 10:23:20 2023 From: derek-lc-list at speedbump.io (Derek Bump) Date: Fri, 04 Aug 2023 14:23:20 +0000 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: Message-ID: <7-IZ5w3cxMIWVwf9cLAauFtIeZaYjW4cj9MXNvTlgP2Bf-WGpCy8_ppPBgzmWY6KrPfpgaL-pX7IJqu5wCVEd4FNMTNpqlAgonmj9v3n_nU=@speedbump.io> Hello Panos, Thank you! The enhancements bundle, specifically PolyList and PolyGrid, have been incredibly helpful in my projects. I've noticed I have different versions of PolyList in the "Extensions" folder under my "My LiveCode" directory. How can I be sure the proper version is being loaded? Should I be clearing out the old versions, or does your installer handle that? Thanks again, Thank you, Derek Bump ------- Original Message ------- On Friday, August 4th, 2023 at 08:47, panagiotis merakos via use-livecode wrote: > > > Hello all, > > Just to let you know that there is an update of the enhancements bundle > available in your account area. > > Latest update 1.0.32: 4 August 2023 > > This update includes some bugfixes. I'll update BugZilla later tonight. > > Note that when installing this new version using the stack > "WidgetPackInstaller.livecode" that is included in the bundle, you might > need to restart the LC IDE once (or twice) - you will get a dialog asking > you to do so. > > Kind regards, > Panos > > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Aug 4 10:37:58 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 4 Aug 2023 17:37:58 +0300 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: <7-IZ5w3cxMIWVwf9cLAauFtIeZaYjW4cj9MXNvTlgP2Bf-WGpCy8_ppPBgzmWY6KrPfpgaL-pX7IJqu5wCVEd4FNMTNpqlAgonmj9v3n_nU=@speedbump.io> References: <7-IZ5w3cxMIWVwf9cLAauFtIeZaYjW4cj9MXNvTlgP2Bf-WGpCy8_ppPBgzmWY6KrPfpgaL-pX7IJqu5wCVEd4FNMTNpqlAgonmj9v3n_nU=@speedbump.io> Message-ID: Hello Derek, Indeed, those 2 widgets are probably the ones I mostly use in my projects as well! *>>>>How can I be sure the proper version is being loaded? Should I be clearing out the old versions, or does your installer handle that?* The installer does handle that - it removes existing versions and installs the newest ones. Kind regards, Panos -- On Fri, 4 Aug 2023 at 17:24, Derek Bump via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Panos, > > Thank you! The enhancements bundle, specifically PolyList and PolyGrid, > have been incredibly helpful in my projects. > > I've noticed I have different versions of PolyList in the "Extensions" > folder under my "My LiveCode" directory. How can I be sure the proper > version is being loaded? Should I be clearing out the old versions, or does > your installer handle that? > > Thanks again, > > Thank you, > Derek Bump > > > ------- Original Message ------- > On Friday, August 4th, 2023 at 08:47, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > > > Hello all, > > > > Just to let you know that there is an update of the enhancements bundle > > available in your account area. > > > > Latest update 1.0.32: 4 August 2023 > > > > This update includes some bugfixes. I'll update BugZilla later tonight. > > > > Note that when installing this new version using the stack > > "WidgetPackInstaller.livecode" that is included in the bundle, you might > > need to restart the LC IDE once (or twice) - you will get a dialog asking > > you to do so. > > > > Kind regards, > > Panos > > > > > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From derek-lc-list at speedbump.io Fri Aug 4 11:03:58 2023 From: derek-lc-list at speedbump.io (Derek Bump) Date: Fri, 04 Aug 2023 15:03:58 +0000 Subject: [[ ANN ]] New Enhancements Bundle v1.0.32 available In-Reply-To: References: <7-IZ5w3cxMIWVwf9cLAauFtIeZaYjW4cj9MXNvTlgP2Bf-WGpCy8_ppPBgzmWY6KrPfpgaL-pX7IJqu5wCVEd4FNMTNpqlAgonmj9v3n_nU=@speedbump.io> Message-ID: <7SCN-uX9JIHdPtBNI_GICg6CfTvB_7Sy7JTU0c4eo73V5jEcYXEh2-NHXaq_NW9SEPmD9mXuGp9q-F2T7nrIBA7NEukM_bSjNJTL9qLMwnM=@speedbump.io> Hello Panos, Excellent, thank you for the quick response. Regards, Derek Bump ------- Original Message ------- On Friday, August 4th, 2023 at 09:37, panagiotis m via use-livecode wrote: > > > Hello Derek, > > Indeed, those 2 widgets are probably the ones I mostly use in my projects > as well! > > > *>>>>How can I be sure the proper version is being loaded? Should I be > > clearing out the old versions, or does your installer handle that?* > The installer does handle that - it removes existing versions and installs > the newest ones. > > Kind regards, > Panos > -- > > On Fri, 4 Aug 2023 at 17:24, Derek Bump via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello Panos, > > > > Thank you! The enhancements bundle, specifically PolyList and PolyGrid, > > have been incredibly helpful in my projects. > > > > I've noticed I have different versions of PolyList in the "Extensions" > > folder under my "My LiveCode" directory. How can I be sure the proper > > version is being loaded? Should I be clearing out the old versions, or does > > your installer handle that? > > > > Thanks again, > > > > Thank you, > > Derek Bump > > > > ------- Original Message ------- > > On Friday, August 4th, 2023 at 08:47, panagiotis merakos via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hello all, > > > > > > Just to let you know that there is an update of the enhancements bundle > > > available in your account area. > > > > > > Latest update 1.0.32: 4 August 2023 > > > > > > This update includes some bugfixes. I'll update BugZilla later tonight. > > > > > > Note that when installing this new version using the stack > > > "WidgetPackInstaller.livecode" that is included in the bundle, you might > > > need to restart the LC IDE once (or twice) - you will get a dialog asking > > > you to do so. > > > > > > Kind regards, > > > Panos > > > > > > -- > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Aug 5 03:21:32 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 5 Aug 2023 00:21:32 -0700 Subject: If you're using the github version of Navigator, please update Message-ID: Turns out I had a glitch I didn't notice with my github client, and no updates were making it to main for some time now. So if you happen to have installed Navigator by cloning the repo, now would be a good time to update. Some improvements that have happened: 1. I completely did away with the stack and card menus, replacing them with a single Target menu (indicated by a bullseye). It lists every stack with a submenu that includes things like Go (goes to the stack), Toplevel (Toplevels the stack), Card List and Background List, and further submenus for the cards and backgrounds, allowing you to focus on any of them. This fixes several small issues with the previous stack and card target menus. Remember that Navigator can display multiple targets if you hold down the Shift key while choosing a target -- you can have as many as you like, subject to performance limitations. Note: if anyone finds this menu to be too slow, let me know -- it does count through all cards and backgrounds of every stack, but in my experience unless you're dealing with literally tens of thousands of cards it should be fine. I could write some sort of caching algorithm and make updates manual -- or something, I haven't thought about it too much. 2. I improved the The MouseStack targeting functionality. I don't know what I was thinking before with the usability of the click, or long-click, on the menu. So at this point the menu is just a menu -- select "the mouseStack" on the menu and you get the pointer bullseye, then click over whatever target you like to select it in Navigator. 3. I switched to the merge function for the custom list display string. This opens up a ridiculous set of possibilities if anyone cares to really dig in. If you find any bugs let me know. From brian at milby7.com Sat Aug 5 09:51:52 2023 From: brian at milby7.com (Brian Milby) Date: Sat, 5 Aug 2023 09:51:52 -0400 Subject: If you're using the github version of Navigator, please update In-Reply-To: References: Message-ID: <6FC62E02-9350-4612-BA3E-45F8F8776126@milby7.com> Thanks for the heads up. This is a great tool that I probably should be using more than I do. I appreciate your work on this! Brian Milby brian at milby7.com > On Aug 5, 2023, at 3:23 AM, Geoff Canyon via use-livecode wrote: > > Turns out I had a glitch I didn't notice with my github client, and no > updates were making it to main for some time now. So if you happen to have > installed Navigator by cloning the repo, now would be a good time to > update. Some improvements that have happened: > > 1. I completely did away with the stack and card menus, replacing them > with a single Target menu (indicated by a bullseye). It lists every stack > with a submenu that includes things like Go (goes to the stack), Toplevel > (Toplevels the stack), Card List and Background List, and further submenus > for the cards and backgrounds, allowing you to focus on any of them. This > fixes several small issues with the previous stack and card target menus. > > Remember that Navigator can display multiple targets if you hold down the > Shift key while choosing a target -- you can have as many as you like, > subject to performance limitations. > > Note: if anyone finds this menu to be too slow, let me know -- it does > count through all cards and backgrounds of every stack, but in my > experience unless you're dealing with literally tens of thousands of cards > it should be fine. I could write some sort of caching algorithm and make > updates manual -- or something, I haven't thought about it too much. > > 2. I improved the The MouseStack targeting functionality. I don't know what > I was thinking before with the usability of the click, or long-click, on > the menu. So at this point the menu is just a menu -- select "the > mouseStack" on the menu and you get the pointer bullseye, then click over > whatever target you like to select it in Navigator. > > 3. I switched to the merge function for the custom list display string. > This opens up a ridiculous set of possibilities if anyone cares to really > dig in. > > If you find any bugs let me know. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Aug 5 10:31:21 2023 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Sat, 5 Aug 2023 10:31:21 -0400 Subject: Snapshot of browser not working? In-Reply-To: References: Message-ID: I believe this is a bug/feature of the browser widget being a native control. What has worked for me is being more specific about the snapshot location. export snapshot from rect globalRect(the rect of widget “Browser" of group “foo") to pictVariable as PNG This has worked in macOS and Windows standalones for a current project. Hope that helps! —Andrew Bell > Subject: Snapshot of browser not working? > Message-ID: > > Content-Type: text/plain; charset="UTF-8" > > I cannot find a specific bug report - but I am trying to take a snapshot of > a browser widget to capture an image of the website. In the latest 10 DP 5 > on MacOS M2 i get a very truncated text of the image (a few lines) in all > formats using: > > *export* snapshot from widget "Browser" to pictVariable as PNG > > Is this something that works on other platforms or livecode versions? > From scott at elementarysoftware.com Sun Aug 6 21:04:02 2023 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 6 Aug 2023 18:04:02 -0700 Subject: tsNetGet() on android Message-ID: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> I’m having difficulty using a LiveCode-created android app to read a (4.7 KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business Edition) I don’t actually think this is a tsNet issue since I had previously been using “load URL” syntax and that failed on android as well. The URL I am attempting to read is: constant kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt" (I have tried variations using http:// , www. and also, not using a constant) The call to tsNet is formatted: put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into tResult The (curl?) error I am getting from tsNet is: tsneterr: (6) Could not resolve host: elementarysoftware.com This seems like such a simple thing, so I’m hoping for an idea from the collective. (After which I will slap my forehead and say, “Duh!”) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ From jacque at hyperactivesw.com Sun Aug 6 22:13:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 06 Aug 2023 21:13:17 -0500 Subject: tsNetGet() on android In-Reply-To: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> References: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> Message-ID: <189cdc52648.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It might be due to a insidious trick that caught me out. It also caught the person who helped me, who said he only knew about it because it got him too. I assume you already have the right inclusions, but you may have missed the permissions checkbox in the Android pane of standalone settings. There's an Internet permission in there. Surprise! If that isn't the problem then...um...? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 6, 2023 8:06:36 PM scott--- via use-livecode wrote: > Im having difficulty using a LiveCode-created android app to read a (4.7 > KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the > app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business > Edition) I dont actually think this is a tsNet issue since I had > previously been using load URL syntax and that failed on android as well. > The URL I am attempting to read is: > > constant > kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt" > > (I have tried variations using http:// , www. and also, not using a > constant) > > The call to tsNet is formatted: > > put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into > tResult > > The (curl?) error I am getting from tsNet is: > > tsneterr: (6) Could not resolve host: elementarysoftware.com > > > This seems like such a simple thing, so Im hoping for an idea from the > collective. (After which I will slap my forehead and say, Duh!) > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sun Aug 6 22:29:04 2023 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 6 Aug 2023 19:29:04 -0700 Subject: tsNetGet() on android In-Reply-To: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> References: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> Message-ID: On 8/6/23 18:04, scott--- via use-livecode wrote: > Im having difficulty using a LiveCode-created android app to read a (4.7 KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business Edition) I dont actually think this is a tsNet issue since I had previously been using load URL syntax and that failed on android as well. The URL I am attempting to read is: > > constant kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt" > > (I have tried variations using http:// , www. and also, not using a constant) > > The call to tsNet is formatted: > > put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into tResult > > The (curl?) error I am getting from tsNet is: > > tsneterr: (6) Could not resolve host: elementarysoftware.com > > This seems like such a simple thing, so Im hoping for an idea from the collective. (After which I will slap my forehead and say, Duh!) Your constant uses "https" but the error message says "http"? That's weird. Have you tried using 192.99.207.157 instead? That should eliminate dns as a variable. -- Mark Wieder ahsoftware at gmail.com From scott at elementarysoftware.com Mon Aug 7 00:35:06 2023 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 6 Aug 2023 21:35:06 -0700 Subject: tsNetGet() on android In-Reply-To: References: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> Message-ID: <7779CFF0-DC6F-4E2C-9587-4FFB964355CE@elementarysoftware.com> @Mark: I thought that “http” being reported in the error was weird when the constant used “https” but what do I know. @Jacque: Nailed it! Works as expected now. (Forehead slap was gentle but firm) Thank you both! — Scott > On Aug 6, 2023, at 7:29 PM, Mark Wieder via use-livecode wrote: > > On 8/6/23 18:04, scott--- via use-livecode wrote: >> I’m having difficulty using a LiveCode-created android app to read a (4.7 KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business Edition) I don’t actually think this is a tsNet issue since I had previously been using “load URL” syntax and that failed on android as well. The URL I am attempting to read is: >> constant kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt" >> (I have tried variations using http:// , www. and also, not using a constant) >> The call to tsNet is formatted: >> put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into tResult >> The (curl?) error I am getting from tsNet is: >> tsneterr: (6) Could not resolve host: elementarysoftware.com >> This seems like such a simple thing, so I’m hoping for an idea from the collective. (After which I will slap my forehead and say, “Duh!”) > > Your constant uses "https" but the error message says "http"? > That's weird. > Have you tried using 192.99.207.157 instead? That should eliminate dns as a variable. > > > -- > Mark Wieder > ahsoftware at gmail.com > > > It might be due to a insidious trick that caught me out. It also caught the person who helped me, who said he only knew about it because it got him too. > > I assume you already have the right inclusions, but you may have missed the permissions checkbox in the Android pane of standalone settings. There's an Internet permission in there. Surprise! > > If that isn't the problem then...um...? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Mon Aug 7 13:37:03 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 7 Aug 2023 11:37:03 -0600 Subject: Light Windows programs takes 40 s to load Message-ID: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Greetings! A made a stack with very little script—just enough to exercise the GUI. (I couldn’t build a Mac app; more on that as a separate question.) I build a Windows app from my Mac. It takes 40 seconds to load. What might I be doing wrong? I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute. Dar From merakosp at gmail.com Mon Aug 7 13:42:57 2023 From: merakosp at gmail.com (panagiotis m) Date: Mon, 7 Aug 2023 20:42:57 +0300 Subject: Light Windows programs takes 40 s to load In-Reply-To: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Hello Dar, Could you quit the printer spooler process ( from the task manager or from Windows CMD) and try again? Cheers, Panos On Mon, 7 Aug 2023, 20:38 Dar Scott via use-livecode, < use-livecode at lists.runrev.com> wrote: > > Greetings! > > A made a stack with very little script—just enough to exercise the GUI. > > (I couldn’t build a Mac app; more on that as a separate question.) > > I build a Windows app from my Mac. It takes 40 seconds to load. What might > I be doing wrong? > > I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute. > > Dar > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Mon Aug 7 13:46:57 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 7 Aug 2023 11:46:57 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed Message-ID: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> I’m having trouble building an application for Mac Intel. The first time LiveCode crashed. Subsequent times, I get this error: There was an error while saving the standalone application Adding ad-hoc signature failed with error: /…/myProgram.app: Replacing existing signature /…/myProgram.app: Resource for, Finder information, or similar detritus not Allowed I tried fiddling with the PLIST settings without success. From jacque at hyperactivesw.com Mon Aug 7 13:57:56 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Aug 2023 12:57:56 -0500 Subject: tsNetGet() on android In-Reply-To: <7779CFF0-DC6F-4E2C-9587-4FFB964355CE@elementarysoftware.com> References: <78391A36-2711-4DB2-8511-8829B3594D0A@elementarysoftware.com> <7779CFF0-DC6F-4E2C-9587-4FFB964355CE@elementarysoftware.com> Message-ID: <189d12600a0.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Cool. So, someone helped someone who helped me who helped you. Your turn. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 6, 2023 11:37:26 PM scott--- via use-livecode wrote: > > @Jacque: Nailed it! Works as expected now. (Forehead slap was gentle but > firm) From jacque at hyperactivesw.com Mon Aug 7 17:43:42 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Aug 2023 16:43:42 -0500 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> Message-ID: <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> This might help: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: > Im having trouble building an application for Mac Intel. > > The first time LiveCode crashed. > > Subsequent times, I get this error: > There was an error while saving the standalone application > Adding ad-hoc signature failed with error: > //myProgram.app: > Replacing existing signature > //myProgram.app: > Resource for, Finder information, or similar detritus not > Allowed > > I tried fiddling with the PLIST settings without success. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Aug 7 18:48:27 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Aug 2023 22:48:27 +0000 Subject: Bug or...? Native Querying Message-ID: <105A7904-B04B-4473-8004-424F4636D060@iotecdigital.com> I have code that uses the native API for SQL (as opposed to sqlYoga) because I have to do some joining that I do not know how to do with sqlYoga. The query string looks like this: select fileid,filename,fileversion,filecategory,custid,siteid,deviceid,serviceid,softwareid,parentidlist,filemodified,tempfilemodified,tmpfilesmodified,checkoutid,checkoutname,checkoutpath,rfapath,lastupdate,updateby from files t1 where custid = 56; When I execute this query in mySQLWorkbench, I get 6 records. When I use the native API: put revQueryDatabase( tDBID, tSQL) into tCursor Then I get the revNumberOfRecords(tCursor), but it’s only 5!!!!! The same query gets 6 using mySQLWorkbench and only 5 are counted in the cursor! Please tell my I haven’t stumbled across a Lex Luther universe! Bob S From dan at clearvisiontech.com Mon Aug 7 18:56:04 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 7 Aug 2023 22:56:04 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Does anyone have any experience with consumable in-app purchases on Android? I can’t seem to figure out how to (1) create a consumable product, and (2) how to consume it. mobileStoreConsumePurchase pProductID doesn’t seem to function right… I get back a result that is “true”, but attempting to purchase the same product, returns “alreadyEntitled”. The “How do I implement in-app purchases in LiveCode - Google Play Store?” lesson says: click "In-App Products” and click “Add new product”. From there, follow the instructions to create the type of in-app purchase you wish to use. In Google Play Console > Monitize > In-App Products > Create Product, there isn’t a place to select the type of in-app purchase. Any insight or instructions you may have would be greatly appreciated!! -Dan From selander at tkf.att.ne.jp Mon Aug 7 18:56:50 2023 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 8 Aug 2023 07:56:50 +0900 Subject: Uploading progress bar Message-ID: <88723a3a-4f10-3988-1911-11a56e1a2fc2@tkf.att.ne.jp> We are airing a kid's anime program on TV this fall, and are encouraging parents to video their kids singing the theme song -- which we'll air at the end of the program. Using LC Server, I made a simple page for the parents to use to upload the videos. It's working fine, but I would like to add a progress bar to give some kind of user feedback as the upload can take 2 or 3 minutes. I've found several php scripts that do this, which look great but I have no idea how it works, but can anyone tell me how I could do this in LC? Any and all tips appreciated! Tim Selander Tokyo, Japan From bobsneidar at iotecdigital.com Mon Aug 7 19:02:05 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Aug 2023 23:02:05 +0000 Subject: Bug or...? Native Querying In-Reply-To: <105A7904-B04B-4473-8004-424F4636D060@iotecdigital.com> References: <105A7904-B04B-4473-8004-424F4636D060@iotecdigital.com> Message-ID: I spoke too soon. I appended some SQL onto the initial query and there was an error in the SQL. I used ...where custid = 56 AND fileversion = (select max(fileversion) from files t2 where t2.filename = t1.filename) I should have used ...where custid = 56 AND fileversion = (select max(t1.fileversion) from files t2 where t2.filename = t1.filename) I was making an ambiguous reference to fileversion. Odd that the SQL ran anyway. Apparently if the reference is inside a function, mySQL does not balk! Bob S On Aug 7, 2023, at 3:48 PM, Bob Sneidar via use-livecode wrote: I have code that uses the native API for SQL (as opposed to sqlYoga) because I have to do some joining that I do not know how to do with sqlYoga. The query string looks like this: select fileid,filename,fileversion,filecategory,custid,siteid,deviceid,serviceid,softwareid,parentidlist,filemodified,tempfilemodified,tmpfilesmodified,checkoutid,checkoutname,checkoutpath,rfapath,lastupdate,updateby from files t1 where custid = 56; When I execute this query in mySQLWorkbench, I get 6 records. When I use the native API: put revQueryDatabase( tDBID, tSQL) into tCursor Then I get the revNumberOfRecords(tCursor), but it’s only 5!!!!! The same query gets 6 using mySQLWorkbench and only 5 are counted in the cursor! Please tell my I haven’t stumbled across a Lex Luther universe! Bob S From bobsneidar at iotecdigital.com Mon Aug 7 19:14:44 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Aug 2023 23:14:44 +0000 Subject: Bug or...? Native Querying In-Reply-To: References: <105A7904-B04B-4473-8004-424F4636D060@iotecdigital.com> Message-ID: Final correction and then I’ll shut up. Should have read …where custid = 56 AND fileversion = (select max(t2.fileversion) from files t2 where t2.filename = t1.filename) MAN that is complicated! Bob S On Aug 7, 2023, at 4:01 PM, Bob Sneidar wrote: I spoke too soon. I appended some SQL onto the initial query and there was an error in the SQL. I used ...where custid = 56 AND fileversion = (select max(fileversion) from files t2 where t2.filename = t1.filename) I should have used ...where custid = 56 AND fileversion = (select max(t1.fileversion) from files t2 where t2.filename = t1.filename) I was making an ambiguous reference to fileversion. Odd that the SQL ran anyway. Apparently if the reference is inside a function, mySQL does not balk! Bob S On Aug 7, 2023, at 3:48 PM, Bob Sneidar via use-livecode wrote: I have code that uses the native API for SQL (as opposed to sqlYoga) because I have to do some joining that I do not know how to do with sqlYoga. The query string looks like this: select fileid,filename,fileversion,filecategory,custid,siteid,deviceid,serviceid,softwareid,parentidlist,filemodified,tempfilemodified,tmpfilesmodified,checkoutid,checkoutname,checkoutpath,rfapath,lastupdate,updateby from files t1 where custid = 56; When I execute this query in mySQLWorkbench, I get 6 records. When I use the native API: put revQueryDatabase( tDBID, tSQL) into tCursor Then I get the revNumberOfRecords(tCursor), but it’s only 5!!!!! The same query gets 6 using mySQLWorkbench and only 5 are counted in the cursor! Please tell my I haven’t stumbled across a Lex Luther universe! Bob S From bdrunrev at gmail.com Tue Aug 8 02:57:37 2023 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 8 Aug 2023 07:57:37 +0100 Subject: If you're using the github version of Navigator, please update In-Reply-To: References: Message-ID: Thanks for reminding me to re-install a copy, Geoff. I've been away from LC development for a year or so, started again using a new machine, and had forgotten how much I like using your tool. I just downloaded v 7.5 RC2 from your Wordpress site, which looks like it's at the cutting edge along with the Github version. I would suggest you put the URL to the documentation in your signature. Probably most LC users have no idea what they are missing! https://gcanyon.wordpress.com/navigator-documentation/ Regards Bernard On Sat, Aug 5, 2023 at 8:23 AM Geoff Canyon via use-livecode < use-livecode at lists.runrev.com> wrote: > Turns out I had a glitch I didn't notice with my github client, and no > updates were making it to main for some time now. So if you happen to have > installed Navigator by cloning the repo, now would be a good time to > update. Some improvements that have happened: > > > From dsc at swcp.com Tue Aug 8 09:59:24 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 07:59:24 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Thanks, Jacque! That gives me a clue. I will try to get more info on this. However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. I’m willing to try some magic values in Standalone Application Settings. I’m using LiveCode 9.6.9, but I’m willing to upgrade. I’m on macOS Ventura. Has anyone successfully built a Mac application recently? Dar > On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: > > This might help: > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: > >> I’m having trouble building an application for Mac Intel. >> >> The first time LiveCode crashed. >> >> Subsequent times, I get this error: >> There was an error while saving the standalone application >> Adding ad-hoc signature failed with error: >> /…/myProgram.app: >> Replacing existing signature >> /…/myProgram.app: >> Resource for, Finder information, or similar detritus not >> Allowed >> >> I tried fiddling with the PLIST settings without success. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 8 10:03:41 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 8 Aug 2023 07:03:41 -0700 Subject: If you're using the github version of Navigator, please update In-Reply-To: References: Message-ID: Thanks for the suggestion, Bernard. Note that in a moment of whimsy I switched development of the documentation from wordpress to wix. So documentation on wordpress stops at version 6. Everything more recent is here: https://gcanyon.wixsite.com/navigator But even that's slightly out of date. I'll update soon. Thanks! Geoff On Mon, Aug 7, 2023 at 11:59 PM Bernard Devlin via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks for reminding me to re-install a copy, Geoff. I've been away from > LC development for a year or so, started again using a new machine, and had > forgotten how much I like using your tool. I just downloaded v 7.5 RC2 > from your Wordpress site, which looks like it's at the cutting edge along > with the Github version. > > I would suggest you put the URL to the documentation in your signature. > Probably most LC users have no idea what they are missing! > https://gcanyon.wordpress.com/navigator-documentation/ > > Regards > Bernard > > On Sat, Aug 5, 2023 at 8:23 AM Geoff Canyon via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Turns out I had a glitch I didn't notice with my github client, and no > > updates were making it to main for some time now. So if you happen to > have > > installed Navigator by cloning the repo, now would be a good time to > > update. Some improvements that have happened: > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Tue Aug 8 10:26:42 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 08:26:42 -0600 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Sure, Panos! Uh, what’s its name? > On Aug 7, 2023, at 11:42 AM, panagiotis m via use-livecode wrote: > > Hello Dar, > > Could you quit the printer spooler process ( from the task manager or from > Windows CMD) and try again? > > Cheers, > Panos > > On Mon, 7 Aug 2023, 20:38 Dar Scott via use-livecode, < > use-livecode at lists.runrev.com> wrote: > >> >> Greetings! >> >> A made a stack with very little script—just enough to exercise the GUI. >> >> (I couldn’t build a Mac app; more on that as a separate question.) >> >> I build a Windows app from my Mac. It takes 40 seconds to load. What might >> I be doing wrong? >> >> I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute. >> >> Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 11:14:12 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 8 Aug 2023 18:14:12 +0300 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Hello Dar, So, try this: 1. Open Windows Task Manager 2. Search for a process named "Spooler Subsystem app" or just "Print Spooler" 3. Force quit this process Now open your standalone and see if it starts immediately. Cheers, Panos -- On Tue, 8 Aug 2023 at 17:27, Dar Scott via use-livecode < use-livecode at lists.runrev.com> wrote: > Sure, Panos! Uh, what’s its name? > > > On Aug 7, 2023, at 11:42 AM, panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello Dar, > > > > Could you quit the printer spooler process ( from the task manager or > from > > Windows CMD) and try again? > > > > Cheers, > > Panos > > > > On Mon, 7 Aug 2023, 20:38 Dar Scott via use-livecode, < > > use-livecode at lists.runrev.com> wrote: > > > >> > >> Greetings! > >> > >> A made a stack with very little script—just enough to exercise the GUI. > >> > >> (I couldn’t build a Mac app; more on that as a separate question.) > >> > >> I build a Windows app from my Mac. It takes 40 seconds to load. What > might > >> I be doing wrong? > >> > >> I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute. > >> > >> Dar > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 11:35:14 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 15:35:14 +0000 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Pardon me if you know this already. Apps that are capable of printing will attempt to connect to the default printer upon launch. Panos is trying to isolate an issue where if the default printer is unresponsive, your app will wait until the process times out before proceeding. In Windows the Print Spooler service is the broker for all print processes. Stopping this service will prevent the long timeout. If using Windows, pop the Windows menu then start typing the word, “Service”. Once you see “Services” open it, then find the Print Spooler service (the list is Hot Typable but you have to select one of the services first, otherwise just scroll down) the slick the Stop Service button. BTW I would not use the task manager for this. I do not see either of those names in my tasks. I think the Print Spooler task is actually named Spoolsv. Bob S On Aug 8, 2023, at 7:26 AM, Dar Scott via use-livecode wrote: Sure, Panos! Uh, what’s its name? From jacque at hyperactivesw.com Tue Aug 8 11:44:23 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Aug 2023 10:44:23 -0500 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: <189d5d217d8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I built a Mac standalone about 3 weeks ago without issue using an RC version of 9.6.9. I'm still on Monterey though. Do you have any inclusions selected or files in the Copy Files pane of the standalone settings? If so, try building without them and see what happens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 8, 2023 9:01:54 AM Dar Scott via use-livecode wrote: > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note shows how to delete the offending resource using the > xattr tool, but I have no app to point it to. LiveCode did not build anything. > > Im willing to try some magic values in Standalone Application Settings. > Im using LiveCode 9.6.9, but Im willing to upgrade. > Im on macOS Ventura. > > Has anyone successfully built a Mac application recently? > > Dar > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode >> wrote: >> >> This might help: >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode >> wrote: >> >>> Im having trouble building an application for Mac Intel. >>> >>> The first time LiveCode crashed. >>> >>> Subsequent times, I get this error: >>> There was an error while saving the standalone application >>> Adding ad-hoc signature failed with error: >>> //myProgram.app: >>> Replacing existing signature >>> //myProgram.app: >>> Resource for, Finder information, or similar detritus not >>> Allowed >>> >>> I tried fiddling with the PLIST settings without success. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 11:45:40 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 15:45:40 +0000 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. Bob S > On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: > > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. > > I’m willing to try some magic values in Standalone Application Settings. > I’m using LiveCode 9.6.9, but I’m willing to upgrade. > I’m on macOS Ventura. > > Has anyone successfully built a Mac application recently? > > Dar > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >> >> This might help: >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >> >>> I’m having trouble building an application for Mac Intel. >>> >>> The first time LiveCode crashed. >>> >>> Subsequent times, I get this error: >>> There was an error while saving the standalone application >>> Adding ad-hoc signature failed with error: >>> /…/myProgram.app: >>> Replacing existing signature >>> /…/myProgram.app: >>> Resource for, Finder information, or similar detritus not >>> Allowed >>> >>> I tried fiddling with the PLIST settings without success. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Tue Aug 8 12:07:12 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Aug 2023 17:07:12 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: <60649154-A10E-4DBA-88B3-6B6576D7A59B@gmail.com> Hi Dar, I just built one unsigned and it worked fine. Will you be signing it for distribution in the Mac App store as well? Mark > On 8 Aug 2023, at 2:59 pm, Dar Scott via use-livecode wrote: > > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. > > I’m willing to try some magic values in Standalone Application Settings. > I’m using LiveCode 9.6.9, but I’m willing to upgrade. > I’m on macOS Ventura. > > Has anyone successfully built a Mac application recently? > > Dar > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >> >> This might help: >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >> >>> I’m having trouble building an application for Mac Intel. >>> >>> The first time LiveCode crashed. >>> >>> Subsequent times, I get this error: >>> There was an error while saving the standalone application >>> Adding ad-hoc signature failed with error: >>> /…/myProgram.app: >>> Replacing existing signature >>> /…/myProgram.app: >>> Resource for, Finder information, or similar detritus not >>> Allowed >>> >>> I tried fiddling with the PLIST settings without success. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:07:42 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 8 Aug 2023 19:07:42 +0300 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: Hello all, We recently fixed a bug (affecting mainly Windows 11) where the LC installer, the LC IDE and Windows standalones were crashing on startup. It turned out this was caused if some generic printer drivers were installed in the device, and installing the official printer drivers from the vendor's website prevented the crash. We had reports for Brother printers, Epson and HP if I remember correctly. The fix we added did fix the crash, but in some cases caused a delay on startup, if the device still had the "generic" printer driver installed. That's why I asked to quit the printer spooler and try again - if it works with the printer spooler not running, it means that this device has a "generic" printer driver installed, so Dar could just install the official driver from the vendor's website and have the issue fixed. Kind regards, Panos On Tue, 8 Aug 2023 at 18:36, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Pardon me if you know this already. Apps that are capable of printing will > attempt to connect to the default printer upon launch. Panos is trying to > isolate an issue where if the default printer is unresponsive, your app > will wait until the process times out before proceeding. In Windows the > Print Spooler service is the broker for all print processes. Stopping this > service will prevent the long timeout. > > If using Windows, pop the Windows menu then start typing the word, > “Service”. Once you see “Services” open it, then find the Print Spooler > service (the list is Hot Typable but you have to select one of the services > first, otherwise just scroll down) the slick the Stop Service button. > > BTW I would not use the task manager for this. I do not see either of > those names in my tasks. I think the Print Spooler task is actually named > Spoolsv. > > Bob S > > > On Aug 8, 2023, at 7:26 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Sure, Panos! Uh, what’s its name? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:08:59 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Aug 2023 11:08:59 -0500 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: > I have, but I dont do any signing or notarizing. If that happens > transparently, then its working for me. > > Bob S > > >> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode >> wrote: >> >> Thanks, Jacque! >> >> That gives me a clue. I will try to get more info on this. >> >> However, that note shows how to delete the offending resource using the >> xattr tool, but I have no app to point it to. LiveCode did not build anything. >> >> Im willing to try some magic values in Standalone Application Settings. >> Im using LiveCode 9.6.9, but Im willing to upgrade. >> Im on macOS Ventura. >> >> Has anyone successfully built a Mac application recently? >> >> Dar >> >>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode >>> wrote: >>> >>> This might help: >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode >>> wrote: >>> >>>> Im having trouble building an application for Mac Intel. >>>> >>>> The first time LiveCode crashed. >>>> >>>> Subsequent times, I get this error: >>>> There was an error while saving the standalone application >>>> Adding ad-hoc signature failed with error: >>>> //myProgram.app: >>>> Replacing existing signature >>>> //myProgram.app: >>>> Resource for, Finder information, or similar detritus not >>>> Allowed >>>> >>>> I tried fiddling with the PLIST settings without success. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Tue Aug 8 12:11:39 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Aug 2023 17:11:39 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> Message-ID: <02F4A07C-7772-46A6-826A-D5F8FD4C016E@gmail.com> I should add I used 9.6.8 on Monterey. > On 8 Aug 2023, at 2:59 pm, Dar Scott via use-livecode wrote: > > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. > > I’m willing to try some magic values in Standalone Application Settings. > I’m using LiveCode 9.6.9, but I’m willing to upgrade. > I’m on macOS Ventura. > > Has anyone successfully built a Mac application recently? > > Dar > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >> >> This might help: >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >> >>> I’m having trouble building an application for Mac Intel. >>> >>> The first time LiveCode crashed. >>> >>> Subsequent times, I get this error: >>> There was an error while saving the standalone application >>> Adding ad-hoc signature failed with error: >>> /…/myProgram.app: >>> Replacing existing signature >>> /…/myProgram.app: >>> Resource for, Finder information, or similar detritus not >>> Allowed >>> >>> I tried fiddling with the PLIST settings without success. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:12:29 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 8 Aug 2023 19:12:29 +0300 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <60649154-A10E-4DBA-88B3-6B6576D7A59B@gmail.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <60649154-A10E-4DBA-88B3-6B6576D7A59B@gmail.com> Message-ID: Hello all, The standalone builder does add a signature when building the mac standalone - but an ad hoc one (i.e. it does not use an actual certificate). The error Dar gets happens during the standalone building process. @Dar Could you attach the exact error? Just upload the screenshot somewhere and post the link. It might help us isolate the problem, although I suspect it is related to the command line tools version you have installed. Could you try this in the terminal and post the output? xcode-select -p Cheers, Panos On Tue, 8 Aug 2023 at 19:08, Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Dar, > > I just built one unsigned and it worked fine. Will you be signing it for > distribution in the Mac App store as well? > > Mark > > > On 8 Aug 2023, at 2:59 pm, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Thanks, Jacque! > > > > That gives me a clue. I will try to get more info on this. > > > > However, that note shows how to delete the offending resource using the > xattr tool, but I have no app to point it to. LiveCode did not build > anything. > > > > I’m willing to try some magic values in Standalone Application Settings. > > I’m using LiveCode 9.6.9, but I’m willing to upgrade. > > I’m on macOS Ventura. > > > > Has anyone successfully built a Mac application recently? > > > > Dar > > > >> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> This might help: > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.com > >> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >>> I’m having trouble building an application for Mac Intel. > >>> > >>> The first time LiveCode crashed. > >>> > >>> Subsequent times, I get this error: > >>> There was an error while saving the standalone application > >>> Adding ad-hoc signature failed with error: > >>> /…/myProgram.app: > >>> Replacing existing signature > >>> /…/myProgram.app: > >>> Resource for, Finder information, or similar detritus not > >>> Allowed > >>> > >>> I tried fiddling with the PLIST settings without success. > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Tue Aug 8 12:19:46 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 10:19:46 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. For PLIST I chose Chose a PLIST and then clicked Use None. I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. I have no Icons added. I get the same error. Dar > On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: > > Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: > >> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >> >> Bob S >> >> >>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>> >>> Thanks, Jacque! >>> >>> That gives me a clue. I will try to get more info on this. >>> >>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>> >>> I’m willing to try some magic values in Standalone Application Settings. >>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>> I’m on macOS Ventura. >>> >>> Has anyone successfully built a Mac application recently? >>> >>> Dar >>> >>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> This might help: >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>> >>>>> I’m having trouble building an application for Mac Intel. >>>>> >>>>> The first time LiveCode crashed. >>>>> >>>>> Subsequent times, I get this error: >>>>> There was an error while saving the standalone application >>>>> Adding ad-hoc signature failed with error: >>>>> /…/myProgram.app: >>>>> Replacing existing signature >>>>> /…/myProgram.app: >>>>> Resource for, Finder information, or similar detritus not >>>>> Allowed >>>>> >>>>> I tried fiddling with the PLIST settings without success. >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:19:52 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 8 Aug 2023 19:19:52 +0300 Subject: Consumable In App Purchases on Android In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hello Dan, I think Google no longer differentiates between consumables and non-consumables when setting up the in-app product - they are both marked as "In-App Products”. However, in LiveCode, you have to call mobileStoreConsumePurchase pProductID to be able to buy the product again - otherwise you get a "alreadyEntitled" status. If you do this, and still get "alreadyEntitled", then you have to ensure that the pProductID param passed to mobileStoreConsumePurchase indeed matches exactly the product id of the product you set up in the google dev console. Hope this helps. Kind regards, Panos On Tue, 8 Aug 2023 at 01:57, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Does anyone have any experience with consumable in-app purchases on > Android? I can’t seem to figure out how to (1) create a consumable > product, and (2) how to consume it. mobileStoreConsumePurchase pProductID > doesn’t seem to function right… I get back a result that is “true”, but > attempting to purchase the same product, returns “alreadyEntitled”. > > The “How do I implement in-app purchases in LiveCode - Google Play Store?” > lesson says: click "In-App Products” and click “Add new product”. From > there, follow the instructions to create the type of in-app purchase you > wish to use. > > In Google Play Console > Monitize > In-App Products > Create Product, > there isn’t a place to select the type of in-app purchase. > > Any insight or instructions you may have would be greatly appreciated!! > > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Aug 8 12:28:31 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 16:28:31 +0000 Subject: Variable Watcher disappeared Message-ID: Hi all. Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? Bob S From dan at clearvisiontech.com Tue Aug 8 12:35:19 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 8 Aug 2023 16:35:19 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Panos, Thank you for the reply. Unfortunately, this isn’t working for me… maybe I’m doing something wrong? Product ID is “1001”. I was able to purchase that product no problem. If I attempt to purchase it again, I get “alreadyEntitled”. In a button I put: on mouseUp mobileStoreConsumePurchase 1001 answer the result end mouseUp The result is empty (I assume that is success). Then, I attempt to purchase 1001 and again I get “alreadyEntitled”. I then tried (just guessing at what I need to do as the docs are very vague on how to use it): on mouseUp mobileStoreEnablePurchaseUpdates mobileStoreSetProductType 1001,"inapp" mobileStoreConsumePurchase 1001 answer the result end mouseUp Again, result is empty and an attempt to purchase 1001 again, gets “alreadyEntitled”. What am I doing wrong? -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Tuesday, August 8, 2023 at 9:21 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Consumable In App Purchases on Android Hello Dan, I think Google no longer differentiates between consumables and non-consumables when setting up the in-app product - they are both marked as "In-App Products”. However, in LiveCode, you have to call mobileStoreConsumePurchase pProductID to be able to buy the product again - otherwise you get a "alreadyEntitled" status. If you do this, and still get "alreadyEntitled", then you have to ensure that the pProductID param passed to mobileStoreConsumePurchase indeed matches exactly the product id of the product you set up in the google dev console. Hope this helps. Kind regards, Panos On Tue, 8 Aug 2023 at 01:57, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Does anyone have any experience with consumable in-app purchases on > Android? I can’t seem to figure out how to (1) create a consumable > product, and (2) how to consume it. mobileStoreConsumePurchase pProductID > doesn’t seem to function right… I get back a result that is “true”, but > attempting to purchase the same product, returns “alreadyEntitled”. > > The “How do I implement in-app purchases in LiveCode - Google Play Store?” > lesson says: click "In-App Products” and click “Add new product”. From > there, follow the instructions to create the type of in-app purchase you > wish to use. > > In Google Play Console > Monitize > In-App Products > Create Product, > there isn’t a place to select the type of in-app purchase. > > Any insight or instructions you may have would be greatly appreciated!! > > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 8 12:37:57 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 10:37:57 -0600 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: <1335B845-0809-4929-98E7-8EBF048E81E6@swcp.com> I stopped service Spoolsv. The executable then loaded quickly. It is not possible to delete drivers on that computer. I will set up a different computer with limited printer drivers. I look forward to seeing this resolved. My program does not print. Is there something I can remove in the creating of a standalone? Dar > On Aug 8, 2023, at 10:07 AM, panagiotis m via use-livecode wrote: > > Hello all, > > We recently fixed a bug (affecting mainly Windows 11) where the LC > installer, the LC IDE and Windows standalones were crashing on startup. It > turned out this was caused if some generic printer drivers were installed > in the device, and installing the official printer drivers from the > vendor's website prevented the crash. We had reports for Brother printers, > Epson and HP if I remember correctly. > > The fix we added did fix the crash, but in some cases caused a delay on > startup, if the device still had the "generic" printer driver installed. > > That's why I asked to quit the printer spooler and try again - if it works > with the printer spooler not running, it means that this device has a > "generic" printer driver installed, so Dar could just install the official > driver from the vendor's website and have the issue fixed. > > Kind regards, > Panos > > > > On Tue, 8 Aug 2023 at 18:36, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Pardon me if you know this already. Apps that are capable of printing will >> attempt to connect to the default printer upon launch. Panos is trying to >> isolate an issue where if the default printer is unresponsive, your app >> will wait until the process times out before proceeding. In Windows the >> Print Spooler service is the broker for all print processes. Stopping this >> service will prevent the long timeout. >> >> If using Windows, pop the Windows menu then start typing the word, >> “Service”. Once you see “Services” open it, then find the Print Spooler >> service (the list is Hot Typable but you have to select one of the services >> first, otherwise just scroll down) the slick the Stop Service button. >> >> BTW I would not use the task manager for this. I do not see either of >> those names in my tasks. I think the Print Spooler task is actually named >> Spoolsv. >> >> Bob S >> >> >> On Aug 8, 2023, at 7:26 AM, Dar Scott via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Sure, Panos! Uh, what’s its name? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 12:39:06 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Aug 2023 11:39:06 -0500 Subject: Light Windows programs takes 40 s to load In-Reply-To: References: <1032DDA5-E409-49DA-8165-B888D1191233@swcp.com> Message-ID: <189d6043010.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Removing the print driver or spooler works on the current machine but it will affect any other user who runs the app. We have a steady stream of support tickets from Windows users and a boilerplate response prepared. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 8, 2023 11:09:41 AM panagiotis m via use-livecode wrote: > Hello all, > > We recently fixed a bug (affecting mainly Windows 11) where the LC > installer, the LC IDE and Windows standalones were crashing on startup. It > turned out this was caused if some generic printer drivers were installed > in the device, and installing the official printer drivers from the > vendor's website prevented the crash. We had reports for Brother printers, > Epson and HP if I remember correctly. > > The fix we added did fix the crash, but in some cases caused a delay on > startup, if the device still had the "generic" printer driver installed. > > That's why I asked to quit the printer spooler and try again - if it works > with the printer spooler not running, it means that this device has a > "generic" printer driver installed, so Dar could just install the official > driver from the vendor's website and have the issue fixed. > > Kind regards, > Panos > > > > On Tue, 8 Aug 2023 at 18:36, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Pardon me if you know this already. Apps that are capable of printing will >> attempt to connect to the default printer upon launch. Panos is trying to >> isolate an issue where if the default printer is unresponsive, your app >> will wait until the process times out before proceeding. In Windows the >> Print Spooler service is the broker for all print processes. Stopping this >> service will prevent the long timeout. >> >> If using Windows, pop the Windows menu then start typing the word, >> Service. Once you see Services open it, then find the Print Spooler >> service (the list is Hot Typable but you have to select one of the services >> first, otherwise just scroll down) the slick the Stop Service button. >> >> BTW I would not use the task manager for this. I do not see either of >> those names in my tasks. I think the Print Spooler task is actually named >> Spoolsv. >> >> Bob S >> >> >> On Aug 8, 2023, at 7:26 AM, Dar Scott via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Sure, Panos! Uh, whats its name? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 8 12:41:45 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 10:41:45 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> Message-ID: xcode-select -p /Library/Developer/CommandLineTools > On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: > > I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. > > For PLIST I chose Chose a PLIST and then clicked Use None. > > I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. > > I have no Icons added. > > I get the same error. > > Dar > >> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >> >> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >> >>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>> >>> Bob S >>> >>> >>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>> >>>> Thanks, Jacque! >>>> >>>> That gives me a clue. I will try to get more info on this. >>>> >>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>> >>>> I’m willing to try some magic values in Standalone Application Settings. >>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>> I’m on macOS Ventura. >>>> >>>> Has anyone successfully built a Mac application recently? >>>> >>>> Dar >>>> >>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> This might help: >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>> >>>>>> I’m having trouble building an application for Mac Intel. >>>>>> >>>>>> The first time LiveCode crashed. >>>>>> >>>>>> Subsequent times, I get this error: >>>>>> There was an error while saving the standalone application >>>>>> Adding ad-hoc signature failed with error: >>>>>> /…/myProgram.app: >>>>>> Replacing existing signature >>>>>> /…/myProgram.app: >>>>>> Resource for, Finder information, or similar detritus not >>>>>> Allowed >>>>>> >>>>>> I tried fiddling with the PLIST settings without success. >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From marksmithhfx at gmail.com Tue Aug 8 12:47:05 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Aug 2023 17:47:05 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> Message-ID: I get this in response to Xcode-select -p /Applications/Xcode 13.2.app/Contents/Developer > On 8 Aug 2023, at 5:41 pm, Dar Scott via use-livecode wrote: > > xcode-select -p > /Library/Developer/CommandLineTools > >> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >> >> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >> >> For PLIST I chose Chose a PLIST and then clicked Use None. >> >> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >> >> I have no Icons added. >> >> I get the same error. >> >> Dar >> >>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>> >>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>> >>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>> >>>> Bob S >>>> >>>> >>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> Thanks, Jacque! >>>>> >>>>> That gives me a clue. I will try to get more info on this. >>>>> >>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>> >>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>> I’m on macOS Ventura. >>>>> >>>>> Has anyone successfully built a Mac application recently? >>>>> >>>>> Dar >>>>> >>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>> >>>>>> This might help: >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>> >>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>> >>>>>>> The first time LiveCode crashed. >>>>>>> >>>>>>> Subsequent times, I get this error: >>>>>>> There was an error while saving the standalone application >>>>>>> Adding ad-hoc signature failed with error: >>>>>>> /…/myProgram.app: >>>>>>> Replacing existing signature >>>>>>> /…/myProgram.app: >>>>>>> Resource for, Finder information, or similar detritus not >>>>>>> Allowed >>>>>>> >>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 8 12:47:10 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 10:47:10 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> Message-ID: <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> Oh, and I’m building from a network drive. > On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: > > xcode-select -p > /Library/Developer/CommandLineTools > >> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >> >> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >> >> For PLIST I chose Chose a PLIST and then clicked Use None. >> >> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >> >> I have no Icons added. >> >> I get the same error. >> >> Dar >> >>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>> >>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>> >>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>> >>>> Bob S >>>> >>>> >>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> Thanks, Jacque! >>>>> >>>>> That gives me a clue. I will try to get more info on this. >>>>> >>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>> >>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>> I’m on macOS Ventura. >>>>> >>>>> Has anyone successfully built a Mac application recently? >>>>> >>>>> Dar >>>>> >>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>> >>>>>> This might help: >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>> >>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>> >>>>>>> The first time LiveCode crashed. >>>>>>> >>>>>>> Subsequent times, I get this error: >>>>>>> There was an error while saving the standalone application >>>>>>> Adding ad-hoc signature failed with error: >>>>>>> /…/myProgram.app: >>>>>>> Replacing existing signature >>>>>>> /…/myProgram.app: >>>>>>> Resource for, Finder information, or similar detritus not >>>>>>> Allowed >>>>>>> >>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 13:18:16 2023 From: mkoob at rogers.com (Martin Koob) Date: Tue, 8 Aug 2023 13:18:16 -0400 Subject: Variable Watcher disappeared In-Reply-To: References: Message-ID: <2E7C61D6-01E0-4AB0-8DD0-6EDEF268C6B6@rogers.com> Hi Bob So you can see the Script Editor but you can’t see the variables pane at the bottom? There is a drag handle at the bottom of the Script Editor pane to resize it. Maybe you accidentally dragged that to the bottom hiding the variable pane at the bottom. Even if you did that you should still see the tabs for ‘Errors’; ‘Variables’; ‘Documentation’; ‘Breakpoints’; ’Search Results’. You should be able to drag the Drag handle up to reveal the bottom pane. The following doesn’t probably apply to you if your Script Editor Stack is open and visible. You probably know this but another thing that happens to me is that some of the LiveCode stacks disappear randomly. One thing that happens is that they somehow get moved offscreen. To get them back I first check if they are there by typing the following into the message box. put the openstacks That should result in a list like this. Message Box My Demo Stack revInspector revTools revNewScriptEditor 1 revDictionary revMenuBar Improve LiveCode Handler Finder com.livecode.palette.autocomplete.completions If you see the stack in the list that you are looking for you can relocate it back to the screen by setting its location to something that will be on your display by entering the following in the message box. set the topleft of stack "revtools" to 100,100 Two other reasons stacks disappear is that they become hidden or closed. If the stack is closed then enter the following in the message box open stack “revtools If the stack is open but hidden enter show stack “revtools” If it is your message box that you can’t find then there is nothing you can do…. … Just kidding. ;-) Just type command key + M to show the message box. Bob, I am sure this is covering things you already know but just in case there others in future are looking for this I added the other cases where your LiveCode IDE stacks disappear. BTW I am using LC 9.6.9 on a M1 Max Mac running Ventura 13.41 Martin > On Aug 8, 2023, at 12:28 PM, Bob Sneidar via use-livecode wrote: > > Hi all. > > Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? > > 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 dick.kriesel at mail.com Tue Aug 8 13:22:44 2023 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 8 Aug 2023 10:22:44 -0700 Subject: Variable Watcher disappeared In-Reply-To: References: Message-ID: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> Hi, Bob. The bottom pane reappears to show search results, so search for something. — Dick > On Aug 8, 2023, at 9:28 AM, Bob Sneidar via use-livecode wrote: > > Hi all. > > Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Aug 8 13:28:31 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 17:28:31 +0000 Subject: Variable Watcher disappeared In-Reply-To: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> References: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> Message-ID: That was a good suggestion, but alas no cookie. The entire window is visible, but the handle to resize is not visible. The handle for the handlers pane is visible, but is lower than halfway down the window, clueing me into the likelihood that something has gone horribly awry with my script editor. Quitting and relaunching does not fix it. I checked the forums and bug reports, nothing I can find. I’ll contact support I guess. Bob S > On Aug 8, 2023, at 10:22 AM, Dick Kriesel via use-livecode wrote: > > Hi, Bob. The bottom pane reappears to show search results, so search for something. > — Dick > >> On Aug 8, 2023, at 9:28 AM, Bob Sneidar via use-livecode wrote: >> >> Hi all. >> >> Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? >> >> Bob S >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Aug 8 13:39:10 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 17:39:10 +0000 Subject: Variable Watcher disappeared In-Reply-To: References: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> Message-ID: <44FF4A7B-5381-4E21-99A6-D6E03F131205@iotecdigital.com> Resetting prefs fixed it. Should be a better way than starting from scratch though. Bob S > On Aug 8, 2023, at 10:28 AM, Bob Sneidar wrote: > > That was a good suggestion, but alas no cookie. The entire window is visible, but the handle to resize is not visible. The handle for the handlers pane is visible, but is lower than halfway down the window, clueing me into the likelihood that something has gone horribly awry with my script editor. Quitting and relaunching does not fix it. > > I checked the forums and bug reports, nothing I can find. I’ll contact support I guess. > > Bob S > > >> On Aug 8, 2023, at 10:22 AM, Dick Kriesel via use-livecode wrote: >> >> Hi, Bob. The bottom pane reappears to show search results, so search for something. >> — Dick >> >>> On Aug 8, 2023, at 9:28 AM, Bob Sneidar via use-livecode wrote: >>> >>> Hi all. >>> >>> Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? >>> >>> Bob S >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Tue Aug 8 13:41:30 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 11:41:30 -0600 Subject: Color of text of the selected tab of Tab Panel Message-ID: <431B5ABB-9316-40C8-BFB6-FAACFFD8F769@swcp.com> I’m developing on a Mac. In order to change the color of the text on the selected tab of a Tab Panel I had to change backgroundColor. The seems weird. (I’ve been away, so I don’t remember how this should go). However, the .exe on Windows shows that text the same color as on the other tabs. I set other color properties except foregroundColor to a variety of colors to see if any affected the color, but that text is still black. I would like for it to work the same on both Windows and Mac. I do want to strengthen the emphasis for the selected tab. If need be, I can use a different method for the extra emphasis. I’d like to do it in a way that doesn’t break when any bugs are fixed. Ideas? Dar From andrew at midwestcoastmedia.com Tue Aug 8 13:56:16 2023 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Tue, 8 Aug 2023 13:56:16 -0400 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: If I’m consuming instantly, this is the code working in my Android/iOS project with comment lines explaining the values being passed in the Android build (note that the product ID values are more specific for Android than iOS): if tPlatform = "android" then put "com.midwestcoastmedia.dj3pm." into tProductIDbase else if tPlatform = "iPhone" then put EMPTY into tProductIDbase end if put tProductIDbase & pWhichProduct into tProductID mobileStoreEnablePurchaseUpdates ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", "inapp" mobileStoreSetProductType tProductID, "inapp" ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", "1", "Thanks for the buck!" mobileStoreMakePurchase tProductID, "1", tMessage ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" mobileStoreConsumePurchase tProductID put the result into tCatch BUT you’ll also need to implement the on purchaseStateUpdate handler to completely execute the purchase cycle. The lesson is sometimes hard to follow when Android changes their branding/naming but https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store has a good example of this. —Andrew Bell > To: How to use LiveCode > Subject: Re: Consumable In App Purchases on Android > Message-ID: > > > Content-Type: text/plain; charset="Windows-1252" > > Panos, > > Thank you for the reply. Unfortunately, this isn?t working for me? maybe I?m doing something wrong? Product ID is ?1001?. I was able to purchase that product no problem. If I attempt to purchase it again, I get ?alreadyEntitled?. > > In a button I put: > > on mouseUp > mobileStoreConsumePurchase 1001 > answer the result > end mouseUp > > The result is empty (I assume that is success). Then, I attempt to purchase 1001 and again I get ?alreadyEntitled?. > > I then tried (just guessing at what I need to do as the docs are very vague on how to use it): > > on mouseUp > mobileStoreEnablePurchaseUpdates > mobileStoreSetProductType 1001,"inapp" > mobileStoreConsumePurchase 1001 > answer the result > end mouseUp > > Again, result is empty and an attempt to purchase 1001 again, gets ?alreadyEntitled?. > > What am I doing wrong? > > -Dan > > > > From: use-livecode on behalf of panagiotis m via use-livecode > Date: Tuesday, August 8, 2023 at 9:21 AM > To: How to use LiveCode > Cc: panagiotis m > Subject: Re: Consumable In App Purchases on Android > Hello Dan, > > I think Google no longer differentiates between consumables and > non-consumables when setting up the in-app product - they are both marked > as "In-App Products?. However, in LiveCode, you have to call > mobileStoreConsumePurchase pProductID to be able to buy the product again - > otherwise you get a "alreadyEntitled" status. > > If you do this, and still get "alreadyEntitled", then you have to ensure > that the pProductID param passed to mobileStoreConsumePurchase indeed > matches exactly the product id of the product you set up in the google dev > console. > > Hope this helps. > > Kind regards, > Panos > > On Tue, 8 Aug 2023 at 01:57, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Does anyone have any experience with consumable in-app purchases on >> Android? I can?t seem to figure out how to (1) create a consumable >> product, and (2) how to consume it. mobileStoreConsumePurchase pProductID >> doesn?t seem to function right? I get back a result that is ?true?, but >> attempting to purchase the same product, returns ?alreadyEntitled?. >> >> The ?How do I implement in-app purchases in LiveCode - Google Play Store?? >> lesson says: click "In-App Products? and click ?Add new product?. From >> there, follow the instructions to create the type of in-app purchase you >> wish to use. >> >> In Google Play Console > Monitize > In-App Products > Create Product, >> there isn?t a place to select the type of in-app purchase. >> >> Any insight or instructions you may have would be greatly appreciated!! >> >> -Dan >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Aug 8 13:59:28 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 17:59:28 +0000 Subject: Color of text of the selected tab of Tab Panel In-Reply-To: <431B5ABB-9316-40C8-BFB6-FAACFFD8F769@swcp.com> References: <431B5ABB-9316-40C8-BFB6-FAACFFD8F769@swcp.com> Message-ID: <6ACB00F6-8087-4125-851D-7F57BC78AE4E@iotecdigital.com> Uurgh. I ran into this. It prompted me to create my own custom tab group around the tab widget. I overlayed buttons on the tab graphics, but the tricky part was getting the buttons to resize and reposition when new tabs were added. Bob S > On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: > > > I’m developing on a Mac. In order to change the color of the text on the selected tab of a Tab Panel I had to change backgroundColor. The seems weird. (I’ve been away, so I don’t remember how this should go). > > However, the .exe on Windows shows that text the same color as on the other tabs. I set other color properties except foregroundColor to a variety of colors to see if any affected the color, but that text is still black. > > I would like for it to work the same on both Windows and Mac. I do want to strengthen the emphasis for the selected tab. > > If need be, I can use a different method for the extra emphasis. > > I’d like to do it in a way that doesn’t break when any bugs are fixed. > > Ideas? > > Dar > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 8 14:14:41 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 12:14:41 -0600 Subject: Rectangles on Windows? Message-ID: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> I have some rectangles that work just fine in development on my Mac. However, there are problems in my Windows standalone. Not Showing Up Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness Showing Up Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. From dsc at swcp.com Tue Aug 8 14:25:01 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 12:25:01 -0600 Subject: Color of text of the selected tab of Tab Panel In-Reply-To: <6ACB00F6-8087-4125-851D-7F57BC78AE4E@iotecdigital.com> References: <431B5ABB-9316-40C8-BFB6-FAACFFD8F769@swcp.com> <6ACB00F6-8087-4125-851D-7F57BC78AE4E@iotecdigital.com> Message-ID: <77ECCE23-267B-418B-8670-8533B7794D3A@swcp.com> Thanks, Bob! I am quite open to using a different tab control. I might make my own or use another designer's tab control that fits in with the run-of-the-mill GUI. Hmmm, I’ve put some time into this look and feel, but I’m willing to consider a change, so I guess I should look at even exotic tab controls. In the mean time, I will try to set up something safe. Dar > On Aug 8, 2023, at 11:59 AM, Bob Sneidar via use-livecode wrote: > > Uurgh. I ran into this. It prompted me to create my own custom tab group around the tab widget. I overlayed buttons on the tab graphics, but the tricky part was getting the buttons to resize and reposition when new tabs were added. > > Bob S > > >> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >> >> >> I’m developing on a Mac. In order to change the color of the text on the selected tab of a Tab Panel I had to change backgroundColor. The seems weird. (I’ve been away, so I don’t remember how this should go). >> >> However, the .exe on Windows shows that text the same color as on the other tabs. I set other color properties except foregroundColor to a variety of colors to see if any affected the color, but that text is still black. >> >> I would like for it to work the same on both Windows and Mac. I do want to strengthen the emphasis for the selected tab. >> >> If need be, I can use a different method for the extra emphasis. >> >> I’d like to do it in a way that doesn’t break when any bugs are fixed. >> >> Ideas? >> >> Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From craig at starfirelighting.com Tue Aug 8 15:13:47 2023 From: craig at starfirelighting.com (Craig Newman) Date: Tue, 8 Aug 2023 15:13:47 -0400 Subject: Variable Watcher disappeared In-Reply-To: <44FF4A7B-5381-4E21-99A6-D6E03F131205@iotecdigital.com> References: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> <44FF4A7B-5381-4E21-99A6-D6E03F131205@iotecdigital.com> Message-ID: <76E6D4CF-801E-423E-9D1C-1EFA59B09E8F@starfirelighting.com> What happens if you set the top of the SE window a bit higher than current? I have a gadget that locates the SE on my portrait monitor on command. I could easily make its top anything I want, and I bet that would display the hidden bottom of the window. Craig > On Aug 8, 2023, at 1:39 PM, Bob Sneidar via use-livecode wrote: > > Resetting prefs fixed it. Should be a better way than starting from scratch though. > > Bob S > > >> On Aug 8, 2023, at 10:28 AM, Bob Sneidar wrote: >> >> That was a good suggestion, but alas no cookie. The entire window is visible, but the handle to resize is not visible. The handle for the handlers pane is visible, but is lower than halfway down the window, clueing me into the likelihood that something has gone horribly awry with my script editor. Quitting and relaunching does not fix it. >> >> I checked the forums and bug reports, nothing I can find. I’ll contact support I guess. >> >> Bob S >> >> >>> On Aug 8, 2023, at 10:22 AM, Dick Kriesel via use-livecode wrote: >>> >>> Hi, Bob. The bottom pane reappears to show search results, so search for something. >>> — Dick >>> >>>> On Aug 8, 2023, at 9:28 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> Hi all. >>>> >>>> Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? >>>> >>>> Bob S >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Tue Aug 8 15:51:08 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 8 Aug 2023 19:51:08 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Andrew, Thank you for the input. The code snippet you said you are using has mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase. Is that what you are doing? The LC example show that mobileStoreMakePurchase should be handled in the purchaseStateUpdate message after the purchase is paymentReceived” If that’s true, then I feel like I’m doing exactly what you are suggesting. The purchase is fine, but the consumption if not working for me. Here’s what I’m doing: on startInAppPurchase numCredits //setup purchase id if numCredits = 1 then put 1001 into productID put "$0.99" into productAmount else if numCredits = 2 then put 1002 into productID put "$1.99" into productAmount else if numCredits = 3 then put 1003 into productID put "$2.99" into productAmount else if numCredits = 11 then put 1011 into productID put "$9.99" into productAmount end if //confirm with user if numCredits = 1 then put "Are you sure you want to purchase 1 credit for" && productAmount & "?" into pString else put "Are you sure you want to purchase" && numCredits && "credits for" && productAmount & "?" into pString end if if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") = "Cancel" then //my custom answer dialog exit startInAppPurchase end if //initiate the purchase mobileStoreEnablePurchaseUpdates mobileStoreSetProductType productID,"inapp" mobileStoreMakePurchase productID,"1","testPayload - Android Only" end startInAppPurchase on purchaseStateUpdate pPurchaseID,pProductID,pState global user switch pState case "paymentReceived" put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData //tell our server is was sucessful and log users credits to database if isIPhone() then if db_validateAppleReceipt(rawReciptData) then add (pProductID-1000) to user["credits"] end if else //will add Android database call when ready end if mobileStoreConfirmPurchase pProductID //Inform the store that the purchase identifier productID was successfully delivered if isAndroid() then mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO CONSUME THE PRODUCT !! end if mobileStoreDisablePurchaseUpdates loadMeUp //refresh our display break case "error" answer "Error occured during purchase handling:" & return & return & mobileStorePurchaseError(pPurchaseID) mobileStoreDisablePurchaseUpdates break case "invalidSKU" answer "Invalid SKU." mobileStoreDisablePurchaseUpdates break case "alreadyEntitled" answer "Already Owned." mobileStoreDisablePurchaseUpdates break case "restored" answer "restored" offerPurchasedProduct pProductID mobileStoreConfirmPurchase pProductID mobileStoreDisablePurchaseUpdates loadMeUp //refresh our display break case "canceled" case "cancelled" answer "Purchase Cancelled:" && pProductID mobileStoreDisablePurchaseUpdates break end switch end purchaseStateUpdate Do you see anything wonky in my code? --Dan From: use-livecode on behalf of Andrew at MidWest Coast Media via use-livecode Date: Tuesday, August 8, 2023 at 10:57 AM To: use-livecode at lists.runrev.com Cc: Andrew at MidWest Coast Media Subject: Re: Consumable In App Purchases on Android If I’m consuming instantly, this is the code working in my Android/iOS project with comment lines explaining the values being passed in the Android build (note that the product ID values are more specific for Android than iOS): if tPlatform = "android" then put "com.midwestcoastmedia.dj3pm." into tProductIDbase else if tPlatform = "iPhone" then put EMPTY into tProductIDbase end if put tProductIDbase & pWhichProduct into tProductID mobileStoreEnablePurchaseUpdates ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", "inapp" mobileStoreSetProductType tProductID, "inapp" ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", "1", "Thanks for the buck!" mobileStoreMakePurchase tProductID, "1", tMessage ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" mobileStoreConsumePurchase tProductID put the result into tCatch BUT you’ll also need to implement the on purchaseStateUpdate handler to completely execute the purchase cycle. The lesson is sometimes hard to follow when Android changes their branding/naming but https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store has a good example of this. —Andrew Bell From bobsneidar at iotecdigital.com Tue Aug 8 16:04:30 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 20:04:30 +0000 Subject: Variable Watcher disappeared In-Reply-To: <76E6D4CF-801E-423E-9D1C-1EFA59B09E8F@starfirelighting.com> References: <0CB5E66C-8681-4754-9418-E1E2B8183189@mail.com> <44FF4A7B-5381-4E21-99A6-D6E03F131205@iotecdigital.com> <76E6D4CF-801E-423E-9D1C-1EFA59B09E8F@starfirelighting.com> Message-ID: <7347F88E-BCA8-4596-9A24-4A9E80C3368F@iotecdigital.com> Didn’t try that. Too late now, I’m on new prefs, but if it happens again I’ll give it a try. I did drag the window to no effect, but I didn’t try resizing from the top. Bob S On Aug 8, 2023, at 12:13 PM, Craig Newman via use-livecode wrote: What happens if you set the top of the SE window a bit higher than current? I have a gadget that locates the SE on my portrait monitor on command. I could easily make its top anything I want, and I bet that would display the hidden bottom of the window. Craig On Aug 8, 2023, at 1:39 PM, Bob Sneidar via use-livecode > wrote: Resetting prefs fixed it. Should be a better way than starting from scratch though. Bob S From marksmithhfx at gmail.com Tue Aug 8 16:44:41 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 8 Aug 2023 21:44:41 +0100 Subject: Variable Watcher disappeared In-Reply-To: <7347F88E-BCA8-4596-9A24-4A9E80C3368F@iotecdigital.com> References: <7347F88E-BCA8-4596-9A24-4A9E80C3368F@iotecdigital.com> Message-ID: <6764A36B-C213-4829-84E7-812E5D2DCAE2@gmail.com> Bob, glad you were able to fix it. I wonder what caused it in the first place. Martin, an incredible list of ways to get windows back. Thanks for posting!!! Sent from my iPhone > On Aug 8, 2023, at 9:05 PM, Bob Sneidar via use-livecode wrote: > > Didn’t try that. Too late now, I’m on new prefs, but if it happens again I’ll give it a try. I did drag the window to no effect, but I didn’t try resizing from the top. > > Bob S > > > On Aug 8, 2023, at 12:13 PM, Craig Newman via use-livecode wrote: > > What happens if you set the top of the SE window a bit higher than current? > > I have a gadget that locates the SE on my portrait monitor on command. I could easily make its top anything I want, and I bet that would display the hidden bottom of the window. > > Craig > > On Aug 8, 2023, at 1:39 PM, Bob Sneidar via use-livecode > wrote: > > Resetting prefs fixed it. Should be a better way than starting from scratch though. > > 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 dsc at swcp.com Tue Aug 8 18:45:19 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 8 Aug 2023 16:45:19 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> Message-ID: <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. I guess building expects a drive on my Mac. And my Mac returns a bogus error message. I suggest one of these as an improvement to the build operation: * Complain and advise when the target is on a network drive. * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) Suggestion: * I should not have to remember. Thanks, everybody, for your help! Dar > On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: > > Oh, and I’m building from a network drive. > > >> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >> >> xcode-select -p >> /Library/Developer/CommandLineTools >> >>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>> >>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>> >>> For PLIST I chose Chose a PLIST and then clicked Use None. >>> >>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>> >>> I have no Icons added. >>> >>> I get the same error. >>> >>> Dar >>> >>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>> >>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>> >>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>> >>>>> Bob S >>>>> >>>>> >>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> Thanks, Jacque! >>>>>> >>>>>> That gives me a clue. I will try to get more info on this. >>>>>> >>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>> >>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>> I’m on macOS Ventura. >>>>>> >>>>>> Has anyone successfully built a Mac application recently? >>>>>> >>>>>> Dar >>>>>> >>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>> >>>>>>> This might help: >>>>>>> >>>>>>> -- >>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>> >>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>> >>>>>>>> The first time LiveCode crashed. >>>>>>>> >>>>>>>> Subsequent times, I get this error: >>>>>>>> There was an error while saving the standalone application >>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>> /…/myProgram.app: >>>>>>>> Replacing existing signature >>>>>>>> /…/myProgram.app: >>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>> Allowed >>>>>>>> >>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From matthias_livecode_150811 at m-r-d.de Tue Aug 8 19:13:15 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Aug 2023 01:13:15 +0200 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> Message-ID: <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> Hi Dar, just a shot in the dark.... For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? Regards, Matthias > Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : > > I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. > > I guess building expects a drive on my Mac. And my Mac returns a bogus error message. > > I suggest one of these as an improvement to the build operation: > > * Complain and advise when the target is on a network drive. > * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. > > I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) > > Suggestion: > > * I should not have to remember. > > Thanks, everybody, for your help! > > Dar > >> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >> >> Oh, and I’m building from a network drive. >> >> >>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>> >>> xcode-select -p >>> /Library/Developer/CommandLineTools >>> >>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>> >>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>> >>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>> >>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>> >>>> I have no Icons added. >>>> >>>> I get the same error. >>>> >>>> Dar >>>> >>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>> >>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>> >>>>>> Bob S >>>>>> >>>>>> >>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> Thanks, Jacque! >>>>>>> >>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>> >>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>> >>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>> I’m on macOS Ventura. >>>>>>> >>>>>>> Has anyone successfully built a Mac application recently? >>>>>>> >>>>>>> Dar >>>>>>> >>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>> >>>>>>>> This might help: >>>>>>>> >>>>>>>> -- >>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>> >>>>>>>>> The first time LiveCode crashed. >>>>>>>>> >>>>>>>>> Subsequent times, I get this error: >>>>>>>>> There was an error while saving the standalone application >>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>> /…/myProgram.app: >>>>>>>>> Replacing existing signature >>>>>>>>> /…/myProgram.app: >>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>> Allowed >>>>>>>>> >>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 19:15:08 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 8 Aug 2023 23:15:08 +0000 Subject: Sorting Arrays Message-ID: Has anyone come across a need to sort a numbered array by the values of the different keys? Here you go. Keep in mind that there is no error checking so I have no idea what would happen if you provided a sort key that didn’t exist in the array. on sortNumberedArray @pArrayDataA, pSortKeys /* Provide a numbered array of key value pairs and a comma delimited list of the sort order you want. Ex. "filename,version numeric descending". The result will be numbered array resorted by the sort order you provide. */ put the keys of pArrayDataA into tKeyList sort tKeyList numeric ascending put the number of items of pSortKeys into tSortKeyCount -- convert the sort keys to an array repeat with i = the number of items of pSortKeys down to 1 put item i of pSortKeys into tSortIndex repeat with x = the number of words of tSortIndex down to 1 put word x of tSortIndex into tKeyWord switch case tKeyWord is among the items of "asc,ascending,desc,descending" put tKeyWord into tSortKeysA [i] ["sortorder"] break case tKeyWord is "International,Numeric,datetime,text,binary" put tKeyWord into tSortKeysA [i] ["sorttype"] break default put word 1 to x of tSortIndex into tSortKeysA [i] ["sortvalue"] end switch end repeat end repeat -- build a comma delimited list of sort keys from the passed array put the keys of pArrayDataA into tInputKeyList sort tInputKeyList numeric ascending repeat for each line tLine in tInputKeyList put the keys of tSortKeysA into tSortKeyList sort lines of tSortKeyList numeric repeat for each line tSortLine in tSortKeyList put tSortKeysA [tSortLine] ["sortvalue"] into tSortValue put pArrayDataA [tLine] [tSortValue] into item tSortLine of line tLine of tSortValueList end repeat put "," & tLine after tSortValueList end repeat -- sort the list put the keys of tSortKeysA into tSortKeyList sort tSortKeyList numeric descending repeat for each line tKey in tSortKeyList put "sort lines of tSortValueList" && tSortKeysA [tKey] ["sortorder"] && tSortKeysA [tKey] ["sorttype"] && \ "by item" && tkey && "of each" into tSortCommand do tSortCommand end repeat -- convert the list back to an array repeat for each line tLine in tSortValueList add 1 to tArrayCounter put item -1 of tLine into tArrayIndex put pArrayDataA [tArrayIndex] into tOutArrayA [tArrayCounter] end repeat put tOutArrayA into pArrayDataA end sortNumberedArray Bob S From matthias_livecode_150811 at m-r-d.de Wed Aug 9 01:32:30 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Aug 2023 07:32:30 +0200 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> Message-ID: Forgot my answer, i just saw your post that your error where caused because of building to a network drive. I had similar problems btw. in the past when building to a dropbox folder or a folder that was synchronized with iCloud. Regards, Matthias > Am 09.08.2023 um 01:13 schrieb matthias_livecode_150811 at m-r-d.de: > > Hi Dar, > > just a shot in the dark.... > > For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. > In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? > > Regards, > Matthias > > >> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >> >> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >> >> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >> >> I suggest one of these as an improvement to the build operation: >> >> * Complain and advise when the target is on a network drive. >> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >> >> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >> >> Suggestion: >> >> * I should not have to remember. >> >> Thanks, everybody, for your help! >> >> Dar >> >>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>> >>> Oh, and I’m building from a network drive. >>> >>> >>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>> >>>> xcode-select -p >>>> /Library/Developer/CommandLineTools >>>> >>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>> >>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>> >>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>> >>>>> I have no Icons added. >>>>> >>>>> I get the same error. >>>>> >>>>> Dar >>>>> >>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>> >>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>> >>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>> >>>>>>> Bob S >>>>>>> >>>>>>> >>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> Thanks, Jacque! >>>>>>>> >>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>> >>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>> >>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>> I’m on macOS Ventura. >>>>>>>> >>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>> >>>>>>>> Dar >>>>>>>> >>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>> >>>>>>>>> This might help: >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>> >>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>> >>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>> /…/myProgram.app: >>>>>>>>>> Replacing existing signature >>>>>>>>>> /…/myProgram.app: >>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>> Allowed >>>>>>>>>> >>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Wed Aug 9 04:04:45 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 9 Aug 2023 11:04:45 +0300 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> Message-ID: Hello Dar, I can successfully build a Mac standalone in a network drive. The error you are getting indicates that the app the standalone builder tries to codesign, has some extended attributes. This is strange, because the standalone builder does this very thing (i.e. it clears the extended attributes) just before the codesign command. I am wondering - do you get the same error when trying to build a standalone from a new simple stack? Or does that happen only with a specific stack? If the latter, does this stack contain anything in the Copy Files? Kind regards, Panos On Wed, 9 Aug 2023 at 08:33, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Forgot my answer, i just saw your post that your error where caused > because of building to a network drive. > > I had similar problems btw. in the past when building to a dropbox folder > or a folder that was synchronized with iCloud. > > Regards, > Matthias > > > > > Am 09.08.2023 um 01:13 schrieb matthias_livecode_150811 at m-r-d.de: > > > > Hi Dar, > > > > just a shot in the dark.... > > > > For some time now Livecode does an adhoc code signing when creating a > macOS standalone. So therefore the Xcode command line tools have to be > installed. > > In case you have installed more than one versions of Xcode on your > system, did you select in Xcode preferences the correct Xcode standalone > tools that shall be used? > > > > Regards, > > Matthias > > > > > >> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> I have a clue. I changed the build destination to a drive on my Mac. > That seemed to have gotten past that error and I ran into other errors. > >> > >> I guess building expects a drive on my Mac. And my Mac returns a bogus > error message. > >> > >> I suggest one of these as an improvement to the build operation: > >> > >> * Complain and advise when the target is on a network drive. > >> * Build the standalone in a temporary location on the local drive and > then copy to the network drive when the target is on a network drive. > >> > >> I got past that error, but now I am running into others. They look > familiar. I think the problem is that I’m not remembering the magic steps > related to saving, purging and so on. I’m not sure, since I can build for > Windows. (I can probably stumble through what I did long, long ago, but > might figure it out faster.) > >> > >> Suggestion: > >> > >> * I should not have to remember. > >> > >> Thanks, everybody, for your help! > >> > >> Dar > >> > >>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> Oh, and I’m building from a network drive. > >>> > >>> > >>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> xcode-select -p > >>>> /Library/Developer/CommandLineTools > >>>> > >>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>> > >>>>> I removed all inclusions. I opted to remove all profiles, probably > none. There are no Copy Files. I’m building for Intel only. > >>>>> > >>>>> For PLIST I chose Chose a PLIST and then clicked Use None. > >>>>> > >>>>> I set my bundle identifier and have not changed that among my > attempts. I left all of the other Version Information as default. > >>>>> > >>>>> I have no Icons added. > >>>>> > >>>>> I get the same error. > >>>>> > >>>>> Dar > >>>>> > >>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>> Signing happens after the app is built and is a manual process, so > yours isn't signed /notarized yet. But unsigned apps run on the development > machine anyway, so I'd say you built the app successfully. > >>>>>> > >>>>>> -- > >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>>>>> HyperActive Software | http://www.hyperactivesw.com > >>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>>> I have, but I don’t do any signing or notarizing. If that happens > transparently, then it’s working for me. > >>>>>>> > >>>>>>> Bob S > >>>>>>> > >>>>>>> > >>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>>>> > >>>>>>>> Thanks, Jacque! > >>>>>>>> > >>>>>>>> That gives me a clue. I will try to get more info on this. > >>>>>>>> > >>>>>>>> However, that note shows how to delete the offending resource > using the xattr tool, but I have no app to point it to. LiveCode did not > build anything. > >>>>>>>> > >>>>>>>> I’m willing to try some magic values in Standalone Application > Settings. > >>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. > >>>>>>>> I’m on macOS Ventura. > >>>>>>>> > >>>>>>>> Has anyone successfully built a Mac application recently? > >>>>>>>> > >>>>>>>> Dar > >>>>>>>> > >>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>>>>> > >>>>>>>>> This might help: > >>>>>>>>> < > https://developer.apple.com/library/archive/qa/qa1940/_index.html> > >>>>>>>>> -- > >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com > >>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>>>>> > >>>>>>>>>> I’m having trouble building an application for Mac Intel. > >>>>>>>>>> > >>>>>>>>>> The first time LiveCode crashed. > >>>>>>>>>> > >>>>>>>>>> Subsequent times, I get this error: > >>>>>>>>>> There was an error while saving the standalone application > >>>>>>>>>> Adding ad-hoc signature failed with error: > >>>>>>>>>> /…/myProgram.app: > >>>>>>>>>> Replacing existing signature > >>>>>>>>>> /…/myProgram.app: > >>>>>>>>>> Resource for, Finder information, or similar detritus not > >>>>>>>>>> Allowed > >>>>>>>>>> > >>>>>>>>>> I tried fiddling with the PLIST settings without success. > >>>>>>>>>> _______________________________________________ > >>>>>>>>>> use-livecode mailing list > >>>>>>>>>> use-livecode at lists.runrev.com > >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> _______________________________________________ > >>>>>>>>> use-livecode mailing list > >>>>>>>>> use-livecode at lists.runrev.com > >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>>>>> > >>>>>>>> > >>>>>>>> _______________________________________________ > >>>>>>>> use-livecode mailing list > >>>>>>>> use-livecode at lists.runrev.com > >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> use-livecode mailing list > >>>>>>> use-livecode at lists.runrev.com > >>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Aug 9 04:37:42 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 9 Aug 2023 11:37:42 +0300 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Hello Dan, The call to mobileStoreConfirmPurchase pProductID causes the purchaseStateUpdate message to be sent again with status=complete. So I would not suggest putting the call to mobileStoreConsumePurchase pProductID just after mobileStoreConfirmPurchase. You could either put it in a separate button and see if it works, otherwise add a [case "complete"] in the purchaseStateUpdate msg and there consume the product and disable purchase updates, i.e.: on purchaseStateUpdate pPurchaseID, pProductID, pState switch pState case "paymentReceived" answer "Payment received!" offerPurchasedProduct pProductID mobileStoreConfirmPurchase pProductID break case "error" answer "Error occured during purchase handling:" & return & return & mobileStorePurchaseError(pPurchaseID) mobileStoreDisablePurchaseUpdates break case "invalidSKU" answer "Invalid SKU." mobileStoreDisablePurchaseUpdates break case "alreadyEntitled" answer "Already Owned." mobileStoreDisablePurchaseUpdates break case "restored" put "Restored: " & pProductID & cr after field "restored" offerPurchasedProduct pProductID mobileStoreConfirmPurchase pProductID break case "cancelled" answer "Purchase Cancelled:" && pProductID mobileStoreDisablePurchaseUpdates break case "complete" answer "Purchase Complete:" && pProductID mobileStoreConsumePurchase pProductID // <-- ADD THIS HERE mobileStoreDisablePurchaseUpdates break end switch end purchaseStateUpdate Hope this helps. Kind regards, Panos -- On Tue, 8 Aug 2023 at 22:52, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Andrew, > > Thank you for the input. The code snippet you said you are using has > mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase. > Is that what you are doing? The LC example show that > mobileStoreMakePurchase should be handled in the purchaseStateUpdate > message after the purchase is paymentReceived” > > If that’s true, then I feel like I’m doing exactly what you are > suggesting. The purchase is fine, but the consumption if not working for > me. Here’s what I’m doing: > > on startInAppPurchase numCredits > //setup purchase id > if numCredits = 1 then > put 1001 into productID > put "$0.99" into productAmount > else if numCredits = 2 then > put 1002 into productID > put "$1.99" into productAmount > else if numCredits = 3 then > put 1003 into productID > put "$2.99" into productAmount > else if numCredits = 11 then > put 1011 into productID > put "$9.99" into productAmount > end if > > //confirm with user > if numCredits = 1 then > put "Are you sure you want to purchase 1 credit for" && productAmount > & "?" into pString > else > put "Are you sure you want to purchase" && numCredits && "credits for" > && productAmount & "?" into pString > end if > if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") > = "Cancel" then //my custom answer dialog > exit startInAppPurchase > end if > > //initiate the purchase > mobileStoreEnablePurchaseUpdates > mobileStoreSetProductType productID,"inapp" > mobileStoreMakePurchase productID,"1","testPayload - Android Only" > end startInAppPurchase > > on purchaseStateUpdate pPurchaseID,pProductID,pState > global user > > switch pState > case "paymentReceived" > put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData > > //tell our server is was sucessful and log users credits to database > if isIPhone() then > if db_validateAppleReceipt(rawReciptData) then > add (pProductID-1000) to user["credits"] > end if > else > //will add Android database call when ready > end if > > mobileStoreConfirmPurchase pProductID //Inform the store that the > purchase identifier productID was successfully delivered > if isAndroid() then > mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO > CONSUME THE PRODUCT !! > end if > > mobileStoreDisablePurchaseUpdates > loadMeUp //refresh our display > break > case "error" > answer "Error occured during purchase handling:" & return & return & > mobileStorePurchaseError(pPurchaseID) > mobileStoreDisablePurchaseUpdates > break > case "invalidSKU" > answer "Invalid SKU." > mobileStoreDisablePurchaseUpdates > break > case "alreadyEntitled" > answer "Already Owned." > mobileStoreDisablePurchaseUpdates > break > case "restored" > answer "restored" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > mobileStoreDisablePurchaseUpdates > > loadMeUp //refresh our display > break > case "canceled" > case "cancelled" > answer "Purchase Cancelled:" && pProductID > mobileStoreDisablePurchaseUpdates > break > end switch > end purchaseStateUpdate > > > > Do you see anything wonky in my code? > > --Dan > > From: use-livecode on behalf of > Andrew at MidWest Coast Media via use-livecode < > use-livecode at lists.runrev.com> > Date: Tuesday, August 8, 2023 at 10:57 AM > To: use-livecode at lists.runrev.com > Cc: Andrew at MidWest Coast Media > Subject: Re: Consumable In App Purchases on Android > If I’m consuming instantly, this is the code working in my Android/iOS > project with comment lines explaining the values being passed in the > Android build (note that the product ID values are more specific for > Android than iOS): > > if tPlatform = "android" then > put "com.midwestcoastmedia.dj3pm." into tProductIDbase > else if tPlatform = "iPhone" then > put EMPTY into tProductIDbase > end if > put tProductIDbase & pWhichProduct into tProductID > > mobileStoreEnablePurchaseUpdates > ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", > "inapp" > mobileStoreSetProductType tProductID, "inapp" > ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", "1", > "Thanks for the buck!" > mobileStoreMakePurchase tProductID, "1", tMessage > ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" > mobileStoreConsumePurchase tProductID > put the result into tCatch > > BUT you’ll also need to implement the on purchaseStateUpdate handler to > completely execute the purchase cycle. The lesson is sometimes hard to > follow when Android changes their branding/naming but > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store > < > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store> > has a good example of this. > > —Andrew Bell > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Wed Aug 9 07:55:21 2023 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2023 05:55:21 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> Message-ID: <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. I still feel defensive that Mac said “detritus”. ;-) > On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: > > Hi Dar, > > just a shot in the dark.... > > For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. > In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? > > Regards, > Matthias > > >> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >> >> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >> >> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >> >> I suggest one of these as an improvement to the build operation: >> >> * Complain and advise when the target is on a network drive. >> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >> >> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >> >> Suggestion: >> >> * I should not have to remember. >> >> Thanks, everybody, for your help! >> >> Dar >> >>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>> >>> Oh, and I’m building from a network drive. >>> >>> >>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>> >>>> xcode-select -p >>>> /Library/Developer/CommandLineTools >>>> >>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>> >>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>> >>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>> >>>>> I have no Icons added. >>>>> >>>>> I get the same error. >>>>> >>>>> Dar >>>>> >>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>> >>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>> >>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>> >>>>>>> Bob S >>>>>>> >>>>>>> >>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> Thanks, Jacque! >>>>>>>> >>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>> >>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>> >>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>> I’m on macOS Ventura. >>>>>>>> >>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>> >>>>>>>> Dar >>>>>>>> >>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>> >>>>>>>>> This might help: >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>> >>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>> >>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>> /…/myProgram.app: >>>>>>>>>> Replacing existing signature >>>>>>>>>> /…/myProgram.app: >>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>> Allowed >>>>>>>>>> >>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From dsc at swcp.com Wed Aug 9 08:17:14 2023 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2023 06:17:14 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> Message-ID: <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> Whoops, I sent the most recent before I saw that Panos had responded. Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. The drive provides SMB, AFP and NFS services. Dar > On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: > > I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. > > I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. > > I still feel defensive that Mac said “detritus”. ;-) > >> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >> >> Hi Dar, >> >> just a shot in the dark.... >> >> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >> >> Regards, >> Matthias >> >> >>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>> >>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>> >>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>> >>> I suggest one of these as an improvement to the build operation: >>> >>> * Complain and advise when the target is on a network drive. >>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>> >>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>> >>> Suggestion: >>> >>> * I should not have to remember. >>> >>> Thanks, everybody, for your help! >>> >>> Dar >>> >>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>> >>>> Oh, and I’m building from a network drive. >>>> >>>> >>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> xcode-select -p >>>>> /Library/Developer/CommandLineTools >>>>> >>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>> >>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>> >>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>> >>>>>> I have no Icons added. >>>>>> >>>>>> I get the same error. >>>>>> >>>>>> Dar >>>>>> >>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>> >>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>> >>>>>>> -- >>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>> >>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>> >>>>>>>> Bob S >>>>>>>> >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>> Thanks, Jacque! >>>>>>>>> >>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>> >>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>> >>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>> I’m on macOS Ventura. >>>>>>>>> >>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>> >>>>>>>>> Dar >>>>>>>>> >>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> This might help: >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>> >>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>> >>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>> >>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>> Replacing existing signature >>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>> Allowed >>>>>>>>>>> >>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Wed Aug 9 08:40:31 2023 From: dsc at swcp.com (Dar Scott) Date: Wed, 9 Aug 2023 06:40:31 -0600 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> Message-ID: I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. Dar > On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: > > Whoops, I sent the most recent before I saw that Panos had responded. > > Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. > > The drive provides SMB, AFP and NFS services. > > Dar > >> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >> >> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >> >> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >> >> I still feel defensive that Mac said “detritus”. ;-) >> >>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>> >>> Hi Dar, >>> >>> just a shot in the dark.... >>> >>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>> >>> Regards, >>> Matthias >>> >>> >>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>> >>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>> >>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>> >>>> I suggest one of these as an improvement to the build operation: >>>> >>>> * Complain and advise when the target is on a network drive. >>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>> >>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>> >>>> Suggestion: >>>> >>>> * I should not have to remember. >>>> >>>> Thanks, everybody, for your help! >>>> >>>> Dar >>>> >>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>> >>>>> Oh, and I’m building from a network drive. >>>>> >>>>> >>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> xcode-select -p >>>>>> /Library/Developer/CommandLineTools >>>>>> >>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>> >>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>> >>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>> >>>>>>> I have no Icons added. >>>>>>> >>>>>>> I get the same error. >>>>>>> >>>>>>> Dar >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>> >>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>> >>>>>>>> -- >>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>> >>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>> >>>>>>>>> Bob S >>>>>>>>> >>>>>>>>> >>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> Thanks, Jacque! >>>>>>>>>> >>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>> >>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>> >>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>> >>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>> >>>>>>>>>> Dar >>>>>>>>>> >>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>> >>>>>>>>>>> This might help: >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>> >>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>> >>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>> >>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>> Allowed >>>>>>>>>>>> >>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From marksmithhfx at gmail.com Wed Aug 9 09:28:54 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 9 Aug 2023 14:28:54 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> Message-ID: <960A584E-AB5D-435B-BBA1-D661E820C2FC@gmail.com> Hi Dar, > Does installing Xcode change the command-line tools? I think it should. Others will correct me if I’m wrong. > I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. I don’t know if this is of any help but there is a list of LC versions and compatible/required Xcode versions here… (in the first entry on the page) https://livecode.com/resources/support/ask-a-question/ Mark > On 9 Aug 2023, at 1:40 pm, Dar Scott via use-livecode wrote: > > I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. > > I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. > > Dar > >> On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: >> >> Whoops, I sent the most recent before I saw that Panos had responded. >> >> Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. >> >> The drive provides SMB, AFP and NFS services. >> >> Dar >> >>> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >>> >>> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >>> >>> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >>> >>> I still feel defensive that Mac said “detritus”. ;-) >>> >>>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>>> >>>> Hi Dar, >>>> >>>> just a shot in the dark.... >>>> >>>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>>> >>>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>>> >>>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>>> >>>>> I suggest one of these as an improvement to the build operation: >>>>> >>>>> * Complain and advise when the target is on a network drive. >>>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>>> >>>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>>> >>>>> Suggestion: >>>>> >>>>> * I should not have to remember. >>>>> >>>>> Thanks, everybody, for your help! >>>>> >>>>> Dar >>>>> >>>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> Oh, and I’m building from a network drive. >>>>>> >>>>>> >>>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> xcode-select -p >>>>>>> /Library/Developer/CommandLineTools >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>>> >>>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>>> >>>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>>> >>>>>>>> I have no Icons added. >>>>>>>> >>>>>>>> I get the same error. >>>>>>>> >>>>>>>> Dar >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>>> >>>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>>> >>>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>>> >>>>>>>>>> Bob S >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>>> >>>>>>>>>>> Thanks, Jacque! >>>>>>>>>>> >>>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>>> >>>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>>> >>>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>>> >>>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>>> >>>>>>>>>>> Dar >>>>>>>>>>> >>>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>> This might help: >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>>> >>>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>>> >>>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>>> Allowed >>>>>>>>>>>>> >>>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Aug 9 09:41:41 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Aug 2023 15:41:41 +0200 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> Message-ID: <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> Every version of Xocde come with it own version of command line tools. If you are just creating macOS standalones then you just need the command line tools. But if you are also planning to create iOS apps then you'll need the complete Xcode package. To install just the command line tools run the following command from terminal xcode-select --install This should download and install the most current version of command line tools or better said, the most current version that is available for your installed macOS. Regards, Matthias > Am 09.08.2023 um 14:40 schrieb Dar Scott via use-livecode : > > I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. > > I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. > > Dar > >> On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: >> >> Whoops, I sent the most recent before I saw that Panos had responded. >> >> Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. >> >> The drive provides SMB, AFP and NFS services. >> >> Dar >> >>> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >>> >>> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >>> >>> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >>> >>> I still feel defensive that Mac said “detritus”. ;-) >>> >>>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>>> >>>> Hi Dar, >>>> >>>> just a shot in the dark.... >>>> >>>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>>> >>>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>>> >>>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>>> >>>>> I suggest one of these as an improvement to the build operation: >>>>> >>>>> * Complain and advise when the target is on a network drive. >>>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>>> >>>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>>> >>>>> Suggestion: >>>>> >>>>> * I should not have to remember. >>>>> >>>>> Thanks, everybody, for your help! >>>>> >>>>> Dar >>>>> >>>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>>> >>>>>> Oh, and I’m building from a network drive. >>>>>> >>>>>> >>>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> xcode-select -p >>>>>>> /Library/Developer/CommandLineTools >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>>> >>>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>>> >>>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>>> >>>>>>>> I have no Icons added. >>>>>>>> >>>>>>>> I get the same error. >>>>>>>> >>>>>>>> Dar >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>>> >>>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>>> >>>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>>> >>>>>>>>>> Bob S >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>>> >>>>>>>>>>> Thanks, Jacque! >>>>>>>>>>> >>>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>>> >>>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>>> >>>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>>> >>>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>>> >>>>>>>>>>> Dar >>>>>>>>>>> >>>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>> This might help: >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>>> >>>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>>> >>>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>>> Allowed >>>>>>>>>>>>> >>>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Aug 9 09:46:35 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Aug 2023 15:46:35 +0200 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> Message-ID: <73364263-B19C-4F1D-9984-7572C833998C@m-r-d.de> And like the links says that Mark posted. For iOS standalones every Livecode version supports a special Xcode version according to the installed macOS. You'll find the information which works for your installed LC version also in the release notes of your LC version. You'll find the release notes under the Help menu in LC. > Am 09.08.2023 um 15:41 schrieb matthias_livecode_150811 at m-r-d.de: > > Every version of Xocde come with it own version of command line tools. > If you are just creating macOS standalones then you just need the command line tools. > But if you are also planning to create iOS apps then you'll need the complete Xcode package. > > To install just the command line tools run the following command from terminal > > xcode-select --install > > This should download and install the most current version of command line tools or better said, the most current version that is available for your installed macOS. > > Regards, > Matthias > > >> Am 09.08.2023 um 14:40 schrieb Dar Scott via use-livecode : >> >> I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. >> >> I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. >> >> Dar >> >>> On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: >>> >>> Whoops, I sent the most recent before I saw that Panos had responded. >>> >>> Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. >>> >>> The drive provides SMB, AFP and NFS services. >>> >>> Dar >>> >>>> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >>>> >>>> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >>>> >>>> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >>>> >>>> I still feel defensive that Mac said “detritus”. ;-) >>>> >>>>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>>>> >>>>> Hi Dar, >>>>> >>>>> just a shot in the dark.... >>>>> >>>>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>>>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>>>> >>>>> Regards, >>>>> Matthias >>>>> >>>>> >>>>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>>>> >>>>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>>>> >>>>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>>>> >>>>>> I suggest one of these as an improvement to the build operation: >>>>>> >>>>>> * Complain and advise when the target is on a network drive. >>>>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>>>> >>>>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>>>> >>>>>> Suggestion: >>>>>> >>>>>> * I should not have to remember. >>>>>> >>>>>> Thanks, everybody, for your help! >>>>>> >>>>>> Dar >>>>>> >>>>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> Oh, and I’m building from a network drive. >>>>>>> >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> xcode-select -p >>>>>>>> /Library/Developer/CommandLineTools >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>>>> >>>>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>>>> >>>>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>>>> >>>>>>>>> I have no Icons added. >>>>>>>>> >>>>>>>>> I get the same error. >>>>>>>>> >>>>>>>>> Dar >>>>>>>>> >>>>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>>>> >>>>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>>>> >>>>>>>>>>> Bob S >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>> Thanks, Jacque! >>>>>>>>>>>> >>>>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>>>> >>>>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>>>> >>>>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>>>> >>>>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>>>> >>>>>>>>>>>> Dar >>>>>>>>>>>> >>>>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> This might help: >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>>>> >>>>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>>>> Allowed >>>>>>>>>>>>>> >>>>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From marksmithhfx at gmail.com Wed Aug 9 10:07:41 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 9 Aug 2023 15:07:41 +0100 Subject: Unable to build for Mac: adding ad-hoc signature failed In-Reply-To: <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> References: <092054D1-2815-43AA-9869-4F67A1A545FD@swcp.com> <189d1f4b2b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <791E7A1D-BB61-4C02-8D8B-F172C8C8AA88@swcp.com> <189d5e89d78.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <656E739B-E786-4862-A0D0-54798D7A9CCF@swcp.com> <9EAE9EBA-219E-40F3-809A-AF9DB3636FA4@swcp.com> <1668D981-FCD1-49FF-9000-443115BA0332@swcp.com> <82E6090C-9B49-4F7E-98AF-5B6F66DD18D4@m-r-d.de> <225B24AD-0BCA-4A06-90E1-53374E16FCD4@swcp.com> <16BFC241-A4D7-4A3F-8D9E-395B0174AAD0@swcp.com> <91780F92-7AF5-4777-9AC3-436F3EABE294@m-r-d.de> Message-ID: <7079B092-34CF-4779-90B6-86110432A1C8@gmail.com> Very useful info Matthias. Thanks for posting. Mark > On 9 Aug 2023, at 2:41 pm, matthias rebbe via use-livecode wrote: > > Every version of Xocde come with it own version of command line tools. > If you are just creating macOS standalones then you just need the command line tools. > But if you are also planning to create iOS apps then you'll need the complete Xcode package. > > To install just the command line tools run the following command from terminal > > xcode-select --install > > This should download and install the most current version of command line tools or better said, the most current version that is available for your installed macOS. > > Regards, > Matthias > > >> Am 09.08.2023 um 14:40 schrieb Dar Scott via use-livecode : >> >> I wonder. I don’t have Xcode installed on this machine. Does installing Xcode change the command-line tools? Maybe those tools that are the default work a little differently. >> >> I’m willing to install Xcode, but before that maybe I can provide some information (such as version) about any particular tools. >> >> Dar >> >>> On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode wrote: >>> >>> Whoops, I sent the most recent before I saw that Panos had responded. >>> >>> Panos, yes, a build to the network drive with a minimal stack has the error. This minimal stack has a name of Test, no inclusions, no copy files. >>> >>> The drive provides SMB, AFP and NFS services. >>> >>> Dar >>> >>>> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode wrote: >>>> >>>> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my inclusions and such. >>>> >>>> I don’t have Xcode on this system. Perhaps there are some command line tools suitable that come with macOS. >>>> >>>> I still feel defensive that Mac said “detritus”. ;-) >>>> >>>>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode wrote: >>>>> >>>>> Hi Dar, >>>>> >>>>> just a shot in the dark.... >>>>> >>>>> For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. >>>>> In case you have installed more than one versions of Xcode on your system, did you select in Xcode preferences the correct Xcode standalone tools that shall be used? >>>>> >>>>> Regards, >>>>> Matthias >>>>> >>>>> >>>>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode : >>>>>> >>>>>> I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. >>>>>> >>>>>> I guess building expects a drive on my Mac. And my Mac returns a bogus error message. >>>>>> >>>>>> I suggest one of these as an improvement to the build operation: >>>>>> >>>>>> * Complain and advise when the target is on a network drive. >>>>>> * Build the standalone in a temporary location on the local drive and then copy to the network drive when the target is on a network drive. >>>>>> >>>>>> I got past that error, but now I am running into others. They look familiar. I think the problem is that I’m not remembering the magic steps related to saving, purging and so on. I’m not sure, since I can build for Windows. (I can probably stumble through what I did long, long ago, but might figure it out faster.) >>>>>> >>>>>> Suggestion: >>>>>> >>>>>> * I should not have to remember. >>>>>> >>>>>> Thanks, everybody, for your help! >>>>>> >>>>>> Dar >>>>>> >>>>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode wrote: >>>>>>> >>>>>>> Oh, and I’m building from a network drive. >>>>>>> >>>>>>> >>>>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode wrote: >>>>>>>> >>>>>>>> xcode-select -p >>>>>>>> /Library/Developer/CommandLineTools >>>>>>>> >>>>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode wrote: >>>>>>>>> >>>>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. >>>>>>>>> >>>>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None. >>>>>>>>> >>>>>>>>> I set my bundle identifier and have not changed that among my attempts. I left all of the other Version Information as default. >>>>>>>>> >>>>>>>>> I have no Icons added. >>>>>>>>> >>>>>>>>> I get the same error. >>>>>>>>> >>>>>>>>> Dar >>>>>>>>> >>>>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>> On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode wrote: >>>>>>>>>> >>>>>>>>>>> I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. >>>>>>>>>>> >>>>>>>>>>> Bob S >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode wrote: >>>>>>>>>>>> >>>>>>>>>>>> Thanks, Jacque! >>>>>>>>>>>> >>>>>>>>>>>> That gives me a clue. I will try to get more info on this. >>>>>>>>>>>> >>>>>>>>>>>> However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. >>>>>>>>>>>> >>>>>>>>>>>> I’m willing to try some magic values in Standalone Application Settings. >>>>>>>>>>>> I’m using LiveCode 9.6.9, but I’m willing to upgrade. >>>>>>>>>>>> I’m on macOS Ventura. >>>>>>>>>>>> >>>>>>>>>>>> Has anyone successfully built a Mac application recently? >>>>>>>>>>>> >>>>>>>>>>>> Dar >>>>>>>>>>>> >>>>>>>>>>>>> On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> This might help: >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>>>>>>> On August 7, 2023 12:49:03 PM Dar Scott via use-livecode wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> I’m having trouble building an application for Mac Intel. >>>>>>>>>>>>>> >>>>>>>>>>>>>> The first time LiveCode crashed. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Subsequent times, I get this error: >>>>>>>>>>>>>> There was an error while saving the standalone application >>>>>>>>>>>>>> Adding ad-hoc signature failed with error: >>>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>>> Replacing existing signature >>>>>>>>>>>>>> /…/myProgram.app: >>>>>>>>>>>>>> Resource for, Finder information, or similar detritus not >>>>>>>>>>>>>> Allowed >>>>>>>>>>>>>> >>>>>>>>>>>>>> I tried fiddling with the PLIST settings without success. >>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Aug 9 10:49:57 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 9 Aug 2023 17:49:57 +0300 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Hello all, Also, it might be worth trying this as well - add a new button with this code: on mouseUp mobileStoreEnablePurchaseUpdates mobileStoreRestorePurchases end mouseUp Then press the button, and *then* call mobileStoreConsumePurchase pProductID . Hopefully now it should be properly consumed, and you should be able to buy it (and consume it) again. Cheers, Panos -- On Wed, 9 Aug 2023 at 11:37, panagiotis m wrote: > Hello Dan, > > The call to mobileStoreConfirmPurchase pProductID causes the > purchaseStateUpdate message to be sent again with status=complete. > > So I would not suggest putting the call to mobileStoreConsumePurchase > pProductID just after mobileStoreConfirmPurchase. > > You could either put it in a separate button and see if it works, > otherwise add a [case "complete"] in the purchaseStateUpdate msg and there > consume the product and disable purchase updates, i.e.: > > on purchaseStateUpdate pPurchaseID, pProductID, pState > switch pState > case "paymentReceived" > answer "Payment received!" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > break > case "error" > answer "Error occured during purchase handling:" & return & > return & mobileStorePurchaseError(pPurchaseID) > mobileStoreDisablePurchaseUpdates > break > case "invalidSKU" > answer "Invalid SKU." > mobileStoreDisablePurchaseUpdates > break > case "alreadyEntitled" > answer "Already Owned." > mobileStoreDisablePurchaseUpdates > break > case "restored" > put "Restored: " & pProductID & cr after field "restored" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > break > case "cancelled" > answer "Purchase Cancelled:" && pProductID > mobileStoreDisablePurchaseUpdates > break > case "complete" > answer "Purchase Complete:" && pProductID > mobileStoreConsumePurchase pProductID // <-- ADD THIS HERE > mobileStoreDisablePurchaseUpdates > break > end switch > end purchaseStateUpdate > > Hope this helps. > > Kind regards, > Panos > -- > > > > On Tue, 8 Aug 2023 at 22:52, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Andrew, >> >> Thank you for the input. The code snippet you said you are using has >> mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase. >> Is that what you are doing? The LC example show that >> mobileStoreMakePurchase should be handled in the purchaseStateUpdate >> message after the purchase is paymentReceived” >> >> If that’s true, then I feel like I’m doing exactly what you are >> suggesting. The purchase is fine, but the consumption if not working for >> me. Here’s what I’m doing: >> >> on startInAppPurchase numCredits >> //setup purchase id >> if numCredits = 1 then >> put 1001 into productID >> put "$0.99" into productAmount >> else if numCredits = 2 then >> put 1002 into productID >> put "$1.99" into productAmount >> else if numCredits = 3 then >> put 1003 into productID >> put "$2.99" into productAmount >> else if numCredits = 11 then >> put 1011 into productID >> put "$9.99" into productAmount >> end if >> >> //confirm with user >> if numCredits = 1 then >> put "Are you sure you want to purchase 1 credit for" && productAmount >> & "?" into pString >> else >> put "Are you sure you want to purchase" && numCredits && "credits >> for" && productAmount & "?" into pString >> end if >> if myAnswer(pString,"Cancel|Buy Now","Purchase >> Confirmation","|appBlue") = "Cancel" then //my custom answer dialog >> exit startInAppPurchase >> end if >> >> //initiate the purchase >> mobileStoreEnablePurchaseUpdates >> mobileStoreSetProductType productID,"inapp" >> mobileStoreMakePurchase productID,"1","testPayload - Android Only" >> end startInAppPurchase >> >> on purchaseStateUpdate pPurchaseID,pProductID,pState >> global user >> >> switch pState >> case "paymentReceived" >> put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData >> >> //tell our server is was sucessful and log users credits to database >> if isIPhone() then >> if db_validateAppleReceipt(rawReciptData) then >> add (pProductID-1000) to user["credits"] >> end if >> else >> //will add Android database call when ready >> end if >> >> mobileStoreConfirmPurchase pProductID //Inform the store that the >> purchase identifier productID was successfully delivered >> if isAndroid() then >> mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO >> CONSUME THE PRODUCT !! >> end if >> >> mobileStoreDisablePurchaseUpdates >> loadMeUp //refresh our display >> break >> case "error" >> answer "Error occured during purchase handling:" & return & return >> & mobileStorePurchaseError(pPurchaseID) >> mobileStoreDisablePurchaseUpdates >> break >> case "invalidSKU" >> answer "Invalid SKU." >> mobileStoreDisablePurchaseUpdates >> break >> case "alreadyEntitled" >> answer "Already Owned." >> mobileStoreDisablePurchaseUpdates >> break >> case "restored" >> answer "restored" >> offerPurchasedProduct pProductID >> mobileStoreConfirmPurchase pProductID >> mobileStoreDisablePurchaseUpdates >> >> loadMeUp //refresh our display >> break >> case "canceled" >> case "cancelled" >> answer "Purchase Cancelled:" && pProductID >> mobileStoreDisablePurchaseUpdates >> break >> end switch >> end purchaseStateUpdate >> >> >> >> Do you see anything wonky in my code? >> >> --Dan >> >> From: use-livecode on behalf of >> Andrew at MidWest Coast Media via use-livecode < >> use-livecode at lists.runrev.com> >> Date: Tuesday, August 8, 2023 at 10:57 AM >> To: use-livecode at lists.runrev.com >> Cc: Andrew at MidWest Coast Media >> Subject: Re: Consumable In App Purchases on Android >> If I’m consuming instantly, this is the code working in my Android/iOS >> project with comment lines explaining the values being passed in the >> Android build (note that the product ID values are more specific for >> Android than iOS): >> >> if tPlatform = "android" then >> put "com.midwestcoastmedia.dj3pm." into tProductIDbase >> else if tPlatform = "iPhone" then >> put EMPTY into tProductIDbase >> end if >> put tProductIDbase & pWhichProduct into tProductID >> >> mobileStoreEnablePurchaseUpdates >> ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", >> "inapp" >> mobileStoreSetProductType tProductID, "inapp" >> ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", >> "1", "Thanks for the buck!" >> mobileStoreMakePurchase tProductID, "1", tMessage >> ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" >> mobileStoreConsumePurchase tProductID >> put the result into tCatch >> >> BUT you’ll also need to implement the on purchaseStateUpdate handler to >> completely execute the purchase cycle. The lesson is sometimes hard to >> follow when Android changes their branding/naming but >> https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store >> < >> https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store> >> has a good example of this. >> >> —Andrew Bell >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From gcanyon at gmail.com Wed Aug 9 11:23:31 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 9 Aug 2023 08:23:31 -0700 Subject: Variable Watcher disappeared In-Reply-To: <2E7C61D6-01E0-4AB0-8DD0-6EDEF268C6B6@rogers.com> References: <2E7C61D6-01E0-4AB0-8DD0-6EDEF268C6B6@rogers.com> Message-ID: You can also accomplish most of this by right-clicking a stack in Navigator, and selecting Go > Show on the popup menu. That centers the stack on screen and shows it. It's meant to be guaranteed, so if there are other steps to take to ensure a stack presents itself, I'm happy to add them. On Tue, Aug 8, 2023 at 10:19 AM Martin Koob via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Bob > > So you can see the Script Editor but you can’t see the variables pane at > the bottom? > > There is a drag handle at the bottom of the Script Editor pane to resize > it. Maybe you accidentally dragged that to the bottom hiding the variable > pane at the bottom. > > Even if you did that you should still see the tabs for ‘Errors’; > ‘Variables’; ‘Documentation’; ‘Breakpoints’; ’Search Results’. > > You should be able to drag the Drag handle up to reveal the bottom pane. > > > The following doesn’t probably apply to you if your Script Editor Stack is > open and visible. > > You probably know this but another thing that happens to me is that some > of the LiveCode stacks disappear randomly. > > One thing that happens is that they somehow get moved offscreen. > > To get them back I first check if they are there by typing the following > into the message box. > > put the openstacks > > That should result in a list like this. > > Message Box > My Demo Stack > revInspector > revTools > revNewScriptEditor 1 > revDictionary > revMenuBar > Improve LiveCode Handler Finder > com.livecode.palette.autocomplete.completions > > If you see the stack in the list that you are looking for you can relocate > it back to the screen by setting its location to something that will be on > your display by entering the following in the message box. > set the topleft of stack "revtools" to 100,100 > > > > > > Two other reasons stacks disappear is that they become hidden or closed. > > > > If the stack is closed then enter the following in the message box > > open stack “revtools > > > > If the stack is open but hidden enter > > show stack “revtools” > > If it is your message box that you can’t find then there is nothing you > can do…. > > > … Just kidding. ;-) > > Just type command key + M to show the message box. > > > Bob, I am sure this is covering things you already know but just in case > there others in future are looking for this I added the other cases where > your LiveCode IDE stacks disappear. > > BTW I am using LC 9.6.9 on a M1 Max Mac running Ventura 13.41 > > Martin > > > On Aug 8, 2023, at 12:28 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi all. > > > > Not sure how I did it but I can no longer see the variables while > debugging. The bottom pane has disappeared and nothing I can find can get > it back. Any ideas? > > > > Bob S > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dan at clearvisiontech.com Wed Aug 9 15:27:51 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 9 Aug 2023 19:27:51 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Panos and others… First, thank you for your assistance and advise with this. Panos’ suggestions were spot on! Restoring the purchases, then calling mobileStoreConsumePurchase worked for consumption. And, adding a “complete” case to purchaseStateUpdate and handeling the mobilePurchaseGet() as well as the mobileStoreConsumePurchase worked beautifully. A couple of follow up questions… 1 - Does the “complete” case get returned with the Apple Store as well? 2 – Is there a way to get the purchase token from mobilePurchaseGet() on Android? The “transactionIdentifier” returns the order number, not the purchase token. The purchase token is needed to verify the purchase server side. Lastly, it would be terrific if the lesson on the LC website was updated to these options/methods. It might save the next guy some grief. -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Wednesday, August 9, 2023 at 7:51 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Consumable In App Purchases on Android Hello all, Also, it might be worth trying this as well - add a new button with this code: on mouseUp mobileStoreEnablePurchaseUpdates mobileStoreRestorePurchases end mouseUp Then press the button, and *then* call mobileStoreConsumePurchase pProductID . Hopefully now it should be properly consumed, and you should be able to buy it (and consume it) again. Cheers, Panos -- On Wed, 9 Aug 2023 at 11:37, panagiotis m wrote: > Hello Dan, > > The call to mobileStoreConfirmPurchase pProductID causes the > purchaseStateUpdate message to be sent again with status=complete. > > So I would not suggest putting the call to mobileStoreConsumePurchase > pProductID just after mobileStoreConfirmPurchase. > > You could either put it in a separate button and see if it works, > otherwise add a [case "complete"] in the purchaseStateUpdate msg and there > consume the product and disable purchase updates, i.e.: > > on purchaseStateUpdate pPurchaseID, pProductID, pState > switch pState > case "paymentReceived" > answer "Payment received!" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > break > case "error" > answer "Error occured during purchase handling:" & return & > return & mobileStorePurchaseError(pPurchaseID) > mobileStoreDisablePurchaseUpdates > break > case "invalidSKU" > answer "Invalid SKU." > mobileStoreDisablePurchaseUpdates > break > case "alreadyEntitled" > answer "Already Owned." > mobileStoreDisablePurchaseUpdates > break > case "restored" > put "Restored: " & pProductID & cr after field "restored" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > break > case "cancelled" > answer "Purchase Cancelled:" && pProductID > mobileStoreDisablePurchaseUpdates > break > case "complete" > answer "Purchase Complete:" && pProductID > mobileStoreConsumePurchase pProductID // <-- ADD THIS HERE > mobileStoreDisablePurchaseUpdates > break > end switch > end purchaseStateUpdate > > Hope this helps. > > Kind regards, > Panos > -- > > > > On Tue, 8 Aug 2023 at 22:52, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Andrew, >> >> Thank you for the input. The code snippet you said you are using has >> mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase. >> Is that what you are doing? The LC example show that >> mobileStoreMakePurchase should be handled in the purchaseStateUpdate >> message after the purchase is paymentReceived” >> >> If that’s true, then I feel like I’m doing exactly what you are >> suggesting. The purchase is fine, but the consumption if not working for >> me. Here’s what I’m doing: >> >> on startInAppPurchase numCredits >> //setup purchase id >> if numCredits = 1 then >> put 1001 into productID >> put "$0.99" into productAmount >> else if numCredits = 2 then >> put 1002 into productID >> put "$1.99" into productAmount >> else if numCredits = 3 then >> put 1003 into productID >> put "$2.99" into productAmount >> else if numCredits = 11 then >> put 1011 into productID >> put "$9.99" into productAmount >> end if >> >> //confirm with user >> if numCredits = 1 then >> put "Are you sure you want to purchase 1 credit for" && productAmount >> & "?" into pString >> else >> put "Are you sure you want to purchase" && numCredits && "credits >> for" && productAmount & "?" into pString >> end if >> if myAnswer(pString,"Cancel|Buy Now","Purchase >> Confirmation","|appBlue") = "Cancel" then //my custom answer dialog >> exit startInAppPurchase >> end if >> >> //initiate the purchase >> mobileStoreEnablePurchaseUpdates >> mobileStoreSetProductType productID,"inapp" >> mobileStoreMakePurchase productID,"1","testPayload - Android Only" >> end startInAppPurchase >> >> on purchaseStateUpdate pPurchaseID,pProductID,pState >> global user >> >> switch pState >> case "paymentReceived" >> put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData >> >> //tell our server is was sucessful and log users credits to database >> if isIPhone() then >> if db_validateAppleReceipt(rawReciptData) then >> add (pProductID-1000) to user["credits"] >> end if >> else >> //will add Android database call when ready >> end if >> >> mobileStoreConfirmPurchase pProductID //Inform the store that the >> purchase identifier productID was successfully delivered >> if isAndroid() then >> mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO >> CONSUME THE PRODUCT !! >> end if >> >> mobileStoreDisablePurchaseUpdates >> loadMeUp //refresh our display >> break >> case "error" >> answer "Error occured during purchase handling:" & return & return >> & mobileStorePurchaseError(pPurchaseID) >> mobileStoreDisablePurchaseUpdates >> break >> case "invalidSKU" >> answer "Invalid SKU." >> mobileStoreDisablePurchaseUpdates >> break >> case "alreadyEntitled" >> answer "Already Owned." >> mobileStoreDisablePurchaseUpdates >> break >> case "restored" >> answer "restored" >> offerPurchasedProduct pProductID >> mobileStoreConfirmPurchase pProductID >> mobileStoreDisablePurchaseUpdates >> >> loadMeUp //refresh our display >> break >> case "canceled" >> case "cancelled" >> answer "Purchase Cancelled:" && pProductID >> mobileStoreDisablePurchaseUpdates >> break >> end switch >> end purchaseStateUpdate >> >> >> >> Do you see anything wonky in my code? >> >> --Dan >> >> From: use-livecode on behalf of >> Andrew at MidWest Coast Media via use-livecode < >> use-livecode at lists.runrev.com> >> Date: Tuesday, August 8, 2023 at 10:57 AM >> To: use-livecode at lists.runrev.com >> Cc: Andrew at MidWest Coast Media >> Subject: Re: Consumable In App Purchases on Android >> If I’m consuming instantly, this is the code working in my Android/iOS >> project with comment lines explaining the values being passed in the >> Android build (note that the product ID values are more specific for >> Android than iOS): >> >> if tPlatform = "android" then >> put "com.midwestcoastmedia.dj3pm." into tProductIDbase >> else if tPlatform = "iPhone" then >> put EMPTY into tProductIDbase >> end if >> put tProductIDbase & pWhichProduct into tProductID >> >> mobileStoreEnablePurchaseUpdates >> ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", >> "inapp" >> mobileStoreSetProductType tProductID, "inapp" >> ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", >> "1", "Thanks for the buck!" >> mobileStoreMakePurchase tProductID, "1", tMessage >> ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" >> mobileStoreConsumePurchase tProductID >> put the result into tCatch >> >> BUT you’ll also need to implement the on purchaseStateUpdate handler to >> completely execute the purchase cycle. The lesson is sometimes hard to >> follow when Android changes their branding/naming but >> https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store >> < >> https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store> >> has a good example of this. >> >> —Andrew Bell >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ use-livecode mailing list use-livecode at 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 Wed Aug 9 15:44:59 2023 From: merakosp at gmail.com (panagiotis m) Date: Wed, 9 Aug 2023 22:44:59 +0300 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Hello Dan, Thanks for the update. RE 1, I *think* yes, but I would suggest you double check this anyway. RE 2, I would suggest not using mobilePurchaseGet(). This function is from the older API for in-app purchases, and we have kept it for backwards compatibility. I suggest using mobileStoreProductProperty (productID, propertyName) instead. In fact, using mobileStoreProductProperty (productID, "purchaseToken") is what you need in this use-case. RE the lessons, yes, they could have been better. I'll add this to my (long!) todo list :) Kind regards, Panos -- On Wed, 9 Aug 2023 at 22:29, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos and others… > > First, thank you for your assistance and advise with this. Panos’ > suggestions were spot on! Restoring the purchases, then calling > mobileStoreConsumePurchase worked for consumption. And, adding a > “complete” case to purchaseStateUpdate and handeling the > mobilePurchaseGet() as well as the mobileStoreConsumePurchase worked > beautifully. A couple of follow up questions… > > 1 - Does the “complete” case get returned with the Apple Store as well? > 2 – Is there a way to get the purchase token from mobilePurchaseGet() on > Android? The “transactionIdentifier” returns the order number, not the > purchase token. The purchase token is needed to verify the purchase server > side. > > Lastly, it would be terrific if the lesson on the LC website was updated > to these options/methods. It might save the next guy some grief. > > -Dan > > > From: use-livecode on behalf of > panagiotis m via use-livecode > Date: Wednesday, August 9, 2023 at 7:51 AM > To: How to use LiveCode > Cc: panagiotis m > Subject: Re: Consumable In App Purchases on Android > Hello all, > > Also, it might be worth trying this as well - add a new button with this > code: > > on mouseUp > mobileStoreEnablePurchaseUpdates > mobileStoreRestorePurchases > end mouseUp > > Then press the button, and *then* call mobileStoreConsumePurchase > pProductID . > Hopefully now it should be properly consumed, and you should be able to buy > it (and consume it) again. > > Cheers, > Panos > -- > > On Wed, 9 Aug 2023 at 11:37, panagiotis m wrote: > > > Hello Dan, > > > > The call to mobileStoreConfirmPurchase pProductID causes the > > purchaseStateUpdate message to be sent again with status=complete. > > > > So I would not suggest putting the call to mobileStoreConsumePurchase > > pProductID just after mobileStoreConfirmPurchase. > > > > You could either put it in a separate button and see if it works, > > otherwise add a [case "complete"] in the purchaseStateUpdate msg and > there > > consume the product and disable purchase updates, i.e.: > > > > on purchaseStateUpdate pPurchaseID, pProductID, pState > > switch pState > > case "paymentReceived" > > answer "Payment received!" > > offerPurchasedProduct pProductID > > mobileStoreConfirmPurchase pProductID > > break > > case "error" > > answer "Error occured during purchase handling:" & return & > > return & mobileStorePurchaseError(pPurchaseID) > > mobileStoreDisablePurchaseUpdates > > break > > case "invalidSKU" > > answer "Invalid SKU." > > mobileStoreDisablePurchaseUpdates > > break > > case "alreadyEntitled" > > answer "Already Owned." > > mobileStoreDisablePurchaseUpdates > > break > > case "restored" > > put "Restored: " & pProductID & cr after field "restored" > > offerPurchasedProduct pProductID > > mobileStoreConfirmPurchase pProductID > > break > > case "cancelled" > > answer "Purchase Cancelled:" && pProductID > > mobileStoreDisablePurchaseUpdates > > break > > case "complete" > > answer "Purchase Complete:" && pProductID > > mobileStoreConsumePurchase pProductID // <-- ADD THIS HERE > > mobileStoreDisablePurchaseUpdates > > break > > end switch > > end purchaseStateUpdate > > > > Hope this helps. > > > > Kind regards, > > Panos > > -- > > > > > > > > On Tue, 8 Aug 2023 at 22:52, Dan Friedman via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Andrew, > >> > >> Thank you for the input. The code snippet you said you are using has > >> mobileStoreConsumePurchase IMMEDIATELY following > mobileStoreMakePurchase. > >> Is that what you are doing? The LC example show that > >> mobileStoreMakePurchase should be handled in the purchaseStateUpdate > >> message after the purchase is paymentReceived” > >> > >> If that’s true, then I feel like I’m doing exactly what you are > >> suggesting. The purchase is fine, but the consumption if not working > for > >> me. Here’s what I’m doing: > >> > >> on startInAppPurchase numCredits > >> //setup purchase id > >> if numCredits = 1 then > >> put 1001 into productID > >> put "$0.99" into productAmount > >> else if numCredits = 2 then > >> put 1002 into productID > >> put "$1.99" into productAmount > >> else if numCredits = 3 then > >> put 1003 into productID > >> put "$2.99" into productAmount > >> else if numCredits = 11 then > >> put 1011 into productID > >> put "$9.99" into productAmount > >> end if > >> > >> //confirm with user > >> if numCredits = 1 then > >> put "Are you sure you want to purchase 1 credit for" && > productAmount > >> & "?" into pString > >> else > >> put "Are you sure you want to purchase" && numCredits && "credits > >> for" && productAmount & "?" into pString > >> end if > >> if myAnswer(pString,"Cancel|Buy Now","Purchase > >> Confirmation","|appBlue") = "Cancel" then //my custom answer dialog > >> exit startInAppPurchase > >> end if > >> > >> //initiate the purchase > >> mobileStoreEnablePurchaseUpdates > >> mobileStoreSetProductType productID,"inapp" > >> mobileStoreMakePurchase productID,"1","testPayload - Android Only" > >> end startInAppPurchase > >> > >> on purchaseStateUpdate pPurchaseID,pProductID,pState > >> global user > >> > >> switch pState > >> case "paymentReceived" > >> put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData > >> > >> //tell our server is was sucessful and log users credits to > database > >> if isIPhone() then > >> if db_validateAppleReceipt(rawReciptData) then > >> add (pProductID-1000) to user["credits"] > >> end if > >> else > >> //will add Android database call when ready > >> end if > >> > >> mobileStoreConfirmPurchase pProductID //Inform the store that the > >> purchase identifier productID was successfully delivered > >> if isAndroid() then > >> mobileStoreConsumePurchase pProductID. // <--- DOES NOT SEEM TO > >> CONSUME THE PRODUCT !! > >> end if > >> > >> mobileStoreDisablePurchaseUpdates > >> loadMeUp //refresh our display > >> break > >> case "error" > >> answer "Error occured during purchase handling:" & return & return > >> & mobileStorePurchaseError(pPurchaseID) > >> mobileStoreDisablePurchaseUpdates > >> break > >> case "invalidSKU" > >> answer "Invalid SKU." > >> mobileStoreDisablePurchaseUpdates > >> break > >> case "alreadyEntitled" > >> answer "Already Owned." > >> mobileStoreDisablePurchaseUpdates > >> break > >> case "restored" > >> answer "restored" > >> offerPurchasedProduct pProductID > >> mobileStoreConfirmPurchase pProductID > >> mobileStoreDisablePurchaseUpdates > >> > >> loadMeUp //refresh our display > >> break > >> case "canceled" > >> case "cancelled" > >> answer "Purchase Cancelled:" && pProductID > >> mobileStoreDisablePurchaseUpdates > >> break > >> end switch > >> end purchaseStateUpdate > >> > >> > >> > >> Do you see anything wonky in my code? > >> > >> --Dan > >> > >> From: use-livecode on behalf of > >> Andrew at MidWest Coast Media via use-livecode < > >> use-livecode at lists.runrev.com> > >> Date: Tuesday, August 8, 2023 at 10:57 AM > >> To: use-livecode at lists.runrev.com > >> Cc: Andrew at MidWest Coast Media > >> Subject: Re: Consumable In App Purchases on Android > >> If I’m consuming instantly, this is the code working in my Android/iOS > >> project with comment lines explaining the values being passed in the > >> Android build (note that the product ID values are more specific for > >> Android than iOS): > >> > >> if tPlatform = "android" then > >> put "com.midwestcoastmedia.dj3pm." into tProductIDbase > >> else if tPlatform = "iPhone" then > >> put EMPTY into tProductIDbase > >> end if > >> put tProductIDbase & pWhichProduct into tProductID > >> > >> mobileStoreEnablePurchaseUpdates > >> ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", > >> "inapp" > >> mobileStoreSetProductType tProductID, "inapp" > >> ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", > >> "1", "Thanks for the buck!" > >> mobileStoreMakePurchase tProductID, "1", tMessage > >> ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01" > >> mobileStoreConsumePurchase tProductID > >> put the result into tCatch > >> > >> BUT you’ll also need to implement the on purchaseStateUpdate handler to > >> completely execute the purchase cycle. The lesson is sometimes hard to > >> follow when Android changes their branding/naming but > >> > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store > >> < > >> > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store > >< > https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store%3e > > > >> has a good example of this. > >> > >> —Andrew Bell > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Aug 9 16:38:51 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 9 Aug 2023 20:38:51 +0000 Subject: Consumable In App Purchases on Android In-Reply-To: References: Message-ID: Panos, Again, thank you for your help! mobileStoreProductProperty works beautifully! As for the lesson, it’s not that it could have been better, it’s actually pretty good (as most LC lessons are). It’s just that it needs to be updated to reflect newer methods and procedures. Given how long your todo list is, I appreciate the time you always take to help me, and all the others out. It’s GREATLY appreciated! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Wednesday, August 9, 2023 at 12:46 PM To: How to use LiveCode Cc: panagiotis m Subject: Re: Consumable In App Purchases on Android Hello Dan, Thanks for the update. RE 1, I *think* yes, but I would suggest you double check this anyway. RE 2, I would suggest not using mobilePurchaseGet(). This function is from the older API for in-app purchases, and we have kept it for backwards compatibility. I suggest using mobileStoreProductProperty (productID, propertyName) instead. In fact, using mobileStoreProductProperty (productID, "purchaseToken") is what you need in this use-case. RE the lessons, yes, they could have been better. I'll add this to my (long!) todo list :) Kind regards, Panos From klaus at major-k.de Thu Aug 10 06:01:41 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 10 Aug 2023 12:01:41 +0200 Subject: Android black screen again... Message-ID: Hi friends, maybe you remember my problem, that my app turns into a black screen occacionally. This has happened again about four or five times since I reported it here. This never happens at home, only when I am at a band rehearsal, but never at a gig (fingers crossed). Restarting the dveice definitively cures this, thank you Panos, but sometimes, especially at a gig, I do not have the time to do so. :-/ So any further hints highly appreciated! macOS 12.6.8, LC 9.6.9, android 5.1 on a SAMSUNG TAB A tablet. I'm mainly using the PDF widget if that matters... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From benr_mc at cogapp.com Thu Aug 10 11:51:29 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 10 Aug 2023 16:51:29 +0100 Subject: Browzer widget zoom/scale? Message-ID: <22538298-c24d-3077-5038-6dfa5322fb30@cogapp.com> Is there a way to set the 'zoom level' for the browser widget? TIA, Ben From MikeKerner at roadrunner.com Thu Aug 10 15:22:15 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 10 Aug 2023 15:22:15 -0400 Subject: xavvi - temper your expectations Message-ID: i'm using chatgpt and bard, every day, because i can, and because sometimes they give me more comprehensive things to think about. but, they are wrong. a lot. zdnet just published a piece, today, documenting the same thing: wrong > 50% of the time. so, temper your expectations for xavvi in the medium term: https://www.zdnet.com/article/chatgpt-answers-more-than-half-of-software-engineering-questions-incorrectly/ -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From alex at tweedly.net Thu Aug 10 15:29:52 2023 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 10 Aug 2023 20:29:52 +0100 Subject: Sorting Arrays In-Reply-To: References: Message-ID: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> On 09/08/2023 00:15, Bob Sneidar via use-livecode wrote: > Has anyone come across a need to sort a numbered array by the values of the different keys? Here you go. Absolutely I have needed that quite often now. I tend to use sequences (numbered arrays) often - maybe too often. Up until now I've just done the sorting in the "traditional" way (i.e. using multiple "sort" commands), like >    put seqAsLines(sQ2) into tKeys >    sort lines of tKeys numeric by sQ2[each]["anumber"] >    sort lines of tKeys by sQ2[each]["thecategory"] >    rebuildSeq sQ2, tKeys (the functions seqAsLines and rebuildSeq are included in the code snippet below). But I really like your idea of having a handler that can be given multiple sort keys, and just does it all, so I took a detailed look. First - a couple of little bugs for you. > Keep in mind that there is no error checking so I have no idea what would happen if you provided a sort key that didnt exist in the array. > > on sortNumberedArray @pArrayDataA, pSortKeys > switch > case tKeyWord is among the items of "asc,ascending,desc,descending" > put tKeyWord into tSortKeysA [i] ["sortorder"] > break > case tKeyWord is "International,Numeric,datetime,text,binary" 'is' should be 'is among the items of' > put tKeyWord into tSortKeysA [i] ["sorttype"] > break > default > put word 1 to x of tSortIndex into tSortKeysA [i] ["sortvalue"] > end switch > end repeat > end repeat > Secondly, not sure if it's a bug or simply a limitation - the code fails if one of the array keys to use for sorting is one of "asc,desc,numeric,...". And - overall, an alternate suggestion. I think your way is a bot complex. Combining my "traditional" way as above, and your example, I came up with a  simpler way to do the same thing: > on simpleSortNumberedArray @pArrayDataA, pSortKeys >    local tKeys, tSeq, tOneSortKey, tSortCommand >    put seqAsLines(pArrayDataA) into tKeys >    repeat with I = the number of items in pSortKeys down to 1 >       put item I of pSortKeys into tOneSortKey >       put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \ >             "by pArrayData[each][" && word 1 of tOneSortKey && "]" > into tSortCommand >       do tSortCommand >    end repeat >    rebuildSeq pArrayDataA, tKeys > end simpleSortNumberedArray > > function seqAsLines pSeq >    local tRes >    repeat with i = 1 to the number of elements in pSeq >       put i & CR after tRes >    end repeat >    return tRes > end seqAsLines > > command rebuildSeq @pSeq, pList >    local tResQ, tCount >    repeat for each line L in pList >       add 1 to tCount >       put pSeq[L] into tResQ[tCount] >    end repeat >    put tResQ into pSeq > end rebuildSeq This is simpler and, I think, easier to understand. And it's certainly much faster: takes 89 msec for my test case rather than 3416 msecs. Alex. From alex at tweedly.net Thu Aug 10 15:32:12 2023 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 10 Aug 2023 20:32:12 +0100 Subject: xavvi - temper your expectations In-Reply-To: References: Message-ID: I have high expectations of xavvi - mostly because I want the cloud IDE, cloud db, new widgets, ... Oh - and I might just play with the AI, but I have no short-term expectations for that part of it. :-) Alex. On 10/08/2023 20:22, Mike Kerner via use-livecode wrote: > i'm using chatgpt and bard, every day, because i can, and because > sometimes they give me more comprehensive things to think about. > but, they are wrong. a lot. > zdnet just published a piece, today, documenting the same thing: wrong >> 50% of the time. > so, temper your expectations for xavvi in the medium term: > https://www.zdnet.com/article/chatgpt-answers-more-than-half-of-software-engineering-questions-incorrectly/ > From matthias_livecode_150811 at m-r-d.de Thu Aug 10 15:31:55 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 10 Aug 2023 21:31:55 +0200 Subject: xavvi - temper your expectations In-Reply-To: References: Message-ID: <136C8206-6B98-4401-9CB7-4CD4B14CEA9F@m-r-d.de> I thought Xavvi will make use of AI, but the use is not mandatory. So even without AI, XAVVI would be an online development tool which can deploy web apps and which also could import and export Livecode stacks. Am 10.08.2023 um 21:22 schrieb Mike Kerner via use-livecode : > > i'm using chatgpt and bard, every day, because i can, and because > sometimes they give me more comprehensive things to think about. > but, they are wrong. a lot. > zdnet just published a piece, today, documenting the same thing: wrong >> 50% of the time. > so, temper your expectations for xavvi in the medium term: > https://www.zdnet.com/article/chatgpt-answers-more-than-half-of-software-engineering-questions-incorrectly/ > > -- > 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 bobsneidar at iotecdigital.com Thu Aug 10 16:08:09 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Aug 2023 20:08:09 +0000 Subject: Sorting Arrays In-Reply-To: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> Message-ID: <48072F9A-569B-455B-8665-76AE88221DBD@iotecdigital.com> Thanks Alex, not sure how I missed that. I was only testing for a specific use case and only tried numeric descending. Bob S > On Aug 10, 2023, at 12:29 PM, Alex Tweedly via use-livecode wrote: > > > On 09/08/2023 00:15, Bob Sneidar via use-livecode wrote: >> Has anyone come across a need to sort a numbered array by the values of the different keys? Here you go. > > Absolutely I have needed that quite often now. I tend to use sequences (numbered arrays) often - maybe too often. > > Up until now I've just done the sorting in the "traditional" way (i.e. using multiple "sort" commands), like > >> put seqAsLines(sQ2) into tKeys >> sort lines of tKeys numeric by sQ2[each]["anumber"] >> sort lines of tKeys by sQ2[each]["thecategory"] >> rebuildSeq sQ2, tKeys > (the functions seqAsLines and rebuildSeq are included in the code snippet below). > > But I really like your idea of having a handler that can be given multiple sort keys, and just does it all, so I took a detailed look. > > First - a couple of little bugs for you. > >> Keep in mind that there is no error checking so I have no idea what would happen if you provided a sort key that didn’t exist in the array. >> >> on sortNumberedArray @pArrayDataA, pSortKeys >> switch >> case tKeyWord is among the items of "asc,ascending,desc,descending" >> put tKeyWord into tSortKeysA [i] ["sortorder"] >> break >> case tKeyWord is "International,Numeric,datetime,text,binary" > 'is' should be 'is among the items of' >> put tKeyWord into tSortKeysA [i] ["sorttype"] >> break >> default >> put word 1 to x of tSortIndex into tSortKeysA [i] ["sortvalue"] >> end switch >> end repeat >> end repeat >> > > Secondly, not sure if it's a bug or simply a limitation - the code fails if one of the array keys to use for sorting is one of "asc,desc,numeric,...". > > > And - overall, an alternate suggestion. I think your way is a bot complex. > Combining my "traditional" way as above, and your example, I came up with a simpler way to do the same thing: > >> on simpleSortNumberedArray @pArrayDataA, pSortKeys >> local tKeys, tSeq, tOneSortKey, tSortCommand >> put seqAsLines(pArrayDataA) into tKeys >> repeat with I = the number of items in pSortKeys down to 1 >> put item I of pSortKeys into tOneSortKey >> put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \ >> "by pArrayData[each][" && word 1 of tOneSortKey && "]" into tSortCommand >> do tSortCommand >> end repeat >> rebuildSeq pArrayDataA, tKeys >> end simpleSortNumberedArray >> >> function seqAsLines pSeq >> local tRes >> repeat with i = 1 to the number of elements in pSeq >> put i & CR after tRes >> end repeat >> return tRes >> end seqAsLines >> >> command rebuildSeq @pSeq, pList >> local tResQ, tCount >> repeat for each line L in pList >> add 1 to tCount >> put pSeq[L] into tResQ[tCount] >> end repeat >> put tResQ into pSeq >> end rebuildSeq > This is simpler and, I think, easier to understand. And it's certainly much faster: takes 89 msec for my test case rather than 3416 msecs. > > Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Aug 10 16:28:59 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Aug 2023 20:28:59 +0000 Subject: Sorting Arrays In-Reply-To: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> Message-ID: <04F07EA9-5BAF-42E4-AE2A-90124E3D2381@iotecdigital.com> I see you are sorting the keys of the array. I’ll give your method a try. Bob S On Aug 10, 2023, at 12:29 PM, Alex Tweedly via use-livecode wrote: And - overall, an alternate suggestion. I think your way is a bot complex. Combining my "traditional" way as above, and your example, I came up with a simpler way to do the same thing: From jacque at hyperactivesw.com Thu Aug 10 16:34:01 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Aug 2023 15:34:01 -0500 Subject: Android black screen again... In-Reply-To: References: Message-ID: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I looked up the Samsung Tab A and it says it runs Android 9, upgradable to 11. There are multiple RAM options. Is this the one you have? I'm just guessing, but memory may be too low to allow the browser widget to work, since it does work after a reboot and the problem only happens occasionally. But Android 5 is almost 10 years old and I'd be surprised if that is what your tablet is running. Have you checked for an update? You have much more control of memory usage with a newer OS. In any case, you can keep memory usage lower if you delete or disable all apps and processes you don't need. You can do that in Settings/Apps. Samsung installs a lot of bloatware and if you don't use those things, turn them off or remove them. You can't always uninstall these but you can disable some of them. Also uninstall any extra apps you don't use. I have a newer Samsung tablet and I disabled or deleted almost half the software it shipped with. Many of these run in the background and use memory. Launcher widgets also run constantly so remove the ones you don't need from your launch screens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 10, 2023 5:03:24 AM Klaus major-k via use-livecode wrote: > Hi friends, > > maybe you remember my problem, that my app > turns into a black screen occacionally. > > This has happened again about four or five times since > I reported it here. > > This never happens at home, only when I am at a band > rehearsal, but never at a gig (fingers crossed). > > Restarting the dveice definitively cures this, thank you Panos, > but sometimes, especially at a gig, I do not have the time to > do so. :-/ > > So any further hints highly appreciated! > > macOS 12.6.8, LC 9.6.9, android 5.1 on a SAMSUNG TAB A tablet. > I'm mainly using the PDF widget if that matters... > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Thu Aug 10 18:30:55 2023 From: dsc at swcp.com (Dar Scott) Date: Thu, 10 Aug 2023 16:30:55 -0600 Subject: Rectangles on Windows? In-Reply-To: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> References: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> Message-ID: <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> Anybody else seeing missing rectangles on Windows? — Dar > On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode wrote: > > > I have some rectangles that work just fine in development on my Mac. > > However, there are problems in my Windows standalone. > > Not Showing Up > Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness > > Showing Up > Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Aug 10 18:45:20 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Aug 2023 22:45:20 +0000 Subject: Rectangles on Windows? In-Reply-To: <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> References: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> Message-ID: <61993CB1-D125-42DA-8E37-96368DF9F6AA@iotecdigital.com> Sorry Dar, I do not use rectangles for anything. Bob S > On Aug 10, 2023, at 3:30 PM, Dar Scott via use-livecode wrote: > > Anybody else seeing missing rectangles on Windows? — Dar > >> On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode wrote: >> >> >> I have some rectangles that work just fine in development on my Mac. >> >> However, there are problems in my Windows standalone. >> >> Not Showing Up >> Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness >> >> Showing Up >> Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. From klaus at major-k.de Fri Aug 11 04:12:56 2023 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Aug 2023 10:12:56 +0200 Subject: Android black screen again... In-Reply-To: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <48D02CCA-2419-4562-BBB4-B1912ED34DD6@major-k.de> Hi Jacque, > Am 10.08.2023 um 22:34 schrieb J. Landman Gay via use-livecode : > > I looked up the Samsung Tab A and it says it runs Android 9, upgradable to 11. There are multiple RAM options. Is this the one you have? > > I'm just guessing, but memory may be too low to allow the browser widget to work, since it does work after a reboot and the problem only happens occasionally. But Android 5 is almost 10 years old and I'd be surprised if that is what your tablet is running. Have you checked for an update? You have much more control of memory usage with a newer OS. sorry, my fault, I obviously have an older version of the tablet and it does in fact run Android 8.1. However it is not upgradable. > In any case, you can keep memory usage lower if you delete or disable all apps and processes you don't need. You can do that in Settings/Apps. Samsung installs a lot of bloatware and if you don't use those things, turn them off or remove them. You can't always uninstall these but you can disable some of them. Also uninstall any extra apps you don't use. I have a newer Samsung tablet and I disabled or deleted almost half the software it shipped with. Many of these run in the background and use memory. Launcher widgets also run constantly so remove the ones you don't need from your launch screens. I already did that, snice I only need the device for displaying PDF leadsheets. But if it would be a memory issue, then it would happen more often, I think. The problem is that this is not reproducable, it happens out of a sudden if it happens. Even the hardware BACKKEY does not work in that situation, only the HOMEKEY so I can at least quit the app. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 10, 2023 5:03:24 AM Klaus major-k via use-livecode wrote: > >> Hi friends, >> >> maybe you remember my problem, that my app >> turns into a black screen occacionally. >> >> This has happened again about four or five times since >> I reported it here. >> >> This never happens at home, only when I am at a band >> rehearsal, but never at a gig (fingers crossed). >> >> Restarting the dveice definitively cures this, thank you Panos, >> but sometimes, especially at a gig, I do not have the time to >> do so. :-/ >> >> So any further hints highly appreciated! >> >> macOS 12.6.8, LC 9.6.9, android 5.1 on a SAMSUNG TAB A tablet. >> I'm mainly using the PDF widget if that matters... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From dsc at swcp.com Fri Aug 11 10:19:52 2023 From: dsc at swcp.com (Dar Scott) Date: Fri, 11 Aug 2023 08:19:52 -0600 Subject: Rectangles on Windows? In-Reply-To: <61993CB1-D125-42DA-8E37-96368DF9F6AA@iotecdigital.com> References: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> <61993CB1-D125-42DA-8E37-96368DF9F6AA@iotecdigital.com> Message-ID: <0916EA2B-8E51-4C5A-B8E5-C50FC5B85197@swcp.com> Hmmm. Maybe few use rectangles. I could try a polyline or a group. — Dar > On Aug 10, 2023, at 4:45 PM, Bob Sneidar via use-livecode wrote: > > Sorry Dar, I do not use rectangles for anything. > > Bob S > > >> On Aug 10, 2023, at 3:30 PM, Dar Scott via use-livecode wrote: >> >> Anybody else seeing missing rectangles on Windows? — Dar >> >>> On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode wrote: >>> >>> >>> I have some rectangles that work just fine in development on my Mac. >>> >>> However, there are problems in my Windows standalone. >>> >>> Not Showing Up >>> Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness >>> >>> Showing Up >>> Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Fri Aug 11 11:19:50 2023 From: paul at researchware.com (Paul Dupuis) Date: Fri, 11 Aug 2023 11:19:50 -0400 Subject: Rectangles on Windows? In-Reply-To: <0916EA2B-8E51-4C5A-B8E5-C50FC5B85197@swcp.com> References: <91D44125-B408-4F17-9E25-4E132B4B8409@swcp.com> <64C8B881-4CE5-4A56-9588-C2BC30A359BD@swcp.com> <61993CB1-D125-42DA-8E37-96368DF9F6AA@iotecdigital.com> <0916EA2B-8E51-4C5A-B8E5-C50FC5B85197@swcp.com> Message-ID: <32b1c3d5-15b2-3328-9458-5fc38f4b3520@researchware.com> If you want to send me a link to your Windows standalone, I would be happy to download it (Windows 11 HP laptop) and see if I see the same thing. Or a link to your stack and I can see if it appears in the LC 9.6.9 IDE if you want. On 8/11/2023 10:19 AM, Dar Scott via use-livecode wrote: > Hmmm. Maybe few use rectangles. I could try a polyline or a group. Dar > >> On Aug 10, 2023, at 4:45 PM, Bob Sneidar via use-livecode wrote: >> >> Sorry Dar, I do not use rectangles for anything. >> >> Bob S >> >> >>> On Aug 10, 2023, at 3:30 PM, Dar Scott via use-livecode wrote: >>> >>> Anybody else seeing missing rectangles on Windows? Dar >>> >>>> On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode wrote: >>>> >>>> >>>> I have some rectangles that work just fine in development on my Mac. >>>> >>>> However, there are problems in my Windows standalone. >>>> >>>> Not Showing Up >>>> Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe effect. Both sets have a non-zero border thickness >>>> >>>> Showing Up >>>> Other rectangles have opaque true, backgroundColor red, and border thickness 0. They are visible on Windows. They are also within a group. These are made visible and not visible with a same wipe effect. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Aug 11 13:20:33 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Aug 2023 17:20:33 +0000 Subject: Tab Widget Go command Message-ID: <871423F1-6902-4A9D-A85A-4DEE8AF2D9CD@iotecdigital.com> In the dictionary, there is a Go command for widgets. I assumed this meant I can do something like: Go forward in widget “TabBar” But that does not work. Any ideas? I can kludge it. I would rather not have to. Bob S From jacque at hyperactivesw.com Fri Aug 11 16:30:55 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Aug 2023 15:30:55 -0500 Subject: Android black screen again... In-Reply-To: <48D02CCA-2419-4562-BBB4-B1912ED34DD6@major-k.de> References: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <48D02CCA-2419-4562-BBB4-B1912ED34DD6@major-k.de> Message-ID: On 8/11/23 3:12 AM, Klaus major-k via use-livecode wrote: > The problem is that this is not reproducable, it happens out of a sudden if it happens. > Even the hardware BACKKEY does not work in that situation, only the HOMEKEY so I can > at least quit the app. That's called an ANR ("Application Not Responding"). Something in the app is causing a hang. If you wait long enough, Android should put up a dialog asking if you want to wait or close the app. If you choose to wait, sometimes it comes back. However, the wait can be 10-20 seconds or more so people often just quit before the dialog appears. The problem here is figuring out what causes it. Is it always the same PDF file? Or maybe it happens after opening a certain number of files, or the length of a file, or the cumulative length of several files, or...? If it isn't reproducible, it's very difficult to find the cause. If it happens to you at home some day, see if waiting 15 seconds or more puts up that dialog. That would confirm it's an ANR. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Aug 11 18:00:22 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Aug 2023 17:00:22 -0500 Subject: Sorting Arrays In-Reply-To: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> Message-ID: <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: > Combining my "traditional" way as above, and your example, I came up with a  simpler way to do > the same thing: > >> on simpleSortNumberedArray @pArrayDataA, pSortKeys >>    local tKeys, tSeq, tOneSortKey, tSortCommand >>    put seqAsLines(pArrayDataA) into tKeys >>    repeat with I = the number of items in pSortKeys down to 1 >>       put item I of pSortKeys into tOneSortKey >>       put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \ >>             "by pArrayData[each][" && word 1 of tOneSortKey && "]" into tSortCommand >>       do tSortCommand >>    end repeat >>    rebuildSeq pArrayDataA, tKeys >> end simpleSortNumberedArray >> >> function seqAsLines pSeq >>    local tRes >>    repeat with i = 1 to the number of elements in pSeq >>       put i & CR after tRes >>    end repeat >>    return tRes >> end seqAsLines >> >> command rebuildSeq @pSeq, pList >>    local tResQ, tCount >>    repeat for each line L in pList >>       add 1 to tCount >>       put pSeq[L] into tResQ[tCount] >>    end repeat >>    put tResQ into pSeq >> end rebuildSeq I couldn't get this to work until I altered it, but I was using a very simple array. What type of array data did you use? I think I'm missing something. I just did this: put the weekdayNames into tDataA split tDataA by cr simpleSortNumberedArray tDataA, "descending,text" For that array, this worked: on simpleSortNumberedArray pArrayDataA, pSortKeys local tKeys, tSeq, tOneSortKey, tSortCommand put seqAsLines(pArrayDataA) into tKeys repeat with I = the number of items in pSortKeys down to 1 put item I of pSortKeys into tOneSortKey -- put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \ -- "by pArrayDataA[each][" && word 1 of tOneSortKey && "]" into tSortCommand put "sort lines of tKeys" && tOneSortKey into tSortCommand do tSortCommand end repeat rebuildSeq pArrayDataA, tKeys end simpleSortNumberedArray function seqAsLines pSeq local tRes -- repeat with i = 1 to the number of elements in pSeq repeat for each element e in pSeq put e & CR after tRes end repeat return tRes end seqAsLines command rebuildSeq @pSeq, pList local tResQ, tCount repeat for each line L in pList add 1 to tCount -- put pSeq[L] into tResQ[tCount] put L into tResQ[tCount] end repeat put tResQ into pSeq end rebuildSeq -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Fri Aug 11 19:58:59 2023 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 12 Aug 2023 00:58:59 +0100 Subject: Sorting Arrays In-Reply-To: <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> Message-ID: On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: > On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: > [ ... code from earlier posting ...] > I couldn't get this to work until I altered it, but I was using a very > simple array. What type of array data did you use? I think I'm missing > something. > > I just did this: > >   put the weekdayNames into tDataA >   split tDataA by cr >   simpleSortNumberedArray tDataA, "descending,text" > What you're missing is that this (simpleSortNumberedArray) is only intended for "numbered array"s (which LC is calling "sequences" in some places); i.e. an array where the (top-level) keys are all consecutive integers, from 1 .... n Also, the pSortkeys should be a number of comma-separated items, each of which consists of a key by which you want to sort the array followed optionally by an order and type. So you might do something like : > on mouseup >    local tCounter, tDataA > >    repeat for each line L in the weekdayNames >       add 1 to tCounter >       put L into tDataA[tCounter]["dayname"] >       put the number of chars in L into tDataA[tCounter]["charcount"] >    end repeat > >    -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >    simpleSortNumberedArray tDataA, "dayname" >    repeat with I = 1 to 7 >       put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >    end repeat > >    put "---------" &CR after msg > >    -- sorts descending numeric by number of characters in name >    --  NB within each char count value, they remain in alphabetical > order of name >    simpleSortNumberedArray tDataA, "charcount numeric descending" >    repeat with I = 1 to 7 >       put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >    end repeat > end mouseup and get as output > 6 Friday > 6 Monday > 8 Saturday > 6 Sunday > 8 Thursday > 7 Tuesday > 9 Wednesday > --------- > 9 Wednesday > 8 Saturday > 8 Thursday > 7 Tuesday > 6 Friday > 6 Monday > 6 Sunday So - it would be worth adding a check that the array passed in is indeed a sequence, at the start of simpleSortNumberedArray: if NOT (pArrayDataA is an array AND \            item 2 of extents(pArrayDataA) is the number of elements in pArrayDataA) then \                  return pArrayData I'm now going to add this to my personal library, but I'll rename it to     seqSortMultipleKeys Alex. From bobsneidar at iotecdigital.com Fri Aug 11 20:07:47 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 12 Aug 2023 00:07:47 +0000 Subject: Sorting Arrays In-Reply-To: References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> Message-ID: <43732233-0960-4653-BF08-F6BC36DB4275@iotecdigital.com> Send me what you have. Thanks. Sent from my iPhone > On Aug 11, 2023, at 17:02, Alex Tweedly via use-livecode wrote: > >  >> On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: >> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: >> [ ... code from earlier posting ...] > >> I couldn't get this to work until I altered it, but I was using a very simple array. What type of array data did you use? I think I'm missing something. >> >> I just did this: >> >> put the weekdayNames into tDataA >> split tDataA by cr >> simpleSortNumberedArray tDataA, "descending,text" >> > What you're missing is that this (simpleSortNumberedArray) is only intended for "numbered array"s (which LC is calling "sequences" in some places); i.e. an array where the (top-level) keys are all consecutive integers, from 1 .... n > > Also, the pSortkeys should be a number of comma-separated items, each of which consists of a key by which you want to sort the array followed optionally by an order and type. > > So you might do something like : > >> on mouseup >> local tCounter, tDataA >> >> repeat for each line L in the weekdayNames >> add 1 to tCounter >> put L into tDataA[tCounter]["dayname"] >> put the number of chars in L into tDataA[tCounter]["charcount"] >> end repeat >> >> -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >> simpleSortNumberedArray tDataA, "dayname" >> repeat with I = 1 to 7 >> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >> end repeat >> >> put "---------" &CR after msg >> >> -- sorts descending numeric by number of characters in name >> -- NB within each char count value, they remain in alphabetical order of name >> simpleSortNumberedArray tDataA, "charcount numeric descending" >> repeat with I = 1 to 7 >> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >> end repeat >> end mouseup > and get as output > >> 6 Friday >> 6 Monday >> 8 Saturday >> 6 Sunday >> 8 Thursday >> 7 Tuesday >> 9 Wednesday >> --------- >> 9 Wednesday >> 8 Saturday >> 8 Thursday >> 7 Tuesday >> 6 Friday >> 6 Monday >> 6 Sunday > > So - it would be worth adding a check that the array passed in is indeed a sequence, at the start of simpleSortNumberedArray: > > if NOT (pArrayDataA is an array AND \ > item 2 of extents(pArrayDataA) is the number of elements in pArrayDataA) then \ > return pArrayData > > I'm now going to add this to my personal library, but I'll rename it to > > seqSortMultipleKeys > > Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat Aug 12 03:31:21 2023 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Aug 2023 09:31:21 +0200 Subject: Android black screen again... In-Reply-To: References: <189e127faa8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <48D02CCA-2419-4562-BBB4-B1912ED34DD6@major-k.de> Message-ID: <43493CFD-F381-41E1-AD4D-0FC859801E5B@major-k.de> Hi Jacque, you wrote: > I'm just guessing, but memory may be too low to allow the browser widget to work, however I am not using the browser widget (does not display PDFs on Andoid!) but the PDF widget! > Am 11.08.2023 um 22:30 schrieb J. Landman Gay via use-livecode : > > On 8/11/23 3:12 AM, Klaus major-k via use-livecode wrote: >> The problem is that this is not reproducable, it happens out of a sudden if it happens. >> Even the hardware BACKKEY does not work in that situation, only the HOMEKEY so I can >> at least quit the app. > > That's called an ANR ("Application Not Responding"). Something in the app is causing a hang. If you wait long enough, Android should put up a dialog asking if you want to wait or close the app. If you choose to wait, sometimes it comes back. However, the wait can be 10-20 seconds or more so people often just quit before the dialog appears. OK, if I have the time I will wait next time and see what happens. > The problem here is figuring out what causes it. Is it always the same PDF file? Or maybe it happens after opening a certain number of files, or the length of a file, or the cumulative length of several files, or...? If it isn't reproducible, it's very difficult to find the cause. It happen when I start the app, at that point there is no PDF loaded, just the "start card" with a couple of poly grids. It also happened in the same "session", means no switching the device off and on again. I started the device then opened my app, no problems. Then I quit my app and started again, BOOM, black screen. > If it happens to you at home some day, see if waiting 15 seconds or more puts up that dialog. That would confirm it's an ANR. Yes, will do, thanks for the hint! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Sat Aug 12 12:30:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Aug 2023 11:30:17 -0500 Subject: Sorting Arrays In-Reply-To: References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> Message-ID: <189ea958da8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Got it, thanks. The array was numbered but I didn't have enough dimensions. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 11, 2023 7:03:33 PM Alex Tweedly via use-livecode wrote: > On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: >> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: >> [ ... code from earlier posting ...] > >> I couldn't get this to work until I altered it, but I was using a very >> simple array. What type of array data did you use? I think I'm missing >> something. >> >> I just did this: >> >> put the weekdayNames into tDataA >> split tDataA by cr >> simpleSortNumberedArray tDataA, "descending,text" >> > What you're missing is that this (simpleSortNumberedArray) is only > intended for "numbered array"s (which LC is calling "sequences" in some > places); i.e. an array where the (top-level) keys are all consecutive > integers, from 1 .... n > > Also, the pSortkeys should be a number of comma-separated items, each of > which consists of a key by which you want to sort the array followed > optionally by an order and type. > > So you might do something like : > >> on mouseup >> local tCounter, tDataA >> >> repeat for each line L in the weekdayNames >> add 1 to tCounter >> put L into tDataA[tCounter]["dayname"] >> put the number of chars in L into tDataA[tCounter]["charcount"] >> end repeat >> >> -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >> simpleSortNumberedArray tDataA, "dayname" >> repeat with I = 1 to 7 >> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >> end repeat >> >> put "---------" &CR after msg >> >> -- sorts descending numeric by number of characters in name >> -- NB within each char count value, they remain in alphabetical >> order of name >> simpleSortNumberedArray tDataA, "charcount numeric descending" >> repeat with I = 1 to 7 >> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >> end repeat >> end mouseup > and get as output > >> 6 Friday >> 6 Monday >> 8 Saturday >> 6 Sunday >> 8 Thursday >> 7 Tuesday >> 9 Wednesday >> --------- >> 9 Wednesday >> 8 Saturday >> 8 Thursday >> 7 Tuesday >> 6 Friday >> 6 Monday >> 6 Sunday > > So - it would be worth adding a check that the array passed in is indeed > a sequence, at the start of simpleSortNumberedArray: > > if NOT (pArrayDataA is an array AND \ > item 2 of extents(pArrayDataA) is the number of elements in > pArrayDataA) then \ > return pArrayData > > I'm now going to add this to my personal library, but I'll rename it to > > seqSortMultipleKeys > > Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Aug 12 12:35:47 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Aug 2023 11:35:47 -0500 Subject: Sorting Arrays In-Reply-To: <43732233-0960-4653-BF08-F6BC36DB4275@iotecdigital.com> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> <43732233-0960-4653-BF08-F6BC36DB4275@iotecdigital.com> Message-ID: <189ea9a92d0.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I used a short, one-dimensional numbered array: put the weekdayNames into tDataA split tDataA by cr simpleSortNumberedArray tDataA, "descending,text" But as Alex explained, one dimension wasn't enough. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 11, 2023 7:09:50 PM Bob Sneidar via use-livecode wrote: > Send me what you have. Thanks. > > Sent from my iPhone > >> On Aug 11, 2023, at 17:02, Alex Tweedly via use-livecode >> wrote: >> >> ? >>> On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: >>> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: >>> [ ... code from earlier posting ...] >> >>> I couldn't get this to work until I altered it, but I was using a very >>> simple array. What type of array data did you use? I think I'm missing >>> something. >>> >>> I just did this: >>> >>> put the weekdayNames into tDataA >>> split tDataA by cr >>> simpleSortNumberedArray tDataA, "descending,text" >>> >> What you're missing is that this (simpleSortNumberedArray) is only intended >> for "numbered array"s (which LC is calling "sequences" in some places); >> i.e. an array where the (top-level) keys are all consecutive integers, from >> 1 .... n >> >> Also, the pSortkeys should be a number of comma-separated items, each of >> which consists of a key by which you want to sort the array followed >> optionally by an order and type. >> >> So you might do something like : >> >>> on mouseup >>> local tCounter, tDataA >>> >>> repeat for each line L in the weekdayNames >>> add 1 to tCounter >>> put L into tDataA[tCounter]["dayname"] >>> put the number of chars in L into tDataA[tCounter]["charcount"] >>> end repeat >>> >>> -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >>> simpleSortNumberedArray tDataA, "dayname" >>> repeat with I = 1 to 7 >>> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >>> end repeat >>> >>> put "---------" &CR after msg >>> >>> -- sorts descending numeric by number of characters in name >>> -- NB within each char count value, they remain in alphabetical order of name >>> simpleSortNumberedArray tDataA, "charcount numeric descending" >>> repeat with I = 1 to 7 >>> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >>> end repeat >>> end mouseup >> and get as output >> >>> 6 Friday >>> 6 Monday >>> 8 Saturday >>> 6 Sunday >>> 8 Thursday >>> 7 Tuesday >>> 9 Wednesday >>> --------- >>> 9 Wednesday >>> 8 Saturday >>> 8 Thursday >>> 7 Tuesday >>> 6 Friday >>> 6 Monday >>> 6 Sunday >> >> So - it would be worth adding a check that the array passed in is indeed a >> sequence, at the start of simpleSortNumberedArray: >> >> if NOT (pArrayDataA is an array AND \ >> item 2 of extents(pArrayDataA) is the number of elements in pArrayDataA) then \ >> return pArrayData >> >> I'm now going to add this to my personal library, but I'll rename it to >> >> seqSortMultipleKeys >> >> Alex. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sat Aug 12 18:22:18 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 12 Aug 2023 22:22:18 +0000 Subject: Sorting Arrays In-Reply-To: <189ea9a92d0.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1d2a693e-414c-e7aa-9cd0-b53d76e3962f@tweedly.net> <9d073821-5337-fca9-185d-3623d399eb79@hyperactivesw.com> <43732233-0960-4653-BF08-F6BC36DB4275@iotecdigital.com> <189ea9a92d0.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <96401816-CDD0-4F24-935F-679A1B49E0AB@iotecdigital.com> I formatted the sortKeys as I would an SQL query or an LC sort, but then I needed to isolate the key from the parameters because I couldn’t assume the sort key was simply the first word. Sent from my iPhone > On Aug 12, 2023, at 09:36, J. Landman Gay via use-livecode wrote: > > I used a short, one-dimensional numbered array: > > put the weekdayNames into tDataA > split tDataA by cr > simpleSortNumberedArray tDataA, "descending,text" > > But as Alex explained, one dimension wasn't enough. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On August 11, 2023 7:09:50 PM Bob Sneidar via use-livecode wrote: >> >> Send me what you have. Thanks. >> >> Sent from my iPhone >> >>>> On Aug 11, 2023, at 17:02, Alex Tweedly via use-livecode wrote: >>> >>> ? >>>> On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote: >>>> On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote: >>>> [ ... code from earlier posting ...] >>> >>>> I couldn't get this to work until I altered it, but I was using a very simple array. What type of array data did you use? I think I'm missing something. >>>> >>>> I just did this: >>>> >>>> put the weekdayNames into tDataA >>>> split tDataA by cr >>>> simpleSortNumberedArray tDataA, "descending,text" >>>> >>> What you're missing is that this (simpleSortNumberedArray) is only intended for "numbered array"s (which LC is calling "sequences" in some places); i.e. an array where the (top-level) keys are all consecutive integers, from 1 .... n >>> >>> Also, the pSortkeys should be a number of comma-separated items, each of which consists of a key by which you want to sort the array followed optionally by an order and type. >>> >>> So you might do something like : >>> >>>> on mouseup >>>> local tCounter, tDataA >>>> >>>> repeat for each line L in the weekdayNames >>>> add 1 to tCounter >>>> put L into tDataA[tCounter]["dayname"] >>>> put the number of chars in L into tDataA[tCounter]["charcount"] >>>> end repeat >>>> >>>> -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W) >>>> simpleSortNumberedArray tDataA, "dayname" >>>> repeat with I = 1 to 7 >>>> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >>>> end repeat >>>> >>>> put "---------" &CR after msg >>>> >>>> -- sorts descending numeric by number of characters in name >>>> -- NB within each char count value, they remain in alphabetical order of name >>>> simpleSortNumberedArray tDataA, "charcount numeric descending" >>>> repeat with I = 1 to 7 >>>> put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg >>>> end repeat >>>> end mouseup >>> and get as output >>> >>>> 6 Friday >>>> 6 Monday >>>> 8 Saturday >>>> 6 Sunday >>>> 8 Thursday >>>> 7 Tuesday >>>> 9 Wednesday >>>> --------- >>>> 9 Wednesday >>>> 8 Saturday >>>> 8 Thursday >>>> 7 Tuesday >>>> 6 Friday >>>> 6 Monday >>>> 6 Sunday >>> >>> So - it would be worth adding a check that the array passed in is indeed a sequence, at the start of simpleSortNumberedArray: >>> >>> if NOT (pArrayDataA is an array AND \ >>> item 2 of extents(pArrayDataA) is the number of elements in pArrayDataA) then \ >>> return pArrayData >>> >>> I'm now going to add this to my personal library, but I'll rename it to >>> >>> seqSortMultipleKeys >>> >>> Alex. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From neville.smythe at optusnet.com.au Sun Aug 13 08:45:39 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sun, 13 Aug 2023 22:45:39 +1000 Subject: Linux file names in LC Server Message-ID: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> As we know with LC it is pretty straightforward to deal with internationalised text for remote databases and unknown user platforms by conversion to utf-8. But I have come across a problem with Linux filenames containing non-ascii characters which has me befuddled. My many-years-old app has until now just required all filenames to be in standard 7-bit ascii, so it was way past time I brought it up to date. The app talks to a database, media and web site on a unix (DreamHost) server using LC server as intermediary. I create a file say “Carré.txt” on a Mac - the non-ascii character in that name being [e-acute] - I shall use this convention from now on to ensure what is displayed here on the forum is understood. BTW, as far as I can determine that character in the Mac file system is a single byte hex [8e], the classic MacRoman encoding, not its utf-8 2-byte [C3A9] encoding. So I don’t understand how macOS handles unicode in its filesystem, which it certainly does. We are exhorted to textEncode to utf-8 when exporting anything outside LC but perhaps not filenames?? If I textEncode the filename and save with that name I get a new file “Carr[squareroot copyright].txt”. I am befuddled already - how does macOS distinguish MacRoman encoding from unicode encoding when it displays a file name? - but that is another story for another place.. Oh, and another story: it ain't true that all text in LC is utf-16: While it’s not possible using LC-API’s to determine exactly what is inside the black-box of an LC variable in memory, it is evidently platform dependent — that MacRoman [8e] is reported as being the relevant byte in the LC variable. What can be determined is what is on disk when a stack is saved: there text appears to be encoded as a mixture of 7-bit ascii when it can be, utf-16 encoding for other characters. Not that we as consumers need to know how the magic is performed, as long as it works. Back to my story.. So now I want to upload this file to my remote Linux server. I POST a form, prepared with libURLMultiPartFormData, to an LC Server script, which is supposed to save the received file. If I attempt to use the original Mac file name, the server responds “Cannot open file Carr[e-acute].txt” (this is the Result error message from "open file tFileName for binary write”) If I send textEncode(filename, utf-8) as the file name, the server responds “Cannot open file Carr[squareroot][copyright].txt” If I textEncode at the client end, and then textDecode on the server it responds “Cannot open file Carre[E-grave].txt” (Where did THAT come from? Is there a bug in textDecode on Linux LCS? The native encoding on Linux is supposed to be ISO-Latin-1, where E-grave is hex [C8], in MacRoman it is [E9], no apparent connections between them or the utf-8 bytes.) And just as a piece of nonsense, if I send the raw un-Encoded Mac file name, but then textDecode on the server, the file is happily saved as “Carr.txt”, which is correct since [8e] followed by . is illegal as utf-8, so the [e-acute] is just skipped by textDecode. Could it be that LCserver cannot create files on Linux with non-ascii names?!? That doesn’t seem believable. I can of course directly create files on the server with non-ascii characters such as e-acute. Either I am missing something, or surely our European users have seen this already, so someone should be able to unfuddle me! Neville Smythe From harrison at all-auctions.com Sun Aug 13 09:29:46 2023 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Sun, 13 Aug 2023 09:29:46 -0400 Subject: LC 9.6.9 App uses too much memory! In-Reply-To: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> References: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> Message-ID: <848FFA3D-F8BA-45F1-8595-B4742FE107B9@all-auctions.com> Hi LiveCoders, I just got a warning from the OS that I was out of application memory. Livecode was using over 90 GB of memory! The stack runs fine under LC 9.6.8 without any issues whatsoever, but as soon as I open it with LC 9.6.9 the problem reappears. (I have to use force quit to shut down LC 9.6.9 when this happens.) I’m running Mac OS Ventura on an M1 processor that has 16 GB of Memory. Clearly this is a bug in LC 9.6.9, but I don’t know what is causing the problem. I noticed that others in the past have run into a similar problem. Was this ever reported as a bug? Do you have any ideas or suggestions? Thanks, Rick From neville.smythe at optusnet.com.au Sun Aug 13 21:45:59 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Mon, 14 Aug 2023 11:45:59 +1000 Subject: Linux filenames in LC Server Message-ID: OK, so the macOS *is* using utf-8 for its file names - the [e-acute] in the filename Carré.txt is rendered with two bytes [C3A9] not the single byte MacRoman encoding. I got tricked by copying the terminal listing into another program rather than hex dumping within the terminal, and somewhere in the process the native encoding was preferred. So one must *not* textEncode a filename to utf-8 before writing a file to disk, LC deals with the encoding, although you *should” textEncode its contents. Which leaves the problem of why I can’t get LC Server on Linux to write non-ascii filenames Neville Smythe From dan at clearvisiontech.com Mon Aug 14 01:34:04 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 14 Aug 2023 05:34:04 +0000 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: I am getting some inconsistent results with in in app purchases from the iOS App Store. In the TestFlight dev environment, the purchase “seems” to be complete… I get all the normal iOS prompts to purchase the product, enter the password, etc. I even get the “You’re All Set. Your purchase was successful.” message. But, most of the time the purcahseStateUpdate message is never received. (Yes! I am calling mobileStoreEnablePurchaseUpdates before anything else). Also, after calling mobileStoreMakePurchase, there is quite a pause before you get the “confirm purchase” dialog… I mean like 7 to 10 seconds. And, after you make the purchase (and you hear the ‘ding’), there is another 4-5 second pause before the “Your purchase was successful” message. Is that normal? Any thoughts, insights or advise? Maybe this is a TestFlight dev environment thing? FWIW, I have no issues on Android. Google Play store is working as expected – every time. -Dan From mark at livecode.com Mon Aug 14 06:13:51 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Aug 2023 11:13:51 +0100 Subject: LC 9.6.9 App uses too much memory! In-Reply-To: <848FFA3D-F8BA-45F1-8595-B4742FE107B9@all-auctions.com> References: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> <848FFA3D-F8BA-45F1-8595-B4742FE107B9@all-auctions.com> Message-ID: <332932d5c6b5963e704c40816aec8145@livecode.com> On 2023-08-13 14:29, harrison--- via use-livecode wrote: > Hi LiveCoders, > > Clearly this is a bug in LC 9.6.9, but I dont know what is causing the > problem. > I noticed that others in the past have run into a similar problem. Was > this > ever reported as a bug? Could you file a bug report with recipe and attach (or send to support at livecode.com if its sensitive) the stack and recipe for reproducing the problem so we can take a look. Thanks in advance, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From mark at livecode.com Mon Aug 14 06:22:03 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Aug 2023 11:22:03 +0100 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: On 2023-08-14 02:45, Neville Smythe via use-livecode wrote: > OK, so the macOS *is* using utf-8 for its file names - the [e-acute] in > the filename Carr.txt is rendered with two bytes [C3A9] not the single > byte MacRoman encoding. I got tricked by copying the terminal listing > into another program rather than hex dumping within the terminal, and > somewhere in the process the native encoding was preferred. > > So one must *not* textEncode a filename to utf-8 before writing a file > to disk, LC deals with the encoding, although you *should textEncode > its contents. > > Which leaves the problem of why I cant get LC Server on Linux to write > non-ascii filenames So I suspect the problem here is normalization, rather than the inability of Linux to write non-ascii filenames. Characters such as e-acute / e-grave have *two* representations in unicode - the decomposed and composed form. The composed form is a direct mapping from the native encodings and is a single codepoint, the decomposed form will be two codepoints - (e, combining-acute/grave) Depending on where the string comes from it might either be composed or decomposed - macOS filenames are stored decomposed in the FS, but the higher-level parts of the OS make either form work (in a similar fashion to how macOS filesystems are case-insensitive by default). Linux filesystems, however, are both case-sensitive and form-sensitive - a filename must match byte to byte with what it was created with (indeed, linux filesystems care nothing for encodings, they see filenames as a sequence of bytes which are interpreted relative to the user's current locale - the default locale on linux these days is utf-8). If your app is managing the files completely on Linux (i.e. it is creating / deleting them and the filenames are not user-editable) then (if this is the caseu) the problem should be fixable by choosing a normalization form when you create / lookup the file - i.e. pass all filenames on the server through `normalizeText(, )` - here you want form to be either "NFC" (composed) or "NFD" (decomposed). Warmest Regards, Mark. P.S. For all the gory details about Unicode normalization forms see - https://unicode.org/reports/tr15/ -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From matthias_livecode_150811 at m-r-d.de Mon Aug 14 07:12:55 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 14 Aug 2023 13:12:55 +0200 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> Hi Mark, when i read Neville's post i thought also about normalize, although i really do not have a clue about the whole unicode stuff, but i remembered that the standalone builder make use of the normalize function. ;) So i used this script on LC Server to write the seconds to a file containing an a-umlaut in its name. put normalizeText("testä.txt", "NFC") into tFile put the seconds into URL ("binfile:"&tFile) put the result put "

" put the files put "

" put tFile But that does not work. "The result" returns 'can't open file'. As i already wrote i have no clue about unicode so i tried also NFD and also the other 2 options, but also w/o success. Is there something else that one hast to keep in mind to have success with this? Regards, Matthias > Am 14.08.2023 um 12:22 schrieb Mark Waddingham via use-livecode : > > On 2023-08-14 02:45, Neville Smythe via use-livecode wrote: >> OK, so the macOS *is* using utf-8 for its file names - the [e-acute] in the filename Carré.txt is rendered with two bytes [C3A9] not the single byte MacRoman encoding. I got tricked by copying the terminal listing into another program rather than hex dumping within the terminal, and somewhere in the process the native encoding was preferred. >> So one must *not* textEncode a filename to utf-8 before writing a file to disk, LC deals with the encoding, although you *should” textEncode its contents. >> Which leaves the problem of why I can’t get LC Server on Linux to write non-ascii filenames > > So I suspect the problem here is normalization, rather than the inability of Linux to write non-ascii filenames. > > Characters such as e-acute / e-grave have *two* representations in unicode - the decomposed and composed form. > > The composed form is a direct mapping from the native encodings and is a single codepoint, the decomposed form will be two codepoints - (e, combining-acute/grave) > > Depending on where the string comes from it might either be composed or decomposed - macOS filenames are stored decomposed in the FS, but the higher-level parts of the OS make either form work (in a similar fashion to how macOS filesystems are case-insensitive by default). > > Linux filesystems, however, are both case-sensitive and form-sensitive - a filename must match byte to byte with what it was created with (indeed, linux filesystems care nothing for encodings, they see filenames as a sequence of bytes which are interpreted relative to the user's current locale - the default locale on linux these days is utf-8). > > If your app is managing the files completely on Linux (i.e. it is creating / deleting them and the filenames are not user-editable) then (if this is the caseu) the problem should be fixable by choosing a normalization form when you create / lookup the file - i.e. pass all filenames on the server through `normalizeText(, )` - here you want form to be either "NFC" (composed) or "NFD" (decomposed). > > Warmest Regards, > > Mark. > > P.S. For all the gory details about Unicode normalization forms see - https://unicode.org/reports/tr15/ > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Mon Aug 14 07:30:09 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Aug 2023 12:30:09 +0100 Subject: Linux filenames in LC Server In-Reply-To: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> References: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> Message-ID: <451d838117d6857f9af371ba2a213583@livecode.com> On 2023-08-14 12:12, matthias rebbe via use-livecode wrote: > Hi Mark, > > when i read Neville's post i thought also about normalize, although i > really do not have a clue about the whole unicode stuff, but i > remembered that the standalone builder make use of the normalize > function. ;) > > So i used this script on LC Server to write the seconds to a file > containing an a-umlaut in its name. > > put normalizeText("test.txt", "NFC") into tFile > put the seconds into URL ("binfile:"&tFile) > put the result > put "

" > put the files > put "

" > put tFile > > But that does not work. "The result" returns 'can't open file'. Hmmm - I must confess that I misread Neville's post - he did explicitly mention 'creating' files... The normalization would only arise if the file already existed, but the requested (incoming) filename was normalized differently (thus resulting in the file not being found). So assuming that the defaultFolder is accessible in your above script (as a read-only folder would also cause the same error) then there does appear to be something up here... Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From mark at livecode.com Mon Aug 14 07:50:31 2023 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Aug 2023 12:50:31 +0100 Subject: Linux filenames in LC Server In-Reply-To: <451d838117d6857f9af371ba2a213583@livecode.com> References: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> <451d838117d6857f9af371ba2a213583@livecode.com> Message-ID: <681007f43f924ec513c60f842fbd84bd@livecode.com> On 2023-08-14 12:30, Mark Waddingham via use-livecode wrote: > So assuming that the defaultFolder is accessible in your above script > (as a read-only folder would also cause the same error) then there does > appear to be something up here... Okay so I'm pretty sure the linux server engine is doing the right thing. As mentioned previously, Linux filesystems don't actually care what the encoding of a filename is - to linux its just a sequence of bytes The interpretation is given by the 'locale' settings which are in effect for any given program. So, when you run lc-server from a terminal session directly, its almost certainly the case that the LC_ALL and LANG environment variables are set to en_US.UTF-8 (or some other language code DOT UTF-8 - it is the UTF-8 which is the important bit). On Linux, a C API nl_langinfo() is used to fetch the encoding to use when talking to the system APIs (e.g. filesystem APIs) - this (I believe) derives its information from LANG/LC_ALL. If the latter *are not set* then it will likely default to the 'C' locale which has no interpretation of any non-ascii chars, and thus attempts to encode/decode utf-8 encoded filenames will fail. My theory is that these variables are not set in the configuration for running CGIs in Apache (or whatever web server is being used in this instance). Digging around it looks like Apache (at least) has a `SetEnv` directive which would allow these environment variables to be set, e.g. SetEnv LC_ALL en_US.UTF-8 SetEnv LANG en_US.UTF-8 Although I'm not 100% sure where such things go, perhaps someone more conversant with apache config could chime in to suggest. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From matthias_livecode_150811 at m-r-d.de Mon Aug 14 07:53:27 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 14 Aug 2023 13:53:27 +0200 Subject: Linux filenames in LC Server In-Reply-To: <451d838117d6857f9af371ba2a213583@livecode.com> References: <22FED311-D92C-4C60-BDB2-AB9336209572@m-r-d.de> <451d838117d6857f9af371ba2a213583@livecode.com> Message-ID: see below... > Am 14.08.2023 um 13:30 schrieb Mark Waddingham via use-livecode : > > On 2023-08-14 12:12, matthias rebbe via use-livecode wrote: >> Hi Mark, >> when i read Neville's post i thought also about normalize, although i really do not have a clue about the whole unicode stuff, but i remembered that the standalone builder make use of the normalize function. ;) >> So i used this script on LC Server to write the seconds to a file containing an a-umlaut in its name. >> put normalizeText("testä.txt", "NFC") into tFile >> put the seconds into URL ("binfile:"&tFile) >> put the result >> put "

" >> put the files >> put "

" >> put tFile >> But that does not work. "The result" returns 'can't open file'. > > Hmmm - I must confess that I misread Neville's post - he did explicitly mention 'creating' files... The normalization would only arise if the file already existed, but the requested (incoming) filename was normalized differently (thus resulting in the file not being found). > > So assuming that the defaultFolder is accessible in your above script (as a read-only folder would also cause the same error) then there does appear to be something up here... > The default folder is accessible. The same script works when the ä is removed from the line put normalizeText("testä.txt", "NFC") into tFile > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Aug 14 20:07:27 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 14 Aug 2023 18:07:27 -0600 Subject: JSON Message-ID: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> I’m about write some scripts that fiddle with JSON. I have some old stacks of mine about someplace. But, I got to thinking there might be something faster about someplace. Ideas? Dar From andrew at midwestcoastmedia.com Mon Aug 14 23:29:01 2023 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Mon, 14 Aug 2023 23:29:01 -0400 Subject: iOS media player Message-ID: I have a project that needs updating but mobile media controls have completely changed since I last worked on this app. Seems now that the mobile player for iOS is a completely transparent rectangle until the user taps on it when 3 controls appear (rewind 10, play/pause, fast forward 10). Is there any way to make this overlay appear automatically? Once it appears it persists even after updating the media file. It feels like I’m going to have to create a skin (WinAMP flashbacks) for the media player that used to have standard timeline & playback UI from the OS. The logical command (in my head at least) was mobileControlSet "audioPlayer", "showController", TRUE but that acts more like a visibility command rather than calling up the controls. Here is a video showing the player object with a blueBackground and the controls appearing only after tapping on the mobile player: https://www.dropbox.com/scl/fi/q84nccwrqcct8jsmgwvs0/iOS_player.mp4?rlkey=mhqcuz96z9a88ztldweacdsco&dl=0 Curious how others have handled this change. —Andrew Bell From tore.nilsen at me.com Tue Aug 15 00:58:15 2023 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 15 Aug 2023 06:58:15 +0200 Subject: JSON In-Reply-To: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> References: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> Message-ID: JsonImport will make an array of your JSON data, whereas JsonExport will turn your array into JSON data. Not much fiddling there. Best regards Tore Nilsen > 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode : > > > I’m about write some scripts that fiddle with JSON. I have some old stacks of mine about someplace. But, I got to thinking there might be something faster about someplace. Ideas? > > Dar > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 01:16:48 2023 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 15 Aug 2023 08:16:48 +0300 Subject: JSON In-Reply-To: References: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> Message-ID: This has recently been explored across on the forums where I managed to expose my full level of ignorance on the subject. Best, Richmond. On Tue, 15 Aug 2023, 07:59 Tore Nilsen via use-livecode, < use-livecode at lists.runrev.com> wrote: > JsonImport will make an array of your JSON data, whereas JsonExport will > turn your array into JSON data. Not much fiddling there. > > Best regards > Tore Nilsen > > > 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode < > use-livecode at lists.runrev.com>: > > > > > > I’m about write some scripts that fiddle with JSON. I have some old > stacks of mine about someplace. But, I got to thinking there might be > something faster about someplace. Ideas? > > > > Dar > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From neville.smythe at optusnet.com.au Tue Aug 15 03:42:45 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Tue, 15 Aug 2023 17:42:45 +1000 Subject: Linux filenames in LC Server Message-ID: Thanks Mark and Matthias I think it is clear the problem is not related to variant forms - if I replace [e-acute] by any other non-ascii character, such as a Kanji character or emoji, I get the same “can’t open that file” error. And the weird decoding of [e-acute] to [E-grave] would be explained if textDecode is failing in LC Server. So if I understand Mark correctly, while one can create utf-8 encoded filenames directly in a terminal session, LC Server internally accesses Apache environment variables to encode/decode the filename before opening a file rather than directly using the shell. Presumably this has something to do with the engine being a server app having to respect the server environment. On Dreamhost, as far as I can determine, the LANG and LC-ALL variables are *not* set (though WordPress is running and it adds support for a swathe of languages, so surely has support for non-ascii filenames?) The site is a shared hosting, so I do not have permissions to change the Apache conf files. I tried adding the SetEnv commands in the .htaccess file but that didn’t work, although I could well be doing it wrong, I am fumbling around in the dark here. Unless there is some way to fix the configuration, it would seem that not only will opening files fail but the detailed files (the long files) command will also fail if non-ascii characters are encountered since it uses textEncode. I presume that using shell commands could be used as a workaround for accessing the filesystem, as long as LC doesn’t do an internal textEncode as it passes the variables to the shell! However it also means one cannot use textDecode/Encode at all, not just for the filenames but also content; and that could be a bummer. I haven’t encountered this so far because to this point I have encoded content before uploading binary files to the server, but I can envision situations where I would want to encode or decode server-side. I’m puzzled that this problem hasn’t been raised before. Surely the vast majority of website host providers use Linux servers, and the Dreamhost configuration for shared hosting is most likely standard. So has no-one in Europe (or Asia..) using LC Server wanted to create native-language filenames? I think LC Server is a magnificent tool, but perhaps it is not as widely used as it deserves! Or: they all found the fix and haven’t told us. > So, when you run lc-server from a terminal session directly, its almost > certainly the case that the LC_ALL and LANG environment variables are > set to en_US.UTF-8 (or some other language code DOT UTF-8 - it is the > UTF-8 which is the important bit). > > On Linux, a C API nl_langinfo() is used to fetch the encoding to use > when talking to the system APIs (e.g. filesystem APIs) - this (I > believe) derives its information from LANG/LC_ALL. > > If the latter *are not set* then it will likely default to the 'C' > locale which has no interpretation of any non-ascii chars, and thus > attempts to encode/decode utf-8 encoded filenames will fail. > > My theory is that these variables are not set in the configuration for > running CGIs in Apache (or whatever web server is being used in this > instance). > > Digging around it looks like Apache (at least) has a `SetEnv` directive > which would allow these environment variables to be set, e.g. > > SetEnv LC_ALL en_US.UTF-8 > SetEnv LANG en_US.UTF-8 > > Although I'm not 100% sure where such things go, perhaps someone more > conversant with apache config could chime in to suggest. Neville Smythe From matthias_livecode_150811 at m-r-d.de Tue Aug 15 04:06:51 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 15 Aug 2023 10:06:51 +0200 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: <4A5C44CF-2B54-44D7-9F9D-C69B0651C319@m-r-d.de> What definitely works, at least here, is to urlencode the filename before creating it So that e.g. testä would be created as test%E4 As urlencode does not "harm" you could use it in general, not only for non-ascii file names. And if you want to display the "real" name you just have to urldecode the filename again. > Am 15.08.2023 um 09:42 schrieb Neville Smythe via use-livecode : > > Thanks Mark and Matthias > > I think it is clear the problem is not related to variant forms - if I replace [e-acute] by any other non-ascii character, such as a Kanji character or emoji, I get the same “can’t open that file” error. And the weird decoding of [e-acute] to [E-grave] would be explained if textDecode is failing in LC Server. > > So if I understand Mark correctly, while one can create utf-8 encoded filenames directly in a terminal session, LC Server internally accesses Apache environment variables to encode/decode the filename before opening a file rather than directly using the shell. Presumably this has something to do with the engine being a server app having to respect the server environment. > > On Dreamhost, as far as I can determine, the LANG and LC-ALL variables are *not* set (though WordPress is running and it adds support for a swathe of languages, so surely has support for non-ascii filenames?) The site is a shared hosting, so I do not have permissions to change the Apache conf files. I tried adding the SetEnv commands in the .htaccess file but that didn’t work, although I could well be doing it wrong, I am fumbling around in the dark here. > > Unless there is some way to fix the configuration, it would seem that not only will opening files fail but the detailed files (the long files) command will also fail if non-ascii characters are encountered since it uses textEncode. I presume that using shell commands could be used as a workaround for accessing the filesystem, as long as LC doesn’t do an internal textEncode as it passes the variables to the shell! > > However it also means one cannot use textDecode/Encode at all, not just for the filenames but also content; and that could be a bummer. I haven’t encountered this so far because to this point I have encoded content before uploading binary files to the server, but I can envision situations where I would want to encode or decode server-side. > > I’m puzzled that this problem hasn’t been raised before. Surely the vast majority of website host providers use Linux servers, and the Dreamhost configuration for shared hosting is most likely standard. So has no-one in Europe (or Asia..) using LC Server wanted to create native-language filenames? I think LC Server is a magnificent tool, but perhaps it is not as widely used as it deserves! Or: they all found the fix and haven’t told us. > >> So, when you run lc-server from a terminal session directly, its almost >> certainly the case that the LC_ALL and LANG environment variables are >> set to en_US.UTF-8 (or some other language code DOT UTF-8 - it is the >> UTF-8 which is the important bit). >> >> On Linux, a C API nl_langinfo() is used to fetch the encoding to use >> when talking to the system APIs (e.g. filesystem APIs) - this (I >> believe) derives its information from LANG/LC_ALL. >> >> If the latter *are not set* then it will likely default to the 'C' >> locale which has no interpretation of any non-ascii chars, and thus >> attempts to encode/decode utf-8 encoded filenames will fail. >> >> My theory is that these variables are not set in the configuration for >> running CGIs in Apache (or whatever web server is being used in this >> instance). >> >> Digging around it looks like Apache (at least) has a `SetEnv` directive >> which would allow these environment variables to be set, e.g. >> >> SetEnv LC_ALL en_US.UTF-8 >> SetEnv LANG en_US.UTF-8 >> >> Although I'm not 100% sure where such things go, perhaps someone more >> conversant with apache config could chime in to suggest. > Neville Smythe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 04:31:37 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 15 Aug 2023 11:31:37 +0300 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: Hello Dan, Could you share the code that makes the purchase, as well as the purchaseStateUpdate message? Although, my guess is that this is rather a TestFlight issue, since if it was an issue in LC's API for in-app purchase on iOS, it would have been reported ready. Kind regards, Panos -- From mark at livecode.com Tue Aug 15 04:44:15 2023 From: mark at livecode.com (Mark Waddingham) Date: Tue, 15 Aug 2023 09:44:15 +0100 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: <4feb08be2f5d097077b387d0d4709c55@livecode.com> On 2023-08-15 08:42, Neville Smythe via use-livecode wrote: > So if I understand Mark correctly, while one can create utf-8 encoded > filenames directly in a terminal > session, LC Server internally accesses Apache environment variables to > encode/decode the filename > before opening a file rather than directly using the shell. Presumably > this has something to do with > the engine being a server app having to respect the server environment. So what is actually happening here is that there is a notion of a 'SysString' in the engine. A 'SysString' is a string represented as a sequence of bytes in whatever encoding the host platform understands in its APIs. The engine converts its internal string representation to a sys string whenever it accesses a system API - e.g. for opening files. In the case of Linux what encoding such 'sys strings' need to use depends on the environment - the encoding *could* be anything and thus the engine uses the UNIX 'iconv' library to convert from internal representation to the encoded bytes needed. I think this is what is causing the failure of the file APIs - iconv is refusing to convert a string with non-ascii characters to the 'default' 'C' locale as it can't (there is no mapping from, say, e-acute to ascii). I should point out that textEncode/Decode do not use system APIs - the conversions between UTF* forms and 'native' are all built into the engine - so that part is fine - its the low-level connection between commands like 'open file' and calling the UNIX open API which is throwing an error on file name conversion. > On Dreamhost, as far as I can determine, the LANG and LC-ALL variables > are *not* set (though WordPress > is running and it adds support for a swathe of languages, so surely has > support for non-ascii filenames?) > The site is a shared hosting, so I do not have permissions to change > the Apache conf files. I tried adding > the SetEnv commands in the .htaccess file but that didnt work, > although I could well be doing it wrong, > I am fumbling around in the dark here. The only thing I've found so far is SetEnv which does look like it can only be configured in the host config for a domain which is slightly irksome. However, there is a way to launch the CGI engine with any vars needed. I'm not sure how Dreamhost sets things up - indeed it might be worth asking their support if there is a way to configure environment variables which are passed through to CGI executables. If there isn't then it can be done with a launcher script: ``` #!/bin/sh export LC_ALL="en_US.UTF8" export LANG="en_US.UTF8" exec livecode-server ``` This would be a text file which has been made executable - and needs to be configured as the executable which is launched when a livecode server script is launched (livecode-server in the above needs to be the location of the livecode-server executable in the hosting setup). I know others here use (or have used) Dreamhost in the past - so they might know more about how the above could be configured (although, again, Dreamhost support can probably help). > Unless there is some way to fix the configuration, it would seem that > not only will opening files > fail but the detailed files (the long files) command will also fail if > non-ascii characters are > encountered since it uses textEncode. I presume that using shell > commands could be used as a workaround > for accessing the filesystem, as long as LC doesnt do an internal > textEncode as it passes the > variables to the shell! > However it also means one cannot use textDecode/Encode at all, not just > for the filenames but also > content; and that could be a bummer. I havent encountered this so far > because to this point I have > encoded content before uploading binary files to the server, but I can > envision situations where I > would want to encode or decode server-side. The problem isn't with textEncode/Decode - they work fine as mentioned above - its just the engine doesn't have the necessary information (due to lack of env vars) to know how to interpret/create the filenames the system APIs need. > Im puzzled that this problem hasnt been raised before. Surely the > vast majority of website host > providers use Linux servers, and the Dreamhost configuration for shared > hosting is most likely > standard. So has no-one in Europe (or Asia..) using LC Server wanted to > create native-language > filenames? I think LC Server is a magnificent tool, but perhaps it is > not as widely used as it > deserves! Or: they all found the fix and havent told us. This is almost certainly a server setup/config thing - I guess apache (by default) runs CGIs in the most 'raw' environment possible by default. The observation about Wordpress is interesting - certainly before PHP was 'unicodified' - the encoding of filenames was up to the script - i.e. you had to to encode/decode filenames appropriately yourself and I guess utf-8 was just assumed. With PHP7 I believe it handles unicode transparently a bit like LC does, so I'll see if I can see what PHP7+ uses to determine the system encoding. Indeed, it might do no harm at all to just assume UTF-8 encoding for Linux in the engine if the locale vars are not set (which appears to be the case here) which would resolve the problem transparently. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From benr_mc at cogapp.com Tue Aug 15 07:08:06 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 15 Aug 2023 12:08:06 +0100 Subject: Browser widget: "Navigation request cancelled" Message-ID: <706baeb4-f0f0-5fd3-9358-d0e3181ad045@cogapp.com> Trying to use the browser widget to access an internal site, I'm having a lot of trouble. If I send it (by setting the URL property of the widget) to the root of the hostname, it loads the page succesfully, although the widget gets a browserDocumentLoadFailed message "navigation request cancelled". If I set the URL property to some pages within the site, they load succesfully without that message. If I set the URL property to some other pages, they do not load, and that message is received. It's completely consistent which URLs work, and which don't. If I send the widget to a URL which works, I can navigate anywhere within the site without problems, including to the URLs which don't work using set. I haven't managed to pin down what distinguishes the working URLs from non-working. All the non-working ones I've found involve query parameters; but some of the working ones do also. My question is: how can I debug this issue? Are there any ways to get insight into the loading process? I am catching and reporting these messages: browserDocumentLoadFailed browserDocumentLoadComplete browserNavigateFailed browserNavigateComplete browserUnhandledLoadRequest ... but the only ones that trigger are either browserDocumentLoadFailed or browserUnhandledLoadRequest, or browserDocumentLoadComplete - always with the parameter being the requested URL. I'm guessing, though I might be wrong, that the issue is actually with one of the elements being requested by the document, but this is never in the parameter. Additionally, browserProgressChanged never seems to be sent. Is it possible to get any more detail about what's going on? TIA, Ben From mark at livecode.com Tue Aug 15 07:17:36 2023 From: mark at livecode.com (Mark Waddingham) Date: Tue, 15 Aug 2023 12:17:36 +0100 Subject: Browser widget: "Navigation request cancelled" In-Reply-To: <706baeb4-f0f0-5fd3-9358-d0e3181ad045@cogapp.com> References: <706baeb4-f0f0-5fd3-9358-d0e3181ad045@cogapp.com> Message-ID: On 2023-08-15 12:08, Ben Rubinstein via use-livecode wrote: > Is it possible to get any more detail about what's going on? I'm guessing you are using 10-dp-5 :) The issues here are regressions caused by the switch to WKWebView in 10 (previously we used the older WebView system web browser API): The missing progressChanged messages issue is https://quality.livecode.com/show_bug.cgi?id=24271 The missing other messages issue is https://quality.livecode.com/show_bug.cgi?id=24247 The latter is related to server vs local redirects in the web page. Both should be fixed in the upcoming 10-dp-6. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From dsc at swcp.com Tue Aug 15 09:46:43 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 15 Aug 2023 07:46:43 -0600 Subject: JSON In-Reply-To: References: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> Message-ID: <9C25DFE8-3B1D-4BD1-916F-9CD012283140@swcp.com> Thanks, Tore! I found these in the dictionary. For JsonImport I noted this: The return value may be any of the following types, depending on the content of the file: Array (for a JSON object) List (for a JSON array) String (for a JSON string) Number (for any JSON number) Boolean (for JSON true or false) nothing (for JSON null) How would an array of objects be translated? What is nothing? Dar > On Aug 14, 2023, at 10:58 PM, Tore Nilsen via use-livecode wrote: > > JsonImport will make an array of your JSON data, whereas JsonExport will turn your array into JSON data. Not much fiddling there. > > Best regards > Tore Nilsen > >> 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode : >> >> >> I’m about write some scripts that fiddle with JSON. I have some old stacks of mine about someplace. But, I got to thinking there might be something faster about someplace. Ideas? >> >> Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 15 10:03:13 2023 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 15 Aug 2023 16:03:13 +0200 Subject: JSON In-Reply-To: <9C25DFE8-3B1D-4BD1-916F-9CD012283140@swcp.com> References: <6D0C53CB-4658-4911-96DE-370B5BA6E3EB@swcp.com> <9C25DFE8-3B1D-4BD1-916F-9CD012283140@swcp.com> Message-ID: <15D33484-F79F-43EB-9F2B-38C01F74DABB@me.com> An array of object would be turned into a multidimensional array with value pairs in LiveCode. Depending on the source the main keys may be numeric or assosiative, like in these examples: contriesArray[1][name] contriesArray[1][capitol] contriesArray[1][inhabitants] Or contriesArray[«Norway"][capitol] contriesArray[«Norway»][inhabitants] Tore > 15. aug. 2023 kl. 15:46 skrev Dar Scott via use-livecode : > > Thanks, Tore! > > I found these in the dictionary. For JsonImport I noted this: > > The return value may be any of the following types, depending on the content of the file: > > Array (for a JSON object) > List (for a JSON array) > String (for a JSON string) > Number (for any JSON number) > Boolean (for JSON true or false) > nothing (for JSON null) > How would an array of objects be translated? What is nothing? > > Dar > > >> On Aug 14, 2023, at 10:58 PM, Tore Nilsen via use-livecode wrote: >> >> JsonImport will make an array of your JSON data, whereas JsonExport will turn your array into JSON data. Not much fiddling there. >> >> Best regards >> Tore Nilsen >> >>> 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode : >>> >>> >>> I’m about write some scripts that fiddle with JSON. I have some old stacks of mine about someplace. But, I got to thinking there might be something faster about someplace. Ideas? >>> >>> Dar >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 10:48:01 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 15 Aug 2023 14:48:01 +0000 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: Panos, Thank you for the reply. Here is my code…. You click a button, and it calls startInAppPurchase with the number of credits to purchase. After all is done, pLog is completely empty. This is working perfectly on Android. on startInAppPurchase numCredits //setup purchase id if numCredits = 1 then put 1001 into productID put "$0.99" into productAmount else if numCredits = 2 then put 1002 into productID put "$1.99" into productAmount else if numCredits = 3 then put 1003 into productID put "$2.99" into productAmount else if numCredits = 11 then put 1011 into productID put "$9.99" into productAmount end if //confirm with user if numCredits = 1 then put "Are you sure you want to purchase 1 credit for" && productAmount & "?" into pString else put "Are you sure you want to purchase" && numCredits && "credits for" && productAmount & "?" into pString end if if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") = "Cancel" then // <-- custom answer dialog exit startInAppPurchase end if //initiate the purchase mobileStoreEnablePurchaseUpdates mobileStoreSetProductType productID,"inapp" mobileStoreMakePurchase productID,"1","testPayload - Android Only" end startInAppPurchase on purchaseStateUpdate pPurchaseID,pProductID,pState global user global pLog put pState & cr after pLog switch pState case "paymentReceived" //2,1001,paymentReceived //tell our server is was successful and log users credits to database if isIPhone() then put mobileStoreProductProperty(pProductID,"transactionIdentifier") into tIdentifier get db_verifyPurchase(pProductID,tIdentifier) else //android handled in case "complete" end if mobileStoreConfirmPurchase pProductID //Inform the store that the purchase identifier productID was successfully delivered mobileStoreDisablePurchaseUpdates loadMeUp //refresh our display break case "error" answer "Error occured during purchase handling:" & return & return & mobileStorePurchaseError(pPurchaseID) mobileStoreDisablePurchaseUpdates break case "invalidSKU" answer "Invalid SKU." mobileStoreDisablePurchaseUpdates break case "alreadyEntitled" answer "Already Owned." mobileStoreDisablePurchaseUpdates break case "restored" answer "restored" offerPurchasedProduct pProductID mobileStoreConfirmPurchase pProductID mobileStoreDisablePurchaseUpdates loadMeUp break case "canceled" case "cancelled" answer "Purchase Cancelled:" && pProductID mobileStoreDisablePurchaseUpdates break case "complete" if isAndroid() then put mobileStoreProductProperty(pProductID,"orderId") into orderId mobileStoreConsumePurchase pProductID get db_verifyPurchase(pProductID,orderId) end if mobileStoreDisablePurchaseUpdates break end switch end purchaseStateUpdate Thank you! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Tuesday, August 15, 2023 at 1:33 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Oddities with iOS IAP Hello Dan, Could you share the code that makes the purchase, as well as the purchaseStateUpdate message? Although, my guess is that this is rather a TestFlight issue, since if it was an issue in LC's API for in-app purchase on iOS, it would have been reported ready. Kind regards, Panos -- _______________________________________________ use-livecode mailing list use-livecode at 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 Aug 15 13:22:34 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 15 Aug 2023 20:22:34 +0300 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: Hello Dan, Just a rough guess, in the purchaseStateUpdate msg, you have: mobileStoreConfirmPurchase pProductID //Inform the store that the purchase identifier productID was successfully delivered mobileStoreDisablePurchaseUpdates in both cases for paymentReceived and restored. Could you try commenting out the mobileStoreDisablePurchaseUpdates in these 2 cases? Once you call mobileStoreConfirmPurchase, it informs the store that the purchase was successful, and then the store sends another "purchaseStateUpdate" with state=complete. But if you call mobileStoreDisablePurchaseUpdates just after mobileStoreConfirmPurchase then this stops the communication with the store. I suggest having mobileStoreDisablePurchaseUpdates just in the "complete" case and remove it from "paymentReceived" and "restored". Note that on Android (if I remember correctly) mobileStoreEnablePurchaseUpdates/mobileStoreDisablePurchaseUpdates do not actually do something - but they are added for consistency. If you do this change, and still see the delay, then it is likely a TestFlight/Sandbox issue. Note that Apple's sandbox servers are slower than the actual ones used by StoreKit. (e.g. https://community.revenuecat.com/sdks-51/testflight-clicking-subscriptions-or-iaps-has-long-delay-2687 ) kind regards, Panos -- On Tue, 15 Aug 2023 at 17:49, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos, > > Thank you for the reply. Here is my code…. You click a button, and it > calls startInAppPurchase with the number of credits to purchase. After all > is done, pLog is completely empty. This is working perfectly on Android. > > on startInAppPurchase numCredits > //setup purchase id > if numCredits = 1 then > put 1001 into productID > put "$0.99" into productAmount > else if numCredits = 2 then > put 1002 into productID > put "$1.99" into productAmount > else if numCredits = 3 then > put 1003 into productID > put "$2.99" into productAmount > else if numCredits = 11 then > put 1011 into productID > put "$9.99" into productAmount > end if > > //confirm with user > if numCredits = 1 then > put "Are you sure you want to purchase 1 credit for" && productAmount > & "?" into pString > else > put "Are you sure you want to purchase" && numCredits && "credits for" > && productAmount & "?" into pString > end if > if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") > = "Cancel" then // <-- custom answer dialog > exit startInAppPurchase > end if > > //initiate the purchase > mobileStoreEnablePurchaseUpdates > mobileStoreSetProductType productID,"inapp" > mobileStoreMakePurchase productID,"1","testPayload - Android Only" > end startInAppPurchase > > on purchaseStateUpdate pPurchaseID,pProductID,pState > global user > global pLog > > put pState & cr after pLog > > switch pState > case "paymentReceived" //2,1001,paymentReceived > //tell our server is was successful and log users credits to database > if isIPhone() then > put mobileStoreProductProperty(pProductID,"transactionIdentifier") > into tIdentifier > get db_verifyPurchase(pProductID,tIdentifier) > else > //android handled in case "complete" > end if > > mobileStoreConfirmPurchase pProductID //Inform the store that the > purchase identifier productID was successfully delivered > mobileStoreDisablePurchaseUpdates > loadMeUp //refresh our display > break > case "error" > answer "Error occured during purchase handling:" & return & return & > mobileStorePurchaseError(pPurchaseID) > mobileStoreDisablePurchaseUpdates > break > case "invalidSKU" > answer "Invalid SKU." > mobileStoreDisablePurchaseUpdates > break > case "alreadyEntitled" > answer "Already Owned." > mobileStoreDisablePurchaseUpdates > break > case "restored" > answer "restored" > offerPurchasedProduct pProductID > mobileStoreConfirmPurchase pProductID > mobileStoreDisablePurchaseUpdates > loadMeUp > break > case "canceled" > case "cancelled" > answer "Purchase Cancelled:" && pProductID > mobileStoreDisablePurchaseUpdates > break > case "complete" > if isAndroid() then > put mobileStoreProductProperty(pProductID,"orderId") into orderId > mobileStoreConsumePurchase pProductID > get db_verifyPurchase(pProductID,orderId) > end if > > mobileStoreDisablePurchaseUpdates > break > end switch > end purchaseStateUpdate > > > Thank you! > -Dan > > > From: use-livecode on behalf of > panagiotis m via use-livecode > Date: Tuesday, August 15, 2023 at 1:33 AM > To: How to use LiveCode > Cc: panagiotis m > Subject: Re: Oddities with iOS IAP > Hello Dan, > > Could you share the code that makes the purchase, as well as the > purchaseStateUpdate message? > > Although, my guess is that this is rather a TestFlight issue, since if it > was an issue in LC's API for in-app purchase on iOS, it would have been > reported > ready. > > Kind regards, > Panos > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 18:22:36 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 15 Aug 2023 22:22:36 +0000 Subject: Oddities with iOS IAP In-Reply-To: References: Message-ID: Panos, Ok… seems to be working now. I’m no longer getting “completed”, but I am consistently getting “paymentRecieved”… and I can make that work. Obviously, I don’t really understand how this all works… but it’s working! Thank you again for your help! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Tuesday, August 15, 2023 at 10:24 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: Oddities with iOS IAP Hello Dan, Just a rough guess, in the purchaseStateUpdate msg, you have: mobileStoreConfirmPurchase pProductID //Inform the store that the purchase identifier productID was successfully delivered mobileStoreDisablePurchaseUpdates in both cases for paymentReceived and restored. Could you try commenting out the mobileStoreDisablePurchaseUpdates in these 2 cases? Once you call mobileStoreConfirmPurchase, it informs the store that the purchase was successful, and then the store sends another "purchaseStateUpdate" with state=complete. But if you call mobileStoreDisablePurchaseUpdates just after mobileStoreConfirmPurchase then this stops the communication with the store. I suggest having mobileStoreDisablePurchaseUpdates just in the "complete" case and remove it from "paymentReceived" and "restored". Note that on Android (if I remember correctly) mobileStoreEnablePurchaseUpdates/mobileStoreDisablePurchaseUpdates do not actually do something - but they are added for consistency. If you do this change, and still see the delay, then it is likely a TestFlight/Sandbox issue. Note that Apple's sandbox servers are slower than the actual ones used by StoreKit. (e.g. https://community.revenuecat.com/sdks-51/testflight-clicking-subscriptions-or-iaps-has-long-delay-2687 ) kind regards, Panos From neville.smythe at optusnet.com.au Wed Aug 16 01:37:45 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Wed, 16 Aug 2023 15:37:45 +1000 Subject: Linux filenames in LC Server Message-ID: Thanks Mark for semi-unfuddling me. It’s good to know that textEncode/Decode is not to blame. But if I may try everyones' patience a little further > In the case of Linux what encoding such 'sys strings' need to use > depends on the environment - the encoding *could* be anything and thus > the engine uses the UNIX 'iconv' library to convert from internal > representation to the encoded bytes needed. I think this is what is > causing the failure of the file APIs - iconv is refusing to convert a > string with non-ascii characters to the 'default' 'C' locale as it can't > (there is no mapping from, say, e-acute to ascii). So I misunderstood, I thought we were talking about Apache environment variables. Indeed the Terminal app reports LANG=C as a system env variable. But if this is not specifically a server problem, wouldn’t that mean we could see the same behaviour with LC Desktop on Linux machines running vanilla Ubuntu or Debian (which is what Dreamhost uses)? I haven’t tried this yet, as it is a bit of pain to fire up my Linux emulator machine. An experiment, which make me wonder if this counts as a configuration problem or an actual bug in LC Server: In Terminal I type (actually paste) and execute echo “éü😃” > Carré.txt (for Forum users like me who just see ? everywhere, that is [e-acute][u-umlaut][happyface emoji] in the content to be written to a file with [e-acute] in its name) This works without problem. The contents of the file are utf-8 encoded, which I didn’t need to specify, but I guess that is what the pasteboard provided. Terminal had no problem creating or finding the file without needing those env settings. Of course it cannot *display* the file name without knowing the encoding, so ls reports the filename as 'Carr'$'\303\251''.txt’ ( readable as an ascii encoding, though not one I have seen before; note the single quotes) If I setup the env variables Mark suggests in the Terminal session export LC_ALL="en_US.UTF8" export LANG=“en_US.UTF8” then Terminal is able to display the filename á la française. Cyberduck reports this filename correctly using the [e-acute] without having to set encoding knowledge. And I can also create the file using Cyberduck with no problems. So IT knows about/expects/sets up the encoding as needed. I bet other Linux-aware apps would also open or list such files without drama or special configuration. However: in LC Server when I call "the long files" for the enclosing folder: crash! (Actually an in-line error reported for this code line). To my mind that qualifies as a bug, even if the source of the crash is the same as for open file. On the other hand hopefully setting the environment variables as Mark suggests will fix everything . Mark, could I clarify exactly how that “launcher script” is to be used… I’m guessing the cgi configuration should point to that file to be executed when it wants to open myscript.lc instead of pointing to the livecode-server executable (in which case it might have to have a .cgi suffix rather than .txt), or is it a shell script to be executed by livecode-server? Neville Smythe From mark at livecode.com Wed Aug 16 03:34:23 2023 From: mark at livecode.com (Mark Waddingham) Date: Wed, 16 Aug 2023 08:34:23 +0100 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: On 2023-08-16 06:37, Neville Smythe via use-livecode wrote: > So I misunderstood, I thought we were talking about Apache environment > variables. Indeed the Terminal app reports > > LANG=C > > as a system env variable. But if this is not specifically a server > problem, wouldnt > that mean we could see the same behaviour with LC Desktop on Linux > machines running > vanilla Ubuntu or Debian (which is what Dreamhost uses)? I havent > tried this yet, > as it is a bit of pain to fire up my Linux emulator machine. So the situation here is similar to that which you get on macOS. If you open Terminal, then the (UNIX) environment (variable-wise) which you get will be different from that you get when you double-click on an app to launch it. In the latter case, the executable is launched via the desktop environments 'launcher' process and will inherit the environment provided by that. Presumably, as Linux desktops mandate various things (like language settings), the locale and environment vars will be set appropriately. > An experiment, which make me wonder if this counts as a configuration > problem or an actual bug in LC Server: > > In Terminal I type (actually paste) and execute > > echo > Carr.txt > > (for Forum users like me who just see ? everywhere, that is > [e-acute][u-umlaut][happyface emoji] in the content to be written to a > file with [e-acute] in its name) > > This works without problem. The contents of the file are utf-8 > encoded, which I didnt > need to specify, but I guess that is what the pasteboard provided. > Terminal had no problem > creating or finding the file without needing those env settings. Of > course it cannot *display* > the file name without knowing the encoding, so ls reports the filename > as 'Carr'$'\303\251''.txt > ( readable as an ascii encoding, though not one I have seen before; > note the single quotes) I'm guessing here that this is a remote ssh session to your Linux server, and you are using macOS Terminal app to run and connect? If that is the case then the reason this works is because Terminal on macOS is UTF-8 (which is the *only* encoding macOS supports in its UNIX subsystem so you don't get the variance problem you do with Linux). This means that pasting text from somewhere else will paste the UTF-8 bytes - i.e. they will get transmitted over SSH to the remote linux machine. As filenames are just sequences of bytes on Linux this works fine - however when you ask the remote terminal to list the files, it can only interpret the ascii chars (as the LANG is C) and thus emits octal escapes for the others - here this ix 0xC3 0xA9 which is the utf-8 encoding of e-acute. > If I setup the env variables Mark suggests in the Terminal session > > export LC_ALL="en_US.UTF8" > export LANG=en_US.UTF8 > > then Terminal is able to display the filename la franaise. So now the remote terminal knows how to interpret the sequences of bytes present in the filenames, and thus can emit them appropriately. > Cyberduck reports this filename correctly using the [e-acute] without > having to set encoding > knowledge. And I can also create the file using Cyberduck with no > problems. So IT knows about/expects/sets > up the encoding as needed. I bet other Linux-aware apps would also open > or list such files without > drama or special configuration. IT doesn't know - it assumes. I suspect that if you used Cyberduck to connect to a Linux server which is setup to *not* be utf-8 (so filenames are encoded with some other encoding), then it would display things incorrectly. Of course, if the protocols it deals with specify the text encoding as utf-8 *and* the daemons running on said server are setup correctly (i.e. so that they process the filenames and such relative to the server's encoding) *and* they correctly convert the filenames from that encoding to the encoding mandated by the protocol then it would display fine. Certainly FTP treats filenames as sequences of bytes - so at least for that protocol the client would have to assume UTF-8 or be told the correct encoding to do the correct thing. > However: in LC Server when I call "the long files" for the enclosing > folder: crash! > (Actually an in-line error reported for this code line). To my mind > that qualifies as > bug, even if the source of the crash is the same as for open file. I take it by crash you mean a runtime error is logged, and that this only happens if the LANG / LC_ALL environment variables are not set? This is the same issue as opening a file - the low-level text encoding from ASCII to the internal encoding used by strings in the engine will be failing because it encounters non-ASCII. > On the other hand hopefully setting the environment variables as > Mark suggests will > fix everything . Mark, could I clarify exactly how that launcher > script is to be used > Im guessing the cgi configuration should point to that file to be > executed when it wants > to open myscript.lc instead of pointing to the livecode-server > executable (in which case > it might have to have a .cgi suffix rather than .txt), or is it a shell > script to be > executed by livecode-server? The provided text should be put into a shell script which should be launched *instead* of livecode-server - so configure your CGI environment to call said shell script when it encounters a lc server script file to run. It will then set environment variables and then 'exec' replaces the shell script with livecode-server (in the same process). Technically while what the engine is doing is correct (relative to its need to have filenames represented as strings internally at least) it isn't ideal. There are two options to improve the situation (when the locale env vars are not set / set to C): 1) Rather than assume ASCII, assume native - this would preserve the bytes in the filename regardless of system encoding. 2) Rather than assume ASCII, assume utf-8 - this would correctly represent filenames which are valid UTF-8, but would still fail on filenames with bad encoding Here (1) has the advantage that filenames would be preserved; but with the slight caveat that if you combined with other unicode characters (in a report say); the filenames would be displayed incorrectly (here 'display' would also include being sent as part of some protocol response). Here (2) has the advantage of everything working as expected assuming the server in question is utf-8 - it would still fail on filenames which are badly encoded though. However the latter could be mitigated by making the sys-string<->lc-string conversion slightly less strict - i.e. bad utf-8 chars map to/from '?' as they do in textEncode/Decode - so at least you could see the bad filenames. I suspect (2) is overall better - its only downside is that you would not be able to manipulate files on the server which had badly encoded utf-8 names. However, that seems like an extreme edge case; and one which you could work around by just setting the LANG env var to a native encoding and put appropriate code in your app to deal with. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From bobsneidar at iotecdigital.com Wed Aug 16 11:18:30 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Aug 2023 15:18:30 +0000 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: Hah! This reminds me of a time when Windows would allow files with names that were legal for Mac to be written to its own file system who’s filenames were NOT legal. The result is you could save the files, but you could never access or delete them, neither could you delete any folder that contained them. They had to write utilities to rename such files and they weren't 100% successful. Bob S On Aug 16, 2023, at 12:34 AM, Mark Waddingham via use-livecode wrote: I suspect (2) is overall better - its only downside is that you would not be able to manipulate files on the server which had badly encoded utf-8 names. However, that seems like an extreme edge case; and one which you could work around by just setting the LANG env var to a native encoding and put appropriate code in your app to deal with. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From bobsneidar at iotecdigital.com Wed Aug 16 12:30:56 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Aug 2023 16:30:56 +0000 Subject: Setting focus after tab Message-ID: Hi all. Something curious that has been going on for a while. When I tab from field 1 to field 2, I have code that populates field 2 in some circumstances, then checks to see if field 2 is empty, then focuses on field 2 if it is, or fiend 3 if it’s not. In other words I am trying to focus on the next empty field. This never works if I am tabbing, BUT if I set a breakpoint and step through the code, IT DOES WORK! I think this is because the tab-to-next-field native LC code is executing AFTER my code runs. Exit to top does not have an effect. Anyone else seeing this behavior? Bob S From bobsneidar at iotecdigital.com Wed Aug 16 12:49:16 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Aug 2023 16:49:16 +0000 Subject: Setting focus after tab In-Reply-To: References: Message-ID: never mind. I just tested this with a new stack and it works the way it’s supposed to. I must have a script that is doing this. Bob S > On Aug 16, 2023, at 9:30 AM, Bob Sneidar wrote: > > Hi all. > > Something curious that has been going on for a while. When I tab from field 1 to field 2, I have code that populates field 2 in some circumstances, then checks to see if field 2 is empty, then focuses on field 2 if it is, or fiend 3 if it’s not. In other words I am trying to focus on the next empty field. > > This never works if I am tabbing, BUT if I set a breakpoint and step through the code, IT DOES WORK! I think this is because the tab-to-next-field native LC code is executing AFTER my code runs. Exit to top does not have an effect. > > Anyone else seeing this behavior? > > Bob S > From matthias_livecode_150811 at m-r-d.de Wed Aug 16 19:33:16 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 17 Aug 2023 01:33:16 +0200 Subject: Linux filenames in LC Server In-Reply-To: References: Message-ID: <12E0AE86-346F-441C-9CB1-394CC762E3E3@m-r-d.de> It seems it is possible to set environment vars using redirect rules in .htaccess. I added the following lines to my .htaccess RewriteEngine on RewriteRule \.(lc) - [E=LANG:de_DE.UTF-8] the 2nd line or better tells Apache not to redirect, but to 'use' the flag [E=....] when an .lc file is "requested". The flag allows to set an environment variable. E=LANG:de_DE.UTF-8 tells apache to set the variable LANG to the value de_DE.UTF-8 It's even possible to set cookies that way using a cookie tag. With those 2 lines i did not receive the 'can't open file' error anymore and the file with a non-ascii filename, in my script testä.txt, was created by the .lc script. In my ftp client the file testä.txt is shown as testä.txt, but i can access the file from LCserver still with its original name testä.txt > Am 16.08.2023 um 09:34 schrieb Mark Waddingham via use-livecode : > > On 2023-08-16 06:37, Neville Smythe via use-livecode wrote: >> So I misunderstood, I thought we were talking about Apache environment variables. Indeed the Terminal app reports >> LANG=C >> as a system env variable. But if this is not specifically a server problem, wouldn’t >> that mean we could see the same behaviour with LC Desktop on Linux machines running >> vanilla Ubuntu or Debian (which is what Dreamhost uses)? I haven’t tried this yet, >> as it is a bit of pain to fire up my Linux emulator machine. > > So the situation here is similar to that which you get on macOS. If you open Terminal, then the (UNIX) environment (variable-wise) which you get will be different from that you get when you double-click on an app to launch it. In the latter case, the executable is launched via the desktop environments 'launcher' process and will inherit the environment provided by that. Presumably, as Linux desktops mandate various things (like language settings), the locale and environment vars will be set appropriately. > >> An experiment, which make me wonder if this counts as a configuration problem or an actual bug in LC Server: >> In Terminal I type (actually paste) and execute >> echo “éü😃” > Carré.txt >> (for Forum users like me who just see ? everywhere, that is [e-acute][u-umlaut][happyface emoji] in the content to be written to a file with [e-acute] in its name) >> This works without problem. The contents of the file are utf-8 encoded, which I didn’t >> need to specify, but I guess that is what the pasteboard provided. Terminal had no problem >> creating or finding the file without needing those env settings. Of course it cannot *display* >> the file name without knowing the encoding, so ls reports the filename as 'Carr'$'\303\251''.txt’ >> ( readable as an ascii encoding, though not one I have seen before; note the single quotes) > > I'm guessing here that this is a remote ssh session to your Linux server, and you are using macOS Terminal app to run and connect? If that is the case then the reason this works is because Terminal on macOS is UTF-8 (which is the *only* encoding macOS supports in its UNIX subsystem so you don't get the variance problem you do with Linux). This means that pasting text from somewhere else will paste the UTF-8 bytes - i.e. they will get transmitted over SSH to the remote linux machine. > > As filenames are just sequences of bytes on Linux this works fine - however when you ask the remote terminal to list the files, it can only interpret the ascii chars (as the LANG is C) and thus emits octal escapes for the others - here this ix 0xC3 0xA9 which is the utf-8 encoding of e-acute. > >> If I setup the env variables Mark suggests in the Terminal session >> export LC_ALL="en_US.UTF8" >> export LANG=“en_US.UTF8” >> then Terminal is able to display the filename á la française. > > So now the remote terminal knows how to interpret the sequences of bytes present in the filenames, and thus can emit them appropriately. > >> Cyberduck reports this filename correctly using the [e-acute] without having to set encoding >> knowledge. And I can also create the file using Cyberduck with no problems. So IT knows about/expects/sets >> up the encoding as needed. I bet other Linux-aware apps would also open or list such files without >> drama or special configuration. > > IT doesn't know - it assumes. I suspect that if you used Cyberduck to connect to a Linux server which is setup to *not* be utf-8 (so filenames are encoded with some other encoding), then it would display things incorrectly. > > Of course, if the protocols it deals with specify the text encoding as utf-8 *and* the daemons running on said server are setup correctly (i.e. so that they process the filenames and such relative to the server's encoding) *and* they correctly convert the filenames from that encoding to the encoding mandated by the protocol then it would display fine. > > Certainly FTP treats filenames as sequences of bytes - so at least for that protocol the client would have to assume UTF-8 or be told the correct encoding to do the correct thing. > >> However: in LC Server when I call "the long files" for the enclosing folder: crash! >> (Actually an in-line error reported for this code line). To my mind that qualifies as >> bug, even if the source of the crash is the same as for open file. > > I take it by crash you mean a runtime error is logged, and that this only happens if the LANG / LC_ALL environment variables are not set? > > This is the same issue as opening a file - the low-level text encoding from ASCII to the internal encoding used by strings in the engine will be failing because it encounters non-ASCII. > >> On the other hand hopefully setting the environment variables as Mark suggests will >> fix everything . Mark, could I clarify exactly how that “launcher script” is to be used… >> I’m guessing the cgi configuration should point to that file to be executed when it wants >> to open myscript.lc instead of pointing to the livecode-server executable (in which case >> it might have to have a .cgi suffix rather than .txt), or is it a shell script to be >> executed by livecode-server? > > The provided text should be put into a shell script which should be launched *instead* of livecode-server - so configure your CGI environment to call said shell script when it encounters a lc server script file to run. It will then set environment variables and then 'exec' replaces the shell script with livecode-server (in the same process). > > Technically while what the engine is doing is correct (relative to its need to have filenames represented as strings internally at least) it isn't ideal. There are two options to improve the situation (when the locale env vars are not set / set to C): > > 1) Rather than assume ASCII, assume native - this would preserve the bytes in the filename regardless of system encoding. > 2) Rather than assume ASCII, assume utf-8 - this would correctly represent filenames which are valid UTF-8, but would still fail on filenames with bad encoding > > Here (1) has the advantage that filenames would be preserved; but with the slight caveat that if you combined with other unicode characters (in a report say); the filenames would be displayed incorrectly (here 'display' would also include being sent as part of some protocol response). > > Here (2) has the advantage of everything working as expected assuming the server in question is utf-8 - it would still fail on filenames which are badly encoded though. However the latter could be mitigated by making the sys-string<->lc-string conversion slightly less strict - i.e. bad utf-8 chars map to/from '?' as they do in textEncode/Decode - so at least you could see the bad filenames. > > I suspect (2) is overall better - its only downside is that you would not be able to manipulate files on the server which had badly encoded utf-8 names. However, that seems like an extreme edge case; and one which you could work around by just setting the LANG env var to a native encoding and put appropriate code in your app to deal with. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Wed Aug 16 21:27:40 2023 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Wed, 16 Aug 2023 21:27:40 -0400 Subject: LC 9.6.9 App uses too much memory! In-Reply-To: <332932d5c6b5963e704c40816aec8145@livecode.com> References: <903ADB0E-1E82-44C9-96A1-C4FE62EC10B9@optusnet.com.au> <848FFA3D-F8BA-45F1-8595-B4742FE107B9@all-auctions.com> <332932d5c6b5963e704c40816aec8145@livecode.com> Message-ID: <63F06F78-904E-485F-8A48-6A9EC1A67017@all-auctions.com> Hi Mark, It was a very old stack that used the Player object. It had start and stop buttons that I had created, and a couple of scrollbar objects for quick value scrubbing and playing. There was some rather odd behavior with the toggle controller where the 9.6.9 version was the flip flop of the 9.6.8 version. Other than that I couldn’t see any noticeable differences. I was able to reconstruct this simple stack in LC 9.6.9 and have it function properly, when made from scratch. Perhaps the old stack had some unseen corruption or something. It was just very odd to see it function fine in LC 9.6.8 but then have it cause that memory leak overrun in LC 9.6.9 and be unusable. I haven’t been able to come up with a recipe to duplicate the problem. If I can figure out a repeatable recipe I’ll get back to you on that. This is non-critical for me at the moment. Thanks, Rick > On Aug 14, 2023, at 6:13 AM, Mark Waddingham via use-livecode wrote: > > Could you file a bug report with recipe and attach (or send to support at livecode.com if its sensitive) the stack and recipe for reproducing the problem so we can take a look. > > Thanks in advance, > > Mark. From neville.smythe at optusnet.com.au Thu Aug 17 09:56:49 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 17 Aug 2023 23:56:49 +1000 Subject: Linux filenames in LC Server - Resolved Message-ID: <9DFCB875-8122-4440-A26F-22F073C96D67@optusnet.com.au> Thank you Mark, installing the launcher script to set environment variables has fixed all my issues with non-ascii filenames. The documentation for installing LCS could usefully make a note of these settings. And indeed TextEncode/Decode both work as expected, my musings there were irrelevant. Do you expect a future version of LCServer will incorporate the changes? IMHO I’d agree option 2 would make things work more transparently for the vast majority of cases. And while you wouldn’t able be able to handle badly encoded filenames within LC, I guess you wouldn't be able to create them either. Neville Smythe From panos.merakos at livecode.com Thu Aug 17 10:02:59 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 17 Aug 2023 17:02:59 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.10 RC-1. LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support for Android API 33, which will be a requirement for submitting new apps to the Google Play Store as of the 31st of August. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-10-rc-1-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From matthias_livecode_150811 at m-r-d.de Thu Aug 17 10:11:08 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 17 Aug 2023 16:11:08 +0200 Subject: Linux filenames in LC Server - Resolved In-Reply-To: <9DFCB875-8122-4440-A26F-22F073C96D67@optusnet.com.au> References: <9DFCB875-8122-4440-A26F-22F073C96D67@optusnet.com.au> Message-ID: <062314FD-CA58-4B47-8070-97A12355CF9E@m-r-d.de> Hi Neville, did you read my comment about setting the environment variable lang using .htaccess? That worked here and i could write non-ascii filenames using the "standard" LC Server installation. Regards, Matthias > Am 17.08.2023 um 15:56 schrieb Neville Smythe via use-livecode : > > Thank you Mark, installing the launcher script to set environment variables has fixed all my issues with non-ascii filenames. The documentation for installing LCS could usefully make a note of these settings. And indeed TextEncode/Decode both work as expected, my musings there were irrelevant. > > Do you expect a future version of LCServer will incorporate the changes? IMHO I’d agree option 2 would make things work more transparently for the vast majority of cases. And while you wouldn’t able be able to handle badly encoded filenames within LC, I guess you wouldn't be able to create them either. > > Neville Smythe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 canelasoftware.com Thu Aug 17 11:57:30 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 17 Aug 2023 08:57:30 -0700 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hi Panos, I am looking forward to testing this build. I do not have any links to the download on the page. They appear to be missing. The release notes are linked, and I can read them. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 matthias_livecode_150811 at m-r-d.de Thu Aug 17 12:01:12 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 17 Aug 2023 18:01:12 +0200 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: As Panos wrote.. ;) You can find the release in your LiveCode account area or get it via the automatic updater. > Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode : > > Hi Panos, > > I am looking forward to testing this build. I do not have any links to the download on the page. They appear to be missing. > > The release notes are linked, and I can read them. > > > Best regards, > Mark Talluto > > appli.io > livecloud.io > nursenotes.net > canelasoftware.com > > > >> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode wrote: >> >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >> >> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support >> for Android API 33, which will be a requirement for submitting new apps to >> the Google Play Store as of the 31st of August. >> >> You can find more details on the bug fixes and improvements of this new >> release here: >> >> https://livecode.com/livecode-9-6-10-rc-1-released/ >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> 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 merakosp at gmail.com Thu Aug 17 12:05:18 2023 From: merakosp at gmail.com (panagiotis m) Date: Thu, 17 Aug 2023 19:05:18 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hello Mark, As Matthias noted, you can find this release in your account area. You have to scroll down a bit because the stable releases are listed at the top. In the downloads page you can only find the last stable release - currently 9.6.9. Kind regards, Panos -- On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > As Panos wrote.. ;) > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > > Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Panos, > > > > I am looking forward to testing this build. I do not have any links to > the download on the page. They appear to be missing. > > > > The release notes are linked, and I can read them. > > > > > > Best regards, > > Mark Talluto > > > > appli.io > > livecloud.io > > nursenotes.net > > canelasoftware.com > > > > > > > >> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Dear list members, > >> > >> We are pleased to announce the release of LiveCode 9.6.10 RC-1. > >> > >> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support > >> for Android API 33, which will be a requirement for submitting new apps > to > >> the Google Play Store as of the 31st of August. > >> > >> You can find more details on the bug fixes and improvements of this new > >> release here: > >> > >> https://livecode.com/livecode-9-6-10-rc-1-released/ > >> > >> You can find the release in your LiveCode account area or get it via the > >> automatic updater. > >> > >> Enjoy! > >> > >> Kind regards > >> 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 mark at canelasoftware.com Thu Aug 17 12:12:37 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 17 Aug 2023 09:12:37 -0700 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: <7235ECDA-1A4D-4DA3-8E2A-D018C9E18B71@canelasoftware.com> I guess my email with a link to a screenshot of what I am seeing has not gone through. I appreciate you can get the update through the auto-updater, but I want to download the installer from my account page as we can with other builds. The issue may be specific to my account. I’ll let the earth spin a bit and see how it goes for others. This is not a high priority situation for me. :) FWIW, I tried in both Firefox and Safari. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Aug 17, 2023, at 9:05 AM, panagiotis m via use-livecode wrote: > > Hello Mark, > > As Matthias noted, you can find this release in your account area. You have > to scroll down a bit because the stable releases are listed at the top. > > In the downloads page you can only find the last stable release - currently > 9.6.9. > > Kind regards, > Panos > -- > > On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> As Panos wrote.. ;) >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hi Panos, >>> >>> I am looking forward to testing this build. I do not have any links to >> the download on the page. They appear to be missing. >>> >>> The release notes are linked, and I can read them. >>> >>> >>> Best regards, >>> Mark Talluto >>> >>> appli.io >>> livecloud.io >>> nursenotes.net >>> canelasoftware.com >>> >>> >>> >>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Dear list members, >>>> >>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >>>> >>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support >>>> for Android API 33, which will be a requirement for submitting new apps >> to >>>> the Google Play Store as of the 31st of August. >>>> >>>> You can find more details on the bug fixes and improvements of this new >>>> release here: >>>> >>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >>>> >>>> You can find the release in your LiveCode account area or get it via the >>>> automatic updater. >>>> >>>> Enjoy! >>>> >>>> Kind regards >>>> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Aug 17 12:12:35 2023 From: hlowe at me.com (HENRY LOWE) Date: Thu, 17 Aug 2023 17:12:35 +0100 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: I see only a link to the release notes. Henry > On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode wrote: > > Hello Mark, > > As Matthias noted, you can find this release in your account area. You have > to scroll down a bit because the stable releases are listed at the top. > > In the downloads page you can only find the last stable release - currently > 9.6.9. > > Kind regards, > Panos > -- > > On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> As Panos wrote.. ;) >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Hi Panos, >>> >>> I am looking forward to testing this build. I do not have any links to >> the download on the page. They appear to be missing. >>> >>> The release notes are linked, and I can read them. >>> >>> >>> Best regards, >>> Mark Talluto >>> >>> appli.io >>> livecloud.io >>> nursenotes.net >>> canelasoftware.com >>> >>> >>> >>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Dear list members, >>>> >>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >>>> >>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support >>>> for Android API 33, which will be a requirement for submitting new apps >> to >>>> the Google Play Store as of the 31st of August. >>>> >>>> You can find more details on the bug fixes and improvements of this new >>>> release here: >>>> >>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >>>> >>>> You can find the release in your LiveCode account area or get it via the >>>> automatic updater. >>>> >>>> Enjoy! >>>> >>>> Kind regards >>>> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Thu Aug 17 12:22:20 2023 From: merakosp at gmail.com (panagiotis m) Date: Thu, 17 Aug 2023 19:22:20 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hello all, Oh I see what you mean! If you go to the "Downloads" section **in your account** - not the public downloads page - I confirm it only shows the release notes for LC 9.6.10 RC1 But you can still get LC 9.6.10 RC-1 if you go to Products -> LiveCode dropdown We will fix the issue asap. Thanks for spotting it! Cheers, Panos On Thu, 17 Aug 2023 at 19:13, HENRY LOWE via use-livecode < use-livecode at lists.runrev.com> wrote: > I see only a link to the release notes. > > Henry > > > On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello Mark, > > > > As Matthias noted, you can find this release in your account area. You > have > > to scroll down a bit because the stable releases are listed at the top. > > > > In the downloads page you can only find the last stable release - > currently > > 9.6.9. > > > > Kind regards, > > Panos > > -- > > > > On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> As Panos wrote.. ;) > >> > >> You can find the release in your LiveCode account area or get it via the > >> automatic updater. > >> > >>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < > >> use-livecode at lists.runrev.com>: > >>> > >>> Hi Panos, > >>> > >>> I am looking forward to testing this build. I do not have any links to > >> the download on the page. They appear to be missing. > >>> > >>> The release notes are linked, and I can read them. > >>> > >>> > >>> Best regards, > >>> Mark Talluto > >>> > >>> appli.io > >>> livecloud.io > >>> nursenotes.net > >>> canelasoftware.com > >>> > >>> > >>> > >>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Dear list members, > >>>> > >>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. > >>>> > >>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including > support > >>>> for Android API 33, which will be a requirement for submitting new > apps > >> to > >>>> the Google Play Store as of the 31st of August. > >>>> > >>>> You can find more details on the bug fixes and improvements of this > new > >>>> release here: > >>>> > >>>> https://livecode.com/livecode-9-6-10-rc-1-released/ > >>>> > >>>> You can find the release in your LiveCode account area or get it via > the > >>>> automatic updater. > >>>> > >>>> Enjoy! > >>>> > >>>> Kind regards > >>>> 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 > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From merakosp at gmail.com Thu Aug 17 12:23:10 2023 From: merakosp at gmail.com (panagiotis m) Date: Thu, 17 Aug 2023 19:23:10 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: OK should be fixed now! Cheers, Panos -- On Thu, 17 Aug 2023 at 19:22, panagiotis m wrote: > Hello all, > > Oh I see what you mean! > > If you go to the "Downloads" section **in your account** - not the public > downloads page - I confirm it only shows the release notes for LC 9.6.10 > RC1 > > But you can still get LC 9.6.10 RC-1 if you go to Products -> LiveCode > dropdown > > We will fix the issue asap. > > Thanks for spotting it! > > Cheers, > Panos > > On Thu, 17 Aug 2023 at 19:13, HENRY LOWE via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I see only a link to the release notes. >> >> Henry >> >> > On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > Hello Mark, >> > >> > As Matthias noted, you can find this release in your account area. You >> have >> > to scroll down a bit because the stable releases are listed at the top. >> > >> > In the downloads page you can only find the last stable release - >> currently >> > 9.6.9. >> > >> > Kind regards, >> > Panos >> > -- >> > >> > On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < >> > use-livecode at lists.runrev.com> wrote: >> > >> >> As Panos wrote.. ;) >> >> >> >> You can find the release in your LiveCode account area or get it via >> the >> >> automatic updater. >> >> >> >>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >> >> use-livecode at lists.runrev.com>: >> >>> >> >>> Hi Panos, >> >>> >> >>> I am looking forward to testing this build. I do not have any links to >> >> the download on the page. They appear to be missing. >> >>> >> >>> The release notes are linked, and I can read them. >> >>> >> >>> >> >>> Best regards, >> >>> Mark Talluto >> >>> >> >>> appli.io >> >>> livecloud.io >> >>> nursenotes.net >> >>> canelasoftware.com >> >>> >> >>> >> >>> >> >>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >> >> use-livecode at lists.runrev.com> wrote: >> >>>> >> >>>> Dear list members, >> >>>> >> >>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >> >>>> >> >>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including >> support >> >>>> for Android API 33, which will be a requirement for submitting new >> apps >> >> to >> >>>> the Google Play Store as of the 31st of August. >> >>>> >> >>>> You can find more details on the bug fixes and improvements of this >> new >> >>>> release here: >> >>>> >> >>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >> >>>> >> >>>> You can find the release in your LiveCode account area or get it via >> the >> >>>> automatic updater. >> >>>> >> >>>> Enjoy! >> >>>> >> >>>> Kind regards >> >>>> 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 >> >> >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 canelasoftware.com Thu Aug 17 12:28:23 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 17 Aug 2023 09:28:23 -0700 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Much appreciated, Panos. I just wanted to confirm that you fixed the issue. Downloading now. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Aug 17, 2023, at 9:23 AM, panagiotis m via use-livecode wrote: > > OK should be fixed now! > > Cheers, > Panos > -- > > On Thu, 17 Aug 2023 at 19:22, panagiotis m wrote: > >> Hello all, >> >> Oh I see what you mean! >> >> If you go to the "Downloads" section **in your account** - not the public >> downloads page - I confirm it only shows the release notes for LC 9.6.10 >> RC1 >> >> But you can still get LC 9.6.10 RC-1 if you go to Products -> LiveCode >> dropdown >> >> We will fix the issue asap. >> >> Thanks for spotting it! >> >> Cheers, >> Panos >> >> On Thu, 17 Aug 2023 at 19:13, HENRY LOWE via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> I see only a link to the release notes. >>> >>> Henry >>> >>>> On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hello Mark, >>>> >>>> As Matthias noted, you can find this release in your account area. You >>> have >>>> to scroll down a bit because the stable releases are listed at the top. >>>> >>>> In the downloads page you can only find the last stable release - >>> currently >>>> 9.6.9. >>>> >>>> Kind regards, >>>> Panos >>>> -- >>>> >>>> On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> As Panos wrote.. ;) >>>>> >>>>> You can find the release in your LiveCode account area or get it via >>> the >>>>> automatic updater. >>>>> >>>>>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >>>>> use-livecode at lists.runrev.com>: >>>>>> >>>>>> Hi Panos, >>>>>> >>>>>> I am looking forward to testing this build. I do not have any links to >>>>> the download on the page. They appear to be missing. >>>>>> >>>>>> The release notes are linked, and I can read them. >>>>>> >>>>>> >>>>>> Best regards, >>>>>> Mark Talluto >>>>>> >>>>>> appli.io >>>>>> livecloud.io >>>>>> nursenotes.net >>>>>> canelasoftware.com >>>>>> >>>>>> >>>>>> >>>>>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>>>> >>>>>>> Dear list members, >>>>>>> >>>>>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >>>>>>> >>>>>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including >>> support >>>>>>> for Android API 33, which will be a requirement for submitting new >>> apps >>>>> to >>>>>>> the Google Play Store as of the 31st of August. >>>>>>> >>>>>>> You can find more details on the bug fixes and improvements of this >>> new >>>>>>> release here: >>>>>>> >>>>>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >>>>>>> >>>>>>> You can find the release in your LiveCode account area or get it via >>> the >>>>>>> automatic updater. >>>>>>> >>>>>>> Enjoy! >>>>>>> >>>>>>> Kind regards >>>>>>> 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 >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 canelasoftware.com Thu Aug 17 12:30:16 2023 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 17 Aug 2023 09:30:16 -0700 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Oh, I did not know you could get the downloads another way. I learn something new every day. Thanks. Best regards, Mark Talluto appli.io livecloud.io nursenotes.net canelasoftware.com > On Aug 17, 2023, at 9:22 AM, panagiotis m via use-livecode wrote: > > Hello all, > > Oh I see what you mean! > > If you go to the "Downloads" section **in your account** - not the public > downloads page - I confirm it only shows the release notes for LC 9.6.10 > RC1 > > But you can still get LC 9.6.10 RC-1 if you go to Products -> LiveCode > dropdown > > We will fix the issue asap. > > Thanks for spotting it! > > Cheers, > Panos > > On Thu, 17 Aug 2023 at 19:13, HENRY LOWE via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I see only a link to the release notes. >> >> Henry >> >>> On Aug 17, 2023, at 5:05 PM, panagiotis m via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hello Mark, >>> >>> As Matthias noted, you can find this release in your account area. You >> have >>> to scroll down a bit because the stable releases are listed at the top. >>> >>> In the downloads page you can only find the last stable release - >> currently >>> 9.6.9. >>> >>> Kind regards, >>> Panos >>> -- >>> >>> On Thu, 17 Aug 2023 at 19:02, matthias rebbe via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> As Panos wrote.. ;) >>>> >>>> You can find the release in your LiveCode account area or get it via the >>>> automatic updater. >>>> >>>>> Am 17.08.2023 um 17:57 schrieb Mark Talluto via use-livecode < >>>> use-livecode at lists.runrev.com>: >>>>> >>>>> Hi Panos, >>>>> >>>>> I am looking forward to testing this build. I do not have any links to >>>> the download on the page. They appear to be missing. >>>>> >>>>> The release notes are linked, and I can read them. >>>>> >>>>> >>>>> Best regards, >>>>> Mark Talluto >>>>> >>>>> appli.io >>>>> livecloud.io >>>>> nursenotes.net >>>>> canelasoftware.com >>>>> >>>>> >>>>> >>>>>> On Aug 17, 2023, at 7:02 AM, panagiotis merakos via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Dear list members, >>>>>> >>>>>> We are pleased to announce the release of LiveCode 9.6.10 RC-1. >>>>>> >>>>>> LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including >> support >>>>>> for Android API 33, which will be a requirement for submitting new >> apps >>>> to >>>>>> the Google Play Store as of the 31st of August. >>>>>> >>>>>> You can find more details on the bug fixes and improvements of this >> new >>>>>> release here: >>>>>> >>>>>> https://livecode.com/livecode-9-6-10-rc-1-released/ >>>>>> >>>>>> You can find the release in your LiveCode account area or get it via >> the >>>>>> automatic updater. >>>>>> >>>>>> Enjoy! >>>>>> >>>>>> Kind regards >>>>>> 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 >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Aug 17 14:46:43 2023 From: tom at makeshyft.com (Tom Glod) Date: Thu, 17 Aug 2023 14:46:43 -0400 Subject: xavvi - temper your expectations In-Reply-To: <136C8206-6B98-4401-9CB7-4CD4B14CEA9F@m-r-d.de> References: <136C8206-6B98-4401-9CB7-4CD4B14CEA9F@m-r-d.de> Message-ID: If I was integrating AI into livecode, I would train it on a higher level api built for it, instead of letting it use Livecode Script willy nilly. That would prevent the kinds of hallucinations that it has while trying to write livecode script. I suspect that Livecode has thought of this and has written and trained it on an API less prone to these problems. On Thu, Aug 10, 2023 at 3:32 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > I thought Xavvi will make use of AI, but the use is not mandatory. So even > without AI, XAVVI would be an online development tool which can deploy web > apps and which also could import and export Livecode stacks. > > > > Am 10.08.2023 um 21:22 schrieb Mike Kerner via use-livecode < > use-livecode at lists.runrev.com>: > > > > i'm using chatgpt and bard, every day, because i can, and because > > sometimes they give me more comprehensive things to think about. > > but, they are wrong. a lot. > > zdnet just published a piece, today, documenting the same thing: wrong > >> 50% of the time. > > so, temper your expectations for xavvi in the medium term: > > > https://www.zdnet.com/article/chatgpt-answers-more-than-half-of-software-engineering-questions-incorrectly/ > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From neville.smythe at optusnet.com.au Thu Aug 17 21:05:29 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Fri, 18 Aug 2023 11:05:29 +1000 Subject: Linux filenames in LC Server Message-ID: <60945C1B-BA73-47BC-8825-FCBD68F9B457@optusnet.com.au> Hi Matthias, I didn’t see your post until now. I did wonder if .htaccess could be used using Rewrite rules, but I couldn’t get my head around the documentation. So it’s good to know both methods work. We are running other apps on the website so I wonder a bit if setting the environment variables for everything running under apache might have some side effects, so I’ll stick with Mark’s launch script method. Neville Smythe From matthias_livecode_150811 at m-r-d.de Fri Aug 18 01:38:07 2023 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 18 Aug 2023 07:38:07 +0200 Subject: Linux filenames in LC Server In-Reply-To: <60945C1B-BA73-47BC-8825-FCBD68F9B457@optusnet.com.au> References: <60945C1B-BA73-47BC-8825-FCBD68F9B457@optusnet.com.au> Message-ID: <4C698EAD-26AC-4D13-BBF2-2F2A96198A3B@m-r-d.de> Neville, The htaccess solution would also not harm other apps because the environment variable is only set when executing .lc files and they’re only used within that session. Von meinem iPhone gesendet > Am 18.08.2023 um 03:07 schrieb Neville Smythe via use-livecode : > > Hi Matthias, I didn’t see your post until now. I did wonder if .htaccess could be used using Rewrite rules, but I couldn’t get my head around the documentation. > > So it’s good to know both methods work. We are running other apps on the website so I wonder a bit if setting the environment variables for everything running under apache might have some side effects, so I’ll stick with Mark’s launch script method. > > Neville Smythe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dfe4 at cornell.edu Fri Aug 18 12:03:44 2023 From: dfe4 at cornell.edu (David Epstein) Date: Fri, 18 Aug 2023 12:03:44 -0400 Subject: Detecting when resizeStack is completed Message-ID: How can I redraw objects after the user has resized the stack, but not continuously during the resize? Releasing the mouse at the end of a resize does not appear to send a mouseUp message. David Epstein From bobsneidar at iotecdigital.com Fri Aug 18 12:13:11 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 18 Aug 2023 16:13:11 +0000 Subject: Detecting when resizeStack is completed In-Reply-To: References: Message-ID: <1430D38D-9538-495E-83CA-8BF93E26696D@iotecdigital.com> Have you tried mouseStillDown? Bob S > On Aug 18, 2023, at 9:03 AM, David Epstein via use-livecode wrote: > > How can I redraw objects after the user has resized the stack, but not continuously during the resize? Releasing the mouse at the end of a resize does not appear to send a mouseUp message. > > David Epstein > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Aug 18 12:14:53 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 18 Aug 2023 16:14:53 +0000 Subject: Detecting when resizeStack is completed In-Reply-To: <1430D38D-9538-495E-83CA-8BF93E26696D@iotecdigital.com> References: <1430D38D-9538-495E-83CA-8BF93E26696D@iotecdigital.com> Message-ID: <67ED45B5-6265-4CE2-BCA8-A8E99D3A091B@iotecdigital.com> Or rather check if the mouse is down Bob S > On Aug 18, 2023, at 9:13 AM, Bob Sneidar wrote: > > Have you tried mouseStillDown? > > Bob S > > >> On Aug 18, 2023, at 9:03 AM, David Epstein via use-livecode wrote: >> >> How can I redraw objects after the user has resized the stack, but not continuously during the resize? Releasing the mouse at the end of a resize does not appear to send a mouseUp message. >> >> David Epstein >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Fri Aug 18 12:25:11 2023 From: paul at researchware.com (Paul Dupuis) Date: Fri, 18 Aug 2023 12:25:11 -0400 Subject: Detecting when resizeStack is completed In-Reply-To: References: Message-ID: On 8/18/2023 12:03 PM, David Epstein via use-livecode wrote: > How can I redraw objects after the user has resized the stack, but not continuously during the resize? Releasing the mouse at the end of a resize does not appear to send a mouseUp message. > > after resizeStack  -- actions you want to occur after end resizeStack Look at the "after" control structure in the Dictionary. I am NOT sure whether this will trigger after EACH resizeStack message (not what you want) OR only after the last resizeStack message (what you want), but it may be worth trying (I have not tried it myself) From mark at livecode.com Fri Aug 18 12:29:47 2023 From: mark at livecode.com (Mark Waddingham) Date: Fri, 18 Aug 2023 17:29:47 +0100 Subject: Detecting when resizeStack is completed In-Reply-To: References: Message-ID: <22b27f1af72510aa5ff4bb932086ee51@livecode.com> On 2023-08-18 17:03, David Epstein via use-livecode wrote: > How can I redraw objects after the user has resized the stack, but not > continuously during the resize? Releasing the mouse at the end of a > resize does not appear to send a mouseUp message. Normal window resizing is handled by the OS, so doesn't generate mouse events. One way to get close to what you request is to only relayout your objects if the user has not changed the size within a short period. Something like: ``` local sPendingResizeId constant kResizeTimeout = 20 on resizeStack pWidth, pHeight /* If there is already a deferred request to resize then cancel. */ if sPendingResizeId is not empty then cancel sPendingResizeId end if /* Defer the request to resize for a further period. */ send "_doResizeStack pWidth, pHeight" to me in kResizeTimeout milliseconds put the result into sPendingResizeId end resizeStack on _doResizeStack pWidth, pHeight lock screen ... do relayout ... unlock screen end _doResizeStack ``` This defers the relayout code until a resize stack message has not been sent for the timeout interval. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From martyknappster at gmail.com Fri Aug 18 14:20:19 2023 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 18 Aug 2023 11:20:19 -0700 Subject: Solved: Writing to Mac Application Support folder In-Reply-To: <003fd44c-f5c0-cdbf-8865-f4722e83bdcd@hyperactivesw.com> References: <2afdbfdd-2c31-d334-14ef-68b561e3a287@hyperactivesw.com> <583ff6d4-3def-d10f-66a8-e280bac8be05@hyperactivesw.com> <003fd44c-f5c0-cdbf-8865-f4722e83bdcd@hyperactivesw.com> Message-ID: As I’m now working to get an app ready for Sonoma, I’m wondering what the official resolution is to writing to both the “Preferences” folder and the “Application Support” folder. What I’m finding is that this question from Jacque is the last in this thread. Was there a response from Panos or Mark? I will be dealing with existing customers upgrading to Sonoma as well as new customers and don’t want my inbox flooded with angry emails! Marty > On Jul 15, 2023, at 1:22 PM, J. Landman Gay via use-livecode wrote: > > Good approach. I assume if there is no file in Preferences, you write defaults directly to the container. > > I got curious and looked at where LC stores its files. They do not have a container. It's mostly in Application Support, in a folder "RunRev" (there's also an older one there named "Runtime Revolution".) Some of the files were updated recently so it apparently still works. Now I wonder if there's another way to do this stuff. > > I'd like some definitive info about this. @Panos? @Mark? > > On 7/15/23 12:24 AM, scott--- via use-livecode wrote: >> Thanks again, Jacque. >> My solution for migrating preference files from the Preferences folder to the Container turned out to be quite simple but for some reason I spent a bunch of time pondering other more complicated methods. In the end I changed an existing function which returns a path to the preferences file and had it first look to see if a Container exists. If it doesn’t then it creates the Container but still returns the path to the original Preferences folder. (This works in my use case because the app's first call to this function will always be to “read” the preference file) Now that the Container exists, all future calls to the function will return the Container path… and the original data, having been already loaded into the app, is ready to write to (and read from) the new Container location. > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > From dan at clearvisiontech.com Fri Aug 18 16:32:57 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 18 Aug 2023 20:32:57 +0000 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Panos, What about 10.0.0? Is there an update coming? I sure hope so… I’m going to be hosed if not. -Dan From: use-livecode on behalf of panagiotis merakos via use-livecode Date: Thursday, August 17, 2023 at 7:04 AM To: How to use LiveCode Cc: panagiotis merakos Subject: [[ ANN ]] Release 9.6.10 RC-1 Dear list members, We are pleased to announce the release of LiveCode 9.6.10 RC-1. LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support for Android API 33, which will be a requirement for submitting new apps to the Google Play Store as of the 31st of August. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-10-rc-1-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards 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 dsc at swcp.com Fri Aug 18 16:45:25 2023 From: dsc at swcp.com (Dar Scott) Date: Fri, 18 Aug 2023 14:45:25 -0600 Subject: Group corners Message-ID: If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar From matthias_livecode_150811 at m-r-d.de Fri Aug 18 16:50:00 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 18 Aug 2023 22:50:00 +0200 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: On the 25th July Heather wrote the following: "We are working on LiveCode 10 dp6. We expect it to ship in August, with support for Web Fonts plus a number of bug fixes. Web Fonts turned out to be rather trickier than expected but it looks like we've got it more or less sorted out now. If there are specific bugs in 10 dp-5 that are really problematic for you, its worth flagging them to me in support (not on the list) so I can at least find out for you if they will be fixed in dp-6. Please send me the bug report number from the Quality Center for checking. " > Am 18.08.2023 um 22:32 schrieb Dan Friedman via use-livecode : > > Panos, > > What about 10.0.0? Is there an update coming? I sure hope so… I’m going to be hosed if not. > > -Dan > > > From: use-livecode on behalf of panagiotis merakos via use-livecode > Date: Thursday, August 17, 2023 at 7:04 AM > To: How to use LiveCode > Cc: panagiotis merakos > Subject: [[ ANN ]] Release 9.6.10 RC-1 > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 merakosp at gmail.com Fri Aug 18 17:05:03 2023 From: merakosp at gmail.com (panagiotis m) Date: Sat, 19 Aug 2023 00:05:03 +0300 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hello all, Yes, the plan is to release LC 10 dp-6 before the end of the month, which will include support for API 33 as well as all the other fixes/enhancements of LC 9.6.10 rc1. Cheers, Panos On Fri, 18 Aug 2023, 23:50 matthias rebbe via use-livecode, < use-livecode at lists.runrev.com> wrote: > On the 25th July Heather wrote the following: > > "We are working on LiveCode 10 dp6. We expect it to ship in August, with > support for Web Fonts plus a number of bug fixes. Web Fonts turned out to > be rather trickier than expected but it looks like we've got it more or > less sorted out now. > > If there are specific bugs in 10 dp-5 that are really problematic for you, > its worth flagging them to me in support (not on the list) so I can at > least find out for you if they will be fixed in dp-6. Please send me the > bug report number from the Quality Center for checking. " > > > > > > Am 18.08.2023 um 22:32 schrieb Dan Friedman via use-livecode < > use-livecode at lists.runrev.com>: > > > > Panos, > > > > What about 10.0.0? Is there an update coming? I sure hope so… I’m > going to be hosed if not. > > > > -Dan > > > > > > From: use-livecode on behalf of > panagiotis merakos via use-livecode > > Date: Thursday, August 17, 2023 at 7:04 AM > > To: How to use LiveCode > > Cc: panagiotis merakos > > Subject: [[ ANN ]] Release 9.6.10 RC-1 > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support > > for Android API 33, which will be a requirement for submitting new apps > to > > the Google Play Store as of the 31st of August. > > > > You can find more details on the bug fixes and improvements of this new > > release here: > > > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > > > You can find the release in your LiveCode account area or get it via the > > automatic updater. > > > > Enjoy! > > > > Kind regards > > 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 tom at makeshyft.com Fri Aug 18 21:12:58 2023 From: tom at makeshyft.com (Tom Glod) Date: Fri, 18 Aug 2023 21:12:58 -0400 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: There are a few big ones in this update for me. Thanks. On Fri, Aug 18, 2023 at 5:06 PM panagiotis m via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello all, > > Yes, the plan is to release LC 10 dp-6 before the end of the month, which > will include support for API 33 as well as all the other fixes/enhancements > of LC 9.6.10 rc1. > > Cheers, > Panos > > On Fri, 18 Aug 2023, 23:50 matthias rebbe via use-livecode, < > use-livecode at lists.runrev.com> wrote: > > > On the 25th July Heather wrote the following: > > > > "We are working on LiveCode 10 dp6. We expect it to ship in August, with > > support for Web Fonts plus a number of bug fixes. Web Fonts turned out to > > be rather trickier than expected but it looks like we've got it more or > > less sorted out now. > > > > If there are specific bugs in 10 dp-5 that are really problematic for > you, > > its worth flagging them to me in support (not on the list) so I can at > > least find out for you if they will be fixed in dp-6. Please send me the > > bug report number from the Quality Center for checking. " > > > > > > > > > > > Am 18.08.2023 um 22:32 schrieb Dan Friedman via use-livecode < > > use-livecode at lists.runrev.com>: > > > > > > Panos, > > > > > > What about 10.0.0? Is there an update coming? I sure hope so… I’m > > going to be hosed if not. > > > > > > -Dan > > > > > > > > > From: use-livecode on behalf > of > > panagiotis merakos via use-livecode > > > Date: Thursday, August 17, 2023 at 7:04 AM > > > To: How to use LiveCode > > > Cc: panagiotis merakos > > > Subject: [[ ANN ]] Release 9.6.10 RC-1 > > > Dear list members, > > > > > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > > > > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including > support > > > for Android API 33, which will be a requirement for submitting new apps > > to > > > the Google Play Store as of the 31st of August. > > > > > > You can find more details on the bug fixes and improvements of this new > > > release here: > > > > > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > > > > > You can find the release in your LiveCode account area or get it via > the > > > automatic updater. > > > > > > Enjoy! > > > > > > Kind regards > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andreas.bergendal at gmail.com Sat Aug 19 11:37:30 2023 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Sat, 19 Aug 2023 17:37:30 +0200 Subject: Regex negative lookahead not working in LC? Message-ID: <8198ED98-7D84-4874-80FB-965632384373@gmail.com> Hi all, I’m trying to run a matchChunk regex on an LC script text, with the aim of scoring a hit only if a word is NOT commented out by one of the comment methods. This regex works beautifully when tested in regex101.com (PCRE flavor): (?i)^(?:(?!--|#|\/\/).)*\b(myHandler)\b When applied on the text command myOtherHandler # myHandler // myHandler -- myhandler notMyHandler end myOtherHandler it should score zero matches and it does. When applied on the text command myOtherHandler # myHandler // myHandler -- myhandler myHandler end myOtherHandler it should score 1 match and it does. Applying the same regex in LC does NOT score any match in the latter example though. Why? Doesn't negative lookahead work in LC? (v9.6.9 stable.) Best, Andreas From jacque at hyperactivesw.com Sat Aug 19 13:07:06 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Aug 2023 12:07:06 -0500 Subject: Group corners In-Reply-To: References: Message-ID: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Weird how? The corners should be right angles. Do you see something different? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: > If I turn off 3D for a group, the corners of the rectangle are weird. > Advice? Dar > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 19 13:24:57 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Aug 2023 12:24:57 -0500 Subject: Regex negative lookahead not working in LC? In-Reply-To: <8198ED98-7D84-4874-80FB-965632384373@gmail.com> References: <8198ED98-7D84-4874-80FB-965632384373@gmail.com> Message-ID: <18a0ed41e28.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Nope. https://quality.livecode.com/show_bug.cgi?id=21534 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 19, 2023 10:39:52 AM Andreas Bergendal via use-livecode wrote: > > Why? Doesn't negative lookahead work in LC? (v9.6.9 stable.) From andreas.bergendal at gmail.com Sat Aug 19 14:17:43 2023 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Sat, 19 Aug 2023 20:17:43 +0200 Subject: Regex negative lookahead not working in LC? Message-ID: <0DB59228-0ADC-43B0-AFBE-DE0AC94CC457@gmail.com> > Nope. > https://quality.livecode.com/show_bug.cgi?id=21534 Oh no! Well, cumbersome workaround it is then… Thanks Jacque! From fmoyer at aol.com Sat Aug 19 14:32:09 2023 From: fmoyer at aol.com (FRED MOYER) Date: Sat, 19 Aug 2023 14:32:09 -0400 Subject: How to search this list References: Message-ID: It’s been a long time since I’ve used this list. I’m puzzled -- it says I can search the archives for this list at http://www.google.com/advanced_search?q=site:lists.runrev.com If I search for something that I know is there (like “CharIndex” which was in some recent posts) it doesn’t find anything. In particular, I’m looking for information about keysdown — again no hits in that google search site. Thanks for your help. Fred Moyer From MikeKerner at roadrunner.com Sat Aug 19 15:42:26 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 19 Aug 2023 15:42:26 -0400 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: but hold off on the xcode command line tools 14.3 update? On Fri, Aug 18, 2023 at 9:14 PM Tom Glod via use-livecode wrote: > > There are a few big ones in this update for me. Thanks. > > > On Fri, Aug 18, 2023 at 5:06 PM panagiotis m via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hello all, > > > > Yes, the plan is to release LC 10 dp-6 before the end of the month, which > > will include support for API 33 as well as all the other fixes/enhancements > > of LC 9.6.10 rc1. > > > > Cheers, > > Panos > > > > On Fri, 18 Aug 2023, 23:50 matthias rebbe via use-livecode, < > > use-livecode at lists.runrev.com> wrote: > > > > > On the 25th July Heather wrote the following: > > > > > > "We are working on LiveCode 10 dp6. We expect it to ship in August, with > > > support for Web Fonts plus a number of bug fixes. Web Fonts turned out to > > > be rather trickier than expected but it looks like we've got it more or > > > less sorted out now. > > > > > > If there are specific bugs in 10 dp-5 that are really problematic for > > you, > > > its worth flagging them to me in support (not on the list) so I can at > > > least find out for you if they will be fixed in dp-6. Please send me the > > > bug report number from the Quality Center for checking. " > > > > > > > > > > > > > > > > Am 18.08.2023 um 22:32 schrieb Dan Friedman via use-livecode < > > > use-livecode at lists.runrev.com>: > > > > > > > > Panos, > > > > > > > > What about 10.0.0? Is there an update coming? I sure hope so… I’m > > > going to be hosed if not. > > > > > > > > -Dan > > > > > > > > > > > > From: use-livecode on behalf > > of > > > panagiotis merakos via use-livecode > > > > Date: Thursday, August 17, 2023 at 7:04 AM > > > > To: How to use LiveCode > > > > Cc: panagiotis merakos > > > > Subject: [[ ANN ]] Release 9.6.10 RC-1 > > > > Dear list members, > > > > > > > > We are pleased to announce the release of LiveCode 9.6.10 RC-1. > > > > > > > > LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including > > support > > > > for Android API 33, which will be a requirement for submitting new apps > > > to > > > > the Google Play Store as of the 31st of August. > > > > > > > > You can find more details on the bug fixes and improvements of this new > > > > release here: > > > > > > > > https://livecode.com/livecode-9-6-10-rc-1-released/ > > > > > > > > You can find the release in your LiveCode account area or get it via > > the > > > > automatic updater. > > > > > > > > Enjoy! > > > > > > > > Kind regards > > > > 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 > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 richmondmathewson at gmail.com Sat Aug 19 16:36:57 2023 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 19 Aug 2023 23:36:57 +0300 Subject: How to search this list In-Reply-To: References: Message-ID: <9bff91a6-8761-489d-9b5d-1f0dfc493a89@gmail.com> Well, I am a keysDown 'fan', so why not just explain what your problem is . . . Richmond Mathewson On 19.08.23 21:32, FRED MOYER via use-livecode wrote: > Its been a long time since Ive used this list. Im puzzled -- it says I can search the archives for this list at > http://www.google.com/advanced_search?q=site:lists.runrev.com > > If I search for something that I know is there (like CharIndex which was in some recent posts) it doesnt find anything. > > In particular, Im looking for information about keysdown again no hits in that google search site. > > Thanks for your help. > > Fred Moyer > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 19 16:37:34 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Aug 2023 15:37:34 -0500 Subject: How to search this list In-Reply-To: References: Message-ID: <18a0f8476b0.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm not sure why the Google search doesn't work, but I generally use this: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 19, 2023 1:34:16 PM FRED MOYER via use-livecode wrote: > Its been a long time since Ive used this list. Im puzzled -- it says I > can search the archives for this list at > http://www.google.com/advanced_search?q=site:lists.runrev.com > > > If I search for something that I know is there (like CharIndex which was > in some recent posts) it doesnt find anything. > > In particular, Im looking for information about keysdown again no hits > in that google search site. > > Thanks for your help. > > Fred Moyer > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Sat Aug 19 16:57:44 2023 From: tom at makeshyft.com (Tom Glod) Date: Sat, 19 Aug 2023 16:57:44 -0400 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: Hello, Does this mean we have JSON support in SQLite? This is from the documentation.: In other words, the JSON functions went from being opt-in with SQLite version 3.37.2 and earlier to opt-out with SQLite version 3.38.0 and later. Are we keeping strict to the specifications of each SQLITE version? From mark at livecode.com Sun Aug 20 03:09:02 2023 From: mark at livecode.com (Mark Waddingham) Date: Sun, 20 Aug 2023 08:09:02 +0100 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: References: Message-ID: <7e9e3b20bd90462d31408ac2f6c008ab@livecode.com> On 2023-08-19 21:57, Tom Glod via use-livecode wrote: > Hello, > > Does this mean we have JSON support in SQLite? > > This is from the documentation.: > > In other words, the JSON functions went from being opt-in with SQLite > version 3.37.2 and earlier to opt-out with SQLite version 3.38.0 and > later. The SQLite JSON support was included in dbsqlite in 9.0.3 - https://quality.livecode.com/show_bug.cgi?id=21821 Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From roland.huettmann at gmail.com Sun Aug 20 13:25:42 2023 From: roland.huettmann at gmail.com (R.H.) Date: Sun, 20 Aug 2023 19:25:42 +0200 Subject: How to search this list Message-ID: I also can not use Google search. It finds nothing in the list. If Google is not the culprit then it deserves a bug report. From matthias_livecode_150811 at m-r-d.de Sun Aug 20 14:30:10 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 20 Aug 2023 20:30:10 +0200 Subject: How to search this list In-Reply-To: References: Message-ID: <11F15409-DB68-4336-A47B-0BC95733F808@m-r-d.de> I just tested and used search livecode uselist for a google search. The 6th result showed a link to the the--mail-archive which also has a complete archiv of this mailing list. > Am 20.08.2023 um 19:25 schrieb R.H. via use-livecode : > > I also can not use Google search. It finds nothing in the list. If Google > is not the culprit then it deserves a bug report. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sun Aug 20 20:50:34 2023 From: dsc at swcp.com (Dar Scott) Date: Sun, 20 Aug 2023 18:50:34 -0600 Subject: Group corners In-Reply-To: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> On Mac and LiveCode 9.6.9… Make a new stack. Put a few controls on it. Group them. Give the group a name Set the border width to something like 10-15 so the effect is visible. Turn off 3D. Turn on border. Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. Dar > On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: > > Weird how? The corners should be right angles. Do you see something different? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: > >> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Mon Aug 21 05:56:19 2023 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 21 Aug 2023 10:56:19 +0100 Subject: Group corners In-Reply-To: <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> Message-ID: I see those kind of changes (10.0.0DP5, MacOS), but the border changes from solid black to black/white lines - with those 'splits' you described. Alex. On 21/08/2023 01:50, Dar Scott via use-livecode wrote: > On Mac and LiveCode 9.6.9 > > Make a new stack. Put a few controls on it. Group them. > > Give the group a name > > Set the border width to something like 10-15 so the effect is visible. > > Turn off 3D. > > Turn on border. > > Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. > > On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. > > Dar > > >> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: >> >> Weird how? The corners should be right angles. Do you see something different? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: >> >>> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? Dar >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 21 07:03:32 2023 From: mkoob at rogers.com (Martin Koob) Date: Mon, 21 Aug 2023 07:03:32 -0400 Subject: How to search this list In-Reply-To: References: Message-ID: Hi I followed the first few steps of the instructions on the following site. https://www.wikihow.com/Use-Google-to-Search-Within-a-Specific-Website I tried this search term looking for mentions of ‘regex' in the search field of the google page not the search bar at the top. site:http://lists.runrev.com/pipermail/use-livecode/ regex It returned 4 hits from the lists. Doubt that is all of them but it is not that popular a topic I tried then the search term ‘datagrid’ undoubtedly a more popular topic. site:http://lists.runrev.com/pipermail/use-livecode/ datagrid It returned 5 hits. I am sure that is only a small fraction. So it kinda works but something is weird. Maybe there is a parameter that sets the number of results. Martin > On Aug 20, 2023, at 1:25 PM, R.H. via use-livecode wrote: > > I also can not use Google search. It finds nothing in the list. If Google > is not the culprit then it deserves a bug report. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Aug 21 11:47:05 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 21 Aug 2023 09:47:05 -0600 Subject: Group corners In-Reply-To: References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> Message-ID: <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> I sprinkled some colors over the different object colors. I can see more of what is happening that way. Show name off: The border grows outward. If 3D is off, it has the border color. If it is on it has the bevel colors: left and top are the bottom bevel, bottom and right have the top bevel. Show name on: Again 3D changes whether the background is used for both bevel colors or the two bevel colors are used. In this case though, instead of the whole outline having the above color pattern, the border lines, do. In addition the inside border grows **inward**, covering things. Also, a background stripe above and below the top line covers things. This might be the background of the label; I couldn’t figure out how to set the alpha of colors to test that, so I use the opaque check box. Even with opaque of, objects are obscured. It looks as though instead of putting an appropriate sized label over the border for the name, the object puts the opaque label above the content and tries to draw a border on top of that. The drawing is the 3D drawing, lines have 3D, not the whole rectangle of the border. The only difference for turning off 3D is using border instead of the bevels. With 3D on, one can see what is happening. The outside line is much like without the show name half width, but with a little diagonal gap in the upper left. The inside line, grows inward :( and has gaps in the lines, including the line ends around the name label. Some behavior depends on the order I check boxes. For some experiments clear all check boxes and then turn on some. The behavior I would have hoped for is this: * The border always grows outward. * Adding the show name does not change the border or background; it just puts a label over it. * The background is in the back and extends consistently to either the inside of the border, the middle of the border or outside edge of the border. The background for the name label is the same as that for the group including the opaque modifier, so a blip of background might extend above the top border. This is noticeable only with show name. * Except for a little blip around the label when opaque is on, nothing obscures the content region. * The label border is tight. A better way might be to crop out a hole in the current border and place the name label there with a transparent background. Or layer them behind the content, but above the background. So… I don’t seem to be doing something wrong. I need to look for a workaround. Thoughts (all involving keeping show name off): 1. I could put a small-margin label into the grouped controls so it fits just inside the border in a consistent corner. 2 I can put an opaque label on top of my border. The background color might be chosen to be that of the named group or that of its parent. I would have to address moving the group. There might be 3 ways. a) Move the label by hand. b) Add a script to do that. c) Put both label and my group into another group, but then have to figure out “of” and “parent” in scripts. 3 Draw my own border and label as the group content. (However, something seems to be weird with my rectangles on Windows.) 4. Any ideas you folks have. Dar > On Aug 21, 2023, at 3:56 AM, Alex Tweedly via use-livecode wrote: > > I see those kind of changes (10.0.0DP5, MacOS), but the border changes from solid black to black/white lines - with those 'splits' you described. > > Alex. > > On 21/08/2023 01:50, Dar Scott via use-livecode wrote: >> On Mac and LiveCode 9.6.9… >> >> Make a new stack. Put a few controls on it. Group them. >> >> Give the group a name >> >> Set the border width to something like 10-15 so the effect is visible. >> >> Turn off 3D. >> Turn on border. >> >> Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. >> >> On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. >> >> Dar >> >> >>> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: >>> >>> Weird how? The corners should be right angles. Do you see something different? >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: >>> >>>> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Mon Aug 21 12:09:20 2023 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 21 Aug 2023 17:09:20 +0100 Subject: No progress updates on LC 10. Am i the only one who is concerned? In-Reply-To: <53887cdf-9bf4-4534-0741-ab08156b180b@cogapp.com> References: <8F7D10FF-1B32-4177-BFDC-7CEE721ACF8A@m-r-d.de> <13ec553f-f7ef-8fb7-42b5-77e6205cec4b@cogapp.com> <51859D53-03FD-4FA6-9C97-33B04803F016@mail.com> <53887cdf-9bf4-4534-0741-ab08156b180b@cogapp.com> Message-ID: <5f636baf-03c6-18e5-45dd-483c3219bc66@cogapp.com> Sad update: it's just happened to me again, with Bracket Completion switched off. I literally checked just before starting to type the format statement; after it crashed and I relaunched 10.0.0.dp5, I checked again. It was still switched off. I see that the bug is marked awaiting release - but it's not mentioned in the release notes for 10.0.0dp6. :-( On 26/07/2023 09:58, Ben Rubinstein via use-livecode wrote: > Oooh - I hadn't spotted that. (With only a little bit of fear) I'll venture > back into 10dp5 and turn that off. Thanks Geoff! > > On 26/07/2023 03:49, Geoff Canyon via use-livecode wrote: >> So, not to be too much of an apologist, but the issue doesn't seem like a >> showstopper to me. >> >> On Tue, Jul 25, 2023 at 10:36AM Dick Kriesel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> >>> >>>> On Jul 25, 2023, at 11:37 AM, Geoff Canyon via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Maybe a silly question, but that issue lists "turn on bracket completion" >>>> as a step to reproduce. If bracket completion is off, is it safe? >>> >>> Hi, Geoff. I filed the report. With bracket completion off, I saw no such >>> problem. >>> Dick >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Aug 21 12:50:37 2023 From: dsc at swcp.com (Dar Scott) Date: Mon, 21 Aug 2023 10:50:37 -0600 Subject: Group corners In-Reply-To: <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> Message-ID: <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. — Dar > On Aug 21, 2023, at 9:47 AM, Dar Scott via use-livecode wrote: > > I sprinkled some colors over the different object colors. I can see more of what is happening that way. > > Show name off: The border grows outward. If 3D is off, it has the border color. If it is on it has the bevel colors: left and top are the bottom bevel, bottom and right have the top bevel. > > Show name on: Again 3D changes whether the background is used for both bevel colors or the two bevel colors are used. In this case though, instead of the whole outline having the above color pattern, the border lines, do. In addition the inside border grows **inward**, covering things. Also, a background stripe above and below the top line covers things. This might be the background of the label; I couldn’t figure out how to set the alpha of colors to test that, so I use the opaque check box. Even with opaque of, objects are obscured. > > It looks as though instead of putting an appropriate sized label over the border for the name, the object puts the opaque label above the content and tries to draw a border on top of that. The drawing is the 3D drawing, lines have 3D, not the whole rectangle of the border. The only difference for turning off 3D is using border instead of the bevels. With 3D on, one can see what is happening. The outside line is much like without the show name half width, but with a little diagonal gap in the upper left. The inside line, grows inward :( and has gaps in the lines, including the line ends around the name label. > > Some behavior depends on the order I check boxes. For some experiments clear all check boxes and then turn on some. > > The behavior I would have hoped for is this: > > * The border always grows outward. > * Adding the show name does not change the border or background; it just puts a label over it. > * The background is in the back and extends consistently to either the inside of the border, the middle of the border or outside edge of the border. The background for the name label is the same as that for the group including the opaque modifier, so a blip of background might extend above the top border. This is noticeable only with show name. > * Except for a little blip around the label when opaque is on, nothing obscures the content region. > * The label border is tight. > > A better way might be to crop out a hole in the current border and place the name label there with a transparent background. Or layer them behind the content, but above the background. > > So… > > I don’t seem to be doing something wrong. I need to look for a workaround. > > Thoughts (all involving keeping show name off): > > 1. I could put a small-margin label into the grouped controls so it fits just inside the border in a consistent corner. > > 2 I can put an opaque label on top of my border. The background color might be chosen to be that of the named group or that of its parent. I would have to address moving the group. There might be 3 ways. a) Move the label by hand. b) Add a script to do that. c) Put both label and my group into another group, but then have to figure out “of” and “parent” in scripts. > > 3 Draw my own border and label as the group content. (However, something seems to be weird with my rectangles on Windows.) > > 4. Any ideas you folks have. > > Dar > >> On Aug 21, 2023, at 3:56 AM, Alex Tweedly via use-livecode wrote: >> >> I see those kind of changes (10.0.0DP5, MacOS), but the border changes from solid black to black/white lines - with those 'splits' you described. >> >> Alex. >> >> On 21/08/2023 01:50, Dar Scott via use-livecode wrote: >>> On Mac and LiveCode 9.6.9… >>> >>> Make a new stack. Put a few controls on it. Group them. >>> >>> Give the group a name >>> >>> Set the border width to something like 10-15 so the effect is visible. >>> >>> Turn off 3D. >>> Turn on border. >>> >>> Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. >>> >>> On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. >>> >>> Dar >>> >>> >>>> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: >>>> >>>> Weird how? The corners should be right angles. Do you see something different? >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: >>>> >>>>> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Mon Aug 21 12:58:42 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 21 Aug 2023 16:58:42 +0000 Subject: Group corners In-Reply-To: <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> Message-ID: Another thing you can do is draw the “border” the way you want in a graphic app with an alpha channel for whatever you want to be transparent. Then import that image and place it behind whatever you want a border around. Be sure to set the quality to best. If you need the “border” to change, create multiple graphics, then set the source of the image accordingly. Bob S > On Aug 21, 2023, at 9:50 AM, Dar Scott via use-livecode wrote: > > For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. — Dar > > >> On Aug 21, 2023, at 9:47 AM, Dar Scott via use-livecode wrote: >> >> I sprinkled some colors over the different object colors. I can see more of what is happening that way. >> >> Show name off: The border grows outward. If 3D is off, it has the border color. If it is on it has the bevel colors: left and top are the bottom bevel, bottom and right have the top bevel. >> >> Show name on: Again 3D changes whether the background is used for both bevel colors or the two bevel colors are used. In this case though, instead of the whole outline having the above color pattern, the border lines, do. In addition the inside border grows **inward**, covering things. Also, a background stripe above and below the top line covers things. This might be the background of the label; I couldn’t figure out how to set the alpha of colors to test that, so I use the opaque check box. Even with opaque of, objects are obscured. >> >> It looks as though instead of putting an appropriate sized label over the border for the name, the object puts the opaque label above the content and tries to draw a border on top of that. The drawing is the 3D drawing, lines have 3D, not the whole rectangle of the border. The only difference for turning off 3D is using border instead of the bevels. With 3D on, one can see what is happening. The outside line is much like without the show name half width, but with a little diagonal gap in the upper left. The inside line, grows inward :( and has gaps in the lines, including the line ends around the name label. >> >> Some behavior depends on the order I check boxes. For some experiments clear all check boxes and then turn on some. >> >> The behavior I would have hoped for is this: >> >> * The border always grows outward. >> * Adding the show name does not change the border or background; it just puts a label over it. >> * The background is in the back and extends consistently to either the inside of the border, the middle of the border or outside edge of the border. The background for the name label is the same as that for the group including the opaque modifier, so a blip of background might extend above the top border. This is noticeable only with show name. >> * Except for a little blip around the label when opaque is on, nothing obscures the content region. >> * The label border is tight. >> >> A better way might be to crop out a hole in the current border and place the name label there with a transparent background. Or layer them behind the content, but above the background. >> >> So… >> >> I don’t seem to be doing something wrong. I need to look for a workaround. >> >> Thoughts (all involving keeping show name off): >> >> 1. I could put a small-margin label into the grouped controls so it fits just inside the border in a consistent corner. >> >> 2 I can put an opaque label on top of my border. The background color might be chosen to be that of the named group or that of its parent. I would have to address moving the group. There might be 3 ways. a) Move the label by hand. b) Add a script to do that. c) Put both label and my group into another group, but then have to figure out “of” and “parent” in scripts. >> >> 3 Draw my own border and label as the group content. (However, something seems to be weird with my rectangles on Windows.) >> >> 4. Any ideas you folks have. >> >> Dar >> >>> On Aug 21, 2023, at 3:56 AM, Alex Tweedly via use-livecode wrote: >>> >>> I see those kind of changes (10.0.0DP5, MacOS), but the border changes from solid black to black/white lines - with those 'splits' you described. >>> >>> Alex. >>> >>> On 21/08/2023 01:50, Dar Scott via use-livecode wrote: >>>> On Mac and LiveCode 9.6.9… >>>> >>>> Make a new stack. Put a few controls on it. Group them. >>>> >>>> Give the group a name >>>> >>>> Set the border width to something like 10-15 so the effect is visible. >>>> >>>> Turn off 3D. >>>> Turn on border. >>>> >>>> Now, turn show name on and off. When show name is off, the border looks good. When on, the border is goofy. >>>> >>>> On my machine, when show name is on, the border gets thinner, most times. The ends of the border near the name is split into two lengths. The corners are split and some of the splits are too short. There are gaps compared to the pretty border when show name is off. >>>> >>>> Dar >>>> >>>> >>>>> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> Weird how? The corners should be right angles. Do you see something different? >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On August 18, 2023 3:47:34 PM Dar Scott via use-livecode wrote: >>>>> >>>>>> If I turn off 3D for a group, the corners of the rectangle are weird. Advice? — Dar >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 21 18:07:21 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Aug 2023 17:07:21 -0500 Subject: Group corners In-Reply-To: <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> Message-ID: <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: > For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. Tested in LC 9.6.10 RC 1. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Mon Aug 21 18:36:20 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 21 Aug 2023 22:36:20 +0000 Subject: Group corners In-Reply-To: <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> Message-ID: <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that. Bob S > On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode wrote: > > On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. > > I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. > > Tested in LC 9.6.10 RC 1. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Aug 21 21:44:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Aug 2023 20:44:17 -0500 Subject: Group corners In-Reply-To: <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> Message-ID: <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 3d. It's a plain gray border with the label appropriately placed. Three pixels works about the same. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode wrote: > Oh right! You cant have 3D with a 1 pixel border, can you?? I missed that. > > Bob S > > >> On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode >> wrote: >> >> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >>> For now, Im using a temporary solution: I am setting the border width to >>> 1. That might become a long-term workaround. >> >> I can reproduce your results. Weird thing: if I leave showName and >> showBorder on, and set the borderWidth to 4, and then turn on 3D I get a >> nice clean gray-ish border without any splits or lines. >> >> Tested in LC 9.6.10 RC 1. >> >> -- >> 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 fmoyer at aol.com Mon Aug 21 23:05:52 2023 From: fmoyer at aol.com (FRED MOYER) Date: Mon, 21 Aug 2023 23:05:52 -0400 Subject: use-livecode Digest, Vol 239, Issue 22 In-Reply-To: References: Message-ID: Thanks everyone for the answers. I think I’m ok with keysdown now — just needed to sort a few things out. Fred > On Aug 20, 2023, at 12:00 PM, use-livecode-request at lists.runrev.com wrote: > > Message: 6 > Date: Sat, 19 Aug 2023 23:36:57 +0300 > From: Richmond Mathewson > > To: FRED MOYER via use-livecode > > Subject: Re: How to search this list > Message-ID: <9bff91a6-8761-489d-9b5d-1f0dfc493a89 at gmail.com > > Content-Type: text/plain; charset=UTF-8; format=flowed > > Well, I am a keysDown 'fan', so why not just explain what your problem > is . . . > > Richmond Mathewson > > On 19.08.23 21:32, FRED MOYER via use-livecode wrote: >> It?s been a long time since I?ve used this list. I?m puzzled -- it says I can search the archives for this list at >> http://www.google.com/advanced_search?q=site:lists.runrev.com > >> >> If I search for something that I know is there (like ?CharIndex? which was in some recent posts) it doesn?t find anything. >> >> In particular, I?m looking for information about keysdown ? again no hits in that google search site. >> >> Thanks for your help. >> >> Fred Moyer >> From dsc at swcp.com Tue Aug 22 09:05:56 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Aug 2023 07:05:56 -0600 Subject: Group corners In-Reply-To: <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <674F8AAF-5F4C-42C1-831C-C51B384C4D6A@swcp.com> Yeah, the order of things seem to make a difference. It is sometimes hard to do deltas. My lazy programming style is to rebuild GUI features based on the current state whenever there is a change, and then look closer if that gets slow. > On Aug 21, 2023, at 7:44 PM, J. Landman Gay via use-livecode wrote: > > Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 3d. It's a plain gray border with the label appropriately placed. Three pixels works about the same. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode wrote: > >> Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that. >> >> Bob S >> >> >>> On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode wrote: >>> >>> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >>>> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. >>> >>> I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. >>> >>> Tested in LC 9.6.10 RC 1. >>> >>> -- >>> 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 dsc at swcp.com Tue Aug 22 12:57:20 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Aug 2023 10:57:20 -0600 Subject: Behaviors Message-ID: I am misremembering things about Behaviors. I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? From alex at tweedly.net Tue Aug 22 13:09:08 2023 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 22 Aug 2023 18:09:08 +0100 Subject: Behaviors In-Reply-To: References: Message-ID: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. So I do it all in preOpen... scripts, doing something like > set the behavior of fld "F" of grp tmpName to the long id of button > "RichTextFieldBehaviour" of \ >          card "Behaviours" of stack "/Users/alextweedly/Dropbox/My > Livecode/Libraries/richText.livecode" Alex. On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > I am misremembering things about Behaviors. > > I have a card with my behavior buttons, but I cant seem to point to buttons on that card. Maybe, Im remembering what I did long ago with front scripts. > > I suppose I can use substacks, but Im worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue Aug 22 13:12:06 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Aug 2023 11:12:06 -0600 Subject: Group corners In-Reply-To: <674F8AAF-5F4C-42C1-831C-C51B384C4D6A@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <674F8AAF-5F4C-42C1-831C-C51B384C4D6A@swcp.com> Message-ID: <84FAB4BF-3B26-48CE-BBDD-854C224A9FF1@swcp.com> Arg. There is a pixel missing in the upper left corner even when the border width is 1. — Dar > On Aug 22, 2023, at 7:05 AM, Dar Scott via use-livecode wrote: > > Yeah, the order of things seem to make a difference. It is sometimes hard to do deltas. My lazy programming style is to rebuild GUI features based on the current state whenever there is a change, and then look closer if that gets slow. > >> On Aug 21, 2023, at 7:44 PM, J. Landman Gay via use-livecode wrote: >> >> Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 3d. It's a plain gray border with the label appropriately placed. Three pixels works about the same. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode wrote: >> >>> Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that. >>> >>> Bob S >>> >>> >>>> On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode wrote: >>>> >>>> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >>>>> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. >>>> >>>> I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. >>>> >>>> Tested in LC 9.6.10 RC 1. >>>> >>>> -- >>>> 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 dsc at swcp.com Tue Aug 22 13:36:36 2023 From: dsc at swcp.com (Dar Scott) Date: Tue, 22 Aug 2023 11:36:36 -0600 Subject: Behaviors In-Reply-To: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> Message-ID: <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar > On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: > > Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. > > So I do it all in preOpen... scripts, doing something like > >> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ >> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" > > Alex. > > On 22/08/2023 17:57, Dar Scott via use-livecode wrote: >> I am misremembering things about Behaviors. >> >> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. >> >> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 22 15:05:03 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 22 Aug 2023 15:05:03 -0400 Subject: Behaviors In-Reply-To: <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> Message-ID: you probably know this: in the property inspector, there's a panel for behavior, so you can just select the behavior from a menu button, without having to type it On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode wrote: > > I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar > > > On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: > > > > Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. > > > > So I do it all in preOpen... scripts, doing something like > > > >> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ > >> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" > > > > Alex. > > > > On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > >> I am misremembering things about Behaviors. > >> > >> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. > >> > >> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Aug 22 16:08:58 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Aug 2023 15:08:58 -0500 Subject: Group corners In-Reply-To: <84FAB4BF-3B26-48CE-BBDD-854C224A9FF1@swcp.com> References: <18a0ec3c2a8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <247E8418-0CB7-4A79-9291-F251964E4212@swcp.com> <52792949-7B0F-4F38-BDBC-A3AE7F8C641A@swcp.com> <1CFAF166-6813-4FBA-94E1-59C0CAD2FD2E@swcp.com> <3ee55d42-7222-ed9e-76fb-8a8119b2e7b5@hyperactivesw.com> <744C1C8D-F279-48AE-A73D-1935EE9BFD04@iotecdigital.com> <18a1ae9fd68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <674F8AAF-5F4C-42C1-831C-C51B384C4D6A@swcp.com> <84FAB4BF-3B26-48CE-BBDD-854C224A9FF1@swcp.com> Message-ID: It's probably about time to submit a bug report. The behavior we see isn't expected. On 8/22/23 12:12 PM, Dar Scott via use-livecode wrote: > Arg. There is a pixel missing in the upper left corner even when the border width is 1. — Dar > >> On Aug 22, 2023, at 7:05 AM, Dar Scott via use-livecode wrote: >> >> Yeah, the order of things seem to make a difference. It is sometimes hard to do deltas. My lazy programming style is to rebuild GUI features based on the current state whenever there is a change, and then look closer if that gets slow. >> >>> On Aug 21, 2023, at 7:44 PM, J. Landman Gay via use-livecode wrote: >>> >>> Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 3d. It's a plain gray border with the label appropriately placed. Three pixels works about the same. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode wrote: >>> >>>> Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that. >>>> >>>> Bob S >>>> >>>> >>>>> On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote: >>>>>> For now, I’m using a temporary solution: I am setting the border width to 1. That might become a long-term workaround. >>>>> >>>>> I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or lines. >>>>> >>>>> Tested in LC 9.6.10 RC 1. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Tue Aug 22 16:43:28 2023 From: tom at makeshyft.com (Tom Glod) Date: Tue, 22 Aug 2023 16:43:28 -0400 Subject: [[ ANN ]] Release 9.6.10 RC-1 In-Reply-To: <7e9e3b20bd90462d31408ac2f6c008ab@livecode.com> References: <7e9e3b20bd90462d31408ac2f6c008ab@livecode.com> Message-ID: Interesting, when I tried to use them recently they didn't work. Will test again, maybe it was my bad, thanks Mark. On Sun, Aug 20, 2023 at 3:09 AM Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2023-08-19 21:57, Tom Glod via use-livecode wrote: > > Hello, > > > > Does this mean we have JSON support in SQLite? > > > > This is from the documentation.: > > > > In other words, the JSON functions went from being opt-in with SQLite > > version 3.37.2 and earlier to opt-out with SQLite version 3.38.0 and > > later. > > The SQLite JSON support was included in dbsqlite in 9.0.3 - > https://quality.livecode.com/show_bug.cgi?id=21821 > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 22 17:02:10 2023 From: paul at researchware.com (Paul Dupuis) Date: Tue, 22 Aug 2023 17:02:10 -0400 Subject: Polygrid questions Message-ID: I see I have the properties of a polygrid for: pgColumns -- an array of all column properties and pgColumnWidths -- a comma delimited list of widths There does not seem to be a distinct property just for alignments, such as pgColumnAlignments What I need to do is change the width and/or alignment of a specific column (that can change which column based on data). I can se no way of doing this other than repopulating the pgColumns array If I try set the pgColumnWidths of widget "rwTableview" to "300,75,75,75,75,75,75,75,75" for example, that seems to have no effect. If I try to just change one element of the column array, such as put "300" into tArray[1]["width"]; set the pgColumns of widget "rwTableview" to tArray, it replaces all the other column information (names, etc.) with defaults (as I would expect) Am I missing some syntax that will allow changing the name, label, width, alignment, or whatever property desired of a single column without touching any of the other column data already set? From dsc at swcp.com Wed Aug 23 20:00:23 2023 From: dsc at swcp.com (Dar Scott) Date: Wed, 23 Aug 2023 18:00:23 -0600 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> Message-ID: I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar > On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: > > you probably know this: in the property inspector, there's a panel for > behavior, so you can just select the behavior from a menu button, > without having to type it > > On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode > wrote: >> >> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar >> >>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: >>> >>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. >>> >>> So I do it all in preOpen... scripts, doing something like >>> >>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ >>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" >>> >>> Alex. >>> >>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: >>>> I am misremembering things about Behaviors. >>>> >>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. >>>> >>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iowahengst at mac.com Thu Aug 24 09:28:49 2023 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 24 Aug 2023 08:28:49 -0500 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Hi All, This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… take care, randy Randy Hengst classroomfocusedsoftware.com > On Jul 20, 2023, at 10:47 PM, J. Landman Gay via use-livecode wrote: > > Very useful info, thank you. Especially the part about using the token on different machines. I was duped into believing everything I read on the internet. :) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode wrote: > >>> Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode : >>> >>> Thanks Matthias. I've been reading about it and I think the cert is stored on the machine but it is tied to that computer and not exportable. >> >> >>> If you get a new computer you need to buy a new certificate. >> I don't think that is true. The new type of certificate has to be stored on a secure device. That's what the eToken is for. The private key is also stored on the eToken and the certificate and the private key cannot be exported. You should be able to use that token on multiple computers. You just have to install the eToken driver to an other computer and attach the eToken to it. >> >> This is what Trustzone is saying about it: >> "The token-based type of Standard Code Signing certificates can also be used on multiple computers. The same goes for token-based EV certificates. But no token-based certificate can ever be used simultaneously on two computers since the SafeNet token can only be plugged into one computer at a time." >> >> As i never had such eToken, i do not know, if the certificate and the private key can be accessed as files through Finder. And what extension do they have. I've read the osslsigncode can use also certificates and key files with .cem extension. >> So if the eToken contains such files, WinSignHelper could be slightly adjusted to work with the eToken. But that's just an assumption. >> >> Matthias >> >> >>> So I don't think I'll experiment, and we'll just do the whole thing on the Windows box. >>> >>> The sad part is that if we'd renewed just a couple of weeks earlier we'd have been within the cutoff date and could have purchased the old type of certificate. >>> >> Same here. I was about 5 days to late otherwise i could have ordered the olde type. >> >> >>> If anyone else has used the new token hardware I'd be grateful for any tips or suggestions. This is all new to me. >> >> I am using a cloud based OV certificate from Certum. I just need to install the Software SimplySign Desktop. The software "integrates" the certificate into Windows' certificate storage (or what ever this is called) after i logged in using that SimplySign Desktop software. >> Microsoft's signtool can then directly access the certificate. >> >> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode wrote: >>> >>>> To be honest, i do not know. >>>> I am currently using a cloud code signing certificate which i can only use on Windows. >>>> I've chosen the cloud version because of the price, but later i noticed that it seems that those cloud certificates cannot be used on macOS. >>>> Or maybe they can, but i do not know how, especially with ossl signcode >>>> WinSignHelper uses ossl signcode and currently that tool needs a path to a certificate >>>> >>>> Do you know where the certificate is stored with the eToken solution? Is it stored also on the eToken or anywhere else on the Mac? >>>> If you have the certificate as a physical file it maybe could be possible to select that file in the WinSignHelper prefs. >>>> >>>> But as i alread wrote, i really don't know exactly. >>>> >>>> I am currently thinking of purchasing a 2nd certificate as eToken solution, but there is not yet a decision made, if i should spent money for this, as i have a working cloud certificate which expires in 3 years. >>>> >>>> Regards, >>>> Matthias >>>> >>>>> Am 19.07.2023 um 22:53 schrieb J. Landman Gay via use-livecode : >>>>> >>>>> @Matthias: does the upgraded WinSignHelper work with the new hardware eTokens? Those are required now. >>>>> >>>>> If so, do the instructions change on how to use your tool? >>>>> >>>>> >>>>> On 12/23/22 10:44 AM, matthias rebbe via use-livecode wrote: >>>>>> i've upgraded my free tool WinSignHelper. >>>>>> For those who do not know what WinSignHelper is... >>>>>> It's a GUI for osslsigncode. Osslsigncode is command line tool that can do the Authenticode signing and timestamping. With it you can code sign Windows applications using an appropriate code signing certificate. >>>>>> You just drag a folder with your Windows application into WinSignHelper and it signs all components of your standalone (.exe and .dll). >>>>>> WinSignHelper Help section gives enough information about how to install osslsigncode. >>>>>> So if anyone is interested in testing.... >>>>>> The version is notarized and is an universal build for X86 and Arm >>>>>> Zip >>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.zip >>>>>> DMG >>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.dmg >>>>>> Hope this is of help for one or the other. >>>>> >>>>> >>>>> -- >>>>> 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 Thu Aug 24 09:42:59 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 24 Aug 2023 15:42:59 +0200 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: Hi Randy, > Am 24.08.2023 um 15:28 schrieb Randy Hengst via use-livecode : > > Hi All, > > This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. > I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. > Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… I once set up a help page for exactly this issue: Scroll down for the Windows stuff... Hope that helps! > take care, > randy Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From iowahengst at mac.com Thu Aug 24 09:49:04 2023 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 24 Aug 2023 08:49:04 -0500 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: <2439D939-F60B-4AE2-A4EE-76B1D05B2202@mac.com> Excellent! Thank you, Klaus. Does the current version of windows look the same as your screen shots? take care, randy Randy Hengst classroomFocusedSoftware.com > On Aug 24, 2023, at 8:42 AM, Klaus major-k via use-livecode wrote: > > Hi Randy, > >> Am 24.08.2023 um 15:28 schrieb Randy Hengst via use-livecode : >> >> Hi All, >> >> This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. >> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. >> Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… > > I once set up a help page for exactly this issue: > > > Scroll down for the Windows stuff... > Hope that helps! > >> take care, >> randy > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Aug 24 09:52:05 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 24 Aug 2023 15:52:05 +0200 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <2439D939-F60B-4AE2-A4EE-76B1D05B2202@mac.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> <2439D939-F60B-4AE2-A4EE-76B1D05B2202@mac.com> Message-ID: Hi Randy, > Am 24.08.2023 um 15:49 schrieb Randy Hengst via use-livecode : > > Excellent! Thank you, Klaus. my pleasure! > Does the current version of windows look the same as your screen shots? Sorry, no idea, my last Win version is 10, as shown in the pics. > take care, > randy > > Randy Hengst > classroomFocusedSoftware.com >> >>> Hi All, >>> This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. >>> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. >>> Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… >> I once set up a help page for exactly this issue: >> >> Scroll down for the Windows stuff... >> Hope that helps! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From derek-lc-list at speedbump.io Thu Aug 24 10:26:50 2023 From: derek-lc-list at speedbump.io (Derek Bump) Date: Thu, 24 Aug 2023 14:26:50 +0000 Subject: Linux and the search for a controllable Web Browser Message-ID: Good Day, I've been wrestling with the Browser widget on Linux long enough now that I've largely given up on using it for anything destined for a production environment. However, that has not reduced my need for a browser which I can control in my specific use-case: open a streaming video url, make it full screen, autoplay, wait for navigational input from the user (arrow keys, DEL key, etc), and close when requested. I did attempt to build a controllable browser using Neutralinojs, which showed potential. With it's configuration options, having a borderless, floating browser window appear at exact coordinates is very do-able. Unfortunately for me, the cross-origin nature of using an iframe is preventing JavaScript from forcing playback without a physical "click" from the user. Setting the URL of the Neutralinojs "browser" directly (not using iframe) resolves the cross-origin restriction, but it still required click for playback. Plus, setting the URL directly wipes out any JavaScript written, so inter-process communications disappears immediately. So that solution isn't viable. I'm thinking of attempting the same concept using Electron, but I'm betting 100% the experience will be the same. Many in the past have abused the Autoplay feature, so its largely locked down in commercial browsers at this point. I'm pretty sure I'd have to compile a custom browser from source, which I have never done before. Nor am I interested in going down that rabbit hole (yet). So I wanted to reach out to see if anyone has stumbled upon a solution for showing web pages on Linux in such a way that you can still maintain control over the browser through LiveCode? With regards to my use-case, I've (temporarily) opted to launch Firefox using "open process" (non blocking) in Kiosk mode. This is nearly producing what I need, except regaining control involves terminating Firefox when my user presses a "Universal Home" button on their remote control. Not ideal, but it works. What's frustrating is that there's a Browser Widget sitting in my toolbar which seems to work well on Windows and Mac. However, even if the widget was compatible (or I found a modern distro where it works), it still wouldn't solve my problem: LC's browser implementation has some of it's multimedia framework support turned off, so HLS is out the window. This would need to be added in by LiveCode Ltd., most likely. Am I stuck? I appreciate the help and look forward to feedback. Thank you, Derek Bump From bobsneidar at iotecdigital.com Thu Aug 24 11:20:55 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 15:20:55 +0000 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: <02940F0A-2EC5-45C3-92FF-55EB471E3AE6@iotecdigital.com> I build for Windows and do not need a certificate. I’ve run my app on Windows 10 and server 2019 without an issue. Bob S On Aug 24, 2023, at 6:28 AM, Randy Hengst via use-livecode wrote: Hi All, This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… take care, randy Randy Hengst classroomfocusedsoftware.com From bobsneidar at iotecdigital.com Thu Aug 24 11:24:58 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 15:24:58 +0000 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <02940F0A-2EC5-45C3-92FF-55EB471E3AE6@iotecdigital.com> References: <55243856-963F-4771-A49E-BA6BE3496E0E@m-r-d.de> <3f7dc1f4-fd3a-7e26-9c8d-ae6171c0380c@hyperactivesw.com> <94065A6E-BD87-4BA3-9AEA-FD98138A0A06@m-r-d.de> <18973e42d68.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <189768fb5c8.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> <02940F0A-2EC5-45C3-92FF-55EB471E3AE6@iotecdigital.com> Message-ID: <07F4836E-C325-4310-B319-9A1721840C06@iotecdigital.com> Oh right, I think I DID have to confirm that I want to run the app on both Windows and Mac. I suppose that would be an issue if I was distributing commercially. Bob S On Aug 24, 2023, at 8:20 AM, Bob Sneidar wrote: I build for Windows and do not need a certificate. I’ve run my app on Windows 10 and server 2019 without an issue. Bob S On Aug 24, 2023, at 6:28 AM, Randy Hengst via use-livecode wrote: Hi All, This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… take care, randy Randy Hengst classroomfocusedsoftware.com From bobsneidar at iotecdigital.com Thu Aug 24 11:34:02 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 15:34:02 +0000 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> Message-ID: <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> There is also the Advanced button in the property inspector (looks like one large gear with two smaller ones) where you can type the behavior, and also has the target icon. Also, you shouldn’t have to do that every time. Once should be enough if you save the stack afterwards. I note that Datagrids have no way to set the behavior, since they depend on their default behavior. It was discussed long ago when nested behaviors became a thing, that there ought to be a way to edit a list of behaviors of an object. In fact it shouldn’t be that difficult to make a Behavior Browser widget of some sort. Hmmm... Bob S > On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode wrote: > > I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar > >> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: >> >> you probably know this: in the property inspector, there's a panel for >> behavior, so you can just select the behavior from a menu button, >> without having to type it >> >> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode >> wrote: >>> >>> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar >>> >>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: >>>> >>>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. >>>> >>>> So I do it all in preOpen... scripts, doing something like >>>> >>>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ >>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" >>>> >>>> Alex. >>>> >>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: >>>>> I am misremembering things about Behaviors. >>>>> >>>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. >>>>> >>>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Thu Aug 24 11:41:07 2023 From: prothero at earthlearningsolutions.org (William Prothero) Date: Thu, 24 Aug 2023 08:41:07 -0700 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> References: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: I have an ios app that I built for myself only. I was able to load the app on my iphone for debugging. It works fine, for me, in normal use. You may be able to do the same with your friend's device. It saves a lot of the trouble with certificates, etc. you might search the forum on "sideloading". Good luck. Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On Aug 24, 2023, at 6:30 AM, Randy Hengst via use-livecode wrote: > > Hi All, > > This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. > > I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. > > Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… > > take care, > randy > > Randy Hengst > classroomfocusedsoftware.com > > > >> On Jul 20, 2023, at 10:47 PM, J. Landman Gay via use-livecode wrote: >> >> Very useful info, thank you. Especially the part about using the token on different machines. I was duped into believing everything I read on the internet. :) >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode wrote: >> >>>>> Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode : >>>>> >>>>> Thanks Matthias. I've been reading about it and I think the cert is stored on the machine but it is tied to that computer and not exportable. >>> >>> >>>> If you get a new computer you need to buy a new certificate. >>> I don't think that is true. The new type of certificate has to be stored on a secure device. That's what the eToken is for. The private key is also stored on the eToken and the certificate and the private key cannot be exported. You should be able to use that token on multiple computers. You just have to install the eToken driver to an other computer and attach the eToken to it. >>> >>> This is what Trustzone is saying about it: >>> "The token-based type of Standard Code Signing certificates can also be used on multiple computers. The same goes for token-based EV certificates. But no token-based certificate can ever be used simultaneously on two computers since the SafeNet token can only be plugged into one computer at a time." >>> >>> As i never had such eToken, i do not know, if the certificate and the private key can be accessed as files through Finder. And what extension do they have. I've read the osslsigncode can use also certificates and key files with .cem extension. >>> So if the eToken contains such files, WinSignHelper could be slightly adjusted to work with the eToken. But that's just an assumption. >>> >>> Matthias >>> >>> >>>> So I don't think I'll experiment, and we'll just do the whole thing on the Windows box. >>>> >>>> The sad part is that if we'd renewed just a couple of weeks earlier we'd have been within the cutoff date and could have purchased the old type of certificate. >>>> >>> Same here. I was about 5 days to late otherwise i could have ordered the olde type. >>> >>> >>>> If anyone else has used the new token hardware I'd be grateful for any tips or suggestions. This is all new to me. >>> >>> I am using a cloud based OV certificate from Certum. I just need to install the Software SimplySign Desktop. The software "integrates" the certificate into Windows' certificate storage (or what ever this is called) after i logged in using that SimplySign Desktop software. >>> Microsoft's signtool can then directly access the certificate. >>> >>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode wrote: >>>> >>>>> To be honest, i do not know. >>>>> I am currently using a cloud code signing certificate which i can only use on Windows. >>>>> I've chosen the cloud version because of the price, but later i noticed that it seems that those cloud certificates cannot be used on macOS. >>>>> Or maybe they can, but i do not know how, especially with ossl signcode >>>>> WinSignHelper uses ossl signcode and currently that tool needs a path to a certificate >>>>> >>>>> Do you know where the certificate is stored with the eToken solution? Is it stored also on the eToken or anywhere else on the Mac? >>>>> If you have the certificate as a physical file it maybe could be possible to select that file in the WinSignHelper prefs. >>>>> >>>>> But as i alread wrote, i really don't know exactly. >>>>> >>>>> I am currently thinking of purchasing a 2nd certificate as eToken solution, but there is not yet a decision made, if i should spent money for this, as i have a working cloud certificate which expires in 3 years. >>>>> >>>>> Regards, >>>>> Matthias >>>>> >>>>>> Am 19.07.2023 um 22:53 schrieb J. Landman Gay via use-livecode : >>>>>> >>>>>> @Matthias: does the upgraded WinSignHelper work with the new hardware eTokens? Those are required now. >>>>>> >>>>>> If so, do the instructions change on how to use your tool? >>>>>> >>>>>> >>>>>> On 12/23/22 10:44 AM, matthias rebbe via use-livecode wrote: >>>>>>> i've upgraded my free tool WinSignHelper. >>>>>>> For those who do not know what WinSignHelper is... >>>>>>> It's a GUI for osslsigncode. Osslsigncode is command line tool that can do the Authenticode signing and timestamping. With it you can code sign Windows applications using an appropriate code signing certificate. >>>>>>> You just drag a folder with your Windows application into WinSignHelper and it signs all components of your standalone (.exe and .dll). >>>>>>> WinSignHelper Help section gives enough information about how to install osslsigncode. >>>>>>> So if anyone is interested in testing.... >>>>>>> The version is notarized and is an universal build for X86 and Arm >>>>>>> Zip >>>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.zip >>>>>>> DMG >>>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.dmg >>>>>>> Hope this is of help for one or the other. >>>>>> >>>>>> >>>>>> -- >>>>>> 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 iowahengst at mac.com Thu Aug 24 12:12:59 2023 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 24 Aug 2023 11:12:59 -0500 Subject: OT - a new release of WinSignHelper for macOS In-Reply-To: References: <5F4F3C53-8F3C-4386-85A4-B22AFFD13852@mac.com> Message-ID: <37049104-641F-4777-9D50-086CD885EA3F@mac.com> I built for windows using 9.6.9… just heard from my friend that he could open the app. Thanks all for the ideas and information. take care, randy Randy Hengst classroomfocusedsoftware.com > On Aug 24, 2023, at 10:41 AM, William Prothero via use-livecode wrote: > > I have an ios app that I built for myself only. I was able to load the app on my iphone for debugging. It works fine, for me, in normal use. You may be able to do the same with your friend's device. It saves a lot of the trouble with certificates, etc. you might search the forum on "sideloading". > > Good luck. > Bill > > William A. Prothero, PhD > Prof Emeritus, Dept of Earth Science > University of California, Santa Barbara > >> On Aug 24, 2023, at 6:30 AM, Randy Hengst via use-livecode wrote: >> >> Hi All, >> >> This all very interesting. I haven’t built for windows in about 10 years. So, I’ve never messed with signing certificates. >> >> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight forward. But, I’m trying to build an app only for a friend to use for free and, so, I’m not too keen on buying a certificate for $100+ every year. >> >> Is there a way for folks to open an app on windows that is not signed? …like you can do on a Mac after the scary alert… >> >> take care, >> randy >> >> Randy Hengst >> classroomfocusedsoftware.com >> >> >> >>> On Jul 20, 2023, at 10:47 PM, J. Landman Gay via use-livecode wrote: >>> >>> Very useful info, thank you. Especially the part about using the token on different machines. I was duped into believing everything I read on the internet. :) >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode wrote: >>> >>>>>> Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode : >>>>>> >>>>>> Thanks Matthias. I've been reading about it and I think the cert is stored on the machine but it is tied to that computer and not exportable. >>>> >>>> >>>>> If you get a new computer you need to buy a new certificate. >>>> I don't think that is true. The new type of certificate has to be stored on a secure device. That's what the eToken is for. The private key is also stored on the eToken and the certificate and the private key cannot be exported. You should be able to use that token on multiple computers. You just have to install the eToken driver to an other computer and attach the eToken to it. >>>> >>>> This is what Trustzone is saying about it: >>>> "The token-based type of Standard Code Signing certificates can also be used on multiple computers. The same goes for token-based EV certificates. But no token-based certificate can ever be used simultaneously on two computers since the SafeNet token can only be plugged into one computer at a time." >>>> >>>> As i never had such eToken, i do not know, if the certificate and the private key can be accessed as files through Finder. And what extension do they have. I've read the osslsigncode can use also certificates and key files with .cem extension. >>>> So if the eToken contains such files, WinSignHelper could be slightly adjusted to work with the eToken. But that's just an assumption. >>>> >>>> Matthias >>>> >>>> >>>>> So I don't think I'll experiment, and we'll just do the whole thing on the Windows box. >>>>> >>>>> The sad part is that if we'd renewed just a couple of weeks earlier we'd have been within the cutoff date and could have purchased the old type of certificate. >>>>> >>>> Same here. I was about 5 days to late otherwise i could have ordered the olde type. >>>> >>>> >>>>> If anyone else has used the new token hardware I'd be grateful for any tips or suggestions. This is all new to me. >>>> >>>> I am using a cloud based OV certificate from Certum. I just need to install the Software SimplySign Desktop. The software "integrates" the certificate into Windows' certificate storage (or what ever this is called) after i logged in using that SimplySign Desktop software. >>>> Microsoft's signtool can then directly access the certificate. >>>> >>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode wrote: >>>>> >>>>>> To be honest, i do not know. >>>>>> I am currently using a cloud code signing certificate which i can only use on Windows. >>>>>> I've chosen the cloud version because of the price, but later i noticed that it seems that those cloud certificates cannot be used on macOS. >>>>>> Or maybe they can, but i do not know how, especially with ossl signcode >>>>>> WinSignHelper uses ossl signcode and currently that tool needs a path to a certificate >>>>>> >>>>>> Do you know where the certificate is stored with the eToken solution? Is it stored also on the eToken or anywhere else on the Mac? >>>>>> If you have the certificate as a physical file it maybe could be possible to select that file in the WinSignHelper prefs. >>>>>> >>>>>> But as i alread wrote, i really don't know exactly. >>>>>> >>>>>> I am currently thinking of purchasing a 2nd certificate as eToken solution, but there is not yet a decision made, if i should spent money for this, as i have a working cloud certificate which expires in 3 years. >>>>>> >>>>>> Regards, >>>>>> Matthias >>>>>> >>>>>>> Am 19.07.2023 um 22:53 schrieb J. Landman Gay via use-livecode : >>>>>>> >>>>>>> @Matthias: does the upgraded WinSignHelper work with the new hardware eTokens? Those are required now. >>>>>>> >>>>>>> If so, do the instructions change on how to use your tool? >>>>>>> >>>>>>> >>>>>>> On 12/23/22 10:44 AM, matthias rebbe via use-livecode wrote: >>>>>>>> i've upgraded my free tool WinSignHelper. >>>>>>>> For those who do not know what WinSignHelper is... >>>>>>>> It's a GUI for osslsigncode. Osslsigncode is command line tool that can do the Authenticode signing and timestamping. With it you can code sign Windows applications using an appropriate code signing certificate. >>>>>>>> You just drag a folder with your Windows application into WinSignHelper and it signs all components of your standalone (.exe and .dll). >>>>>>>> WinSignHelper Help section gives enough information about how to install osslsigncode. >>>>>>>> So if anyone is interested in testing.... >>>>>>>> The version is notarized and is an universal build for X86 and Arm >>>>>>>> Zip >>>>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.zip >>>>>>>> DMG >>>>>>>> https://dl.qck.nu/?dl=WinSignHelper_universal.dmg >>>>>>>> Hope this is of help for one or the other. >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bleiler at buffalo.edu Thu Aug 24 13:02:32 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Thu, 24 Aug 2023 17:02:32 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in Message-ID: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> Hi all, I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. Code signing seems to work fine but when I get to the Notarization step I always get an "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. So far, this is what I’ve tried with the same result 1) Verified developer account in good status with Apple 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, 3) Multiple checks of my credentials in the parameters I’m using 4) Setting up a new app specific password on my account 5) Trying with a different Livecode application 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. 7) Repeat everything on a brand new user account on my Mac 8) Sought help through devprograms at apple.com I’ve done codesigning and notarization many times before with the same developer account with no issues. What’s new here for me is using NotaryTool and the app-specific password. I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) Thanks, Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo From MikeKerner at roadrunner.com Thu Aug 24 13:15:57 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 24 Aug 2023 13:15:57 -0400 Subject: Behaviors In-Reply-To: <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> Message-ID: i'm pretty sure you can set a dg's behavior. then you would set the behavior of that behavior to the button behavior (button id 1005 of stack "revDataGridLibrary"), OR you can include THAT script, separately, set that as the behavior, and modify it (but, what you should really do is remove your dg's and replace them with pg's, imho. they're much faster and more flexible and powerful). the project browser has a button for each behavior in the chain of an object. i'm pretty sure that levure baker's assistant does, too. On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode wrote: > > There is also the Advanced button in the property inspector (looks like one large gear with two smaller ones) where you can type the behavior, and also has the target icon. Also, you shouldn’t have to do that every time. Once should be enough if you save the stack afterwards. > > I note that Datagrids have no way to set the behavior, since they depend on their default behavior. It was discussed long ago when nested behaviors became a thing, that there ought to be a way to edit a list of behaviors of an object. In fact it shouldn’t be that difficult to make a Behavior Browser widget of some sort. Hmmm... > > Bob S > > > > On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode wrote: > > > > I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar > > > >> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: > >> > >> you probably know this: in the property inspector, there's a panel for > >> behavior, so you can just select the behavior from a menu button, > >> without having to type it > >> > >> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode > >> wrote: > >>> > >>> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar > >>> > >>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: > >>>> > >>>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. > >>>> > >>>> So I do it all in preOpen... scripts, doing something like > >>>> > >>>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ > >>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" > >>>> > >>>> Alex. > >>>> > >>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > >>>>> I am misremembering things about Behaviors. > >>>>> > >>>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. > >>>>> > >>>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> > >> -- > >> On the first day, God created the heavens and the Earth > >> On the second day, God created the oceans. > >> On the third day, God put the animals on hold for a few hours, > >> and did a little diving. > >> And God said, "This is good." > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 bobsneidar at iotecdigital.com Thu Aug 24 14:11:44 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 18:11:44 +0000 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> Message-ID: Ah thanks for that. Yes, I knew how to nest behaviors for datagrids, but I never use the Project Browser because of issues I had many years ago. I may have another look. What is a “pg”? I make extensive use of Datagrid properties, and whatever I might replace them with needs to provide ALL their functionality. Bob S > On Aug 24, 2023, at 10:15 AM, Mike Kerner via use-livecode wrote: > > i'm pretty sure you can set a dg's behavior. then you would set the > behavior of that behavior to the button behavior (button id 1005 of > stack "revDataGridLibrary"), OR you can include THAT script, > separately, set that as the behavior, and modify it > (but, what you should really do is remove your dg's and replace them > with pg's, imho. they're much faster and more flexible and powerful). > the project browser has a button for each behavior in the chain of an > object. i'm pretty sure that levure baker's assistant does, too. > > On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode > wrote: >> >> There is also the Advanced button in the property inspector (looks like one large gear with two smaller ones) where you can type the behavior, and also has the target icon. Also, you shouldn’t have to do that every time. Once should be enough if you save the stack afterwards. >> >> I note that Datagrids have no way to set the behavior, since they depend on their default behavior. It was discussed long ago when nested behaviors became a thing, that there ought to be a way to edit a list of behaviors of an object. In fact it shouldn’t be that difficult to make a Behavior Browser widget of some sort. Hmmm... >> >> Bob S >> >> >>> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode wrote: >>> >>> I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar >>> >>>> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: >>>> >>>> you probably know this: in the property inspector, there's a panel for >>>> behavior, so you can just select the behavior from a menu button, >>>> without having to type it >>>> >>>> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode >>>> wrote: >>>>> >>>>> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar >>>>> >>>>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: >>>>>> >>>>>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. >>>>>> >>>>>> So I do it all in preOpen... scripts, doing something like >>>>>> >>>>>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ >>>>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" >>>>>> >>>>>> Alex. >>>>>> >>>>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: >>>>>>> I am misremembering things about Behaviors. >>>>>>> >>>>>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. >>>>>>> >>>>>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> -- >>>> On the first day, God created the heavens and the Earth >>>> On the second day, God created the oceans. >>>> On the third day, God put the animals on hold for a few hours, >>>> and did a little diving. >>>> And God said, "This is good." >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Aug 24 14:26:28 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 14:26:28 -0400 Subject: Polygrid columns not fully clearing when pgColumns is set Message-ID: Hi to any polygrid developers out there, Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed Any thoughts to a work-around? From paul at researchware.com Thu Aug 24 14:30:31 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 14:30:31 -0400 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: References: Message-ID: Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. Perhaps this is a documentation bug? On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: > Hi to any polygrid developers out there, > > Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 > > I have run into an issue with the latest polygrid (as of this post) > where if you set pgColumns to a new array that reduces the number of > columns in the grid, some old columns are not cleared, but instead are > set to defaults (ie. the names revert to col5, col6, etc. instead of > being completely removed > > Any thoughts to a work-around? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 24 14:34:02 2023 From: klaus at major-k.de (Klaus major-k) Date: Thu, 24 Aug 2023 20:34:02 +0200 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: References: Message-ID: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> Hi Paul, > Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode : > > Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns > You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. > Perhaps this is a documentation bug? I had success by setting the dgColumns to EMPTY first and later to the new "fewer" columns: ## Button "Fewer Columns" on mouseUp pMouseButton local tColA, tDataA local tSum lock screen ## !! set the pgColumns of widget "myTable" to EMPTY ## !! put "rowname" into tColA[1]["name"] ... > On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: >> Hi to any polygrid developers out there, >> >> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 >> >> I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed >> >> Any thoughts to a work-around? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From paul at researchware.com Thu Aug 24 16:26:04 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 16:26:04 -0400 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> References: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> Message-ID: Thanks Klaus. I may use this method rather than the overhead of clearing and setting the whole pgData property. Actually, the more I think about it, neither "method" should be needed. This is a polygrid bug. If you set the pgColumsn to fewer column, regardless of whether there is left over data in pgData, only the columns in the currently set pgColumns should be seen. On 8/24/2023 2:34 PM, Klaus major-k via use-livecode wrote: > Hi Paul, > >> Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode : >> >> Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns >> You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. >> Perhaps this is a documentation bug? > I had success by setting the dgColumns to EMPTY first and later to the new "fewer" columns: > ## Button "Fewer Columns" > on mouseUp pMouseButton > local tColA, tDataA > local tSum > lock screen > > ## !! > set the pgColumns of widget "myTable" to EMPTY > ## !! > > put "rowname" into tColA[1]["name"] > ... > >> On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: >>> Hi to any polygrid developers out there, >>> >>> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 >>> >>> I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed >>> >>> Any thoughts to a work-around? > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Aug 24 16:48:55 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 24 Aug 2023 22:48:55 +0200 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> Message-ID: Timothy, so running the following command from step 7.1.2 of that lesson xcrun notarytool submit --apple-id "" --password "" --team-id --wait "" gives you the 401 error or are you using the parameter --keychain-profile instead of the three parameters --password,--team-id and --apple-id? If using the above command, then could you please run the command again from command line and add --verbose to enable a detailed log and send the log file to me in a private email? If the second, then did you create a new keychain profile as described in chapter 8 of that lesson? Regards, Matthias > Am 24.08.2023 um 19:02 schrieb Timothy Bleiler via use-livecode : > > Hi all, > > I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. > > I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. > Code signing seems to work fine but when I get to the Notarization step I always get an > "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. > > I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. > > So far, this is what I’ve tried with the same result > > 1) Verified developer account in good status with Apple > 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, > 3) Multiple checks of my credentials in the parameters I’m using > 4) Setting up a new app specific password on my account > 5) Trying with a different Livecode application > 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. > > 7) Repeat everything on a brand new user account on my Mac > 8) Sought help through devprograms at apple.com > > > I’ve done codesigning and notarization many times before with the same developer account with no issues. > What’s new here for me is using NotaryTool and the app-specific password. > > I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) > > Thanks, > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Aug 24 16:53:06 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 24 Aug 2023 20:53:06 +0000 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: References: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> Message-ID: Why not get the pgColumns first, alter only the array element needed for the specific column(s), then set the pgColumns of the PolyGrid? Bob S > On Aug 24, 2023, at 1:26 PM, Paul Dupuis via use-livecode wrote: > > Thanks Klaus. > > I may use this method rather than the overhead of clearing and setting the whole pgData property. > > Actually, the more I think about it, neither "method" should be needed. This is a polygrid bug. If you set the pgColumsn to fewer column, regardless of whether there is left over data in pgData, only the columns in the currently set pgColumns should be seen. > > > On 8/24/2023 2:34 PM, Klaus major-k via use-livecode wrote: >> Hi Paul, >> >>> Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode : >>> >>> Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns >>> You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. >>> Perhaps this is a documentation bug? >> I had success by setting the dgColumns to EMPTY first and later to the new "fewer" columns: >> ## Button "Fewer Columns" >> on mouseUp pMouseButton >> local tColA, tDataA >> local tSum >> lock screen >> >> ## !! >> set the pgColumns of widget "myTable" to EMPTY >> ## !! >> >> put "rowname" into tColA[1]["name"] >> ... >> >>> On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: >>>> Hi to any polygrid developers out there, >>>> >>>> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 >>>> >>>> I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed >>>> >>>> Any thoughts to a work-around? >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Aug 24 17:49:36 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 17:49:36 -0400 Subject: Polygrid columns not fully clearing when pgColumns is set In-Reply-To: References: <8C4479DE-8456-456E-82A8-84AE2FDAC828@major-k.de> Message-ID: <540a48b9-8965-b2c9-ef2a-06ead0677240@researchware.com> In this particular case, the table being displayed in the polygrid is based on datasets that researcher loads into our application and the number of rows and columns can vary widely as well as the column names/labels and type of data. Rather than conduct a large analysis to determine which of N columns (and it could be 0 to N) have changed, it is easier to update pgColumns. In one dataset N could be 3 and in the next 1500 (yes, for real) On 8/24/2023 4:53 PM, Bob Sneidar via use-livecode wrote: > Why not get the pgColumns first, alter only the array element needed for the specific column(s), then set the pgColumns of the PolyGrid? > > Bob S > > >> On Aug 24, 2023, at 1:26 PM, Paul Dupuis via use-livecode wrote: >> >> Thanks Klaus. >> >> I may use this method rather than the overhead of clearing and setting the whole pgData property. >> >> Actually, the more I think about it, neither "method" should be needed. This is a polygrid bug. If you set the pgColumsn to fewer column, regardless of whether there is left over data in pgData, only the columns in the currently set pgColumns should be seen. >> >> >> On 8/24/2023 2:34 PM, Klaus major-k via use-livecode wrote: >>> Hi Paul, >>> >>>> Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode : >>>> >>>> Aha, I was setting pgColumns to the fewer columns and THEN pgData to the smaller data set to match the columns >>>> You need to clear the pgData (set to empty) first, then set the columns, then set the new pgData. >>>> Perhaps this is a documentation bug? >>> I had success by setting the dgColumns to EMPTY first and later to the new "fewer" columns: >>> ## Button "Fewer Columns" >>> on mouseUp pMouseButton >>> local tColA, tDataA >>> local tSum >>> lock screen >>> >>> ## !! >>> set the pgColumns of widget "myTable" to EMPTY >>> ## !! >>> >>> put "rowname" into tColA[1]["name"] >>> ... >>> >>>> On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote: >>>>> Hi to any polygrid developers out there, >>>>> >>>>> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315 >>>>> >>>>> I have run into an issue with the latest polygrid (as of this post) where if you set pgColumns to a new array that reduces the number of columns in the grid, some old columns are not cleared, but instead are set to defaults (ie. the names revert to col5, col6, etc. instead of being completely removed >>>>> >>>>> Any thoughts to a work-around? >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> https://www.major-k.de/bass >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Aug 24 19:17:27 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 24 Aug 2023 19:17:27 -0400 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> Message-ID: polygrid the api is similar, but they also have some nice additional features. i have ripped all my dg's and replaced them with pg's. now, if you're using custom templates, have a look at the pl - polyList. On Thu, Aug 24, 2023 at 2:12 PM Bob Sneidar via use-livecode wrote: > > Ah thanks for that. Yes, I knew how to nest behaviors for datagrids, but I never use the Project Browser because of issues I had many years ago. I may have another look. > > What is a “pg”? I make extensive use of Datagrid properties, and whatever I might replace them with needs to provide ALL their functionality. > > Bob S > > > > On Aug 24, 2023, at 10:15 AM, Mike Kerner via use-livecode wrote: > > > > i'm pretty sure you can set a dg's behavior. then you would set the > > behavior of that behavior to the button behavior (button id 1005 of > > stack "revDataGridLibrary"), OR you can include THAT script, > > separately, set that as the behavior, and modify it > > (but, what you should really do is remove your dg's and replace them > > with pg's, imho. they're much faster and more flexible and powerful). > > the project browser has a button for each behavior in the chain of an > > object. i'm pretty sure that levure baker's assistant does, too. > > > > On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode > > wrote: > >> > >> There is also the Advanced button in the property inspector (looks like one large gear with two smaller ones) where you can type the behavior, and also has the target icon. Also, you shouldn’t have to do that every time. Once should be enough if you save the stack afterwards. > >> > >> I note that Datagrids have no way to set the behavior, since they depend on their default behavior. It was discussed long ago when nested behaviors became a thing, that there ought to be a way to edit a list of behaviors of an object. In fact it shouldn’t be that difficult to make a Behavior Browser widget of some sort. Hmmm... > >> > >> Bob S > >> > >> > >>> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode wrote: > >>> > >>> I, too, have discovered the target icon to the right of the behavior object field in the property inspector. Alas, using that that I see only buttons on the current card (and stacks). I don’t see a way to navigate to a different card and select a button there. I might have missed it. — Dar > >>> > >>>> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode wrote: > >>>> > >>>> you probably know this: in the property inspector, there's a panel for > >>>> behavior, so you can just select the behavior from a menu button, > >>>> without having to type it > >>>> > >>>> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode > >>>> wrote: > >>>>> > >>>>> I figured out how to do it in the IDE. I needed to include “of stack” in the reference. — Dar > >>>>> > >>>>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode wrote: > >>>>>> > >>>>>> Not sure how it works in the IDE - seems a problem because it only presents button in the current stack. > >>>>>> > >>>>>> So I do it all in preOpen... scripts, doing something like > >>>>>> > >>>>>>> set the behavior of fld "F" of grp tmpName to the long id of button "RichTextFieldBehaviour" of \ > >>>>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My Livecode/Libraries/richText.livecode" > >>>>>> > >>>>>> Alex. > >>>>>> > >>>>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > >>>>>>> I am misremembering things about Behaviors. > >>>>>>> > >>>>>>> I have a card with my behavior buttons, but I can’t seem to point to buttons on that card. Maybe, I’m remembering what I did long ago with front scripts. > >>>>>>> > >>>>>>> I suppose I can use substacks, but I’m worried that the stacks would be in the message path. Is there a way to keep the stack out of the message path? > >>>>>>> _______________________________________________ > >>>>>>> use-livecode mailing list > >>>>>>> use-livecode at lists.runrev.com > >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>>> > >>>> > >>>> -- > >>>> On the first day, God created the heavens and the Earth > >>>> On the second day, God created the oceans. > >>>> On the third day, God put the animals on hold for a few hours, > >>>> and did a little diving. > >>>> And God said, "This is good." > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From paul at researchware.com Thu Aug 24 19:56:29 2023 From: paul at researchware.com (Paul Dupuis) Date: Thu, 24 Aug 2023 19:56:29 -0400 Subject: Polygrid sorting Message-ID: The Polygrid, unlike the Datagrid, has no built in column sorting. You have to roll your own. Before I write my own, has anyone written a column sort (i.e click on a column header to sort by it) for a Poly grid they'd care to share? From gcanyon at gmail.com Thu Aug 24 22:04:04 2023 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 24 Aug 2023 22:04:04 -0400 Subject: Behaviors In-Reply-To: References: <6a88a801-283f-4b5f-86b0-77e44f57d7da@tweedly.net> <77958622-E960-4C90-97CC-AE3FC21CF1D7@swcp.com> <2AA4D973-C0B6-4E7E-B169-DC724C89C35E@iotecdigital.com> Message-ID: I'll admit it's not very intuitive, but: In Navigator, right-click any button. On the context menu, select Copy > Objects. Navigate to any control or card, stack, etc. Bookmarks are fine for this as well. Right-click any other control. On the context menu, select Set Copied Btn as Behavior. On Thu, Aug 24, 2023 at 7:19 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > polygrid > the api is similar, but they also have some nice additional features. > i have ripped all my dg's and replaced them with pg's. > now, if you're using custom templates, have a look at the pl - polyList. > > On Thu, Aug 24, 2023 at 2:12 PM Bob Sneidar via use-livecode > wrote: > > > > Ah thanks for that. Yes, I knew how to nest behaviors for datagrids, but > I never use the Project Browser because of issues I had many years ago. I > may have another look. > > > > What is a “pg”? I make extensive use of Datagrid properties, and > whatever I might replace them with needs to provide ALL their functionality. > > > > Bob S > > > > > > > On Aug 24, 2023, at 10:15 AM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > i'm pretty sure you can set a dg's behavior. then you would set the > > > behavior of that behavior to the button behavior (button id 1005 of > > > stack "revDataGridLibrary"), OR you can include THAT script, > > > separately, set that as the behavior, and modify it > > > (but, what you should really do is remove your dg's and replace them > > > with pg's, imho. they're much faster and more flexible and powerful). > > > the project browser has a button for each behavior in the chain of an > > > object. i'm pretty sure that levure baker's assistant does, too. > > > > > > On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode > > > wrote: > > >> > > >> There is also the Advanced button in the property inspector (looks > like one large gear with two smaller ones) where you can type the behavior, > and also has the target icon. Also, you shouldn’t have to do that every > time. Once should be enough if you save the stack afterwards. > > >> > > >> I note that Datagrids have no way to set the behavior, since they > depend on their default behavior. It was discussed long ago when nested > behaviors became a thing, that there ought to be a way to edit a list of > behaviors of an object. In fact it shouldn’t be that difficult to make a > Behavior Browser widget of some sort. Hmmm... > > >> > > >> Bob S > > >> > > >> > > >>> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > > >>> > > >>> I, too, have discovered the target icon to the right of the behavior > object field in the property inspector. Alas, using that that I see only > buttons on the current card (and stacks). I don’t see a way to navigate to > a different card and select a button there. I might have missed it. — Dar > > >>> > > >>>> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > >>>> > > >>>> you probably know this: in the property inspector, there's a panel > for > > >>>> behavior, so you can just select the behavior from a menu button, > > >>>> without having to type it > > >>>> > > >>>> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode > > >>>> wrote: > > >>>>> > > >>>>> I figured out how to do it in the IDE. I needed to include “of > stack” in the reference. — Dar > > >>>>> > > >>>>>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode < > use-livecode at lists.runrev.com> wrote: > > >>>>>> > > >>>>>> Not sure how it works in the IDE - seems a problem because it > only presents button in the current stack. > > >>>>>> > > >>>>>> So I do it all in preOpen... scripts, doing something like > > >>>>>> > > >>>>>>> set the behavior of fld "F" of grp tmpName to the long id of > button "RichTextFieldBehaviour" of \ > > >>>>>>> card "Behaviours" of stack "/Users/alextweedly/Dropbox/My > Livecode/Libraries/richText.livecode" > > >>>>>> > > >>>>>> Alex. > > >>>>>> > > >>>>>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote: > > >>>>>>> I am misremembering things about Behaviors. > > >>>>>>> > > >>>>>>> I have a card with my behavior buttons, but I can’t seem to > point to buttons on that card. Maybe, I’m remembering what I did long ago > with front scripts. > > >>>>>>> > > >>>>>>> I suppose I can use substacks, but I’m worried that the stacks > would be in the message path. Is there a way to keep the stack out of the > message path? > > >>>>>>> _______________________________________________ > > >>>>>>> use-livecode mailing list > > >>>>>>> use-livecode at lists.runrev.com > > >>>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>>>> > > >>>>>> _______________________________________________ > > >>>>>> use-livecode mailing list > > >>>>>> use-livecode at lists.runrev.com > > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>>>> > > >>>>> > > >>>>> > > >>>>> _______________________________________________ > > >>>>> use-livecode mailing list > > >>>>> use-livecode at lists.runrev.com > > >>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>> > > >>>> > > >>>> > > >>>> -- > > >>>> On the first day, God created the heavens and the Earth > > >>>> On the second day, God created the oceans. > > >>>> On the third day, God put the animals on hold for a few hours, > > >>>> and did a little diving. > > >>>> And God said, "This is good." > > >>>> > > >>>> _______________________________________________ > > >>>> use-livecode mailing list > > >>>> use-livecode at lists.runrev.com > > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>> > > >>> > > >>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > -- > > > On the first day, God created the heavens and the Earth > > > On the second day, God created the oceans. > > > On the third day, God put the animals on hold for a few hours, > > > and did a little diving. > > > And God said, "This is good." > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > 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 heather at livecode.com Fri Aug 25 04:13:14 2023 From: heather at livecode.com (Heather Laine) Date: Fri, 25 Aug 2023 09:13:14 +0100 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> Message-ID: <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. Probably not the issue but you never know... Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: > > Hi all, > > I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. > > I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. > Code signing seems to work fine but when I get to the Notarization step I always get an > "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. > > I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. > > So far, this is what I’ve tried with the same result > > 1) Verified developer account in good status with Apple > 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, > 3) Multiple checks of my credentials in the parameters I’m using > 4) Setting up a new app specific password on my account > 5) Trying with a different Livecode application > 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. > > 7) Repeat everything on a brand new user account on my Mac > 8) Sought help through devprograms at apple.com > > > I’ve done codesigning and notarization many times before with the same developer account with no issues. > What’s new here for me is using NotaryTool and the app-specific password. > > I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) > > Thanks, > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Fri Aug 25 05:16:44 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 25 Aug 2023 12:16:44 +0300 Subject: Polygrid sorting In-Reply-To: References: Message-ID: Hello Paul, See the example in the dictionary for the "headerClick" message: local sDirection on headerClick pColumnNumber local tText put the text of me into tText put not sDirection[pColumnNumber] into sDirection[pColumnNumber] set the itemDel to tab # Sort data by this column. if sDirection[pColumnNumber] then sort lines of tText ascending by item pColumnNumber of each else sort lines of tText descending by item pColumnNumber of each end if set the text of me to tText end headerClick Kind regards, Panos -- On Fri, 25 Aug 2023 at 02:57, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > The Polygrid, unlike the Datagrid, has no built in column sorting. You > have to roll your own. > > Before I write my own, has anyone written a column sort (i.e click on a > column header to sort by it) for a Poly grid they'd care to share? > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Fri Aug 25 07:04:21 2023 From: paul at researchware.com (Paul Dupuis) Date: Fri, 25 Aug 2023 07:04:21 -0400 Subject: Polygrid sorting In-Reply-To: References: Message-ID: Thank you Panos! I must be going blind not to have seen the example when I clicked on the Dictionary entry for the message! On 8/25/2023 5:16 AM, panagiotis m via use-livecode wrote: > Hello Paul, > > See the example in the dictionary for the "headerClick" message: > > local sDirection > > on headerClick pColumnNumber > local tText > > put the text of me into tText > put not sDirection[pColumnNumber] into sDirection[pColumnNumber] > > set the itemDel to tab > > # Sort data by this column. > if sDirection[pColumnNumber] then > sort lines of tText ascending by item pColumnNumber of each > else > sort lines of tText descending by item pColumnNumber of each > end if > > set the text of me to tText > end headerClick > > Kind regards, > Panos > > -- > > On Fri, 25 Aug 2023 at 02:57, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> The Polygrid, unlike the Datagrid, has no built in column sorting. You >> have to roll your own. >> >> Before I write my own, has anyone written a column sort (i.e click on a >> column header to sort by it) for a Poly grid they'd care to share? >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Fri Aug 25 09:10:22 2023 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Fri, 25 Aug 2023 13:10:22 +0000 Subject: Merging PDF pages Message-ID: It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? Thanks. ~Roger From craig at starfirelighting.com Fri Aug 25 09:33:44 2023 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 25 Aug 2023 09:33:44 -0400 Subject: Merging PDF pages In-Reply-To: References: Message-ID: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> Hi. Sure. Try this in a button on card 1 of a new stack with, say, three cards: on mouseUp get the desktop folder open printing to pdf it & "/" & “yourNamehere" & ".pdf" repeat with x = 1 to 3 print card x end repeat close printing end mouseUp And I wonder if the new pdf widget has that built in. Craig > On Aug 25, 2023, at 9:10 AM, Eller, Roger via use-livecode wrote: > > It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? > > Thanks. > > ~Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Aug 25 09:39:56 2023 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 25 Aug 2023 09:39:56 -0400 Subject: Merging PDF pages In-Reply-To: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> References: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> Message-ID: <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> Hmmm. Rereading, did you want to be able to collect existing pdf documents, read them, and then output a single new PDF? If so, I guess you can import those documents as images on successive cards, and do what I posted earlier. Seems clunky, but then you are asking LC to do something clunky. Craig > On Aug 25, 2023, at 9:33 AM, Craig Newman via use-livecode wrote: > > Hi. > > Sure. Try this in a button on card 1 of a new stack with, say, three cards: > > on mouseUp > > get the desktop folder > > open printing to pdf it & "/" & “yourNamehere" & ".pdf" > > repeat with x = 1 to 3 > > print card x > > end repeat > > close printing > > end mouseUp > > > > And I wonder if the new pdf widget has that built in. > > > > Craig > > >> On Aug 25, 2023, at 9:10 AM, Eller, Roger via use-livecode wrote: >> >> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >> >> Thanks. >> >> ~Roger >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Aug 25 09:58:10 2023 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 25 Aug 2023 16:58:10 +0300 Subject: Merging PDF pages In-Reply-To: <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> References: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> Message-ID: <89e805a0-da4d-4468-ac39-f79d31e2268e@gmail.com> Humph . . . importing documents at images and then knitting them together . . . be aware that you will lose one the most valuable things about a PDF document: the embedded text layer. Richmond. On 25.08.23 16:39, Craig Newman via use-livecode wrote: > Hmmm. > > Rereading, did you want to be able to collect existing pdf documents, read them, and then output a single new PDF? If so, I guess you can import those documents as images on successive cards, and do what I posted earlier. > > Seems clunky, but then you are asking LC to do something clunky. > > Craig > >> On Aug 25, 2023, at 9:33 AM, Craig Newman via use-livecode wrote: >> >> Hi. >> >> Sure. Try this in a button on card 1 of a new stack with, say, three cards: >> >> on mouseUp >> >> get the desktop folder >> >> open printing to pdf it & "/" & yourNamehere" & ".pdf" >> >> repeat with x = 1 to 3 >> >> print card x >> >> end repeat >> >> close printing >> >> end mouseUp >> >> >> >> And I wonder if the new pdf widget has that built in. >> >> >> >> Craig >> >> >>> On Aug 25, 2023, at 9:10 AM, Eller, Roger via use-livecode wrote: >>> >>> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >>> >>> Thanks. >>> >>> ~Roger >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Aug 25 10:03:02 2023 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 25 Aug 2023 10:03:02 -0400 Subject: Merging PDF pages In-Reply-To: <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> References: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> Message-ID: <73387718-83BB-469A-AE58-137DB4F8C1D9@starfirelighting.com> Richmond. Did I mention this was a bit clunky? Craig > On Aug 25, 2023, at 9:39 AM, Craig Newman via use-livecode wrote: > > Hmmm. > > Rereading, did you want to be able to collect existing pdf documents, read them, and then output a single new PDF? If so, I guess you can import those documents as images on successive cards, and do what I posted earlier. > > Seems clunky, but then you are asking LC to do something clunky. > > Craig > >> On Aug 25, 2023, at 9:33 AM, Craig Newman via use-livecode wrote: >> >> Hi. >> >> Sure. Try this in a button on card 1 of a new stack with, say, three cards: >> >> on mouseUp >> >> get the desktop folder >> >> open printing to pdf it & "/" & “yourNamehere" & ".pdf" >> >> repeat with x = 1 to 3 >> >> print card x >> >> end repeat >> >> close printing >> >> end mouseUp >> >> >> >> And I wonder if the new pdf widget has that built in. >> >> >> >> Craig >> >> >>> On Aug 25, 2023, at 9:10 AM, Eller, Roger via use-livecode wrote: >>> >>> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >>> >>> Thanks. >>> >>> ~Roger >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri Aug 25 10:22:07 2023 From: paul at researchware.com (Paul Dupuis) Date: Fri, 25 Aug 2023 10:22:07 -0400 Subject: Merging PDF pages In-Reply-To: References: Message-ID: <0d130f7d-9c5c-c18e-ecfe-b5c83a4cd5ab@researchware.com> The short answer is NO. There is nothing built into Livecode to take a set fo existing PDF files and append them to create a readable PDF that is them all stitched together. Neither the XPDF external nor the PDF widget will do this. You best option is to use some 3rd party command line utility that will merge PDF files that works on the platform or platforms your want to do this on and use the Livecode shell() function to call that command line utility. If this is going to be a distributed standalone, you can actually read the utility as a binary file and compress it as a staved property in your application, that can uncompress and install it on any target computer. We do this with the popular free open-source video tool ffmpeg for macOS and WIndows. Our app install it if needed on the target computer from a compressed copy bundled into our app and we use SHELL() to call it to do several video operations that can't be done in Livecode. Paul Dupuis Researchware On 8/25/2023 9:10 AM, Eller, Roger via use-livecode wrote: > It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? > > Thanks. > > ~Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bleiler at buffalo.edu Fri Aug 25 10:37:57 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 25 Aug 2023 14:37:57 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> Message-ID: <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> Thank you Heather, I’ll take a look. Matthias Rebbe is also trying to help me find the problem. Regards, Tim Bleiler > On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode wrote: > > Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. > > Probably not the issue but you never know... > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > http://www.livecode.com/ > > > >> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >> >> Hi all, >> >> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >> >> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >> Code signing seems to work fine but when I get to the Notarization step I always get an >> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >> >> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >> >> So far, this is what I’ve tried with the same result >> >> 1) Verified developer account in good status with Apple >> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >> 3) Multiple checks of my credentials in the parameters I’m using >> 4) Setting up a new app specific password on my account >> 5) Trying with a different Livecode application >> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >> >> 7) Repeat everything on a brand new user account on my Mac >> 8) Sought help through devprograms at apple.com >> >> >> I’ve done codesigning and notarization many times before with the same developer account with no issues. >> What’s new here for me is using NotaryTool and the app-specific password. >> >> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >> >> Thanks, >> >> Tim Bleiler, Ph.D. >> Instructional Designer, HSIT >> University at Buffalo >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Aug 25 10:44:08 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 16:44:08 +0200 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> Message-ID: <186D0CBE-2783-44A3-9040-5D4395E1F269@m-r-d.de> The Keychain.app does not have any influence on passwords entered in the command line. Passwords entered in terminal will not be replaced by Keychain.app. > Am 25.08.2023 um 16:37 schrieb Timothy Bleiler via use-livecode : > > Thank you Heather, > > I’ll take a look. Matthias Rebbe is also trying to help me find the problem. > > Regards, > Tim Bleiler > > > >> On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: >> >> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. >> >> Probably not the issue but you never know... >> >> Best Regards, >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> http://www.livecode.com/ >> >> >> >>> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >>> >>> Hi all, >>> >>> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >>> >>> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >>> Code signing seems to work fine but when I get to the Notarization step I always get an >>> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >>> >>> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >>> >>> So far, this is what I’ve tried with the same result >>> >>> 1) Verified developer account in good status with Apple >>> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >>> 3) Multiple checks of my credentials in the parameters I’m using >>> 4) Setting up a new app specific password on my account >>> 5) Trying with a different Livecode application >>> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >>> >>> 7) Repeat everything on a brand new user account on my Mac >>> 8) Sought help through devprograms at apple.com >>> >>> >>> I’ve done codesigning and notarization many times before with the same developer account with no issues. >>> What’s new here for me is using NotaryTool and the app-specific password. >>> >>> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >>> >>> Thanks, >>> >>> Tim Bleiler, Ph.D. >>> Instructional Designer, HSIT >>> University at Buffalo >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Aug 25 10:52:55 2023 From: merakosp at gmail.com (panagiotis m) Date: Fri, 25 Aug 2023 17:52:55 +0300 Subject: Merging PDF pages In-Reply-To: <0d130f7d-9c5c-c18e-ecfe-b5c83a4cd5ab@researchware.com> References: <0d130f7d-9c5c-c18e-ecfe-b5c83a4cd5ab@researchware.com> Message-ID: Hello all, There is a built-in utility on MacOS for merging PDFs. You can call it from "shell", as Paul suggested. This seems to work - tested on MacOS Mojave. It merges "test1.pdf" and "test2.pdf" into "merged.pdf" on Desktop. Just check that the path of tApp actually exists in modern MacOS as well. on mouseUp pButtonNumber local tShell, tApp put quote & "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" & quote \ into tApp put tApp && "-o ~/Desktop/merged.pdf ~/Desktop/test1.pdf ~/Desktop/test2.pdf" \ into tShell get shell(tShell) end mouseUp Cheers, Panos -- On Fri, 25 Aug 2023 at 17:23, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > The short answer is NO. There is nothing built into Livecode to take a > set fo existing PDF files and append them to create a readable PDF that > is them all stitched together. Neither the XPDF external nor the PDF > widget will do this. > > You best option is to use some 3rd party command line utility that will > merge PDF files that works on the platform or platforms your want to do > this on and use the Livecode shell() function to call that command line > utility. > > If this is going to be a distributed standalone, you can actually read > the utility as a binary file and compress it as a staved property in > your application, that can uncompress and install it on any target > computer. > > We do this with the popular free open-source video tool ffmpeg for macOS > and WIndows. Our app install it if needed on the target computer from a > compressed copy bundled into our app and we use SHELL() to call it to do > several video operations that can't be done in Livecode. > > Paul Dupuis > Researchware > > > > On 8/25/2023 9:10 AM, Eller, Roger via use-livecode wrote: > > It's been a while since I've posted a question here. Is it possible to > use livecode script to merge multiple 1-page PDFs into a multipage PDF > without using Acrobat or other 3rd party software? > > > > Thanks. > > > > ~Roger > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Fri Aug 25 11:00:23 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 17:00:23 +0200 Subject: Merging PDF pages In-Reply-To: References: Message-ID: On which OS are you planning to do this? On Windows and macOS you could make use of PDFTK server from PDFLabs.com On macOS PDFTK Server normally has to be installed to use it. But you could follow these steps here to get it working w/o installation. 1. Do not use the d/l link for pdftk Server from the pdfLabs website. That version will not work on macOS11 and up. Instead download this version of PDFTK Server. Sid Steward created a new version but did not update the d/l link https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg 2. to extract the pkg run the following in Terminal pkgutil --expand If the source path to the pkg contains spaces then put quotes around the path. After extraction you'll find the 2 folders lib and bin and some others .The 2 mentioned ones are needed. Now in LC you can use shell shell function to call the pdftk Example set the folder to "path to the bin folder" put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") would create combine the three file..pdf file into a new one called mynewfile.pdf I wrote this in a hurry, so i might have some error in my explanation. Just ask, if you have problems. Regards, Matthias > Am 25.08.2023 um 15:10 schrieb Eller, Roger via use-livecode : > > It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? > > Thanks. > > ~Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Fri Aug 25 11:24:08 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Fri, 25 Aug 2023 16:24:08 +0100 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> Message-ID: <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> Hi Tim, Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. Cheers and best of luck, Mark > On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: > > Thank you Heather, > > I’ll take a look. Matthias Rebbe is also trying to help me find the problem. > > Regards, > Tim Bleiler > > > >> On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: >> >> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. >> >> Probably not the issue but you never know... >> >> Best Regards, >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> http://www.livecode.com/ >> >> >> >>> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >>> >>> Hi all, >>> >>> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >>> >>> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >>> Code signing seems to work fine but when I get to the Notarization step I always get an >>> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >>> >>> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >>> >>> So far, this is what I’ve tried with the same result >>> >>> 1) Verified developer account in good status with Apple >>> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >>> 3) Multiple checks of my credentials in the parameters I’m using >>> 4) Setting up a new app specific password on my account >>> 5) Trying with a different Livecode application >>> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >>> >>> 7) Repeat everything on a brand new user account on my Mac >>> 8) Sought help through devprograms at apple.com >>> >>> >>> I’ve done codesigning and notarization many times before with the same developer account with no issues. >>> What’s new here for me is using NotaryTool and the app-specific password. >>> >>> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >>> >>> Thanks, >>> >>> Tim Bleiler, Ph.D. >>> Instructional Designer, HSIT >>> University at Buffalo >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Aug 25 14:16:01 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 20:16:01 +0200 Subject: Merging PDF pages In-Reply-To: References: Message-ID: <37B87F81-5AC8-40C7-AA0D-E518B7688A12@m-r-d.de> Just noticed that my steps are missing something. So here's version 2 of it. 1. download https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg 2. to extract the pkg run the following in Terminal pkgutil --expand If the source path to the pkg contains spaces then put quotes around the path. 3. Now open the destination path to which you've extracted the .pkg. There should be another pkg pdftk.pkg 4. right click the file pdftk.pkg and select "show package content" 5. Now you should see a file payload. Right click that file and select "open with" and select the archive utility to decompress the file payload. 6. After extraction you'll find a new folder "Payload 2" 7. open that folder. In that folder you will find the Lib and Bin folder. Copy those folder to another location. Now in LC you can use shell shell function to call the pdftk Example set the folder to "path to the bin folder" put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") would create combine the three file..pdf file into a new one called mynewfile.pdf To use pdftk server in your standalone you just have to include both folders in your standalone. On Windows you first have to run the setup of pdftk server. During the installation you can select the folder where pdftk server shall be installed. You then can copy the bin folder from that installation folder and use it with your standalone on any other computer without the need to run the setup on that computer. > Am 25.08.2023 um 17:00 schrieb matthias rebbe via use-livecode : > > On which OS are you planning to do this? > > On Windows and macOS you could make use of PDFTK server from PDFLabs.com > > On macOS PDFTK Server normally has to be installed to use it. But you could follow these steps here to get it working w/o installation. > > 1. Do not use the d/l link for pdftk Server from the pdfLabs website. That version will not work on macOS11 and up. Instead download this version of PDFTK Server. Sid Steward created a new version but did not update the d/l link > https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-mac_osx-10.11-setup.pkg > > 2. to extract the pkg run the following in Terminal > pkgutil --expand > > If the source path to the pkg contains spaces then put quotes around the path. > > After extraction you'll find the 2 folders lib and bin and some others .The 2 mentioned ones are needed. > > Now in LC you can use shell shell function to call the pdftk > > Example > set the folder to "path to the bin folder" > > put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") > > > would create combine the three file..pdf file into a new one called mynewfile.pdf > > > I wrote this in a hurry, so i might have some error in my explanation. Just ask, if you have problems. > > Regards, > > Matthias > >> Am 25.08.2023 um 15:10 schrieb Eller, Roger via use-livecode : >> >> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >> >> Thanks. >> >> ~Roger >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Fri Aug 25 14:38:42 2023 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Fri, 25 Aug 2023 11:38:42 -0700 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> Message-ID: <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> I use Matthias' brilliant “mrSignNotarizeHelperV4.livecode” project regularly and when I’ve had a problem in the past, ticking the “Debug mode” checkbox (which places each step of the terminal commands in the message box when you click the “Start” button) and then manually entering each of these steps as a command line in Terminal.app, has been helpful in figuring out exactly what step was failing. And sometimes, why. -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ > On Aug 25, 2023, at 8:24 AM, Mark Smith via use-livecode wrote: > > Hi Tim, > > Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. > > Cheers and best of luck, > Mark > >> On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: >> >> Thank you Heather, >> >> I’ll take a look. Matthias Rebbe is also trying to help me find the problem. >> >> Regards, >> Tim Bleiler >> >> >> >>> On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: >>> >>> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. >>> >>> Probably not the issue but you never know... >>> >>> Best Regards, >>> >>> Heather >>> >>> Heather Laine >>> Customer Services Manager >>> LiveCode Ltd >>> http://www.livecode.com/ >>> >>> >>> >>>> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >>>> >>>> Hi all, >>>> >>>> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >>>> >>>> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >>>> Code signing seems to work fine but when I get to the Notarization step I always get an >>>> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >>>> >>>> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >>>> >>>> So far, this is what I’ve tried with the same result >>>> >>>> 1) Verified developer account in good status with Apple >>>> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >>>> 3) Multiple checks of my credentials in the parameters I’m using >>>> 4) Setting up a new app specific password on my account >>>> 5) Trying with a different Livecode application >>>> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >>>> >>>> 7) Repeat everything on a brand new user account on my Mac >>>> 8) Sought help through devprograms at apple.com >>>> >>>> >>>> I’ve done codesigning and notarization many times before with the same developer account with no issues. >>>> What’s new here for me is using NotaryTool and the app-specific password. >>>> >>>> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >>>> >>>> Thanks, >>>> >>>> Tim Bleiler, Ph.D. >>>> Instructional Designer, HSIT >>>> University at Buffalo >>>> From bleiler at buffalo.edu Fri Aug 25 16:34:24 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 25 Aug 2023 20:34:24 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: I think I’ve solved it. I’m very grateful to Matthias both for his code signing tool and his personal help with this problem. In the end it looks like the trouble was caused by a combination of my limited experience with the process and a lack of helpful feedback from Apple’s online tools at critical points. Here’s what happened. - I have 2 user accounts on my Mac that use different Apple IDs. - Somehow the one I use for the Apple developer account had made my Mac NOT a trusted device for the Apple ID I use for development. I have no idea how this happened. You can verify that your device is trusted at appleid.apple.com for your account under “Devices”. - Despite the device not being trusted for the account, the website let me think I’d created an app-specific password. I hadn’t succeed, but my lack of experience prevented me from realizing that the second step of the process is getting the actual password back from Apple and copying it down. I didn’t get anything, no error message, so in my ignorance I thought the seed string I’d typed in WAS the password. So, I did NOT have an actual app-specific password to use in the NotaryTool commands. This caused all commands dependent on an app-specific password to fail. What solved it for me was to go to System Settings, sign out of the Apple account on the mac and sign back in again. Then sign back in to appleid.apple.com, verify that my Mac was a trusted device on my developer account and then create a NEW app-specific password. This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. Once I had the new app-specific password and my Mac was a trusted device in my developer account, the notaryTool commands worked without errors. It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! On Aug 25, 2023, at 2:38 PM, scott--- via use-livecode wrote: I use Matthias' brilliant “mrSignNotarizeHelperV4.livecode” project regularly and when I’ve had a problem in the past, ticking the “Debug mode” checkbox (which places each step of the terminal commands in the message box when you click the “Start” button) and then manually entering each of these steps as a command line in Terminal.app, has been helpful in figuring out exactly what step was failing. And sometimes, why. -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Felementarysoftware.com%2F&data=05%7C01%7Cbleiler%40buffalo.edu%7Ccc7afb2eab1b4bcb60b608dba59aa569%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C638285855863548154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2Fk0TjFvUmYt2BZ9CqydNyA9ZZx34rwuZC3FiprBPQ4s%3D&reserved=0 email scott at elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ On Aug 25, 2023, at 8:24 AM, Mark Smith via use-livecode wrote: Hi Tim, Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. Cheers and best of luck, Mark On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: Thank you Heather, I’ll take a look. Matthias Rebbe is also trying to help me find the problem. Regards, Tim Bleiler On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. Probably not the issue but you never know... Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.livecode.com%2F&data=05%7C01%7Cbleiler%40buffalo.edu%7Ccc7afb2eab1b4bcb60b608dba59aa569%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C638285855863548154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Eaw78gb3oD9j4XuzyHu%2FdyRRerM%2FT0GunR2oGocDSzM%3D&reserved=0 On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: Hi all, I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. Code signing seems to work fine but when I get to the Notarization step I always get an "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. So far, this is what I’ve tried with the same result 1) Verified developer account in good status with Apple 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, 3) Multiple checks of my credentials in the parameters I’m using 4) Setting up a new app specific password on my account 5) Trying with a different Livecode application 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. 7) Repeat everything on a brand new user account on my Mac 8) Sought help through devprograms at apple.com I’ve done codesigning and notarization many times before with the same developer account with no issues. What’s new here for me is using NotaryTool and the app-specific password. I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) Thanks, Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Cbleiler%40buffalo.edu%7Ccc7afb2eab1b4bcb60b608dba59aa569%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C638285855863548154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2BC2d%2BPJ7y3SqU33%2FFPPb3WbXaVhQSDtM0jnI3wmepmc%3D&reserved=0 From bleiler at buffalo.edu Fri Aug 25 16:41:28 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 25 Aug 2023 20:41:28 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: <6268B1CD-DE82-4979-814A-B3914DDFB456@buffalo.edu> It’s just not my day. The goofy links in my last post are just supposed to be references to the appleID site. I don’t know how all the rest of that got put in there. I’ve got to be more careful with my copy and paste I guess. > On Aug 25, 2023, at 4:34 PM, Timothy Bleiler via use-livecode wrote: > > I think I’ve solved it. I’m very grateful to Matthias both for his code signing tool and his personal help with this problem. > > In the end it looks like the trouble was caused by a combination of my limited experience with the process and a lack of helpful feedback from Apple’s online tools at critical points. > > Here’s what happened. > - I have 2 user accounts on my Mac that use different Apple IDs. > > - Somehow the one I use for the Apple developer account had made my Mac NOT a trusted device for the Apple ID I use for development. I have no idea how this happened. > You can verify that your device is trusted at appleid.apple.com for your account under “Devices”. > > - Despite the device not being trusted for the account, the website let me think I’d created an app-specific password. I hadn’t succeed, but my lack of experience prevented me from realizing that the second step of the process is getting the actual password back from Apple and copying it down. I didn’t get anything, no error message, so in my ignorance I thought the seed string I’d typed in WAS the password. So, I did NOT have an actual app-specific password to use in the NotaryTool commands. This caused all commands dependent on an app-specific password to fail. > > What solved it for me was to go to System Settings, sign out of the Apple account on the mac and sign back in again. > Then sign back in to appleid.apple.com, verify that my Mac was a trusted device on my developer account and then create a NEW app-specific password. > This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. > > Once I had the new app-specific password and my Mac was a trusted device in my developer account, the notaryTool commands worked without errors. > > It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! > > > > On Aug 25, 2023, at 2:38 PM, scott--- via use-livecode wrote: > > I use Matthias' brilliant “mrSignNotarizeHelperV4.livecode” project regularly and when I’ve had a problem in the past, ticking the “Debug mode” checkbox (which places each step of the terminal commands in the message box when you click the “Start” button) and then manually entering each of these steps as a command line in Terminal.app, has been helpful in figuring out exactly what step was failing. And sometimes, why. > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-360-734-4701 > ------------------------------------------------------ > > On Aug 25, 2023, at 8:24 AM, Mark Smith via use-livecode wrote: > > Hi Tim, > > Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. > > Cheers and best of luck, > Mark > > On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: > > Thank you Heather, > > I’ll take a look. Matthias Rebbe is also trying to help me find the problem. > > Regards, > Tim Bleiler > > > > On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: > > Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. > > Probably not the issue but you never know... > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > http://www.livecode.com/ > > > > On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: > > Hi all, > > I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. > > I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. > Code signing seems to work fine but when I get to the Notarization step I always get an > "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. > > I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. > > So far, this is what I’ve tried with the same result > > 1) Verified developer account in good status with Apple > 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, > 3) Multiple checks of my credentials in the parameters I’m using > 4) Setting up a new app specific password on my account > 5) Trying with a different Livecode application > 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. > > 7) Repeat everything on a brand new user account on my Mac > 8) Sought help through devprograms at apple.com > > > I’ve done codesigning and notarization many times before with the same developer account with no issues. > What’s new here for me is using NotaryTool and the app-specific password. > > I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) > > Thanks, > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Aug 25 17:00:52 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 23:00:52 +0200 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: <6268B1CD-DE82-4979-814A-B3914DDFB456@buffalo.edu> References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> <6268B1CD-DE82-4979-814A-B3914DDFB456@buffalo.edu> Message-ID: If you mean that the the link was shown normal and also in sharp bracktes, then that seems to be normal here in the list. I noticed this also in the past. > Am 25.08.2023 um 22:41 schrieb Timothy Bleiler via use-livecode : > > It’s just not my day. The goofy links in my last post are just supposed to be references to the appleID site. I don’t know how all the rest of that got put in there. > I’ve got to be more careful with my copy and paste I guess. > > > >> On Aug 25, 2023, at 4:34 PM, Timothy Bleiler via use-livecode wrote: >> >> I think I’ve solved it. I’m very grateful to Matthias both for his code signing tool and his personal help with this problem. >> >> In the end it looks like the trouble was caused by a combination of my limited experience with the process and a lack of helpful feedback from Apple’s online tools at critical points. >> >> Here’s what happened. >> - I have 2 user accounts on my Mac that use different Apple IDs. >> >> - Somehow the one I use for the Apple developer account had made my Mac NOT a trusted device for the Apple ID I use for development. I have no idea how this happened. >> You can verify that your device is trusted at appleid.apple.com for your account under “Devices”. >> >> - Despite the device not being trusted for the account, the website let me think I’d created an app-specific password. I hadn’t succeed, but my lack of experience prevented me from realizing that the second step of the process is getting the actual password back from Apple and copying it down. I didn’t get anything, no error message, so in my ignorance I thought the seed string I’d typed in WAS the password. So, I did NOT have an actual app-specific password to use in the NotaryTool commands. This caused all commands dependent on an app-specific password to fail. >> >> What solved it for me was to go to System Settings, sign out of the Apple account on the mac and sign back in again. >> Then sign back in to appleid.apple.com, verify that my Mac was a trusted device on my developer account and then create a NEW app-specific password. >> This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. >> >> Once I had the new app-specific password and my Mac was a trusted device in my developer account, the notaryTool commands worked without errors. >> >> It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! >> >> >> >> On Aug 25, 2023, at 2:38 PM, scott--- via use-livecode wrote: >> >> I use Matthias' brilliant “mrSignNotarizeHelperV4.livecode” project regularly and when I’ve had a problem in the past, ticking the “Debug mode” checkbox (which places each step of the terminal commands in the message box when you click the “Start” button) and then manually entering each of these steps as a command line in Terminal.app, has been helpful in figuring out exactly what step was failing. And sometimes, why. >> >> -- >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-360-734-4701 >> ------------------------------------------------------ >> >> On Aug 25, 2023, at 8:24 AM, Mark Smith via use-livecode wrote: >> >> Hi Tim, >> >> Codesigning is (as you probably know) one of the tricker bits of building an app for distribution (and I’ve certainly had my share of failures and frustrations along the way). I am following this thread closely so if you don’t mind sharing, I’d be interested in hearing what the solution is, once you’ve found it. >> >> Cheers and best of luck, >> Mark >> >> On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode wrote: >> >> Thank you Heather, >> >> I’ll take a look. Matthias Rebbe is also trying to help me find the problem. >> >> Regards, >> Tim Bleiler >> >> >> >> On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode > wrote: >> >> Tim - codesigning is not my expertise but failed password credentials I deal with frequently :). A possible gotcha is that your password is saved to your keychain, and then, if you change it, the changed password is overwritten by the saved password, invisibly since the password is hidden when entered. I would recommend deleting all saved passwords from your keychain for your certificates etc, and re-entering them to eliminate this possibility. >> >> Probably not the issue but you never know... >> >> Best Regards, >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> http://www.livecode.com/ >> >> >> >> On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode wrote: >> >> Hi all, >> >> I believe the problem I’m having is either on Apple’s end or something with my local configuration but Apple has not been very helpful and I’m running out of ideas, so I’m turning to the wealth of experience on this list in desperation. >> >> I’ve been using the lessons from Matthias Rebbe and V4 of his handy mrSignNotarizeHelper stack. >> Code signing seems to work fine but when I get to the Notarization step I always get an >> "Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. >> >> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9. >> >> So far, this is what I’ve tried with the same result >> >> 1) Verified developer account in good status with Apple >> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) on Apple's developer and ID sites, >> 3) Multiple checks of my credentials in the parameters I’m using >> 4) Setting up a new app specific password on my account >> 5) Trying with a different Livecode application >> 6 Trying everything manually in Terminal. (What is apparent is any subcommands of NotaryTool (e.g. submit, store-credentials) using my credentials fail with the same error. >> >> 7) Repeat everything on a brand new user account on my Mac >> 8) Sought help through devprograms at apple.com >> >> >> I’ve done codesigning and notarization many times before with the same developer account with no issues. >> What’s new here for me is using NotaryTool and the app-specific password. >> >> I realize this is a long shot but I’m stuck, so it would be great if anyone has any suggestions for solving this problem (even some detail I may have missed in the steps I’ve already taken) >> >> Thanks, >> >> Tim Bleiler, Ph.D. >> Instructional Designer, HSIT >> University at Buffalo >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Aug 25 17:04:46 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 25 Aug 2023 21:04:46 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: <94EB6397-D25E-4140-9132-88D7C05F88BB@iotecdigital.com> Yes, this is the advantage of an. App specific password. It’s unrecoverable by you, and so by anyone else. Bob S On Aug 25, 2023, at 1:34 PM, Timothy Bleiler via use-livecode wrote: This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. From roger.e.eller at sealedair.com Fri Aug 25 17:15:38 2023 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Fri, 25 Aug 2023 21:15:38 +0000 Subject: Merging PDF pages In-Reply-To: <37B87F81-5AC8-40C7-AA0D-E518B7688A12@m-r-d.de> References: <37B87F81-5AC8-40C7-AA0D-E518B7688A12@m-r-d.de> Message-ID: Thank you for this and all the details, Matthias. I will give it a try. ~Roger ________________________________ From: use-livecode on behalf of matthias rebbe via use-livecode Sent: Friday, August 25, 2023 2:16 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: Merging PDF pages CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Just noticed that my steps are missing something. So here's version 2 of it. 1. download https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pdflabs.com%2Ftools%2Fpdftk-the-pdf-toolkit%2Fpdftk_server-2.02-mac_osx-10.11-setup.pkg&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842350859203%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tEXnKnbF7xT3GjOMoYKIiM%2Fv3JwkS7pzKRM3op80KMI%3D&reserved=0 2. to extract the pkg run the following in Terminal pkgutil --expand If the source path to the pkg contains spaces then put quotes around the path. 3. Now open the destination path to which you've extracted the .pkg. There should be another pkg pdftk.pkg 4. right click the file pdftk.pkg and select "show package content" 5. Now you should see a file payload. Right click that file and select "open with" and select the archive utility to decompress the file payload. 6. After extraction you'll find a new folder "Payload 2" 7. open that folder. In that folder you will find the Lib and Bin folder. Copy those folder to another location. Now in LC you can use shell shell function to call the pdftk Example set the folder to "path to the bin folder" put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") would create combine the three file..pdf file into a new one called mynewfile.pdf To use pdftk server in your standalone you just have to include both folders in your standalone. On Windows you first have to run the setup of pdftk server. During the installation you can select the folder where pdftk server shall be installed. You then can copy the bin folder from that installation folder and use it with your standalone on any other computer without the need to run the setup on that computer. > Am 25.08.2023 um 17:00 schrieb matthias rebbe via use-livecode : > > On which OS are you planning to do this? > > On Windows and macOS you could make use of PDFTK server from PDFLabs.com > > > On macOS PDFTK Server normally has to be installed to use it. But you could follow these steps here to get it working w/o installation. > > 1. Do not use the d/l link for pdftk Server from the pdfLabs website. That version will not work on macOS11 and up. Instead download this version of PDFTK Server. Sid Steward created a new version but did not update the d/l link > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pdflabs.com%2Ftools%2Fpdftk-the-pdf-toolkit%2Fpdftk_server-2.02-mac_osx-10.11-setup.pkg&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=S5yjsFoOrBWQY%2FKUhQbD6WZxAzuRiBOK6Yrval2H1Q4%3D&reserved=0 > > 2. to extract the pkg run the following in Terminal > pkgutil --expand > > If the source path to the pkg contains spaces then put quotes around the path. > > After extraction you'll find the 2 folders lib and bin and some others .The 2 mentioned ones are needed. > > Now in LC you can use shell shell function to call the pdftk > > Example > set the folder to "path to the bin folder" > > put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") > > > would create combine the three file..pdf file into a new one called mynewfile.pdf > > > I wrote this in a hurry, so i might have some error in my explanation. Just ask, if you have problems. > > Regards, > > Matthias > >> Am 25.08.2023 um 15:10 schrieb Eller, Roger via use-livecode : >> >> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >> >> Thanks. >> >> ~Roger >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 From matthias_livecode_150811 at m-r-d.de Fri Aug 25 17:17:23 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 25 Aug 2023 23:17:23 +0200 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: Congratulations. Good to know that you could resolve it. And now you know why wanted to do a remote session to repeat all steps from creating app-specific pw to connecting to apples services. ;) We could have found out sooner. ;) Unfortunately your security office prohibited the use of Teamviewer. Anyway, your are now setup to use Notarytool. Matthias > Am 25.08.2023 um 22:34 schrieb Timothy Bleiler via use-livecode : > > I think I’ve solved it. I’m very grateful to Matthias both for his code signing tool and his personal help with this problem. > > In the end it looks like the trouble was caused by a combination of my limited experience with the process and a lack of helpful feedback from Apple’s online tools at critical points. > > Here’s what happened. > - I have 2 user accounts on my Mac that use different Apple IDs. > > - Somehow the one I use for the Apple developer account had made my Mac NOT a trusted device for the Apple ID I use for development. I have no idea how this happened. > You can verify that your device is trusted at appleid.apple.com for your account under “Devices”. > > - Despite the device not being trusted for the account, the website let me think I’d created an app-specific password. I hadn’t succeed, but my lack of experience prevented me from realizing that the second step of the process is getting the actual password back from Apple and copying it down. I didn’t get anything, no error message, so in my ignorance I thought the seed string I’d typed in WAS the password. So, I did NOT have an actual app-specific password to use in the NotaryTool commands. This caused all commands dependent on an app-specific password to fail. > > What solved it for me was to go to System Settings, sign out of the Apple account on the mac and sign back in again. > Then sign back in to appleid.apple.com , verify that my Mac was a trusted device on my developer account and then create a NEW app-specific password. > This time I saw the second part when they send the actual password. I think you need to copy this down because I don’t see any way to recover it again later. > > Once I had the new app-specific password and my Mac was a trusted device in my developer account, the notaryTool commands worked without errors. > > It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! > > From bleiler at buffalo.edu Fri Aug 25 17:27:49 2023 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 25 Aug 2023 21:27:49 +0000 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: Yes Matthias, I figured you had a good reason so I went back into the account and checked every single thing very carefully. When I saw that my device was not trusted I figured THAT had to be fixed!! Then I just followed your suggestion to redo everything and that’s when I learned about how the app-specific password actually works. I don’t know if I’d have figured it out without your help!! On Aug 25, 2023, at 5:17 PM, matthias rebbe via use-livecode wrote: And now you know why wanted to do a remote session to repeat all steps from creating app-specific pw to connecting to apples services. ;) We could have found out sooner. ;) Unfortunately your security office prohibited the use of Teamviewer. From jacque at hyperactivesw.com Fri Aug 25 20:07:06 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 25 Aug 2023 19:07:06 -0500 Subject: Microsoft app store Message-ID: <18a2f2a7410.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Has anyone submitted a Windows app to the Microsoft store? I have a lead and if it pans out I'd like to know if there's a resource available here. Nothing is set yet but I'm thinking ahead. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Sat Aug 26 13:44:44 2023 From: dochawk at gmail.com (doc hawk) Date: Sat, 26 Aug 2023 10:44:44 -0700 Subject: Merging PDF pages In-Reply-To: <89e805a0-da4d-4468-ac39-f79d31e2268e@gmail.com> References: <6409CAFB-BDFC-4F1B-9838-5EBAEA51624B@starfirelighting.com> <0A45F528-142B-4FCE-A5E4-CC935D256AFB@starfirelighting.com> <89e805a0-da4d-4468-ac39-f79d31e2268e@gmail.com> Message-ID: richard reasoned be aware that you will lose one the most valuable things about a PDF document: the embedded text layer. Oh, no, there’s something more valuable, which you also lose: anything over 72 dpi! I played with a pdf library for python for a bit, as well as raw pdf, without much luck. From paul at researchware.com Sun Aug 27 15:43:27 2023 From: paul at researchware.com (Paul Dupuis) Date: Sun, 27 Aug 2023 15:43:27 -0400 Subject: Adding and delete a row of data to the Polygrid Message-ID: <8ca7cfd4-8958-d429-f2a5-325fb49cf388@researchware.com> I ran into an inconsistency with the Polygrid The Polygrid property pgDataOfRow returns the data for the row indicated by what pgInternalPointer is set to. The pgData of the Polygrid is a 2D array of the form array[n][columnName]value and pgDataOfRow returns a 1D array of the form array[columnName]value. Now the properties "AddDataAfter" (or "AddDataBefore") to add a row of data to the Polygrid After )or Before) the row pointed to by pgInternalPointer expects a 2D array of the same form as pgData or array[n][columnName]value. So, consider the follow use case where you want to remove a row of data (the last row of a table) that displays subtotals for each column but then later (upon some user action or whatever) you want to add it back       put the numberOfRows      of widget "rwTableview" into N       set the pgInternalPointer of widget "rwTableview" to N       put the pgDataOfRow       of widget "rwTableview" into sColSubtotalArray -- save the subtotal row in the form sColSubtotalArray[columnName]value, a 1D array       set the pgDeleteRow       of widget "rwTableview" to N -- delete the subtotal row And now you want to add it back       put the numberOfRows      of widget "rwTableview" into N       set the pgInternalPointer of widget "rwTableview" to N       set the addDataAfter      of widget "rwTableview" to sColSubtotalArray That LAST line (addDataAfter) will fail since the array saved by the pgDataOfRow is a 1D array and addDataAfter expects a 2D array. If could a simple repeat look through the keys of sColSubtotalArry will let you build a new 2D array with 1 row and the columns being the keys or column names, so it is not hard to convert, but SHOULD YOU HAVE TO? You can convert with       put the number lines of the keys of sColSubtotalArray into N       repeat for each key tKey in sColSubtotalArray         put sColSubtotalArray[tKey] into tA[1][tKey]       end repeat      -- tA is now in the format that the addDataAfter property of the Polygrid requires. I am not sure this is a BUG. It is certainly an inconsistency and changing it would break some current code. On the other hand, the Polygrid is part of the widget set for Xavvi/Livecode Create and the goal for that tool is to have things be super easy and super intuitive for beginners (non-code or low-code app building) so I think beginners would find thsi jarring. So, is it a bug? What does the community think? From hechris at ziggo.nl Mon Aug 28 06:02:11 2023 From: hechris at ziggo.nl (Chris Heidecker) Date: Mon, 28 Aug 2023 12:02:11 +0200 Subject: Merging PDF pages In-Reply-To: References: <37B87F81-5AC8-40C7-AA0D-E518B7688A12@m-r-d.de> Message-ID: <6B873E55-C762-45C1-A2EF-6CD3E940CAE8@ziggo.nl> Hi, While applescript is still around, you could use this script. Works pretty well. https://www.macscripter.net/t/applescript-objective-c-handler-to-merge-pdf-files/72534 Regards, Chis Heidecker use scripting additions use framework "Foundation" use framework "Quartz" -- required for PDF stuff set inFiles to (choose file of type {"pdf"} with prompt "Choose your PDF files:" with multiple selections allowed) set destPosixPath to POSIX path of (choose file name default name "Combined.pdf" with prompt "Save new PDF to:") its combineFiles:inFiles savingTo:destPosixPath on combineFiles:inFiles savingTo:destPosixPath -- make URL of the first PDF set inNSURL to current application's class "NSURL"'s fileURLWithPath:(POSIX path of item 1 of inFiles) -- make PDF document from the URL set theDoc to current application's PDFDocument's alloc()'s initWithURL:inNSURL -- loop through the rest set oldDocCount to theDoc's pageCount() set inFiles to rest of inFiles repeat with aFile in inFiles -- make URL of the next PDF set inNSURL to (current application's class "NSURL"'s fileURLWithPath:(POSIX path of aFile)) -- make PDF document from the URL set newDoc to (current application's PDFDocument's alloc()'s initWithURL:inNSURL) -- loop through, moving pages set newDocCount to newDoc's pageCount() repeat with i from 1 to newDocCount -- get page of old PDF set thePDFPage to (newDoc's pageAtIndex:(i - 1)) -- zero-based indexes -- insert the page (theDoc's insertPage:thePDFPage atIndex:oldDocCount) set oldDocCount to oldDocCount + 1 end repeat end repeat set outNSURL to current application's class "NSURL"'s fileURLWithPath:destPosixPath -- save the new PDF (theDoc's writeToURL:outNSURL) end combineFiles:savingTo: > Op 25 aug. 2023, om 23:15 heeft Eller, Roger via use-livecode het volgende geschreven: > > Thank you for this and all the details, Matthias. I will give it a try. > > > ~Roger > > ________________________________ > From: use-livecode on behalf of matthias rebbe via use-livecode > Sent: Friday, August 25, 2023 2:16 PM > To: How to use LiveCode > Cc: matthias_livecode_150811 at m-r-d.de > Subject: Re: Merging PDF pages > > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. > > > > Just noticed that my steps are missing something. > So here's version 2 of it. > > 1. download > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pdflabs.com%2Ftools%2Fpdftk-the-pdf-toolkit%2Fpdftk_server-2.02-mac_osx-10.11-setup.pkg&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842350859203%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tEXnKnbF7xT3GjOMoYKIiM%2Fv3JwkS7pzKRM3op80KMI%3D&reserved=0 > > 2. to extract the pkg run the following in Terminal > pkgutil --expand > > If the source path to the pkg contains spaces then put quotes around the path. > > 3. Now open the destination path to which you've extracted the .pkg. There should be another pkg pdftk.pkg > > 4. right click the file pdftk.pkg and select "show package content" > > 5. Now you should see a file payload. Right click that file and select "open with" and select the archive utility to decompress the file payload. > > 6. After extraction you'll find a new folder "Payload 2" > > 7. open that folder. In that folder you will find the Lib and Bin folder. Copy those folder to another location. > > Now in LC you can use shell shell function to call the pdftk > > Example > set the folder to "path to the bin folder" > > put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") > > > would create combine the three file..pdf file into a new one called mynewfile.pdf > > To use pdftk server in your standalone you just have to include both folders in your standalone. > > > On Windows you first have to run the setup of pdftk server. During the installation you can select the folder where pdftk server shall be installed. You then can copy the bin folder from that installation folder > and use it with your standalone on any other computer without the need to run the setup on that computer. > > > > >> Am 25.08.2023 um 17:00 schrieb matthias rebbe via use-livecode : >> >> On which OS are you planning to do this? >> >> On Windows and macOS you could make use of PDFTK server from PDFLabs.com > >> >> On macOS PDFTK Server normally has to be installed to use it. But you could follow these steps here to get it working w/o installation. >> >> 1. Do not use the d/l link for pdftk Server from the pdfLabs website. That version will not work on macOS11 and up. Instead download this version of PDFTK Server. Sid Steward created a new version but did not update the d/l link >> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pdflabs.com%2Ftools%2Fpdftk-the-pdf-toolkit%2Fpdftk_server-2.02-mac_osx-10.11-setup.pkg&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=S5yjsFoOrBWQY%2FKUhQbD6WZxAzuRiBOK6Yrval2H1Q4%3D&reserved=0 >> >> 2. to extract the pkg run the following in Terminal >> pkgutil --expand >> >> If the source path to the pkg contains spaces then put quotes around the path. >> >> After extraction you'll find the 2 folders lib and bin and some others .The 2 mentioned ones are needed. >> >> Now in LC you can use shell shell function to call the pdftk >> >> Example >> set the folder to "path to the bin folder" >> >> put shell("./pdftk file1.pdf file2.pdf file3.pdf cat output mynewfile.pdf") >> >> >> would create combine the three file..pdf file into a new one called mynewfile.pdf >> >> >> I wrote this in a hurry, so i might have some error in my explanation. Just ask, if you have problems. >> >> Regards, >> >> Matthias >> >>> Am 25.08.2023 um 15:10 schrieb Eller, Roger via use-livecode : >>> >>> It's been a while since I've posted a question here. Is it possible to use livecode script to merge multiple 1-page PDFs into a multipage PDF without using Acrobat or other 3rd party software? >>> >>> Thanks. >>> >>> ~Roger >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Croger.e.eller%40sealedair.com%7Ce1d5200433404eec54d008dba59780d1%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C638285842351015442%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VUSlgWxqGFAlz72s3FBs5nbHZZnAoL54MZ4%2FU7ZYlXQ%3D&reserved=0 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Mon Aug 28 07:28:08 2023 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 28 Aug 2023 12:28:08 +0100 Subject: Adding and delete a row of data to the Polygrid In-Reply-To: <8ca7cfd4-8958-d429-f2a5-325fb49cf388@researchware.com> References: <8ca7cfd4-8958-d429-f2a5-325fb49cf388@researchware.com> Message-ID: <16800d67-52f1-4163-b3be-0293c2b17318@tweedly.net> On 27/08/2023 20:43, Paul Dupuis via use-livecode wrote: > I ran into an inconsistency with the Polygrid > ... > I am not sure this is a BUG. It is certainly an inconsistency and > changing it would break some current code. On the other hand, the > Polygrid is part of the widget set for Xavvi/Livecode Create and the > goal for that tool is to have things be super easy and super intuitive > for beginners (non-code or low-code app building) so I think beginners > would find thsi jarring. > > So, is it a bug? What does the community think? I'd say it's definitely not a bug. It may be a "missing feature". There is an asymmetry, in that there are ways to - extract one row - delete one row but only - add multiple rows. You could make a case for adding a feature to "add a single row". But I wouldn't bother,  because it's already so easy - see below. You suggested converting by >       repeat for each key tKey in sColSubtotalArray >         put sColSubtotalArray[tKey] into tA[1][tKey] >       end repeat >      -- tA is now in the format that the addDataAfter property of the > Polygrid requires. The latest LC has the additional feauture of "automatic" sequences; i.e.   put [ sColSubtotalArray ] into tA So, in fact you would simply do >       put the numberOfRows    of widget "rwTableview" into N >       set the pgInternalPointer of widget "rwTableview" to N >       set the addDataAfter       of widget "rwTableview" to [ > sColSubtotalArray] Alex. From paul at researchware.com Mon Aug 28 08:32:14 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 28 Aug 2023 08:32:14 -0400 Subject: Adding and delete a row of data to the Polygrid In-Reply-To: <16800d67-52f1-4163-b3be-0293c2b17318@tweedly.net> References: <8ca7cfd4-8958-d429-f2a5-325fb49cf388@researchware.com> <16800d67-52f1-4163-b3be-0293c2b17318@tweedly.net> Message-ID: <1e7b2270-e8c3-bd61-ac85-57d7ba9064e5@researchware.com> On 8/28/2023 7:28 AM, Alex Tweedly via use-livecode wrote: > The latest LC has the additional feauture of "automatic" sequences; i.e. Is that LC 10.0.0dp5 or LC 9.6.9 or 9.6.10rc1, which 'latest' version? From alex at tweedly.net Mon Aug 28 09:35:53 2023 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 28 Aug 2023 14:35:53 +0100 Subject: Adding and delete a row of data to the Polygrid In-Reply-To: <1e7b2270-e8c3-bd61-ac85-57d7ba9064e5@researchware.com> References: <1e7b2270-e8c3-bd61-ac85-57d7ba9064e5@researchware.com> Message-ID: <3E7422D0-0C09-4EA0-9A62-85F90EE8851A@tweedly.net> Sorry, I meant 10.x In 9.x you could do put sColSubtotalArray into tA[1] set the addDataAfter of widget "rwTableview" to tA Alex Sent from my iPhone > On 28 Aug 2023, at 13:33, Paul Dupuis via use-livecode wrote: > On 8/28/2023 7:28 AM, Alex Tweedly via use-livecode wrote: >> The latest LC has the additional feauture of "automatic" sequences; i.e. > > Is that LC 10.0.0dp5 or LC 9.6.9 or 9.6.10rc1, which 'latest' version? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 28 11:30:46 2023 From: paul at researchware.com (Paul Dupuis) Date: Mon, 28 Aug 2023 11:30:46 -0400 Subject: Adding and delete a row of data to the Polygrid In-Reply-To: <3E7422D0-0C09-4EA0-9A62-85F90EE8851A@tweedly.net> References: <1e7b2270-e8c3-bd61-ac85-57d7ba9064e5@researchware.com> <3E7422D0-0C09-4EA0-9A62-85F90EE8851A@tweedly.net> Message-ID: <964690c6-e1f1-2bff-f967-b009566c041f@researchware.com> Alex, Thank you. On 8/28/2023 9:35 AM, Alex Tweedly wrote: > Sorry, I meant 10.x > > In 9.x you could do > > put sColSubtotalArray into tA[1] > set the addDataAfter of widget "rwTableview" to tA > > Alex > > Sent from my iPhone > >> On 28 Aug 2023, at 13:33, Paul Dupuis via use-livecode wrote: >> On 8/28/2023 7:28 AM, Alex Tweedly via use-livecode wrote: >>> The latest LC has the additional feauture of "automatic" sequences; i.e. >> Is that LC 10.0.0dp5 or LC 9.6.9 or 9.6.10rc1, which 'latest' version? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Mon Aug 28 13:21:51 2023 From: marksmithhfx at gmail.com (Mark Smith) Date: Mon, 28 Aug 2023 18:21:51 +0100 Subject: OT - Mac Notarization Problem - Desperation setting in In-Reply-To: References: <65E7119E-1DA1-43DC-B667-F90F7F249CFD@buffalo.edu> <9DE2E7AD-8AFF-4DAF-A8E3-3F1063F6C912@livecode.com> <6B0CBBC2-5759-4E5F-B9D2-43CFC50D0CC0@buffalo.edu> <53FADCF6-21F5-4F09-9F54-983E184F56A0@gmail.com> <2C904D9D-C5D8-4E6F-A61F-2650ECCC49FA@elementarysoftware.com> Message-ID: Thanks for the excellent description of the problem Tim. It may help in debugging my own “notarisation” issues in the future (tucked away for future reference)!! > > It all makes me long for the days when we could easily pass around Hypercard stacks for the fun of it!! And boy can I relate to that! If it wasn’t for Matthias…. Mark From panos.merakos at livecode.com Tue Aug 29 11:09:10 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 29 Aug 2023 18:09:10 +0300 Subject: [[ ANN ]] Release 9.6.10 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.10 STABLE. LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support for Android API 33, which will be a requirement for submitting new apps to the Google Play Store as of the 31st of August. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-10-stable-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From matthias_livecode_150811 at m-r-d.de Tue Aug 29 11:17:48 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Aug 2023 17:17:48 +0200 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: <3B21678A-A103-4E61-A337-BAD8753D30F1@m-r-d.de> And still Livecode Server is not working with Internet Information Server (IIS). :( > Am 29.08.2023 um 17:09 schrieb panagiotis merakos via use-livecode : > > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 STABLE. > > LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-stable-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 dan at clearvisiontech.com Tue Aug 29 12:33:38 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 29 Aug 2023 16:33:38 +0000 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: Any word on 10.0.0? Biting nails!! -Dan From: use-livecode on behalf of panagiotis merakos via use-livecode Date: Tuesday, August 29, 2023 at 8:10 AM To: How to use LiveCode Cc: panagiotis merakos Subject: [[ ANN ]] Release 9.6.10 Dear list members, We are pleased to announce the release of LiveCode 9.6.10 STABLE. LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support for Android API 33, which will be a requirement for submitting new apps to the Google Play Store as of the 31st of August. You can find more details on the bug fixes and improvements of this new release here: https://livecode.com/livecode-9-6-10-stable-released/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards 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 Tue Aug 29 12:41:56 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 29 Aug 2023 19:41:56 +0300 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: Hello all, @matthias I am sorry for the frustration - I know you are very eager to get this fixed. But this was not planned for LC 9.6.10 anyway. @Dan The release of LC 10 DP-6 is in the final stages of testing and it is expected to appear this week. Kind regards, Panos -- On Tue, 29 Aug 2023 at 19:34, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Any word on 10.0.0? Biting nails!! > > -Dan > > > From: use-livecode on behalf of > panagiotis merakos via use-livecode > Date: Tuesday, August 29, 2023 at 8:10 AM > To: How to use LiveCode > Cc: panagiotis merakos > Subject: [[ ANN ]] Release 9.6.10 > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 STABLE. > > LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-stable-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 matthias_livecode_150811 at m-r-d.de Tue Aug 29 13:00:04 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Aug 2023 19:00:04 +0200 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Hello Panos, so for which version is it planned, if at all? Regards, Matthias > Am 29.08.2023 um 18:41 schrieb panagiotis m via use-livecode : > > Hello all, > > @matthias > I am sorry for the frustration - I know you are very eager to get this > fixed. But this was not planned for LC 9.6.10 anyway. > > @Dan > The release of LC 10 DP-6 is in the final stages of testing and it is > expected to appear this week. > > Kind regards, > Panos > -- > > On Tue, 29 Aug 2023 at 19:34, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Any word on 10.0.0? Biting nails!! >> >> -Dan >> >> >> From: use-livecode on behalf of >> panagiotis merakos via use-livecode >> Date: Tuesday, August 29, 2023 at 8:10 AM >> To: How to use LiveCode >> Cc: panagiotis merakos >> Subject: [[ ANN ]] Release 9.6.10 >> Dear list members, >> >> We are pleased to announce the release of LiveCode 9.6.10 STABLE. >> >> LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support >> for Android API 33, which will be a requirement for submitting new apps to >> the Google Play Store as of the 31st of August. >> >> You can find more details on the bug fixes and improvements of this new >> release here: >> >> https://livecode.com/livecode-9-6-10-stable-released/ >> >> You can find the release in your LiveCode account area or get it via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> 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 bobsneidar at iotecdigital.com Tue Aug 29 13:16:58 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Aug 2023 17:16:58 +0000 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: I think he said in that email that v10 is expected to be released this week. Bob S On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode wrote: Hello Panos, so for which version is it planned, if at all? Regards, Matthias From merakosp at gmail.com Tue Aug 29 13:20:51 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 29 Aug 2023 20:20:51 +0300 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: Hello Matthias, I am afraid I cannot give an ETA on this. All I know is it was not planned for 9.6.10 (neither for 10 DP-6). Kind regards, Panos -- On Tue, 29 Aug 2023 at 20:17, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I think he said in that email that v10 is expected to be released this > week. > > Bob S > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Hello Panos, > so for which version is it planned, if at all? > > Regards, > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Tue Aug 29 13:29:14 2023 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 29 Aug 2023 19:29:14 +0200 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: Hi Bob, i did not mean when an update for LC 10 is coming, but for what version the fix is planned for Livecode Server. Currently LC Server 7 and up do not work with IIS on Windows. You have to install Apache, although Windows has a built-in web server. > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode : > > I think he said in that email that v10 is expected to be released this week. > > Bob S > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode wrote: > > Hello Panos, > so for which version is it planned, if at all? > > Regards, > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Aug 29 13:44:59 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 29 Aug 2023 13:44:59 -0400 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: No XCode version update? MacOS updater keeps harassing me to update CLT to 14.3 On Tue, Aug 29, 2023 at 1:30 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Bob, > > i did not mean when an update for LC 10 is coming, but for what version > the fix is planned for Livecode Server. > Currently LC Server 7 and up do not work with IIS on Windows. > You have to install Apache, although Windows has a built-in web server. > > > > > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>: > > > > I think he said in that email that v10 is expected to be released this > week. > > > > Bob S > > > > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello Panos, > > so for which version is it planned, if at all? > > > > Regards, > > Matthias > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From merakosp at gmail.com Tue Aug 29 14:16:26 2023 From: merakosp at gmail.com (panagiotis m) Date: Tue, 29 Aug 2023 21:16:26 +0300 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: Hello Mike, I guess we will update the supported xcode version once macOS Sonoma and/or Xcode 15 - iOS 17 SDK are publicly available, so probably in LC 9.6.11 rc-1 I think you can update your CLT to 14.3, but make sure you still keep the current supported xcode version Kind regards, Panos On Tue, 29 Aug 2023, 20:46 Mike Kerner via use-livecode, < use-livecode at lists.runrev.com> wrote: > No XCode version update? MacOS updater keeps harassing me to update CLT to > 14.3 > > On Tue, Aug 29, 2023 at 1:30 PM matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Bob, > > > > i did not mean when an update for LC 10 is coming, but for what version > > the fix is planned for Livecode Server. > > Currently LC Server 7 and up do not work with IIS on Windows. > > You have to install Apache, although Windows has a built-in web server. > > > > > > > > > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode < > > use-livecode at lists.runrev.com>: > > > > > > I think he said in that email that v10 is expected to be released this > > week. > > > > > > Bob S > > > > > > > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Hello Panos, > > > so for which version is it planned, if at all? > > > > > > Regards, > > > Matthias > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > 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 MikeKerner at roadrunner.com Tue Aug 29 14:46:38 2023 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 29 Aug 2023 14:46:38 -0400 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: <847C90D7-F63F-4CE8-979E-9B574A31BE81@m-r-d.de> Message-ID: i'm still running ventura, but software update is constantly trying to update CLT, even though i downloaded and installed xcode manually, not via appstore On Tue, Aug 29, 2023 at 2:17 PM panagiotis m via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello Mike, > > I guess we will update the supported xcode version once macOS Sonoma and/or > Xcode 15 - iOS 17 SDK are publicly available, so probably in LC 9.6.11 rc-1 > > I think you can update your CLT to 14.3, but make sure you still keep the > current supported xcode version > > Kind regards, > Panos > > On Tue, 29 Aug 2023, 20:46 Mike Kerner via use-livecode, < > use-livecode at lists.runrev.com> wrote: > > > No XCode version update? MacOS updater keeps harassing me to update CLT > to > > 14.3 > > > > On Tue, Aug 29, 2023 at 1:30 PM matthias rebbe via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Hi Bob, > > > > > > i did not mean when an update for LC 10 is coming, but for what version > > > the fix is planned for Livecode Server. > > > Currently LC Server 7 and up do not work with IIS on Windows. > > > You have to install Apache, although Windows has a built-in web server. > > > > > > > > > > > > > Am 29.08.2023 um 19:16 schrieb Bob Sneidar via use-livecode < > > > use-livecode at lists.runrev.com>: > > > > > > > > I think he said in that email that v10 is expected to be released > this > > > week. > > > > > > > > Bob S > > > > > > > > > > > > On Aug 29, 2023, at 10:00 AM, matthias rebbe via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > Hello Panos, > > > > so for which version is it planned, if at all? > > > > > > > > Regards, > > > > Matthias > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > -- > > 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 dan at clearvisiontech.com Tue Aug 29 17:39:43 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 29 Aug 2023 21:39:43 +0000 Subject: [[ ANN ]] Release 9.6.10 In-Reply-To: References: Message-ID: Panos, // The release of LC 10 DP-6 is in the final stages of testing and it is expected to appear this week. As always, thanks for the update. Appreciate it! -Dan From: use-livecode on behalf of panagiotis m via use-livecode Date: Tuesday, August 29, 2023 at 9:43 AM To: How to use LiveCode Cc: panagiotis m Subject: Re: [[ ANN ]] Release 9.6.10 Hello all, @matthias I am sorry for the frustration - I know you are very eager to get this fixed. But this was not planned for LC 9.6.10 anyway. @Dan The release of LC 10 DP-6 is in the final stages of testing and it is expected to appear this week. Kind regards, Panos -- On Tue, 29 Aug 2023 at 19:34, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Any word on 10.0.0? Biting nails!! > > -Dan > > > From: use-livecode on behalf of > panagiotis merakos via use-livecode > Date: Tuesday, August 29, 2023 at 8:10 AM > To: How to use LiveCode > Cc: panagiotis merakos > Subject: [[ ANN ]] Release 9.6.10 > Dear list members, > > We are pleased to announce the release of LiveCode 9.6.10 STABLE. > > LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support > for Android API 33, which will be a requirement for submitting new apps to > the Google Play Store as of the 31st of August. > > You can find more details on the bug fixes and improvements of this new > release here: > > https://livecode.com/livecode-9-6-10-stable-released/ > > You can find the release in your LiveCode account area or get it via the > automatic updater. > > Enjoy! > > Kind regards > 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 bdrunrev at gmail.com Wed Aug 30 02:05:44 2023 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 30 Aug 2023 07:05:44 +0100 Subject: Charts widget. In-Reply-To: <62253d2d-a416-a334-ccec-acd5fa3d9176@tweedly.net> References: <62253d2d-a416-a334-ccec-acd5fa3d9176@tweedly.net> Message-ID: Hi Alex I've started using this, quite pleased with what it can do in terms of presentation. But it seems to me (going off the Dictionary and my own tests) that it doesn't receive any mouse messages. So clicking on any of the displayed chart components has no effect. I haven't yet investigated setting jsonoptions (as the designated way to invoke more of the chartsjs functionality). Regards Bernard On Sun, Sep 25, 2022 at 9:55 PM Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > Anyone using this widget ? > > Is there some documentation (other than the obvious dictionary entries) > about how to do different kinds of chart ? > > In the last 4-6 months, I've done 3 or 4 little personal projects where > I wanted to create a chart, but I've not been able to figure out how to > use the charts widget to do time-based charts. > > What I mean is, e.g., create a chart for the following data .... > > 2022-02-01 100 > 2022-02-04 500 > 2022-02-05 525 > 2022-02-17 900 > .... > > Obviously, the dates along the X-axis should be spaced properly > according to their data value, not equally spaced and simply labelled. > > Looking at the charts.js documentation, it tells me (or rather, fails to > tell me, since I can't understand it) that I need to define an 'adapter' > and shows some sample javascript. I don't really understand how to do it > simply in javascript - far less how I could use that in the widget. > > Can anyone give me a clue or a pointer ? > > From dfe4 at cornell.edu Wed Aug 30 12:35:42 2023 From: dfe4 at cornell.edu (David Epstein) Date: Wed, 30 Aug 2023 12:35:42 -0400 Subject: Pasting text and images together? Message-ID: <2A778021-978E-46AC-A0F1-18BFE597B5EB@cornell.edu> From a web browser, or from programs like Word or (Apple) Notes, it is possible to copy to the clipboard a single selection that includes both text and images. Is there any way to paste all of this information to LiveCode—for example, placing the text in fields and the imageData in image objects, or showing everything in one field by setting the imageSource of some characters in that field? After having copied such a collection of text and image information, the keys to the fullClipboardData seem only to include text and styled text options, with no indication of the images that are included on the clipboard. David Epstein From neville.smythe at optusnet.com.au Thu Aug 31 00:11:56 2023 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 31 Aug 2023 14:11:56 +1000 Subject: Sort bug Message-ID: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> There is a bug in sorting a container using a function, as in sort lines tVariable by myVal(each) where the function is for example function myVal pStr return item 1 of pStr + item 2 of pStr end myval If the function myVal encounters a run-time error (in the example if one of the items is not a number) the sort command fails silently: the script exits at that code line and the user is unaware that the sort (and the rest of the handler) were not executed. If you sort directly with sort lines tVariable by (item 1 of pStr + item 2 of pStr) the handler will throw an error dialog, as expected. QC has confirmed this is a bug ( bug 24321 ) that evidently has been around for a long time. Neville Smythe From richmondmathewson at gmail.com Thu Aug 31 02:41:47 2023 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 31 Aug 2023 09:41:47 +0300 Subject: Pasting text and images together? In-Reply-To: <2A778021-978E-46AC-A0F1-18BFE597B5EB@cornell.edu> References: <2A778021-978E-46AC-A0F1-18BFE597B5EB@cornell.edu> Message-ID: As far as I know image data cannot be pasted into LC. I just tried pasting a banal image of a cat from an Ecosia search into a stack directly, and into an image, to no avail. Best, Richmond. On 30.08.23 19:35, David Epstein via use-livecode wrote: > From a web browser, or from programs like Word or (Apple) Notes, it is possible to copy to the clipboard a single selection that includes both text and images. > Is there any way to paste all of this information to LiveCodefor example, placing the text in fields and the imageData in image objects, or showing everything in one field by setting the imageSource of some characters in that field? > After having copied such a collection of text and image information, the keys to the fullClipboardData seem only to include text and styled text options, with no indication of the images that are included on the clipboard. > > David Epstein > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Thu Aug 31 09:48:29 2023 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 31 Aug 2023 16:48:29 +0300 Subject: [[ ANN ]] Release 10.0.0 DP-6 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 DP-6. LiveCode 10.0.0 DP-6 comes with more than 30 bugfixes and exciting new features. You can find more details on this new release here: https://livecode.com/livecode-10-dp-6-web-fonts-and-api-33/ You can find the release in your LiveCode account area or get it via the automatic updater. Enjoy! Kind regards The LiveCode Team From roger.e.eller at sealedair.com Thu Aug 31 10:52:54 2023 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Thu, 31 Aug 2023 14:52:54 +0000 Subject: HTML5 failure / javascript console Message-ID: My first try of saving a simple stack as HTML5... When it tries to run, it says to check the Javascropt console, which shows the following. As a LiveCode Script only developer, none of this gives me a clue. This is on Windows, using Chrome. Failed to load resource: the server responded with a status of 404 (Not Found) TEST_STACK.html:155 run() called, but dependencies remain, so not running printErr @ TEST_STACK.html:155 standalone-9.6.10.js:48 a problem seems to have happened with Module.memoryInitializerRequest, status: 404, retrying standalone-9.6.10.html.mem useRequest @ standalone-9.6.10.js:48 standalone-9.6.10.html.mem:1 Failed to load resource: the server responded with a status of 404 (Not Found) standalone-9.6.10.js:48 Uncaught could not load memory initializer standalone-9.6.10.html.mem TEST_STACK.html:155 still waiting on run dependencies: printErr @ TEST_STACK.html:155 (anonymous) @ standalone-9.6.10.js:1 TEST_STACK.html:155 dependency: memory initializer printErr @ TEST_STACK.html:155 (anonymous) @ standalone-9.6.10.js:1 TEST_STACK.html:155 (end of list) From bobsneidar at iotecdigital.com Thu Aug 31 11:06:19 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Aug 2023 15:06:19 +0000 Subject: Sort bug In-Reply-To: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> Message-ID: I think you have to append “of each”. Sort lines of tVar by item 3 of each Bob S > On Aug 30, 2023, at 9:11 PM, Neville Smythe via use-livecode wrote: > > There is a bug in sorting a container using a function, as in > > sort lines tVariable by myVal(each) > > where the function is for example > > function myVal pStr > return item 1 of pStr + item 2 of pStr > end myval > > If the function myVal encounters a run-time error (in the example if one of the items is not a number) the sort command fails silently: the script exits at that code line and the user is unaware that the sort (and the rest of the handler) were not executed. > > If you sort directly with > > sort lines tVariable by (item 1 of pStr + item 2 of pStr) > > the handler will throw an error dialog, as expected. > > QC has confirmed this is a bug ( bug 24321 ) that evidently has been around for a long time. > > Neville Smythe > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Aug 31 11:25:14 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Aug 2023 15:25:14 +0000 Subject: Sort bug In-Reply-To: References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> Message-ID: To be more clear, the argument to “by” needs to be a chunk statement, not a value, followed by “of each”. Your function *might* work if you returned the chunk expression instead of the actual value the chunk resolves to. But why? I am not sure what the myVal() function accomplishes. Does the chunk expression change on the fly? Even so, pStr needs to be a list of numbers because you are adding them together, so it won’t return a chunk expression. Your method as it stands would resolve to “sort lines tVariable by 3” when it needs to resolve to something like “sort lines of tVariable by item 3 of each”. Further it looks like you are sorting by multiple items. You cannot do that in one statement. Instead run multiple sorts, by the last element first, down to the first element. Bob S > On Aug 31, 2023, at 8:06 AM, Bob Sneidar via use-livecode wrote: > > I think you have to append “of each”. Sort lines of tVar by item 3 of each > > Bob S > > >> On Aug 30, 2023, at 9:11 PM, Neville Smythe via use-livecode wrote: >> >> There is a bug in sorting a container using a function, as in >> >> sort lines tVariable by myVal(each) >> >> where the function is for example >> >> function myVal pStr >> return item 1 of pStr + item 2 of pStr >> end myval >> >> If the function myVal encounters a run-time error (in the example if one of the items is not a number) the sort command fails silently: the script exits at that code line and the user is unaware that the sort (and the rest of the handler) were not executed. >> >> If you sort directly with >> >> sort lines tVariable by (item 1 of pStr + item 2 of pStr) >> >> the handler will throw an error dialog, as expected. >> >> QC has confirmed this is a bug ( bug 24321 ) that evidently has been around for a long time. >> >> Neville Smythe >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Thu Aug 31 18:36:47 2023 From: dan at clearvisiontech.com (Dan Friedman) Date: Thu, 31 Aug 2023 22:36:47 +0000 Subject: Shutdown on Android Message-ID: Does the shutdown message (or shutdownRequest message) work on Android? I am playing a song using androidStartAudioPlayingInBackground. However, if the app is closed (swiping up to exit it), then the audio continues to play. So, I added an androidStopAudioPlayingInBackground command in the shutdown message to stop playing the audio. But doesn’t seem to work – audio continues to play. Any thoughts? -Dan From jacque at hyperactivesw.com Thu Aug 31 18:38:17 2023 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 31 Aug 2023 17:38:17 -0500 Subject: Sort bug In-Reply-To: References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> Message-ID: <5c09a840-a483-e087-ad59-16a8802a28e4@hyperactivesw.com> Actually, the syntax is correct. It uses a custom sort function. The function call includes the "each" which means it passes the correct parameter to the custom function, which then acts on it and sends the result back to the calling handler for sorting. It's a nice way to customize the built-in sort. You can do some pretty extravagant things with it. On 8/31/23 10:25 AM, Bob Sneidar via use-livecode wrote: > To be more clear, the argument to “by” needs to be a chunk statement, not a value, followed by “of each”. Your function *might* work if you returned the chunk expression instead of the actual value the chunk resolves to. > > But why? I am not sure what the myVal() function accomplishes. Does the chunk expression change on the fly? Even so, pStr needs to be a list of numbers because you are adding them together, so it won’t return a chunk expression. > > Your method as it stands would resolve to “sort lines tVariable by 3” when it needs to resolve to something like “sort lines of tVariable by item 3 of each”. > > Further it looks like you are sorting by multiple items. You cannot do that in one statement. Instead run multiple sorts, by the last element first, down to the first element. > > Bob S > > >> On Aug 31, 2023, at 8:06 AM, Bob Sneidar via use-livecode wrote: >> >> I think you have to append “of each”. Sort lines of tVar by item 3 of each >> >> Bob S >> >> >>> On Aug 30, 2023, at 9:11 PM, Neville Smythe via use-livecode wrote: >>> >>> There is a bug in sorting a container using a function, as in >>> >>> sort lines tVariable by myVal(each) >>> >>> where the function is for example >>> >>> function myVal pStr >>> return item 1 of pStr + item 2 of pStr >>> end myval >>> >>> If the function myVal encounters a run-time error (in the example if one of the items is not a number) the sort command fails silently: the script exits at that code line and the user is unaware that the sort (and the rest of the handler) were not executed. >>> >>> If you sort directly with >>> >>> sort lines tVariable by (item 1 of pStr + item 2 of pStr) >>> >>> the handler will throw an error dialog, as expected. >>> >>> QC has confirmed this is a bug ( bug 24321 ) that evidently has been around for a long time. >>> >>> Neville Smythe >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Aug 31 19:37:40 2023 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Aug 2023 23:37:40 +0000 Subject: Sort bug In-Reply-To: <5c09a840-a483-e087-ad59-16a8802a28e4@hyperactivesw.com> References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> <5c09a840-a483-e087-ad59-16a8802a28e4@hyperactivesw.com> Message-ID: <3023053B-4955-4CA4-BA8C-7532DF5F90C0@iotecdigital.com> The function is adding the value of two chunks together and returning the result. How does that even compute? Unless the + operator is doing something totally different here… Bob S On Aug 31, 2023, at 3:38 PM, J. Landman Gay via use-livecode wrote: Actually, the syntax is correct. It uses a custom sort function. The function call includes the "each" which means it passes the correct parameter to the custom function, which then acts on it and sends the result back to the calling handler for sorting. It's a nice way to customize the built-in sort. You can do some pretty extravagant things with it. On 8/31/23 10:25 AM, Bob Sneidar via use-livecode wrote: From alex at tweedly.net Thu Aug 31 19:53:23 2023 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 1 Sep 2023 00:53:23 +0100 Subject: Sort bug In-Reply-To: <3023053B-4955-4CA4-BA8C-7532DF5F90C0@iotecdigital.com> References: <64C21C5C-EC88-466B-A2CE-CA55D4EBC7CC@optusnet.com.au> <5c09a840-a483-e087-ad59-16a8802a28e4@hyperactivesw.com> <3023053B-4955-4CA4-BA8C-7532DF5F90C0@iotecdigital.com> Message-ID: On 01/09/2023 00:37, Bob Sneidar via use-livecode wrote: > The function is adding the value of two chunks together and returning the result. How does that even compute? Unless the + operator is doing something totally different here The code said: > sort lines tVariable by myVal(each) > > where the function is for example > > function myVal pStr > return item 1 of pStr + item 2 of pStr > end myval since it's sorting the lines of the container, it calls the custom function with each line in turn. The function simply adds together the first two items from the passed-in line, and returns that. The returned value is associated with the corresponding line - and then the container is sorted by those associated values. This works fine if the input variable is well formatted (i.e. first and second items of each line are numeric), but fails to give an error when something goes wrong - such as a non-numeric item. (and, yes - the dictionary description is misleading, if not simply incorrect. However, the "Tip" at the end describes the use of ustom functions). Alex. From brian at milby7.com Thu Aug 31 21:29:17 2023 From: brian at milby7.com (Brian Milby) Date: Thu, 31 Aug 2023 21:29:17 -0400 Subject: Sort bug In-Reply-To: References: Message-ID: <9DE07A74-F443-4C9F-AA16-66A2B17AC606@milby7.com> I just tried this in 10dp5 and the sort didn’t completely bail (it put the error value first) but it did error when including inline (as in the bug report). If I add a try, then it will stop on the throw. Not sure how much this would slow down execution though. function myVal pStr local tResult try put item 1 of pStr + item 2 of pStr into tResult catch errorVariable throw "Bad data" end try return tResult end myVal Brian Milby brian at milby7.com > On Aug 31, 2023, at 7:53 PM, Alex Tweedly via use-livecode wrote: > >  >> On 01/09/2023 00:37, Bob Sneidar via use-livecode wrote: >> The function is adding the value of two chunks together and returning the result. How does that even compute? Unless the + operator is doing something totally different here… > > The code said: > >> sort lines tVariable by myVal(each) >> >> where the function is for example >> >> function myVal pStr >> return item 1 of pStr + item 2 of pStr >> end myval > since it's sorting the lines of the container, it calls the custom function with each line in turn. The function simply adds together the first two items from the passed-in line, and returns that. The returned value is associated with the corresponding line - and then the container is sorted by those associated values. > > This works fine if the input variable is well formatted (i.e. first and second items of each line are numeric), but fails to give an error when something goes wrong - such as a non-numeric item. > > (and, yes - the dictionary description is misleading, if not simply incorrect. However, the "Tip" at the end describes the use of ustom functions). > > Alex. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode