From heather at livecode.com Thu Sep 5 04:50:00 2024 From: heather at livecode.com (Heather Laine) Date: Thu, 5 Sep 2024 09:50:00 +0100 Subject: testing the list Message-ID: <58223791-8345-4F89-A8B0-0D26400A4C6C@livecode.com> please ignore Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From bobsneidar at iotecdigital.com Thu Sep 5 11:03:07 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 5 Sep 2024 15:03:07 +0000 Subject: testing the list In-Reply-To: <58223791-8345-4F89-A8B0-0D26400A4C6C@livecode.com> References: <58223791-8345-4F89-A8B0-0D26400A4C6C@livecode.com> Message-ID: Okay. ;-) > On Sep 5, 2024, at 1:50 AM, Heather Laine via use-livecode wrote: > > please ignore > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com From matthias_livecode_150811 at m-r-d.de Thu Sep 12 06:09:51 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 12 Sep 2024 12:09:51 +0200 Subject: LivecodeShare/revOnline - How to upload? Message-ID: <0CDBB599-118C-4CBE-B31B-C260D0DCD5FB@m-r-d.de> Hi, am I missing something? I cannot find a login area to upload a sample stack to revOnline/LivecodeShare. My login credentials are already stored in Livecode's preferences, but the SampleStacks area within LC only shows stacks, but does not allow to upload. And the webversion at livecodeshare.runrev.com also does not offer a login. What is nowadays the recommended way to share a stack with the community? I would like to upload a new Helper stack for Windows that offers a gui for signtool.exe. It makes code signing on Windows using cloud based certificates and now also certificates on USB Token much easier. (at least I think so) ;) Regards, Matthias From marksmithhfx at gmail.com Thu Sep 12 06:40:15 2024 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 12 Sep 2024 11:40:15 +0100 Subject: LivecodeShare/revOnline - How to upload? In-Reply-To: <0CDBB599-118C-4CBE-B31B-C260D0DCD5FB@m-r-d.de> References: <0CDBB599-118C-4CBE-B31B-C260D0DCD5FB@m-r-d.de> Message-ID: <6A552922-2304-40AD-9B5B-53ADA5695E69@gmail.com> Well done Matthias. Thank you for your outstanding contributions to the community. All the best, Mark Sent from my iPhone > On Sep 12, 2024, at 11:10 AM, matthias rebbe via use-livecode wrote: > > Hi, > > am I missing something? > I cannot find a login area to upload a sample stack to revOnline/LivecodeShare. > My login credentials are already stored in Livecode's preferences, but the SampleStacks area within LC only shows stacks, but does not allow to upload. > And the webversion at livecodeshare.runrev.com also does not offer a login. > > What is nowadays the recommended way to share a stack with the community? > I would like to upload a new Helper stack for Windows that offers a gui for signtool.exe. It makes code signing on Windows using cloud based certificates and now also certificates on USB Token much easier. (at least I think so) ;) > > 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 benr_mc at cogapp.com Thu Sep 12 09:09:11 2024 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 12 Sep 2024 14:09:11 +0100 Subject: tsNet - load HTTPS from server with self-signed certificate? Message-ID: <9f32ac77-a740-4c3a-ab71-0b82729aa759@cogapp.com> Attempting to load a URL over https, from a server with a self-signed certificate. The error is: tsneterr: (60) schannel: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted. This is a server we manage. If you accessed it in a browser, you'd get a warning explaining the issue, and have the choice to say I understand, get it anyway. Is there a way in tsNet to tell it to accept this certificate (otherwise we have to load it over http, which is even less secure!)?\ TIA, Ben From matthias_livecode_150811 at m-r-d.de Thu Sep 12 09:14:44 2024 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 12 Sep 2024 15:14:44 +0200 Subject: tsNet - load HTTPS from server with self-signed certificate? In-Reply-To: <9f32ac77-a740-4c3a-ab71-0b82729aa759@cogapp.com> References: <9f32ac77-a740-4c3a-ab71-0b82729aa759@cogapp.com> Message-ID: Have a look for tsNetVerifySSLPeer in the dictionary. the command tsNetVerifySSLPeer false should fix it. Regards, Matthias Von meinem iPad gesendet > Am 12.09.2024 um 15:10 schrieb Ben Rubinstein via use-livecode : > > Attempting to load a URL over https, from a server with a self-signed certificate. The error is: > > tsneterr: (60) schannel: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted. > > > This is a server we manage. If you accessed it in a browser, you'd get a warning explaining the issue, and have the choice to say I understand, get it anyway. Is there a way in tsNet to tell it to accept this certificate (otherwise we have to load it over http, which is even less secure!)?\ > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Thu Sep 12 13:12:58 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 12 Sep 2024 17:12:58 +0000 Subject: LivecodeShare/revOnline - How to upload? Message-ID: Hi Matthias, If you are using LC 10.0.0 RC1 and then open "Sample Stacks" from within LC Sample Stacks have lost their "You are logged in" etc at the topRight of Sample Stacks. However using LC 9.6.13 it shows up as usual. This supposes that you were logged in. Otherwise it will give you the opportunity to log in. Kind regards Bernd From merakosp at gmail.com Thu Sep 12 13:57:19 2024 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 12 Sep 2024 20:57:19 +0300 Subject: LivecodeShare/revOnline - How to upload? In-Reply-To: References: Message-ID: Hello all, I am afk now, but if I remember correctly, the options to log in etc are still there in LC 10, but they have white textColor in white background! But if you hover the mouse over them they should change color. Cheers, Panos On Thu, 12 Sept 2024, 20:14 Niggemann, Bernd via use-livecode, < use-livecode at lists.runrev.com> wrote: > Hi Matthias, > > If you are using LC 10.0.0 RC1 and then open "Sample Stacks" from within > LC Sample Stacks have lost their "You are logged in" etc at the topRight of > Sample Stacks. > However using LC 9.6.13 it shows up as usual. > This supposes that you were logged in. Otherwise it will give you the > opportunity to log in. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 12 16:17:59 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 12 Sep 2024 22:17:59 +0200 Subject: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare Message-ID: Hi, WinSignHelperV2 is now available in the Sample stacks section of LC. Just search for WinSignHelperV2. It is also here available https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2 The tool builds the correct signtool.exe parameters and execute signtool.exe It was now successfully tested with Cloudbased code signing certificate and also with a code signing certificate on a USB token. You just drag the folder which contains the .exe and any additional .dll files to the stack and the tool creates the command with all parameters and executes signtool.exe then. Signtool.exe is part of the Windows sdk. A download url for the sdk can be found in the help section of the main stack. The main stack is password protected. This stack only works on Windows, regardless if on a VM or on real hardware. So if anyone is interested, then give it a try. I am still working on a lesson about how to code sign Windows standalones on macOS using a cloud based certificate or a certificate on a USB token. But this still takes time. I really hope the WinSignHelperV2 is of use for someone. Regards, Matthias From matthias_livecode_150811 at m-r-d.de Thu Sep 12 16:19:35 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 12 Sep 2024 22:19:35 +0200 Subject: LivecodeShare/revOnline - How to upload? In-Reply-To: References: Message-ID: <28EE1AA6-043B-4024-A2A2-33658F0459C6@m-r-d.de> Thanks Bernd. That helped. > Am 12.09.2024 um 19:12 schrieb Niggemann, Bernd via use-livecode : > > Hi Matthias, > > If you are using LC 10.0.0 RC1 and then open "Sample Stacks" from within LC Sample Stacks have lost their "You are logged in" etc at the topRight of Sample Stacks. > However using LC 9.6.13 it shows up as usual. > This supposes that you were logged in. Otherwise it will give you the opportunity to log in. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Sep 12 19:12:40 2024 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Thu, 12 Sep 2024 16:12:40 -0700 Subject: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare In-Reply-To: References: Message-ID: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Thank you, Matthias. I use your “mrSignNotarizeHelperV4.livecode” project regularly. I love how it wraps in DropDMG. I also wrote a GUI for code signing with a USB token. My project works well in a VM on an Intel Mac with Windows 10. However, I was hoping to run a VM on an ARM Mac using the new ARM version of Windows 11. I have been using UTM and Windows 11 Pro (version 23H2) on an M2 MacBook Pro and most things work well... except that all of my attempts to code sign inside that VM fail. I was wondering if you had any thoughts about what part of this setup might be failing. Also, I noticed that WinSignHelperV2 appears to use the PowerButton widget “com.livecode.widget.powerbutton” which may not show up as expected if the user doesn’t have the additional LiveCode Enhancements bundle installed. (I didn’t have it installed on one of my VMs) -- 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 Sep 12, 2024, at 1:17 PM, matthias rebbe via use-livecode wrote: > > Hi, > > WinSignHelperV2 is now available in the Sample stacks section of LC. > Just search for WinSignHelperV2. > It is also here available https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2 > > The tool builds the correct signtool.exe parameters and execute signtool.exe > > It was now successfully tested with Cloudbased code signing certificate and also with a code signing certificate on a USB token. > > You just drag the folder which contains the .exe and any additional .dll files to the stack and the tool creates the command with all parameters and executes signtool.exe then. > > Signtool.exe is part of the Windows sdk. A download url for the sdk can be found in the help section of the main stack. > > The main stack is password protected. > > This stack only works on Windows, regardless if on a VM or on real hardware. > > So if anyone is interested, then give it a try. > > > I am still working on a lesson about how to code sign Windows standalones on macOS using a cloud based certificate or a certificate on a USB token. > But this still takes time. > > > I really hope the WinSignHelperV2 is of use for someone. > > 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 Thu Sep 12 19:47:08 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 13 Sep 2024 01:47:08 +0200 Subject: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare In-Reply-To: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Message-ID: Hello Scott, thank you for pointing this out. Stack is fixed. I am so used to these power buttons that I just forgot that they are not included by default. Regarding the VM. I am running here a Windows 11 ARM version in a Parallels VM on my M1 Mac. And signtool.exe works here with a cloud based code signing certificate without a problem. What happens if you just run signtool.exe from command line without any parameters. Does it start and returns an error because of missing parameters or does it run in general? I using UTM only with macOS VMs, so I cannot say if it should be possible to code sign in UTM Windows VMs or not. I am currently working on a HelperStack that will help to code sign Windows standalones on macOS. The stack is not the problem, but the documentation about what is required to get it working. A lesson about this is also in progress. If you like you can contact me off-list. Regards, Matthias > Am 13.09.2024 um 01:12 schrieb scott--- via use-livecode : > > Thank you, Matthias. I use your “mrSignNotarizeHelperV4.livecode” project regularly. I love how it wraps in DropDMG. > > I also wrote a GUI for code signing with a USB token. My project works well in a VM on an Intel Mac with Windows 10. However, I was hoping to run a VM on an ARM Mac using the new ARM version of Windows 11. I have been using UTM and Windows 11 Pro (version 23H2) on an M2 MacBook Pro and most things work well... except that all of my attempts to code sign inside that VM fail. I was wondering if you had any thoughts about what part of this setup might be failing. > > Also, I noticed that WinSignHelperV2 appears to use the PowerButton widget “com.livecode.widget.powerbutton” which may not show up as expected if the user doesn’t have the additional LiveCode Enhancements bundle installed. (I didn’t have it installed on one of my VMs) > > -- > 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 Sep 12, 2024, at 1:17 PM, matthias rebbe via use-livecode wrote: >> >> Hi, >> >> WinSignHelperV2 is now available in the Sample stacks section of LC. >> Just search for WinSignHelperV2. >> It is also here available https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2 >> >> The tool builds the correct signtool.exe parameters and execute signtool.exe >> >> It was now successfully tested with Cloudbased code signing certificate and also with a code signing certificate on a USB token. >> >> You just drag the folder which contains the .exe and any additional .dll files to the stack and the tool creates the command with all parameters and executes signtool.exe then. >> >> Signtool.exe is part of the Windows sdk. A download url for the sdk can be found in the help section of the main stack. >> >> The main stack is password protected. >> >> This stack only works on Windows, regardless if on a VM or on real hardware. >> >> So if anyone is interested, then give it a try. >> >> >> I am still working on a lesson about how to code sign Windows standalones on macOS using a cloud based certificate or a certificate on a USB token. >> But this still takes time. >> >> >> I really hope the WinSignHelperV2 is of use for someone. >> >> 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 From matthias_livecode_150811 at m-r-d.de Fri Sep 13 06:36:16 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 13 Sep 2024 12:36:16 +0200 Subject: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare In-Reply-To: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Message-ID: Hello Scott, I just had a little spare time. So I created a UTM VM with Windows 11 pro 23h2. I installed the most current version of the Windows SDK, which contains native tools x86, x64 and ARM. I only selected "Windows SDK Signing Tools for Desktop Apps". First I tried to code sign using signtool.exe located in the ARM64 folder. That failed. The error was "No certificates were found that met all the given criteria" regardless if I used parameter /a or /n When using signtool.exe located in the X64 folder, the signing was successful. I did not have a closer look if the ARM version of signtool needs other parameter. But using the Intel version of signtool.exe works w/o problems on Windows 11 ARM. Is it by any chance possible that you tried to sign using the ARM version of signtool? Regards Matthias > Am 13.09.2024 um 01:12 schrieb scott--- via use-livecode : > > Thank you, Matthias. I use your “mrSignNotarizeHelperV4.livecode” project regularly. I love how it wraps in DropDMG. > > I also wrote a GUI for code signing with a USB token. My project works well in a VM on an Intel Mac with Windows 10. However, I was hoping to run a VM on an ARM Mac using the new ARM version of Windows 11. I have been using UTM and Windows 11 Pro (version 23H2) on an M2 MacBook Pro and most things work well... except that all of my attempts to code sign inside that VM fail. I was wondering if you had any thoughts about what part of this setup might be failing. > > Also, I noticed that WinSignHelperV2 appears to use the PowerButton widget “com.livecode.widget.powerbutton” which may not show up as expected if the user doesn’t have the additional LiveCode Enhancements bundle installed. (I didn’t have it installed on one of my VMs) > > -- > 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 Sep 12, 2024, at 1:17 PM, matthias rebbe via use-livecode wrote: >> >> Hi, >> >> WinSignHelperV2 is now available in the Sample stacks section of LC. >> Just search for WinSignHelperV2. >> It is also here available https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2 >> >> The tool builds the correct signtool.exe parameters and execute signtool.exe >> >> It was now successfully tested with Cloudbased code signing certificate and also with a code signing certificate on a USB token. >> >> You just drag the folder which contains the .exe and any additional .dll files to the stack and the tool creates the command with all parameters and executes signtool.exe then. >> >> Signtool.exe is part of the Windows sdk. A download url for the sdk can be found in the help section of the main stack. >> >> The main stack is password protected. >> >> This stack only works on Windows, regardless if on a VM or on real hardware. >> >> So if anyone is interested, then give it a try. >> >> >> I am still working on a lesson about how to code sign Windows standalones on macOS using a cloud based certificate or a certificate on a USB token. >> But this still takes time. >> >> >> I really hope the WinSignHelperV2 is of use for someone. >> >> 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 From dan at clearvisiontech.com Fri Sep 13 11:14:24 2024 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 13 Sep 2024 15:14:24 +0000 Subject: SFTP Woes In-Reply-To: References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Message-ID: Greetings! I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: sftp protocol not supported in this version I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? Thank you in advance for any guidance! -Dan From heather at livecode.com Fri Sep 13 11:58:09 2024 From: heather at livecode.com (Heather Laine) Date: Fri, 13 Sep 2024 16:58:09 +0100 Subject: SFTP Woes In-Reply-To: References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Message-ID: <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> Check which license you are using. You may need Pro features (Business) to use SFTP, so if you're using an older Indy type license that could be the problem. All Pro features are included in Create. To check/change the license, follow the steps in this lesson: https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode wrote: > > Greetings! > > I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: > > sftp protocol not supported in this version > > I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? > > Thank you in advance for any guidance! > -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 dan at clearvisiontech.com Fri Sep 13 12:10:30 2024 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 13 Sep 2024 16:10:30 +0000 Subject: SFTP Woes In-Reply-To: <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> Message-ID: Heather, Thank you for the reply, but I am using a Business License with Pro Features. But I relicensed LC anyway to verify it’s connected to the Pro Features account. Still get the same warning. So, that’s not the issue. Any other ideas? -Dan From: use-livecode on behalf of Heather Laine via use-livecode Date: Friday, September 13, 2024 at 8:59 AM To: How to use LiveCode Cc: Heather Laine Subject: Re: SFTP Woes Check which license you are using. You may need Pro features (Business) to use SFTP, so if you're using an older Indy type license that could be the problem. All Pro features are included in Create. To check/change the license, follow the steps in this lesson: https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode wrote: > > Greetings! > > I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: > > sftp protocol not supported in this version > > I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? > > Thank you in advance for any guidance! > -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 matthias_livecode_150811 at m-r-d.de Fri Sep 13 14:09:48 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 13 Sep 2024 20:09:48 +0200 Subject: SFTP Woes In-Reply-To: References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> Message-ID: <2B90CD64-3B95-4214-BC28-3692F249EDCE@m-r-d.de> Dan, what does put tsnetversion() return? Here with 9.6.13 I get "Version 1.4.10 Business Edition" > Am 13.09.2024 um 18:10 schrieb Dan Friedman via use-livecode : > > Heather, > > Thank you for the reply, but I am using a Business License with Pro Features. But I relicensed LC anyway to verify it’s connected to the Pro Features account. Still get the same warning. > > So, that’s not the issue. Any other ideas? > > -Dan > > > > From: use-livecode > on behalf of Heather Laine via use-livecode > > Date: Friday, September 13, 2024 at 8:59 AM > To: How to use LiveCode > > Cc: Heather Laine > > Subject: Re: SFTP Woes > Check which license you are using. You may need Pro features (Business) to use SFTP, so if you're using an older Indy type license that could be the problem. All Pro features are included in Create. > > To check/change the license, follow the steps in this lesson: > > https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > >> On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode wrote: >> >> Greetings! >> >> I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: >> >> sftp protocol not supported in this version >> >> I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? >> >> Thank you in advance for any guidance! >> -Dan >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Fri Sep 13 14:34:14 2024 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 13 Sep 2024 18:34:14 +0000 Subject: SFTP Woes In-Reply-To: <2B90CD64-3B95-4214-BC28-3692F249EDCE@m-r-d.de> References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> <2B90CD64-3B95-4214-BC28-3692F249EDCE@m-r-d.de> Message-ID: I get different results in different versions of LC: LC 9.6.10 > Version 1.4.9 Business Edition LC 10.0.0 (rc 2) > Version 1.4.10 Business Edition LC 9.6.13 > Version 1.4.10 Business Edition -Dan From: use-livecode on behalf of matthias rebbe via use-livecode Date: Friday, September 13, 2024 at 11:11 AM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: SFTP Woes Dan, what does put tsnetversion() return? Here with 9.6.13 I get "Version 1.4.10 Business Edition" > Am 13.09.2024 um 18:10 schrieb Dan Friedman via use-livecode : > > Heather, > > Thank you for the reply, but I am using a Business License with Pro Features. But I relicensed LC anyway to verify it’s connected to the Pro Features account. Still get the same warning. > > So, that’s not the issue. Any other ideas? > > -Dan > > > > From: use-livecode > on behalf of Heather Laine via use-livecode > > Date: Friday, September 13, 2024 at 8:59 AM > To: How to use LiveCode > > Cc: Heather Laine > > Subject: Re: SFTP Woes > Check which license you are using. You may need Pro features (Business) to use SFTP, so if you're using an older Indy type license that could be the problem. All Pro features are included in Create. > > To check/change the license, follow the steps in this lesson: > > https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > >> On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode wrote: >> >> Greetings! >> >> I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: >> >> sftp protocol not supported in this version >> >> I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? >> >> Thank you in advance for any guidance! >> -Dan >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Sep 13 18:44:39 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 13 Sep 2024 22:44:39 +0000 Subject: CharToNum Depricated?? Message-ID: <49F48D94-97E6-40C4-A32A-4871F7A4553F@iotecdigital.com> I am having an issue where I am trying to compare the data of two files I read from disk character by character. To the naked eye, both files are identical. If I open each file in Sublime Text and do a fileDiff, it declares they are identical. But when I look at the actual file size, one is slightly larger than the other. Also, when I compare the ascii values of each character, right off the bat with the first character, charToNum reports that in one file the first character is “F” which is correct. But for the second file, it is “?” which is NOT CORRECT!!! Now one file I generated by converting a Konica Minolta address book to a Toshiba address book. I won’t go into the gory details, but remember both files I am comparing look identical and SublimeText thinks they are identical. My suspicion is that the source file, the Konica Minolta address book is unicode. What I did. to try and get around this is I used textDecode(it, “ASCII”) on the data read from the disk, but I am still getting the same results. My goal is to read the data as ascii data with NO UNICODE and then export it with NO UNICODE. Bob S From bobsneidar at iotecdigital.com Fri Sep 13 18:50:26 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 13 Sep 2024 22:50:26 +0000 Subject: CharToNum Depricated?? In-Reply-To: <49F48D94-97E6-40C4-A32A-4871F7A4553F@iotecdigital.com> References: <49F48D94-97E6-40C4-A32A-4871F7A4553F@iotecdigital.com> Message-ID: <94D33B7E-DC44-4C83-9988-381719AD1474@iotecdigital.com> Also, if charToNum is deprecated, what do I use to compare t he ascii values of two characters?? Bob S > On Sep 13, 2024, at 3:44 PM, Bob Sneidar via use-livecode wrote: > > I am having an issue where I am trying to compare the data of two files I read from disk character by character. To the naked eye, both files are identical. If I open each file in Sublime Text and do a fileDiff, it declares they are identical. But when I look at the actual file size, one is slightly larger than the other. Also, when I compare the ascii values of each character, right off the bat with the first character, charToNum reports that in one file the first character is “F” which is correct. But for the second file, it is “?” which is NOT CORRECT!!! > > Now one file I generated by converting a Konica Minolta address book to a Toshiba address book. I won’t go into the gory details, but remember both files I am comparing look identical and SublimeText thinks they are identical. > > My suspicion is that the source file, the Konica Minolta address book is unicode. What I did. to try and get around this is I used textDecode(it, “ASCII”) on the data read from the disk, but I am still getting the same results. > > My goal is to read the data as ascii data with NO UNICODE and then export it with NO UNICODE. > > 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 Bernd.Niggemann at uni-wh.de Sun Sep 15 14:50:16 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Sun, 15 Sep 2024 18:50:16 +0000 Subject: CharToNum Depricated?? Message-ID: Hi Bob, charToNum has been deprecated, I think since LC 7.0 It is replaced by nativeCharToNum() and byteToNum (As of LC 10.0.0 charToNum maps to nativeCharToNum, see release notes) This covers the ASCII range. For unicode you use codepointToNum() I suspect that the small difference you see in file size is a Byte Order Mark, BOM at the beginning of the Konica Minolta address book. You could try to use "open file" to import the Konica Minolta address book. open file tFilePath for read read from file tFilePath until EOF put it into tData close file tFilePath The dictionary states >From 7.0, it's possible to specify an encoding for the file being opened. By doing so, you can straight read or write to a file without having to call textEncode or textDecode; the encoding supported by open file are the same as these text encoding functions. If no encoding is provided, then open file tries to read a Byte Order Mark (BOM) exists at the beginning of the file. In success, the encoding is adapted and the BOM is ignored. If my assumption that there is a BOM is correct then after opening and reading from the file should give you the same length of the data since the BOM is not part of the data. I guess that is also the reason why SublimeText sees both files as identical. It probably also ignores the BOM. I am just guessing and I am not an expert for these matters but maybe this gives you an idea to try. Kind regard Bernd Bob wrote Also, if charToNum is deprecated, what do I use to compare t he ascii values of two characters?? From craig at starfirelighting.com Mon Sep 16 08:59:34 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 16 Sep 2024 08:59:34 -0400 Subject: CharToNum Depricated?? In-Reply-To: References: Message-ID: <7F3371E8-6735-42B9-8114-71354D729291@starfirelighting.com> CharTo Num and NumToChar still work just fine, deprecation notwithstanding. LC would not permit a new version to break old code if they could at all help it. I never really migrated over to the updated “codePoint” version. I hope this laziness does not bite me one day. Craig From bobsneidar at iotecdigital.com Mon Sep 16 12:26:22 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Sep 2024 16:26:22 +0000 Subject: CharToNum Depricated?? In-Reply-To: References: Message-ID: I think you nailed it Bernd. That scans with all that I am seeing in troubleshooting. Bob S > On Sep 15, 2024, at 11:50 AM, Niggemann, Bernd via use-livecode wrote: > > Hi Bob, > > charToNum has been deprecated, I think since LC 7.0 > > It is replaced by nativeCharToNum() and byteToNum > > (As of LC 10.0.0 charToNum maps to nativeCharToNum, see release notes) > > This covers the ASCII range. > > For unicode you use codepointToNum() > > I suspect that the small difference you see in file size is a Byte Order Mark, BOM at the beginning of the Konica Minolta address book. > > You could try to use "open file" to import the Konica Minolta address book. > > open file tFilePath for read > read from file tFilePath until EOF > put it into tData > close file tFilePath > > The dictionary states > > From 7.0, it's possible to specify an encoding for the file being > opened. By doing so, you can straight read or write to a file without > having to call textEncode or textDecode; the encoding supported by > open file are the same as these text encoding functions. If no encoding > is provided, then open file tries to read a Byte Order Mark (BOM) exists > at the beginning of the file. In success, the encoding is adapted and the > BOM is ignored. > > > If my assumption that there is a BOM is correct then after opening and reading from the file should give you the same length of the data since the BOM is not part of the data. > I guess that is also the reason why SublimeText sees both files as identical. It probably also ignores the BOM. > > I am just guessing and I am not an expert for these matters but maybe this gives you an idea to try. > > Kind regard > Bernd > > > Bob wrote > > Also, if charToNum is deprecated, what do I use to compare t he ascii values of > two characters?? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 16 17:06:16 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Sep 2024 21:06:16 +0000 Subject: CharToNum Depricated?? In-Reply-To: References: Message-ID: OK so I determined that the native export file from the Toshiba Address Book Export is putting some non-display (probably unicode) characters at the beginning of the file. They don’t appear in any text editor but they are there because when I do a char by char comparison, the very first char in the Toshiba Export file is a question mark. Is there any way to ignore that exterraneous data when reading the file? Bob S From bobsneidar at iotecdigital.com Mon Sep 16 17:45:04 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Sep 2024 21:45:04 +0000 Subject: CharToNum Depricated?? In-Reply-To: References: Message-ID: Actually I think what I need to do is figure out what the original file encoding is, and use that when I write out the export file. Bob S > On Sep 16, 2024, at 2:06 PM, Bob Sneidar wrote: > > OK so I determined that the native export file from the Toshiba Address Book Export is putting some non-display (probably unicode) characters at the beginning of the file. They don’t appear in any text editor but they are there because when I do a char by char comparison, the very first char in the Toshiba Export file is a question mark. > > Is there any way to ignore that exterraneous data when reading the file? > > Bob S > From Bernd.Niggemann at uni-wh.de Tue Sep 17 07:41:42 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Tue, 17 Sep 2024 11:41:42 +0000 Subject: CharToNum Depricated?? Message-ID: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> Hi Bob, Actually I think what I need to do is figure out what the original file encoding is, and use that when I write out the export file. I assume that the byte order mark (BOM) is for UTF-8 To see the BOM for UTF-8 make a button and a field named "fText" Use this script for the button ------------------------------------------------------------- on mouseUp local tPath, tContent, tBom, tCollect answer file "choose" if it is empty then exit mouseUp put it into tPath if the optionKey is down then put url ("binfile:" & tPath) into tContent delete line 2 to -1 of tContent put textEncode(tContent, "UTF-8") into tContent else put url ("file:" & tPath) into tContent delete line 2 to -1 of tContent end if put tContent into field "fText" end mouseUp ------------------------------------------------------------- and see if you see the BOM when you hold down the option key when opening the file If you do not use the option key there should be no BOM at the beginning of the text and the text is automatically UTF-8 encoded Apparently "put url ("file:" & tPath)" is also aware of the encoding of the file since it converts it omits the BOM. Kind regards Bernd From bobsneidar at iotecdigital.com Tue Sep 17 11:32:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Sep 2024 15:32:41 +0000 Subject: CharToNum Depricated?? In-Reply-To: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> Message-ID: Thanks Bernd. But I finally figured out what the issue was. It seems that unless the output file is opened binary, any attempt to wrote to a file using any of the cr, lf or crlf keywords in LC will result in LC auto-converting them to cr, because that is the Macintosh standard. What I had to do is to use numToCodepoint() to create a variable containing ascii characters 13 and 10 (crlf) and then use that variable to end my lines. The way I actually figured out what the issue was, is I downloaded Notepad++ for Windows which has the capability of showing non-printing characters, and it does not transparently cut convert files without informing the user, as Microsoft seems to think they have every right to take the liberty to do. And without putting too fine a point on it, Livecode seems to take the same liberties. If I write lf to a file, I expect the file to contain lf and not cr! But at least there is a way around it. Bob S > On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode wrote: > > Hi Bob, > > > Actually I think what I need to do is figure out what the original file > encoding is, and use that when I write out the export file. > > I assume that the byte order mark (BOM) is for UTF-8 > > To see the BOM for UTF-8 make a button and a field named "fText" > > Use this script for the button > > ------------------------------------------------------------- > on mouseUp > local tPath, tContent, tBom, tCollect > answer file "choose" > if it is empty then exit mouseUp > put it into tPath > if the optionKey is down then > put url ("binfile:" & tPath) into tContent > delete line 2 to -1 of tContent > put textEncode(tContent, "UTF-8") into tContent > else > put url ("file:" & tPath) into tContent > delete line 2 to -1 of tContent > end if > put tContent into field "fText" > end mouseUp > ------------------------------------------------------------- > > and see if you see the BOM when you hold down the option key when opening the file > If you do not use the option key there should be no BOM at the beginning of the text and the text is automatically UTF-8 encoded > Apparently "put url ("file:" & tPath)" is also aware of the encoding of the file since it converts it omits the BOM. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 17 11:50:47 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Sep 2024 15:50:47 +0000 Subject: CharToNum Depricated?? In-Reply-To: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> Message-ID: <03283B9C-F53D-4478-BA24-E8CD79D604EC@iotecdigital.com> I also read up on the BOM, and for UTF-8 it is optional, and as mentioned not recommended, because UTF-8 always uses the same byte order. And anyway, the BOM was never the issue. Apparently Livecode always produces a UTF-8 format file unless instructed to do otherwise. Bob S On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode wrote: Hi Bob, Actually I think what I need to do is figure out what the original file encoding is, and use that when I write out the export file. I assume that the byte order mark (BOM) is for UTF-8 To see the BOM for UTF-8 make a button and a field named "fText" Use this script for the button From bobsneidar at iotecdigital.com Tue Sep 17 17:13:29 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Sep 2024 21:13:29 +0000 Subject: CharToNum Depricated?? In-Reply-To: <03283B9C-F53D-4478-BA24-E8CD79D604EC@iotecdigital.com> References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> <03283B9C-F53D-4478-BA24-E8CD79D604EC@iotecdigital.com> Message-ID: <93101EB7-CAB1-4FF7-B293-F43E1A39D4CE@iotecdigital.com> I went through all my code and replaced charToNum and numToChar with codepointToNum and numToCodepoint respectively. If it matters to anyone, the Quartum PDF, Excel and sqlYoga libraries all were using the depricated versions. Bob S > On Sep 17, 2024, at 8:50 AM, Bob Sneidar via use-livecode wrote: > > I also read up on the BOM, and for UTF-8 it is optional, and as mentioned not recommended, because UTF-8 always uses the same byte order. > > And anyway, the BOM was never the issue. Apparently Livecode always produces a UTF-8 format file unless instructed to do otherwise. > > Bob S > > > On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode wrote: > > Hi Bob, > > > Actually I think what I need to do is figure out what the original file > encoding is, and use that when I write out the export file. > > I assume that the byte order mark (BOM) is for UTF-8 > > To see the BOM for UTF-8 make a button and a field named "fText" > > Use this script for the button > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Sep 18 04:59:33 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 18 Sep 2024 03:59:33 -0500 Subject: CharToNum Depricated?? In-Reply-To: References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> Message-ID: <192045bb908.281c.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I should have thought of that. Line endings are always translated to/from native unless the file is opened/written in binary, it's been that way since MetaCard. It's a feature. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 17, 2024 10:35:05 AM Bob Sneidar via use-livecode wrote: > Thanks Bernd. But I finally figured out what the issue was. It seems that > unless the output file is opened binary, any attempt to wrote to a file > using any of the cr, lf or crlf keywords in LC will result in LC > auto-converting them to cr, because that is the Macintosh standard. What I > had to do is to use numToCodepoint() to create a variable containing ascii > characters 13 and 10 (crlf) and then use that variable to end my lines. > > The way I actually figured out what the issue was, is I downloaded > Notepad++ for Windows which has the capability of showing non-printing > characters, and it does not transparently cut convert files without > informing the user, as Microsoft seems to think they have every right to > take the liberty to do. > > And without putting too fine a point on it, Livecode seems to take the same > liberties. If I write lf to a file, I expect the file to contain lf and not > cr! But at least there is a way around it. > > Bob S > > >> On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode >> wrote: >> >> Hi Bob, >> >> >> Actually I think what I need to do is figure out what the original file >> encoding is, and use that when I write out the export file. >> >> I assume that the byte order mark (BOM) is for UTF-8 >> >> To see the BOM for UTF-8 make a button and a field named "fText" >> >> Use this script for the button >> >> ------------------------------------------------------------- >> on mouseUp >> local tPath, tContent, tBom, tCollect >> answer file "choose" >> if it is empty then exit mouseUp >> put it into tPath >> if the optionKey is down then >> put url ("binfile:" & tPath) into tContent >> delete line 2 to -1 of tContent >> put textEncode(tContent, "UTF-8") into tContent >> else >> put url ("file:" & tPath) into tContent >> delete line 2 to -1 of tContent >> end if >> put tContent into field "fText" >> end mouseUp >> ------------------------------------------------------------- >> >> and see if you see the BOM when you hold down the option key when opening >> the file >> If you do not use the option key there should be no BOM at the beginning of >> the text and the text is automatically UTF-8 encoded >> Apparently "put url ("file:" & tPath)" is also aware of the encoding of the >> file since it converts it omits the BOM. >> >> Kind regards >> Bernd >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Sep 18 11:41:23 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Sep 2024 15:41:23 +0000 Subject: CharToNum Depricated?? In-Reply-To: <192045bb908.281c.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> <192045bb908.281c.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4FB7C167-1AA3-4E31-9061-1AF440EEFD3D@iotecdigital.com> Thanks Jacqueline. I knew about the binary thing. I just thnik that silent conversions are a violation of the of principle of low level file operations. The whole point to low level file functions is so that what you write is what you get, and what you read is what you wrote. But it’s water under the bridge now. I’m even thinking about going through all my code and ensuring that all reads and writes are binary, and that all line endings are CRLF. Bob S On Sep 18, 2024, at 1:59 AM, J. Landman Gay via use-livecode wrote: I should have thought of that. Line endings are always translated to/from native unless the file is opened/written in binary, it's been that way since MetaCard. It's a feature. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Wed Sep 18 12:45:23 2024 From: dsc at swcp.com (Dar Scott) Date: Wed, 18 Sep 2024 10:45:23 -0600 Subject: I came back and ... What?! Message-ID: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Projects have required a bit of my wandering, a bit of dalliance on my part. I have come back and I find bright lights and confetti, but the floor and steps are painted black. I need some guidance. (I am not even able to get the latest LiveCode and find that my subscription had been cancelled. I imagine Heather will fix all that.) This is partly my fault, I didn’t have a good way to separate the LiveCode marketing emails from here-is-an-important-message-about-your-account. I am fully willing to try LiveCode Create. Maybe there are less bugs in the engine. This might be good for creating bread and butter applications. But, the pricing scheme is constraining and complicated. About 3/4 of what I deliver are library stacks for those who develop using LiveCode. I am assuming that I can deliver those without any royalties or whatever they are. This should not impact me. However, I wonder if some of my customers might be moving away from LiveCode because of the pricing model. I will most likely get things resolved so I can deliver library stacks. The pricing scheme for executables is a blocker for the other 1/4 and my in-house usage. A three page appendix to my proposal for a new or old customer explaining how the customer has to pay additional fees for using the software part of what I deliver, will kill any agreement right there. The best I can do is propose applications and then hand it over LiveCode to a Python programmer and say “please rewrite this in Python”. And in the middle or after a project, I cannot say, “No problem; here is a tiny program that monitors the status of the machines.” Or the REST connections or whatever. Overall, I was not able to find a way to provide my customer with a prepaid indefinite license. And in-house. It was nice to say to a EE in the lab, “Here is something I whipped up last night to get the data from the prototype and the oscilloscope.” I don’t want to add next time, “And figure out the red tape and requisition a couple months of using the program.” What kind of leader would I be if I say, “No, these are my tools. I made them. You cannot use them. Mine. Mine." I’m in a quandary over whether to buy Create today (or wait until the LiveCode license problem is fixed). And then there is my surprise to learn $36.67 X 12 = $660. I know most of you have had to weather this. I welcome advice. Fondly remembering you folks, Dar From bobsneidar at iotecdigital.com Wed Sep 18 13:09:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Sep 2024 17:09:41 +0000 Subject: New licensing Message-ID: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> Well I didn’t want to post this on the main list for reasons that will become obvious. First, any apps you create with Classic will still operate under the old license. I have been assured that if I create and distribute an app the last day of the classic licensing, the distributed apps will continue to function, so no worries there. Up until sometime in 2027 you should still be good. What to do after that is the issue. Certain LC developers have forked the LC build based upon the Open Licensing of Livecode. It functions so far as I can tell just like the commercial version of LC, but of course any changes made to LC prior to the fork will of course not be in the Open xTalk build. For instance LC *finally* incorporated inline custom behaviors for Datagrids, something I take full advantage of. But unfortunately, it did not make it into the fork, and the OXT devs do not appear to think it worth it to replicate the work, even though it is quite simple to do. I will have to do considerable refactoring to make my main project work. So there you are. Don’t tell anyone at LC I said so. There’s no bad blood between LC and the OXT project, they have amicably parted ways, forked their relationship if you will. :-) But obviously promoting a competing project on the list would be at the very least rude. Bob S From bobsneidar at iotecdigital.com Wed Sep 18 13:13:48 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Sep 2024 17:13:48 +0000 Subject: New licensing In-Reply-To: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> References: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> Message-ID: Sorry list, that was supposed to go to Dar. Bob S > On Sep 18, 2024, at 10:09 AM, Bob Sneidar via use-livecode wrote: > > Well I didn’t want to post this on the main list for reasons that will become obvious. > > First, any apps you create with Classic will still operate under the old license. I have been assured that if I create and distribute an app the last day of the classic licensing, the distributed apps will continue to function, so no worries there. Up until sometime in 2027 you should still be good. > > What to do after that is the issue. Certain LC developers have forked the LC build based upon the Open Licensing of Livecode. It functions so far as I can tell just like the commercial version of LC, but of course any changes made to LC prior to the fork will of course not be in the Open xTalk build. > > For instance LC *finally* incorporated inline custom behaviors for Datagrids, something I take full advantage of. But unfortunately, it did not make it into the fork, and the OXT devs do not appear to think it worth it to replicate the work, even though it is quite simple to do. I will have to do considerable refactoring to make my main project work. > > So there you are. Don’t tell anyone at LC I said so. There’s no bad blood between LC and the OXT project, they have amicably parted ways, forked their relationship if you will. :-) But obviously promoting a competing project on the list would be at the very least rude. > > 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 marksmithhfx at gmail.com Wed Sep 18 14:51:19 2024 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 18 Sep 2024 19:51:19 +0100 Subject: New licensing In-Reply-To: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> References: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> Message-ID: <400054B7-0A28-4A4C-9498-8398CB86ADF4@gmail.com> Hi Bob, thanks for the info. Could you please expound a little on what you said below, or give an example of how this works or how you use it? It sounds very interesting but I am not sure exactly what you are describing. Many thanks Mark > On 18 Sep 2024, at 6:09 PM, Bob Sneidar via use-livecode wrote: > > For instance LC *finally* incorporated inline custom behaviors for Datagrids From dsc at swcp.com Wed Sep 18 15:04:18 2024 From: dsc at swcp.com (Dar Scott) Date: Wed, 18 Sep 2024 13:04:18 -0600 Subject: I came back and ... What?! In-Reply-To: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Message-ID: I did not mean to kick up rubble. My bad. How do I handle my canceled LiveCode subscription? I haven’t heard back from Heather. What should I expect? I renewed back in the spring. Is this now lost? How do I get Create? Should I wait on the LiveCode subscription issue resolution before I get Create? I’m willing to try it. Is there really a math error in the basket calculations or am I missing something? Am I allowed to create libraries for my customers (developers of LiveCode applications) without complications? It is not clear; this might be part of “use in an IDE”. Am I responsible for my customer’s failure to pay fees to LiveCode if my library is the bulk of the code in the application? It is not clear in the license. How do I keep up with user-months within my own organization? How do I handle software included in my non-subscription deliverables? I very much would like to move forward, but, frankly, I’m all confused. Maybe some folks have answers to one or two. Maybe that way these get covered. Or some general advice is good, too. Dar > On Sep 18, 2024, at 10:45 AM, Dar Scott via use-livecode might have written: > ... > I need some guidance. > ... From merakosp at gmail.com Wed Sep 18 15:25:31 2024 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 18 Sep 2024 22:25:31 +0300 Subject: I came back and ... What?! In-Reply-To: References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Message-ID: Hello Dar, Heather is off for a couple of weeks. I suggest you contact support at livecode.com, to get answers to all these questions. Kind regards Panos On Wed, 18 Sept 2024, 22:05 Dar Scott via use-livecode, < use-livecode at lists.runrev.com> wrote: > I did not mean to kick up rubble. My bad. > > How do I handle my canceled LiveCode subscription? I haven’t heard back > from Heather. What should I expect? I renewed back in the spring. Is this > now lost? > > How do I get Create? Should I wait on the LiveCode subscription issue > resolution before I get Create? I’m willing to try it. Is there really a > math error in the basket calculations or am I missing something? > > Am I allowed to create libraries for my customers (developers of LiveCode > applications) without complications? It is not clear; this might be part of > “use in an IDE”. Am I responsible for my customer’s failure to pay fees to > LiveCode if my library is the bulk of the code in the application? It is > not clear in the license. > > How do I keep up with user-months within my own organization? > > How do I handle software included in my non-subscription deliverables? > > I very much would like to move forward, but, frankly, I’m all confused. > Maybe some folks have answers to one or two. Maybe that way these get > covered. Or some general advice is good, too. > > Dar > > > On Sep 18, 2024, at 10:45 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> might have written: > > ... > > I need some guidance. > > ... > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 18 15:47:27 2024 From: dsc at swcp.com (Dar Scott) Date: Wed, 18 Sep 2024 13:47:27 -0600 Subject: I came back and ... What?! In-Reply-To: References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Message-ID: Thanks, Panos! I will do that. I do hope for advice from those who have had to navigate the pitfalls. Dar > On Sep 18, 2024, at 1:25 PM, panagiotis merakos via use-livecode wrote: > > Hello Dar, > > Heather is off for a couple of weeks. I suggest you contact > support at livecode.com, to get answers to all these questions. > > Kind regards > Panos > > On Wed, 18 Sept 2024, 22:05 Dar Scott via use-livecode, < > use-livecode at lists.runrev.com> wrote: > >> I did not mean to kick up rubble. My bad. >> >> How do I handle my canceled LiveCode subscription? I haven’t heard back >> from Heather. What should I expect? I renewed back in the spring. Is this >> now lost? >> >> How do I get Create? Should I wait on the LiveCode subscription issue >> resolution before I get Create? I’m willing to try it. Is there really a >> math error in the basket calculations or am I missing something? >> >> Am I allowed to create libraries for my customers (developers of LiveCode >> applications) without complications? It is not clear; this might be part of >> “use in an IDE”. Am I responsible for my customer’s failure to pay fees to >> LiveCode if my library is the bulk of the code in the application? It is >> not clear in the license. >> >> How do I keep up with user-months within my own organization? >> >> How do I handle software included in my non-subscription deliverables? >> >> I very much would like to move forward, but, frankly, I’m all confused. >> Maybe some folks have answers to one or two. Maybe that way these get >> covered. Or some general advice is good, too. >> >> Dar >> >>> On Sep 18, 2024, at 10:45 AM, Dar Scott via use-livecode < >> use-livecode at lists.runrev.com> might have written: >>> ... >>> I need some guidance. >>> ... >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From curry at pair.com Wed Sep 18 16:15:53 2024 From: curry at pair.com (Curry Kenworthy) Date: Wed, 18 Sep 2024 16:15:53 -0400 Subject: I came back and ... What?! In-Reply-To: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Message-ID: <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> Hi Dar, I am so glad to see that you are back! Warm welcome. I have had a fever lately, so ... More comments on this after getting a bit better. :) Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" https://livecodeconsulting.com/ From dsc at swcp.com Thu Sep 19 12:12:38 2024 From: dsc at swcp.com (Dar Scott) Date: Thu, 19 Sep 2024 10:12:38 -0600 Subject: I came back and ... What?! In-Reply-To: <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> Message-ID: <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> I apologize for making waves when there has been much already. Before bringing up more, I want to carefully study Create and the pricing. However, I seem to have lost my way. Can someone remind me of the root URL for Create or the pricing? > On Sep 18, 2024, at 2:15 PM, Curry Kenworthy via use-livecode wrote: > > Hi Dar, > > I am so glad to see that you are back! Warm welcome. > > I have had a fever lately, so ... > > More comments on this after getting a bit better. :) > > Best wishes, > > Curry Kenworthy > > Radically Innovative Christian LiveCode Development > "PASSION for Elegant, Efficient Code!" > https://livecodeconsulting.com/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Sep 19 12:40:22 2024 From: tom at makeshyft.com (Tom Glod) Date: Thu, 19 Sep 2024 12:40:22 -0400 Subject: I came back and ... What?! In-Reply-To: <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> Message-ID: The man, the myth, the legend. Welcome back https://future.livecode.com On Thu, Sep 19, 2024 at 12:14 PM Dar Scott via use-livecode < use-livecode at lists.runrev.com> wrote: > I apologize for making waves when there has been much already. Before > bringing up more, I want to carefully study Create and the pricing. > However, I seem to have lost my way. Can someone remind me of the root URL > for Create or the pricing? > > > On Sep 18, 2024, at 2:15 PM, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Dar, > > > > I am so glad to see that you are back! Warm welcome. > > > > I have had a fever lately, so ... > > > > More comments on this after getting a bit better. :) > > > > Best wishes, > > > > Curry Kenworthy > > > > Radically Innovative Christian LiveCode Development > > "PASSION for Elegant, Efficient Code!" > > https://livecodeconsulting.com/ > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Sep 19 14:13:53 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Sep 2024 13:13:53 -0500 Subject: I came back and ... What?! In-Reply-To: <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> Message-ID: <1920b7d96e8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm so glad to see you back, Dar. While you're waiting for support, this FAQ might help answer some questions: https://future.livecode.com/faq/ I think we're all struggling to decide how to handle this new direction. I have some of the same concerns as you regarding some of my long-term clients. For now I'll continue with the classic version for those people until it's discontinued. After that I'll work with support to see if we can work out something. Kevin has said they'll evaluate individual requests as needed. Welcome back! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 19, 2024 11:15:02 AM Dar Scott via use-livecode wrote: > I apologize for making waves when there has been much already. Before > bringing up more, I want to carefully study Create and the pricing. > However, I seem to have lost my way. Can someone remind me of the root URL > for Create or the pricing? From dsc at swcp.com Thu Sep 19 14:26:15 2024 From: dsc at swcp.com (Dar Scott) Date: Thu, 19 Sep 2024 12:26:15 -0600 Subject: I came back and ... What?! In-Reply-To: <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> Message-ID: <8648A8FB-53F5-452F-A89D-355CDA68AAA4@swcp.com> Found it! future.livecode.com > On Sep 19, 2024, at 10:12 AM, Dar Scott wrote: > > I apologize for making waves when there has been much already. Before bringing up more, I want to carefully study Create and the pricing. However, I seem to have lost my way. Can someone remind me of the root URL for Create or the pricing? > >> On Sep 18, 2024, at 2:15 PM, Curry Kenworthy via use-livecode wrote: >> >> Hi Dar, >> >> I am so glad to see that you are back! Warm welcome. >> >> I have had a fever lately, so ... >> >> More comments on this after getting a bit better. :) >> >> Best wishes, >> >> Curry Kenworthy >> >> Radically Innovative Christian LiveCode Development >> "PASSION for Elegant, Efficient Code!" >> https://livecodeconsulting.com/ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Sun Sep 22 06:54:22 2024 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 22 Sep 2024 10:54:22 +0000 Subject: Tree view widget messages not firing? Message-ID: Is there some secret to getting the tree view messages to fire? The actionInspect message works as advertised but I can’t get either the dataChanged or formattedHieghtChanged messages to trigger. I was expecting the dataChanged message to trigger whenever the arrayData of the widget was set to something different but I get nothing. Any ideas/advice? Cheers, Terry From brian at milby7.com Sun Sep 22 13:21:50 2024 From: brian at milby7.com (Brian Milby) Date: Sun, 22 Sep 2024 13:21:50 -0400 Subject: Tree view widget messages not firing? In-Reply-To: References: Message-ID: That message is posted when the widget changes the value of the array by adding/deleting a key. It is not posted when the array is set. Formattedheightchanged should fire when the total height of data changed. Easiest way to get it sent is expanding a node. My use of that widget never uses the changed message but I’ve made a good bit of use of the height message. Brian Milby brian at milby7.com > On Sep 22, 2024, at 6:56 AM, Terry Judd via use-livecode wrote: > > Is there some secret to getting the tree view messages to fire? The actionInspect message works as advertised but I can’t get either the dataChanged or formattedHieghtChanged messages to trigger. I was expecting the dataChanged message to trigger whenever the arrayData of the widget was set to something different but I get nothing. > > Any ideas/advice? > > Cheers, > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Sep 23 17:44:03 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 23 Sep 2024 16:44:03 -0500 Subject: Combo box issues? Message-ID: <7b7cf4dc-acc1-47e0-9c5f-4d12ecc762e4@hyperactivesw.com> Has anyone found issues with a combo box button on MacOS Sequoia? A client says the menu pops down okay but when clicking an item it does not show up in its field. I'm still on an older version of the OS and it works fine for me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Mon Sep 23 18:01:10 2024 From: klaus at major-k.de (Klaus major-k) Date: Tue, 24 Sep 2024 00:01:10 +0200 Subject: Combo box issues? In-Reply-To: <7b7cf4dc-acc1-47e0-9c5f-4d12ecc762e4@hyperactivesw.com> References: <7b7cf4dc-acc1-47e0-9c5f-4d12ecc762e4@hyperactivesw.com> Message-ID: <5F8F3A20-20DD-4E18-B710-09F4691BBE48@major-k.de> Hi Jacque, > Am 23.09.2024 um 23:44 schrieb J. Landman Gay via use-livecode : > > Has anyone found issues with a combo box button on MacOS Sequoia? A client says the menu pops down okay but when clicking an item it does not show up in its field. I'm still on an older version of the OS and it works fine for me. works here for me: macOS 15.0, LC 10 rc1. At least in the IDE, did not test a runtime. > -- > 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 Tue Sep 24 01:41:42 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Sep 2024 00:41:42 -0500 Subject: Combo box issues? In-Reply-To: <5F8F3A20-20DD-4E18-B710-09F4691BBE48@major-k.de> References: <7b7cf4dc-acc1-47e0-9c5f-4d12ecc762e4@hyperactivesw.com> <5F8F3A20-20DD-4E18-B710-09F4691BBE48@major-k.de> Message-ID: <192228cba08.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks for testing, Klaus. I tried both the standalone and the IDE and they both worked. It's a puzzle. The buttons have no scripts, they rely only on the built-in behavior. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 23, 2024 5:03:26 PM Klaus major-k via use-livecode wrote: > Hi Jacque, > >> Am 23.09.2024 um 23:44 schrieb J. Landman Gay via use-livecode >> : >> >> Has anyone found issues with a combo box button on MacOS Sequoia? A client >> says the menu pops down okay but when clicking an item it does not show up >> in its field. I'm still on an older version of the OS and it works fine for me. > > works here for me: macOS 15.0, LC 10 rc1. > At least in the IDE, did not test a runtime. > >> -- >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Tue Sep 24 11:16:44 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 24 Sep 2024 11:16:44 -0400 Subject: Cropping invisible images Message-ID: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> Hi list, When cropping an invisible image, what happens to the imagedata? I might be wrong, but it looks like the imagedata isn't modified accordingly... Best, jbv From jbv at souslelogo.com Tue Sep 24 14:35:16 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 24 Sep 2024 14:35:16 -0400 Subject: Cropping invisible images In-Reply-To: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> References: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> Message-ID: Actually, it looks like the "crop" function doesn't work on images with transparencies, or it outputs weird results... Le 2024-09-24 11:16, jbv via use-livecode a crit : > Hi list, > > When cropping an invisible image, what happens to the imagedata? > I might be wrong, but it looks like the imagedata isn't modified > accordingly... > > Best, > jbv > From harrison at all-auctions.com Tue Sep 24 20:23:32 2024 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Tue, 24 Sep 2024 20:23:32 -0400 Subject: Cropping invisible images In-Reply-To: References: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> Message-ID: <047BAC1C-D1F6-4871-B6A3-6986101FD464@all-auctions.com> It sounds like you are doing the image cropping programmatically. In theory you could move the image off screen so it doesn’t have to be transparent, crop it there, and then move it back when you’re done. Rick > On Sep 24, 2024, at 2:35 PM, jbv via use-livecode wrote: > > Actually, it looks like the "crop" function doesn't work > on images with transparencies, or it outputs weird results... > > Le 2024-09-24 11:16, jbv via use-livecode a écrit : >> Hi list, >> When cropping an invisible image, what happens to the imagedata? >> I might be wrong, but it looks like the imagedata isn't modified >> accordingly... >> Best, >> jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Wed Sep 25 02:32:05 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 25 Sep 2024 06:32:05 +0000 Subject: Cropping invisible images Message-ID: <8852520F-BE8B-43D4-9355-024AD2C2268D@uni-wh.de> jbv wrote: "Actually, it looks like the "crop" function doesn't work on images with transparencies, or it outputs weird results..." I tried to crop images with and without transparencies (both png images) programmatically as visible or hidden images and it worked all the time. Imagedata was what was to be expected. Images were what was to be expected. I both expanded and cropped via the crop image "imageName" to tNewRect command using LC 10.0.0 RC1 Kind regards Bernd From jbv at souslelogo.com Wed Sep 25 03:52:00 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 25 Sep 2024 03:52:00 -0400 Subject: Cropping invisible images In-Reply-To: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> References: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> Message-ID: <3c04b4efae8ada58ed5a45703f46476b@souslelogo.com> Thank you for your replies. One more question : what happens to the imagedata when an image is resized ? For instance : put width of img 1 into w put height of img 1 into h put w/h into tratio set width of img 1 to 150 set height of img 1 to 150/tratio And then when you crop the image... I am trying to figure out where my problems come from. Best, jbv From jbv at souslelogo.com Wed Sep 25 05:21:33 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 25 Sep 2024 05:21:33 -0400 Subject: Cropping invisible images In-Reply-To: <3c04b4efae8ada58ed5a45703f46476b@souslelogo.com> References: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> <3c04b4efae8ada58ed5a45703f46476b@souslelogo.com> Message-ID: Sorry for the multiple messages, but I found the solution to my problem : after resizing an image, it seems necessary to update its imagedata before cropping it : put width of img 1 into w put height of img 1 into h put w/h into tratio set width of img 1 to 150 set height of img 1 to 150/tratio get the imagedata of img 1 set imagedata of img 1 to it -- then crop works as expected LC 9.6.9 on Mac 10.15 From Bernd.Niggemann at uni-wh.de Wed Sep 25 06:10:41 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 25 Sep 2024 10:10:41 +0000 Subject: Cropping invisible images Message-ID: jbv wrote: >"One more question : what happens to the imagedata >when an image is resized ? >For instance : > > put width of img 1 into w > put height of img 1 into h > put w/h into tratio > set width of img 1 to 150 > set height of img 1 to 150/tratio > >And then when you crop the image..." imageData is always adapted to what the new dimensions are. Either by changing width and height or cropping. The length of the imageData is always width * height * 4 Think of imageData as a long binary string that is wrapped around according to the width. By changing dimensions of an image LC automatically adapts imageData to the new dimensions. Kind regards Bernd From Bernd.Niggemann at uni-wh.de Wed Sep 25 08:46:28 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 25 Sep 2024 12:46:28 +0000 Subject: Cropping invisible images Message-ID: jbv wrote: Hi list, I have a script that creates various controls on the fly and then groups some of them for a rather sophisticated layout. As I had to make many tests, modify my script many times and save the stack each time, the ids of the controls now reach astronomical values (above 400000). Is there a way to reset the ids to minimum values before building the final standalone, or will they be reset automatically when the standalone is built ? My fear is that, when running the standalone, new created controls ids will get even greater values and might finally reach a maximum... Thank you in advance. jbv From tom at makeshyft.com Fri Sep 27 13:54:32 2024 From: tom at makeshyft.com (Tom Glod) Date: Fri, 27 Sep 2024 13:54:32 -0400 Subject: Resetting ids In-Reply-To: References: Message-ID: I've wondered about this for years.... But thinking about it the unsigned 32 bit limit is over 4 billion ...... so you are 0.0093% of the way to the limit The new limit is probably 64 bit. Probably what happens when u hit the limit is it rolls over and starts at 0 or 1000 like a new stack, and then searches for the nearest unused id. I'm at the 2.5 millions when i create a new id in my master stack. Interesting to think about, but nothing to fear. On Fri, Sep 27, 2024 at 4:26 AM jbv via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi list, > > I have a script that creates various controls on the fly > and then groups some of them for a rather sophisticated layout. > As I had to make many tests, modify my script many times > and save the stack each time, the ids of the controls now > reach astronomical values (above 400000). > Is there a way to reset the ids to minimum values before > building the final standalone, or will they be reset > automatically when the standalone is built ? > My fear is that, when running the standalone, new created > controls ids will get even greater values and might > finally reach a maximum... > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Fri Sep 27 14:37:47 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Sep 2024 18:37:47 +0000 Subject: Resetting ids In-Reply-To: References: Message-ID: that being the case, if it were possible to set the ID of a stack to 1000, it ought to start over. Bob S > On Sep 27, 2024, at 10:54 AM, Tom Glod via use-livecode wrote: > > I've wondered about this for years.... > But thinking about it the unsigned 32 bit limit is over 4 billion ...... > so you are 0.0093% of the way to the limit > The new limit is probably 64 bit. > Probably what happens when u hit the limit is it rolls over and starts at 0 > or 1000 like a new stack, and then searches for the nearest unused id. > I'm at the 2.5 millions when i create a new id in my master stack. > Interesting to think about, but nothing to fear. > > > > On Fri, Sep 27, 2024 at 4:26 AM jbv via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi list, >> >> I have a script that creates various controls on the fly >> and then groups some of them for a rather sophisticated layout. >> As I had to make many tests, modify my script many times >> and save the stack each time, the ids of the controls now >> reach astronomical values (above 400000). >> Is there a way to reset the ids to minimum values before >> building the final standalone, or will they be reset >> automatically when the standalone is built ? >> My fear is that, when running the standalone, new created >> controls ids will get even greater values and might >> finally reach a maximum... >> >> Thank you in advance. >> jbv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roland.huettmann at gmail.com Fri Sep 27 16:54:57 2024 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 27 Sep 2024 22:54:57 +0200 Subject: Resetting ids In-Reply-To: References: Message-ID: @jbv at souslelogo.c om You can reassign id's to your controls: "Set the id of control x to 200" will work if no other control has such id. > > Hi list, > > I have a script that creates various controls on the fly > and then groups some of them for a rather sophisticated layout. > As I had to make many tests, modify my script many times > and save the stack each time, the ids of the controls now > reach astronomical values (above 400000). > Is there a way to reset the ids to minimum values before > building the final standalone, or will they be reset > automatically when the standalone is built ? > My fear is that, when running the standalone, new created > controls ids will get even greater values and might > finally reach a maximum... > > Thank you in advance. > jbv > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ------------------------------ > > End of use-livecode Digest, Vol 252, Issue 14 > ********************************************* > From bobsneidar at iotecdigital.com Fri Sep 27 17:40:05 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Sep 2024 21:40:05 +0000 Subject: Resetting ids In-Reply-To: References: Message-ID: <89A51B27-94C2-4B8C-9B75-5A9528F08B1B@iotecdigital.com> I believe it will still work, but it will increment all other objects with that ID and higher. Bob S > On Sep 27, 2024, at 1:54 PM, R.H. via use-livecode wrote: > > @jbv at souslelogo.c om You can reassign id's to your > controls: "Set the id of control x to 200" will work if no other control > has such id. > > >> >> Hi list, >> >> I have a script that creates various controls on the fly >> and then groups some of them for a rather sophisticated layout. >> As I had to make many tests, modify my script many times >> and save the stack each time, the ids of the controls now >> reach astronomical values (above 400000). >> Is there a way to reset the ids to minimum values before >> building the final standalone, or will they be reset >> automatically when the standalone is built ? >> My fear is that, when running the standalone, new created >> controls ids will get even greater values and might >> finally reach a maximum... >> >> Thank you in advance. >> jbv >> >> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> ------------------------------ >> >> End of use-livecode Digest, Vol 252, Issue 14 >> ********************************************* >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Mon Sep 30 05:34:48 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 30 Sep 2024 05:34:48 -0400 Subject: SVG question Message-ID: <4f7b6d028d1ca4a0218d8a05e10865b1@souslelogo.com> Hi list, I have checked many LC lessons and forum topics available online, but I still can't figure out the answer to my question : is there a way to import into an svg widget an svg file that contains elements different than paths, like rects, text, circle, etc. ? Thank you in advance. jbv From craig at starfirelighting.com Mon Sep 30 10:03:18 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 30 Sep 2024 10:03:18 -0400 Subject: Resetting ids In-Reply-To: <89A51B27-94C2-4B8C-9B75-5A9528F08B1B@iotecdigital.com> References: <89A51B27-94C2-4B8C-9B75-5A9528F08B1B@iotecdigital.com> Message-ID: <471A9E83-A70B-4D15-8F7F-C05A3714EF8A@starfirelighting.com> Hi. Apart from just being large numbers, i cannot imagine there will be any issue. I also have a feeling that “condensing” those values is a good thing. But that is only a feeling. Craig > On Sep 27, 2024, at 5:40 PM, Bob Sneidar via use-livecode wrote: > > I believe it will still work, but it will increment all other objects with that ID and higher. > > Bob S > > >> On Sep 27, 2024, at 1:54 PM, R.H. via use-livecode wrote: >> >> @jbv at souslelogo.c om You can reassign id's to your >> controls: "Set the id of control x to 200" will work if no other control >> has such id. >> >> >>> >>> Hi list, >>> >>> I have a script that creates various controls on the fly >>> and then groups some of them for a rather sophisticated layout. >>> As I had to make many tests, modify my script many times >>> and save the stack each time, the ids of the controls now >>> reach astronomical values (above 400000). >>> Is there a way to reset the ids to minimum values before >>> building the final standalone, or will they be reset >>> automatically when the standalone is built ? >>> My fear is that, when running the standalone, new created >>> controls ids will get even greater values and might >>> finally reach a maximum... >>> >>> Thank you in advance. >>> jbv >>> >>> >>> >>> ------------------------------ >>> >>> Subject: Digest Footer >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> ------------------------------ >>> >>> End of use-livecode Digest, Vol 252, Issue 14 >>> ********************************************* >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Thu Sep 5 04:50:00 2024 From: heather at livecode.com (Heather Laine) Date: Thu, 5 Sep 2024 09:50:00 +0100 Subject: testing the list Message-ID: <58223791-8345-4F89-A8B0-0D26400A4C6C@livecode.com> please ignore Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From bobsneidar at iotecdigital.com Thu Sep 5 11:03:07 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 5 Sep 2024 15:03:07 +0000 Subject: testing the list In-Reply-To: <58223791-8345-4F89-A8B0-0D26400A4C6C@livecode.com> References: <58223791-8345-4F89-A8B0-0D26400A4C6C@livecode.com> Message-ID: Okay. ;-) > On Sep 5, 2024, at 1:50 AM, Heather Laine via use-livecode wrote: > > please ignore > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com From matthias_livecode_150811 at m-r-d.de Thu Sep 12 06:09:51 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 12 Sep 2024 12:09:51 +0200 Subject: LivecodeShare/revOnline - How to upload? Message-ID: <0CDBB599-118C-4CBE-B31B-C260D0DCD5FB@m-r-d.de> Hi, am I missing something? I cannot find a login area to upload a sample stack to revOnline/LivecodeShare. My login credentials are already stored in Livecode's preferences, but the SampleStacks area within LC only shows stacks, but does not allow to upload. And the webversion at livecodeshare.runrev.com also does not offer a login. What is nowadays the recommended way to share a stack with the community? I would like to upload a new Helper stack for Windows that offers a gui for signtool.exe. It makes code signing on Windows using cloud based certificates and now also certificates on USB Token much easier. (at least I think so) ;) Regards, Matthias From marksmithhfx at gmail.com Thu Sep 12 06:40:15 2024 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 12 Sep 2024 11:40:15 +0100 Subject: LivecodeShare/revOnline - How to upload? In-Reply-To: <0CDBB599-118C-4CBE-B31B-C260D0DCD5FB@m-r-d.de> References: <0CDBB599-118C-4CBE-B31B-C260D0DCD5FB@m-r-d.de> Message-ID: <6A552922-2304-40AD-9B5B-53ADA5695E69@gmail.com> Well done Matthias. Thank you for your outstanding contributions to the community. All the best, Mark Sent from my iPhone > On Sep 12, 2024, at 11:10 AM, matthias rebbe via use-livecode wrote: > > Hi, > > am I missing something? > I cannot find a login area to upload a sample stack to revOnline/LivecodeShare. > My login credentials are already stored in Livecode's preferences, but the SampleStacks area within LC only shows stacks, but does not allow to upload. > And the webversion at livecodeshare.runrev.com also does not offer a login. > > What is nowadays the recommended way to share a stack with the community? > I would like to upload a new Helper stack for Windows that offers a gui for signtool.exe. It makes code signing on Windows using cloud based certificates and now also certificates on USB Token much easier. (at least I think so) ;) > > 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 benr_mc at cogapp.com Thu Sep 12 09:09:11 2024 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 12 Sep 2024 14:09:11 +0100 Subject: tsNet - load HTTPS from server with self-signed certificate? Message-ID: <9f32ac77-a740-4c3a-ab71-0b82729aa759@cogapp.com> Attempting to load a URL over https, from a server with a self-signed certificate. The error is: tsneterr: (60) schannel: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted. This is a server we manage. If you accessed it in a browser, you'd get a warning explaining the issue, and have the choice to say I understand, get it anyway. Is there a way in tsNet to tell it to accept this certificate (otherwise we have to load it over http, which is even less secure!)?\ TIA, Ben From matthias_livecode_150811 at m-r-d.de Thu Sep 12 09:14:44 2024 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 12 Sep 2024 15:14:44 +0200 Subject: tsNet - load HTTPS from server with self-signed certificate? In-Reply-To: <9f32ac77-a740-4c3a-ab71-0b82729aa759@cogapp.com> References: <9f32ac77-a740-4c3a-ab71-0b82729aa759@cogapp.com> Message-ID: Have a look for tsNetVerifySSLPeer in the dictionary. the command tsNetVerifySSLPeer false should fix it. Regards, Matthias Von meinem iPad gesendet > Am 12.09.2024 um 15:10 schrieb Ben Rubinstein via use-livecode : > > Attempting to load a URL over https, from a server with a self-signed certificate. The error is: > > tsneterr: (60) schannel: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted. > > > This is a server we manage. If you accessed it in a browser, you'd get a warning explaining the issue, and have the choice to say I understand, get it anyway. Is there a way in tsNet to tell it to accept this certificate (otherwise we have to load it over http, which is even less secure!)?\ > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Thu Sep 12 13:12:58 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 12 Sep 2024 17:12:58 +0000 Subject: LivecodeShare/revOnline - How to upload? Message-ID: Hi Matthias, If you are using LC 10.0.0 RC1 and then open "Sample Stacks" from within LC Sample Stacks have lost their "You are logged in" etc at the topRight of Sample Stacks. However using LC 9.6.13 it shows up as usual. This supposes that you were logged in. Otherwise it will give you the opportunity to log in. Kind regards Bernd From merakosp at gmail.com Thu Sep 12 13:57:19 2024 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 12 Sep 2024 20:57:19 +0300 Subject: LivecodeShare/revOnline - How to upload? In-Reply-To: References: Message-ID: Hello all, I am afk now, but if I remember correctly, the options to log in etc are still there in LC 10, but they have white textColor in white background! But if you hover the mouse over them they should change color. Cheers, Panos On Thu, 12 Sept 2024, 20:14 Niggemann, Bernd via use-livecode, < use-livecode at lists.runrev.com> wrote: > Hi Matthias, > > If you are using LC 10.0.0 RC1 and then open "Sample Stacks" from within > LC Sample Stacks have lost their "You are logged in" etc at the topRight of > Sample Stacks. > However using LC 9.6.13 it shows up as usual. > This supposes that you were logged in. Otherwise it will give you the > opportunity to log in. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 12 16:17:59 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 12 Sep 2024 22:17:59 +0200 Subject: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare Message-ID: Hi, WinSignHelperV2 is now available in the Sample stacks section of LC. Just search for WinSignHelperV2. It is also here available https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2 The tool builds the correct signtool.exe parameters and execute signtool.exe It was now successfully tested with Cloudbased code signing certificate and also with a code signing certificate on a USB token. You just drag the folder which contains the .exe and any additional .dll files to the stack and the tool creates the command with all parameters and executes signtool.exe then. Signtool.exe is part of the Windows sdk. A download url for the sdk can be found in the help section of the main stack. The main stack is password protected. This stack only works on Windows, regardless if on a VM or on real hardware. So if anyone is interested, then give it a try. I am still working on a lesson about how to code sign Windows standalones on macOS using a cloud based certificate or a certificate on a USB token. But this still takes time. I really hope the WinSignHelperV2 is of use for someone. Regards, Matthias From matthias_livecode_150811 at m-r-d.de Thu Sep 12 16:19:35 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 12 Sep 2024 22:19:35 +0200 Subject: LivecodeShare/revOnline - How to upload? In-Reply-To: References: Message-ID: <28EE1AA6-043B-4024-A2A2-33658F0459C6@m-r-d.de> Thanks Bernd. That helped. > Am 12.09.2024 um 19:12 schrieb Niggemann, Bernd via use-livecode : > > Hi Matthias, > > If you are using LC 10.0.0 RC1 and then open "Sample Stacks" from within LC Sample Stacks have lost their "You are logged in" etc at the topRight of Sample Stacks. > However using LC 9.6.13 it shows up as usual. > This supposes that you were logged in. Otherwise it will give you the opportunity to log in. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Sep 12 19:12:40 2024 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Thu, 12 Sep 2024 16:12:40 -0700 Subject: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare In-Reply-To: References: Message-ID: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Thank you, Matthias. I use your “mrSignNotarizeHelperV4.livecode” project regularly. I love how it wraps in DropDMG. I also wrote a GUI for code signing with a USB token. My project works well in a VM on an Intel Mac with Windows 10. However, I was hoping to run a VM on an ARM Mac using the new ARM version of Windows 11. I have been using UTM and Windows 11 Pro (version 23H2) on an M2 MacBook Pro and most things work well... except that all of my attempts to code sign inside that VM fail. I was wondering if you had any thoughts about what part of this setup might be failing. Also, I noticed that WinSignHelperV2 appears to use the PowerButton widget “com.livecode.widget.powerbutton” which may not show up as expected if the user doesn’t have the additional LiveCode Enhancements bundle installed. (I didn’t have it installed on one of my VMs) -- 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 Sep 12, 2024, at 1:17 PM, matthias rebbe via use-livecode wrote: > > Hi, > > WinSignHelperV2 is now available in the Sample stacks section of LC. > Just search for WinSignHelperV2. > It is also here available https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2 > > The tool builds the correct signtool.exe parameters and execute signtool.exe > > It was now successfully tested with Cloudbased code signing certificate and also with a code signing certificate on a USB token. > > You just drag the folder which contains the .exe and any additional .dll files to the stack and the tool creates the command with all parameters and executes signtool.exe then. > > Signtool.exe is part of the Windows sdk. A download url for the sdk can be found in the help section of the main stack. > > The main stack is password protected. > > This stack only works on Windows, regardless if on a VM or on real hardware. > > So if anyone is interested, then give it a try. > > > I am still working on a lesson about how to code sign Windows standalones on macOS using a cloud based certificate or a certificate on a USB token. > But this still takes time. > > > I really hope the WinSignHelperV2 is of use for someone. > > 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 Thu Sep 12 19:47:08 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 13 Sep 2024 01:47:08 +0200 Subject: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare In-Reply-To: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Message-ID: Hello Scott, thank you for pointing this out. Stack is fixed. I am so used to these power buttons that I just forgot that they are not included by default. Regarding the VM. I am running here a Windows 11 ARM version in a Parallels VM on my M1 Mac. And signtool.exe works here with a cloud based code signing certificate without a problem. What happens if you just run signtool.exe from command line without any parameters. Does it start and returns an error because of missing parameters or does it run in general? I using UTM only with macOS VMs, so I cannot say if it should be possible to code sign in UTM Windows VMs or not. I am currently working on a HelperStack that will help to code sign Windows standalones on macOS. The stack is not the problem, but the documentation about what is required to get it working. A lesson about this is also in progress. If you like you can contact me off-list. Regards, Matthias > Am 13.09.2024 um 01:12 schrieb scott--- via use-livecode : > > Thank you, Matthias. I use your “mrSignNotarizeHelperV4.livecode” project regularly. I love how it wraps in DropDMG. > > I also wrote a GUI for code signing with a USB token. My project works well in a VM on an Intel Mac with Windows 10. However, I was hoping to run a VM on an ARM Mac using the new ARM version of Windows 11. I have been using UTM and Windows 11 Pro (version 23H2) on an M2 MacBook Pro and most things work well... except that all of my attempts to code sign inside that VM fail. I was wondering if you had any thoughts about what part of this setup might be failing. > > Also, I noticed that WinSignHelperV2 appears to use the PowerButton widget “com.livecode.widget.powerbutton” which may not show up as expected if the user doesn’t have the additional LiveCode Enhancements bundle installed. (I didn’t have it installed on one of my VMs) > > -- > 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 Sep 12, 2024, at 1:17 PM, matthias rebbe via use-livecode wrote: >> >> Hi, >> >> WinSignHelperV2 is now available in the Sample stacks section of LC. >> Just search for WinSignHelperV2. >> It is also here available https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2 >> >> The tool builds the correct signtool.exe parameters and execute signtool.exe >> >> It was now successfully tested with Cloudbased code signing certificate and also with a code signing certificate on a USB token. >> >> You just drag the folder which contains the .exe and any additional .dll files to the stack and the tool creates the command with all parameters and executes signtool.exe then. >> >> Signtool.exe is part of the Windows sdk. A download url for the sdk can be found in the help section of the main stack. >> >> The main stack is password protected. >> >> This stack only works on Windows, regardless if on a VM or on real hardware. >> >> So if anyone is interested, then give it a try. >> >> >> I am still working on a lesson about how to code sign Windows standalones on macOS using a cloud based certificate or a certificate on a USB token. >> But this still takes time. >> >> >> I really hope the WinSignHelperV2 is of use for someone. >> >> 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 From matthias_livecode_150811 at m-r-d.de Fri Sep 13 06:36:16 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 13 Sep 2024 12:36:16 +0200 Subject: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare In-Reply-To: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Message-ID: Hello Scott, I just had a little spare time. So I created a UTM VM with Windows 11 pro 23h2. I installed the most current version of the Windows SDK, which contains native tools x86, x64 and ARM. I only selected "Windows SDK Signing Tools for Desktop Apps". First I tried to code sign using signtool.exe located in the ARM64 folder. That failed. The error was "No certificates were found that met all the given criteria" regardless if I used parameter /a or /n When using signtool.exe located in the X64 folder, the signing was successful. I did not have a closer look if the ARM version of signtool needs other parameter. But using the Intel version of signtool.exe works w/o problems on Windows 11 ARM. Is it by any chance possible that you tried to sign using the ARM version of signtool? Regards Matthias > Am 13.09.2024 um 01:12 schrieb scott--- via use-livecode : > > Thank you, Matthias. I use your “mrSignNotarizeHelperV4.livecode” project regularly. I love how it wraps in DropDMG. > > I also wrote a GUI for code signing with a USB token. My project works well in a VM on an Intel Mac with Windows 10. However, I was hoping to run a VM on an ARM Mac using the new ARM version of Windows 11. I have been using UTM and Windows 11 Pro (version 23H2) on an M2 MacBook Pro and most things work well... except that all of my attempts to code sign inside that VM fail. I was wondering if you had any thoughts about what part of this setup might be failing. > > Also, I noticed that WinSignHelperV2 appears to use the PowerButton widget “com.livecode.widget.powerbutton” which may not show up as expected if the user doesn’t have the additional LiveCode Enhancements bundle installed. (I didn’t have it installed on one of my VMs) > > -- > 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 Sep 12, 2024, at 1:17 PM, matthias rebbe via use-livecode wrote: >> >> Hi, >> >> WinSignHelperV2 is now available in the Sample stacks section of LC. >> Just search for WinSignHelperV2. >> It is also here available https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2 >> >> The tool builds the correct signtool.exe parameters and execute signtool.exe >> >> It was now successfully tested with Cloudbased code signing certificate and also with a code signing certificate on a USB token. >> >> You just drag the folder which contains the .exe and any additional .dll files to the stack and the tool creates the command with all parameters and executes signtool.exe then. >> >> Signtool.exe is part of the Windows sdk. A download url for the sdk can be found in the help section of the main stack. >> >> The main stack is password protected. >> >> This stack only works on Windows, regardless if on a VM or on real hardware. >> >> So if anyone is interested, then give it a try. >> >> >> I am still working on a lesson about how to code sign Windows standalones on macOS using a cloud based certificate or a certificate on a USB token. >> But this still takes time. >> >> >> I really hope the WinSignHelperV2 is of use for someone. >> >> 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 From dan at clearvisiontech.com Fri Sep 13 11:14:24 2024 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 13 Sep 2024 15:14:24 +0000 Subject: SFTP Woes In-Reply-To: References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Message-ID: Greetings! I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: sftp protocol not supported in this version I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? Thank you in advance for any guidance! -Dan From heather at livecode.com Fri Sep 13 11:58:09 2024 From: heather at livecode.com (Heather Laine) Date: Fri, 13 Sep 2024 16:58:09 +0100 Subject: SFTP Woes In-Reply-To: References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Message-ID: <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> Check which license you are using. You may need Pro features (Business) to use SFTP, so if you're using an older Indy type license that could be the problem. All Pro features are included in Create. To check/change the license, follow the steps in this lesson: https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode wrote: > > Greetings! > > I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: > > sftp protocol not supported in this version > > I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? > > Thank you in advance for any guidance! > -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 dan at clearvisiontech.com Fri Sep 13 12:10:30 2024 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 13 Sep 2024 16:10:30 +0000 Subject: SFTP Woes In-Reply-To: <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> Message-ID: Heather, Thank you for the reply, but I am using a Business License with Pro Features. But I relicensed LC anyway to verify it’s connected to the Pro Features account. Still get the same warning. So, that’s not the issue. Any other ideas? -Dan From: use-livecode on behalf of Heather Laine via use-livecode Date: Friday, September 13, 2024 at 8:59 AM To: How to use LiveCode Cc: Heather Laine Subject: Re: SFTP Woes Check which license you are using. You may need Pro features (Business) to use SFTP, so if you're using an older Indy type license that could be the problem. All Pro features are included in Create. To check/change the license, follow the steps in this lesson: https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode wrote: > > Greetings! > > I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: > > sftp protocol not supported in this version > > I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? > > Thank you in advance for any guidance! > -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 matthias_livecode_150811 at m-r-d.de Fri Sep 13 14:09:48 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 13 Sep 2024 20:09:48 +0200 Subject: SFTP Woes In-Reply-To: References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> Message-ID: <2B90CD64-3B95-4214-BC28-3692F249EDCE@m-r-d.de> Dan, what does put tsnetversion() return? Here with 9.6.13 I get "Version 1.4.10 Business Edition" > Am 13.09.2024 um 18:10 schrieb Dan Friedman via use-livecode : > > Heather, > > Thank you for the reply, but I am using a Business License with Pro Features. But I relicensed LC anyway to verify it’s connected to the Pro Features account. Still get the same warning. > > So, that’s not the issue. Any other ideas? > > -Dan > > > > From: use-livecode > on behalf of Heather Laine via use-livecode > > Date: Friday, September 13, 2024 at 8:59 AM > To: How to use LiveCode > > Cc: Heather Laine > > Subject: Re: SFTP Woes > Check which license you are using. You may need Pro features (Business) to use SFTP, so if you're using an older Indy type license that could be the problem. All Pro features are included in Create. > > To check/change the license, follow the steps in this lesson: > > https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > >> On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode wrote: >> >> Greetings! >> >> I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: >> >> sftp protocol not supported in this version >> >> I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? >> >> Thank you in advance for any guidance! >> -Dan >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Fri Sep 13 14:34:14 2024 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 13 Sep 2024 18:34:14 +0000 Subject: SFTP Woes In-Reply-To: <2B90CD64-3B95-4214-BC28-3692F249EDCE@m-r-d.de> References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> <2B90CD64-3B95-4214-BC28-3692F249EDCE@m-r-d.de> Message-ID: I get different results in different versions of LC: LC 9.6.10 > Version 1.4.9 Business Edition LC 10.0.0 (rc 2) > Version 1.4.10 Business Edition LC 9.6.13 > Version 1.4.10 Business Edition -Dan From: use-livecode on behalf of matthias rebbe via use-livecode Date: Friday, September 13, 2024 at 11:11 AM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: SFTP Woes Dan, what does put tsnetversion() return? Here with 9.6.13 I get "Version 1.4.10 Business Edition" > Am 13.09.2024 um 18:10 schrieb Dan Friedman via use-livecode : > > Heather, > > Thank you for the reply, but I am using a Business License with Pro Features. But I relicensed LC anyway to verify it’s connected to the Pro Features account. Still get the same warning. > > So, that’s not the issue. Any other ideas? > > -Dan > > > > From: use-livecode > on behalf of Heather Laine via use-livecode > > Date: Friday, September 13, 2024 at 8:59 AM > To: How to use LiveCode > > Cc: Heather Laine > > Subject: Re: SFTP Woes > Check which license you are using. You may need Pro features (Business) to use SFTP, so if you're using an older Indy type license that could be the problem. All Pro features are included in Create. > > To check/change the license, follow the steps in this lesson: > > https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > >> On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode wrote: >> >> Greetings! >> >> I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: >> >> sftp protocol not supported in this version >> >> I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? >> >> Thank you in advance for any guidance! >> -Dan >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Sep 13 18:44:39 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 13 Sep 2024 22:44:39 +0000 Subject: CharToNum Depricated?? Message-ID: <49F48D94-97E6-40C4-A32A-4871F7A4553F@iotecdigital.com> I am having an issue where I am trying to compare the data of two files I read from disk character by character. To the naked eye, both files are identical. If I open each file in Sublime Text and do a fileDiff, it declares they are identical. But when I look at the actual file size, one is slightly larger than the other. Also, when I compare the ascii values of each character, right off the bat with the first character, charToNum reports that in one file the first character is “F” which is correct. But for the second file, it is “?” which is NOT CORRECT!!! Now one file I generated by converting a Konica Minolta address book to a Toshiba address book. I won’t go into the gory details, but remember both files I am comparing look identical and SublimeText thinks they are identical. My suspicion is that the source file, the Konica Minolta address book is unicode. What I did. to try and get around this is I used textDecode(it, “ASCII”) on the data read from the disk, but I am still getting the same results. My goal is to read the data as ascii data with NO UNICODE and then export it with NO UNICODE. Bob S From bobsneidar at iotecdigital.com Fri Sep 13 18:50:26 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 13 Sep 2024 22:50:26 +0000 Subject: CharToNum Depricated?? In-Reply-To: <49F48D94-97E6-40C4-A32A-4871F7A4553F@iotecdigital.com> References: <49F48D94-97E6-40C4-A32A-4871F7A4553F@iotecdigital.com> Message-ID: <94D33B7E-DC44-4C83-9988-381719AD1474@iotecdigital.com> Also, if charToNum is deprecated, what do I use to compare t he ascii values of two characters?? Bob S > On Sep 13, 2024, at 3:44 PM, Bob Sneidar via use-livecode wrote: > > I am having an issue where I am trying to compare the data of two files I read from disk character by character. To the naked eye, both files are identical. If I open each file in Sublime Text and do a fileDiff, it declares they are identical. But when I look at the actual file size, one is slightly larger than the other. Also, when I compare the ascii values of each character, right off the bat with the first character, charToNum reports that in one file the first character is “F” which is correct. But for the second file, it is “?” which is NOT CORRECT!!! > > Now one file I generated by converting a Konica Minolta address book to a Toshiba address book. I won’t go into the gory details, but remember both files I am comparing look identical and SublimeText thinks they are identical. > > My suspicion is that the source file, the Konica Minolta address book is unicode. What I did. to try and get around this is I used textDecode(it, “ASCII”) on the data read from the disk, but I am still getting the same results. > > My goal is to read the data as ascii data with NO UNICODE and then export it with NO UNICODE. > > 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 Bernd.Niggemann at uni-wh.de Sun Sep 15 14:50:16 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Sun, 15 Sep 2024 18:50:16 +0000 Subject: CharToNum Depricated?? Message-ID: Hi Bob, charToNum has been deprecated, I think since LC 7.0 It is replaced by nativeCharToNum() and byteToNum (As of LC 10.0.0 charToNum maps to nativeCharToNum, see release notes) This covers the ASCII range. For unicode you use codepointToNum() I suspect that the small difference you see in file size is a Byte Order Mark, BOM at the beginning of the Konica Minolta address book. You could try to use "open file" to import the Konica Minolta address book. open file tFilePath for read read from file tFilePath until EOF put it into tData close file tFilePath The dictionary states >From 7.0, it's possible to specify an encoding for the file being opened. By doing so, you can straight read or write to a file without having to call textEncode or textDecode; the encoding supported by open file are the same as these text encoding functions. If no encoding is provided, then open file tries to read a Byte Order Mark (BOM) exists at the beginning of the file. In success, the encoding is adapted and the BOM is ignored. If my assumption that there is a BOM is correct then after opening and reading from the file should give you the same length of the data since the BOM is not part of the data. I guess that is also the reason why SublimeText sees both files as identical. It probably also ignores the BOM. I am just guessing and I am not an expert for these matters but maybe this gives you an idea to try. Kind regard Bernd Bob wrote Also, if charToNum is deprecated, what do I use to compare t he ascii values of two characters?? From craig at starfirelighting.com Mon Sep 16 08:59:34 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 16 Sep 2024 08:59:34 -0400 Subject: CharToNum Depricated?? In-Reply-To: References: Message-ID: <7F3371E8-6735-42B9-8114-71354D729291@starfirelighting.com> CharTo Num and NumToChar still work just fine, deprecation notwithstanding. LC would not permit a new version to break old code if they could at all help it. I never really migrated over to the updated “codePoint” version. I hope this laziness does not bite me one day. Craig From bobsneidar at iotecdigital.com Mon Sep 16 12:26:22 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Sep 2024 16:26:22 +0000 Subject: CharToNum Depricated?? In-Reply-To: References: Message-ID: I think you nailed it Bernd. That scans with all that I am seeing in troubleshooting. Bob S > On Sep 15, 2024, at 11:50 AM, Niggemann, Bernd via use-livecode wrote: > > Hi Bob, > > charToNum has been deprecated, I think since LC 7.0 > > It is replaced by nativeCharToNum() and byteToNum > > (As of LC 10.0.0 charToNum maps to nativeCharToNum, see release notes) > > This covers the ASCII range. > > For unicode you use codepointToNum() > > I suspect that the small difference you see in file size is a Byte Order Mark, BOM at the beginning of the Konica Minolta address book. > > You could try to use "open file" to import the Konica Minolta address book. > > open file tFilePath for read > read from file tFilePath until EOF > put it into tData > close file tFilePath > > The dictionary states > > From 7.0, it's possible to specify an encoding for the file being > opened. By doing so, you can straight read or write to a file without > having to call textEncode or textDecode; the encoding supported by > open file are the same as these text encoding functions. If no encoding > is provided, then open file tries to read a Byte Order Mark (BOM) exists > at the beginning of the file. In success, the encoding is adapted and the > BOM is ignored. > > > If my assumption that there is a BOM is correct then after opening and reading from the file should give you the same length of the data since the BOM is not part of the data. > I guess that is also the reason why SublimeText sees both files as identical. It probably also ignores the BOM. > > I am just guessing and I am not an expert for these matters but maybe this gives you an idea to try. > > Kind regard > Bernd > > > Bob wrote > > Also, if charToNum is deprecated, what do I use to compare t he ascii values of > two characters?? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 16 17:06:16 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Sep 2024 21:06:16 +0000 Subject: CharToNum Depricated?? In-Reply-To: References: Message-ID: OK so I determined that the native export file from the Toshiba Address Book Export is putting some non-display (probably unicode) characters at the beginning of the file. They don’t appear in any text editor but they are there because when I do a char by char comparison, the very first char in the Toshiba Export file is a question mark. Is there any way to ignore that exterraneous data when reading the file? Bob S From bobsneidar at iotecdigital.com Mon Sep 16 17:45:04 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Sep 2024 21:45:04 +0000 Subject: CharToNum Depricated?? In-Reply-To: References: Message-ID: Actually I think what I need to do is figure out what the original file encoding is, and use that when I write out the export file. Bob S > On Sep 16, 2024, at 2:06 PM, Bob Sneidar wrote: > > OK so I determined that the native export file from the Toshiba Address Book Export is putting some non-display (probably unicode) characters at the beginning of the file. They don’t appear in any text editor but they are there because when I do a char by char comparison, the very first char in the Toshiba Export file is a question mark. > > Is there any way to ignore that exterraneous data when reading the file? > > Bob S > From Bernd.Niggemann at uni-wh.de Tue Sep 17 07:41:42 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Tue, 17 Sep 2024 11:41:42 +0000 Subject: CharToNum Depricated?? Message-ID: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> Hi Bob, Actually I think what I need to do is figure out what the original file encoding is, and use that when I write out the export file. I assume that the byte order mark (BOM) is for UTF-8 To see the BOM for UTF-8 make a button and a field named "fText" Use this script for the button ------------------------------------------------------------- on mouseUp local tPath, tContent, tBom, tCollect answer file "choose" if it is empty then exit mouseUp put it into tPath if the optionKey is down then put url ("binfile:" & tPath) into tContent delete line 2 to -1 of tContent put textEncode(tContent, "UTF-8") into tContent else put url ("file:" & tPath) into tContent delete line 2 to -1 of tContent end if put tContent into field "fText" end mouseUp ------------------------------------------------------------- and see if you see the BOM when you hold down the option key when opening the file If you do not use the option key there should be no BOM at the beginning of the text and the text is automatically UTF-8 encoded Apparently "put url ("file:" & tPath)" is also aware of the encoding of the file since it converts it omits the BOM. Kind regards Bernd From bobsneidar at iotecdigital.com Tue Sep 17 11:32:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Sep 2024 15:32:41 +0000 Subject: CharToNum Depricated?? In-Reply-To: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> Message-ID: Thanks Bernd. But I finally figured out what the issue was. It seems that unless the output file is opened binary, any attempt to wrote to a file using any of the cr, lf or crlf keywords in LC will result in LC auto-converting them to cr, because that is the Macintosh standard. What I had to do is to use numToCodepoint() to create a variable containing ascii characters 13 and 10 (crlf) and then use that variable to end my lines. The way I actually figured out what the issue was, is I downloaded Notepad++ for Windows which has the capability of showing non-printing characters, and it does not transparently cut convert files without informing the user, as Microsoft seems to think they have every right to take the liberty to do. And without putting too fine a point on it, Livecode seems to take the same liberties. If I write lf to a file, I expect the file to contain lf and not cr! But at least there is a way around it. Bob S > On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode wrote: > > Hi Bob, > > > Actually I think what I need to do is figure out what the original file > encoding is, and use that when I write out the export file. > > I assume that the byte order mark (BOM) is for UTF-8 > > To see the BOM for UTF-8 make a button and a field named "fText" > > Use this script for the button > > ------------------------------------------------------------- > on mouseUp > local tPath, tContent, tBom, tCollect > answer file "choose" > if it is empty then exit mouseUp > put it into tPath > if the optionKey is down then > put url ("binfile:" & tPath) into tContent > delete line 2 to -1 of tContent > put textEncode(tContent, "UTF-8") into tContent > else > put url ("file:" & tPath) into tContent > delete line 2 to -1 of tContent > end if > put tContent into field "fText" > end mouseUp > ------------------------------------------------------------- > > and see if you see the BOM when you hold down the option key when opening the file > If you do not use the option key there should be no BOM at the beginning of the text and the text is automatically UTF-8 encoded > Apparently "put url ("file:" & tPath)" is also aware of the encoding of the file since it converts it omits the BOM. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 17 11:50:47 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Sep 2024 15:50:47 +0000 Subject: CharToNum Depricated?? In-Reply-To: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> Message-ID: <03283B9C-F53D-4478-BA24-E8CD79D604EC@iotecdigital.com> I also read up on the BOM, and for UTF-8 it is optional, and as mentioned not recommended, because UTF-8 always uses the same byte order. And anyway, the BOM was never the issue. Apparently Livecode always produces a UTF-8 format file unless instructed to do otherwise. Bob S On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode wrote: Hi Bob, Actually I think what I need to do is figure out what the original file encoding is, and use that when I write out the export file. I assume that the byte order mark (BOM) is for UTF-8 To see the BOM for UTF-8 make a button and a field named "fText" Use this script for the button From bobsneidar at iotecdigital.com Tue Sep 17 17:13:29 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Sep 2024 21:13:29 +0000 Subject: CharToNum Depricated?? In-Reply-To: <03283B9C-F53D-4478-BA24-E8CD79D604EC@iotecdigital.com> References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> <03283B9C-F53D-4478-BA24-E8CD79D604EC@iotecdigital.com> Message-ID: <93101EB7-CAB1-4FF7-B293-F43E1A39D4CE@iotecdigital.com> I went through all my code and replaced charToNum and numToChar with codepointToNum and numToCodepoint respectively. If it matters to anyone, the Quartum PDF, Excel and sqlYoga libraries all were using the depricated versions. Bob S > On Sep 17, 2024, at 8:50 AM, Bob Sneidar via use-livecode wrote: > > I also read up on the BOM, and for UTF-8 it is optional, and as mentioned not recommended, because UTF-8 always uses the same byte order. > > And anyway, the BOM was never the issue. Apparently Livecode always produces a UTF-8 format file unless instructed to do otherwise. > > Bob S > > > On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode wrote: > > Hi Bob, > > > Actually I think what I need to do is figure out what the original file > encoding is, and use that when I write out the export file. > > I assume that the byte order mark (BOM) is for UTF-8 > > To see the BOM for UTF-8 make a button and a field named "fText" > > Use this script for the button > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Sep 18 04:59:33 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 18 Sep 2024 03:59:33 -0500 Subject: CharToNum Depricated?? In-Reply-To: References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> Message-ID: <192045bb908.281c.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I should have thought of that. Line endings are always translated to/from native unless the file is opened/written in binary, it's been that way since MetaCard. It's a feature. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 17, 2024 10:35:05 AM Bob Sneidar via use-livecode wrote: > Thanks Bernd. But I finally figured out what the issue was. It seems that > unless the output file is opened binary, any attempt to wrote to a file > using any of the cr, lf or crlf keywords in LC will result in LC > auto-converting them to cr, because that is the Macintosh standard. What I > had to do is to use numToCodepoint() to create a variable containing ascii > characters 13 and 10 (crlf) and then use that variable to end my lines. > > The way I actually figured out what the issue was, is I downloaded > Notepad++ for Windows which has the capability of showing non-printing > characters, and it does not transparently cut convert files without > informing the user, as Microsoft seems to think they have every right to > take the liberty to do. > > And without putting too fine a point on it, Livecode seems to take the same > liberties. If I write lf to a file, I expect the file to contain lf and not > cr! But at least there is a way around it. > > Bob S > > >> On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode >> wrote: >> >> Hi Bob, >> >> >> Actually I think what I need to do is figure out what the original file >> encoding is, and use that when I write out the export file. >> >> I assume that the byte order mark (BOM) is for UTF-8 >> >> To see the BOM for UTF-8 make a button and a field named "fText" >> >> Use this script for the button >> >> ------------------------------------------------------------- >> on mouseUp >> local tPath, tContent, tBom, tCollect >> answer file "choose" >> if it is empty then exit mouseUp >> put it into tPath >> if the optionKey is down then >> put url ("binfile:" & tPath) into tContent >> delete line 2 to -1 of tContent >> put textEncode(tContent, "UTF-8") into tContent >> else >> put url ("file:" & tPath) into tContent >> delete line 2 to -1 of tContent >> end if >> put tContent into field "fText" >> end mouseUp >> ------------------------------------------------------------- >> >> and see if you see the BOM when you hold down the option key when opening >> the file >> If you do not use the option key there should be no BOM at the beginning of >> the text and the text is automatically UTF-8 encoded >> Apparently "put url ("file:" & tPath)" is also aware of the encoding of the >> file since it converts it omits the BOM. >> >> Kind regards >> Bernd >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Sep 18 11:41:23 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Sep 2024 15:41:23 +0000 Subject: CharToNum Depricated?? In-Reply-To: <192045bb908.281c.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> <192045bb908.281c.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4FB7C167-1AA3-4E31-9061-1AF440EEFD3D@iotecdigital.com> Thanks Jacqueline. I knew about the binary thing. I just thnik that silent conversions are a violation of the of principle of low level file operations. The whole point to low level file functions is so that what you write is what you get, and what you read is what you wrote. But it’s water under the bridge now. I’m even thinking about going through all my code and ensuring that all reads and writes are binary, and that all line endings are CRLF. Bob S On Sep 18, 2024, at 1:59 AM, J. Landman Gay via use-livecode wrote: I should have thought of that. Line endings are always translated to/from native unless the file is opened/written in binary, it's been that way since MetaCard. It's a feature. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Wed Sep 18 12:45:23 2024 From: dsc at swcp.com (Dar Scott) Date: Wed, 18 Sep 2024 10:45:23 -0600 Subject: I came back and ... What?! Message-ID: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Projects have required a bit of my wandering, a bit of dalliance on my part. I have come back and I find bright lights and confetti, but the floor and steps are painted black. I need some guidance. (I am not even able to get the latest LiveCode and find that my subscription had been cancelled. I imagine Heather will fix all that.) This is partly my fault, I didn’t have a good way to separate the LiveCode marketing emails from here-is-an-important-message-about-your-account. I am fully willing to try LiveCode Create. Maybe there are less bugs in the engine. This might be good for creating bread and butter applications. But, the pricing scheme is constraining and complicated. About 3/4 of what I deliver are library stacks for those who develop using LiveCode. I am assuming that I can deliver those without any royalties or whatever they are. This should not impact me. However, I wonder if some of my customers might be moving away from LiveCode because of the pricing model. I will most likely get things resolved so I can deliver library stacks. The pricing scheme for executables is a blocker for the other 1/4 and my in-house usage. A three page appendix to my proposal for a new or old customer explaining how the customer has to pay additional fees for using the software part of what I deliver, will kill any agreement right there. The best I can do is propose applications and then hand it over LiveCode to a Python programmer and say “please rewrite this in Python”. And in the middle or after a project, I cannot say, “No problem; here is a tiny program that monitors the status of the machines.” Or the REST connections or whatever. Overall, I was not able to find a way to provide my customer with a prepaid indefinite license. And in-house. It was nice to say to a EE in the lab, “Here is something I whipped up last night to get the data from the prototype and the oscilloscope.” I don’t want to add next time, “And figure out the red tape and requisition a couple months of using the program.” What kind of leader would I be if I say, “No, these are my tools. I made them. You cannot use them. Mine. Mine." I’m in a quandary over whether to buy Create today (or wait until the LiveCode license problem is fixed). And then there is my surprise to learn $36.67 X 12 = $660. I know most of you have had to weather this. I welcome advice. Fondly remembering you folks, Dar From bobsneidar at iotecdigital.com Wed Sep 18 13:09:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Sep 2024 17:09:41 +0000 Subject: New licensing Message-ID: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> Well I didn’t want to post this on the main list for reasons that will become obvious. First, any apps you create with Classic will still operate under the old license. I have been assured that if I create and distribute an app the last day of the classic licensing, the distributed apps will continue to function, so no worries there. Up until sometime in 2027 you should still be good. What to do after that is the issue. Certain LC developers have forked the LC build based upon the Open Licensing of Livecode. It functions so far as I can tell just like the commercial version of LC, but of course any changes made to LC prior to the fork will of course not be in the Open xTalk build. For instance LC *finally* incorporated inline custom behaviors for Datagrids, something I take full advantage of. But unfortunately, it did not make it into the fork, and the OXT devs do not appear to think it worth it to replicate the work, even though it is quite simple to do. I will have to do considerable refactoring to make my main project work. So there you are. Don’t tell anyone at LC I said so. There’s no bad blood between LC and the OXT project, they have amicably parted ways, forked their relationship if you will. :-) But obviously promoting a competing project on the list would be at the very least rude. Bob S From bobsneidar at iotecdigital.com Wed Sep 18 13:13:48 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Sep 2024 17:13:48 +0000 Subject: New licensing In-Reply-To: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> References: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> Message-ID: Sorry list, that was supposed to go to Dar. Bob S > On Sep 18, 2024, at 10:09 AM, Bob Sneidar via use-livecode wrote: > > Well I didn’t want to post this on the main list for reasons that will become obvious. > > First, any apps you create with Classic will still operate under the old license. I have been assured that if I create and distribute an app the last day of the classic licensing, the distributed apps will continue to function, so no worries there. Up until sometime in 2027 you should still be good. > > What to do after that is the issue. Certain LC developers have forked the LC build based upon the Open Licensing of Livecode. It functions so far as I can tell just like the commercial version of LC, but of course any changes made to LC prior to the fork will of course not be in the Open xTalk build. > > For instance LC *finally* incorporated inline custom behaviors for Datagrids, something I take full advantage of. But unfortunately, it did not make it into the fork, and the OXT devs do not appear to think it worth it to replicate the work, even though it is quite simple to do. I will have to do considerable refactoring to make my main project work. > > So there you are. Don’t tell anyone at LC I said so. There’s no bad blood between LC and the OXT project, they have amicably parted ways, forked their relationship if you will. :-) But obviously promoting a competing project on the list would be at the very least rude. > > 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 marksmithhfx at gmail.com Wed Sep 18 14:51:19 2024 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 18 Sep 2024 19:51:19 +0100 Subject: New licensing In-Reply-To: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> References: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> Message-ID: <400054B7-0A28-4A4C-9498-8398CB86ADF4@gmail.com> Hi Bob, thanks for the info. Could you please expound a little on what you said below, or give an example of how this works or how you use it? It sounds very interesting but I am not sure exactly what you are describing. Many thanks Mark > On 18 Sep 2024, at 6:09 PM, Bob Sneidar via use-livecode wrote: > > For instance LC *finally* incorporated inline custom behaviors for Datagrids From dsc at swcp.com Wed Sep 18 15:04:18 2024 From: dsc at swcp.com (Dar Scott) Date: Wed, 18 Sep 2024 13:04:18 -0600 Subject: I came back and ... What?! In-Reply-To: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Message-ID: I did not mean to kick up rubble. My bad. How do I handle my canceled LiveCode subscription? I haven’t heard back from Heather. What should I expect? I renewed back in the spring. Is this now lost? How do I get Create? Should I wait on the LiveCode subscription issue resolution before I get Create? I’m willing to try it. Is there really a math error in the basket calculations or am I missing something? Am I allowed to create libraries for my customers (developers of LiveCode applications) without complications? It is not clear; this might be part of “use in an IDE”. Am I responsible for my customer’s failure to pay fees to LiveCode if my library is the bulk of the code in the application? It is not clear in the license. How do I keep up with user-months within my own organization? How do I handle software included in my non-subscription deliverables? I very much would like to move forward, but, frankly, I’m all confused. Maybe some folks have answers to one or two. Maybe that way these get covered. Or some general advice is good, too. Dar > On Sep 18, 2024, at 10:45 AM, Dar Scott via use-livecode might have written: > ... > I need some guidance. > ... From merakosp at gmail.com Wed Sep 18 15:25:31 2024 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 18 Sep 2024 22:25:31 +0300 Subject: I came back and ... What?! In-Reply-To: References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Message-ID: Hello Dar, Heather is off for a couple of weeks. I suggest you contact support at livecode.com, to get answers to all these questions. Kind regards Panos On Wed, 18 Sept 2024, 22:05 Dar Scott via use-livecode, < use-livecode at lists.runrev.com> wrote: > I did not mean to kick up rubble. My bad. > > How do I handle my canceled LiveCode subscription? I haven’t heard back > from Heather. What should I expect? I renewed back in the spring. Is this > now lost? > > How do I get Create? Should I wait on the LiveCode subscription issue > resolution before I get Create? I’m willing to try it. Is there really a > math error in the basket calculations or am I missing something? > > Am I allowed to create libraries for my customers (developers of LiveCode > applications) without complications? It is not clear; this might be part of > “use in an IDE”. Am I responsible for my customer’s failure to pay fees to > LiveCode if my library is the bulk of the code in the application? It is > not clear in the license. > > How do I keep up with user-months within my own organization? > > How do I handle software included in my non-subscription deliverables? > > I very much would like to move forward, but, frankly, I’m all confused. > Maybe some folks have answers to one or two. Maybe that way these get > covered. Or some general advice is good, too. > > Dar > > > On Sep 18, 2024, at 10:45 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> might have written: > > ... > > I need some guidance. > > ... > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 18 15:47:27 2024 From: dsc at swcp.com (Dar Scott) Date: Wed, 18 Sep 2024 13:47:27 -0600 Subject: I came back and ... What?! In-Reply-To: References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Message-ID: Thanks, Panos! I will do that. I do hope for advice from those who have had to navigate the pitfalls. Dar > On Sep 18, 2024, at 1:25 PM, panagiotis merakos via use-livecode wrote: > > Hello Dar, > > Heather is off for a couple of weeks. I suggest you contact > support at livecode.com, to get answers to all these questions. > > Kind regards > Panos > > On Wed, 18 Sept 2024, 22:05 Dar Scott via use-livecode, < > use-livecode at lists.runrev.com> wrote: > >> I did not mean to kick up rubble. My bad. >> >> How do I handle my canceled LiveCode subscription? I haven’t heard back >> from Heather. What should I expect? I renewed back in the spring. Is this >> now lost? >> >> How do I get Create? Should I wait on the LiveCode subscription issue >> resolution before I get Create? I’m willing to try it. Is there really a >> math error in the basket calculations or am I missing something? >> >> Am I allowed to create libraries for my customers (developers of LiveCode >> applications) without complications? It is not clear; this might be part of >> “use in an IDE”. Am I responsible for my customer’s failure to pay fees to >> LiveCode if my library is the bulk of the code in the application? It is >> not clear in the license. >> >> How do I keep up with user-months within my own organization? >> >> How do I handle software included in my non-subscription deliverables? >> >> I very much would like to move forward, but, frankly, I’m all confused. >> Maybe some folks have answers to one or two. Maybe that way these get >> covered. Or some general advice is good, too. >> >> Dar >> >>> On Sep 18, 2024, at 10:45 AM, Dar Scott via use-livecode < >> use-livecode at lists.runrev.com> might have written: >>> ... >>> I need some guidance. >>> ... >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From curry at pair.com Wed Sep 18 16:15:53 2024 From: curry at pair.com (Curry Kenworthy) Date: Wed, 18 Sep 2024 16:15:53 -0400 Subject: I came back and ... What?! In-Reply-To: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Message-ID: <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> Hi Dar, I am so glad to see that you are back! Warm welcome. I have had a fever lately, so ... More comments on this after getting a bit better. :) Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" https://livecodeconsulting.com/ From dsc at swcp.com Thu Sep 19 12:12:38 2024 From: dsc at swcp.com (Dar Scott) Date: Thu, 19 Sep 2024 10:12:38 -0600 Subject: I came back and ... What?! In-Reply-To: <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> Message-ID: <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> I apologize for making waves when there has been much already. Before bringing up more, I want to carefully study Create and the pricing. However, I seem to have lost my way. Can someone remind me of the root URL for Create or the pricing? > On Sep 18, 2024, at 2:15 PM, Curry Kenworthy via use-livecode wrote: > > Hi Dar, > > I am so glad to see that you are back! Warm welcome. > > I have had a fever lately, so ... > > More comments on this after getting a bit better. :) > > Best wishes, > > Curry Kenworthy > > Radically Innovative Christian LiveCode Development > "PASSION for Elegant, Efficient Code!" > https://livecodeconsulting.com/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Sep 19 12:40:22 2024 From: tom at makeshyft.com (Tom Glod) Date: Thu, 19 Sep 2024 12:40:22 -0400 Subject: I came back and ... What?! In-Reply-To: <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> Message-ID: The man, the myth, the legend. Welcome back https://future.livecode.com On Thu, Sep 19, 2024 at 12:14 PM Dar Scott via use-livecode < use-livecode at lists.runrev.com> wrote: > I apologize for making waves when there has been much already. Before > bringing up more, I want to carefully study Create and the pricing. > However, I seem to have lost my way. Can someone remind me of the root URL > for Create or the pricing? > > > On Sep 18, 2024, at 2:15 PM, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Dar, > > > > I am so glad to see that you are back! Warm welcome. > > > > I have had a fever lately, so ... > > > > More comments on this after getting a bit better. :) > > > > Best wishes, > > > > Curry Kenworthy > > > > Radically Innovative Christian LiveCode Development > > "PASSION for Elegant, Efficient Code!" > > https://livecodeconsulting.com/ > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Sep 19 14:13:53 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Sep 2024 13:13:53 -0500 Subject: I came back and ... What?! In-Reply-To: <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> Message-ID: <1920b7d96e8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm so glad to see you back, Dar. While you're waiting for support, this FAQ might help answer some questions: https://future.livecode.com/faq/ I think we're all struggling to decide how to handle this new direction. I have some of the same concerns as you regarding some of my long-term clients. For now I'll continue with the classic version for those people until it's discontinued. After that I'll work with support to see if we can work out something. Kevin has said they'll evaluate individual requests as needed. Welcome back! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 19, 2024 11:15:02 AM Dar Scott via use-livecode wrote: > I apologize for making waves when there has been much already. Before > bringing up more, I want to carefully study Create and the pricing. > However, I seem to have lost my way. Can someone remind me of the root URL > for Create or the pricing? From dsc at swcp.com Thu Sep 19 14:26:15 2024 From: dsc at swcp.com (Dar Scott) Date: Thu, 19 Sep 2024 12:26:15 -0600 Subject: I came back and ... What?! In-Reply-To: <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> Message-ID: <8648A8FB-53F5-452F-A89D-355CDA68AAA4@swcp.com> Found it! future.livecode.com > On Sep 19, 2024, at 10:12 AM, Dar Scott wrote: > > I apologize for making waves when there has been much already. Before bringing up more, I want to carefully study Create and the pricing. However, I seem to have lost my way. Can someone remind me of the root URL for Create or the pricing? > >> On Sep 18, 2024, at 2:15 PM, Curry Kenworthy via use-livecode wrote: >> >> Hi Dar, >> >> I am so glad to see that you are back! Warm welcome. >> >> I have had a fever lately, so ... >> >> More comments on this after getting a bit better. :) >> >> Best wishes, >> >> Curry Kenworthy >> >> Radically Innovative Christian LiveCode Development >> "PASSION for Elegant, Efficient Code!" >> https://livecodeconsulting.com/ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Sun Sep 22 06:54:22 2024 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 22 Sep 2024 10:54:22 +0000 Subject: Tree view widget messages not firing? Message-ID: Is there some secret to getting the tree view messages to fire? The actionInspect message works as advertised but I can’t get either the dataChanged or formattedHieghtChanged messages to trigger. I was expecting the dataChanged message to trigger whenever the arrayData of the widget was set to something different but I get nothing. Any ideas/advice? Cheers, Terry From brian at milby7.com Sun Sep 22 13:21:50 2024 From: brian at milby7.com (Brian Milby) Date: Sun, 22 Sep 2024 13:21:50 -0400 Subject: Tree view widget messages not firing? In-Reply-To: References: Message-ID: That message is posted when the widget changes the value of the array by adding/deleting a key. It is not posted when the array is set. Formattedheightchanged should fire when the total height of data changed. Easiest way to get it sent is expanding a node. My use of that widget never uses the changed message but I’ve made a good bit of use of the height message. Brian Milby brian at milby7.com > On Sep 22, 2024, at 6:56 AM, Terry Judd via use-livecode wrote: > > Is there some secret to getting the tree view messages to fire? The actionInspect message works as advertised but I can’t get either the dataChanged or formattedHieghtChanged messages to trigger. I was expecting the dataChanged message to trigger whenever the arrayData of the widget was set to something different but I get nothing. > > Any ideas/advice? > > Cheers, > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Sep 23 17:44:03 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 23 Sep 2024 16:44:03 -0500 Subject: Combo box issues? Message-ID: <7b7cf4dc-acc1-47e0-9c5f-4d12ecc762e4@hyperactivesw.com> Has anyone found issues with a combo box button on MacOS Sequoia? A client says the menu pops down okay but when clicking an item it does not show up in its field. I'm still on an older version of the OS and it works fine for me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Mon Sep 23 18:01:10 2024 From: klaus at major-k.de (Klaus major-k) Date: Tue, 24 Sep 2024 00:01:10 +0200 Subject: Combo box issues? In-Reply-To: <7b7cf4dc-acc1-47e0-9c5f-4d12ecc762e4@hyperactivesw.com> References: <7b7cf4dc-acc1-47e0-9c5f-4d12ecc762e4@hyperactivesw.com> Message-ID: <5F8F3A20-20DD-4E18-B710-09F4691BBE48@major-k.de> Hi Jacque, > Am 23.09.2024 um 23:44 schrieb J. Landman Gay via use-livecode : > > Has anyone found issues with a combo box button on MacOS Sequoia? A client says the menu pops down okay but when clicking an item it does not show up in its field. I'm still on an older version of the OS and it works fine for me. works here for me: macOS 15.0, LC 10 rc1. At least in the IDE, did not test a runtime. > -- > 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 Tue Sep 24 01:41:42 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Sep 2024 00:41:42 -0500 Subject: Combo box issues? In-Reply-To: <5F8F3A20-20DD-4E18-B710-09F4691BBE48@major-k.de> References: <7b7cf4dc-acc1-47e0-9c5f-4d12ecc762e4@hyperactivesw.com> <5F8F3A20-20DD-4E18-B710-09F4691BBE48@major-k.de> Message-ID: <192228cba08.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks for testing, Klaus. I tried both the standalone and the IDE and they both worked. It's a puzzle. The buttons have no scripts, they rely only on the built-in behavior. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 23, 2024 5:03:26 PM Klaus major-k via use-livecode wrote: > Hi Jacque, > >> Am 23.09.2024 um 23:44 schrieb J. Landman Gay via use-livecode >> : >> >> Has anyone found issues with a combo box button on MacOS Sequoia? A client >> says the menu pops down okay but when clicking an item it does not show up >> in its field. I'm still on an older version of the OS and it works fine for me. > > works here for me: macOS 15.0, LC 10 rc1. > At least in the IDE, did not test a runtime. > >> -- >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Tue Sep 24 11:16:44 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 24 Sep 2024 11:16:44 -0400 Subject: Cropping invisible images Message-ID: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> Hi list, When cropping an invisible image, what happens to the imagedata? I might be wrong, but it looks like the imagedata isn't modified accordingly... Best, jbv From jbv at souslelogo.com Tue Sep 24 14:35:16 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 24 Sep 2024 14:35:16 -0400 Subject: Cropping invisible images In-Reply-To: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> References: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> Message-ID: Actually, it looks like the "crop" function doesn't work on images with transparencies, or it outputs weird results... Le 2024-09-24 11:16, jbv via use-livecode a crit : > Hi list, > > When cropping an invisible image, what happens to the imagedata? > I might be wrong, but it looks like the imagedata isn't modified > accordingly... > > Best, > jbv > From harrison at all-auctions.com Tue Sep 24 20:23:32 2024 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Tue, 24 Sep 2024 20:23:32 -0400 Subject: Cropping invisible images In-Reply-To: References: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> Message-ID: <047BAC1C-D1F6-4871-B6A3-6986101FD464@all-auctions.com> It sounds like you are doing the image cropping programmatically. In theory you could move the image off screen so it doesn’t have to be transparent, crop it there, and then move it back when you’re done. Rick > On Sep 24, 2024, at 2:35 PM, jbv via use-livecode wrote: > > Actually, it looks like the "crop" function doesn't work > on images with transparencies, or it outputs weird results... > > Le 2024-09-24 11:16, jbv via use-livecode a écrit : >> Hi list, >> When cropping an invisible image, what happens to the imagedata? >> I might be wrong, but it looks like the imagedata isn't modified >> accordingly... >> Best, >> jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Wed Sep 25 02:32:05 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 25 Sep 2024 06:32:05 +0000 Subject: Cropping invisible images Message-ID: <8852520F-BE8B-43D4-9355-024AD2C2268D@uni-wh.de> jbv wrote: "Actually, it looks like the "crop" function doesn't work on images with transparencies, or it outputs weird results..." I tried to crop images with and without transparencies (both png images) programmatically as visible or hidden images and it worked all the time. Imagedata was what was to be expected. Images were what was to be expected. I both expanded and cropped via the crop image "imageName" to tNewRect command using LC 10.0.0 RC1 Kind regards Bernd From jbv at souslelogo.com Wed Sep 25 03:52:00 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 25 Sep 2024 03:52:00 -0400 Subject: Cropping invisible images In-Reply-To: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> References: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> Message-ID: <3c04b4efae8ada58ed5a45703f46476b@souslelogo.com> Thank you for your replies. One more question : what happens to the imagedata when an image is resized ? For instance : put width of img 1 into w put height of img 1 into h put w/h into tratio set width of img 1 to 150 set height of img 1 to 150/tratio And then when you crop the image... I am trying to figure out where my problems come from. Best, jbv From jbv at souslelogo.com Wed Sep 25 05:21:33 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 25 Sep 2024 05:21:33 -0400 Subject: Cropping invisible images In-Reply-To: <3c04b4efae8ada58ed5a45703f46476b@souslelogo.com> References: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> <3c04b4efae8ada58ed5a45703f46476b@souslelogo.com> Message-ID: Sorry for the multiple messages, but I found the solution to my problem : after resizing an image, it seems necessary to update its imagedata before cropping it : put width of img 1 into w put height of img 1 into h put w/h into tratio set width of img 1 to 150 set height of img 1 to 150/tratio get the imagedata of img 1 set imagedata of img 1 to it -- then crop works as expected LC 9.6.9 on Mac 10.15 From Bernd.Niggemann at uni-wh.de Wed Sep 25 06:10:41 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 25 Sep 2024 10:10:41 +0000 Subject: Cropping invisible images Message-ID: jbv wrote: >"One more question : what happens to the imagedata >when an image is resized ? >For instance : > > put width of img 1 into w > put height of img 1 into h > put w/h into tratio > set width of img 1 to 150 > set height of img 1 to 150/tratio > >And then when you crop the image..." imageData is always adapted to what the new dimensions are. Either by changing width and height or cropping. The length of the imageData is always width * height * 4 Think of imageData as a long binary string that is wrapped around according to the width. By changing dimensions of an image LC automatically adapts imageData to the new dimensions. Kind regards Bernd From Bernd.Niggemann at uni-wh.de Wed Sep 25 08:46:28 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 25 Sep 2024 12:46:28 +0000 Subject: Cropping invisible images Message-ID: jbv wrote: Hi list, I have a script that creates various controls on the fly and then groups some of them for a rather sophisticated layout. As I had to make many tests, modify my script many times and save the stack each time, the ids of the controls now reach astronomical values (above 400000). Is there a way to reset the ids to minimum values before building the final standalone, or will they be reset automatically when the standalone is built ? My fear is that, when running the standalone, new created controls ids will get even greater values and might finally reach a maximum... Thank you in advance. jbv From tom at makeshyft.com Fri Sep 27 13:54:32 2024 From: tom at makeshyft.com (Tom Glod) Date: Fri, 27 Sep 2024 13:54:32 -0400 Subject: Resetting ids In-Reply-To: References: Message-ID: I've wondered about this for years.... But thinking about it the unsigned 32 bit limit is over 4 billion ...... so you are 0.0093% of the way to the limit The new limit is probably 64 bit. Probably what happens when u hit the limit is it rolls over and starts at 0 or 1000 like a new stack, and then searches for the nearest unused id. I'm at the 2.5 millions when i create a new id in my master stack. Interesting to think about, but nothing to fear. On Fri, Sep 27, 2024 at 4:26 AM jbv via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi list, > > I have a script that creates various controls on the fly > and then groups some of them for a rather sophisticated layout. > As I had to make many tests, modify my script many times > and save the stack each time, the ids of the controls now > reach astronomical values (above 400000). > Is there a way to reset the ids to minimum values before > building the final standalone, or will they be reset > automatically when the standalone is built ? > My fear is that, when running the standalone, new created > controls ids will get even greater values and might > finally reach a maximum... > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Fri Sep 27 14:37:47 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Sep 2024 18:37:47 +0000 Subject: Resetting ids In-Reply-To: References: Message-ID: that being the case, if it were possible to set the ID of a stack to 1000, it ought to start over. Bob S > On Sep 27, 2024, at 10:54 AM, Tom Glod via use-livecode wrote: > > I've wondered about this for years.... > But thinking about it the unsigned 32 bit limit is over 4 billion ...... > so you are 0.0093% of the way to the limit > The new limit is probably 64 bit. > Probably what happens when u hit the limit is it rolls over and starts at 0 > or 1000 like a new stack, and then searches for the nearest unused id. > I'm at the 2.5 millions when i create a new id in my master stack. > Interesting to think about, but nothing to fear. > > > > On Fri, Sep 27, 2024 at 4:26 AM jbv via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi list, >> >> I have a script that creates various controls on the fly >> and then groups some of them for a rather sophisticated layout. >> As I had to make many tests, modify my script many times >> and save the stack each time, the ids of the controls now >> reach astronomical values (above 400000). >> Is there a way to reset the ids to minimum values before >> building the final standalone, or will they be reset >> automatically when the standalone is built ? >> My fear is that, when running the standalone, new created >> controls ids will get even greater values and might >> finally reach a maximum... >> >> Thank you in advance. >> jbv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roland.huettmann at gmail.com Fri Sep 27 16:54:57 2024 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 27 Sep 2024 22:54:57 +0200 Subject: Resetting ids In-Reply-To: References: Message-ID: @jbv at souslelogo.c om You can reassign id's to your controls: "Set the id of control x to 200" will work if no other control has such id. > > Hi list, > > I have a script that creates various controls on the fly > and then groups some of them for a rather sophisticated layout. > As I had to make many tests, modify my script many times > and save the stack each time, the ids of the controls now > reach astronomical values (above 400000). > Is there a way to reset the ids to minimum values before > building the final standalone, or will they be reset > automatically when the standalone is built ? > My fear is that, when running the standalone, new created > controls ids will get even greater values and might > finally reach a maximum... > > Thank you in advance. > jbv > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ------------------------------ > > End of use-livecode Digest, Vol 252, Issue 14 > ********************************************* > From bobsneidar at iotecdigital.com Fri Sep 27 17:40:05 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Sep 2024 21:40:05 +0000 Subject: Resetting ids In-Reply-To: References: Message-ID: <89A51B27-94C2-4B8C-9B75-5A9528F08B1B@iotecdigital.com> I believe it will still work, but it will increment all other objects with that ID and higher. Bob S > On Sep 27, 2024, at 1:54 PM, R.H. via use-livecode wrote: > > @jbv at souslelogo.c om You can reassign id's to your > controls: "Set the id of control x to 200" will work if no other control > has such id. > > >> >> Hi list, >> >> I have a script that creates various controls on the fly >> and then groups some of them for a rather sophisticated layout. >> As I had to make many tests, modify my script many times >> and save the stack each time, the ids of the controls now >> reach astronomical values (above 400000). >> Is there a way to reset the ids to minimum values before >> building the final standalone, or will they be reset >> automatically when the standalone is built ? >> My fear is that, when running the standalone, new created >> controls ids will get even greater values and might >> finally reach a maximum... >> >> Thank you in advance. >> jbv >> >> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> ------------------------------ >> >> End of use-livecode Digest, Vol 252, Issue 14 >> ********************************************* >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Mon Sep 30 05:34:48 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 30 Sep 2024 05:34:48 -0400 Subject: SVG question Message-ID: <4f7b6d028d1ca4a0218d8a05e10865b1@souslelogo.com> Hi list, I have checked many LC lessons and forum topics available online, but I still can't figure out the answer to my question : is there a way to import into an svg widget an svg file that contains elements different than paths, like rects, text, circle, etc. ? Thank you in advance. jbv From craig at starfirelighting.com Mon Sep 30 10:03:18 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 30 Sep 2024 10:03:18 -0400 Subject: Resetting ids In-Reply-To: <89A51B27-94C2-4B8C-9B75-5A9528F08B1B@iotecdigital.com> References: <89A51B27-94C2-4B8C-9B75-5A9528F08B1B@iotecdigital.com> Message-ID: <471A9E83-A70B-4D15-8F7F-C05A3714EF8A@starfirelighting.com> Hi. Apart from just being large numbers, i cannot imagine there will be any issue. I also have a feeling that “condensing” those values is a good thing. But that is only a feeling. Craig > On Sep 27, 2024, at 5:40 PM, Bob Sneidar via use-livecode wrote: > > I believe it will still work, but it will increment all other objects with that ID and higher. > > Bob S > > >> On Sep 27, 2024, at 1:54 PM, R.H. via use-livecode wrote: >> >> @jbv at souslelogo.c om You can reassign id's to your >> controls: "Set the id of control x to 200" will work if no other control >> has such id. >> >> >>> >>> Hi list, >>> >>> I have a script that creates various controls on the fly >>> and then groups some of them for a rather sophisticated layout. >>> As I had to make many tests, modify my script many times >>> and save the stack each time, the ids of the controls now >>> reach astronomical values (above 400000). >>> Is there a way to reset the ids to minimum values before >>> building the final standalone, or will they be reset >>> automatically when the standalone is built ? >>> My fear is that, when running the standalone, new created >>> controls ids will get even greater values and might >>> finally reach a maximum... >>> >>> Thank you in advance. >>> jbv >>> >>> >>> >>> ------------------------------ >>> >>> Subject: Digest Footer >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> ------------------------------ >>> >>> End of use-livecode Digest, Vol 252, Issue 14 >>> ********************************************* >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Thu Sep 5 04:50:00 2024 From: heather at livecode.com (Heather Laine) Date: Thu, 5 Sep 2024 09:50:00 +0100 Subject: testing the list Message-ID: <58223791-8345-4F89-A8B0-0D26400A4C6C@livecode.com> please ignore Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From bobsneidar at iotecdigital.com Thu Sep 5 11:03:07 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 5 Sep 2024 15:03:07 +0000 Subject: testing the list In-Reply-To: <58223791-8345-4F89-A8B0-0D26400A4C6C@livecode.com> References: <58223791-8345-4F89-A8B0-0D26400A4C6C@livecode.com> Message-ID: Okay. ;-) > On Sep 5, 2024, at 1:50 AM, Heather Laine via use-livecode wrote: > > please ignore > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com From matthias_livecode_150811 at m-r-d.de Thu Sep 12 06:09:51 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 12 Sep 2024 12:09:51 +0200 Subject: LivecodeShare/revOnline - How to upload? Message-ID: <0CDBB599-118C-4CBE-B31B-C260D0DCD5FB@m-r-d.de> Hi, am I missing something? I cannot find a login area to upload a sample stack to revOnline/LivecodeShare. My login credentials are already stored in Livecode's preferences, but the SampleStacks area within LC only shows stacks, but does not allow to upload. And the webversion at livecodeshare.runrev.com also does not offer a login. What is nowadays the recommended way to share a stack with the community? I would like to upload a new Helper stack for Windows that offers a gui for signtool.exe. It makes code signing on Windows using cloud based certificates and now also certificates on USB Token much easier. (at least I think so) ;) Regards, Matthias From marksmithhfx at gmail.com Thu Sep 12 06:40:15 2024 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 12 Sep 2024 11:40:15 +0100 Subject: LivecodeShare/revOnline - How to upload? In-Reply-To: <0CDBB599-118C-4CBE-B31B-C260D0DCD5FB@m-r-d.de> References: <0CDBB599-118C-4CBE-B31B-C260D0DCD5FB@m-r-d.de> Message-ID: <6A552922-2304-40AD-9B5B-53ADA5695E69@gmail.com> Well done Matthias. Thank you for your outstanding contributions to the community. All the best, Mark Sent from my iPhone > On Sep 12, 2024, at 11:10 AM, matthias rebbe via use-livecode wrote: > > Hi, > > am I missing something? > I cannot find a login area to upload a sample stack to revOnline/LivecodeShare. > My login credentials are already stored in Livecode's preferences, but the SampleStacks area within LC only shows stacks, but does not allow to upload. > And the webversion at livecodeshare.runrev.com also does not offer a login. > > What is nowadays the recommended way to share a stack with the community? > I would like to upload a new Helper stack for Windows that offers a gui for signtool.exe. It makes code signing on Windows using cloud based certificates and now also certificates on USB Token much easier. (at least I think so) ;) > > 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 benr_mc at cogapp.com Thu Sep 12 09:09:11 2024 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 12 Sep 2024 14:09:11 +0100 Subject: tsNet - load HTTPS from server with self-signed certificate? Message-ID: <9f32ac77-a740-4c3a-ab71-0b82729aa759@cogapp.com> Attempting to load a URL over https, from a server with a self-signed certificate. The error is: tsneterr: (60) schannel: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted. This is a server we manage. If you accessed it in a browser, you'd get a warning explaining the issue, and have the choice to say I understand, get it anyway. Is there a way in tsNet to tell it to accept this certificate (otherwise we have to load it over http, which is even less secure!)?\ TIA, Ben From matthias_livecode_150811 at m-r-d.de Thu Sep 12 09:14:44 2024 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 12 Sep 2024 15:14:44 +0200 Subject: tsNet - load HTTPS from server with self-signed certificate? In-Reply-To: <9f32ac77-a740-4c3a-ab71-0b82729aa759@cogapp.com> References: <9f32ac77-a740-4c3a-ab71-0b82729aa759@cogapp.com> Message-ID: Have a look for tsNetVerifySSLPeer in the dictionary. the command tsNetVerifySSLPeer false should fix it. Regards, Matthias Von meinem iPad gesendet > Am 12.09.2024 um 15:10 schrieb Ben Rubinstein via use-livecode : > > Attempting to load a URL over https, from a server with a self-signed certificate. The error is: > > tsneterr: (60) schannel: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted. > > > This is a server we manage. If you accessed it in a browser, you'd get a warning explaining the issue, and have the choice to say I understand, get it anyway. Is there a way in tsNet to tell it to accept this certificate (otherwise we have to load it over http, which is even less secure!)?\ > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Thu Sep 12 13:12:58 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 12 Sep 2024 17:12:58 +0000 Subject: LivecodeShare/revOnline - How to upload? Message-ID: Hi Matthias, If you are using LC 10.0.0 RC1 and then open "Sample Stacks" from within LC Sample Stacks have lost their "You are logged in" etc at the topRight of Sample Stacks. However using LC 9.6.13 it shows up as usual. This supposes that you were logged in. Otherwise it will give you the opportunity to log in. Kind regards Bernd From merakosp at gmail.com Thu Sep 12 13:57:19 2024 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 12 Sep 2024 20:57:19 +0300 Subject: LivecodeShare/revOnline - How to upload? In-Reply-To: References: Message-ID: Hello all, I am afk now, but if I remember correctly, the options to log in etc are still there in LC 10, but they have white textColor in white background! But if you hover the mouse over them they should change color. Cheers, Panos On Thu, 12 Sept 2024, 20:14 Niggemann, Bernd via use-livecode, < use-livecode at lists.runrev.com> wrote: > Hi Matthias, > > If you are using LC 10.0.0 RC1 and then open "Sample Stacks" from within > LC Sample Stacks have lost their "You are logged in" etc at the topRight of > Sample Stacks. > However using LC 9.6.13 it shows up as usual. > This supposes that you were logged in. Otherwise it will give you the > opportunity to log in. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 12 16:17:59 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 12 Sep 2024 22:17:59 +0200 Subject: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare Message-ID: Hi, WinSignHelperV2 is now available in the Sample stacks section of LC. Just search for WinSignHelperV2. It is also here available https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2 The tool builds the correct signtool.exe parameters and execute signtool.exe It was now successfully tested with Cloudbased code signing certificate and also with a code signing certificate on a USB token. You just drag the folder which contains the .exe and any additional .dll files to the stack and the tool creates the command with all parameters and executes signtool.exe then. Signtool.exe is part of the Windows sdk. A download url for the sdk can be found in the help section of the main stack. The main stack is password protected. This stack only works on Windows, regardless if on a VM or on real hardware. So if anyone is interested, then give it a try. I am still working on a lesson about how to code sign Windows standalones on macOS using a cloud based certificate or a certificate on a USB token. But this still takes time. I really hope the WinSignHelperV2 is of use for someone. Regards, Matthias From matthias_livecode_150811 at m-r-d.de Thu Sep 12 16:19:35 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 12 Sep 2024 22:19:35 +0200 Subject: LivecodeShare/revOnline - How to upload? In-Reply-To: References: Message-ID: <28EE1AA6-043B-4024-A2A2-33658F0459C6@m-r-d.de> Thanks Bernd. That helped. > Am 12.09.2024 um 19:12 schrieb Niggemann, Bernd via use-livecode : > > Hi Matthias, > > If you are using LC 10.0.0 RC1 and then open "Sample Stacks" from within LC Sample Stacks have lost their "You are logged in" etc at the topRight of Sample Stacks. > However using LC 9.6.13 it shows up as usual. > This supposes that you were logged in. Otherwise it will give you the opportunity to log in. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Sep 12 19:12:40 2024 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Thu, 12 Sep 2024 16:12:40 -0700 Subject: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare In-Reply-To: References: Message-ID: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Thank you, Matthias. I use your “mrSignNotarizeHelperV4.livecode” project regularly. I love how it wraps in DropDMG. I also wrote a GUI for code signing with a USB token. My project works well in a VM on an Intel Mac with Windows 10. However, I was hoping to run a VM on an ARM Mac using the new ARM version of Windows 11. I have been using UTM and Windows 11 Pro (version 23H2) on an M2 MacBook Pro and most things work well... except that all of my attempts to code sign inside that VM fail. I was wondering if you had any thoughts about what part of this setup might be failing. Also, I noticed that WinSignHelperV2 appears to use the PowerButton widget “com.livecode.widget.powerbutton” which may not show up as expected if the user doesn’t have the additional LiveCode Enhancements bundle installed. (I didn’t have it installed on one of my VMs) -- 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 Sep 12, 2024, at 1:17 PM, matthias rebbe via use-livecode wrote: > > Hi, > > WinSignHelperV2 is now available in the Sample stacks section of LC. > Just search for WinSignHelperV2. > It is also here available https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2 > > The tool builds the correct signtool.exe parameters and execute signtool.exe > > It was now successfully tested with Cloudbased code signing certificate and also with a code signing certificate on a USB token. > > You just drag the folder which contains the .exe and any additional .dll files to the stack and the tool creates the command with all parameters and executes signtool.exe then. > > Signtool.exe is part of the Windows sdk. A download url for the sdk can be found in the help section of the main stack. > > The main stack is password protected. > > This stack only works on Windows, regardless if on a VM or on real hardware. > > So if anyone is interested, then give it a try. > > > I am still working on a lesson about how to code sign Windows standalones on macOS using a cloud based certificate or a certificate on a USB token. > But this still takes time. > > > I really hope the WinSignHelperV2 is of use for someone. > > 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 Thu Sep 12 19:47:08 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 13 Sep 2024 01:47:08 +0200 Subject: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare In-Reply-To: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Message-ID: Hello Scott, thank you for pointing this out. Stack is fixed. I am so used to these power buttons that I just forgot that they are not included by default. Regarding the VM. I am running here a Windows 11 ARM version in a Parallels VM on my M1 Mac. And signtool.exe works here with a cloud based code signing certificate without a problem. What happens if you just run signtool.exe from command line without any parameters. Does it start and returns an error because of missing parameters or does it run in general? I using UTM only with macOS VMs, so I cannot say if it should be possible to code sign in UTM Windows VMs or not. I am currently working on a HelperStack that will help to code sign Windows standalones on macOS. The stack is not the problem, but the documentation about what is required to get it working. A lesson about this is also in progress. If you like you can contact me off-list. Regards, Matthias > Am 13.09.2024 um 01:12 schrieb scott--- via use-livecode : > > Thank you, Matthias. I use your “mrSignNotarizeHelperV4.livecode” project regularly. I love how it wraps in DropDMG. > > I also wrote a GUI for code signing with a USB token. My project works well in a VM on an Intel Mac with Windows 10. However, I was hoping to run a VM on an ARM Mac using the new ARM version of Windows 11. I have been using UTM and Windows 11 Pro (version 23H2) on an M2 MacBook Pro and most things work well... except that all of my attempts to code sign inside that VM fail. I was wondering if you had any thoughts about what part of this setup might be failing. > > Also, I noticed that WinSignHelperV2 appears to use the PowerButton widget “com.livecode.widget.powerbutton” which may not show up as expected if the user doesn’t have the additional LiveCode Enhancements bundle installed. (I didn’t have it installed on one of my VMs) > > -- > 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 Sep 12, 2024, at 1:17 PM, matthias rebbe via use-livecode wrote: >> >> Hi, >> >> WinSignHelperV2 is now available in the Sample stacks section of LC. >> Just search for WinSignHelperV2. >> It is also here available https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2 >> >> The tool builds the correct signtool.exe parameters and execute signtool.exe >> >> It was now successfully tested with Cloudbased code signing certificate and also with a code signing certificate on a USB token. >> >> You just drag the folder which contains the .exe and any additional .dll files to the stack and the tool creates the command with all parameters and executes signtool.exe then. >> >> Signtool.exe is part of the Windows sdk. A download url for the sdk can be found in the help section of the main stack. >> >> The main stack is password protected. >> >> This stack only works on Windows, regardless if on a VM or on real hardware. >> >> So if anyone is interested, then give it a try. >> >> >> I am still working on a lesson about how to code sign Windows standalones on macOS using a cloud based certificate or a certificate on a USB token. >> But this still takes time. >> >> >> I really hope the WinSignHelperV2 is of use for someone. >> >> 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 From matthias_livecode_150811 at m-r-d.de Fri Sep 13 06:36:16 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 13 Sep 2024 12:36:16 +0200 Subject: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare In-Reply-To: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Message-ID: Hello Scott, I just had a little spare time. So I created a UTM VM with Windows 11 pro 23h2. I installed the most current version of the Windows SDK, which contains native tools x86, x64 and ARM. I only selected "Windows SDK Signing Tools for Desktop Apps". First I tried to code sign using signtool.exe located in the ARM64 folder. That failed. The error was "No certificates were found that met all the given criteria" regardless if I used parameter /a or /n When using signtool.exe located in the X64 folder, the signing was successful. I did not have a closer look if the ARM version of signtool needs other parameter. But using the Intel version of signtool.exe works w/o problems on Windows 11 ARM. Is it by any chance possible that you tried to sign using the ARM version of signtool? Regards Matthias > Am 13.09.2024 um 01:12 schrieb scott--- via use-livecode : > > Thank you, Matthias. I use your “mrSignNotarizeHelperV4.livecode” project regularly. I love how it wraps in DropDMG. > > I also wrote a GUI for code signing with a USB token. My project works well in a VM on an Intel Mac with Windows 10. However, I was hoping to run a VM on an ARM Mac using the new ARM version of Windows 11. I have been using UTM and Windows 11 Pro (version 23H2) on an M2 MacBook Pro and most things work well... except that all of my attempts to code sign inside that VM fail. I was wondering if you had any thoughts about what part of this setup might be failing. > > Also, I noticed that WinSignHelperV2 appears to use the PowerButton widget “com.livecode.widget.powerbutton” which may not show up as expected if the user doesn’t have the additional LiveCode Enhancements bundle installed. (I didn’t have it installed on one of my VMs) > > -- > 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 Sep 12, 2024, at 1:17 PM, matthias rebbe via use-livecode wrote: >> >> Hi, >> >> WinSignHelperV2 is now available in the Sample stacks section of LC. >> Just search for WinSignHelperV2. >> It is also here available https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2 >> >> The tool builds the correct signtool.exe parameters and execute signtool.exe >> >> It was now successfully tested with Cloudbased code signing certificate and also with a code signing certificate on a USB token. >> >> You just drag the folder which contains the .exe and any additional .dll files to the stack and the tool creates the command with all parameters and executes signtool.exe then. >> >> Signtool.exe is part of the Windows sdk. A download url for the sdk can be found in the help section of the main stack. >> >> The main stack is password protected. >> >> This stack only works on Windows, regardless if on a VM or on real hardware. >> >> So if anyone is interested, then give it a try. >> >> >> I am still working on a lesson about how to code sign Windows standalones on macOS using a cloud based certificate or a certificate on a USB token. >> But this still takes time. >> >> >> I really hope the WinSignHelperV2 is of use for someone. >> >> 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 From dan at clearvisiontech.com Fri Sep 13 11:14:24 2024 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 13 Sep 2024 15:14:24 +0000 Subject: SFTP Woes In-Reply-To: References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Message-ID: Greetings! I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: sftp protocol not supported in this version I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? Thank you in advance for any guidance! -Dan From heather at livecode.com Fri Sep 13 11:58:09 2024 From: heather at livecode.com (Heather Laine) Date: Fri, 13 Sep 2024 16:58:09 +0100 Subject: SFTP Woes In-Reply-To: References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> Message-ID: <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> Check which license you are using. You may need Pro features (Business) to use SFTP, so if you're using an older Indy type license that could be the problem. All Pro features are included in Create. To check/change the license, follow the steps in this lesson: https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode wrote: > > Greetings! > > I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: > > sftp protocol not supported in this version > > I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? > > Thank you in advance for any guidance! > -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 dan at clearvisiontech.com Fri Sep 13 12:10:30 2024 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 13 Sep 2024 16:10:30 +0000 Subject: SFTP Woes In-Reply-To: <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> Message-ID: Heather, Thank you for the reply, but I am using a Business License with Pro Features. But I relicensed LC anyway to verify it’s connected to the Pro Features account. Still get the same warning. So, that’s not the issue. Any other ideas? -Dan From: use-livecode on behalf of Heather Laine via use-livecode Date: Friday, September 13, 2024 at 8:59 AM To: How to use LiveCode Cc: Heather Laine Subject: Re: SFTP Woes Check which license you are using. You may need Pro features (Business) to use SFTP, so if you're using an older Indy type license that could be the problem. All Pro features are included in Create. To check/change the license, follow the steps in this lesson: https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode wrote: > > Greetings! > > I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: > > sftp protocol not supported in this version > > I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? > > Thank you in advance for any guidance! > -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 matthias_livecode_150811 at m-r-d.de Fri Sep 13 14:09:48 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 13 Sep 2024 20:09:48 +0200 Subject: SFTP Woes In-Reply-To: References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> Message-ID: <2B90CD64-3B95-4214-BC28-3692F249EDCE@m-r-d.de> Dan, what does put tsnetversion() return? Here with 9.6.13 I get "Version 1.4.10 Business Edition" > Am 13.09.2024 um 18:10 schrieb Dan Friedman via use-livecode : > > Heather, > > Thank you for the reply, but I am using a Business License with Pro Features. But I relicensed LC anyway to verify it’s connected to the Pro Features account. Still get the same warning. > > So, that’s not the issue. Any other ideas? > > -Dan > > > > From: use-livecode > on behalf of Heather Laine via use-livecode > > Date: Friday, September 13, 2024 at 8:59 AM > To: How to use LiveCode > > Cc: Heather Laine > > Subject: Re: SFTP Woes > Check which license you are using. You may need Pro features (Business) to use SFTP, so if you're using an older Indy type license that could be the problem. All Pro features are included in Create. > > To check/change the license, follow the steps in this lesson: > > https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > >> On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode wrote: >> >> Greetings! >> >> I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: >> >> sftp protocol not supported in this version >> >> I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? >> >> Thank you in advance for any guidance! >> -Dan >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Fri Sep 13 14:34:14 2024 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 13 Sep 2024 18:34:14 +0000 Subject: SFTP Woes In-Reply-To: <2B90CD64-3B95-4214-BC28-3692F249EDCE@m-r-d.de> References: <98F67353-36FD-47BF-ADFC-5C838BD781BF@elementarysoftware.com> <56E2CEA1-73EA-475C-9DF7-821A08F33F26@livecode.com> <2B90CD64-3B95-4214-BC28-3692F249EDCE@m-r-d.de> Message-ID: I get different results in different versions of LC: LC 9.6.10 > Version 1.4.9 Business Edition LC 10.0.0 (rc 2) > Version 1.4.10 Business Edition LC 9.6.13 > Version 1.4.10 Business Edition -Dan From: use-livecode on behalf of matthias rebbe via use-livecode Date: Friday, September 13, 2024 at 11:11 AM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: SFTP Woes Dan, what does put tsnetversion() return? Here with 9.6.13 I get "Version 1.4.10 Business Edition" > Am 13.09.2024 um 18:10 schrieb Dan Friedman via use-livecode : > > Heather, > > Thank you for the reply, but I am using a Business License with Pro Features. But I relicensed LC anyway to verify it’s connected to the Pro Features account. Still get the same warning. > > So, that’s not the issue. Any other ideas? > > -Dan > > > > From: use-livecode > on behalf of Heather Laine via use-livecode > > Date: Friday, September 13, 2024 at 8:59 AM > To: How to use LiveCode > > Cc: Heather Laine > > Subject: Re: SFTP Woes > Check which license you are using. You may need Pro features (Business) to use SFTP, so if you're using an older Indy type license that could be the problem. All Pro features are included in Create. > > To check/change the license, follow the steps in this lesson: > > https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > >> On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode wrote: >> >> Greetings! >> >> I am trying to use SFTP to download some data from a server. On both Mac and Windows, I get: >> >> sftp protocol not supported in this version >> >> I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13. All versions report the same result. Is sftp not supported in LC, or have I neglected to flip some bit? >> >> Thank you in advance for any guidance! >> -Dan >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Sep 13 18:44:39 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 13 Sep 2024 22:44:39 +0000 Subject: CharToNum Depricated?? Message-ID: <49F48D94-97E6-40C4-A32A-4871F7A4553F@iotecdigital.com> I am having an issue where I am trying to compare the data of two files I read from disk character by character. To the naked eye, both files are identical. If I open each file in Sublime Text and do a fileDiff, it declares they are identical. But when I look at the actual file size, one is slightly larger than the other. Also, when I compare the ascii values of each character, right off the bat with the first character, charToNum reports that in one file the first character is “F” which is correct. But for the second file, it is “?” which is NOT CORRECT!!! Now one file I generated by converting a Konica Minolta address book to a Toshiba address book. I won’t go into the gory details, but remember both files I am comparing look identical and SublimeText thinks they are identical. My suspicion is that the source file, the Konica Minolta address book is unicode. What I did. to try and get around this is I used textDecode(it, “ASCII”) on the data read from the disk, but I am still getting the same results. My goal is to read the data as ascii data with NO UNICODE and then export it with NO UNICODE. Bob S From bobsneidar at iotecdigital.com Fri Sep 13 18:50:26 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 13 Sep 2024 22:50:26 +0000 Subject: CharToNum Depricated?? In-Reply-To: <49F48D94-97E6-40C4-A32A-4871F7A4553F@iotecdigital.com> References: <49F48D94-97E6-40C4-A32A-4871F7A4553F@iotecdigital.com> Message-ID: <94D33B7E-DC44-4C83-9988-381719AD1474@iotecdigital.com> Also, if charToNum is deprecated, what do I use to compare t he ascii values of two characters?? Bob S > On Sep 13, 2024, at 3:44 PM, Bob Sneidar via use-livecode wrote: > > I am having an issue where I am trying to compare the data of two files I read from disk character by character. To the naked eye, both files are identical. If I open each file in Sublime Text and do a fileDiff, it declares they are identical. But when I look at the actual file size, one is slightly larger than the other. Also, when I compare the ascii values of each character, right off the bat with the first character, charToNum reports that in one file the first character is “F” which is correct. But for the second file, it is “?” which is NOT CORRECT!!! > > Now one file I generated by converting a Konica Minolta address book to a Toshiba address book. I won’t go into the gory details, but remember both files I am comparing look identical and SublimeText thinks they are identical. > > My suspicion is that the source file, the Konica Minolta address book is unicode. What I did. to try and get around this is I used textDecode(it, “ASCII”) on the data read from the disk, but I am still getting the same results. > > My goal is to read the data as ascii data with NO UNICODE and then export it with NO UNICODE. > > 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 Bernd.Niggemann at uni-wh.de Sun Sep 15 14:50:16 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Sun, 15 Sep 2024 18:50:16 +0000 Subject: CharToNum Depricated?? Message-ID: Hi Bob, charToNum has been deprecated, I think since LC 7.0 It is replaced by nativeCharToNum() and byteToNum (As of LC 10.0.0 charToNum maps to nativeCharToNum, see release notes) This covers the ASCII range. For unicode you use codepointToNum() I suspect that the small difference you see in file size is a Byte Order Mark, BOM at the beginning of the Konica Minolta address book. You could try to use "open file" to import the Konica Minolta address book. open file tFilePath for read read from file tFilePath until EOF put it into tData close file tFilePath The dictionary states >From 7.0, it's possible to specify an encoding for the file being opened. By doing so, you can straight read or write to a file without having to call textEncode or textDecode; the encoding supported by open file are the same as these text encoding functions. If no encoding is provided, then open file tries to read a Byte Order Mark (BOM) exists at the beginning of the file. In success, the encoding is adapted and the BOM is ignored. If my assumption that there is a BOM is correct then after opening and reading from the file should give you the same length of the data since the BOM is not part of the data. I guess that is also the reason why SublimeText sees both files as identical. It probably also ignores the BOM. I am just guessing and I am not an expert for these matters but maybe this gives you an idea to try. Kind regard Bernd Bob wrote Also, if charToNum is deprecated, what do I use to compare t he ascii values of two characters?? From craig at starfirelighting.com Mon Sep 16 08:59:34 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 16 Sep 2024 08:59:34 -0400 Subject: CharToNum Depricated?? In-Reply-To: References: Message-ID: <7F3371E8-6735-42B9-8114-71354D729291@starfirelighting.com> CharTo Num and NumToChar still work just fine, deprecation notwithstanding. LC would not permit a new version to break old code if they could at all help it. I never really migrated over to the updated “codePoint” version. I hope this laziness does not bite me one day. Craig From bobsneidar at iotecdigital.com Mon Sep 16 12:26:22 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Sep 2024 16:26:22 +0000 Subject: CharToNum Depricated?? In-Reply-To: References: Message-ID: I think you nailed it Bernd. That scans with all that I am seeing in troubleshooting. Bob S > On Sep 15, 2024, at 11:50 AM, Niggemann, Bernd via use-livecode wrote: > > Hi Bob, > > charToNum has been deprecated, I think since LC 7.0 > > It is replaced by nativeCharToNum() and byteToNum > > (As of LC 10.0.0 charToNum maps to nativeCharToNum, see release notes) > > This covers the ASCII range. > > For unicode you use codepointToNum() > > I suspect that the small difference you see in file size is a Byte Order Mark, BOM at the beginning of the Konica Minolta address book. > > You could try to use "open file" to import the Konica Minolta address book. > > open file tFilePath for read > read from file tFilePath until EOF > put it into tData > close file tFilePath > > The dictionary states > > From 7.0, it's possible to specify an encoding for the file being > opened. By doing so, you can straight read or write to a file without > having to call textEncode or textDecode; the encoding supported by > open file are the same as these text encoding functions. If no encoding > is provided, then open file tries to read a Byte Order Mark (BOM) exists > at the beginning of the file. In success, the encoding is adapted and the > BOM is ignored. > > > If my assumption that there is a BOM is correct then after opening and reading from the file should give you the same length of the data since the BOM is not part of the data. > I guess that is also the reason why SublimeText sees both files as identical. It probably also ignores the BOM. > > I am just guessing and I am not an expert for these matters but maybe this gives you an idea to try. > > Kind regard > Bernd > > > Bob wrote > > Also, if charToNum is deprecated, what do I use to compare t he ascii values of > two characters?? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 16 17:06:16 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Sep 2024 21:06:16 +0000 Subject: CharToNum Depricated?? In-Reply-To: References: Message-ID: OK so I determined that the native export file from the Toshiba Address Book Export is putting some non-display (probably unicode) characters at the beginning of the file. They don’t appear in any text editor but they are there because when I do a char by char comparison, the very first char in the Toshiba Export file is a question mark. Is there any way to ignore that exterraneous data when reading the file? Bob S From bobsneidar at iotecdigital.com Mon Sep 16 17:45:04 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 16 Sep 2024 21:45:04 +0000 Subject: CharToNum Depricated?? In-Reply-To: References: Message-ID: Actually I think what I need to do is figure out what the original file encoding is, and use that when I write out the export file. Bob S > On Sep 16, 2024, at 2:06 PM, Bob Sneidar wrote: > > OK so I determined that the native export file from the Toshiba Address Book Export is putting some non-display (probably unicode) characters at the beginning of the file. They don’t appear in any text editor but they are there because when I do a char by char comparison, the very first char in the Toshiba Export file is a question mark. > > Is there any way to ignore that exterraneous data when reading the file? > > Bob S > From Bernd.Niggemann at uni-wh.de Tue Sep 17 07:41:42 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Tue, 17 Sep 2024 11:41:42 +0000 Subject: CharToNum Depricated?? Message-ID: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> Hi Bob, Actually I think what I need to do is figure out what the original file encoding is, and use that when I write out the export file. I assume that the byte order mark (BOM) is for UTF-8 To see the BOM for UTF-8 make a button and a field named "fText" Use this script for the button ------------------------------------------------------------- on mouseUp local tPath, tContent, tBom, tCollect answer file "choose" if it is empty then exit mouseUp put it into tPath if the optionKey is down then put url ("binfile:" & tPath) into tContent delete line 2 to -1 of tContent put textEncode(tContent, "UTF-8") into tContent else put url ("file:" & tPath) into tContent delete line 2 to -1 of tContent end if put tContent into field "fText" end mouseUp ------------------------------------------------------------- and see if you see the BOM when you hold down the option key when opening the file If you do not use the option key there should be no BOM at the beginning of the text and the text is automatically UTF-8 encoded Apparently "put url ("file:" & tPath)" is also aware of the encoding of the file since it converts it omits the BOM. Kind regards Bernd From bobsneidar at iotecdigital.com Tue Sep 17 11:32:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Sep 2024 15:32:41 +0000 Subject: CharToNum Depricated?? In-Reply-To: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> Message-ID: Thanks Bernd. But I finally figured out what the issue was. It seems that unless the output file is opened binary, any attempt to wrote to a file using any of the cr, lf or crlf keywords in LC will result in LC auto-converting them to cr, because that is the Macintosh standard. What I had to do is to use numToCodepoint() to create a variable containing ascii characters 13 and 10 (crlf) and then use that variable to end my lines. The way I actually figured out what the issue was, is I downloaded Notepad++ for Windows which has the capability of showing non-printing characters, and it does not transparently cut convert files without informing the user, as Microsoft seems to think they have every right to take the liberty to do. And without putting too fine a point on it, Livecode seems to take the same liberties. If I write lf to a file, I expect the file to contain lf and not cr! But at least there is a way around it. Bob S > On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode wrote: > > Hi Bob, > > > Actually I think what I need to do is figure out what the original file > encoding is, and use that when I write out the export file. > > I assume that the byte order mark (BOM) is for UTF-8 > > To see the BOM for UTF-8 make a button and a field named "fText" > > Use this script for the button > > ------------------------------------------------------------- > on mouseUp > local tPath, tContent, tBom, tCollect > answer file "choose" > if it is empty then exit mouseUp > put it into tPath > if the optionKey is down then > put url ("binfile:" & tPath) into tContent > delete line 2 to -1 of tContent > put textEncode(tContent, "UTF-8") into tContent > else > put url ("file:" & tPath) into tContent > delete line 2 to -1 of tContent > end if > put tContent into field "fText" > end mouseUp > ------------------------------------------------------------- > > and see if you see the BOM when you hold down the option key when opening the file > If you do not use the option key there should be no BOM at the beginning of the text and the text is automatically UTF-8 encoded > Apparently "put url ("file:" & tPath)" is also aware of the encoding of the file since it converts it omits the BOM. > > Kind regards > Bernd > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 17 11:50:47 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Sep 2024 15:50:47 +0000 Subject: CharToNum Depricated?? In-Reply-To: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> Message-ID: <03283B9C-F53D-4478-BA24-E8CD79D604EC@iotecdigital.com> I also read up on the BOM, and for UTF-8 it is optional, and as mentioned not recommended, because UTF-8 always uses the same byte order. And anyway, the BOM was never the issue. Apparently Livecode always produces a UTF-8 format file unless instructed to do otherwise. Bob S On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode wrote: Hi Bob, Actually I think what I need to do is figure out what the original file encoding is, and use that when I write out the export file. I assume that the byte order mark (BOM) is for UTF-8 To see the BOM for UTF-8 make a button and a field named "fText" Use this script for the button From bobsneidar at iotecdigital.com Tue Sep 17 17:13:29 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Sep 2024 21:13:29 +0000 Subject: CharToNum Depricated?? In-Reply-To: <03283B9C-F53D-4478-BA24-E8CD79D604EC@iotecdigital.com> References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> <03283B9C-F53D-4478-BA24-E8CD79D604EC@iotecdigital.com> Message-ID: <93101EB7-CAB1-4FF7-B293-F43E1A39D4CE@iotecdigital.com> I went through all my code and replaced charToNum and numToChar with codepointToNum and numToCodepoint respectively. If it matters to anyone, the Quartum PDF, Excel and sqlYoga libraries all were using the depricated versions. Bob S > On Sep 17, 2024, at 8:50 AM, Bob Sneidar via use-livecode wrote: > > I also read up on the BOM, and for UTF-8 it is optional, and as mentioned not recommended, because UTF-8 always uses the same byte order. > > And anyway, the BOM was never the issue. Apparently Livecode always produces a UTF-8 format file unless instructed to do otherwise. > > Bob S > > > On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode wrote: > > Hi Bob, > > > Actually I think what I need to do is figure out what the original file > encoding is, and use that when I write out the export file. > > I assume that the byte order mark (BOM) is for UTF-8 > > To see the BOM for UTF-8 make a button and a field named "fText" > > Use this script for the button > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Sep 18 04:59:33 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 18 Sep 2024 03:59:33 -0500 Subject: CharToNum Depricated?? In-Reply-To: References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> Message-ID: <192045bb908.281c.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I should have thought of that. Line endings are always translated to/from native unless the file is opened/written in binary, it's been that way since MetaCard. It's a feature. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 17, 2024 10:35:05 AM Bob Sneidar via use-livecode wrote: > Thanks Bernd. But I finally figured out what the issue was. It seems that > unless the output file is opened binary, any attempt to wrote to a file > using any of the cr, lf or crlf keywords in LC will result in LC > auto-converting them to cr, because that is the Macintosh standard. What I > had to do is to use numToCodepoint() to create a variable containing ascii > characters 13 and 10 (crlf) and then use that variable to end my lines. > > The way I actually figured out what the issue was, is I downloaded > Notepad++ for Windows which has the capability of showing non-printing > characters, and it does not transparently cut convert files without > informing the user, as Microsoft seems to think they have every right to > take the liberty to do. > > And without putting too fine a point on it, Livecode seems to take the same > liberties. If I write lf to a file, I expect the file to contain lf and not > cr! But at least there is a way around it. > > Bob S > > >> On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode >> wrote: >> >> Hi Bob, >> >> >> Actually I think what I need to do is figure out what the original file >> encoding is, and use that when I write out the export file. >> >> I assume that the byte order mark (BOM) is for UTF-8 >> >> To see the BOM for UTF-8 make a button and a field named "fText" >> >> Use this script for the button >> >> ------------------------------------------------------------- >> on mouseUp >> local tPath, tContent, tBom, tCollect >> answer file "choose" >> if it is empty then exit mouseUp >> put it into tPath >> if the optionKey is down then >> put url ("binfile:" & tPath) into tContent >> delete line 2 to -1 of tContent >> put textEncode(tContent, "UTF-8") into tContent >> else >> put url ("file:" & tPath) into tContent >> delete line 2 to -1 of tContent >> end if >> put tContent into field "fText" >> end mouseUp >> ------------------------------------------------------------- >> >> and see if you see the BOM when you hold down the option key when opening >> the file >> If you do not use the option key there should be no BOM at the beginning of >> the text and the text is automatically UTF-8 encoded >> Apparently "put url ("file:" & tPath)" is also aware of the encoding of the >> file since it converts it omits the BOM. >> >> Kind regards >> Bernd >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Sep 18 11:41:23 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Sep 2024 15:41:23 +0000 Subject: CharToNum Depricated?? In-Reply-To: <192045bb908.281c.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <4CB4C71C-D99D-43C0-88EA-BFC2E8907FAB@uni-wh.de> <192045bb908.281c.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4FB7C167-1AA3-4E31-9061-1AF440EEFD3D@iotecdigital.com> Thanks Jacqueline. I knew about the binary thing. I just thnik that silent conversions are a violation of the of principle of low level file operations. The whole point to low level file functions is so that what you write is what you get, and what you read is what you wrote. But it’s water under the bridge now. I’m even thinking about going through all my code and ensuring that all reads and writes are binary, and that all line endings are CRLF. Bob S On Sep 18, 2024, at 1:59 AM, J. Landman Gay via use-livecode wrote: I should have thought of that. Line endings are always translated to/from native unless the file is opened/written in binary, it's been that way since MetaCard. It's a feature. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Wed Sep 18 12:45:23 2024 From: dsc at swcp.com (Dar Scott) Date: Wed, 18 Sep 2024 10:45:23 -0600 Subject: I came back and ... What?! Message-ID: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Projects have required a bit of my wandering, a bit of dalliance on my part. I have come back and I find bright lights and confetti, but the floor and steps are painted black. I need some guidance. (I am not even able to get the latest LiveCode and find that my subscription had been cancelled. I imagine Heather will fix all that.) This is partly my fault, I didn’t have a good way to separate the LiveCode marketing emails from here-is-an-important-message-about-your-account. I am fully willing to try LiveCode Create. Maybe there are less bugs in the engine. This might be good for creating bread and butter applications. But, the pricing scheme is constraining and complicated. About 3/4 of what I deliver are library stacks for those who develop using LiveCode. I am assuming that I can deliver those without any royalties or whatever they are. This should not impact me. However, I wonder if some of my customers might be moving away from LiveCode because of the pricing model. I will most likely get things resolved so I can deliver library stacks. The pricing scheme for executables is a blocker for the other 1/4 and my in-house usage. A three page appendix to my proposal for a new or old customer explaining how the customer has to pay additional fees for using the software part of what I deliver, will kill any agreement right there. The best I can do is propose applications and then hand it over LiveCode to a Python programmer and say “please rewrite this in Python”. And in the middle or after a project, I cannot say, “No problem; here is a tiny program that monitors the status of the machines.” Or the REST connections or whatever. Overall, I was not able to find a way to provide my customer with a prepaid indefinite license. And in-house. It was nice to say to a EE in the lab, “Here is something I whipped up last night to get the data from the prototype and the oscilloscope.” I don’t want to add next time, “And figure out the red tape and requisition a couple months of using the program.” What kind of leader would I be if I say, “No, these are my tools. I made them. You cannot use them. Mine. Mine." I’m in a quandary over whether to buy Create today (or wait until the LiveCode license problem is fixed). And then there is my surprise to learn $36.67 X 12 = $660. I know most of you have had to weather this. I welcome advice. Fondly remembering you folks, Dar From bobsneidar at iotecdigital.com Wed Sep 18 13:09:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Sep 2024 17:09:41 +0000 Subject: New licensing Message-ID: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> Well I didn’t want to post this on the main list for reasons that will become obvious. First, any apps you create with Classic will still operate under the old license. I have been assured that if I create and distribute an app the last day of the classic licensing, the distributed apps will continue to function, so no worries there. Up until sometime in 2027 you should still be good. What to do after that is the issue. Certain LC developers have forked the LC build based upon the Open Licensing of Livecode. It functions so far as I can tell just like the commercial version of LC, but of course any changes made to LC prior to the fork will of course not be in the Open xTalk build. For instance LC *finally* incorporated inline custom behaviors for Datagrids, something I take full advantage of. But unfortunately, it did not make it into the fork, and the OXT devs do not appear to think it worth it to replicate the work, even though it is quite simple to do. I will have to do considerable refactoring to make my main project work. So there you are. Don’t tell anyone at LC I said so. There’s no bad blood between LC and the OXT project, they have amicably parted ways, forked their relationship if you will. :-) But obviously promoting a competing project on the list would be at the very least rude. Bob S From bobsneidar at iotecdigital.com Wed Sep 18 13:13:48 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 18 Sep 2024 17:13:48 +0000 Subject: New licensing In-Reply-To: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> References: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> Message-ID: Sorry list, that was supposed to go to Dar. Bob S > On Sep 18, 2024, at 10:09 AM, Bob Sneidar via use-livecode wrote: > > Well I didn’t want to post this on the main list for reasons that will become obvious. > > First, any apps you create with Classic will still operate under the old license. I have been assured that if I create and distribute an app the last day of the classic licensing, the distributed apps will continue to function, so no worries there. Up until sometime in 2027 you should still be good. > > What to do after that is the issue. Certain LC developers have forked the LC build based upon the Open Licensing of Livecode. It functions so far as I can tell just like the commercial version of LC, but of course any changes made to LC prior to the fork will of course not be in the Open xTalk build. > > For instance LC *finally* incorporated inline custom behaviors for Datagrids, something I take full advantage of. But unfortunately, it did not make it into the fork, and the OXT devs do not appear to think it worth it to replicate the work, even though it is quite simple to do. I will have to do considerable refactoring to make my main project work. > > So there you are. Don’t tell anyone at LC I said so. There’s no bad blood between LC and the OXT project, they have amicably parted ways, forked their relationship if you will. :-) But obviously promoting a competing project on the list would be at the very least rude. > > 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 marksmithhfx at gmail.com Wed Sep 18 14:51:19 2024 From: marksmithhfx at gmail.com (Mark Smith) Date: Wed, 18 Sep 2024 19:51:19 +0100 Subject: New licensing In-Reply-To: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> References: <0113EBB8-E6C9-4991-A07D-34C15DDD01FF@iotecdigital.com> Message-ID: <400054B7-0A28-4A4C-9498-8398CB86ADF4@gmail.com> Hi Bob, thanks for the info. Could you please expound a little on what you said below, or give an example of how this works or how you use it? It sounds very interesting but I am not sure exactly what you are describing. Many thanks Mark > On 18 Sep 2024, at 6:09 PM, Bob Sneidar via use-livecode wrote: > > For instance LC *finally* incorporated inline custom behaviors for Datagrids From dsc at swcp.com Wed Sep 18 15:04:18 2024 From: dsc at swcp.com (Dar Scott) Date: Wed, 18 Sep 2024 13:04:18 -0600 Subject: I came back and ... What?! In-Reply-To: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Message-ID: I did not mean to kick up rubble. My bad. How do I handle my canceled LiveCode subscription? I haven’t heard back from Heather. What should I expect? I renewed back in the spring. Is this now lost? How do I get Create? Should I wait on the LiveCode subscription issue resolution before I get Create? I’m willing to try it. Is there really a math error in the basket calculations or am I missing something? Am I allowed to create libraries for my customers (developers of LiveCode applications) without complications? It is not clear; this might be part of “use in an IDE”. Am I responsible for my customer’s failure to pay fees to LiveCode if my library is the bulk of the code in the application? It is not clear in the license. How do I keep up with user-months within my own organization? How do I handle software included in my non-subscription deliverables? I very much would like to move forward, but, frankly, I’m all confused. Maybe some folks have answers to one or two. Maybe that way these get covered. Or some general advice is good, too. Dar > On Sep 18, 2024, at 10:45 AM, Dar Scott via use-livecode might have written: > ... > I need some guidance. > ... From merakosp at gmail.com Wed Sep 18 15:25:31 2024 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 18 Sep 2024 22:25:31 +0300 Subject: I came back and ... What?! In-Reply-To: References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Message-ID: Hello Dar, Heather is off for a couple of weeks. I suggest you contact support at livecode.com, to get answers to all these questions. Kind regards Panos On Wed, 18 Sept 2024, 22:05 Dar Scott via use-livecode, < use-livecode at lists.runrev.com> wrote: > I did not mean to kick up rubble. My bad. > > How do I handle my canceled LiveCode subscription? I haven’t heard back > from Heather. What should I expect? I renewed back in the spring. Is this > now lost? > > How do I get Create? Should I wait on the LiveCode subscription issue > resolution before I get Create? I’m willing to try it. Is there really a > math error in the basket calculations or am I missing something? > > Am I allowed to create libraries for my customers (developers of LiveCode > applications) without complications? It is not clear; this might be part of > “use in an IDE”. Am I responsible for my customer’s failure to pay fees to > LiveCode if my library is the bulk of the code in the application? It is > not clear in the license. > > How do I keep up with user-months within my own organization? > > How do I handle software included in my non-subscription deliverables? > > I very much would like to move forward, but, frankly, I’m all confused. > Maybe some folks have answers to one or two. Maybe that way these get > covered. Or some general advice is good, too. > > Dar > > > On Sep 18, 2024, at 10:45 AM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> might have written: > > ... > > I need some guidance. > > ... > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 18 15:47:27 2024 From: dsc at swcp.com (Dar Scott) Date: Wed, 18 Sep 2024 13:47:27 -0600 Subject: I came back and ... What?! In-Reply-To: References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Message-ID: Thanks, Panos! I will do that. I do hope for advice from those who have had to navigate the pitfalls. Dar > On Sep 18, 2024, at 1:25 PM, panagiotis merakos via use-livecode wrote: > > Hello Dar, > > Heather is off for a couple of weeks. I suggest you contact > support at livecode.com, to get answers to all these questions. > > Kind regards > Panos > > On Wed, 18 Sept 2024, 22:05 Dar Scott via use-livecode, < > use-livecode at lists.runrev.com> wrote: > >> I did not mean to kick up rubble. My bad. >> >> How do I handle my canceled LiveCode subscription? I haven’t heard back >> from Heather. What should I expect? I renewed back in the spring. Is this >> now lost? >> >> How do I get Create? Should I wait on the LiveCode subscription issue >> resolution before I get Create? I’m willing to try it. Is there really a >> math error in the basket calculations or am I missing something? >> >> Am I allowed to create libraries for my customers (developers of LiveCode >> applications) without complications? It is not clear; this might be part of >> “use in an IDE”. Am I responsible for my customer’s failure to pay fees to >> LiveCode if my library is the bulk of the code in the application? It is >> not clear in the license. >> >> How do I keep up with user-months within my own organization? >> >> How do I handle software included in my non-subscription deliverables? >> >> I very much would like to move forward, but, frankly, I’m all confused. >> Maybe some folks have answers to one or two. Maybe that way these get >> covered. Or some general advice is good, too. >> >> Dar >> >>> On Sep 18, 2024, at 10:45 AM, Dar Scott via use-livecode < >> use-livecode at lists.runrev.com> might have written: >>> ... >>> I need some guidance. >>> ... >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From curry at pair.com Wed Sep 18 16:15:53 2024 From: curry at pair.com (Curry Kenworthy) Date: Wed, 18 Sep 2024 16:15:53 -0400 Subject: I came back and ... What?! In-Reply-To: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> Message-ID: <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> Hi Dar, I am so glad to see that you are back! Warm welcome. I have had a fever lately, so ... More comments on this after getting a bit better. :) Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" https://livecodeconsulting.com/ From dsc at swcp.com Thu Sep 19 12:12:38 2024 From: dsc at swcp.com (Dar Scott) Date: Thu, 19 Sep 2024 10:12:38 -0600 Subject: I came back and ... What?! In-Reply-To: <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> Message-ID: <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> I apologize for making waves when there has been much already. Before bringing up more, I want to carefully study Create and the pricing. However, I seem to have lost my way. Can someone remind me of the root URL for Create or the pricing? > On Sep 18, 2024, at 2:15 PM, Curry Kenworthy via use-livecode wrote: > > Hi Dar, > > I am so glad to see that you are back! Warm welcome. > > I have had a fever lately, so ... > > More comments on this after getting a bit better. :) > > Best wishes, > > Curry Kenworthy > > Radically Innovative Christian LiveCode Development > "PASSION for Elegant, Efficient Code!" > https://livecodeconsulting.com/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Thu Sep 19 12:40:22 2024 From: tom at makeshyft.com (Tom Glod) Date: Thu, 19 Sep 2024 12:40:22 -0400 Subject: I came back and ... What?! In-Reply-To: <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> Message-ID: The man, the myth, the legend. Welcome back https://future.livecode.com On Thu, Sep 19, 2024 at 12:14 PM Dar Scott via use-livecode < use-livecode at lists.runrev.com> wrote: > I apologize for making waves when there has been much already. Before > bringing up more, I want to carefully study Create and the pricing. > However, I seem to have lost my way. Can someone remind me of the root URL > for Create or the pricing? > > > On Sep 18, 2024, at 2:15 PM, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Dar, > > > > I am so glad to see that you are back! Warm welcome. > > > > I have had a fever lately, so ... > > > > More comments on this after getting a bit better. :) > > > > Best wishes, > > > > Curry Kenworthy > > > > Radically Innovative Christian LiveCode Development > > "PASSION for Elegant, Efficient Code!" > > https://livecodeconsulting.com/ > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Sep 19 14:13:53 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Sep 2024 13:13:53 -0500 Subject: I came back and ... What?! In-Reply-To: <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> Message-ID: <1920b7d96e8.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm so glad to see you back, Dar. While you're waiting for support, this FAQ might help answer some questions: https://future.livecode.com/faq/ I think we're all struggling to decide how to handle this new direction. I have some of the same concerns as you regarding some of my long-term clients. For now I'll continue with the classic version for those people until it's discontinued. After that I'll work with support to see if we can work out something. Kevin has said they'll evaluate individual requests as needed. Welcome back! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 19, 2024 11:15:02 AM Dar Scott via use-livecode wrote: > I apologize for making waves when there has been much already. Before > bringing up more, I want to carefully study Create and the pricing. > However, I seem to have lost my way. Can someone remind me of the root URL > for Create or the pricing? From dsc at swcp.com Thu Sep 19 14:26:15 2024 From: dsc at swcp.com (Dar Scott) Date: Thu, 19 Sep 2024 12:26:15 -0600 Subject: I came back and ... What?! In-Reply-To: <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> References: <74F4FF38-C344-441D-8BB5-8D24E220CB3B@swcp.com> <29170267-6e41-44b2-9715-4a6592ef8268@pair.com> <23396746-5C18-471C-AC86-6B778F2E79E7@swcp.com> Message-ID: <8648A8FB-53F5-452F-A89D-355CDA68AAA4@swcp.com> Found it! future.livecode.com > On Sep 19, 2024, at 10:12 AM, Dar Scott wrote: > > I apologize for making waves when there has been much already. Before bringing up more, I want to carefully study Create and the pricing. However, I seem to have lost my way. Can someone remind me of the root URL for Create or the pricing? > >> On Sep 18, 2024, at 2:15 PM, Curry Kenworthy via use-livecode wrote: >> >> Hi Dar, >> >> I am so glad to see that you are back! Warm welcome. >> >> I have had a fever lately, so ... >> >> More comments on this after getting a bit better. :) >> >> Best wishes, >> >> Curry Kenworthy >> >> Radically Innovative Christian LiveCode Development >> "PASSION for Elegant, Efficient Code!" >> https://livecodeconsulting.com/ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Sun Sep 22 06:54:22 2024 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 22 Sep 2024 10:54:22 +0000 Subject: Tree view widget messages not firing? Message-ID: Is there some secret to getting the tree view messages to fire? The actionInspect message works as advertised but I can’t get either the dataChanged or formattedHieghtChanged messages to trigger. I was expecting the dataChanged message to trigger whenever the arrayData of the widget was set to something different but I get nothing. Any ideas/advice? Cheers, Terry From brian at milby7.com Sun Sep 22 13:21:50 2024 From: brian at milby7.com (Brian Milby) Date: Sun, 22 Sep 2024 13:21:50 -0400 Subject: Tree view widget messages not firing? In-Reply-To: References: Message-ID: That message is posted when the widget changes the value of the array by adding/deleting a key. It is not posted when the array is set. Formattedheightchanged should fire when the total height of data changed. Easiest way to get it sent is expanding a node. My use of that widget never uses the changed message but I’ve made a good bit of use of the height message. Brian Milby brian at milby7.com > On Sep 22, 2024, at 6:56 AM, Terry Judd via use-livecode wrote: > > Is there some secret to getting the tree view messages to fire? The actionInspect message works as advertised but I can’t get either the dataChanged or formattedHieghtChanged messages to trigger. I was expecting the dataChanged message to trigger whenever the arrayData of the widget was set to something different but I get nothing. > > Any ideas/advice? > > Cheers, > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Sep 23 17:44:03 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 23 Sep 2024 16:44:03 -0500 Subject: Combo box issues? Message-ID: <7b7cf4dc-acc1-47e0-9c5f-4d12ecc762e4@hyperactivesw.com> Has anyone found issues with a combo box button on MacOS Sequoia? A client says the menu pops down okay but when clicking an item it does not show up in its field. I'm still on an older version of the OS and it works fine for me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Mon Sep 23 18:01:10 2024 From: klaus at major-k.de (Klaus major-k) Date: Tue, 24 Sep 2024 00:01:10 +0200 Subject: Combo box issues? In-Reply-To: <7b7cf4dc-acc1-47e0-9c5f-4d12ecc762e4@hyperactivesw.com> References: <7b7cf4dc-acc1-47e0-9c5f-4d12ecc762e4@hyperactivesw.com> Message-ID: <5F8F3A20-20DD-4E18-B710-09F4691BBE48@major-k.de> Hi Jacque, > Am 23.09.2024 um 23:44 schrieb J. Landman Gay via use-livecode : > > Has anyone found issues with a combo box button on MacOS Sequoia? A client says the menu pops down okay but when clicking an item it does not show up in its field. I'm still on an older version of the OS and it works fine for me. works here for me: macOS 15.0, LC 10 rc1. At least in the IDE, did not test a runtime. > -- > 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 Tue Sep 24 01:41:42 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Sep 2024 00:41:42 -0500 Subject: Combo box issues? In-Reply-To: <5F8F3A20-20DD-4E18-B710-09F4691BBE48@major-k.de> References: <7b7cf4dc-acc1-47e0-9c5f-4d12ecc762e4@hyperactivesw.com> <5F8F3A20-20DD-4E18-B710-09F4691BBE48@major-k.de> Message-ID: <192228cba08.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks for testing, Klaus. I tried both the standalone and the IDE and they both worked. It's a puzzle. The buttons have no scripts, they rely only on the built-in behavior. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 23, 2024 5:03:26 PM Klaus major-k via use-livecode wrote: > Hi Jacque, > >> Am 23.09.2024 um 23:44 schrieb J. Landman Gay via use-livecode >> : >> >> Has anyone found issues with a combo box button on MacOS Sequoia? A client >> says the menu pops down okay but when clicking an item it does not show up >> in its field. I'm still on an older version of the OS and it works fine for me. > > works here for me: macOS 15.0, LC 10 rc1. > At least in the IDE, did not test a runtime. > >> -- >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Tue Sep 24 11:16:44 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 24 Sep 2024 11:16:44 -0400 Subject: Cropping invisible images Message-ID: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> Hi list, When cropping an invisible image, what happens to the imagedata? I might be wrong, but it looks like the imagedata isn't modified accordingly... Best, jbv From jbv at souslelogo.com Tue Sep 24 14:35:16 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 24 Sep 2024 14:35:16 -0400 Subject: Cropping invisible images In-Reply-To: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> References: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> Message-ID: Actually, it looks like the "crop" function doesn't work on images with transparencies, or it outputs weird results... Le 2024-09-24 11:16, jbv via use-livecode a crit : > Hi list, > > When cropping an invisible image, what happens to the imagedata? > I might be wrong, but it looks like the imagedata isn't modified > accordingly... > > Best, > jbv > From harrison at all-auctions.com Tue Sep 24 20:23:32 2024 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Tue, 24 Sep 2024 20:23:32 -0400 Subject: Cropping invisible images In-Reply-To: References: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> Message-ID: <047BAC1C-D1F6-4871-B6A3-6986101FD464@all-auctions.com> It sounds like you are doing the image cropping programmatically. In theory you could move the image off screen so it doesn’t have to be transparent, crop it there, and then move it back when you’re done. Rick > On Sep 24, 2024, at 2:35 PM, jbv via use-livecode wrote: > > Actually, it looks like the "crop" function doesn't work > on images with transparencies, or it outputs weird results... > > Le 2024-09-24 11:16, jbv via use-livecode a écrit : >> Hi list, >> When cropping an invisible image, what happens to the imagedata? >> I might be wrong, but it looks like the imagedata isn't modified >> accordingly... >> Best, >> jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Wed Sep 25 02:32:05 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 25 Sep 2024 06:32:05 +0000 Subject: Cropping invisible images Message-ID: <8852520F-BE8B-43D4-9355-024AD2C2268D@uni-wh.de> jbv wrote: "Actually, it looks like the "crop" function doesn't work on images with transparencies, or it outputs weird results..." I tried to crop images with and without transparencies (both png images) programmatically as visible or hidden images and it worked all the time. Imagedata was what was to be expected. Images were what was to be expected. I both expanded and cropped via the crop image "imageName" to tNewRect command using LC 10.0.0 RC1 Kind regards Bernd From jbv at souslelogo.com Wed Sep 25 03:52:00 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 25 Sep 2024 03:52:00 -0400 Subject: Cropping invisible images In-Reply-To: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> References: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> Message-ID: <3c04b4efae8ada58ed5a45703f46476b@souslelogo.com> Thank you for your replies. One more question : what happens to the imagedata when an image is resized ? For instance : put width of img 1 into w put height of img 1 into h put w/h into tratio set width of img 1 to 150 set height of img 1 to 150/tratio And then when you crop the image... I am trying to figure out where my problems come from. Best, jbv From jbv at souslelogo.com Wed Sep 25 05:21:33 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 25 Sep 2024 05:21:33 -0400 Subject: Cropping invisible images In-Reply-To: <3c04b4efae8ada58ed5a45703f46476b@souslelogo.com> References: <9100fc5e5ad86dbdc431c19420479d44@souslelogo.com> <3c04b4efae8ada58ed5a45703f46476b@souslelogo.com> Message-ID: Sorry for the multiple messages, but I found the solution to my problem : after resizing an image, it seems necessary to update its imagedata before cropping it : put width of img 1 into w put height of img 1 into h put w/h into tratio set width of img 1 to 150 set height of img 1 to 150/tratio get the imagedata of img 1 set imagedata of img 1 to it -- then crop works as expected LC 9.6.9 on Mac 10.15 From Bernd.Niggemann at uni-wh.de Wed Sep 25 06:10:41 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 25 Sep 2024 10:10:41 +0000 Subject: Cropping invisible images Message-ID: jbv wrote: >"One more question : what happens to the imagedata >when an image is resized ? >For instance : > > put width of img 1 into w > put height of img 1 into h > put w/h into tratio > set width of img 1 to 150 > set height of img 1 to 150/tratio > >And then when you crop the image..." imageData is always adapted to what the new dimensions are. Either by changing width and height or cropping. The length of the imageData is always width * height * 4 Think of imageData as a long binary string that is wrapped around according to the width. By changing dimensions of an image LC automatically adapts imageData to the new dimensions. Kind regards Bernd From Bernd.Niggemann at uni-wh.de Wed Sep 25 08:46:28 2024 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 25 Sep 2024 12:46:28 +0000 Subject: Cropping invisible images Message-ID: jbv wrote: Hi list, I have a script that creates various controls on the fly and then groups some of them for a rather sophisticated layout. As I had to make many tests, modify my script many times and save the stack each time, the ids of the controls now reach astronomical values (above 400000). Is there a way to reset the ids to minimum values before building the final standalone, or will they be reset automatically when the standalone is built ? My fear is that, when running the standalone, new created controls ids will get even greater values and might finally reach a maximum... Thank you in advance. jbv From tom at makeshyft.com Fri Sep 27 13:54:32 2024 From: tom at makeshyft.com (Tom Glod) Date: Fri, 27 Sep 2024 13:54:32 -0400 Subject: Resetting ids In-Reply-To: References: Message-ID: I've wondered about this for years.... But thinking about it the unsigned 32 bit limit is over 4 billion ...... so you are 0.0093% of the way to the limit The new limit is probably 64 bit. Probably what happens when u hit the limit is it rolls over and starts at 0 or 1000 like a new stack, and then searches for the nearest unused id. I'm at the 2.5 millions when i create a new id in my master stack. Interesting to think about, but nothing to fear. On Fri, Sep 27, 2024 at 4:26 AM jbv via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi list, > > I have a script that creates various controls on the fly > and then groups some of them for a rather sophisticated layout. > As I had to make many tests, modify my script many times > and save the stack each time, the ids of the controls now > reach astronomical values (above 400000). > Is there a way to reset the ids to minimum values before > building the final standalone, or will they be reset > automatically when the standalone is built ? > My fear is that, when running the standalone, new created > controls ids will get even greater values and might > finally reach a maximum... > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Fri Sep 27 14:37:47 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Sep 2024 18:37:47 +0000 Subject: Resetting ids In-Reply-To: References: Message-ID: that being the case, if it were possible to set the ID of a stack to 1000, it ought to start over. Bob S > On Sep 27, 2024, at 10:54 AM, Tom Glod via use-livecode wrote: > > I've wondered about this for years.... > But thinking about it the unsigned 32 bit limit is over 4 billion ...... > so you are 0.0093% of the way to the limit > The new limit is probably 64 bit. > Probably what happens when u hit the limit is it rolls over and starts at 0 > or 1000 like a new stack, and then searches for the nearest unused id. > I'm at the 2.5 millions when i create a new id in my master stack. > Interesting to think about, but nothing to fear. > > > > On Fri, Sep 27, 2024 at 4:26 AM jbv via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi list, >> >> I have a script that creates various controls on the fly >> and then groups some of them for a rather sophisticated layout. >> As I had to make many tests, modify my script many times >> and save the stack each time, the ids of the controls now >> reach astronomical values (above 400000). >> Is there a way to reset the ids to minimum values before >> building the final standalone, or will they be reset >> automatically when the standalone is built ? >> My fear is that, when running the standalone, new created >> controls ids will get even greater values and might >> finally reach a maximum... >> >> Thank you in advance. >> jbv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roland.huettmann at gmail.com Fri Sep 27 16:54:57 2024 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 27 Sep 2024 22:54:57 +0200 Subject: Resetting ids In-Reply-To: References: Message-ID: @jbv at souslelogo.c om You can reassign id's to your controls: "Set the id of control x to 200" will work if no other control has such id. > > Hi list, > > I have a script that creates various controls on the fly > and then groups some of them for a rather sophisticated layout. > As I had to make many tests, modify my script many times > and save the stack each time, the ids of the controls now > reach astronomical values (above 400000). > Is there a way to reset the ids to minimum values before > building the final standalone, or will they be reset > automatically when the standalone is built ? > My fear is that, when running the standalone, new created > controls ids will get even greater values and might > finally reach a maximum... > > Thank you in advance. > jbv > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ------------------------------ > > End of use-livecode Digest, Vol 252, Issue 14 > ********************************************* > From bobsneidar at iotecdigital.com Fri Sep 27 17:40:05 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Sep 2024 21:40:05 +0000 Subject: Resetting ids In-Reply-To: References: Message-ID: <89A51B27-94C2-4B8C-9B75-5A9528F08B1B@iotecdigital.com> I believe it will still work, but it will increment all other objects with that ID and higher. Bob S > On Sep 27, 2024, at 1:54 PM, R.H. via use-livecode wrote: > > @jbv at souslelogo.c om You can reassign id's to your > controls: "Set the id of control x to 200" will work if no other control > has such id. > > >> >> Hi list, >> >> I have a script that creates various controls on the fly >> and then groups some of them for a rather sophisticated layout. >> As I had to make many tests, modify my script many times >> and save the stack each time, the ids of the controls now >> reach astronomical values (above 400000). >> Is there a way to reset the ids to minimum values before >> building the final standalone, or will they be reset >> automatically when the standalone is built ? >> My fear is that, when running the standalone, new created >> controls ids will get even greater values and might >> finally reach a maximum... >> >> Thank you in advance. >> jbv >> >> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> ------------------------------ >> >> End of use-livecode Digest, Vol 252, Issue 14 >> ********************************************* >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Mon Sep 30 05:34:48 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 30 Sep 2024 05:34:48 -0400 Subject: SVG question Message-ID: <4f7b6d028d1ca4a0218d8a05e10865b1@souslelogo.com> Hi list, I have checked many LC lessons and forum topics available online, but I still can't figure out the answer to my question : is there a way to import into an svg widget an svg file that contains elements different than paths, like rects, text, circle, etc. ? Thank you in advance. jbv From craig at starfirelighting.com Mon Sep 30 10:03:18 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 30 Sep 2024 10:03:18 -0400 Subject: Resetting ids In-Reply-To: <89A51B27-94C2-4B8C-9B75-5A9528F08B1B@iotecdigital.com> References: <89A51B27-94C2-4B8C-9B75-5A9528F08B1B@iotecdigital.com> Message-ID: <471A9E83-A70B-4D15-8F7F-C05A3714EF8A@starfirelighting.com> Hi. Apart from just being large numbers, i cannot imagine there will be any issue. I also have a feeling that “condensing” those values is a good thing. But that is only a feeling. Craig > On Sep 27, 2024, at 5:40 PM, Bob Sneidar via use-livecode wrote: > > I believe it will still work, but it will increment all other objects with that ID and higher. > > Bob S > > >> On Sep 27, 2024, at 1:54 PM, R.H. via use-livecode wrote: >> >> @jbv at souslelogo.c om You can reassign id's to your >> controls: "Set the id of control x to 200" will work if no other control >> has such id. >> >> >>> >>> Hi list, >>> >>> I have a script that creates various controls on the fly >>> and then groups some of them for a rather sophisticated layout. >>> As I had to make many tests, modify my script many times >>> and save the stack each time, the ids of the controls now >>> reach astronomical values (above 400000). >>> Is there a way to reset the ids to minimum values before >>> building the final standalone, or will they be reset >>> automatically when the standalone is built ? >>> My fear is that, when running the standalone, new created >>> controls ids will get even greater values and might >>> finally reach a maximum... >>> >>> Thank you in advance. >>> jbv >>> >>> >>> >>> ------------------------------ >>> >>> Subject: Digest Footer >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> ------------------------------ >>> >>> End of use-livecode Digest, Vol 252, Issue 14 >>> ********************************************* >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode