From dsc at swcp.com Thu Oct 3 14:58:14 2024 From: dsc at swcp.com (Dar Scott) Date: Thu, 3 Oct 2024 12:58:14 -0600 Subject: New horizons for me... Message-ID: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Hello all, It is with a sad heart and a grieving kidney that I am announcing that darzLAB (formally known as Dar Scott Consulting) is closing. Your speculations as to that reason why have less truth than the truth of all your speculations should you truly speculate. It is complicated. I have been on this list for many centuries or less. In that time I have loved half of you twice as much as my utmost love for most. I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. I will not be shivering in the cold. A customer who knows my health situation is putting together a job offer, full-time as long as I can. It will be nice to relax in that. Though I might tinker with some LiveCode over the next year or two, I am leaving the lists at the end of the week. Dar Scott DarScott at darzLAB.com From prothero at ucsb.edu Thu Oct 3 15:02:14 2024 From: prothero at ucsb.edu (William Prothero) Date: Thu, 3 Oct 2024 12:02:14 -0700 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: <92651365-372F-46C1-90A7-58B9FA8FA11B@ucsb.edu> Far, Wishing you happiness and peace in your journey. Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On Oct 3, 2024, at 11:59 AM, Dar Scott via use-livecode wrote: > > Hello all, > > It is with a sad heart and a grieving kidney that I am announcing that darzLAB (formally known as Dar Scott Consulting) is closing. > > Your speculations as to that reason why have less truth than the truth of all your speculations should you truly speculate. It is complicated. > > I have been on this list for many centuries or less. In that time I have loved half of you twice as much as my utmost love for most. > > I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. > > I will not be shivering in the cold. A customer who knows my health situation is putting together a job offer, full-time as long as I can. It will be nice to relax in that. > > Though I might tinker with some LiveCode over the next year or two, I am leaving the lists at the end of the week. > > Dar Scott > > DarScott at darzLAB.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Thu Oct 3 15:10:14 2024 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 3 Oct 2024 20:10:14 +0100 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: Thank you Dar for your many contributions to this and other LC forums. You will be missed, and will be warmly welcomed back at anytime. Rest, heal and may good health follow. Mark Sent from my iPhone > On Oct 3, 2024, at 7:59 PM, Dar Scott via use-livecode wrote: > > I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. From bobsneidar at iotecdigital.com Thu Oct 3 16:24:34 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 3 Oct 2024 20:24:34 +0000 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: <268A304E-C489-4AD7-9344-3800835F249A@iotecdigital.com> Well wishes. Bob S > On Oct 3, 2024, at 11:58 AM, Dar Scott via use-livecode wrote: > > Hello all, > > It is with a sad heart and a grieving kidney that I am announcing that darzLAB (formally known as Dar Scott Consulting) is closing. > > Your speculations as to that reason why have less truth than the truth of all your speculations should you truly speculate. It is complicated. > > I have been on this list for many centuries or less. In that time I have loved half of you twice as much as my utmost love for most. > > I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. > > I will not be shivering in the cold. A customer who knows my health situation is putting together a job offer, full-time as long as I can. It will be nice to relax in that. > > Though I might tinker with some LiveCode over the next year or two, I am leaving the lists at the end of the week. > > Dar Scott > > DarScott at darzLAB.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kaveh at rivervalley.io Thu Oct 3 17:14:11 2024 From: kaveh at rivervalley.io (Kaveh Bazargan) Date: Thu, 3 Oct 2024 22:14:11 +0100 Subject: New horizons for me... In-Reply-To: References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: Wish you well Dar. Any friend of LiveCode is a friend of mine too. ;-) Regards Kaveh On Thu, 3 Oct 2024 at 20:11, Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > Thank you Dar for your many contributions to this and other LC forums. You > will be missed, and will be warmly welcomed back at anytime. Rest, heal and > may good health follow. > > Mark > > Sent from my iPhone > > > On Oct 3, 2024, at 7:59 PM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I have obtained good and clear advice when I was being obtuse. I > received encouragement when I was frustrated. I felt a camaraderie as we > tracked down problems. We have been part of something good. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID ● @kaveh1000 at mastodon.social *Accelerating the Communication of Research* * [image: https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/] * From scott at elementarysoftware.com Thu Oct 3 20:26:12 2024 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Thu, 3 Oct 2024 17:26:12 -0700 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: <615834E4-066E-4FB2-8F89-45D194BD2353@elementarysoftware.com> Hello Dar, I was happy to see you posting to the list the other day. And now sad to hear that you may be leaving us again. I remember first meeting you at the conferences in Monterey and sitting with you at lunch. I recall being struck by what a kind and generous person you were. I am wishing you well (and hoping we may yet have the benefit of your presence on this list.) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ > On Oct 3, 2024, at 11:58 AM, Dar Scott via use-livecode wrote: > > Hello all, > > It is with a sad heart and a grieving kidney that I am announcing that darzLAB (formally known as Dar Scott Consulting) is closing. > > Your speculations as to that reason why have less truth than the truth of all your speculations should you truly speculate. It is complicated. > > I have been on this list for many centuries or less. In that time I have loved half of you twice as much as my utmost love for most. > > I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. > > I will not be shivering in the cold. A customer who knows my health situation is putting together a job offer, full-time as long as I can. It will be nice to relax in that. > > Though I might tinker with some LiveCode over the next year or two, I am leaving the lists at the end of the week. > > Dar Scott > > DarScott at darzLAB.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Oct 4 12:39:14 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Oct 2024 11:39:14 -0500 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: <19258665350.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Dar, I missed you while you were gone and was so happy to see you back. Now I'll miss you again. I'll never forget our proudest moment when Andre, you, and I pelted Richard Gaskin with candy on stage while he was giving his presentation on Hungarian notation variables, and we were screaming "Leave our variables alone! Keep your hands off our variables!". You said you couldn't find any tomatoes so you bought red candy instead. It was hilarious. Truth to tell, Richard was right and I adopted his notation. But that doesn't detract from the moment. I'll miss your humor and kindness. Be well. And if you ever need an untouched water glass in the future I'll give you mine again. Jacque -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 3, 2024 2:00:45 PM Dar Scott via use-livecode wrote: > Hello all, > > It is with a sad heart and a grieving kidney that I am announcing that > darzLAB (formally known as Dar Scott Consulting) is closing. > > Your speculations as to that reason why have less truth than the truth of > all your speculations should you truly speculate. It is complicated. > > I have been on this list for many centuries or less. In that time I have > loved half of you twice as much as my utmost love for most. > > I have obtained good and clear advice when I was being obtuse. I received > encouragement when I was frustrated. I felt a camaraderie as we tracked > down problems. We have been part of something good. > > I will not be shivering in the cold. A customer who knows my health > situation is putting together a job offer, full-time as long as I can. It > will be nice to relax in that. > > Though I might tinker with some LiveCode over the next year or two, I am > leaving the lists at the end of the week. > > Dar Scott > > DarScott at darzLAB.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Sat Oct 5 15:09:58 2024 From: tom at makeshyft.com (Tom Glod) Date: Sat, 5 Oct 2024 15:09:58 -0400 Subject: New horizons for me... In-Reply-To: <19258665350.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> <19258665350.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: All the best Dar. Funny story Jacque! On Fri, Oct 4, 2024 at 12:40 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Dar, I missed you while you were gone and was so happy to see you back. > Now > I'll miss you again. > > I'll never forget our proudest moment when Andre, you, and I pelted > Richard > Gaskin with candy on stage while he was giving his presentation on > Hungarian notation variables, and we were screaming "Leave our variables > alone! Keep your hands off our variables!". You said you couldn't find any > tomatoes so you bought red candy instead. It was hilarious. > > Truth to tell, Richard was right and I adopted his notation. But that > doesn't detract from the moment. > > I'll miss your humor and kindness. Be well. And if you ever need an > untouched water glass in the future I'll give you mine again. > > Jacque > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On October 3, 2024 2:00:45 PM Dar Scott via use-livecode > wrote: > > > Hello all, > > > > It is with a sad heart and a grieving kidney that I am announcing that > > darzLAB (formally known as Dar Scott Consulting) is closing. > > > > Your speculations as to that reason why have less truth than the truth > of > > all your speculations should you truly speculate. It is complicated. > > > > I have been on this list for many centuries or less. In that time I have > > loved half of you twice as much as my utmost love for most. > > > > I have obtained good and clear advice when I was being obtuse. I > received > > encouragement when I was frustrated. I felt a camaraderie as we tracked > > down problems. We have been part of something good. > > > > I will not be shivering in the cold. A customer who knows my health > > situation is putting together a job offer, full-time as long as I can. > It > > will be nice to relax in that. > > > > Though I might tinker with some LiveCode over the next year or two, I am > > leaving the lists at the end of the week. > > > > Dar Scott > > > > DarScott at darzLAB.com > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Mon Oct 7 10:57:40 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 07 Oct 2024 14:57:40 +0000 Subject: New horizons for me... Message-ID: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> I wrote to Dar off-list, since by now he's unsubscribed. But I did want to thank you for your participation in the candy distribution during the talk Ken and I gave on code style. I've lost count of how many talks I've given at conferences over the years, but that one is a story I still tell. The candy selection was quite good, the fun-size packs perfect for a weekend on the go. If you ever wish to toss candy my way at a conference I'll welcome it just as much as Ken and I enjoyed that batch in Monterrey. :) Richard Gaskin FourthWorld.com Jacque wrote: > Dar, I missed you while you were gone and was so happy to see you back. > Now I'll miss you again. > > I'll never forget our proudest moment when Andre, you, and I pelted > Richard Gaskin with candy on stage while he was giving his presentation > on Hungarian notation variables, and we were screaming "Leave our > variables alone! Keep your hands off our variables!". You said you > couldn't find any tomatoes so you bought red candy instead. It was > hilarious. > > Truth to tell, Richard was right and I adopted his notation. But > that doesn't detract from the moment. > > I'll miss your humor and kindness. Be well. And if you ever need > an untouched water glass in the future I'll give you mine again. > > Jacque From bogdanoff at me.com Mon Oct 7 11:39:42 2024 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 7 Oct 2024 11:39:42 -0400 Subject: New horizons for me... In-Reply-To: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> References: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> Message-ID: <7E20A3AE-7832-48A5-BE6F-D78FFF9A3076@me.com> I still want to know how Hungarian notation variables are useful in Livecode. Peter > On Oct 7, 2024, at 10:57 AM, Richard Gaskin via use-livecode wrote: > >> Hungarian notation variables From craig at starfirelighting.com Mon Oct 7 11:43:11 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 7 Oct 2024 11:43:11 -0400 Subject: New horizons for me... In-Reply-To: <7E20A3AE-7832-48A5-BE6F-D78FFF9A3076@me.com> References: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> <7E20A3AE-7832-48A5-BE6F-D78FFF9A3076@me.com> Message-ID: <0E596843-216A-4A02-8F11-1BB7302E12B6@starfirelighting.com> I use Visigoth notation wherever I can. That is why I cannot read my code later on. Craig > On Oct 7, 2024, at 11:39 AM, Peter Bogdanoff via use-livecode wrote: > > I still want to know how Hungarian notation variables are useful in Livecode. > > Peter > >> On Oct 7, 2024, at 10:57 AM, Richard Gaskin via use-livecode wrote: >> >>> Hungarian notation variables > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 7 17:15:33 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Oct 2024 16:15:33 -0500 Subject: New horizons for me... In-Reply-To: <0E596843-216A-4A02-8F11-1BB7302E12B6@starfirelighting.com> References: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> <7E20A3AE-7832-48A5-BE6F-D78FFF9A3076@me.com> <0E596843-216A-4A02-8F11-1BB7302E12B6@starfirelighting.com> Message-ID: <19268d65d20.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Since Hungarian notation puts the letters before the variable name, i.e.: t = temporary g = global l or s = script local ...etc I assume Visigoth notation puts them at the end, i.e.: tFoo becomes foot -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 7, 2024 10:45:33 AM Craig Newman via use-livecode wrote: > I use Visigoth notation wherever I can. That is why I cannot read my code > later on. > > Craig > >> On Oct 7, 2024, at 11:39 AM, Peter Bogdanoff via use-livecode >> wrote: >> >> I still want to know how Hungarian notation variables are useful in Livecode. >> >> Peter >> >>> On Oct 7, 2024, at 10:57 AM, Richard Gaskin via use-livecode >>> wrote: >>> >>>> Hungarian notation variables >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 7 17:22:39 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Oct 2024 16:22:39 -0500 Subject: New horizons for me... In-Reply-To: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> References: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> Message-ID: <19268dce118.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Yeah, well, you never shared any of it back so don't hold your breath. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 7, 2024 9:59:54 AM Richard Gaskin via use-livecode wrote: > I wrote to Dar off-list, since by now he's unsubscribed. > > But I did want to thank you for your participation in the candy > distribution during the talk Ken and I gave on code style. > > I've lost count of how many talks I've given at conferences over the years, > but that one is a story I still tell. > > The candy selection was quite good, the fun-size packs perfect for a > weekend on the go. If you ever wish to toss candy my way at a conference > I'll welcome it just as much as Ken and I enjoyed that batch in Monterrey. :) > > Richard Gaskin > FourthWorld.com > > > Jacque wrote: > >> Dar, I missed you while you were gone and was so happy to see you back. >> Now I'll miss you again. >> >> I'll never forget our proudest moment when Andre, you, and I pelted >> Richard Gaskin with candy on stage while he was giving his presentation >> on Hungarian notation variables, and we were screaming "Leave our >> variables alone! Keep your hands off our variables!". You said you >> couldn't find any tomatoes so you bought red candy instead. It was >> hilarious. >> >> Truth to tell, Richard was right and I adopted his notation. But >> that doesn't detract from the moment. >> >> I'll miss your humor and kindness. Be well. And if you ever need >> an untouched water glass in the future I'll give you mine again. >> >> Jacque > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Oct 7 18:17:07 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 07 Oct 2024 22:17:07 +0000 Subject: New horizons for me... Message-ID: Peter Bogdanoff wrote: > I still want to know how Hungarian notation variables are useful in Livecode. History and background of Hungarian Notation: https://en.wikipedia.org/wiki/Hungarian_notation The "Hungarian-Lite" a lot of us in the xTalk world use: http://www.fourthworld.com/embassy/articles/scriptstyle.html#Naming -- Richard Gaskin FourthWorld.com From bobsneidar at iotecdigital.com Mon Oct 7 19:57:48 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Oct 2024 23:57:48 +0000 Subject: New horizons for me... In-Reply-To: References: Message-ID: <35E5F38C-18C6-4C42-B658-C21A31C70706@iotecdigital.com> I thought Hungarian Notation was a way to write music for accordion players. Bob S > On Oct 7, 2024, at 3:17 PM, Richard Gaskin via use-livecode wrote: > > Peter Bogdanoff wrote: >> I still want to know how Hungarian notation variables are useful in Livecode. > > History and background of Hungarian Notation: > https://en.wikipedia.org/wiki/Hungarian_notation > > The "Hungarian-Lite" a lot of us in the xTalk world use: > http://www.fourthworld.com/embassy/articles/scriptstyle.html#Naming > > -- > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Oct 8 11:41:53 2024 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 8 Oct 2024 11:41:53 -0400 Subject: New horizons for me... In-Reply-To: <35E5F38C-18C6-4C42-B658-C21A31C70706@iotecdigital.com> References: <35E5F38C-18C6-4C42-B658-C21A31C70706@iotecdigital.com> Message-ID: <002f01db1998$9cce70e0$d66b52a0$@net> Nice... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Monday, October 07, 2024 7:58 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: New horizons for me... I thought Hungarian Notation was a way to write music for accordion players. Bob S > On Oct 7, 2024, at 3:17 PM, Richard Gaskin via use-livecode wrote: > > Peter Bogdanoff wrote: >> I still want to know how Hungarian notation variables are useful in Livecode. > > History and background of Hungarian Notation: > https://en.wikipedia.org/wiki/Hungarian_notation > > The "Hungarian-Lite" a lot of us in the xTalk world use: > http://www.fourthworld.com/embassy/articles/scriptstyle.html#Naming > > -- > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Wed Oct 9 09:50:46 2024 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 9 Oct 2024 16:50:46 +0300 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 STABLE and LiveCode 10.0.1 RC-1. - LiveCode 10.0.0 comes with 116 new features and bugfixes since the previous stable release. - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, including that building iOS standalones no longer requires a specific version of Xcode or iOS SDK! You can find more details on the bugfixes and improvements of these 2 new releases here: https://livecode.com/3-great-new-livecode-releases/ You can find the releases in your LiveCode account area or get them via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From klaus at major-k.de Wed Oct 9 10:23:33 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 9 Oct 2024 16:23:33 +0200 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: Hi Panos, wonderful, thank you! > Am 09.10.2024 um 15:50 schrieb panagiotis merakos via use-livecode : > Dear list members, > We are pleased to announce the release of LiveCode 10.0.0 STABLE and > LiveCode 10.0.1 RC-1. > - LiveCode 10.0.0 comes with 116 new features and bugfixes since the > previous stable release. > - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, > including that building iOS > standalones no longer requires a specific version of Xcode or iOS SDK! I really hope we will also see something similar for ANDROID development soon! 8-) Still wondering why an old version of JAVA is neccessary for this... > You can find more details on the bugfixes and improvements of these 2 new > releases here: https://livecode.com/3-great-new-livecode-releases/ > You can find the releases in your LiveCode account area or get them via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Wed Oct 9 11:15:07 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Oct 2024 15:15:07 +0000 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: <6FD6CBF4-305E-42EF-968F-29EABC5F5E2E@iotecdigital.com> Nice laundry list! Bob S > On Oct 9, 2024, at 6:50 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 10.0.0 STABLE and > LiveCode 10.0.1 RC-1. > > - LiveCode 10.0.0 comes with 116 new features and bugfixes since the > previous stable release. > > - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, > including that building iOS > standalones no longer requires a specific version of Xcode or iOS SDK! > > You can find more details on the bugfixes and improvements of these 2 new > releases here: > > https://livecode.com/3-great-new-livecode-releases/ > > You can find the releases in your LiveCode account area or get them via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Wed Oct 9 13:24:16 2024 From: jiml at netrin.com (Jim Lambert) Date: Wed, 9 Oct 2024 10:24:16 -0700 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: Excellent releases! Congratulations and Thank You, LiveCode Team! Jim Lambert From matthias_livecode_150811 at m-r-d.de Wed Oct 9 16:34:57 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Oct 2024 22:34:57 +0200 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: Good to see that there is progress, but after almost 3 years and several promises Livecode's Professional Network Layer (that's how LC Ltd. calls or called tsNet on their website) still does not support http/2 (bug 23355). It was promised for LC 9.6.8, then for 9.6.10 (by Kevin in a Fireside Chat) and then for the end of August and then for the final release of 10 which is out now. And even 10.0.1 RC1 does not have it included. What is the problem? Charles Warwick said in **2021** that an additional library has to be included in the tsNet build to support http/2 and that he plans to include it in the next build of tsNet. How many builds were created since then? Is this really so difficult? If you can't keep your promises, don't make them. Sorry for this post, but I am now really sick of this... Matthias > Am 09.10.2024 um 15:50 schrieb panagiotis merakos via use-livecode : > > Dear list members, > > We are pleased to announce the release of LiveCode 10.0.0 STABLE and > LiveCode 10.0.1 RC-1. > > - LiveCode 10.0.0 comes with 116 new features and bugfixes since the > previous stable release. > > - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, > including that building iOS > standalones no longer requires a specific version of Xcode or iOS SDK! > > You can find more details on the bugfixes and improvements of these 2 new > releases here: > > https://livecode.com/3-great-new-livecode-releases/ > > You can find the releases in your LiveCode account area or get them via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Thu Oct 10 05:22:53 2024 From: heather at livecode.com (Heather Laine) Date: Thu, 10 Oct 2024 10:22:53 +0100 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: Hello Matthias, I have been following up on this issue regularly to get http/2 supported. I apologize that it is not in 10.0.1, it was intended to be but it does turn out to be somewhat trickier than was initially thought. It's part done. It is being worked on. We expect to receive it soon and will ensure that it does get included in 10.0.2. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 9 Oct 2024, at 21:34, matthias rebbe via use-livecode wrote: > > Good to see that there is progress, but after almost 3 years and several promises Livecode's Professional Network Layer (that's how LC Ltd. calls or called tsNet on their website) still does not support http/2 (bug 23355). > > It was promised for LC 9.6.8, then for 9.6.10 (by Kevin in a Fireside Chat) and then for the end of August and then for the final release of 10 which is out now. And even 10.0.1 RC1 does not have it included. > > What is the problem? Charles Warwick said in **2021** that an additional library has to be included in the tsNet build to support http/2 and that he plans to include it in the next build of tsNet. How many builds were created since then? > Is this really so difficult? > > If you can't keep your promises, don't make them. > > Sorry for this post, but I am now really sick of this... > > Matthias > >> Am 09.10.2024 um 15:50 schrieb panagiotis merakos via use-livecode : >> >> Dear list members, >> >> We are pleased to announce the release of LiveCode 10.0.0 STABLE and >> LiveCode 10.0.1 RC-1. >> >> - LiveCode 10.0.0 comes with 116 new features and bugfixes since the >> previous stable release. >> >> - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, >> including that building iOS >> standalones no longer requires a specific version of Xcode or iOS SDK! >> >> You can find more details on the bugfixes and improvements of these 2 new >> releases here: >> >> https://livecode.com/3-great-new-livecode-releases/ >> >> You can find the releases in your LiveCode account area or get them via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> The LiveCode Team >> >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hlowe at me.com Thu Oct 10 13:36:46 2024 From: hlowe at me.com (HENRY LOWE) Date: Thu, 10 Oct 2024 10:36:46 -0700 Subject: LC 10.0.1(rc1) and XCode Message-ID: I installed LiveCode 10.0.1(rc1) on an Intel Mac and tried to set the current version of XCode (V16.0) as the source for the iOS SDK. I received the following error: The chosen folder in not a valid iOS SDK. Selected XCode must have iOS SDK among: 14.4 15.2 16.2 17.0 My XCode V16.0 has the iOS 18.0 and iOS 17.5 Simulators installed. I also installed the iOS 17.0 Simulator into XCode but that did not fix the problem. Henry From bobsneidar at iotecdigital.com Thu Oct 10 13:41:36 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Oct 2024 17:41:36 +0000 Subject: LC 10.0.1(rc1) and XCode In-Reply-To: References: Message-ID: <36B9E6AE-AD0F-4730-B9CE-041120BF88C4@iotecdigital.com> Sounds like a question for support at livecode.com. Bob S > On Oct 10, 2024, at 10:36 AM, HENRY LOWE via use-livecode wrote: > > I installed LiveCode 10.0.1(rc1) on an Intel Mac and tried to set the current version of XCode (V16.0) as the source for the iOS SDK. > > I received the following error: > > The chosen folder in not a valid iOS SDK. > Selected XCode must have iOS SDK among: > 14.4 > 15.2 > 16.2 > 17.0 > > My XCode V16.0 has the iOS 18.0 and iOS 17.5 Simulators installed. > > I also installed the iOS 17.0 Simulator into XCode but that did not fix the problem. > > Henry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Oct 11 06:17:20 2024 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Oct 2024 12:17:20 +0200 Subject: Clipping a group by script Message-ID: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> Hi friends, I want to clip a group by script but cannot get it to work!? See this image, it shows what i want to achieve: I want the content of the group to be clipped at the top and bottom. No problem when resizing manually but no dice by script so far. I tried many variations of boundingrect, rect, clipstorect, lockloc, height and whatnot. Any hints very welcome! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Fri Oct 11 07:01:27 2024 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 11 Oct 2024 14:01:27 +0300 Subject: LC 10.0.1(rc1) and XCode In-Reply-To: <36B9E6AE-AD0F-4730-B9CE-041120BF88C4@iotecdigital.com> References: <36B9E6AE-AD0F-4730-B9CE-041120BF88C4@iotecdigital.com> Message-ID: Hello all, This is indeed a bug, and it affects testing on the simulator. Long story short, if you want to test in the simulator, currently you have to choose an Xcode version that will include any of these SDKs: 14.4, 15.2, 16.2, 17.0 However, note that to build an iOS standalone for **device** you do NOT have to select an Xcode version in the Mobile prefs, you just have to ensure that any version of Xcode >= 12.4 is installed in the system. I have filed a bug report about this: https://quality.livecode.com/show_bug.cgi?id=24606 Kind regards, Panos -- On Thu, 10 Oct 2024 at 20:42, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Sounds like a question for support at livecode.com. > > Bob S > > > > On Oct 10, 2024, at 10:36 AM, HENRY LOWE via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I installed LiveCode 10.0.1(rc1) on an Intel Mac and tried to set the > current version of XCode (V16.0) as the source for the iOS SDK. > > > > I received the following error: > > > > The chosen folder in not a valid iOS SDK. > > Selected XCode must have iOS SDK among: > > 14.4 > > 15.2 > > 16.2 > > 17.0 > > > > My XCode V16.0 has the iOS 18.0 and iOS 17.5 Simulators installed. > > > > I also installed the iOS 17.0 Simulator into XCode but that did not fix > the problem. > > > > Henry > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From craig at starfirelighting.com Fri Oct 11 09:58:36 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Oct 2024 09:58:36 -0400 Subject: Clipping a group by script In-Reply-To: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> Message-ID: <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> Klaus. Answered in the forum: Klaus. If I make a group and set its height property to a value smaller than the original, the top of the group stays put, and the bottom is truncated, so that is half the battle. If I then play with the scroll of the group, I can control the visible portion. Craig > On Oct 11, 2024, at 6:17 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > I want to clip a group by script but cannot get it to work!? > See this image, it shows what i want to achieve: > > > I want the content of the group to be clipped at the top and bottom. > No problem when resizing manually but no dice by script so far. > > I tried many variations of boundingrect, rect, clipstorect, > lockloc, height and whatnot. > > Any hints very welcome! :-) > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Oct 11 10:02:44 2024 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Oct 2024 16:02:44 +0200 Subject: Clipping a group by script In-Reply-To: <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> Message-ID: <3BA4EF95-6E8A-4850-AEA5-E8E0A197CEC8@major-k.de> Hi Craig, > Am 11.10.2024 um 15:58 schrieb Craig Newman via use-livecode : > > Klaus. > > Answered in the forum: thank you, already answered to your answer. :-) > Klaus. > > If I make a group and set its height property to a value smaller than the original, the top of the group stays put, and the bottom is truncated, so that is half the battle. If I then play with the scroll of the group, I can control the visible portion. > > Craig > >> On Oct 11, 2024, at 6:17 AM, Klaus major-k via use-livecode wrote: >> >> Hi friends, >> >> I want to clip a group by script but cannot get it to work!? >> See this image, it shows what i want to achieve: >> >> >> I want the content of the group to be clipped at the top and bottom. >> No problem when resizing manually but no dice by script so far. >> >> I tried many variations of boundingrect, rect, clipstorect, >> lockloc, height and whatnot. >> >> Any hints very welcome! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From curry at pair.com Fri Oct 11 11:17:56 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 11 Oct 2024 11:17:56 -0400 Subject: Ode to New horizons for Dar... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: Dar: > It is with a sad heart and a grieving kidney that I am announcing > that darzLAB (formally known as Dar Scott Consulting) is closing. Dar, near or far - shine brightly, star! Code and good circuit, you sure could work it. Win health -or- any war. Go tinker as the thinker you are! I have really enjoyed working with you. Comments delayed by my own health issues - More news soon, after recuperating a bit! Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" https://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Fri Oct 11 11:44:40 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Oct 2024 15:44:40 +0000 Subject: Clipping a group by script In-Reply-To: <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> Message-ID: Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. Bob S > On Oct 11, 2024, at 6:58 AM, Craig Newman via use-livecode wrote: > > Klaus. > > Answered in the forum: > > Klaus. > > If I make a group and set its height property to a value smaller than the original, the top of the group stays put, and the bottom is truncated, so that is half the battle. If I then play with the scroll of the group, I can control the visible portion. > > Craig > >> On Oct 11, 2024, at 6:17 AM, Klaus major-k via use-livecode wrote: >> >> Hi friends, >> >> I want to clip a group by script but cannot get it to work!? >> See this image, it shows what i want to achieve: >> >> >> I want the content of the group to be clipped at the top and bottom. >> No problem when resizing manually but no dice by script so far. >> >> I tried many variations of boundingrect, rect, clipstorect, >> lockloc, height and whatnot. >> >> Any hints very welcome! :-) >> >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hlowe at me.com Fri Oct 11 11:45:51 2024 From: hlowe at me.com (HENRY LOWE) Date: Fri, 11 Oct 2024 08:45:51 -0700 Subject: LC 10.0.1(rc1) and XCode In-Reply-To: References: <36B9E6AE-AD0F-4730-B9CE-041120BF88C4@iotecdigital.com> Message-ID: <12320C1D-8044-4F4C-B9FF-300DCCB9E1C3@me.com> Thank you Panos. Henry > On Oct 11, 2024, at 4:01 AM, panagiotis merakos via use-livecode wrote: > > Hello all, > > This is indeed a bug, and it affects testing on the simulator. Long story > short, if you want to test in the simulator, > currently you have to choose an Xcode version that will include any of > these SDKs: > > 14.4, 15.2, 16.2, 17.0 > > However, note that to build an iOS standalone for **device** you do NOT > have to select an Xcode version in the Mobile prefs, > you just have to ensure that any version of Xcode >= 12.4 is installed in > the system. > > I have filed a bug report about this: > > https://quality.livecode.com/show_bug.cgi?id=24606 > > Kind regards, > Panos > -- > > On Thu, 10 Oct 2024 at 20:42, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Sounds like a question for support at livecode.com. >> >> Bob S >> >> >>> On Oct 10, 2024, at 10:36 AM, HENRY LOWE via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> I installed LiveCode 10.0.1(rc1) on an Intel Mac and tried to set the >> current version of XCode (V16.0) as the source for the iOS SDK. >>> >>> I received the following error: >>> >>> The chosen folder in not a valid iOS SDK. >>> Selected XCode must have iOS SDK among: >>> 14.4 >>> 15.2 >>> 16.2 >>> 17.0 >>> >>> My XCode V16.0 has the iOS 18.0 and iOS 17.5 Simulators installed. >>> >>> I also installed the iOS 17.0 Simulator into XCode but that did not fix >> the problem. >>> >>> Henry >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Oct 11 12:24:04 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Oct 2024 12:24:04 -0400 Subject: Clipping a group by script In-Reply-To: References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> Message-ID: <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> Bob. I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. Craig > On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: > > Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. > > Bob S > > >> On Oct 11, 2024, at 6:58 AM, Craig Newman via use-livecode wrote: >> >> Klaus. >> >> Answered in the forum: >> >> Klaus. >> >> If I make a group and set its height property to a value smaller than the original, the top of the group stays put, and the bottom is truncated, so that is half the battle. If I then play with the scroll of the group, I can control the visible portion. >> >> Craig >> >>> On Oct 11, 2024, at 6:17 AM, Klaus major-k via use-livecode wrote: >>> >>> Hi friends, >>> >>> I want to clip a group by script but cannot get it to work!? >>> See this image, it shows what i want to achieve: >>> >>> >>> I want the content of the group to be clipped at the top and bottom. >>> No problem when resizing manually but no dice by script so far. >>> >>> I tried many variations of boundingrect, rect, clipstorect, >>> lockloc, height and whatnot. >>> >>> Any hints very welcome! :-) >>> >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> https://www.major-k.de/bass >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Oct 11 12:28:57 2024 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Oct 2024 18:28:57 +0200 Subject: Clipping a group by script In-Reply-To: <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> Message-ID: <3ADE3EAF-8A7C-4AED-B3B2-09679A6BFDA6@major-k.de> Hi Craig and Bob, > Am 11.10.2024 um 18:24 schrieb Craig Newman via use-livecode : > > Bob. > I do not know why Klaus wants to truncate his groups, yes, because that is nobodys business but mine! :-D > but I suspect it has nothing to do with fitting them onto the card. Exactly. > Craig > >> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >> >> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >> >> Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Fri Oct 11 12:29:28 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Oct 2024 16:29:28 +0000 Subject: Clipping a group by script In-Reply-To: <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> Message-ID: <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. Bob S > On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: > > Bob. > I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. > > Craig > >> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >> >> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >> >> Bob S >> >> From klaus at major-k.de Fri Oct 11 12:34:32 2024 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Oct 2024 18:34:32 +0200 Subject: Clipping a group by script In-Reply-To: <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> Message-ID: <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> Hi Bob, > Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode : > > Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. already tried this, does not work, it will always crop/clip the bottom of the group. I think I will either set the MARGINS for TOP and BOTTOM of the group to negative values. Or just resize the group and set the scroll to the neccessary amount, thanks Craig! > Bob S > >> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: >> >> Bob. >> I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. >> >> Craig >> >>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >>> >>> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >>> >>> Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Sat Oct 12 05:40:54 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Oct 2024 11:40:54 +0200 Subject: Forum down? Or just for me? 8-) Message-ID: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> Hi all, I get: -------------------------------------------- Forbidden You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------- when trying to access: Anyone else experiencing this? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From heather at livecode.com Sat Oct 12 06:12:32 2024 From: heather at livecode.com (Heather Laine) Date: Sat, 12 Oct 2024 11:12:32 +0100 Subject: Forum down? Or just for me? 8-) In-Reply-To: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> References: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> Message-ID: <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> The forum is down at present. We have been experiencing a denial of service attack overnight on the forums, and we have temporarily turned off access. We will restore access as soon as possible. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 12 Oct 2024, at 10:40, Klaus major-k via use-livecode wrote: > > Hi all, > > I get: > -------------------------------------------- > Forbidden > > You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe > Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. > -------------------------------------------- > when trying to access: > Anyone else experiencing this? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat Oct 12 06:14:55 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Oct 2024 12:14:55 +0200 Subject: Forum down? Or just for me? 8-) In-Reply-To: <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> References: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> Message-ID: <948D7E01-1E39-4C27-B3E6-AB4378BCF833@major-k.de> Hi Heather, > Am 12.10.2024 um 12:12 schrieb Heather Laine via use-livecode : > The forum is down at present. We have been experiencing a denial of service attack overnight on the forums, and we have temporarily turned off access. We will restore access as soon as possible. aha, thanks for the fast info! > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > >> On 12 Oct 2024, at 10:40, Klaus major-k via use-livecode wrote: >> >> Hi all, >> >> I get: >> -------------------------------------------- >> Forbidden >> >> You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe >> Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. >> -------------------------------------------- >> when trying to access: >> Anyone else experiencing this? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From iowahengst at mac.com Sat Oct 12 14:09:08 2024 From: iowahengst at mac.com (Randy Hengst) Date: Sat, 12 Oct 2024 13:09:08 -0500 Subject: Clipping a group by script In-Reply-To: <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> Message-ID: <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> What about something like this?  take care, randy > On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode wrote: > > Hi Bob, > >> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode : >> >> Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. > > already tried this, does not work, it will always crop/clip the bottom of the group. > > I think I will either set the MARGINS for TOP and BOTTOM of the group to negative values. > Or just resize the group and set the scroll to the neccessary amount, thanks Craig! > >> Bob S >> >>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: >>> >>> Bob. >>> I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. >>> >>> Craig >>> >>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >>>> >>>> Bob S > > 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 iowahengst at mac.com Sat Oct 12 14:09:08 2024 From: iowahengst at mac.com (Randy Hengst) Date: Sat, 12 Oct 2024 13:09:08 -0500 Subject: Clipping a group by script In-Reply-To: <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> Message-ID: <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> What about something like this?  take care, randy > On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode wrote: > > Hi Bob, > >> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode : >> >> Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. > > already tried this, does not work, it will always crop/clip the bottom of the group. > > I think I will either set the MARGINS for TOP and BOTTOM of the group to negative values. > Or just resize the group and set the scroll to the neccessary amount, thanks Craig! > >> Bob S >> >>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: >>> >>> Bob. >>> I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. >>> >>> Craig >>> >>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >>>> >>>> Bob S > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat Oct 12 14:15:17 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Oct 2024 20:15:17 +0200 Subject: Clipping a group by script In-Reply-To: <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> Message-ID: <0A74F9B3-4F98-4A9A-AFAD-FB5AAAB4BE1C@major-k.de> Hi Randy, > Am 12.10.2024 um 20:09 schrieb Randy Hengst via use-livecode : > > What about something like this? what exactly?  > > take care, > randy > > >> On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode wrote: >> >> Hi Bob, >> >>> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode : >>> >>> Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. >> >> already tried this, does not work, it will always crop/clip the bottom of the group. >> >> I think I will either set the MARGINS for TOP and BOTTOM of the group to negative values. >> Or just resize the group and set the scroll to the neccessary amount, thanks Craig! >> >>> Bob S >>> >>>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: >>>> >>>> Bob. >>>> I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. >>>> >>>> Craig >>>> >>>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >>>>> >>>>> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >>>>> >>>>> Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tom at makeshyft.com Sat Oct 12 15:11:51 2024 From: tom at makeshyft.com (Tom Glod) Date: Sat, 12 Oct 2024 15:11:51 -0400 Subject: Clipping a group by script In-Reply-To: <0A74F9B3-4F98-4A9A-AFAD-FB5AAAB4BE1C@major-k.de> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> <0A74F9B3-4F98-4A9A-AFAD-FB5AAAB4BE1C@major-k.de> Message-ID: Klaus, its set the layerClipRect ... On Sat, Oct 12, 2024 at 2:16 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Randy, > > > Am 12.10.2024 um 20:09 schrieb Randy Hengst via use-livecode < > use-livecode at lists.runrev.com>: > > > > What about something like this? > > what exactly? >  > > > > take care, > > randy > > > > > >> On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Hi Bob, > >> > >>> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>: > >>> > >>> Understood, but if he wants to set the rect of the group so that all > the objects fit inside it, or at least from top to bottom, he should be > able to get the rect of the group, then set the second and fourth items to > the min and max of the other objects in the group. I think he has to set > the locLoc to true first. > >> > >> already tried this, does not work, it will always crop/clip the bottom > of the group. > >> > >> I think I will either set the MARGINS for TOP and BOTTOM of the group > to negative values. > >> Or just resize the group and set the scroll to the neccessary amount, > thanks Craig! > >> > >>> Bob S > >>> > >>>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Bob. > >>>> I do not know why Klaus wants to truncate his groups, but I suspect > it has nothing to do with fitting them onto the card. > >>>> > >>>> Craig > >>>> > >>>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>> > >>>>> Hmmm… I wrote a handler to determine the rect of all the visible > objects on a card so I can set the stack rect to that plus margins. It > involved getting the left, top, right and bottom as seperate values, of > every visible object, then determining the min and max of each set of > values as needed. You should be able to something similar. > >>>>> > >>>>> Bob S > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Sat Oct 12 15:21:28 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Oct 2024 21:21:28 +0200 Subject: Clipping a group by script In-Reply-To: References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> <0A74F9B3-4F98-4A9A-AFAD-FB5AAAB4BE1C@major-k.de> Message-ID: Hi Tom, > Am 12.10.2024 um 21:11 schrieb Tom Glod via use-livecode : > > Klaus, > > its > > set the layerClipRect ... "layerClipRect"? To be honest I never heard this before, so thanks a bunch! :-D > On Sat, Oct 12, 2024 at 2:16 PM Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Randy, >> >>> Am 12.10.2024 um 20:09 schrieb Randy Hengst via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> What about something like this? >> >> what exactly? >>  >>> >>> take care, >>> randy >>> >>> >>>> On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hi Bob, >>>> >>>>> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com>: >>>>> >>>>> Understood, but if he wants to set the rect of the group so that all >> the objects fit inside it, or at least from top to bottom, he should be >> able to get the rect of the group, then set the second and fourth items to >> the min and max of the other objects in the group. I think he has to set >> the locLoc to true first. >>>> >>>> already tried this, does not work, it will always crop/clip the bottom >> of the group. >>>> >>>> I think I will either set the MARGINS for TOP and BOTTOM of the group >> to negative values. >>>> Or just resize the group and set the scroll to the neccessary amount, >> thanks Craig! >>>> >>>>> Bob S >>>>> >>>>>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Bob. >>>>>> I do not know why Klaus wants to truncate his groups, but I suspect >> it has nothing to do with fitting them onto the card. >>>>>> >>>>>> Craig >>>>>> >>>>>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>>>>> >>>>>>> Hmmm… I wrote a handler to determine the rect of all the visible >> objects on a card so I can set the stack rect to that plus margins. It >> involved getting the left, top, right and bottom as seperate values, of >> every visible object, then determining the min and max of each set of >> values as needed. You should be able to something similar. >>>>>>> >>>>>>> Bob S >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 13:08:39 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 11:08:39 -0600 Subject: What video formats work on Windows? Message-ID: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> The end goal is to be able to run a standalone, and some cards will have an external video file to play. As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. When I try to play the video file I get a ‘could not create movie reference’ message in the result. I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? I didn’t find something about installing K-lite, and trying that does make the Player show the last frame of the video, but still the video won’t play, and I can’t assume everyone whose PC I might use would be willing to let me install extra codecs. From klaus at major-k.de Sun Oct 13 13:52:33 2024 From: klaus at major-k.de (Klaus major-k) Date: Sun, 13 Oct 2024 19:52:33 +0200 Subject: What video formats work on Windows? In-Reply-To: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> Message-ID: <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> Hi Colin, > Am 13.10.2024 um 19:08 schrieb Colin Holgate via use-livecode : > > The end goal is to be able to run a standalone, and some cards will have an external video file to play. > As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. > When I try to play the video file I get a ‘could not create movie reference’ message in the result. > I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? > I didn’t find something about installing K-lite, and trying that does make the Player show the last frame of the video, but still the video won’t play, and I can’t assume everyone whose PC I might use would be willing to let me install extra codecs. unfortunately LC uses the old Windows multimedia engine, not sure how this is called (DirectShow?). And that cannot play MP4 videos out of the box. Adding the new and current multimedia engine was promised for LC 10, but did not make it into the last version of LC. Maybe it is implemented in the new and upcoming LCC (LiveCode Create). So you are stuck with a small number of supported codecs like MPG 1, WMV and AVI, maybe more, I'm not sure... There is a free codec collection named "LAV Filters" which will let LC also play MP4 files and a lot of other audio and video formats. Find and load it here: Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 14:18:37 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 12:18:37 -0600 Subject: What video formats work on Windows? In-Reply-To: <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> Message-ID: That seems to have the same issue that K-lite showed. I immediately see the last frame of the video, and the video doesn’t play (at least not from script). Showing the controller and having to click the play button does show the video, but it’s a jarring experience having to look at the last frame until the user clicks the play button. > On Oct 13, 2024, at 11:52 AM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 19:08 schrieb Colin Holgate via use-livecode : >> >> The end goal is to be able to run a standalone, and some cards will have an external video file to play. >> As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. >> When I try to play the video file I get a ‘could not create movie reference’ message in the result. >> I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? >> I didn’t find something about installing K-lite, and trying that does make the Player show the last frame of the video, but still the video won’t play, and I can’t assume everyone whose PC I might use would be willing to let me install extra codecs. > > unfortunately LC uses the old Windows multimedia engine, not sure how this is called (DirectShow?). > And that cannot play MP4 videos out of the box. > > Adding the new and current multimedia engine was promised for LC 10, but did not make it into the last version of LC. > Maybe it is implemented in the new and upcoming LCC (LiveCode Create). > > So you are stuck with a small number of supported codecs like MPG 1, WMV and AVI, maybe more, I'm not sure... > > There is a free codec collection named "LAV Filters" which will let LC also play MP4 files and a lot of other audio and video formats. > Find and load it here: > > > 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 colinholgate at gmail.com Sun Oct 13 14:27:30 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 12:27:30 -0600 Subject: What video formats work on Windows? In-Reply-To: <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> Message-ID: <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> I found an online converter that can change MP4 to WMV, and the video looks ok, and plays in LiveCode. Scripts seem not to work though. Would you expect this to be able to pause or play a WMV in a Player object?: on mouseup if the paused of player 1 then play player 1 else set the paused of player 1 to true end if end mouseup > On Oct 13, 2024, at 11:52 AM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 19:08 schrieb Colin Holgate via use-livecode : >> >> The end goal is to be able to run a standalone, and some cards will have an external video file to play. >> As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. >> When I try to play the video file I get a ‘could not create movie reference’ message in the result. >> I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? >> I didn’t find something about installing K-lite, and trying that does make the Player show the last frame of the video, but still the video won’t play, and I can’t assume everyone whose PC I might use would be willing to let me install extra codecs. > > unfortunately LC uses the old Windows multimedia engine, not sure how this is called (DirectShow?). > And that cannot play MP4 videos out of the box. > > Adding the new and current multimedia engine was promised for LC 10, but did not make it into the last version of LC. > Maybe it is implemented in the new and upcoming LCC (LiveCode Create). > > So you are stuck with a small number of supported codecs like MPG 1, WMV and AVI, maybe more, I'm not sure... > > There is a free codec collection named "LAV Filters" which will let LC also play MP4 files and a lot of other audio and video formats. > Find and load it here: > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Oct 13 14:32:55 2024 From: klaus at major-k.de (Klaus major-k) Date: Sun, 13 Oct 2024 20:32:55 +0200 Subject: What video formats work on Windows? In-Reply-To: <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> Message-ID: Hi Colin, > Am 13.10.2024 um 20:27 schrieb Colin Holgate via use-livecode : > > I found an online converter that can change MP4 to WMV, and the video looks ok, and plays in LiveCode. Scripts seem not to work though. > Would you expect this to be able to pause or play a WMV in a Player object?: No. :-D > on mouseup > if the paused of player 1 then > play player 1 > else > set the paused of player 1 to true > end if > end mouseup on mouseup if the paused of player 1 = FALSE then start player 1 else set the paused of player 1 to true end if end mouseup :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 14:46:23 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 12:46:23 -0600 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> Message-ID: Your script doesn’t work either. My script works fine on Mac, where it can play MP4 files. > On Oct 13, 2024, at 12:32 PM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 20:27 schrieb Colin Holgate via use-livecode : >> >> I found an online converter that can change MP4 to WMV, and the video looks ok, and plays in LiveCode. Scripts seem not to work though. >> Would you expect this to be able to pause or play a WMV in a Player object?: > > No. :-D > >> on mouseup >> if the paused of player 1 then >> play player 1 >> else >> set the paused of player 1 to true >> end if >> end mouseup > > on mouseup > if the paused of player 1 = FALSE then > start player 1 > else > set the paused of player 1 to true > end if > end mouseup > > :-) > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Oct 13 14:58:11 2024 From: klaus at major-k.de (Klaus major-k) Date: Sun, 13 Oct 2024 20:58:11 +0200 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> Message-ID: <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> Hi Colin, > Am 13.10.2024 um 20:46 schrieb Colin Holgate via use-livecode : > > Your script doesn’t work either. sorry, my fault, of course your script is correct. I should not answer in a hurry... > My script works fine on Mac, where it can play MP4 files. Hm, it should work, no idea why this does not work on Windows. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 15:18:25 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 13:18:25 -0600 Subject: What video formats work on Windows? In-Reply-To: <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> Message-ID: A button with the same script, on top of the player, doesn’t work. But off to the side it does work. That makes it seem like on Windows the video is an extra object that is placed on top of everything else. > On Oct 13, 2024, at 12:58 PM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 20:46 schrieb Colin Holgate via use-livecode : >> >> Your script doesn’t work either. > > sorry, my fault, of course your script is correct. > I should not answer in a hurry... > >> My script works fine on Mac, where it can play MP4 files. > > Hm, it should work, no idea why this does not work on Windows. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Oct 13 15:25:37 2024 From: klaus at major-k.de (Klaus major-k) Date: Sun, 13 Oct 2024 21:25:37 +0200 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> Message-ID: <0A85E0D5-BD08-4EC5-A043-2466EA0BB4D2@major-k.de> Hi Colin, > Am 13.10.2024 um 21:18 schrieb Colin Holgate via use-livecode : > > A button with the same script, on top of the player, doesn’t work. same on a Mac! > But off to the side it does work. That makes it seem like on Windows the video is an extra object that is placed on top of everything else. Yes, a player object is an overlay on Windows and Mac. You could try to check "alwaysbuffer" for the player object, but no guarantees that this will help. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 17:05:56 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 15:05:56 -0600 Subject: What video formats work on Windows? In-Reply-To: <0A85E0D5-BD08-4EC5-A043-2466EA0BB4D2@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> <0A85E0D5-BD08-4EC5-A043-2466EA0BB4D2@major-k.de> Message-ID: It works fine as it is on Mac. With the alwaysbuffer turned on the video plays, but the image doesn’t change. > On Oct 13, 2024, at 1:25 PM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 21:18 schrieb Colin Holgate via use-livecode : >> >> A button with the same script, on top of the player, doesn’t work. > > same on a Mac! > >> But off to the side it does work. That makes it seem like on Windows the video is an extra object that is placed on top of everything else. > > Yes, a player object is an overlay on Windows and Mac. > You could try to check "alwaysbuffer" for the player object, but no guarantees that this will help. > > > 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 mark at livecode.com Mon Oct 14 03:49:35 2024 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Oct 2024 08:49:35 +0100 Subject: What video formats work on Windows? In-Reply-To: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> Message-ID: <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> On 2024-10-13 18:08, Colin Holgate via use-livecode wrote: > The end goal is to be able to run a standalone, and some cards will > have an external video file to play. > > As that doesnt work, I have a card in LC 10.0 authoring, where a > Player object is linked to a local MP4. The MP4 plays fine in the > Windows 11 player. > > When I try to play the video file I get a could not create movie > reference message in the result. > > I have tried set the dontuseqt to TRUE - but that didnt help. I dont > mind if I end up having to have another copy of the video files to use > on Windows, but what file types will work? We've changed the underlying media framework used on Windows from Direct Show to Media Foundation Player in LiveCode Create (its been available since dp-1 - both in the new Create IDE and Classic IDE mode). Media Foundation supports a wider range of formats out of the box compared to Direct Show - in particular mp4. Also, things like taking a snapshot of the player, and alwaysBuffer should now work too. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From klaus at major-k.de Mon Oct 14 05:12:12 2024 From: klaus at major-k.de (Klaus major-k) Date: Mon, 14 Oct 2024 11:12:12 +0200 Subject: What video formats work on Windows? In-Reply-To: <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> Message-ID: <110D0D69-5973-4EFD-82AA-DC983A2370E1@major-k.de> Hi Mark, > Am 14.10.2024 um 09:49 schrieb Mark Waddingham via use-livecode : > > On 2024-10-13 18:08, Colin Holgate via use-livecode wrote: >> The end goal is to be able to run a standalone, and some cards will have an external video file to play. >> As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. >> When I try to play the video file I get a ‘could not create movie reference’ message in the result. >> I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? > > We've changed the underlying media framework used on Windows from Direct Show to Media Foundation Player in LiveCode Create (its been available since dp-1 - both in the new Create IDE and Classic IDE mode). > Media Foundation supports a wider range of formats out of the box compared to Direct Show - in particular mp4. > Also, things like taking a snapshot of the player, and alwaysBuffer should now work too. don't have a license yet, so is the Windows player object "en par" with the Mac version now? Especially the feature that setting the "playrate" of a player does not affect the PITCH? Thanks for any insight! > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From mark at livecode.com Mon Oct 14 07:08:06 2024 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Oct 2024 12:08:06 +0100 Subject: What video formats work on Windows? In-Reply-To: <110D0D69-5973-4EFD-82AA-DC983A2370E1@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> <110D0D69-5973-4EFD-82AA-DC983A2370E1@major-k.de> Message-ID: On 2024-10-14 10:12, Klaus major-k via use-livecode wrote: > don't have a license yet, so is the Windows player object "en par" with > the Mac version now? > Especially the feature that setting the "playrate" of a player does not > affect the PITCH? Largely yes - although, as ever, what is actually supported (in true Windows style) depends on the actual codec used :| Things like negative playRate, for example, don't seem to be supported by any of the standard windows ones (including mp4). In terms of pitch adjustment when using a different playRate then again it is dependent on codec... However, I've just tested a sample mp4 in Windows and macOS - and it *sounds* like they do a similar thing - so for mp4 at least we appear to have almost complete parity. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From klaus at major-k.de Mon Oct 14 07:19:18 2024 From: klaus at major-k.de (Klaus major-k) Date: Mon, 14 Oct 2024 13:19:18 +0200 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> <110D0D69-5973-4EFD-82AA-DC983A2370E1@major-k.de> Message-ID: <9874673B-90F5-4985-A4B7-0C2ECCE4C54F@major-k.de> Hi Mark, > Am 14.10.2024 um 13:08 schrieb Mark Waddingham via use-livecode : > > On 2024-10-14 10:12, Klaus major-k via use-livecode wrote: >> don't have a license yet, so is the Windows player object "en par" with the Mac version now? >> Especially the feature that setting the "playrate" of a player does not affect the PITCH? > > Largely yes - although, as ever, what is actually supported (in true Windows style) depends on the actual codec used :| > Things like negative playRate, for example, don't seem to be supported by any of the standard windows ones (including mp4). > In terms of pitch adjustment when using a different playRate then again it is dependent on codec... > However, I've just tested a sample mp4 in Windows and macOS - and it *sounds* like they do a similar thing - so for mp4 at least we appear to have almost complete parity. OK, so hopefully it will work with MP3 and othe common audio formats files, so may finally be able to create the Windows version of my "Übeknecht" (Practise servant). 8-) Thanks for testing! > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Mon Oct 14 18:17:33 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Oct 2024 22:17:33 +0000 Subject: Forum down? Or just for me? 8-) In-Reply-To: <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> References: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> Message-ID: <1D0E1ACF-11BB-4738-AA6C-E0A453954B43@iotecdigital.com> All nations need to agree to do bad things to hackers private parts in order to stop this sort of thing. That’s just an opinion though. Bob S > On Oct 12, 2024, at 3:12 AM, Heather Laine via use-livecode wrote: > > The forum is down at present. We have been experiencing a denial of service attack overnight on the forums, and we have temporarily turned off access. We will restore access as soon as possible. > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 12 Oct 2024, at 10:40, Klaus major-k via use-livecode wrote: >> >> Hi all, >> >> I get: >> -------------------------------------------- >> Forbidden >> >> You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe >> Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. >> -------------------------------------------- >> when trying to access: >> Anyone else experiencing this? >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Oct 14 18:19:24 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Oct 2024 22:19:24 +0000 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> Message-ID: Like the old web browser? Hmmm? Bob S > On Oct 13, 2024, at 12:18 PM, Colin Holgate via use-livecode wrote: > > A button with the same script, on top of the player, doesn’t work. But off to the side it does work. That makes it seem like on Windows the video is an extra object that is placed on top of everything else. > >> On Oct 13, 2024, at 12:58 PM, Klaus major-k via use-livecode wrote: >> >> Hi Colin, >> >>> Am 13.10.2024 um 20:46 schrieb Colin Holgate via use-livecode : >>> >>> Your script doesn’t work either. >> >> sorry, my fault, of course your script is correct. >> I should not answer in a hurry... >> >>> My script works fine on Mac, where it can play MP4 files. >> >> Hm, it should work, no idea why this does not work on Windows. >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Oct 14 20:02:52 2024 From: dochawk at gmail.com (doc hawk) Date: Mon, 14 Oct 2024 17:02:52 -0700 Subject: Forum down? Or just for me? 8-) In-Reply-To: <1D0E1ACF-11BB-4738-AA6C-E0A453954B43@iotecdigital.com> References: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> <1D0E1ACF-11BB-4738-AA6C-E0A453954B43@iotecdigital.com> Message-ID: <2DAF3543-9C8F-44CA-A00E-59D94AB802F2@gmail.com> bob bubbled, > All nations need to agree to do bad things to hackers private parts in order to stop this sort of thing. That’s just an opinion though. We just need a feedback system that will route each connection to such parts . . . possibly with a voltage multiplier! From klaus at major-k.de Wed Oct 16 07:39:16 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Oct 2024 13:39:16 +0200 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? Message-ID: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> Hi all, I wanted to add a SCV icon, I have a name and the SVG PATH, but what do I need to enter for the CODEPOINT? addIcon(pName,pSVG,pCodepoint) Thanks for any hint! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Wed Oct 16 07:47:54 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Oct 2024 13:47:54 +0200 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? In-Reply-To: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> Message-ID: Hi all, > Am 16.10.2024 um 13:39 schrieb Klaus major-k via use-livecode : > > Hi all, > > I wanted to add a SCV icon, I have a name and the SVG PATH, > but what do I need to enter for the CODEPOINT? > > addIcon(pName,pSVG,pCodepoint) > > Thanks for any hint! just found an LC lessons for adding icons and Panos advised to use 0 (ZERO) as the codepoint if not using any "FontAwesome" icons. So I wrote: ... put the text of fld "path" into tPath addicon("metronom",tPath,0) ... However then I get: button "Button": execution error at line 5 (call: too few arguments), char 1 Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Wed Oct 16 08:11:20 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Oct 2024 14:11:20 +0200 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? In-Reply-To: References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> Message-ID: <4F0E9A21-D487-46D4-B430-97F2C257901F@major-k.de> Hi all, > Am 16.10.2024 um 13:47 schrieb Klaus major-k via use-livecode : > ... > just found an LC lessons for adding icons and Panos advised to use 0 (ZERO) as > the codepoint if not using any "FontAwesome" icons. > > So I wrote: > ... > put the text of fld "path" into tPath > addicon("metronom",tPath,0) > ... > > However then I get: > button "Button": execution error at line 5 (call: too few arguments), char 1 found the problem and the solution: ... addicon("metronom",tPath,0) ... Is actually a FUNCTION and not a HANDLER as the dictionary states!? So I could add my icon tot he "standard SVG lib" with: ... get addicon("fontawesome/metronom",tPath,0) ... But can't we just click an icon in the inspector for the e.g. navigation bar widget and the SVG lib pops up with a still way to small scrollbar anymore? I click and click, no dice, will need to script this... :-/ Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jbv at souslelogo.com Wed Oct 16 10:19:27 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 16 Oct 2024 10:19:27 -0400 Subject: DOM innerHTML equivalent ? Message-ID: Hi list, Is there a way to catch all controls on a card (for instance) with all their properties and values, and store them in a variable, like innerHML for a DOM element, and have all these controls displayed later very fast and in one go ? I hope I made myself clear. I tried several things, like storing all properties and values as text in a variable and then recreating all controls (quire slow), or duplicate the controls on a hidden card or another stack, but nothing is as easy as what is available i the DOM. Thank you in advance. jbv From bobsneidar at iotecdigital.com Wed Oct 16 10:52:13 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Oct 2024 14:52:13 +0000 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? In-Reply-To: <4F0E9A21-D487-46D4-B430-97F2C257901F@major-k.de> References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> <4F0E9A21-D487-46D4-B430-97F2C257901F@major-k.de> Message-ID: Hi Klaus. Just for the sake of clarity, and because I probably have Aspergers, COMMANDS and FUNCTIONS are BOTH HANDLERS. :-) Bob S On Oct 16, 2024, at 5:11 AM, Klaus major-k via use-livecode wrote: Is actually a FUNCTION and not a HANDLER as the dictionary states!? From bobsneidar at iotecdigital.com Wed Oct 16 10:54:23 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Oct 2024 14:54:23 +0000 Subject: DOM innerHTML equivalent ? In-Reply-To: References: Message-ID: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> Group them then store the group as an array, but placing them won’t be any faster methinks. You can also arrayEncode the array first if you need it in a serialized format. Bob S > On Oct 16, 2024, at 7:19 AM, jbv via use-livecode wrote: > > Hi list, > > Is there a way to catch all controls on a card > (for instance) with all their properties and > values, and store them in a variable, like > innerHML for a DOM element, and have all these > controls displayed later very fast and in one go ? > > I hope I made myself clear. > I tried several things, like storing all properties > and values as text in a variable and then recreating > all controls (quire slow), or duplicate the controls > on a hidden card or another stack, but nothing is as > easy as what is available i the DOM. > > 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 klaus at major-k.de Wed Oct 16 10:57:48 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Oct 2024 16:57:48 +0200 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? In-Reply-To: References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> <4F0E9A21-D487-46D4-B430-97F2C257901F@major-k.de> Message-ID: Hi Bob, > Am 16.10.2024 um 16:52 schrieb Bob Sneidar via use-livecode : > > Hi Klaus. > > Just for the sake of clarity, and because I probably have Aspergers, COMMANDS and FUNCTIONS are BOTH HANDLERS. :-) OK, but e.g. time() is of TYPE: function mouseup is of TYPE: MESSAGE So this is at least irritating... > Bob S > > > On Oct 16, 2024, at 5:11 AM, Klaus major-k via use-livecode wrote: > > Is actually a FUNCTION and not a HANDLER as the dictionary states!? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From craig at starfirelighting.com Wed Oct 16 11:53:21 2024 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 16 Oct 2024 11:53:21 -0400 Subject: DOM innerHTML equivalent ? In-Reply-To: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> Message-ID: Hi. I am confused. As usual. "Group them then store the group as an array," I read the OP as wanting to gather all the information about all the controls, not the controls themselves. If so, then the”slow” part is to gather the data, which has to be done control-by-control, card-by-card and stack-by-stack. But once through all that, collecting and storing the information, array or plain, is virtually instantaneous. Anyway, how do you store a group as an array? Craig > On Oct 16, 2024, at 10:54 AM, Bob Sneidar via use-livecode wrote: > > Group them then store the group as an array, but placing them won’t be any faster methinks. You can also arrayEncode the array first if you need it in a serialized format. > > Bob S > > >> On Oct 16, 2024, at 7:19 AM, jbv via use-livecode wrote: >> >> Hi list, >> >> Is there a way to catch all controls on a card >> (for instance) with all their properties and >> values, and store them in a variable, like >> innerHML for a DOM element, and have all these >> controls displayed later very fast and in one go ? >> >> I hope I made myself clear. >> I tried several things, like storing all properties >> and values as text in a variable and then recreating >> all controls (quire slow), or duplicate the controls >> on a hidden card or another stack, but nothing is as >> easy as what is available i the DOM. >> >> 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 bobsneidar at iotecdigital.com Wed Oct 16 12:25:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Oct 2024 16:25:41 +0000 Subject: DOM innerHTML equivalent ? In-Reply-To: References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> Message-ID: <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> OIC I didn’t know he wanted to store the PROPERTIES of the objects. As I have mentioned before I have handlers that can collect the properties of objects and store them in a memory sqLite database. (You can specify a file as well.) But that is not going to help you *quickly* recreate the objects. Also if you are using Datagrids, the problem becomes considerably more difficult, and in the end no matter what you do, the engine is going to have to recreate every single object so I do not think you are going to save any time, even if you could somehow serialize all the objects on a card. I suppose you could create a template card, then copy / paste that card but the engine is *still* going to have to create the objects. As far as storing an array, it can be stored in the custom property of any group, or it can be saved as a binary file if you first arrayEncode() the array. Bob S > On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode wrote: > > Hi. > > I am confused. As usual. > > "Group them then store the group as an array," > > I read the OP as wanting to gather all the information about all the controls, not the controls themselves. If so, then the”slow” part is to gather the data, which has to be done control-by-control, card-by-card and stack-by-stack. But once through all that, collecting and storing the information, array or plain, is virtually instantaneous. > > Anyway, how do you store a group as an array? > > Craig > >> On Oct 16, 2024, at 10:54 AM, Bob Sneidar via use-livecode wrote: >> >> Group them then store the group as an array, but placing them won’t be any faster methinks. You can also arrayEncode the array first if you need it in a serialized format. >> >> Bob S >> >> >>> On Oct 16, 2024, at 7:19 AM, jbv via use-livecode wrote: >>> >>> Hi list, >>> >>> Is there a way to catch all controls on a card >>> (for instance) with all their properties and >>> values, and store them in a variable, like >>> innerHML for a DOM element, and have all these >>> controls displayed later very fast and in one go ? >>> >>> I hope I made myself clear. >>> I tried several things, like storing all properties >>> and values as text in a variable and then recreating >>> all controls (quire slow), or duplicate the controls >>> on a hidden card or another stack, but nothing is as >>> easy as what is available i the DOM. >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Wed Oct 16 12:30:53 2024 From: tom at makeshyft.com (Tom Glod) Date: Wed, 16 Oct 2024 12:30:53 -0400 Subject: DOM innerHTML equivalent ? In-Reply-To: <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> Message-ID: try "get the properties of" .... and "get the customproperties of" or you can just "put" them into an array. On Wed, Oct 16, 2024 at 12:26 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > OIC I didn’t know he wanted to store the PROPERTIES of the objects. As I > have mentioned before I have handlers that can collect the properties of > objects and store them in a memory sqLite database. (You can specify a file > as well.) But that is not going to help you *quickly* recreate the objects. > > Also if you are using Datagrids, the problem becomes considerably more > difficult, and in the end no matter what you do, the engine is going to > have to recreate every single object so I do not think you are going to > save any time, even if you could somehow serialize all the objects on a > card. > > I suppose you could create a template card, then copy / paste that card > but the engine is *still* going to have to create the objects. > > As far as storing an array, it can be stored in the custom property of any > group, or it can be saved as a binary file if you first arrayEncode() the > array. > > Bob S > > > > On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi. > > > > I am confused. As usual. > > > > "Group them then store the group as an array," > > > > I read the OP as wanting to gather all the information about all the > controls, not the controls themselves. If so, then the”slow” part is to > gather the data, which has to be done control-by-control, card-by-card and > stack-by-stack. But once through all that, collecting and storing the > information, array or plain, is virtually instantaneous. > > > > Anyway, how do you store a group as an array? > > > > Craig > > > >> On Oct 16, 2024, at 10:54 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Group them then store the group as an array, but placing them won’t be > any faster methinks. You can also arrayEncode the array first if you need > it in a serialized format. > >> > >> Bob S > >> > >> > >>> On Oct 16, 2024, at 7:19 AM, jbv via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> Hi list, > >>> > >>> Is there a way to catch all controls on a card > >>> (for instance) with all their properties and > >>> values, and store them in a variable, like > >>> innerHML for a DOM element, and have all these > >>> controls displayed later very fast and in one go ? > >>> > >>> I hope I made myself clear. > >>> I tried several things, like storing all properties > >>> and values as text in a variable and then recreating > >>> all controls (quire slow), or duplicate the controls > >>> on a hidden card or another stack, but nothing is as > >>> easy as what is available i the DOM. > >>> > >>> 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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bogdanoff at me.com Wed Oct 16 12:34:19 2024 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 16 Oct 2024 12:34:19 -0400 Subject: DOM innerHTML equivalent ? In-Reply-To: <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> Message-ID: The ‘properties’ property will store all the available properties of an object into an array. From the dictionary: put the properties of field "My Field” into myArray put the keys of myArray Peter > On Oct 16, 2024, at 12:25 PM, Bob Sneidar via use-livecode wrote: > > OIC I didn’t know he wanted to store the PROPERTIES of the objects. As I have mentioned before I have handlers that can collect the properties of objects and store them in a memory sqLite database. (You can specify a file as well.) But that is not going to help you *quickly* recreate the objects. > > Also if you are using Datagrids, the problem becomes considerably more difficult, and in the end no matter what you do, the engine is going to have to recreate every single object so I do not think you are going to save any time, even if you could somehow serialize all the objects on a card. > > I suppose you could create a template card, then copy / paste that card but the engine is *still* going to have to create the objects. > > As far as storing an array, it can be stored in the custom property of any group, or it can be saved as a binary file if you first arrayEncode() the array. > > Bob S > > >> On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode wrote: >> >> Hi. >> >> I am confused. As usual. >> >> "Group them then store the group as an array," >> >> I read the OP as wanting to gather all the information about all the controls, not the controls themselves. If so, then the”slow” part is to gather the data, which has to be done control-by-control, card-by-card and stack-by-stack. But once through all that, collecting and storing the information, array or plain, is virtually instantaneous. >> >> Anyway, how do you store a group as an array? >> >> Craig >> >>> On Oct 16, 2024, at 10:54 AM, Bob Sneidar via use-livecode wrote: >>> >>> Group them then store the group as an array, but placing them won’t be any faster methinks. You can also arrayEncode the array first if you need it in a serialized format. >>> >>> Bob S >>> >>> >>>> On Oct 16, 2024, at 7:19 AM, jbv via use-livecode wrote: >>>> >>>> Hi list, >>>> >>>> Is there a way to catch all controls on a card >>>> (for instance) with all their properties and >>>> values, and store them in a variable, like >>>> innerHML for a DOM element, and have all these >>>> controls displayed later very fast and in one go ? >>>> >>>> I hope I made myself clear. >>>> I tried several things, like storing all properties >>>> and values as text in a variable and then recreating >>>> all controls (quire slow), or duplicate the controls >>>> on a hidden card or another stack, but nothing is as >>>> easy as what is available i the DOM. >>>> >>>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 16 12:36:05 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Oct 2024 16:36:05 +0000 Subject: DOM innerHTML equivalent ? In-Reply-To: References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> Message-ID: <4CE20C17-1417-4241-ABD3-4BB4738D159F@iotecdigital.com> I don’t know what I was thinking there. Bob S On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode wrote: "Group them then store the group as an array," From klaus at major-k.de Thu Oct 17 09:11:09 2024 From: klaus at major-k.de (Klaus major-k) Date: Thu, 17 Oct 2024 15:11:09 +0200 Subject: addIcon(pName,pSVG,pCodepoint) Where is the icon? In-Reply-To: References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> Message-ID: <67DB39B9-C069-4048-9D2A-4F8C1A8E6B65@major-k.de> Hi all, yesterday I successfully added a custom SVG icon via: ... get addicon("fontawesome/metronom",tPath,0) ... Today I opened the stack where i used that icon and it is gone? Do I need to save the icon/library somehow? Or what can/need I do to have this icon "stick" in the library and appear again in my stack permanently? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From craig at starfirelighting.com Thu Oct 17 09:14:54 2024 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 17 Oct 2024 09:14:54 -0400 Subject: DOM innerHTML equivalent ? In-Reply-To: <4CE20C17-1417-4241-ABD3-4BB4738D159F@iotecdigital.com> References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> <4CE20C17-1417-4241-ABD3-4BB4738D159F@iotecdigital.com> Message-ID: Bob. I never know what I am thinking. Craig > On Oct 16, 2024, at 12:36 PM, Bob Sneidar via use-livecode wrote: > > I don’t know what I was thinking there. > > Bob S > > > On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode wrote: > > "Group them then store the group as an array," > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Thu Oct 17 09:41:34 2024 From: brian at milby7.com (Brian Milby) Date: Thu, 17 Oct 2024 09:41:34 -0400 Subject: addIcon(pName,pSVG,pCodepoint) Where is the icon? In-Reply-To: <67DB39B9-C069-4048-9D2A-4F8C1A8E6B65@major-k.de> References: <67DB39B9-C069-4048-9D2A-4F8C1A8E6B65@major-k.de> Message-ID: <452C254B-C72D-404E-9051-4E4AE4FEDC6C@milby7.com> In short, yes your will need to add icons each launch of the IDE / app. I was going to suggest looking at SvgIconTool after your first post but realized I only moved entire families of icons and did not use the individual icon function. One way would be to create a family of any custom icons (or just add to an existing) and then export the family. Restoring the family on launch would get your icons back. The export is an array that you can encode/save then reverse process to restore. Hope this at least gives you an idea. Brian Milby brian at milby7.com > On Oct 17, 2024, at 9:12 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > yesterday I successfully added a custom SVG icon via: > ... > get addicon("fontawesome/metronom",tPath,0) > ... > > Today I opened the stack where i used that icon and it is gone? > > Do I need to save the icon/library somehow? > Or what can/need I do to have this icon "stick" in the library and > appear again in my stack permanently? > > > 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 rdimola at evergreeninfo.net Fri Oct 18 14:07:32 2024 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 18 Oct 2024 14:07:32 -0400 Subject: Livecode Login In-Reply-To: <6AFF6514-4A86-4336-8653-B4852FCB41C2@iotecdigital.com> References: <6AFF6514-4A86-4336-8653-B4852FCB41C2@iotecdigital.com> Message-ID: <000601db2188$9d525890$d7f709b0$@net> DNS resolution for my LiveCode hosting account just stopped working. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Thursday, October 17, 2024 1:00 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Livecode Login Anyone else having difficulty logging into Livecode? 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 matthias_livecode_150811 at m-r-d.de Fri Oct 18 14:40:41 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 18 Oct 2024 20:40:41 +0200 Subject: Livecode Login In-Reply-To: <000601db2188$9d525890$d7f709b0$@net> References: <6AFF6514-4A86-4336-8653-B4852FCB41C2@iotecdigital.com> <000601db2188$9d525890$d7f709b0$@net> Message-ID: <6F94975E-376C-4F3E-A70E-5D5ABD90689F@m-r-d.de> Thanks for bringing this up. I never would have checked my account. Here it is the same. The server on which my account is hosted cannot be reached on port 2083 and also my account and also any domain in my account is accessible on port 80. I've sent an email to livecodehosting at livecode.com with URGENT in the subject line. Maybe you do the same. Regards, Matthias > Am 18.10.2024 um 20:07 schrieb Ralph DiMola via use-livecode : > > DNS resolution for my LiveCode hosting account just stopped working. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Bob Sneidar via use-livecode > Sent: Thursday, October 17, 2024 1:00 PM > To: How to use LiveCode > Cc: Bob Sneidar > Subject: Livecode Login > > Anyone else having difficulty logging into Livecode? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Oct 18 14:44:53 2024 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 18 Oct 2024 14:44:53 -0400 Subject: Livecode Login In-Reply-To: <6F94975E-376C-4F3E-A70E-5D5ABD90689F@m-r-d.de> References: <6AFF6514-4A86-4336-8653-B4852FCB41C2@iotecdigital.com> <000601db2188$9d525890$d7f709b0$@net> <6F94975E-376C-4F3E-A70E-5D5ABD90689F@m-r-d.de> Message-ID: <000d01db218d$d59ec8a0$80dc59e0$@net> Robin fixed it. I'm back up. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of matthias rebbe via use-livecode Sent: Friday, October 18, 2024 2:41 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: Livecode Login Thanks for bringing this up. I never would have checked my account. Here it is the same. The server on which my account is hosted cannot be reached on port 2083 and also my account and also any domain in my account is accessible on port 80. I've sent an email to livecodehosting at livecode.com with URGENT in the subject line. Maybe you do the same. Regards, Matthias > Am 18.10.2024 um 20:07 schrieb Ralph DiMola via use-livecode : > > DNS resolution for my LiveCode hosting account just stopped working. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Bob Sneidar via use-livecode > Sent: Thursday, October 17, 2024 1:00 PM > To: How to use LiveCode > Cc: Bob Sneidar > Subject: Livecode Login > > Anyone else having difficulty logging into Livecode? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sat Oct 19 03:11:04 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 19 Oct 2024 03:11:04 -0400 Subject: Scrollbar color Message-ID: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> Hi list, Is there a possibility to set a custom color to a regular scrollbar ? I guess the answer is no, since I haven't found anything in the doc. I also guess that the only solution is to build a custom scrollbar. My problem is that the scrollbar looks ok on Mac, but on Windows it's 100% black... I tried "set the backgroundcolor of scrollbar x to grey", I didn't get any error but nothing changed. jbv From harrison at all-auctions.com Sat Oct 19 13:47:46 2024 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Sat, 19 Oct 2024 13:47:46 -0400 Subject: Scrollbar color In-Reply-To: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> References: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> Message-ID: Yes, you are probably stuck making your own. Good luck! Rick > On Oct 19, 2024, at 3:11 AM, jbv via use-livecode wrote: > > Hi list, > > Is there a possibility to set a custom color to a regular > scrollbar ? I guess the answer is no, since I haven't > found anything in the doc. I also guess that the only > solution is to build a custom scrollbar. > My problem is that the scrollbar looks ok on Mac, but > on Windows it's 100% black... > I tried "set the backgroundcolor of scrollbar x to grey", > I didn't get any error but nothing changed. > > jbv From paul at researchware.com Sat Oct 19 14:20:43 2024 From: paul at researchware.com (Paul Dupuis) Date: Sat, 19 Oct 2024 14:20:43 -0400 Subject: Scrollbar color In-Reply-To: References: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> Message-ID: See https://quality.livecode.com/show_bug.cgi?id=7762 Scrollbars and sliders are essentially the same object. This enhancement request/bug has been logged since 2009. I think the same request for scrollbars is also in the Quality Center bugzilla database and goes back even farther, but I didn't bother looking past the one above. On 10/19/2024 1:47 PM, harrison--- via use-livecode wrote: > Yes, you are probably stuck making your own. > > Good luck! > > Rick > >> On Oct 19, 2024, at 3:11 AM, jbv via use-livecode wrote: >> >> Hi list, >> >> Is there a possibility to set a custom color to a regular >> scrollbar ? I guess the answer is no, since I haven't >> found anything in the doc. I also guess that the only >> solution is to build a custom scrollbar. >> My problem is that the scrollbar looks ok on Mac, but >> on Windows it's 100% black... >> I tried "set the backgroundcolor of scrollbar x to grey", >> I didn't get any error but nothing changed. >> >> 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 craig at starfirelighting.com Mon Oct 21 09:25:55 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 21 Oct 2024 09:25:55 -0400 Subject: Scrollbar color In-Reply-To: References: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> Message-ID: <82B4F56B-9929-4884-95B4-20CCBFB19B73@starfirelighting.com> I set the backColor to “Blue” and then tried all the different inks. Nothing... > On Oct 19, 2024, at 2:20 PM, Paul Dupuis via use-livecode wrote: > > See https://quality.livecode.com/show_bug.cgi?id=7762 > > Scrollbars and sliders are essentially the same object. This enhancement request/bug has been logged since 2009. > > I think the same request for scrollbars is also in the Quality Center bugzilla database and goes back even farther, but I didn't bother looking past the one above. > > > On 10/19/2024 1:47 PM, harrison--- via use-livecode wrote: >> Yes, you are probably stuck making your own. >> >> Good luck! >> >> Rick >> >>> On Oct 19, 2024, at 3:11 AM, jbv via use-livecode wrote: >>> >>> Hi list, >>> >>> Is there a possibility to set a custom color to a regular >>> scrollbar ? I guess the answer is no, since I haven't >>> found anything in the doc. I also guess that the only >>> solution is to build a custom scrollbar. >>> My problem is that the scrollbar looks ok on Mac, but >>> on Windows it's 100% black... >>> I tried "set the backgroundcolor of scrollbar x to grey", >>> I didn't get any error but nothing changed. >>> >>> 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 craig at starfirelighting.com Mon Oct 21 09:32:19 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 21 Oct 2024 09:32:19 -0400 Subject: Scrollbar color In-Reply-To: <82B4F56B-9929-4884-95B4-20CCBFB19B73@starfirelighting.com> References: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> <82B4F56B-9929-4884-95B4-20CCBFB19B73@starfirelighting.com> Message-ID: <3048F828-7AF1-4675-904E-43EDED59B59E@starfirelighting.com> Were you interested in just having the thumb colored, the bar itself, or both? In any case, this is simple to do by overlaying two graphics on top of a standard scrollbar, and making the colored “thumb” graphic track the real one. Craig > On Oct 21, 2024, at 9:25 AM, Craig Newman via use-livecode wrote: > > I set the backColor to “Blue” and then tried all the different inks. Nothing... > >> On Oct 19, 2024, at 2:20 PM, Paul Dupuis via use-livecode wrote: >> >> See https://quality.livecode.com/show_bug.cgi?id=7762 >> >> Scrollbars and sliders are essentially the same object. This enhancement request/bug has been logged since 2009. >> >> I think the same request for scrollbars is also in the Quality Center bugzilla database and goes back even farther, but I didn't bother looking past the one above. >> >> >> On 10/19/2024 1:47 PM, harrison--- via use-livecode wrote: >>> Yes, you are probably stuck making your own. >>> >>> Good luck! >>> >>> Rick >>> >>>> On Oct 19, 2024, at 3:11 AM, jbv via use-livecode wrote: >>>> >>>> Hi list, >>>> >>>> Is there a possibility to set a custom color to a regular >>>> scrollbar ? I guess the answer is no, since I haven't >>>> found anything in the doc. I also guess that the only >>>> solution is to build a custom scrollbar. >>>> My problem is that the scrollbar looks ok on Mac, but >>>> on Windows it's 100% black... >>>> I tried "set the backgroundcolor of scrollbar x to grey", >>>> I didn't get any error but nothing changed. >>>> >>>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Oct 22 12:42:37 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 22 Oct 2024 16:42:37 +0000 Subject: Scrollbar color Message-ID: <41e97bf5f28a6eb97cfc32820f5884b7f99ac681@fourthworld.com> jbv wrote: > Is there a possibility to set a custom color to a regular > scrollbar ? Requested 2009, presumably low priority since scrollbars are so common most folks want the standard OS appearance. In fact, I no longer have a need for custom scrollbar colors myself. https://quality.livecode.com/show_bug.cgi?id=8017 > My problem is that the scrollbar looks ok on Mac, but > on Windows it's 100% black... If the default appearance of a control doesn't match OS specs, that would be a bug. -- Richard Gaskin FourthWorld.com From bobsneidar at iotecdigital.com Tue Oct 22 13:57:21 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 22 Oct 2024 17:57:21 +0000 Subject: Scrollbar color In-Reply-To: <41e97bf5f28a6eb97cfc32820f5884b7f99ac681@fourthworld.com> References: <41e97bf5f28a6eb97cfc32820f5884b7f99ac681@fourthworld.com> Message-ID: Ah. I would look at your Windows appearance settings. For some reason Microsoft thinks uglifying their OS makes it look more modern. Bob S On Oct 22, 2024, at 9:42 AM, Richard Gaskin via use-livecode wrote: My problem is that the scrollbar looks ok on Mac, but on Windows it's 100% black... If the default appearance of a control doesn't match OS specs, that would be a bug. -- Richard Gaskin FourthWorld.com From paul at researchware.com Tue Oct 22 17:01:28 2024 From: paul at researchware.com (Paul Dupuis) Date: Tue, 22 Oct 2024 17:01:28 -0400 Subject: Scrollbar color In-Reply-To: References: <41e97bf5f28a6eb97cfc32820f5884b7f99ac681@fourthworld.com> Message-ID: <818dd57a-4a22-430d-bfbf-830a0cea58b6@researchware.com> In Livecode (9.6.13 is what I used), click on the "Sample Stacks" icon in the toolbar. In the Sample Stacks window that comes up, search for "Scrollbar" (across all Stacks). he first one that comes up is a stack (by Oliver Kenyon) to make custom scrollbars. I have not ever had a need for a custom scrollbar, so I have not used this stack and have no idea how good it is, but you may want to download it and give it a try. From bobsneidar at iotecdigital.com Fri Oct 25 12:38:34 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 25 Oct 2024 16:38:34 +0000 Subject: Bring a stack to front when it is already open Message-ID: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> This may seem simple, but for some reason it’s not working. I have a Views function that can open multiple windows in one click, but sometimes stacks can be obscured by others, so I have a Modules Menu where you can select a stack and it will open it. The problem is, Open Stack and Go Card x Of Stack are not bringing the stack I select to the front, and neither is topLevel which only works if the stack is not already open. How? Bob S From andreas.bergendal at gmail.com Sat Oct 26 14:57:06 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Sat, 26 Oct 2024 20:57:06 +0200 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <96E5F8EC-B81D-4707-96C9-4C2A6BE6B67A@ucsb.edu> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> <696F736A-3B04-4650-B616-9F75BAD0CB48@ucsb.edu> <8A6C2C52-C2ED-4E88-AEEA-745C7E61F08B@gmail.com> <96E5F8EC-B81D-4707-96C9-4C2A6BE6B67A@ucsb.edu> Message-ID: <5E121EEC-4B91-4B89-B64E-D85BFE9DDF62@gmail.com> So, the release of LC 10 Classic stable and 10.0.1 RC1 were interesting, but they incorporated absolutely none of the web deployment customisation settings that would have been expected at this stage. Thus, my WebDeployHelper tool remains quite relevant for the foreseeable future (no, LC Create is nowhere there yet…). I have updated it with some javaScript error checking added to the resize listener, that should hopefully reduce the rate of javaScript-caused app crashes when running in mobile browsers. To recap: You need a LC 10 (classic) web deployment license to use it. It does NOT work with LC Create desktop, which has no web deployment enabled yet. Download it at the usual place: https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest Or, if you’re already using a previous version, just open the stack and it will prompt an update. /Andreas From phil at pdslabs.net Sat Oct 26 15:48:50 2024 From: phil at pdslabs.net (Phil Davis) Date: Sat, 26 Oct 2024 12:48:50 -0700 Subject: Bring a stack to front when it is already open In-Reply-To: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> References: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> Message-ID: Hi Bob, This may answer your need but isn't very elegant: *put*thestyleofstack"untitled 1"intox *set*thestyleofstack"untitled 1"to*palette* *set*thestyleofstack"untitled 1"tox Phil Davis On 10/25/24 9:38 AM, Bob Sneidar via use-livecode wrote: > This may seem simple, but for some reason its not working. I have a Views function that can open multiple windows in one click, but sometimes stacks can be obscured by others, so I have a Modules Menu where you can select a stack and it will open it. > > The problem is, Open Stack and Go Card x Of Stack are not bringing the stack I select to the front, and neither is topLevel which only works if the stack is not already open. > > How? > > 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 -- Phil Davis (503) 307-4363 From phil at pdslabs.net Sat Oct 26 15:58:18 2024 From: phil at pdslabs.net (Phil Davis) Date: Sat, 26 Oct 2024 12:58:18 -0700 Subject: Bring a stack to front when it is already open In-Reply-To: References: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> Message-ID: <791c9479-1430-4435-a5ce-c9e23d740f3b@pdslabs.net> Oops - sorry about the run-on words. Weird.    put the style of stack "untitled 1" into x    set the style of stack "untitled 1" to "palette"    set the style of stack "untitled 1" to x On 10/26/24 12:48 PM, Phil Davis via use-livecode wrote: > Hi Bob, > > This may answer your need but isn't very elegant: > >    *put*thestyleofstack"untitled 1"intox >    *set*thestyleofstack"untitled 1"to*palette* >    *set*thestyleofstack"untitled 1"tox > > Phil Davis > > > On 10/25/24 9:38 AM, Bob Sneidar via use-livecode wrote: >> This may seem simple, but for some reason its not working. I have a >> Views function that can open multiple windows in one click, but >> sometimes stacks can be obscured by others, so I have a Modules Menu >> where you can select a stack and it will open it. >> >> The problem is, Open Stack and Go Card x Of Stack are not bringing >> the stack I select to the front, and neither is topLevel which only >> works if the stack is not already open. >> >> How? >> >> 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 > -- Phil Davis (503) 307-4363 From bobsneidar at iotecdigital.com Mon Oct 28 11:27:28 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 28 Oct 2024 15:27:28 +0000 Subject: Bring a stack to front when it is already open In-Reply-To: <791c9479-1430-4435-a5ce-c9e23d740f3b@pdslabs.net> References: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> <791c9479-1430-4435-a5ce-c9e23d740f3b@pdslabs.net> Message-ID: <8D224198-8F8B-4A97-B459-388F9254FA3D@iotecdigital.com> Thanks Phil. I suspected it might be a workaround, but it just seemed odd to me that with all the window commands and functions, there was no way to do this with a single command. Bob S > On Oct 26, 2024, at 12:58 PM, Phil Davis via use-livecode wrote: > > Oops - sorry about the run-on words. Weird. > > put the style of stack "untitled 1" into x > set the style of stack "untitled 1" to "palette" > set the style of stack "untitled 1" to x > > > On 10/26/24 12:48 PM, Phil Davis via use-livecode wrote: >> Hi Bob, >> >> This may answer your need but isn't very elegant: >> >> *put*thestyleofstack"untitled 1"intox >> *set*thestyleofstack"untitled 1"to*palette* >> *set*thestyleofstack"untitled 1"tox >> >> Phil Davis >> >> >> On 10/25/24 9:38 AM, Bob Sneidar via use-livecode wrote: >>> This may seem simple, but for some reason it’s not working. I have a Views function that can open multiple windows in one click, but sometimes stacks can be obscured by others, so I have a Modules Menu where you can select a stack and it will open it. >>> >>> The problem is, Open Stack and Go Card x Of Stack are not bringing the stack I select to the front, and neither is topLevel which only works if the stack is not already open. >>> >>> How? >>> >>> 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 >> > > -- > Phil Davis > (503) 307-4363 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Oct 28 19:45:35 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 28 Oct 2024 23:45:35 +0000 Subject: Bring a stack to front when it is already open Message-ID: <6a765598e9b93f1bc6ad2dc454efc48c5dc6dc6f@fourthworld.com> Bob wrote: > This may seem simple, but for some reason it’s not working. I have a > Views function that can open multiple windows in one click, but > sometimes stacks can be obscured by others, so I have a Modules Menu > where you can select a stack and it will open it. > > The problem is, Open Stack and Go Card x Of Stack are not bringing > the stack I select to the front, and neither is topLevel which only > works if the stack is not already open. "open stack " works. If it's not working there something else is in play. Quick verification: 1. Create a stack, name it "AAA" 2. Create a bunch of other stacks, so "AAA" is behind them 3. Run this in the Message Box: open stack "AAA" Result: "AAA" comes to the front of all stack windows -- Richard Gaskin FourthWorld.com From curry at pair.com Mon Oct 28 20:16:23 2024 From: curry at pair.com (Curry Kenworthy) Date: Mon, 28 Oct 2024 20:16:23 -0400 Subject: WordLib and SpreadLib update news for LC 10 Message-ID: Thank you to several people who have inquired about LC 10 recently - Yes, I am preparing WordLib and SpreadLib updates for LC 10! And a couple of other issues. Please whitelist my email address to ensure successful communication. No exact release schedule yet - Comments and code delayed a bit by health issues. Happy coding! More news soon.... Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice files in LiveCode! "Dominate documents with WordLib and LC" https://livecodeaddons.com/ From jbv at souslelogo.com Tue Oct 29 04:53:11 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 29 Oct 2024 04:53:11 -0400 Subject: How to determine if a text file is UTF8 ? Message-ID: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> Hi list, How to determine if a text file is UTF8 or just plain ASCII ? In other words, how to know if one should use open file myfile.txt for UTF8 read or open file myfile.txt for read Thank you. jbv From bobsneidar at iotecdigital.com Tue Oct 29 11:09:53 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Oct 2024 15:09:53 +0000 Subject: Bring a stack to front when it is already open In-Reply-To: <6a765598e9b93f1bc6ad2dc454efc48c5dc6dc6f@fourthworld.com> References: <6a765598e9b93f1bc6ad2dc454efc48c5dc6dc6f@fourthworld.com> Message-ID: Okay, that’s odd. It IS working now. Bob S > On Oct 28, 2024, at 4:45 PM, Richard Gaskin via use-livecode wrote: > > Bob wrote: > >> This may seem simple, but for some reason it’s not working. I have a >> Views function that can open multiple windows in one click, but >> sometimes stacks can be obscured by others, so I have a Modules Menu >> where you can select a stack and it will open it. >> >> The problem is, Open Stack and Go Card x Of Stack are not bringing >> the stack I select to the front, and neither is topLevel which only >> works if the stack is not already open. > > "open stack " works. If it's not working there something else is in play. > > > Quick verification: > > 1. Create a stack, name it "AAA" > 2. Create a bunch of other stacks, so "AAA" is behind them > 3. Run this in the Message Box: > > open stack "AAA" > > Result: "AAA" comes to the front of all stack windows > > -- > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Oct 29 11:17:12 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Oct 2024 15:17:12 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> Message-ID: <9928C66F-F3A0-4C06-B4DA-FE0880AAEDEA@iotecdigital.com> There is a Wikipedia article on this. Turns out it is not straightforward. There can be a Byte Order Mark that the file begins with but not all vendors use it. And I do not think you can make the determination simply by examining the contents of the file. Byte-order mark[edit] If the Unicode byte-order mark U+FEFF is at the start of a UTF-8 file, the first three bytes will be 0xEF, 0xBB, 0xBF. The Unicode Standard neither requires nor recommends the use of the BOM for UTF-8, but warns that it may be encountered at the start of a file trans-coded from another encoding.[23] While ASCII text encoded using UTF-8 is backward compatible with ASCII, this is not true when Unicode Standard recommendations are ignored and a BOM is added. A BOM can confuse software that isn't prepared for it but can otherwise accept UTF-8, e.g. programming languages that permit non-ASCII bytes in string literals but not at the start of the file. Nevertheless, there was and still is software that always inserts a BOM when writing UTF-8, and refuses to correctly interpret UTF-8 unless the first character is a BOM (or the file only contains ASCII).[24] https://en.wikipedia.org/wiki/UTF-8# Bob S > On Oct 29, 2024, at 1:53 AM, jbv via use-livecode wrote: > > Hi list, > > How to determine if a text file is UTF8 or just plain ASCII ? > In other words, how to know if one should use > open file myfile.txt for UTF8 read > or > open file myfile.txt for read > > Thank you. > 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 Tue Oct 29 11:31:11 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Oct 2024 15:31:11 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <9928C66F-F3A0-4C06-B4DA-FE0880AAEDEA@iotecdigital.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> <9928C66F-F3A0-4C06-B4DA-FE0880AAEDEA@iotecdigital.com> Message-ID: <9DAD6CFB-A937-44C0-9833-E779CE08F66D@iotecdigital.com> I suppose you could also use textDecode(, “UTF-8”) to convert the text to that format. Bob S > On Oct 29, 2024, at 8:17 AM, Bob Sneidar via use-livecode wrote: > > There is a Wikipedia article on this. Turns out it is not straightforward. There can be a Byte Order Mark that the file begins with but not all vendors use it. And I do not think you can make the determination simply by examining the contents of the file. > > Byte-order mark[edit] > If the Unicode byte-order mark U+FEFF is at the start of a UTF-8 file, the first three bytes will be 0xEF, 0xBB, 0xBF. > The Unicode Standard neither requires nor recommends the use of the BOM for UTF-8, but warns that it may be encountered at the start of a file trans-coded from another encoding.[23] While ASCII text encoded using UTF-8 is backward compatible with ASCII, this is not true when Unicode Standard recommendations are ignored and a BOM is added. A BOM can confuse software that isn't prepared for it but can otherwise accept UTF-8, e.g. programming languages that permit non-ASCII bytes in string literals but not at the start of the file. Nevertheless, there was and still is software that always inserts a BOM when writing UTF-8, and refuses to correctly interpret UTF-8 unless the first character is a BOM (or the file only contains ASCII).[24] > > https://en.wikipedia.org/wiki/UTF-8# > > Bob S > > >> On Oct 29, 2024, at 1:53 AM, jbv via use-livecode wrote: >> >> Hi list, >> >> How to determine if a text file is UTF8 or just plain ASCII ? >> In other words, how to know if one should use >> open file myfile.txt for UTF8 read >> or >> open file myfile.txt for read >> >> Thank you. >> 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 bobsneidar at iotecdigital.com Tue Oct 29 11:32:50 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Oct 2024 15:32:50 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <9DAD6CFB-A937-44C0-9833-E779CE08F66D@iotecdigital.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> <9928C66F-F3A0-4C06-B4DA-FE0880AAEDEA@iotecdigital.com> <9DAD6CFB-A937-44C0-9833-E779CE08F66D@iotecdigital.com> Message-ID: <0EC3AD01-7C4D-4ABB-9B4E-5D605404EE57@iotecdigital.com> So open file for binary read, then put textDecode(it, “UTF-8”) into tText. Bob S > On Oct 29, 2024, at 8:31 AM, Bob Sneidar wrote: > > I suppose you could also use textDecode(, “UTF-8”) to convert the text to that format. > > Bob S > > >> On Oct 29, 2024, at 8:17 AM, Bob Sneidar via use-livecode wrote: >> >> There is a Wikipedia article on this. Turns out it is not straightforward. There can be a Byte Order Mark that the file begins with but not all vendors use it. And I do not think you can make the determination simply by examining the contents of the file. >> >> Byte-order mark[edit] >> If the Unicode byte-order mark U+FEFF is at the start of a UTF-8 file, the first three bytes will be 0xEF, 0xBB, 0xBF. >> The Unicode Standard neither requires nor recommends the use of the BOM for UTF-8, but warns that it may be encountered at the start of a file trans-coded from another encoding.[23] While ASCII text encoded using UTF-8 is backward compatible with ASCII, this is not true when Unicode Standard recommendations are ignored and a BOM is added. A BOM can confuse software that isn't prepared for it but can otherwise accept UTF-8, e.g. programming languages that permit non-ASCII bytes in string literals but not at the start of the file. Nevertheless, there was and still is software that always inserts a BOM when writing UTF-8, and refuses to correctly interpret UTF-8 unless the first character is a BOM (or the file only contains ASCII).[24] >> >> https://en.wikipedia.org/wiki/UTF-8# >> >> Bob S >> >> >>> On Oct 29, 2024, at 1:53 AM, jbv via use-livecode wrote: >>> >>> Hi list, >>> >>> How to determine if a text file is UTF8 or just plain ASCII ? >>> In other words, how to know if one should use >>> open file myfile.txt for UTF8 read >>> or >>> open file myfile.txt for read >>> >>> Thank you. >>> 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 mark at livecode.com Tue Oct 29 12:23:58 2024 From: mark at livecode.com (Mark Waddingham) Date: Tue, 29 Oct 2024 16:23:58 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> Message-ID: <8eed3ceb4735b57f11bbc631a5e39c31@livecode.com> On 2024-10-29 08:53, jbv via use-livecode wrote: > Hi list, > > How to determine if a text file is UTF8 or just plain ASCII ? > In other words, how to know if one should use > open file myfile.txt for UTF8 read > or > open file myfile.txt for read If it is really plain ASCII then it doesn't matter - UTF8 is a strict superset of ASCII. All ASCII chars are identical - they are codes 0-127 so only use 7-bits (as ASCII does). Any UTF-8 chars will start with a byte which has the high bit set so will be in the range 128-255 - UTF-8 encoded chars are always at least two bytes, and all those bytes have the top bit set. If by 'ASCII' you mean 'some native encoding' like MacRoman or Latin-1 (Windows 1252), then things are a bit more tricky. Unless the text file has a byte-order-mark (BOM) at the front (which these days are becoming much less common) you can only really tell by guessing. The simplest guess is to see if it 'roundtrips' as utf-8 and if it does then it is almost certainly utf-8; if it does not, then it is either unicode encoding (e.g. UTF-16 - which is often found on Windows), or some other encoding (typically on mac this will be MacRoman, and on Windows this will be Latin-1 - but that's typically, there are 100's of region specific encodings so generally it depends on where the file came from / the locale of the computer it was created on - obviously with unicode this is not really an issue for new stuff, its more legacy stuff). So if you are faced with text files may either be the 'platform native' encoding (as LiveCode sees it) or utf-8 without a BOM: local tBinText, tText put url ("binfile:myfile.txt") into tBinText put textDecode(tBinText, "utf-8") into tText if textEncode(tText, "utf-8") is not tBinText then -- If tText does not encode back to utf-8 identically, then it means there are invalid utf-8 -- byte sequences in it which means that it is either a corrupted utf-8 file (unlikely) or -- not utf-8 put textDecode(tBinText, "native") into tText else -- If the first char is the unicode 'zero width no-break space' then that was a BOM which we -- don't want (the logic here is that that char makes no sense at the start of a file so is -- reserved in that specific case to be used as a marker for unicode encoding) if codeunit 1 of tText is numToCodepoint(0xFEFF) then delete codeunit 1 of tText end if end if -- Perform the general EOL conversion the engine would do reading text replace crlf with return in tText replace numToCodepoint(13) with return in tText I'd estimate this probably 99% reliable - in order for a native encoded file to *also* be valid UTF-8 is quite unlikely as for that to be the case you'd need some very strange sequences of non-ascii characters (which tend to always be surrounded by ASCII - e.g. accented chars, math symbols, indices, quote variants). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From jbv at souslelogo.com Tue Oct 29 14:01:40 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 29 Oct 2024 14:01:40 -0400 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> Message-ID: <1e4d7f30e869b825e0325031e25cab2e@souslelogo.com> Thank you all for your answers, and especially Mark for posting some code that I will try immediately. From benr_mc at cogapp.com Wed Oct 30 06:17:01 2024 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 30 Oct 2024 10:17:01 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <8eed3ceb4735b57f11bbc631a5e39c31@livecode.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> <8eed3ceb4735b57f11bbc631a5e39c31@livecode.com> Message-ID: Thanks for the handy tip re validating UTF8, which I didn't know. Can I use this opportunity to make the plea once again to support the basic encodings on any platform, rather than relying on the hated "native", i.e. https://quality.livecode.com/show_bug.cgi?id=12205 and bearing in mind the comments of one M*rk W*dd*ingh*m in 2014: > In any case, I can't argue with the suggestion that the language parameter should enable at least the most common charsets to be leveraged and converted to/from Unicode. ... > At least for release we are aiming to have the list above working on all platforms. (UTF-8, UTF-16 (BE and LE), UTF-32 (BE and LE), MacRoman, ISO8859-1, Windows-1252, ASCII) (comments on https://quality.livecode.com/show_bug.cgi?id=3674) Thanks for listening! Ben On 29/10/2024 16:23, Mark Waddingham via use-livecode wrote: > On 2024-10-29 08:53, jbv via use-livecode wrote: >> Hi list, >> >> How to determine if a text file is UTF8 or just plain ASCII ? >> In other words, how to know if one should use >>   open file myfile.txt for UTF8 read >> or >>   open file myfile.txt for read > > If it is really plain ASCII then it doesn't matter - UTF8 is a strict superset > of ASCII. > > All ASCII chars are identical - they are codes 0-127 so only use 7-bits (as > ASCII does). > > Any UTF-8 chars will start with a byte which has the high bit set so will be > in the range 128-255 - UTF-8 encoded chars are always at least two bytes, and > all those bytes have the top bit set. > > If by 'ASCII' you mean 'some native encoding' like MacRoman or Latin-1 > (Windows 1252), then things are a bit more tricky. Unless the text file has a > byte-order-mark (BOM) at the front (which these days are becoming much less > common) you can only really tell by guessing. > > The simplest guess is to see if it 'roundtrips' as utf-8 and if it does then > it is almost certainly utf-8; if it does not, then it is either unicode > encoding (e.g. UTF-16 - which is often found on Windows), or some other > encoding (typically on mac this will be MacRoman, and on Windows this will be > Latin-1 - but that's typically, there are 100's of region specific encodings > so generally it depends on where the file came from / the locale of the > computer it was created on - obviously with unicode this is not really an > issue for new stuff, its more legacy stuff). > > So if you are faced with text files may either be the 'platform native' > encoding (as LiveCode sees it) or utf-8 without a BOM: > >   local tBinText, tText >   put url ("binfile:myfile.txt") into tBinText >   put textDecode(tBinText, "utf-8") into tText >   if textEncode(tText, "utf-8") is not tBinText then >      -- If tText does not encode back to utf-8 identically, then it means > there are invalid utf-8 >      -- byte sequences in it which means that it is either a corrupted utf-8 > file (unlikely) or >      -- not utf-8 >      put textDecode(tBinText, "native") into tText >   else >     -- If the first char is the unicode 'zero width no-break space' then that > was a BOM which we >     -- don't want (the logic here is that that char makes no sense at the > start of a file so is >     -- reserved in that specific case to be used as a marker for unicode > encoding) >     if codeunit 1 of tText is numToCodepoint(0xFEFF) then >       delete codeunit 1 of tText >     end if >   end if > >   -- Perform the general EOL conversion the engine would do reading text >   replace crlf with return in tText >   replace numToCodepoint(13) with return in tText > > I'd estimate this probably 99% reliable - in order for a native encoded file > to *also* be valid UTF-8 is quite unlikely as for that to be the case you'd > need some very strange sequences of non-ascii characters (which tend to always > be surrounded by ASCII - e.g. accented chars, math symbols, indices, quote > variants). > > Warmest Regards, > > Mark. > From craig at starfirelighting.com Thu Oct 31 09:25:48 2024 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 31 Oct 2024 09:25:48 -0400 Subject: Bring a stack to front when it is already open In-Reply-To: References: <6a765598e9b93f1bc6ad2dc454efc48c5dc6dc6f@fourthworld.com> Message-ID: <58B8D7C6-0C32-4442-A928-7EC1BDA58B93@starfirelighting.com> Bob. Not odd at all. I just went through something similar: https://forums.livecode.com/viewtopic.php?f=9&t=39422 Haunted software. It is halloween, after all. Craig > On Oct 29, 2024, at 11:09 AM, Bob Sneidar via use-livecode wrote: > > Okay, that’s odd. It IS working now. > > Bob S > > >> On Oct 28, 2024, at 4:45 PM, Richard Gaskin via use-livecode wrote: >> >> Bob wrote: >> >>> This may seem simple, but for some reason it’s not working. I have a >>> Views function that can open multiple windows in one click, but >>> sometimes stacks can be obscured by others, so I have a Modules Menu >>> where you can select a stack and it will open it. >>> >>> The problem is, Open Stack and Go Card x Of Stack are not bringing >>> the stack I select to the front, and neither is topLevel which only >>> works if the stack is not already open. >> >> "open stack " works. If it's not working there something else is in play. >> >> >> Quick verification: >> >> 1. Create a stack, name it "AAA" >> 2. Create a bunch of other stacks, so "AAA" is behind them >> 3. Run this in the Message Box: >> >> open stack "AAA" >> >> Result: "AAA" comes to the front of all stack windows >> >> -- >> Richard Gaskin >> FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Thu Oct 31 10:47:56 2024 From: heather at livecode.com (Heather Laine) Date: Thu, 31 Oct 2024 14:47:56 +0000 Subject: LiveCode Create dp-5 released Message-ID: <7F4181AC-3348-4D24-911D-82D2D7306BED@livecode.com> Dear list folks, LiveCode Create is continuing to make great progress. With the 1.0 dp-5 release we have a number of new features and a whole slew of fixes to make using the new platform a lot nicer. The primary improvement in this release is the merging of the internal engines, so that if you are using Classic within Create, you can share Create based extensions. Read more here: https://livecode.com/create-dp-5-unified-engines-and-shared-extensions/ Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From bobsneidar at iotecdigital.com Thu Oct 31 14:41:19 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Oct 2024 18:41:19 +0000 Subject: Read Binary heads up Message-ID: <4F9DAE0C-DA90-412B-8A60-FC123230BAE3@iotecdigital.com> I want to give everyone a heads up. I created a handler to convert a Konica address book to a Toshiba one. First I open the Konica address book using binary read. But for some reason itemOffset was not working, and neither did “contains”. I couldn’t figure it out until I copy/pasted a line of the binary data into the message box, and then tried to backspace to shorten the line (thinking it might be too long). To my surprise, I had to backspace twice for every character, leading me to believe the file might be UTF-16! I used open file filename for read (without the binary) and all is well. I guess the moral of the story is, if you don’t *have* to open binary, don’t. Bob S From tom at makeshyft.com Thu Oct 31 15:35:00 2024 From: tom at makeshyft.com (Tom Glod) Date: Thu, 31 Oct 2024 15:35:00 -0400 Subject: Read Binary heads up In-Reply-To: <4F9DAE0C-DA90-412B-8A60-FC123230BAE3@iotecdigital.com> References: <4F9DAE0C-DA90-412B-8A60-FC123230BAE3@iotecdigital.com> Message-ID: Interesting, thanks ..... I think I ran into this before. WIll double check to default to text mode. On Thu, Oct 31, 2024 at 2:42 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I want to give everyone a heads up. I created a handler to convert a > Konica address book to a Toshiba one. First I open the Konica address book > using binary read. But for some reason itemOffset was not working, and > neither did “contains”. I couldn’t figure it out until I copy/pasted a line > of the binary data into the message box, and then tried to backspace to > shorten the line (thinking it might be too long). To my surprise, I had to > backspace twice for every character, leading me to believe the file might > be UTF-16! > > I used open file filename for read (without the binary) and all is well. I > guess the moral of the story is, if you don’t *have* to open binary, don’t. > > Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Thu Oct 3 14:58:14 2024 From: dsc at swcp.com (Dar Scott) Date: Thu, 3 Oct 2024 12:58:14 -0600 Subject: New horizons for me... Message-ID: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Hello all, It is with a sad heart and a grieving kidney that I am announcing that darzLAB (formally known as Dar Scott Consulting) is closing. Your speculations as to that reason why have less truth than the truth of all your speculations should you truly speculate. It is complicated. I have been on this list for many centuries or less. In that time I have loved half of you twice as much as my utmost love for most. I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. I will not be shivering in the cold. A customer who knows my health situation is putting together a job offer, full-time as long as I can. It will be nice to relax in that. Though I might tinker with some LiveCode over the next year or two, I am leaving the lists at the end of the week. Dar Scott DarScott at darzLAB.com From prothero at ucsb.edu Thu Oct 3 15:02:14 2024 From: prothero at ucsb.edu (William Prothero) Date: Thu, 3 Oct 2024 12:02:14 -0700 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: <92651365-372F-46C1-90A7-58B9FA8FA11B@ucsb.edu> Far, Wishing you happiness and peace in your journey. Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On Oct 3, 2024, at 11:59 AM, Dar Scott via use-livecode wrote: > > Hello all, > > It is with a sad heart and a grieving kidney that I am announcing that darzLAB (formally known as Dar Scott Consulting) is closing. > > Your speculations as to that reason why have less truth than the truth of all your speculations should you truly speculate. It is complicated. > > I have been on this list for many centuries or less. In that time I have loved half of you twice as much as my utmost love for most. > > I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. > > I will not be shivering in the cold. A customer who knows my health situation is putting together a job offer, full-time as long as I can. It will be nice to relax in that. > > Though I might tinker with some LiveCode over the next year or two, I am leaving the lists at the end of the week. > > Dar Scott > > DarScott at darzLAB.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Thu Oct 3 15:10:14 2024 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 3 Oct 2024 20:10:14 +0100 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: Thank you Dar for your many contributions to this and other LC forums. You will be missed, and will be warmly welcomed back at anytime. Rest, heal and may good health follow. Mark Sent from my iPhone > On Oct 3, 2024, at 7:59 PM, Dar Scott via use-livecode wrote: > > I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. From bobsneidar at iotecdigital.com Thu Oct 3 16:24:34 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 3 Oct 2024 20:24:34 +0000 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: <268A304E-C489-4AD7-9344-3800835F249A@iotecdigital.com> Well wishes. Bob S > On Oct 3, 2024, at 11:58 AM, Dar Scott via use-livecode wrote: > > Hello all, > > It is with a sad heart and a grieving kidney that I am announcing that darzLAB (formally known as Dar Scott Consulting) is closing. > > Your speculations as to that reason why have less truth than the truth of all your speculations should you truly speculate. It is complicated. > > I have been on this list for many centuries or less. In that time I have loved half of you twice as much as my utmost love for most. > > I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. > > I will not be shivering in the cold. A customer who knows my health situation is putting together a job offer, full-time as long as I can. It will be nice to relax in that. > > Though I might tinker with some LiveCode over the next year or two, I am leaving the lists at the end of the week. > > Dar Scott > > DarScott at darzLAB.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kaveh at rivervalley.io Thu Oct 3 17:14:11 2024 From: kaveh at rivervalley.io (Kaveh Bazargan) Date: Thu, 3 Oct 2024 22:14:11 +0100 Subject: New horizons for me... In-Reply-To: References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: Wish you well Dar. Any friend of LiveCode is a friend of mine too. ;-) Regards Kaveh On Thu, 3 Oct 2024 at 20:11, Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > Thank you Dar for your many contributions to this and other LC forums. You > will be missed, and will be warmly welcomed back at anytime. Rest, heal and > may good health follow. > > Mark > > Sent from my iPhone > > > On Oct 3, 2024, at 7:59 PM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I have obtained good and clear advice when I was being obtuse. I > received encouragement when I was frustrated. I felt a camaraderie as we > tracked down problems. We have been part of something good. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID ● @kaveh1000 at mastodon.social *Accelerating the Communication of Research* * [image: https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/] * From scott at elementarysoftware.com Thu Oct 3 20:26:12 2024 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Thu, 3 Oct 2024 17:26:12 -0700 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: <615834E4-066E-4FB2-8F89-45D194BD2353@elementarysoftware.com> Hello Dar, I was happy to see you posting to the list the other day. And now sad to hear that you may be leaving us again. I remember first meeting you at the conferences in Monterey and sitting with you at lunch. I recall being struck by what a kind and generous person you were. I am wishing you well (and hoping we may yet have the benefit of your presence on this list.) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ > On Oct 3, 2024, at 11:58 AM, Dar Scott via use-livecode wrote: > > Hello all, > > It is with a sad heart and a grieving kidney that I am announcing that darzLAB (formally known as Dar Scott Consulting) is closing. > > Your speculations as to that reason why have less truth than the truth of all your speculations should you truly speculate. It is complicated. > > I have been on this list for many centuries or less. In that time I have loved half of you twice as much as my utmost love for most. > > I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. > > I will not be shivering in the cold. A customer who knows my health situation is putting together a job offer, full-time as long as I can. It will be nice to relax in that. > > Though I might tinker with some LiveCode over the next year or two, I am leaving the lists at the end of the week. > > Dar Scott > > DarScott at darzLAB.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Oct 4 12:39:14 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Oct 2024 11:39:14 -0500 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: <19258665350.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Dar, I missed you while you were gone and was so happy to see you back. Now I'll miss you again. I'll never forget our proudest moment when Andre, you, and I pelted Richard Gaskin with candy on stage while he was giving his presentation on Hungarian notation variables, and we were screaming "Leave our variables alone! Keep your hands off our variables!". You said you couldn't find any tomatoes so you bought red candy instead. It was hilarious. Truth to tell, Richard was right and I adopted his notation. But that doesn't detract from the moment. I'll miss your humor and kindness. Be well. And if you ever need an untouched water glass in the future I'll give you mine again. Jacque -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 3, 2024 2:00:45 PM Dar Scott via use-livecode wrote: > Hello all, > > It is with a sad heart and a grieving kidney that I am announcing that > darzLAB (formally known as Dar Scott Consulting) is closing. > > Your speculations as to that reason why have less truth than the truth of > all your speculations should you truly speculate. It is complicated. > > I have been on this list for many centuries or less. In that time I have > loved half of you twice as much as my utmost love for most. > > I have obtained good and clear advice when I was being obtuse. I received > encouragement when I was frustrated. I felt a camaraderie as we tracked > down problems. We have been part of something good. > > I will not be shivering in the cold. A customer who knows my health > situation is putting together a job offer, full-time as long as I can. It > will be nice to relax in that. > > Though I might tinker with some LiveCode over the next year or two, I am > leaving the lists at the end of the week. > > Dar Scott > > DarScott at darzLAB.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Sat Oct 5 15:09:58 2024 From: tom at makeshyft.com (Tom Glod) Date: Sat, 5 Oct 2024 15:09:58 -0400 Subject: New horizons for me... In-Reply-To: <19258665350.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> <19258665350.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: All the best Dar. Funny story Jacque! On Fri, Oct 4, 2024 at 12:40 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Dar, I missed you while you were gone and was so happy to see you back. > Now > I'll miss you again. > > I'll never forget our proudest moment when Andre, you, and I pelted > Richard > Gaskin with candy on stage while he was giving his presentation on > Hungarian notation variables, and we were screaming "Leave our variables > alone! Keep your hands off our variables!". You said you couldn't find any > tomatoes so you bought red candy instead. It was hilarious. > > Truth to tell, Richard was right and I adopted his notation. But that > doesn't detract from the moment. > > I'll miss your humor and kindness. Be well. And if you ever need an > untouched water glass in the future I'll give you mine again. > > Jacque > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On October 3, 2024 2:00:45 PM Dar Scott via use-livecode > wrote: > > > Hello all, > > > > It is with a sad heart and a grieving kidney that I am announcing that > > darzLAB (formally known as Dar Scott Consulting) is closing. > > > > Your speculations as to that reason why have less truth than the truth > of > > all your speculations should you truly speculate. It is complicated. > > > > I have been on this list for many centuries or less. In that time I have > > loved half of you twice as much as my utmost love for most. > > > > I have obtained good and clear advice when I was being obtuse. I > received > > encouragement when I was frustrated. I felt a camaraderie as we tracked > > down problems. We have been part of something good. > > > > I will not be shivering in the cold. A customer who knows my health > > situation is putting together a job offer, full-time as long as I can. > It > > will be nice to relax in that. > > > > Though I might tinker with some LiveCode over the next year or two, I am > > leaving the lists at the end of the week. > > > > Dar Scott > > > > DarScott at darzLAB.com > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Mon Oct 7 10:57:40 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 07 Oct 2024 14:57:40 +0000 Subject: New horizons for me... Message-ID: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> I wrote to Dar off-list, since by now he's unsubscribed. But I did want to thank you for your participation in the candy distribution during the talk Ken and I gave on code style. I've lost count of how many talks I've given at conferences over the years, but that one is a story I still tell. The candy selection was quite good, the fun-size packs perfect for a weekend on the go. If you ever wish to toss candy my way at a conference I'll welcome it just as much as Ken and I enjoyed that batch in Monterrey. :) Richard Gaskin FourthWorld.com Jacque wrote: > Dar, I missed you while you were gone and was so happy to see you back. > Now I'll miss you again. > > I'll never forget our proudest moment when Andre, you, and I pelted > Richard Gaskin with candy on stage while he was giving his presentation > on Hungarian notation variables, and we were screaming "Leave our > variables alone! Keep your hands off our variables!". You said you > couldn't find any tomatoes so you bought red candy instead. It was > hilarious. > > Truth to tell, Richard was right and I adopted his notation. But > that doesn't detract from the moment. > > I'll miss your humor and kindness. Be well. And if you ever need > an untouched water glass in the future I'll give you mine again. > > Jacque From bogdanoff at me.com Mon Oct 7 11:39:42 2024 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 7 Oct 2024 11:39:42 -0400 Subject: New horizons for me... In-Reply-To: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> References: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> Message-ID: <7E20A3AE-7832-48A5-BE6F-D78FFF9A3076@me.com> I still want to know how Hungarian notation variables are useful in Livecode. Peter > On Oct 7, 2024, at 10:57 AM, Richard Gaskin via use-livecode wrote: > >> Hungarian notation variables From craig at starfirelighting.com Mon Oct 7 11:43:11 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 7 Oct 2024 11:43:11 -0400 Subject: New horizons for me... In-Reply-To: <7E20A3AE-7832-48A5-BE6F-D78FFF9A3076@me.com> References: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> <7E20A3AE-7832-48A5-BE6F-D78FFF9A3076@me.com> Message-ID: <0E596843-216A-4A02-8F11-1BB7302E12B6@starfirelighting.com> I use Visigoth notation wherever I can. That is why I cannot read my code later on. Craig > On Oct 7, 2024, at 11:39 AM, Peter Bogdanoff via use-livecode wrote: > > I still want to know how Hungarian notation variables are useful in Livecode. > > Peter > >> On Oct 7, 2024, at 10:57 AM, Richard Gaskin via use-livecode wrote: >> >>> Hungarian notation variables > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 7 17:15:33 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Oct 2024 16:15:33 -0500 Subject: New horizons for me... In-Reply-To: <0E596843-216A-4A02-8F11-1BB7302E12B6@starfirelighting.com> References: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> <7E20A3AE-7832-48A5-BE6F-D78FFF9A3076@me.com> <0E596843-216A-4A02-8F11-1BB7302E12B6@starfirelighting.com> Message-ID: <19268d65d20.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Since Hungarian notation puts the letters before the variable name, i.e.: t = temporary g = global l or s = script local ...etc I assume Visigoth notation puts them at the end, i.e.: tFoo becomes foot -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 7, 2024 10:45:33 AM Craig Newman via use-livecode wrote: > I use Visigoth notation wherever I can. That is why I cannot read my code > later on. > > Craig > >> On Oct 7, 2024, at 11:39 AM, Peter Bogdanoff via use-livecode >> wrote: >> >> I still want to know how Hungarian notation variables are useful in Livecode. >> >> Peter >> >>> On Oct 7, 2024, at 10:57 AM, Richard Gaskin via use-livecode >>> wrote: >>> >>>> Hungarian notation variables >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 7 17:22:39 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Oct 2024 16:22:39 -0500 Subject: New horizons for me... In-Reply-To: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> References: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> Message-ID: <19268dce118.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Yeah, well, you never shared any of it back so don't hold your breath. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 7, 2024 9:59:54 AM Richard Gaskin via use-livecode wrote: > I wrote to Dar off-list, since by now he's unsubscribed. > > But I did want to thank you for your participation in the candy > distribution during the talk Ken and I gave on code style. > > I've lost count of how many talks I've given at conferences over the years, > but that one is a story I still tell. > > The candy selection was quite good, the fun-size packs perfect for a > weekend on the go. If you ever wish to toss candy my way at a conference > I'll welcome it just as much as Ken and I enjoyed that batch in Monterrey. :) > > Richard Gaskin > FourthWorld.com > > > Jacque wrote: > >> Dar, I missed you while you were gone and was so happy to see you back. >> Now I'll miss you again. >> >> I'll never forget our proudest moment when Andre, you, and I pelted >> Richard Gaskin with candy on stage while he was giving his presentation >> on Hungarian notation variables, and we were screaming "Leave our >> variables alone! Keep your hands off our variables!". You said you >> couldn't find any tomatoes so you bought red candy instead. It was >> hilarious. >> >> Truth to tell, Richard was right and I adopted his notation. But >> that doesn't detract from the moment. >> >> I'll miss your humor and kindness. Be well. And if you ever need >> an untouched water glass in the future I'll give you mine again. >> >> Jacque > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Oct 7 18:17:07 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 07 Oct 2024 22:17:07 +0000 Subject: New horizons for me... Message-ID: Peter Bogdanoff wrote: > I still want to know how Hungarian notation variables are useful in Livecode. History and background of Hungarian Notation: https://en.wikipedia.org/wiki/Hungarian_notation The "Hungarian-Lite" a lot of us in the xTalk world use: http://www.fourthworld.com/embassy/articles/scriptstyle.html#Naming -- Richard Gaskin FourthWorld.com From bobsneidar at iotecdigital.com Mon Oct 7 19:57:48 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Oct 2024 23:57:48 +0000 Subject: New horizons for me... In-Reply-To: References: Message-ID: <35E5F38C-18C6-4C42-B658-C21A31C70706@iotecdigital.com> I thought Hungarian Notation was a way to write music for accordion players. Bob S > On Oct 7, 2024, at 3:17 PM, Richard Gaskin via use-livecode wrote: > > Peter Bogdanoff wrote: >> I still want to know how Hungarian notation variables are useful in Livecode. > > History and background of Hungarian Notation: > https://en.wikipedia.org/wiki/Hungarian_notation > > The "Hungarian-Lite" a lot of us in the xTalk world use: > http://www.fourthworld.com/embassy/articles/scriptstyle.html#Naming > > -- > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Oct 8 11:41:53 2024 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 8 Oct 2024 11:41:53 -0400 Subject: New horizons for me... In-Reply-To: <35E5F38C-18C6-4C42-B658-C21A31C70706@iotecdigital.com> References: <35E5F38C-18C6-4C42-B658-C21A31C70706@iotecdigital.com> Message-ID: <002f01db1998$9cce70e0$d66b52a0$@net> Nice... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Monday, October 07, 2024 7:58 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: New horizons for me... I thought Hungarian Notation was a way to write music for accordion players. Bob S > On Oct 7, 2024, at 3:17 PM, Richard Gaskin via use-livecode wrote: > > Peter Bogdanoff wrote: >> I still want to know how Hungarian notation variables are useful in Livecode. > > History and background of Hungarian Notation: > https://en.wikipedia.org/wiki/Hungarian_notation > > The "Hungarian-Lite" a lot of us in the xTalk world use: > http://www.fourthworld.com/embassy/articles/scriptstyle.html#Naming > > -- > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Wed Oct 9 09:50:46 2024 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 9 Oct 2024 16:50:46 +0300 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 STABLE and LiveCode 10.0.1 RC-1. - LiveCode 10.0.0 comes with 116 new features and bugfixes since the previous stable release. - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, including that building iOS standalones no longer requires a specific version of Xcode or iOS SDK! You can find more details on the bugfixes and improvements of these 2 new releases here: https://livecode.com/3-great-new-livecode-releases/ You can find the releases in your LiveCode account area or get them via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From klaus at major-k.de Wed Oct 9 10:23:33 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 9 Oct 2024 16:23:33 +0200 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: Hi Panos, wonderful, thank you! > Am 09.10.2024 um 15:50 schrieb panagiotis merakos via use-livecode : > Dear list members, > We are pleased to announce the release of LiveCode 10.0.0 STABLE and > LiveCode 10.0.1 RC-1. > - LiveCode 10.0.0 comes with 116 new features and bugfixes since the > previous stable release. > - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, > including that building iOS > standalones no longer requires a specific version of Xcode or iOS SDK! I really hope we will also see something similar for ANDROID development soon! 8-) Still wondering why an old version of JAVA is neccessary for this... > You can find more details on the bugfixes and improvements of these 2 new > releases here: https://livecode.com/3-great-new-livecode-releases/ > You can find the releases in your LiveCode account area or get them via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Wed Oct 9 11:15:07 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Oct 2024 15:15:07 +0000 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: <6FD6CBF4-305E-42EF-968F-29EABC5F5E2E@iotecdigital.com> Nice laundry list! Bob S > On Oct 9, 2024, at 6:50 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 10.0.0 STABLE and > LiveCode 10.0.1 RC-1. > > - LiveCode 10.0.0 comes with 116 new features and bugfixes since the > previous stable release. > > - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, > including that building iOS > standalones no longer requires a specific version of Xcode or iOS SDK! > > You can find more details on the bugfixes and improvements of these 2 new > releases here: > > https://livecode.com/3-great-new-livecode-releases/ > > You can find the releases in your LiveCode account area or get them via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Wed Oct 9 13:24:16 2024 From: jiml at netrin.com (Jim Lambert) Date: Wed, 9 Oct 2024 10:24:16 -0700 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: Excellent releases! Congratulations and Thank You, LiveCode Team! Jim Lambert From matthias_livecode_150811 at m-r-d.de Wed Oct 9 16:34:57 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Oct 2024 22:34:57 +0200 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: Good to see that there is progress, but after almost 3 years and several promises Livecode's Professional Network Layer (that's how LC Ltd. calls or called tsNet on their website) still does not support http/2 (bug 23355). It was promised for LC 9.6.8, then for 9.6.10 (by Kevin in a Fireside Chat) and then for the end of August and then for the final release of 10 which is out now. And even 10.0.1 RC1 does not have it included. What is the problem? Charles Warwick said in **2021** that an additional library has to be included in the tsNet build to support http/2 and that he plans to include it in the next build of tsNet. How many builds were created since then? Is this really so difficult? If you can't keep your promises, don't make them. Sorry for this post, but I am now really sick of this... Matthias > Am 09.10.2024 um 15:50 schrieb panagiotis merakos via use-livecode : > > Dear list members, > > We are pleased to announce the release of LiveCode 10.0.0 STABLE and > LiveCode 10.0.1 RC-1. > > - LiveCode 10.0.0 comes with 116 new features and bugfixes since the > previous stable release. > > - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, > including that building iOS > standalones no longer requires a specific version of Xcode or iOS SDK! > > You can find more details on the bugfixes and improvements of these 2 new > releases here: > > https://livecode.com/3-great-new-livecode-releases/ > > You can find the releases in your LiveCode account area or get them via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Thu Oct 10 05:22:53 2024 From: heather at livecode.com (Heather Laine) Date: Thu, 10 Oct 2024 10:22:53 +0100 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: Hello Matthias, I have been following up on this issue regularly to get http/2 supported. I apologize that it is not in 10.0.1, it was intended to be but it does turn out to be somewhat trickier than was initially thought. It's part done. It is being worked on. We expect to receive it soon and will ensure that it does get included in 10.0.2. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 9 Oct 2024, at 21:34, matthias rebbe via use-livecode wrote: > > Good to see that there is progress, but after almost 3 years and several promises Livecode's Professional Network Layer (that's how LC Ltd. calls or called tsNet on their website) still does not support http/2 (bug 23355). > > It was promised for LC 9.6.8, then for 9.6.10 (by Kevin in a Fireside Chat) and then for the end of August and then for the final release of 10 which is out now. And even 10.0.1 RC1 does not have it included. > > What is the problem? Charles Warwick said in **2021** that an additional library has to be included in the tsNet build to support http/2 and that he plans to include it in the next build of tsNet. How many builds were created since then? > Is this really so difficult? > > If you can't keep your promises, don't make them. > > Sorry for this post, but I am now really sick of this... > > Matthias > >> Am 09.10.2024 um 15:50 schrieb panagiotis merakos via use-livecode : >> >> Dear list members, >> >> We are pleased to announce the release of LiveCode 10.0.0 STABLE and >> LiveCode 10.0.1 RC-1. >> >> - LiveCode 10.0.0 comes with 116 new features and bugfixes since the >> previous stable release. >> >> - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, >> including that building iOS >> standalones no longer requires a specific version of Xcode or iOS SDK! >> >> You can find more details on the bugfixes and improvements of these 2 new >> releases here: >> >> https://livecode.com/3-great-new-livecode-releases/ >> >> You can find the releases in your LiveCode account area or get them via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> The LiveCode Team >> >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hlowe at me.com Thu Oct 10 13:36:46 2024 From: hlowe at me.com (HENRY LOWE) Date: Thu, 10 Oct 2024 10:36:46 -0700 Subject: LC 10.0.1(rc1) and XCode Message-ID: I installed LiveCode 10.0.1(rc1) on an Intel Mac and tried to set the current version of XCode (V16.0) as the source for the iOS SDK. I received the following error: The chosen folder in not a valid iOS SDK. Selected XCode must have iOS SDK among: 14.4 15.2 16.2 17.0 My XCode V16.0 has the iOS 18.0 and iOS 17.5 Simulators installed. I also installed the iOS 17.0 Simulator into XCode but that did not fix the problem. Henry From bobsneidar at iotecdigital.com Thu Oct 10 13:41:36 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Oct 2024 17:41:36 +0000 Subject: LC 10.0.1(rc1) and XCode In-Reply-To: References: Message-ID: <36B9E6AE-AD0F-4730-B9CE-041120BF88C4@iotecdigital.com> Sounds like a question for support at livecode.com. Bob S > On Oct 10, 2024, at 10:36 AM, HENRY LOWE via use-livecode wrote: > > I installed LiveCode 10.0.1(rc1) on an Intel Mac and tried to set the current version of XCode (V16.0) as the source for the iOS SDK. > > I received the following error: > > The chosen folder in not a valid iOS SDK. > Selected XCode must have iOS SDK among: > 14.4 > 15.2 > 16.2 > 17.0 > > My XCode V16.0 has the iOS 18.0 and iOS 17.5 Simulators installed. > > I also installed the iOS 17.0 Simulator into XCode but that did not fix the problem. > > Henry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Oct 11 06:17:20 2024 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Oct 2024 12:17:20 +0200 Subject: Clipping a group by script Message-ID: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> Hi friends, I want to clip a group by script but cannot get it to work!? See this image, it shows what i want to achieve: I want the content of the group to be clipped at the top and bottom. No problem when resizing manually but no dice by script so far. I tried many variations of boundingrect, rect, clipstorect, lockloc, height and whatnot. Any hints very welcome! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Fri Oct 11 07:01:27 2024 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 11 Oct 2024 14:01:27 +0300 Subject: LC 10.0.1(rc1) and XCode In-Reply-To: <36B9E6AE-AD0F-4730-B9CE-041120BF88C4@iotecdigital.com> References: <36B9E6AE-AD0F-4730-B9CE-041120BF88C4@iotecdigital.com> Message-ID: Hello all, This is indeed a bug, and it affects testing on the simulator. Long story short, if you want to test in the simulator, currently you have to choose an Xcode version that will include any of these SDKs: 14.4, 15.2, 16.2, 17.0 However, note that to build an iOS standalone for **device** you do NOT have to select an Xcode version in the Mobile prefs, you just have to ensure that any version of Xcode >= 12.4 is installed in the system. I have filed a bug report about this: https://quality.livecode.com/show_bug.cgi?id=24606 Kind regards, Panos -- On Thu, 10 Oct 2024 at 20:42, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Sounds like a question for support at livecode.com. > > Bob S > > > > On Oct 10, 2024, at 10:36 AM, HENRY LOWE via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I installed LiveCode 10.0.1(rc1) on an Intel Mac and tried to set the > current version of XCode (V16.0) as the source for the iOS SDK. > > > > I received the following error: > > > > The chosen folder in not a valid iOS SDK. > > Selected XCode must have iOS SDK among: > > 14.4 > > 15.2 > > 16.2 > > 17.0 > > > > My XCode V16.0 has the iOS 18.0 and iOS 17.5 Simulators installed. > > > > I also installed the iOS 17.0 Simulator into XCode but that did not fix > the problem. > > > > Henry > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From craig at starfirelighting.com Fri Oct 11 09:58:36 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Oct 2024 09:58:36 -0400 Subject: Clipping a group by script In-Reply-To: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> Message-ID: <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> Klaus. Answered in the forum: Klaus. If I make a group and set its height property to a value smaller than the original, the top of the group stays put, and the bottom is truncated, so that is half the battle. If I then play with the scroll of the group, I can control the visible portion. Craig > On Oct 11, 2024, at 6:17 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > I want to clip a group by script but cannot get it to work!? > See this image, it shows what i want to achieve: > > > I want the content of the group to be clipped at the top and bottom. > No problem when resizing manually but no dice by script so far. > > I tried many variations of boundingrect, rect, clipstorect, > lockloc, height and whatnot. > > Any hints very welcome! :-) > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Oct 11 10:02:44 2024 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Oct 2024 16:02:44 +0200 Subject: Clipping a group by script In-Reply-To: <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> Message-ID: <3BA4EF95-6E8A-4850-AEA5-E8E0A197CEC8@major-k.de> Hi Craig, > Am 11.10.2024 um 15:58 schrieb Craig Newman via use-livecode : > > Klaus. > > Answered in the forum: thank you, already answered to your answer. :-) > Klaus. > > If I make a group and set its height property to a value smaller than the original, the top of the group stays put, and the bottom is truncated, so that is half the battle. If I then play with the scroll of the group, I can control the visible portion. > > Craig > >> On Oct 11, 2024, at 6:17 AM, Klaus major-k via use-livecode wrote: >> >> Hi friends, >> >> I want to clip a group by script but cannot get it to work!? >> See this image, it shows what i want to achieve: >> >> >> I want the content of the group to be clipped at the top and bottom. >> No problem when resizing manually but no dice by script so far. >> >> I tried many variations of boundingrect, rect, clipstorect, >> lockloc, height and whatnot. >> >> Any hints very welcome! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From curry at pair.com Fri Oct 11 11:17:56 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 11 Oct 2024 11:17:56 -0400 Subject: Ode to New horizons for Dar... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: Dar: > It is with a sad heart and a grieving kidney that I am announcing > that darzLAB (formally known as Dar Scott Consulting) is closing. Dar, near or far - shine brightly, star! Code and good circuit, you sure could work it. Win health -or- any war. Go tinker as the thinker you are! I have really enjoyed working with you. Comments delayed by my own health issues - More news soon, after recuperating a bit! Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" https://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Fri Oct 11 11:44:40 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Oct 2024 15:44:40 +0000 Subject: Clipping a group by script In-Reply-To: <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> Message-ID: Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. Bob S > On Oct 11, 2024, at 6:58 AM, Craig Newman via use-livecode wrote: > > Klaus. > > Answered in the forum: > > Klaus. > > If I make a group and set its height property to a value smaller than the original, the top of the group stays put, and the bottom is truncated, so that is half the battle. If I then play with the scroll of the group, I can control the visible portion. > > Craig > >> On Oct 11, 2024, at 6:17 AM, Klaus major-k via use-livecode wrote: >> >> Hi friends, >> >> I want to clip a group by script but cannot get it to work!? >> See this image, it shows what i want to achieve: >> >> >> I want the content of the group to be clipped at the top and bottom. >> No problem when resizing manually but no dice by script so far. >> >> I tried many variations of boundingrect, rect, clipstorect, >> lockloc, height and whatnot. >> >> Any hints very welcome! :-) >> >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hlowe at me.com Fri Oct 11 11:45:51 2024 From: hlowe at me.com (HENRY LOWE) Date: Fri, 11 Oct 2024 08:45:51 -0700 Subject: LC 10.0.1(rc1) and XCode In-Reply-To: References: <36B9E6AE-AD0F-4730-B9CE-041120BF88C4@iotecdigital.com> Message-ID: <12320C1D-8044-4F4C-B9FF-300DCCB9E1C3@me.com> Thank you Panos. Henry > On Oct 11, 2024, at 4:01 AM, panagiotis merakos via use-livecode wrote: > > Hello all, > > This is indeed a bug, and it affects testing on the simulator. Long story > short, if you want to test in the simulator, > currently you have to choose an Xcode version that will include any of > these SDKs: > > 14.4, 15.2, 16.2, 17.0 > > However, note that to build an iOS standalone for **device** you do NOT > have to select an Xcode version in the Mobile prefs, > you just have to ensure that any version of Xcode >= 12.4 is installed in > the system. > > I have filed a bug report about this: > > https://quality.livecode.com/show_bug.cgi?id=24606 > > Kind regards, > Panos > -- > > On Thu, 10 Oct 2024 at 20:42, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Sounds like a question for support at livecode.com. >> >> Bob S >> >> >>> On Oct 10, 2024, at 10:36 AM, HENRY LOWE via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> I installed LiveCode 10.0.1(rc1) on an Intel Mac and tried to set the >> current version of XCode (V16.0) as the source for the iOS SDK. >>> >>> I received the following error: >>> >>> The chosen folder in not a valid iOS SDK. >>> Selected XCode must have iOS SDK among: >>> 14.4 >>> 15.2 >>> 16.2 >>> 17.0 >>> >>> My XCode V16.0 has the iOS 18.0 and iOS 17.5 Simulators installed. >>> >>> I also installed the iOS 17.0 Simulator into XCode but that did not fix >> the problem. >>> >>> Henry >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Oct 11 12:24:04 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Oct 2024 12:24:04 -0400 Subject: Clipping a group by script In-Reply-To: References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> Message-ID: <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> Bob. I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. Craig > On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: > > Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. > > Bob S > > >> On Oct 11, 2024, at 6:58 AM, Craig Newman via use-livecode wrote: >> >> Klaus. >> >> Answered in the forum: >> >> Klaus. >> >> If I make a group and set its height property to a value smaller than the original, the top of the group stays put, and the bottom is truncated, so that is half the battle. If I then play with the scroll of the group, I can control the visible portion. >> >> Craig >> >>> On Oct 11, 2024, at 6:17 AM, Klaus major-k via use-livecode wrote: >>> >>> Hi friends, >>> >>> I want to clip a group by script but cannot get it to work!? >>> See this image, it shows what i want to achieve: >>> >>> >>> I want the content of the group to be clipped at the top and bottom. >>> No problem when resizing manually but no dice by script so far. >>> >>> I tried many variations of boundingrect, rect, clipstorect, >>> lockloc, height and whatnot. >>> >>> Any hints very welcome! :-) >>> >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> https://www.major-k.de/bass >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Oct 11 12:28:57 2024 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Oct 2024 18:28:57 +0200 Subject: Clipping a group by script In-Reply-To: <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> Message-ID: <3ADE3EAF-8A7C-4AED-B3B2-09679A6BFDA6@major-k.de> Hi Craig and Bob, > Am 11.10.2024 um 18:24 schrieb Craig Newman via use-livecode : > > Bob. > I do not know why Klaus wants to truncate his groups, yes, because that is nobodys business but mine! :-D > but I suspect it has nothing to do with fitting them onto the card. Exactly. > Craig > >> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >> >> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >> >> Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Fri Oct 11 12:29:28 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Oct 2024 16:29:28 +0000 Subject: Clipping a group by script In-Reply-To: <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> Message-ID: <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. Bob S > On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: > > Bob. > I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. > > Craig > >> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >> >> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >> >> Bob S >> >> From klaus at major-k.de Fri Oct 11 12:34:32 2024 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Oct 2024 18:34:32 +0200 Subject: Clipping a group by script In-Reply-To: <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> Message-ID: <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> Hi Bob, > Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode : > > Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. already tried this, does not work, it will always crop/clip the bottom of the group. I think I will either set the MARGINS for TOP and BOTTOM of the group to negative values. Or just resize the group and set the scroll to the neccessary amount, thanks Craig! > Bob S > >> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: >> >> Bob. >> I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. >> >> Craig >> >>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >>> >>> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >>> >>> Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Sat Oct 12 05:40:54 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Oct 2024 11:40:54 +0200 Subject: Forum down? Or just for me? 8-) Message-ID: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> Hi all, I get: -------------------------------------------- Forbidden You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------- when trying to access: Anyone else experiencing this? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From heather at livecode.com Sat Oct 12 06:12:32 2024 From: heather at livecode.com (Heather Laine) Date: Sat, 12 Oct 2024 11:12:32 +0100 Subject: Forum down? Or just for me? 8-) In-Reply-To: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> References: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> Message-ID: <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> The forum is down at present. We have been experiencing a denial of service attack overnight on the forums, and we have temporarily turned off access. We will restore access as soon as possible. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 12 Oct 2024, at 10:40, Klaus major-k via use-livecode wrote: > > Hi all, > > I get: > -------------------------------------------- > Forbidden > > You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe > Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. > -------------------------------------------- > when trying to access: > Anyone else experiencing this? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat Oct 12 06:14:55 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Oct 2024 12:14:55 +0200 Subject: Forum down? Or just for me? 8-) In-Reply-To: <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> References: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> Message-ID: <948D7E01-1E39-4C27-B3E6-AB4378BCF833@major-k.de> Hi Heather, > Am 12.10.2024 um 12:12 schrieb Heather Laine via use-livecode : > The forum is down at present. We have been experiencing a denial of service attack overnight on the forums, and we have temporarily turned off access. We will restore access as soon as possible. aha, thanks for the fast info! > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > >> On 12 Oct 2024, at 10:40, Klaus major-k via use-livecode wrote: >> >> Hi all, >> >> I get: >> -------------------------------------------- >> Forbidden >> >> You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe >> Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. >> -------------------------------------------- >> when trying to access: >> Anyone else experiencing this? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From iowahengst at mac.com Sat Oct 12 14:09:08 2024 From: iowahengst at mac.com (Randy Hengst) Date: Sat, 12 Oct 2024 13:09:08 -0500 Subject: Clipping a group by script In-Reply-To: <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> Message-ID: <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> What about something like this?  take care, randy > On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode wrote: > > Hi Bob, > >> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode : >> >> Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. > > already tried this, does not work, it will always crop/clip the bottom of the group. > > I think I will either set the MARGINS for TOP and BOTTOM of the group to negative values. > Or just resize the group and set the scroll to the neccessary amount, thanks Craig! > >> Bob S >> >>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: >>> >>> Bob. >>> I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. >>> >>> Craig >>> >>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >>>> >>>> Bob S > > 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 iowahengst at mac.com Sat Oct 12 14:09:08 2024 From: iowahengst at mac.com (Randy Hengst) Date: Sat, 12 Oct 2024 13:09:08 -0500 Subject: Clipping a group by script In-Reply-To: <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> Message-ID: <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> What about something like this?  take care, randy > On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode wrote: > > Hi Bob, > >> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode : >> >> Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. > > already tried this, does not work, it will always crop/clip the bottom of the group. > > I think I will either set the MARGINS for TOP and BOTTOM of the group to negative values. > Or just resize the group and set the scroll to the neccessary amount, thanks Craig! > >> Bob S >> >>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: >>> >>> Bob. >>> I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. >>> >>> Craig >>> >>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >>>> >>>> Bob S > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat Oct 12 14:15:17 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Oct 2024 20:15:17 +0200 Subject: Clipping a group by script In-Reply-To: <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> Message-ID: <0A74F9B3-4F98-4A9A-AFAD-FB5AAAB4BE1C@major-k.de> Hi Randy, > Am 12.10.2024 um 20:09 schrieb Randy Hengst via use-livecode : > > What about something like this? what exactly?  > > take care, > randy > > >> On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode wrote: >> >> Hi Bob, >> >>> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode : >>> >>> Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. >> >> already tried this, does not work, it will always crop/clip the bottom of the group. >> >> I think I will either set the MARGINS for TOP and BOTTOM of the group to negative values. >> Or just resize the group and set the scroll to the neccessary amount, thanks Craig! >> >>> Bob S >>> >>>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: >>>> >>>> Bob. >>>> I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. >>>> >>>> Craig >>>> >>>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >>>>> >>>>> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >>>>> >>>>> Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tom at makeshyft.com Sat Oct 12 15:11:51 2024 From: tom at makeshyft.com (Tom Glod) Date: Sat, 12 Oct 2024 15:11:51 -0400 Subject: Clipping a group by script In-Reply-To: <0A74F9B3-4F98-4A9A-AFAD-FB5AAAB4BE1C@major-k.de> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> <0A74F9B3-4F98-4A9A-AFAD-FB5AAAB4BE1C@major-k.de> Message-ID: Klaus, its set the layerClipRect ... On Sat, Oct 12, 2024 at 2:16 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Randy, > > > Am 12.10.2024 um 20:09 schrieb Randy Hengst via use-livecode < > use-livecode at lists.runrev.com>: > > > > What about something like this? > > what exactly? >  > > > > take care, > > randy > > > > > >> On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Hi Bob, > >> > >>> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>: > >>> > >>> Understood, but if he wants to set the rect of the group so that all > the objects fit inside it, or at least from top to bottom, he should be > able to get the rect of the group, then set the second and fourth items to > the min and max of the other objects in the group. I think he has to set > the locLoc to true first. > >> > >> already tried this, does not work, it will always crop/clip the bottom > of the group. > >> > >> I think I will either set the MARGINS for TOP and BOTTOM of the group > to negative values. > >> Or just resize the group and set the scroll to the neccessary amount, > thanks Craig! > >> > >>> Bob S > >>> > >>>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Bob. > >>>> I do not know why Klaus wants to truncate his groups, but I suspect > it has nothing to do with fitting them onto the card. > >>>> > >>>> Craig > >>>> > >>>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>> > >>>>> Hmmm… I wrote a handler to determine the rect of all the visible > objects on a card so I can set the stack rect to that plus margins. It > involved getting the left, top, right and bottom as seperate values, of > every visible object, then determining the min and max of each set of > values as needed. You should be able to something similar. > >>>>> > >>>>> Bob S > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Sat Oct 12 15:21:28 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Oct 2024 21:21:28 +0200 Subject: Clipping a group by script In-Reply-To: References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> <0A74F9B3-4F98-4A9A-AFAD-FB5AAAB4BE1C@major-k.de> Message-ID: Hi Tom, > Am 12.10.2024 um 21:11 schrieb Tom Glod via use-livecode : > > Klaus, > > its > > set the layerClipRect ... "layerClipRect"? To be honest I never heard this before, so thanks a bunch! :-D > On Sat, Oct 12, 2024 at 2:16 PM Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Randy, >> >>> Am 12.10.2024 um 20:09 schrieb Randy Hengst via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> What about something like this? >> >> what exactly? >>  >>> >>> take care, >>> randy >>> >>> >>>> On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hi Bob, >>>> >>>>> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com>: >>>>> >>>>> Understood, but if he wants to set the rect of the group so that all >> the objects fit inside it, or at least from top to bottom, he should be >> able to get the rect of the group, then set the second and fourth items to >> the min and max of the other objects in the group. I think he has to set >> the locLoc to true first. >>>> >>>> already tried this, does not work, it will always crop/clip the bottom >> of the group. >>>> >>>> I think I will either set the MARGINS for TOP and BOTTOM of the group >> to negative values. >>>> Or just resize the group and set the scroll to the neccessary amount, >> thanks Craig! >>>> >>>>> Bob S >>>>> >>>>>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Bob. >>>>>> I do not know why Klaus wants to truncate his groups, but I suspect >> it has nothing to do with fitting them onto the card. >>>>>> >>>>>> Craig >>>>>> >>>>>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>>>>> >>>>>>> Hmmm… I wrote a handler to determine the rect of all the visible >> objects on a card so I can set the stack rect to that plus margins. It >> involved getting the left, top, right and bottom as seperate values, of >> every visible object, then determining the min and max of each set of >> values as needed. You should be able to something similar. >>>>>>> >>>>>>> Bob S >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 13:08:39 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 11:08:39 -0600 Subject: What video formats work on Windows? Message-ID: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> The end goal is to be able to run a standalone, and some cards will have an external video file to play. As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. When I try to play the video file I get a ‘could not create movie reference’ message in the result. I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? I didn’t find something about installing K-lite, and trying that does make the Player show the last frame of the video, but still the video won’t play, and I can’t assume everyone whose PC I might use would be willing to let me install extra codecs. From klaus at major-k.de Sun Oct 13 13:52:33 2024 From: klaus at major-k.de (Klaus major-k) Date: Sun, 13 Oct 2024 19:52:33 +0200 Subject: What video formats work on Windows? In-Reply-To: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> Message-ID: <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> Hi Colin, > Am 13.10.2024 um 19:08 schrieb Colin Holgate via use-livecode : > > The end goal is to be able to run a standalone, and some cards will have an external video file to play. > As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. > When I try to play the video file I get a ‘could not create movie reference’ message in the result. > I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? > I didn’t find something about installing K-lite, and trying that does make the Player show the last frame of the video, but still the video won’t play, and I can’t assume everyone whose PC I might use would be willing to let me install extra codecs. unfortunately LC uses the old Windows multimedia engine, not sure how this is called (DirectShow?). And that cannot play MP4 videos out of the box. Adding the new and current multimedia engine was promised for LC 10, but did not make it into the last version of LC. Maybe it is implemented in the new and upcoming LCC (LiveCode Create). So you are stuck with a small number of supported codecs like MPG 1, WMV and AVI, maybe more, I'm not sure... There is a free codec collection named "LAV Filters" which will let LC also play MP4 files and a lot of other audio and video formats. Find and load it here: Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 14:18:37 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 12:18:37 -0600 Subject: What video formats work on Windows? In-Reply-To: <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> Message-ID: That seems to have the same issue that K-lite showed. I immediately see the last frame of the video, and the video doesn’t play (at least not from script). Showing the controller and having to click the play button does show the video, but it’s a jarring experience having to look at the last frame until the user clicks the play button. > On Oct 13, 2024, at 11:52 AM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 19:08 schrieb Colin Holgate via use-livecode : >> >> The end goal is to be able to run a standalone, and some cards will have an external video file to play. >> As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. >> When I try to play the video file I get a ‘could not create movie reference’ message in the result. >> I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? >> I didn’t find something about installing K-lite, and trying that does make the Player show the last frame of the video, but still the video won’t play, and I can’t assume everyone whose PC I might use would be willing to let me install extra codecs. > > unfortunately LC uses the old Windows multimedia engine, not sure how this is called (DirectShow?). > And that cannot play MP4 videos out of the box. > > Adding the new and current multimedia engine was promised for LC 10, but did not make it into the last version of LC. > Maybe it is implemented in the new and upcoming LCC (LiveCode Create). > > So you are stuck with a small number of supported codecs like MPG 1, WMV and AVI, maybe more, I'm not sure... > > There is a free codec collection named "LAV Filters" which will let LC also play MP4 files and a lot of other audio and video formats. > Find and load it here: > > > 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 colinholgate at gmail.com Sun Oct 13 14:27:30 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 12:27:30 -0600 Subject: What video formats work on Windows? In-Reply-To: <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> Message-ID: <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> I found an online converter that can change MP4 to WMV, and the video looks ok, and plays in LiveCode. Scripts seem not to work though. Would you expect this to be able to pause or play a WMV in a Player object?: on mouseup if the paused of player 1 then play player 1 else set the paused of player 1 to true end if end mouseup > On Oct 13, 2024, at 11:52 AM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 19:08 schrieb Colin Holgate via use-livecode : >> >> The end goal is to be able to run a standalone, and some cards will have an external video file to play. >> As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. >> When I try to play the video file I get a ‘could not create movie reference’ message in the result. >> I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? >> I didn’t find something about installing K-lite, and trying that does make the Player show the last frame of the video, but still the video won’t play, and I can’t assume everyone whose PC I might use would be willing to let me install extra codecs. > > unfortunately LC uses the old Windows multimedia engine, not sure how this is called (DirectShow?). > And that cannot play MP4 videos out of the box. > > Adding the new and current multimedia engine was promised for LC 10, but did not make it into the last version of LC. > Maybe it is implemented in the new and upcoming LCC (LiveCode Create). > > So you are stuck with a small number of supported codecs like MPG 1, WMV and AVI, maybe more, I'm not sure... > > There is a free codec collection named "LAV Filters" which will let LC also play MP4 files and a lot of other audio and video formats. > Find and load it here: > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Oct 13 14:32:55 2024 From: klaus at major-k.de (Klaus major-k) Date: Sun, 13 Oct 2024 20:32:55 +0200 Subject: What video formats work on Windows? In-Reply-To: <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> Message-ID: Hi Colin, > Am 13.10.2024 um 20:27 schrieb Colin Holgate via use-livecode : > > I found an online converter that can change MP4 to WMV, and the video looks ok, and plays in LiveCode. Scripts seem not to work though. > Would you expect this to be able to pause or play a WMV in a Player object?: No. :-D > on mouseup > if the paused of player 1 then > play player 1 > else > set the paused of player 1 to true > end if > end mouseup on mouseup if the paused of player 1 = FALSE then start player 1 else set the paused of player 1 to true end if end mouseup :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 14:46:23 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 12:46:23 -0600 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> Message-ID: Your script doesn’t work either. My script works fine on Mac, where it can play MP4 files. > On Oct 13, 2024, at 12:32 PM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 20:27 schrieb Colin Holgate via use-livecode : >> >> I found an online converter that can change MP4 to WMV, and the video looks ok, and plays in LiveCode. Scripts seem not to work though. >> Would you expect this to be able to pause or play a WMV in a Player object?: > > No. :-D > >> on mouseup >> if the paused of player 1 then >> play player 1 >> else >> set the paused of player 1 to true >> end if >> end mouseup > > on mouseup > if the paused of player 1 = FALSE then > start player 1 > else > set the paused of player 1 to true > end if > end mouseup > > :-) > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Oct 13 14:58:11 2024 From: klaus at major-k.de (Klaus major-k) Date: Sun, 13 Oct 2024 20:58:11 +0200 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> Message-ID: <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> Hi Colin, > Am 13.10.2024 um 20:46 schrieb Colin Holgate via use-livecode : > > Your script doesn’t work either. sorry, my fault, of course your script is correct. I should not answer in a hurry... > My script works fine on Mac, where it can play MP4 files. Hm, it should work, no idea why this does not work on Windows. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 15:18:25 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 13:18:25 -0600 Subject: What video formats work on Windows? In-Reply-To: <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> Message-ID: A button with the same script, on top of the player, doesn’t work. But off to the side it does work. That makes it seem like on Windows the video is an extra object that is placed on top of everything else. > On Oct 13, 2024, at 12:58 PM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 20:46 schrieb Colin Holgate via use-livecode : >> >> Your script doesn’t work either. > > sorry, my fault, of course your script is correct. > I should not answer in a hurry... > >> My script works fine on Mac, where it can play MP4 files. > > Hm, it should work, no idea why this does not work on Windows. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Oct 13 15:25:37 2024 From: klaus at major-k.de (Klaus major-k) Date: Sun, 13 Oct 2024 21:25:37 +0200 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> Message-ID: <0A85E0D5-BD08-4EC5-A043-2466EA0BB4D2@major-k.de> Hi Colin, > Am 13.10.2024 um 21:18 schrieb Colin Holgate via use-livecode : > > A button with the same script, on top of the player, doesn’t work. same on a Mac! > But off to the side it does work. That makes it seem like on Windows the video is an extra object that is placed on top of everything else. Yes, a player object is an overlay on Windows and Mac. You could try to check "alwaysbuffer" for the player object, but no guarantees that this will help. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 17:05:56 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 15:05:56 -0600 Subject: What video formats work on Windows? In-Reply-To: <0A85E0D5-BD08-4EC5-A043-2466EA0BB4D2@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> <0A85E0D5-BD08-4EC5-A043-2466EA0BB4D2@major-k.de> Message-ID: It works fine as it is on Mac. With the alwaysbuffer turned on the video plays, but the image doesn’t change. > On Oct 13, 2024, at 1:25 PM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 21:18 schrieb Colin Holgate via use-livecode : >> >> A button with the same script, on top of the player, doesn’t work. > > same on a Mac! > >> But off to the side it does work. That makes it seem like on Windows the video is an extra object that is placed on top of everything else. > > Yes, a player object is an overlay on Windows and Mac. > You could try to check "alwaysbuffer" for the player object, but no guarantees that this will help. > > > 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 mark at livecode.com Mon Oct 14 03:49:35 2024 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Oct 2024 08:49:35 +0100 Subject: What video formats work on Windows? In-Reply-To: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> Message-ID: <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> On 2024-10-13 18:08, Colin Holgate via use-livecode wrote: > The end goal is to be able to run a standalone, and some cards will > have an external video file to play. > > As that doesnt work, I have a card in LC 10.0 authoring, where a > Player object is linked to a local MP4. The MP4 plays fine in the > Windows 11 player. > > When I try to play the video file I get a could not create movie > reference message in the result. > > I have tried set the dontuseqt to TRUE - but that didnt help. I dont > mind if I end up having to have another copy of the video files to use > on Windows, but what file types will work? We've changed the underlying media framework used on Windows from Direct Show to Media Foundation Player in LiveCode Create (its been available since dp-1 - both in the new Create IDE and Classic IDE mode). Media Foundation supports a wider range of formats out of the box compared to Direct Show - in particular mp4. Also, things like taking a snapshot of the player, and alwaysBuffer should now work too. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From klaus at major-k.de Mon Oct 14 05:12:12 2024 From: klaus at major-k.de (Klaus major-k) Date: Mon, 14 Oct 2024 11:12:12 +0200 Subject: What video formats work on Windows? In-Reply-To: <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> Message-ID: <110D0D69-5973-4EFD-82AA-DC983A2370E1@major-k.de> Hi Mark, > Am 14.10.2024 um 09:49 schrieb Mark Waddingham via use-livecode : > > On 2024-10-13 18:08, Colin Holgate via use-livecode wrote: >> The end goal is to be able to run a standalone, and some cards will have an external video file to play. >> As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. >> When I try to play the video file I get a ‘could not create movie reference’ message in the result. >> I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? > > We've changed the underlying media framework used on Windows from Direct Show to Media Foundation Player in LiveCode Create (its been available since dp-1 - both in the new Create IDE and Classic IDE mode). > Media Foundation supports a wider range of formats out of the box compared to Direct Show - in particular mp4. > Also, things like taking a snapshot of the player, and alwaysBuffer should now work too. don't have a license yet, so is the Windows player object "en par" with the Mac version now? Especially the feature that setting the "playrate" of a player does not affect the PITCH? Thanks for any insight! > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From mark at livecode.com Mon Oct 14 07:08:06 2024 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Oct 2024 12:08:06 +0100 Subject: What video formats work on Windows? In-Reply-To: <110D0D69-5973-4EFD-82AA-DC983A2370E1@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> <110D0D69-5973-4EFD-82AA-DC983A2370E1@major-k.de> Message-ID: On 2024-10-14 10:12, Klaus major-k via use-livecode wrote: > don't have a license yet, so is the Windows player object "en par" with > the Mac version now? > Especially the feature that setting the "playrate" of a player does not > affect the PITCH? Largely yes - although, as ever, what is actually supported (in true Windows style) depends on the actual codec used :| Things like negative playRate, for example, don't seem to be supported by any of the standard windows ones (including mp4). In terms of pitch adjustment when using a different playRate then again it is dependent on codec... However, I've just tested a sample mp4 in Windows and macOS - and it *sounds* like they do a similar thing - so for mp4 at least we appear to have almost complete parity. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From klaus at major-k.de Mon Oct 14 07:19:18 2024 From: klaus at major-k.de (Klaus major-k) Date: Mon, 14 Oct 2024 13:19:18 +0200 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> <110D0D69-5973-4EFD-82AA-DC983A2370E1@major-k.de> Message-ID: <9874673B-90F5-4985-A4B7-0C2ECCE4C54F@major-k.de> Hi Mark, > Am 14.10.2024 um 13:08 schrieb Mark Waddingham via use-livecode : > > On 2024-10-14 10:12, Klaus major-k via use-livecode wrote: >> don't have a license yet, so is the Windows player object "en par" with the Mac version now? >> Especially the feature that setting the "playrate" of a player does not affect the PITCH? > > Largely yes - although, as ever, what is actually supported (in true Windows style) depends on the actual codec used :| > Things like negative playRate, for example, don't seem to be supported by any of the standard windows ones (including mp4). > In terms of pitch adjustment when using a different playRate then again it is dependent on codec... > However, I've just tested a sample mp4 in Windows and macOS - and it *sounds* like they do a similar thing - so for mp4 at least we appear to have almost complete parity. OK, so hopefully it will work with MP3 and othe common audio formats files, so may finally be able to create the Windows version of my "Übeknecht" (Practise servant). 8-) Thanks for testing! > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Mon Oct 14 18:17:33 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Oct 2024 22:17:33 +0000 Subject: Forum down? Or just for me? 8-) In-Reply-To: <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> References: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> Message-ID: <1D0E1ACF-11BB-4738-AA6C-E0A453954B43@iotecdigital.com> All nations need to agree to do bad things to hackers private parts in order to stop this sort of thing. That’s just an opinion though. Bob S > On Oct 12, 2024, at 3:12 AM, Heather Laine via use-livecode wrote: > > The forum is down at present. We have been experiencing a denial of service attack overnight on the forums, and we have temporarily turned off access. We will restore access as soon as possible. > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 12 Oct 2024, at 10:40, Klaus major-k via use-livecode wrote: >> >> Hi all, >> >> I get: >> -------------------------------------------- >> Forbidden >> >> You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe >> Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. >> -------------------------------------------- >> when trying to access: >> Anyone else experiencing this? >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Oct 14 18:19:24 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Oct 2024 22:19:24 +0000 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> Message-ID: Like the old web browser? Hmmm? Bob S > On Oct 13, 2024, at 12:18 PM, Colin Holgate via use-livecode wrote: > > A button with the same script, on top of the player, doesn’t work. But off to the side it does work. That makes it seem like on Windows the video is an extra object that is placed on top of everything else. > >> On Oct 13, 2024, at 12:58 PM, Klaus major-k via use-livecode wrote: >> >> Hi Colin, >> >>> Am 13.10.2024 um 20:46 schrieb Colin Holgate via use-livecode : >>> >>> Your script doesn’t work either. >> >> sorry, my fault, of course your script is correct. >> I should not answer in a hurry... >> >>> My script works fine on Mac, where it can play MP4 files. >> >> Hm, it should work, no idea why this does not work on Windows. >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Oct 14 20:02:52 2024 From: dochawk at gmail.com (doc hawk) Date: Mon, 14 Oct 2024 17:02:52 -0700 Subject: Forum down? Or just for me? 8-) In-Reply-To: <1D0E1ACF-11BB-4738-AA6C-E0A453954B43@iotecdigital.com> References: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> <1D0E1ACF-11BB-4738-AA6C-E0A453954B43@iotecdigital.com> Message-ID: <2DAF3543-9C8F-44CA-A00E-59D94AB802F2@gmail.com> bob bubbled, > All nations need to agree to do bad things to hackers private parts in order to stop this sort of thing. That’s just an opinion though. We just need a feedback system that will route each connection to such parts . . . possibly with a voltage multiplier! From klaus at major-k.de Wed Oct 16 07:39:16 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Oct 2024 13:39:16 +0200 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? Message-ID: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> Hi all, I wanted to add a SCV icon, I have a name and the SVG PATH, but what do I need to enter for the CODEPOINT? addIcon(pName,pSVG,pCodepoint) Thanks for any hint! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Wed Oct 16 07:47:54 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Oct 2024 13:47:54 +0200 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? In-Reply-To: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> Message-ID: Hi all, > Am 16.10.2024 um 13:39 schrieb Klaus major-k via use-livecode : > > Hi all, > > I wanted to add a SCV icon, I have a name and the SVG PATH, > but what do I need to enter for the CODEPOINT? > > addIcon(pName,pSVG,pCodepoint) > > Thanks for any hint! just found an LC lessons for adding icons and Panos advised to use 0 (ZERO) as the codepoint if not using any "FontAwesome" icons. So I wrote: ... put the text of fld "path" into tPath addicon("metronom",tPath,0) ... However then I get: button "Button": execution error at line 5 (call: too few arguments), char 1 Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Wed Oct 16 08:11:20 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Oct 2024 14:11:20 +0200 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? In-Reply-To: References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> Message-ID: <4F0E9A21-D487-46D4-B430-97F2C257901F@major-k.de> Hi all, > Am 16.10.2024 um 13:47 schrieb Klaus major-k via use-livecode : > ... > just found an LC lessons for adding icons and Panos advised to use 0 (ZERO) as > the codepoint if not using any "FontAwesome" icons. > > So I wrote: > ... > put the text of fld "path" into tPath > addicon("metronom",tPath,0) > ... > > However then I get: > button "Button": execution error at line 5 (call: too few arguments), char 1 found the problem and the solution: ... addicon("metronom",tPath,0) ... Is actually a FUNCTION and not a HANDLER as the dictionary states!? So I could add my icon tot he "standard SVG lib" with: ... get addicon("fontawesome/metronom",tPath,0) ... But can't we just click an icon in the inspector for the e.g. navigation bar widget and the SVG lib pops up with a still way to small scrollbar anymore? I click and click, no dice, will need to script this... :-/ Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jbv at souslelogo.com Wed Oct 16 10:19:27 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 16 Oct 2024 10:19:27 -0400 Subject: DOM innerHTML equivalent ? Message-ID: Hi list, Is there a way to catch all controls on a card (for instance) with all their properties and values, and store them in a variable, like innerHML for a DOM element, and have all these controls displayed later very fast and in one go ? I hope I made myself clear. I tried several things, like storing all properties and values as text in a variable and then recreating all controls (quire slow), or duplicate the controls on a hidden card or another stack, but nothing is as easy as what is available i the DOM. Thank you in advance. jbv From bobsneidar at iotecdigital.com Wed Oct 16 10:52:13 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Oct 2024 14:52:13 +0000 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? In-Reply-To: <4F0E9A21-D487-46D4-B430-97F2C257901F@major-k.de> References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> <4F0E9A21-D487-46D4-B430-97F2C257901F@major-k.de> Message-ID: Hi Klaus. Just for the sake of clarity, and because I probably have Aspergers, COMMANDS and FUNCTIONS are BOTH HANDLERS. :-) Bob S On Oct 16, 2024, at 5:11 AM, Klaus major-k via use-livecode wrote: Is actually a FUNCTION and not a HANDLER as the dictionary states!? From bobsneidar at iotecdigital.com Wed Oct 16 10:54:23 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Oct 2024 14:54:23 +0000 Subject: DOM innerHTML equivalent ? In-Reply-To: References: Message-ID: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> Group them then store the group as an array, but placing them won’t be any faster methinks. You can also arrayEncode the array first if you need it in a serialized format. Bob S > On Oct 16, 2024, at 7:19 AM, jbv via use-livecode wrote: > > Hi list, > > Is there a way to catch all controls on a card > (for instance) with all their properties and > values, and store them in a variable, like > innerHML for a DOM element, and have all these > controls displayed later very fast and in one go ? > > I hope I made myself clear. > I tried several things, like storing all properties > and values as text in a variable and then recreating > all controls (quire slow), or duplicate the controls > on a hidden card or another stack, but nothing is as > easy as what is available i the DOM. > > 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 klaus at major-k.de Wed Oct 16 10:57:48 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Oct 2024 16:57:48 +0200 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? In-Reply-To: References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> <4F0E9A21-D487-46D4-B430-97F2C257901F@major-k.de> Message-ID: Hi Bob, > Am 16.10.2024 um 16:52 schrieb Bob Sneidar via use-livecode : > > Hi Klaus. > > Just for the sake of clarity, and because I probably have Aspergers, COMMANDS and FUNCTIONS are BOTH HANDLERS. :-) OK, but e.g. time() is of TYPE: function mouseup is of TYPE: MESSAGE So this is at least irritating... > Bob S > > > On Oct 16, 2024, at 5:11 AM, Klaus major-k via use-livecode wrote: > > Is actually a FUNCTION and not a HANDLER as the dictionary states!? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From craig at starfirelighting.com Wed Oct 16 11:53:21 2024 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 16 Oct 2024 11:53:21 -0400 Subject: DOM innerHTML equivalent ? In-Reply-To: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> Message-ID: Hi. I am confused. As usual. "Group them then store the group as an array," I read the OP as wanting to gather all the information about all the controls, not the controls themselves. If so, then the”slow” part is to gather the data, which has to be done control-by-control, card-by-card and stack-by-stack. But once through all that, collecting and storing the information, array or plain, is virtually instantaneous. Anyway, how do you store a group as an array? Craig > On Oct 16, 2024, at 10:54 AM, Bob Sneidar via use-livecode wrote: > > Group them then store the group as an array, but placing them won’t be any faster methinks. You can also arrayEncode the array first if you need it in a serialized format. > > Bob S > > >> On Oct 16, 2024, at 7:19 AM, jbv via use-livecode wrote: >> >> Hi list, >> >> Is there a way to catch all controls on a card >> (for instance) with all their properties and >> values, and store them in a variable, like >> innerHML for a DOM element, and have all these >> controls displayed later very fast and in one go ? >> >> I hope I made myself clear. >> I tried several things, like storing all properties >> and values as text in a variable and then recreating >> all controls (quire slow), or duplicate the controls >> on a hidden card or another stack, but nothing is as >> easy as what is available i the DOM. >> >> 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 bobsneidar at iotecdigital.com Wed Oct 16 12:25:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Oct 2024 16:25:41 +0000 Subject: DOM innerHTML equivalent ? In-Reply-To: References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> Message-ID: <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> OIC I didn’t know he wanted to store the PROPERTIES of the objects. As I have mentioned before I have handlers that can collect the properties of objects and store them in a memory sqLite database. (You can specify a file as well.) But that is not going to help you *quickly* recreate the objects. Also if you are using Datagrids, the problem becomes considerably more difficult, and in the end no matter what you do, the engine is going to have to recreate every single object so I do not think you are going to save any time, even if you could somehow serialize all the objects on a card. I suppose you could create a template card, then copy / paste that card but the engine is *still* going to have to create the objects. As far as storing an array, it can be stored in the custom property of any group, or it can be saved as a binary file if you first arrayEncode() the array. Bob S > On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode wrote: > > Hi. > > I am confused. As usual. > > "Group them then store the group as an array," > > I read the OP as wanting to gather all the information about all the controls, not the controls themselves. If so, then the”slow” part is to gather the data, which has to be done control-by-control, card-by-card and stack-by-stack. But once through all that, collecting and storing the information, array or plain, is virtually instantaneous. > > Anyway, how do you store a group as an array? > > Craig > >> On Oct 16, 2024, at 10:54 AM, Bob Sneidar via use-livecode wrote: >> >> Group them then store the group as an array, but placing them won’t be any faster methinks. You can also arrayEncode the array first if you need it in a serialized format. >> >> Bob S >> >> >>> On Oct 16, 2024, at 7:19 AM, jbv via use-livecode wrote: >>> >>> Hi list, >>> >>> Is there a way to catch all controls on a card >>> (for instance) with all their properties and >>> values, and store them in a variable, like >>> innerHML for a DOM element, and have all these >>> controls displayed later very fast and in one go ? >>> >>> I hope I made myself clear. >>> I tried several things, like storing all properties >>> and values as text in a variable and then recreating >>> all controls (quire slow), or duplicate the controls >>> on a hidden card or another stack, but nothing is as >>> easy as what is available i the DOM. >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Wed Oct 16 12:30:53 2024 From: tom at makeshyft.com (Tom Glod) Date: Wed, 16 Oct 2024 12:30:53 -0400 Subject: DOM innerHTML equivalent ? In-Reply-To: <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> Message-ID: try "get the properties of" .... and "get the customproperties of" or you can just "put" them into an array. On Wed, Oct 16, 2024 at 12:26 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > OIC I didn’t know he wanted to store the PROPERTIES of the objects. As I > have mentioned before I have handlers that can collect the properties of > objects and store them in a memory sqLite database. (You can specify a file > as well.) But that is not going to help you *quickly* recreate the objects. > > Also if you are using Datagrids, the problem becomes considerably more > difficult, and in the end no matter what you do, the engine is going to > have to recreate every single object so I do not think you are going to > save any time, even if you could somehow serialize all the objects on a > card. > > I suppose you could create a template card, then copy / paste that card > but the engine is *still* going to have to create the objects. > > As far as storing an array, it can be stored in the custom property of any > group, or it can be saved as a binary file if you first arrayEncode() the > array. > > Bob S > > > > On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi. > > > > I am confused. As usual. > > > > "Group them then store the group as an array," > > > > I read the OP as wanting to gather all the information about all the > controls, not the controls themselves. If so, then the”slow” part is to > gather the data, which has to be done control-by-control, card-by-card and > stack-by-stack. But once through all that, collecting and storing the > information, array or plain, is virtually instantaneous. > > > > Anyway, how do you store a group as an array? > > > > Craig > > > >> On Oct 16, 2024, at 10:54 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Group them then store the group as an array, but placing them won’t be > any faster methinks. You can also arrayEncode the array first if you need > it in a serialized format. > >> > >> Bob S > >> > >> > >>> On Oct 16, 2024, at 7:19 AM, jbv via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> Hi list, > >>> > >>> Is there a way to catch all controls on a card > >>> (for instance) with all their properties and > >>> values, and store them in a variable, like > >>> innerHML for a DOM element, and have all these > >>> controls displayed later very fast and in one go ? > >>> > >>> I hope I made myself clear. > >>> I tried several things, like storing all properties > >>> and values as text in a variable and then recreating > >>> all controls (quire slow), or duplicate the controls > >>> on a hidden card or another stack, but nothing is as > >>> easy as what is available i the DOM. > >>> > >>> 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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bogdanoff at me.com Wed Oct 16 12:34:19 2024 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 16 Oct 2024 12:34:19 -0400 Subject: DOM innerHTML equivalent ? In-Reply-To: <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> Message-ID: The ‘properties’ property will store all the available properties of an object into an array. From the dictionary: put the properties of field "My Field” into myArray put the keys of myArray Peter > On Oct 16, 2024, at 12:25 PM, Bob Sneidar via use-livecode wrote: > > OIC I didn’t know he wanted to store the PROPERTIES of the objects. As I have mentioned before I have handlers that can collect the properties of objects and store them in a memory sqLite database. (You can specify a file as well.) But that is not going to help you *quickly* recreate the objects. > > Also if you are using Datagrids, the problem becomes considerably more difficult, and in the end no matter what you do, the engine is going to have to recreate every single object so I do not think you are going to save any time, even if you could somehow serialize all the objects on a card. > > I suppose you could create a template card, then copy / paste that card but the engine is *still* going to have to create the objects. > > As far as storing an array, it can be stored in the custom property of any group, or it can be saved as a binary file if you first arrayEncode() the array. > > Bob S > > >> On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode wrote: >> >> Hi. >> >> I am confused. As usual. >> >> "Group them then store the group as an array," >> >> I read the OP as wanting to gather all the information about all the controls, not the controls themselves. If so, then the”slow” part is to gather the data, which has to be done control-by-control, card-by-card and stack-by-stack. But once through all that, collecting and storing the information, array or plain, is virtually instantaneous. >> >> Anyway, how do you store a group as an array? >> >> Craig >> >>> On Oct 16, 2024, at 10:54 AM, Bob Sneidar via use-livecode wrote: >>> >>> Group them then store the group as an array, but placing them won’t be any faster methinks. You can also arrayEncode the array first if you need it in a serialized format. >>> >>> Bob S >>> >>> >>>> On Oct 16, 2024, at 7:19 AM, jbv via use-livecode wrote: >>>> >>>> Hi list, >>>> >>>> Is there a way to catch all controls on a card >>>> (for instance) with all their properties and >>>> values, and store them in a variable, like >>>> innerHML for a DOM element, and have all these >>>> controls displayed later very fast and in one go ? >>>> >>>> I hope I made myself clear. >>>> I tried several things, like storing all properties >>>> and values as text in a variable and then recreating >>>> all controls (quire slow), or duplicate the controls >>>> on a hidden card or another stack, but nothing is as >>>> easy as what is available i the DOM. >>>> >>>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 16 12:36:05 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Oct 2024 16:36:05 +0000 Subject: DOM innerHTML equivalent ? In-Reply-To: References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> Message-ID: <4CE20C17-1417-4241-ABD3-4BB4738D159F@iotecdigital.com> I don’t know what I was thinking there. Bob S On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode wrote: "Group them then store the group as an array," From klaus at major-k.de Thu Oct 17 09:11:09 2024 From: klaus at major-k.de (Klaus major-k) Date: Thu, 17 Oct 2024 15:11:09 +0200 Subject: addIcon(pName,pSVG,pCodepoint) Where is the icon? In-Reply-To: References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> Message-ID: <67DB39B9-C069-4048-9D2A-4F8C1A8E6B65@major-k.de> Hi all, yesterday I successfully added a custom SVG icon via: ... get addicon("fontawesome/metronom",tPath,0) ... Today I opened the stack where i used that icon and it is gone? Do I need to save the icon/library somehow? Or what can/need I do to have this icon "stick" in the library and appear again in my stack permanently? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From craig at starfirelighting.com Thu Oct 17 09:14:54 2024 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 17 Oct 2024 09:14:54 -0400 Subject: DOM innerHTML equivalent ? In-Reply-To: <4CE20C17-1417-4241-ABD3-4BB4738D159F@iotecdigital.com> References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> <4CE20C17-1417-4241-ABD3-4BB4738D159F@iotecdigital.com> Message-ID: Bob. I never know what I am thinking. Craig > On Oct 16, 2024, at 12:36 PM, Bob Sneidar via use-livecode wrote: > > I don’t know what I was thinking there. > > Bob S > > > On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode wrote: > > "Group them then store the group as an array," > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Thu Oct 17 09:41:34 2024 From: brian at milby7.com (Brian Milby) Date: Thu, 17 Oct 2024 09:41:34 -0400 Subject: addIcon(pName,pSVG,pCodepoint) Where is the icon? In-Reply-To: <67DB39B9-C069-4048-9D2A-4F8C1A8E6B65@major-k.de> References: <67DB39B9-C069-4048-9D2A-4F8C1A8E6B65@major-k.de> Message-ID: <452C254B-C72D-404E-9051-4E4AE4FEDC6C@milby7.com> In short, yes your will need to add icons each launch of the IDE / app. I was going to suggest looking at SvgIconTool after your first post but realized I only moved entire families of icons and did not use the individual icon function. One way would be to create a family of any custom icons (or just add to an existing) and then export the family. Restoring the family on launch would get your icons back. The export is an array that you can encode/save then reverse process to restore. Hope this at least gives you an idea. Brian Milby brian at milby7.com > On Oct 17, 2024, at 9:12 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > yesterday I successfully added a custom SVG icon via: > ... > get addicon("fontawesome/metronom",tPath,0) > ... > > Today I opened the stack where i used that icon and it is gone? > > Do I need to save the icon/library somehow? > Or what can/need I do to have this icon "stick" in the library and > appear again in my stack permanently? > > > 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 rdimola at evergreeninfo.net Fri Oct 18 14:07:32 2024 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 18 Oct 2024 14:07:32 -0400 Subject: Livecode Login In-Reply-To: <6AFF6514-4A86-4336-8653-B4852FCB41C2@iotecdigital.com> References: <6AFF6514-4A86-4336-8653-B4852FCB41C2@iotecdigital.com> Message-ID: <000601db2188$9d525890$d7f709b0$@net> DNS resolution for my LiveCode hosting account just stopped working. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Thursday, October 17, 2024 1:00 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Livecode Login Anyone else having difficulty logging into Livecode? 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 matthias_livecode_150811 at m-r-d.de Fri Oct 18 14:40:41 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 18 Oct 2024 20:40:41 +0200 Subject: Livecode Login In-Reply-To: <000601db2188$9d525890$d7f709b0$@net> References: <6AFF6514-4A86-4336-8653-B4852FCB41C2@iotecdigital.com> <000601db2188$9d525890$d7f709b0$@net> Message-ID: <6F94975E-376C-4F3E-A70E-5D5ABD90689F@m-r-d.de> Thanks for bringing this up. I never would have checked my account. Here it is the same. The server on which my account is hosted cannot be reached on port 2083 and also my account and also any domain in my account is accessible on port 80. I've sent an email to livecodehosting at livecode.com with URGENT in the subject line. Maybe you do the same. Regards, Matthias > Am 18.10.2024 um 20:07 schrieb Ralph DiMola via use-livecode : > > DNS resolution for my LiveCode hosting account just stopped working. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Bob Sneidar via use-livecode > Sent: Thursday, October 17, 2024 1:00 PM > To: How to use LiveCode > Cc: Bob Sneidar > Subject: Livecode Login > > Anyone else having difficulty logging into Livecode? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Oct 18 14:44:53 2024 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 18 Oct 2024 14:44:53 -0400 Subject: Livecode Login In-Reply-To: <6F94975E-376C-4F3E-A70E-5D5ABD90689F@m-r-d.de> References: <6AFF6514-4A86-4336-8653-B4852FCB41C2@iotecdigital.com> <000601db2188$9d525890$d7f709b0$@net> <6F94975E-376C-4F3E-A70E-5D5ABD90689F@m-r-d.de> Message-ID: <000d01db218d$d59ec8a0$80dc59e0$@net> Robin fixed it. I'm back up. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of matthias rebbe via use-livecode Sent: Friday, October 18, 2024 2:41 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: Livecode Login Thanks for bringing this up. I never would have checked my account. Here it is the same. The server on which my account is hosted cannot be reached on port 2083 and also my account and also any domain in my account is accessible on port 80. I've sent an email to livecodehosting at livecode.com with URGENT in the subject line. Maybe you do the same. Regards, Matthias > Am 18.10.2024 um 20:07 schrieb Ralph DiMola via use-livecode : > > DNS resolution for my LiveCode hosting account just stopped working. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Bob Sneidar via use-livecode > Sent: Thursday, October 17, 2024 1:00 PM > To: How to use LiveCode > Cc: Bob Sneidar > Subject: Livecode Login > > Anyone else having difficulty logging into Livecode? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sat Oct 19 03:11:04 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 19 Oct 2024 03:11:04 -0400 Subject: Scrollbar color Message-ID: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> Hi list, Is there a possibility to set a custom color to a regular scrollbar ? I guess the answer is no, since I haven't found anything in the doc. I also guess that the only solution is to build a custom scrollbar. My problem is that the scrollbar looks ok on Mac, but on Windows it's 100% black... I tried "set the backgroundcolor of scrollbar x to grey", I didn't get any error but nothing changed. jbv From harrison at all-auctions.com Sat Oct 19 13:47:46 2024 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Sat, 19 Oct 2024 13:47:46 -0400 Subject: Scrollbar color In-Reply-To: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> References: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> Message-ID: Yes, you are probably stuck making your own. Good luck! Rick > On Oct 19, 2024, at 3:11 AM, jbv via use-livecode wrote: > > Hi list, > > Is there a possibility to set a custom color to a regular > scrollbar ? I guess the answer is no, since I haven't > found anything in the doc. I also guess that the only > solution is to build a custom scrollbar. > My problem is that the scrollbar looks ok on Mac, but > on Windows it's 100% black... > I tried "set the backgroundcolor of scrollbar x to grey", > I didn't get any error but nothing changed. > > jbv From paul at researchware.com Sat Oct 19 14:20:43 2024 From: paul at researchware.com (Paul Dupuis) Date: Sat, 19 Oct 2024 14:20:43 -0400 Subject: Scrollbar color In-Reply-To: References: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> Message-ID: See https://quality.livecode.com/show_bug.cgi?id=7762 Scrollbars and sliders are essentially the same object. This enhancement request/bug has been logged since 2009. I think the same request for scrollbars is also in the Quality Center bugzilla database and goes back even farther, but I didn't bother looking past the one above. On 10/19/2024 1:47 PM, harrison--- via use-livecode wrote: > Yes, you are probably stuck making your own. > > Good luck! > > Rick > >> On Oct 19, 2024, at 3:11 AM, jbv via use-livecode wrote: >> >> Hi list, >> >> Is there a possibility to set a custom color to a regular >> scrollbar ? I guess the answer is no, since I haven't >> found anything in the doc. I also guess that the only >> solution is to build a custom scrollbar. >> My problem is that the scrollbar looks ok on Mac, but >> on Windows it's 100% black... >> I tried "set the backgroundcolor of scrollbar x to grey", >> I didn't get any error but nothing changed. >> >> 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 craig at starfirelighting.com Mon Oct 21 09:25:55 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 21 Oct 2024 09:25:55 -0400 Subject: Scrollbar color In-Reply-To: References: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> Message-ID: <82B4F56B-9929-4884-95B4-20CCBFB19B73@starfirelighting.com> I set the backColor to “Blue” and then tried all the different inks. Nothing... > On Oct 19, 2024, at 2:20 PM, Paul Dupuis via use-livecode wrote: > > See https://quality.livecode.com/show_bug.cgi?id=7762 > > Scrollbars and sliders are essentially the same object. This enhancement request/bug has been logged since 2009. > > I think the same request for scrollbars is also in the Quality Center bugzilla database and goes back even farther, but I didn't bother looking past the one above. > > > On 10/19/2024 1:47 PM, harrison--- via use-livecode wrote: >> Yes, you are probably stuck making your own. >> >> Good luck! >> >> Rick >> >>> On Oct 19, 2024, at 3:11 AM, jbv via use-livecode wrote: >>> >>> Hi list, >>> >>> Is there a possibility to set a custom color to a regular >>> scrollbar ? I guess the answer is no, since I haven't >>> found anything in the doc. I also guess that the only >>> solution is to build a custom scrollbar. >>> My problem is that the scrollbar looks ok on Mac, but >>> on Windows it's 100% black... >>> I tried "set the backgroundcolor of scrollbar x to grey", >>> I didn't get any error but nothing changed. >>> >>> 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 craig at starfirelighting.com Mon Oct 21 09:32:19 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 21 Oct 2024 09:32:19 -0400 Subject: Scrollbar color In-Reply-To: <82B4F56B-9929-4884-95B4-20CCBFB19B73@starfirelighting.com> References: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> <82B4F56B-9929-4884-95B4-20CCBFB19B73@starfirelighting.com> Message-ID: <3048F828-7AF1-4675-904E-43EDED59B59E@starfirelighting.com> Were you interested in just having the thumb colored, the bar itself, or both? In any case, this is simple to do by overlaying two graphics on top of a standard scrollbar, and making the colored “thumb” graphic track the real one. Craig > On Oct 21, 2024, at 9:25 AM, Craig Newman via use-livecode wrote: > > I set the backColor to “Blue” and then tried all the different inks. Nothing... > >> On Oct 19, 2024, at 2:20 PM, Paul Dupuis via use-livecode wrote: >> >> See https://quality.livecode.com/show_bug.cgi?id=7762 >> >> Scrollbars and sliders are essentially the same object. This enhancement request/bug has been logged since 2009. >> >> I think the same request for scrollbars is also in the Quality Center bugzilla database and goes back even farther, but I didn't bother looking past the one above. >> >> >> On 10/19/2024 1:47 PM, harrison--- via use-livecode wrote: >>> Yes, you are probably stuck making your own. >>> >>> Good luck! >>> >>> Rick >>> >>>> On Oct 19, 2024, at 3:11 AM, jbv via use-livecode wrote: >>>> >>>> Hi list, >>>> >>>> Is there a possibility to set a custom color to a regular >>>> scrollbar ? I guess the answer is no, since I haven't >>>> found anything in the doc. I also guess that the only >>>> solution is to build a custom scrollbar. >>>> My problem is that the scrollbar looks ok on Mac, but >>>> on Windows it's 100% black... >>>> I tried "set the backgroundcolor of scrollbar x to grey", >>>> I didn't get any error but nothing changed. >>>> >>>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Oct 22 12:42:37 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 22 Oct 2024 16:42:37 +0000 Subject: Scrollbar color Message-ID: <41e97bf5f28a6eb97cfc32820f5884b7f99ac681@fourthworld.com> jbv wrote: > Is there a possibility to set a custom color to a regular > scrollbar ? Requested 2009, presumably low priority since scrollbars are so common most folks want the standard OS appearance. In fact, I no longer have a need for custom scrollbar colors myself. https://quality.livecode.com/show_bug.cgi?id=8017 > My problem is that the scrollbar looks ok on Mac, but > on Windows it's 100% black... If the default appearance of a control doesn't match OS specs, that would be a bug. -- Richard Gaskin FourthWorld.com From bobsneidar at iotecdigital.com Tue Oct 22 13:57:21 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 22 Oct 2024 17:57:21 +0000 Subject: Scrollbar color In-Reply-To: <41e97bf5f28a6eb97cfc32820f5884b7f99ac681@fourthworld.com> References: <41e97bf5f28a6eb97cfc32820f5884b7f99ac681@fourthworld.com> Message-ID: Ah. I would look at your Windows appearance settings. For some reason Microsoft thinks uglifying their OS makes it look more modern. Bob S On Oct 22, 2024, at 9:42 AM, Richard Gaskin via use-livecode wrote: My problem is that the scrollbar looks ok on Mac, but on Windows it's 100% black... If the default appearance of a control doesn't match OS specs, that would be a bug. -- Richard Gaskin FourthWorld.com From paul at researchware.com Tue Oct 22 17:01:28 2024 From: paul at researchware.com (Paul Dupuis) Date: Tue, 22 Oct 2024 17:01:28 -0400 Subject: Scrollbar color In-Reply-To: References: <41e97bf5f28a6eb97cfc32820f5884b7f99ac681@fourthworld.com> Message-ID: <818dd57a-4a22-430d-bfbf-830a0cea58b6@researchware.com> In Livecode (9.6.13 is what I used), click on the "Sample Stacks" icon in the toolbar. In the Sample Stacks window that comes up, search for "Scrollbar" (across all Stacks). he first one that comes up is a stack (by Oliver Kenyon) to make custom scrollbars. I have not ever had a need for a custom scrollbar, so I have not used this stack and have no idea how good it is, but you may want to download it and give it a try. From bobsneidar at iotecdigital.com Fri Oct 25 12:38:34 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 25 Oct 2024 16:38:34 +0000 Subject: Bring a stack to front when it is already open Message-ID: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> This may seem simple, but for some reason it’s not working. I have a Views function that can open multiple windows in one click, but sometimes stacks can be obscured by others, so I have a Modules Menu where you can select a stack and it will open it. The problem is, Open Stack and Go Card x Of Stack are not bringing the stack I select to the front, and neither is topLevel which only works if the stack is not already open. How? Bob S From andreas.bergendal at gmail.com Sat Oct 26 14:57:06 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Sat, 26 Oct 2024 20:57:06 +0200 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <96E5F8EC-B81D-4707-96C9-4C2A6BE6B67A@ucsb.edu> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> <696F736A-3B04-4650-B616-9F75BAD0CB48@ucsb.edu> <8A6C2C52-C2ED-4E88-AEEA-745C7E61F08B@gmail.com> <96E5F8EC-B81D-4707-96C9-4C2A6BE6B67A@ucsb.edu> Message-ID: <5E121EEC-4B91-4B89-B64E-D85BFE9DDF62@gmail.com> So, the release of LC 10 Classic stable and 10.0.1 RC1 were interesting, but they incorporated absolutely none of the web deployment customisation settings that would have been expected at this stage. Thus, my WebDeployHelper tool remains quite relevant for the foreseeable future (no, LC Create is nowhere there yet…). I have updated it with some javaScript error checking added to the resize listener, that should hopefully reduce the rate of javaScript-caused app crashes when running in mobile browsers. To recap: You need a LC 10 (classic) web deployment license to use it. It does NOT work with LC Create desktop, which has no web deployment enabled yet. Download it at the usual place: https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest Or, if you’re already using a previous version, just open the stack and it will prompt an update. /Andreas From phil at pdslabs.net Sat Oct 26 15:48:50 2024 From: phil at pdslabs.net (Phil Davis) Date: Sat, 26 Oct 2024 12:48:50 -0700 Subject: Bring a stack to front when it is already open In-Reply-To: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> References: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> Message-ID: Hi Bob, This may answer your need but isn't very elegant: *put*thestyleofstack"untitled 1"intox *set*thestyleofstack"untitled 1"to*palette* *set*thestyleofstack"untitled 1"tox Phil Davis On 10/25/24 9:38 AM, Bob Sneidar via use-livecode wrote: > This may seem simple, but for some reason its not working. I have a Views function that can open multiple windows in one click, but sometimes stacks can be obscured by others, so I have a Modules Menu where you can select a stack and it will open it. > > The problem is, Open Stack and Go Card x Of Stack are not bringing the stack I select to the front, and neither is topLevel which only works if the stack is not already open. > > How? > > 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 -- Phil Davis (503) 307-4363 From phil at pdslabs.net Sat Oct 26 15:58:18 2024 From: phil at pdslabs.net (Phil Davis) Date: Sat, 26 Oct 2024 12:58:18 -0700 Subject: Bring a stack to front when it is already open In-Reply-To: References: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> Message-ID: <791c9479-1430-4435-a5ce-c9e23d740f3b@pdslabs.net> Oops - sorry about the run-on words. Weird.    put the style of stack "untitled 1" into x    set the style of stack "untitled 1" to "palette"    set the style of stack "untitled 1" to x On 10/26/24 12:48 PM, Phil Davis via use-livecode wrote: > Hi Bob, > > This may answer your need but isn't very elegant: > >    *put*thestyleofstack"untitled 1"intox >    *set*thestyleofstack"untitled 1"to*palette* >    *set*thestyleofstack"untitled 1"tox > > Phil Davis > > > On 10/25/24 9:38 AM, Bob Sneidar via use-livecode wrote: >> This may seem simple, but for some reason its not working. I have a >> Views function that can open multiple windows in one click, but >> sometimes stacks can be obscured by others, so I have a Modules Menu >> where you can select a stack and it will open it. >> >> The problem is, Open Stack and Go Card x Of Stack are not bringing >> the stack I select to the front, and neither is topLevel which only >> works if the stack is not already open. >> >> How? >> >> 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 > -- Phil Davis (503) 307-4363 From bobsneidar at iotecdigital.com Mon Oct 28 11:27:28 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 28 Oct 2024 15:27:28 +0000 Subject: Bring a stack to front when it is already open In-Reply-To: <791c9479-1430-4435-a5ce-c9e23d740f3b@pdslabs.net> References: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> <791c9479-1430-4435-a5ce-c9e23d740f3b@pdslabs.net> Message-ID: <8D224198-8F8B-4A97-B459-388F9254FA3D@iotecdigital.com> Thanks Phil. I suspected it might be a workaround, but it just seemed odd to me that with all the window commands and functions, there was no way to do this with a single command. Bob S > On Oct 26, 2024, at 12:58 PM, Phil Davis via use-livecode wrote: > > Oops - sorry about the run-on words. Weird. > > put the style of stack "untitled 1" into x > set the style of stack "untitled 1" to "palette" > set the style of stack "untitled 1" to x > > > On 10/26/24 12:48 PM, Phil Davis via use-livecode wrote: >> Hi Bob, >> >> This may answer your need but isn't very elegant: >> >> *put*thestyleofstack"untitled 1"intox >> *set*thestyleofstack"untitled 1"to*palette* >> *set*thestyleofstack"untitled 1"tox >> >> Phil Davis >> >> >> On 10/25/24 9:38 AM, Bob Sneidar via use-livecode wrote: >>> This may seem simple, but for some reason it’s not working. I have a Views function that can open multiple windows in one click, but sometimes stacks can be obscured by others, so I have a Modules Menu where you can select a stack and it will open it. >>> >>> The problem is, Open Stack and Go Card x Of Stack are not bringing the stack I select to the front, and neither is topLevel which only works if the stack is not already open. >>> >>> How? >>> >>> 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 >> > > -- > Phil Davis > (503) 307-4363 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Oct 28 19:45:35 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 28 Oct 2024 23:45:35 +0000 Subject: Bring a stack to front when it is already open Message-ID: <6a765598e9b93f1bc6ad2dc454efc48c5dc6dc6f@fourthworld.com> Bob wrote: > This may seem simple, but for some reason it’s not working. I have a > Views function that can open multiple windows in one click, but > sometimes stacks can be obscured by others, so I have a Modules Menu > where you can select a stack and it will open it. > > The problem is, Open Stack and Go Card x Of Stack are not bringing > the stack I select to the front, and neither is topLevel which only > works if the stack is not already open. "open stack " works. If it's not working there something else is in play. Quick verification: 1. Create a stack, name it "AAA" 2. Create a bunch of other stacks, so "AAA" is behind them 3. Run this in the Message Box: open stack "AAA" Result: "AAA" comes to the front of all stack windows -- Richard Gaskin FourthWorld.com From curry at pair.com Mon Oct 28 20:16:23 2024 From: curry at pair.com (Curry Kenworthy) Date: Mon, 28 Oct 2024 20:16:23 -0400 Subject: WordLib and SpreadLib update news for LC 10 Message-ID: Thank you to several people who have inquired about LC 10 recently - Yes, I am preparing WordLib and SpreadLib updates for LC 10! And a couple of other issues. Please whitelist my email address to ensure successful communication. No exact release schedule yet - Comments and code delayed a bit by health issues. Happy coding! More news soon.... Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice files in LiveCode! "Dominate documents with WordLib and LC" https://livecodeaddons.com/ From jbv at souslelogo.com Tue Oct 29 04:53:11 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 29 Oct 2024 04:53:11 -0400 Subject: How to determine if a text file is UTF8 ? Message-ID: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> Hi list, How to determine if a text file is UTF8 or just plain ASCII ? In other words, how to know if one should use open file myfile.txt for UTF8 read or open file myfile.txt for read Thank you. jbv From bobsneidar at iotecdigital.com Tue Oct 29 11:09:53 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Oct 2024 15:09:53 +0000 Subject: Bring a stack to front when it is already open In-Reply-To: <6a765598e9b93f1bc6ad2dc454efc48c5dc6dc6f@fourthworld.com> References: <6a765598e9b93f1bc6ad2dc454efc48c5dc6dc6f@fourthworld.com> Message-ID: Okay, that’s odd. It IS working now. Bob S > On Oct 28, 2024, at 4:45 PM, Richard Gaskin via use-livecode wrote: > > Bob wrote: > >> This may seem simple, but for some reason it’s not working. I have a >> Views function that can open multiple windows in one click, but >> sometimes stacks can be obscured by others, so I have a Modules Menu >> where you can select a stack and it will open it. >> >> The problem is, Open Stack and Go Card x Of Stack are not bringing >> the stack I select to the front, and neither is topLevel which only >> works if the stack is not already open. > > "open stack " works. If it's not working there something else is in play. > > > Quick verification: > > 1. Create a stack, name it "AAA" > 2. Create a bunch of other stacks, so "AAA" is behind them > 3. Run this in the Message Box: > > open stack "AAA" > > Result: "AAA" comes to the front of all stack windows > > -- > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Oct 29 11:17:12 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Oct 2024 15:17:12 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> Message-ID: <9928C66F-F3A0-4C06-B4DA-FE0880AAEDEA@iotecdigital.com> There is a Wikipedia article on this. Turns out it is not straightforward. There can be a Byte Order Mark that the file begins with but not all vendors use it. And I do not think you can make the determination simply by examining the contents of the file. Byte-order mark[edit] If the Unicode byte-order mark U+FEFF is at the start of a UTF-8 file, the first three bytes will be 0xEF, 0xBB, 0xBF. The Unicode Standard neither requires nor recommends the use of the BOM for UTF-8, but warns that it may be encountered at the start of a file trans-coded from another encoding.[23] While ASCII text encoded using UTF-8 is backward compatible with ASCII, this is not true when Unicode Standard recommendations are ignored and a BOM is added. A BOM can confuse software that isn't prepared for it but can otherwise accept UTF-8, e.g. programming languages that permit non-ASCII bytes in string literals but not at the start of the file. Nevertheless, there was and still is software that always inserts a BOM when writing UTF-8, and refuses to correctly interpret UTF-8 unless the first character is a BOM (or the file only contains ASCII).[24] https://en.wikipedia.org/wiki/UTF-8# Bob S > On Oct 29, 2024, at 1:53 AM, jbv via use-livecode wrote: > > Hi list, > > How to determine if a text file is UTF8 or just plain ASCII ? > In other words, how to know if one should use > open file myfile.txt for UTF8 read > or > open file myfile.txt for read > > Thank you. > 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 Tue Oct 29 11:31:11 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Oct 2024 15:31:11 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <9928C66F-F3A0-4C06-B4DA-FE0880AAEDEA@iotecdigital.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> <9928C66F-F3A0-4C06-B4DA-FE0880AAEDEA@iotecdigital.com> Message-ID: <9DAD6CFB-A937-44C0-9833-E779CE08F66D@iotecdigital.com> I suppose you could also use textDecode(, “UTF-8”) to convert the text to that format. Bob S > On Oct 29, 2024, at 8:17 AM, Bob Sneidar via use-livecode wrote: > > There is a Wikipedia article on this. Turns out it is not straightforward. There can be a Byte Order Mark that the file begins with but not all vendors use it. And I do not think you can make the determination simply by examining the contents of the file. > > Byte-order mark[edit] > If the Unicode byte-order mark U+FEFF is at the start of a UTF-8 file, the first three bytes will be 0xEF, 0xBB, 0xBF. > The Unicode Standard neither requires nor recommends the use of the BOM for UTF-8, but warns that it may be encountered at the start of a file trans-coded from another encoding.[23] While ASCII text encoded using UTF-8 is backward compatible with ASCII, this is not true when Unicode Standard recommendations are ignored and a BOM is added. A BOM can confuse software that isn't prepared for it but can otherwise accept UTF-8, e.g. programming languages that permit non-ASCII bytes in string literals but not at the start of the file. Nevertheless, there was and still is software that always inserts a BOM when writing UTF-8, and refuses to correctly interpret UTF-8 unless the first character is a BOM (or the file only contains ASCII).[24] > > https://en.wikipedia.org/wiki/UTF-8# > > Bob S > > >> On Oct 29, 2024, at 1:53 AM, jbv via use-livecode wrote: >> >> Hi list, >> >> How to determine if a text file is UTF8 or just plain ASCII ? >> In other words, how to know if one should use >> open file myfile.txt for UTF8 read >> or >> open file myfile.txt for read >> >> Thank you. >> 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 bobsneidar at iotecdigital.com Tue Oct 29 11:32:50 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Oct 2024 15:32:50 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <9DAD6CFB-A937-44C0-9833-E779CE08F66D@iotecdigital.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> <9928C66F-F3A0-4C06-B4DA-FE0880AAEDEA@iotecdigital.com> <9DAD6CFB-A937-44C0-9833-E779CE08F66D@iotecdigital.com> Message-ID: <0EC3AD01-7C4D-4ABB-9B4E-5D605404EE57@iotecdigital.com> So open file for binary read, then put textDecode(it, “UTF-8”) into tText. Bob S > On Oct 29, 2024, at 8:31 AM, Bob Sneidar wrote: > > I suppose you could also use textDecode(, “UTF-8”) to convert the text to that format. > > Bob S > > >> On Oct 29, 2024, at 8:17 AM, Bob Sneidar via use-livecode wrote: >> >> There is a Wikipedia article on this. Turns out it is not straightforward. There can be a Byte Order Mark that the file begins with but not all vendors use it. And I do not think you can make the determination simply by examining the contents of the file. >> >> Byte-order mark[edit] >> If the Unicode byte-order mark U+FEFF is at the start of a UTF-8 file, the first three bytes will be 0xEF, 0xBB, 0xBF. >> The Unicode Standard neither requires nor recommends the use of the BOM for UTF-8, but warns that it may be encountered at the start of a file trans-coded from another encoding.[23] While ASCII text encoded using UTF-8 is backward compatible with ASCII, this is not true when Unicode Standard recommendations are ignored and a BOM is added. A BOM can confuse software that isn't prepared for it but can otherwise accept UTF-8, e.g. programming languages that permit non-ASCII bytes in string literals but not at the start of the file. Nevertheless, there was and still is software that always inserts a BOM when writing UTF-8, and refuses to correctly interpret UTF-8 unless the first character is a BOM (or the file only contains ASCII).[24] >> >> https://en.wikipedia.org/wiki/UTF-8# >> >> Bob S >> >> >>> On Oct 29, 2024, at 1:53 AM, jbv via use-livecode wrote: >>> >>> Hi list, >>> >>> How to determine if a text file is UTF8 or just plain ASCII ? >>> In other words, how to know if one should use >>> open file myfile.txt for UTF8 read >>> or >>> open file myfile.txt for read >>> >>> Thank you. >>> 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 mark at livecode.com Tue Oct 29 12:23:58 2024 From: mark at livecode.com (Mark Waddingham) Date: Tue, 29 Oct 2024 16:23:58 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> Message-ID: <8eed3ceb4735b57f11bbc631a5e39c31@livecode.com> On 2024-10-29 08:53, jbv via use-livecode wrote: > Hi list, > > How to determine if a text file is UTF8 or just plain ASCII ? > In other words, how to know if one should use > open file myfile.txt for UTF8 read > or > open file myfile.txt for read If it is really plain ASCII then it doesn't matter - UTF8 is a strict superset of ASCII. All ASCII chars are identical - they are codes 0-127 so only use 7-bits (as ASCII does). Any UTF-8 chars will start with a byte which has the high bit set so will be in the range 128-255 - UTF-8 encoded chars are always at least two bytes, and all those bytes have the top bit set. If by 'ASCII' you mean 'some native encoding' like MacRoman or Latin-1 (Windows 1252), then things are a bit more tricky. Unless the text file has a byte-order-mark (BOM) at the front (which these days are becoming much less common) you can only really tell by guessing. The simplest guess is to see if it 'roundtrips' as utf-8 and if it does then it is almost certainly utf-8; if it does not, then it is either unicode encoding (e.g. UTF-16 - which is often found on Windows), or some other encoding (typically on mac this will be MacRoman, and on Windows this will be Latin-1 - but that's typically, there are 100's of region specific encodings so generally it depends on where the file came from / the locale of the computer it was created on - obviously with unicode this is not really an issue for new stuff, its more legacy stuff). So if you are faced with text files may either be the 'platform native' encoding (as LiveCode sees it) or utf-8 without a BOM: local tBinText, tText put url ("binfile:myfile.txt") into tBinText put textDecode(tBinText, "utf-8") into tText if textEncode(tText, "utf-8") is not tBinText then -- If tText does not encode back to utf-8 identically, then it means there are invalid utf-8 -- byte sequences in it which means that it is either a corrupted utf-8 file (unlikely) or -- not utf-8 put textDecode(tBinText, "native") into tText else -- If the first char is the unicode 'zero width no-break space' then that was a BOM which we -- don't want (the logic here is that that char makes no sense at the start of a file so is -- reserved in that specific case to be used as a marker for unicode encoding) if codeunit 1 of tText is numToCodepoint(0xFEFF) then delete codeunit 1 of tText end if end if -- Perform the general EOL conversion the engine would do reading text replace crlf with return in tText replace numToCodepoint(13) with return in tText I'd estimate this probably 99% reliable - in order for a native encoded file to *also* be valid UTF-8 is quite unlikely as for that to be the case you'd need some very strange sequences of non-ascii characters (which tend to always be surrounded by ASCII - e.g. accented chars, math symbols, indices, quote variants). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From jbv at souslelogo.com Tue Oct 29 14:01:40 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 29 Oct 2024 14:01:40 -0400 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> Message-ID: <1e4d7f30e869b825e0325031e25cab2e@souslelogo.com> Thank you all for your answers, and especially Mark for posting some code that I will try immediately. From benr_mc at cogapp.com Wed Oct 30 06:17:01 2024 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 30 Oct 2024 10:17:01 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <8eed3ceb4735b57f11bbc631a5e39c31@livecode.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> <8eed3ceb4735b57f11bbc631a5e39c31@livecode.com> Message-ID: Thanks for the handy tip re validating UTF8, which I didn't know. Can I use this opportunity to make the plea once again to support the basic encodings on any platform, rather than relying on the hated "native", i.e. https://quality.livecode.com/show_bug.cgi?id=12205 and bearing in mind the comments of one M*rk W*dd*ingh*m in 2014: > In any case, I can't argue with the suggestion that the language parameter should enable at least the most common charsets to be leveraged and converted to/from Unicode. ... > At least for release we are aiming to have the list above working on all platforms. (UTF-8, UTF-16 (BE and LE), UTF-32 (BE and LE), MacRoman, ISO8859-1, Windows-1252, ASCII) (comments on https://quality.livecode.com/show_bug.cgi?id=3674) Thanks for listening! Ben On 29/10/2024 16:23, Mark Waddingham via use-livecode wrote: > On 2024-10-29 08:53, jbv via use-livecode wrote: >> Hi list, >> >> How to determine if a text file is UTF8 or just plain ASCII ? >> In other words, how to know if one should use >>   open file myfile.txt for UTF8 read >> or >>   open file myfile.txt for read > > If it is really plain ASCII then it doesn't matter - UTF8 is a strict superset > of ASCII. > > All ASCII chars are identical - they are codes 0-127 so only use 7-bits (as > ASCII does). > > Any UTF-8 chars will start with a byte which has the high bit set so will be > in the range 128-255 - UTF-8 encoded chars are always at least two bytes, and > all those bytes have the top bit set. > > If by 'ASCII' you mean 'some native encoding' like MacRoman or Latin-1 > (Windows 1252), then things are a bit more tricky. Unless the text file has a > byte-order-mark (BOM) at the front (which these days are becoming much less > common) you can only really tell by guessing. > > The simplest guess is to see if it 'roundtrips' as utf-8 and if it does then > it is almost certainly utf-8; if it does not, then it is either unicode > encoding (e.g. UTF-16 - which is often found on Windows), or some other > encoding (typically on mac this will be MacRoman, and on Windows this will be > Latin-1 - but that's typically, there are 100's of region specific encodings > so generally it depends on where the file came from / the locale of the > computer it was created on - obviously with unicode this is not really an > issue for new stuff, its more legacy stuff). > > So if you are faced with text files may either be the 'platform native' > encoding (as LiveCode sees it) or utf-8 without a BOM: > >   local tBinText, tText >   put url ("binfile:myfile.txt") into tBinText >   put textDecode(tBinText, "utf-8") into tText >   if textEncode(tText, "utf-8") is not tBinText then >      -- If tText does not encode back to utf-8 identically, then it means > there are invalid utf-8 >      -- byte sequences in it which means that it is either a corrupted utf-8 > file (unlikely) or >      -- not utf-8 >      put textDecode(tBinText, "native") into tText >   else >     -- If the first char is the unicode 'zero width no-break space' then that > was a BOM which we >     -- don't want (the logic here is that that char makes no sense at the > start of a file so is >     -- reserved in that specific case to be used as a marker for unicode > encoding) >     if codeunit 1 of tText is numToCodepoint(0xFEFF) then >       delete codeunit 1 of tText >     end if >   end if > >   -- Perform the general EOL conversion the engine would do reading text >   replace crlf with return in tText >   replace numToCodepoint(13) with return in tText > > I'd estimate this probably 99% reliable - in order for a native encoded file > to *also* be valid UTF-8 is quite unlikely as for that to be the case you'd > need some very strange sequences of non-ascii characters (which tend to always > be surrounded by ASCII - e.g. accented chars, math symbols, indices, quote > variants). > > Warmest Regards, > > Mark. > From craig at starfirelighting.com Thu Oct 31 09:25:48 2024 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 31 Oct 2024 09:25:48 -0400 Subject: Bring a stack to front when it is already open In-Reply-To: References: <6a765598e9b93f1bc6ad2dc454efc48c5dc6dc6f@fourthworld.com> Message-ID: <58B8D7C6-0C32-4442-A928-7EC1BDA58B93@starfirelighting.com> Bob. Not odd at all. I just went through something similar: https://forums.livecode.com/viewtopic.php?f=9&t=39422 Haunted software. It is halloween, after all. Craig > On Oct 29, 2024, at 11:09 AM, Bob Sneidar via use-livecode wrote: > > Okay, that’s odd. It IS working now. > > Bob S > > >> On Oct 28, 2024, at 4:45 PM, Richard Gaskin via use-livecode wrote: >> >> Bob wrote: >> >>> This may seem simple, but for some reason it’s not working. I have a >>> Views function that can open multiple windows in one click, but >>> sometimes stacks can be obscured by others, so I have a Modules Menu >>> where you can select a stack and it will open it. >>> >>> The problem is, Open Stack and Go Card x Of Stack are not bringing >>> the stack I select to the front, and neither is topLevel which only >>> works if the stack is not already open. >> >> "open stack " works. If it's not working there something else is in play. >> >> >> Quick verification: >> >> 1. Create a stack, name it "AAA" >> 2. Create a bunch of other stacks, so "AAA" is behind them >> 3. Run this in the Message Box: >> >> open stack "AAA" >> >> Result: "AAA" comes to the front of all stack windows >> >> -- >> Richard Gaskin >> FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Thu Oct 31 10:47:56 2024 From: heather at livecode.com (Heather Laine) Date: Thu, 31 Oct 2024 14:47:56 +0000 Subject: LiveCode Create dp-5 released Message-ID: <7F4181AC-3348-4D24-911D-82D2D7306BED@livecode.com> Dear list folks, LiveCode Create is continuing to make great progress. With the 1.0 dp-5 release we have a number of new features and a whole slew of fixes to make using the new platform a lot nicer. The primary improvement in this release is the merging of the internal engines, so that if you are using Classic within Create, you can share Create based extensions. Read more here: https://livecode.com/create-dp-5-unified-engines-and-shared-extensions/ Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From bobsneidar at iotecdigital.com Thu Oct 31 14:41:19 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Oct 2024 18:41:19 +0000 Subject: Read Binary heads up Message-ID: <4F9DAE0C-DA90-412B-8A60-FC123230BAE3@iotecdigital.com> I want to give everyone a heads up. I created a handler to convert a Konica address book to a Toshiba one. First I open the Konica address book using binary read. But for some reason itemOffset was not working, and neither did “contains”. I couldn’t figure it out until I copy/pasted a line of the binary data into the message box, and then tried to backspace to shorten the line (thinking it might be too long). To my surprise, I had to backspace twice for every character, leading me to believe the file might be UTF-16! I used open file filename for read (without the binary) and all is well. I guess the moral of the story is, if you don’t *have* to open binary, don’t. Bob S From tom at makeshyft.com Thu Oct 31 15:35:00 2024 From: tom at makeshyft.com (Tom Glod) Date: Thu, 31 Oct 2024 15:35:00 -0400 Subject: Read Binary heads up In-Reply-To: <4F9DAE0C-DA90-412B-8A60-FC123230BAE3@iotecdigital.com> References: <4F9DAE0C-DA90-412B-8A60-FC123230BAE3@iotecdigital.com> Message-ID: Interesting, thanks ..... I think I ran into this before. WIll double check to default to text mode. On Thu, Oct 31, 2024 at 2:42 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I want to give everyone a heads up. I created a handler to convert a > Konica address book to a Toshiba one. First I open the Konica address book > using binary read. But for some reason itemOffset was not working, and > neither did “contains”. I couldn’t figure it out until I copy/pasted a line > of the binary data into the message box, and then tried to backspace to > shorten the line (thinking it might be too long). To my surprise, I had to > backspace twice for every character, leading me to believe the file might > be UTF-16! > > I used open file filename for read (without the binary) and all is well. I > guess the moral of the story is, if you don’t *have* to open binary, don’t. > > Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Thu Oct 3 14:58:14 2024 From: dsc at swcp.com (Dar Scott) Date: Thu, 3 Oct 2024 12:58:14 -0600 Subject: New horizons for me... Message-ID: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Hello all, It is with a sad heart and a grieving kidney that I am announcing that darzLAB (formally known as Dar Scott Consulting) is closing. Your speculations as to that reason why have less truth than the truth of all your speculations should you truly speculate. It is complicated. I have been on this list for many centuries or less. In that time I have loved half of you twice as much as my utmost love for most. I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. I will not be shivering in the cold. A customer who knows my health situation is putting together a job offer, full-time as long as I can. It will be nice to relax in that. Though I might tinker with some LiveCode over the next year or two, I am leaving the lists at the end of the week. Dar Scott DarScott at darzLAB.com From prothero at ucsb.edu Thu Oct 3 15:02:14 2024 From: prothero at ucsb.edu (William Prothero) Date: Thu, 3 Oct 2024 12:02:14 -0700 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: <92651365-372F-46C1-90A7-58B9FA8FA11B@ucsb.edu> Far, Wishing you happiness and peace in your journey. Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On Oct 3, 2024, at 11:59 AM, Dar Scott via use-livecode wrote: > > Hello all, > > It is with a sad heart and a grieving kidney that I am announcing that darzLAB (formally known as Dar Scott Consulting) is closing. > > Your speculations as to that reason why have less truth than the truth of all your speculations should you truly speculate. It is complicated. > > I have been on this list for many centuries or less. In that time I have loved half of you twice as much as my utmost love for most. > > I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. > > I will not be shivering in the cold. A customer who knows my health situation is putting together a job offer, full-time as long as I can. It will be nice to relax in that. > > Though I might tinker with some LiveCode over the next year or two, I am leaving the lists at the end of the week. > > Dar Scott > > DarScott at darzLAB.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marksmithhfx at gmail.com Thu Oct 3 15:10:14 2024 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 3 Oct 2024 20:10:14 +0100 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: Thank you Dar for your many contributions to this and other LC forums. You will be missed, and will be warmly welcomed back at anytime. Rest, heal and may good health follow. Mark Sent from my iPhone > On Oct 3, 2024, at 7:59 PM, Dar Scott via use-livecode wrote: > > I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. From bobsneidar at iotecdigital.com Thu Oct 3 16:24:34 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 3 Oct 2024 20:24:34 +0000 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: <268A304E-C489-4AD7-9344-3800835F249A@iotecdigital.com> Well wishes. Bob S > On Oct 3, 2024, at 11:58 AM, Dar Scott via use-livecode wrote: > > Hello all, > > It is with a sad heart and a grieving kidney that I am announcing that darzLAB (formally known as Dar Scott Consulting) is closing. > > Your speculations as to that reason why have less truth than the truth of all your speculations should you truly speculate. It is complicated. > > I have been on this list for many centuries or less. In that time I have loved half of you twice as much as my utmost love for most. > > I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. > > I will not be shivering in the cold. A customer who knows my health situation is putting together a job offer, full-time as long as I can. It will be nice to relax in that. > > Though I might tinker with some LiveCode over the next year or two, I am leaving the lists at the end of the week. > > Dar Scott > > DarScott at darzLAB.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kaveh at rivervalley.io Thu Oct 3 17:14:11 2024 From: kaveh at rivervalley.io (Kaveh Bazargan) Date: Thu, 3 Oct 2024 22:14:11 +0100 Subject: New horizons for me... In-Reply-To: References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: Wish you well Dar. Any friend of LiveCode is a friend of mine too. ;-) Regards Kaveh On Thu, 3 Oct 2024 at 20:11, Mark Smith via use-livecode < use-livecode at lists.runrev.com> wrote: > Thank you Dar for your many contributions to this and other LC forums. You > will be missed, and will be warmly welcomed back at anytime. Rest, heal and > may good health follow. > > Mark > > Sent from my iPhone > > > On Oct 3, 2024, at 7:59 PM, Dar Scott via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I have obtained good and clear advice when I was being obtuse. I > received encouragement when I was frustrated. I felt a camaraderie as we > tracked down problems. We have been part of something good. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Kaveh Bazargan PhD Director River Valley Technologies ● Twitter ● LinkedIn ● ORCID ● @kaveh1000 at mastodon.social *Accelerating the Communication of Research* * [image: https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/] * From scott at elementarysoftware.com Thu Oct 3 20:26:12 2024 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Thu, 3 Oct 2024 17:26:12 -0700 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: <615834E4-066E-4FB2-8F89-45D194BD2353@elementarysoftware.com> Hello Dar, I was happy to see you posting to the list the other day. And now sad to hear that you may be leaving us again. I remember first meeting you at the conferences in Monterey and sitting with you at lunch. I recall being struck by what a kind and generous person you were. I am wishing you well (and hoping we may yet have the benefit of your presence on this list.) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com booth 1-360-734-4701 ------------------------------------------------------ > On Oct 3, 2024, at 11:58 AM, Dar Scott via use-livecode wrote: > > Hello all, > > It is with a sad heart and a grieving kidney that I am announcing that darzLAB (formally known as Dar Scott Consulting) is closing. > > Your speculations as to that reason why have less truth than the truth of all your speculations should you truly speculate. It is complicated. > > I have been on this list for many centuries or less. In that time I have loved half of you twice as much as my utmost love for most. > > I have obtained good and clear advice when I was being obtuse. I received encouragement when I was frustrated. I felt a camaraderie as we tracked down problems. We have been part of something good. > > I will not be shivering in the cold. A customer who knows my health situation is putting together a job offer, full-time as long as I can. It will be nice to relax in that. > > Though I might tinker with some LiveCode over the next year or two, I am leaving the lists at the end of the week. > > Dar Scott > > DarScott at darzLAB.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Oct 4 12:39:14 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Oct 2024 11:39:14 -0500 Subject: New horizons for me... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: <19258665350.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Dar, I missed you while you were gone and was so happy to see you back. Now I'll miss you again. I'll never forget our proudest moment when Andre, you, and I pelted Richard Gaskin with candy on stage while he was giving his presentation on Hungarian notation variables, and we were screaming "Leave our variables alone! Keep your hands off our variables!". You said you couldn't find any tomatoes so you bought red candy instead. It was hilarious. Truth to tell, Richard was right and I adopted his notation. But that doesn't detract from the moment. I'll miss your humor and kindness. Be well. And if you ever need an untouched water glass in the future I'll give you mine again. Jacque -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 3, 2024 2:00:45 PM Dar Scott via use-livecode wrote: > Hello all, > > It is with a sad heart and a grieving kidney that I am announcing that > darzLAB (formally known as Dar Scott Consulting) is closing. > > Your speculations as to that reason why have less truth than the truth of > all your speculations should you truly speculate. It is complicated. > > I have been on this list for many centuries or less. In that time I have > loved half of you twice as much as my utmost love for most. > > I have obtained good and clear advice when I was being obtuse. I received > encouragement when I was frustrated. I felt a camaraderie as we tracked > down problems. We have been part of something good. > > I will not be shivering in the cold. A customer who knows my health > situation is putting together a job offer, full-time as long as I can. It > will be nice to relax in that. > > Though I might tinker with some LiveCode over the next year or two, I am > leaving the lists at the end of the week. > > Dar Scott > > DarScott at darzLAB.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Sat Oct 5 15:09:58 2024 From: tom at makeshyft.com (Tom Glod) Date: Sat, 5 Oct 2024 15:09:58 -0400 Subject: New horizons for me... In-Reply-To: <19258665350.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> <19258665350.2814.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: All the best Dar. Funny story Jacque! On Fri, Oct 4, 2024 at 12:40 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Dar, I missed you while you were gone and was so happy to see you back. > Now > I'll miss you again. > > I'll never forget our proudest moment when Andre, you, and I pelted > Richard > Gaskin with candy on stage while he was giving his presentation on > Hungarian notation variables, and we were screaming "Leave our variables > alone! Keep your hands off our variables!". You said you couldn't find any > tomatoes so you bought red candy instead. It was hilarious. > > Truth to tell, Richard was right and I adopted his notation. But that > doesn't detract from the moment. > > I'll miss your humor and kindness. Be well. And if you ever need an > untouched water glass in the future I'll give you mine again. > > Jacque > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On October 3, 2024 2:00:45 PM Dar Scott via use-livecode > wrote: > > > Hello all, > > > > It is with a sad heart and a grieving kidney that I am announcing that > > darzLAB (formally known as Dar Scott Consulting) is closing. > > > > Your speculations as to that reason why have less truth than the truth > of > > all your speculations should you truly speculate. It is complicated. > > > > I have been on this list for many centuries or less. In that time I have > > loved half of you twice as much as my utmost love for most. > > > > I have obtained good and clear advice when I was being obtuse. I > received > > encouragement when I was frustrated. I felt a camaraderie as we tracked > > down problems. We have been part of something good. > > > > I will not be shivering in the cold. A customer who knows my health > > situation is putting together a job offer, full-time as long as I can. > It > > will be nice to relax in that. > > > > Though I might tinker with some LiveCode over the next year or two, I am > > leaving the lists at the end of the week. > > > > Dar Scott > > > > DarScott at darzLAB.com > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Mon Oct 7 10:57:40 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 07 Oct 2024 14:57:40 +0000 Subject: New horizons for me... Message-ID: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> I wrote to Dar off-list, since by now he's unsubscribed. But I did want to thank you for your participation in the candy distribution during the talk Ken and I gave on code style. I've lost count of how many talks I've given at conferences over the years, but that one is a story I still tell. The candy selection was quite good, the fun-size packs perfect for a weekend on the go. If you ever wish to toss candy my way at a conference I'll welcome it just as much as Ken and I enjoyed that batch in Monterrey. :) Richard Gaskin FourthWorld.com Jacque wrote: > Dar, I missed you while you were gone and was so happy to see you back. > Now I'll miss you again. > > I'll never forget our proudest moment when Andre, you, and I pelted > Richard Gaskin with candy on stage while he was giving his presentation > on Hungarian notation variables, and we were screaming "Leave our > variables alone! Keep your hands off our variables!". You said you > couldn't find any tomatoes so you bought red candy instead. It was > hilarious. > > Truth to tell, Richard was right and I adopted his notation. But > that doesn't detract from the moment. > > I'll miss your humor and kindness. Be well. And if you ever need > an untouched water glass in the future I'll give you mine again. > > Jacque From bogdanoff at me.com Mon Oct 7 11:39:42 2024 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 7 Oct 2024 11:39:42 -0400 Subject: New horizons for me... In-Reply-To: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> References: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> Message-ID: <7E20A3AE-7832-48A5-BE6F-D78FFF9A3076@me.com> I still want to know how Hungarian notation variables are useful in Livecode. Peter > On Oct 7, 2024, at 10:57 AM, Richard Gaskin via use-livecode wrote: > >> Hungarian notation variables From craig at starfirelighting.com Mon Oct 7 11:43:11 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 7 Oct 2024 11:43:11 -0400 Subject: New horizons for me... In-Reply-To: <7E20A3AE-7832-48A5-BE6F-D78FFF9A3076@me.com> References: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> <7E20A3AE-7832-48A5-BE6F-D78FFF9A3076@me.com> Message-ID: <0E596843-216A-4A02-8F11-1BB7302E12B6@starfirelighting.com> I use Visigoth notation wherever I can. That is why I cannot read my code later on. Craig > On Oct 7, 2024, at 11:39 AM, Peter Bogdanoff via use-livecode wrote: > > I still want to know how Hungarian notation variables are useful in Livecode. > > Peter > >> On Oct 7, 2024, at 10:57 AM, Richard Gaskin via use-livecode wrote: >> >>> Hungarian notation variables > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 7 17:15:33 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Oct 2024 16:15:33 -0500 Subject: New horizons for me... In-Reply-To: <0E596843-216A-4A02-8F11-1BB7302E12B6@starfirelighting.com> References: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> <7E20A3AE-7832-48A5-BE6F-D78FFF9A3076@me.com> <0E596843-216A-4A02-8F11-1BB7302E12B6@starfirelighting.com> Message-ID: <19268d65d20.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Since Hungarian notation puts the letters before the variable name, i.e.: t = temporary g = global l or s = script local ...etc I assume Visigoth notation puts them at the end, i.e.: tFoo becomes foot -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 7, 2024 10:45:33 AM Craig Newman via use-livecode wrote: > I use Visigoth notation wherever I can. That is why I cannot read my code > later on. > > Craig > >> On Oct 7, 2024, at 11:39 AM, Peter Bogdanoff via use-livecode >> wrote: >> >> I still want to know how Hungarian notation variables are useful in Livecode. >> >> Peter >> >>> On Oct 7, 2024, at 10:57 AM, Richard Gaskin via use-livecode >>> wrote: >>> >>>> Hungarian notation variables >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 7 17:22:39 2024 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 07 Oct 2024 16:22:39 -0500 Subject: New horizons for me... In-Reply-To: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> References: <71b1fbd4247413cb3510558527e2c56cab549887@fourthworld.com> Message-ID: <19268dce118.276f.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Yeah, well, you never shared any of it back so don't hold your breath. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 7, 2024 9:59:54 AM Richard Gaskin via use-livecode wrote: > I wrote to Dar off-list, since by now he's unsubscribed. > > But I did want to thank you for your participation in the candy > distribution during the talk Ken and I gave on code style. > > I've lost count of how many talks I've given at conferences over the years, > but that one is a story I still tell. > > The candy selection was quite good, the fun-size packs perfect for a > weekend on the go. If you ever wish to toss candy my way at a conference > I'll welcome it just as much as Ken and I enjoyed that batch in Monterrey. :) > > Richard Gaskin > FourthWorld.com > > > Jacque wrote: > >> Dar, I missed you while you were gone and was so happy to see you back. >> Now I'll miss you again. >> >> I'll never forget our proudest moment when Andre, you, and I pelted >> Richard Gaskin with candy on stage while he was giving his presentation >> on Hungarian notation variables, and we were screaming "Leave our >> variables alone! Keep your hands off our variables!". You said you >> couldn't find any tomatoes so you bought red candy instead. It was >> hilarious. >> >> Truth to tell, Richard was right and I adopted his notation. But >> that doesn't detract from the moment. >> >> I'll miss your humor and kindness. Be well. And if you ever need >> an untouched water glass in the future I'll give you mine again. >> >> Jacque > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Oct 7 18:17:07 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 07 Oct 2024 22:17:07 +0000 Subject: New horizons for me... Message-ID: Peter Bogdanoff wrote: > I still want to know how Hungarian notation variables are useful in Livecode. History and background of Hungarian Notation: https://en.wikipedia.org/wiki/Hungarian_notation The "Hungarian-Lite" a lot of us in the xTalk world use: http://www.fourthworld.com/embassy/articles/scriptstyle.html#Naming -- Richard Gaskin FourthWorld.com From bobsneidar at iotecdigital.com Mon Oct 7 19:57:48 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Oct 2024 23:57:48 +0000 Subject: New horizons for me... In-Reply-To: References: Message-ID: <35E5F38C-18C6-4C42-B658-C21A31C70706@iotecdigital.com> I thought Hungarian Notation was a way to write music for accordion players. Bob S > On Oct 7, 2024, at 3:17 PM, Richard Gaskin via use-livecode wrote: > > Peter Bogdanoff wrote: >> I still want to know how Hungarian notation variables are useful in Livecode. > > History and background of Hungarian Notation: > https://en.wikipedia.org/wiki/Hungarian_notation > > The "Hungarian-Lite" a lot of us in the xTalk world use: > http://www.fourthworld.com/embassy/articles/scriptstyle.html#Naming > > -- > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Oct 8 11:41:53 2024 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 8 Oct 2024 11:41:53 -0400 Subject: New horizons for me... In-Reply-To: <35E5F38C-18C6-4C42-B658-C21A31C70706@iotecdigital.com> References: <35E5F38C-18C6-4C42-B658-C21A31C70706@iotecdigital.com> Message-ID: <002f01db1998$9cce70e0$d66b52a0$@net> Nice... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Monday, October 07, 2024 7:58 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: New horizons for me... I thought Hungarian Notation was a way to write music for accordion players. Bob S > On Oct 7, 2024, at 3:17 PM, Richard Gaskin via use-livecode wrote: > > Peter Bogdanoff wrote: >> I still want to know how Hungarian notation variables are useful in Livecode. > > History and background of Hungarian Notation: > https://en.wikipedia.org/wiki/Hungarian_notation > > The "Hungarian-Lite" a lot of us in the xTalk world use: > http://www.fourthworld.com/embassy/articles/scriptstyle.html#Naming > > -- > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Wed Oct 9 09:50:46 2024 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 9 Oct 2024 16:50:46 +0300 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 10.0.0 STABLE and LiveCode 10.0.1 RC-1. - LiveCode 10.0.0 comes with 116 new features and bugfixes since the previous stable release. - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, including that building iOS standalones no longer requires a specific version of Xcode or iOS SDK! You can find more details on the bugfixes and improvements of these 2 new releases here: https://livecode.com/3-great-new-livecode-releases/ You can find the releases in your LiveCode account area or get them via the automatic updater. Enjoy! Kind regards The LiveCode Team -- From klaus at major-k.de Wed Oct 9 10:23:33 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 9 Oct 2024 16:23:33 +0200 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: Hi Panos, wonderful, thank you! > Am 09.10.2024 um 15:50 schrieb panagiotis merakos via use-livecode : > Dear list members, > We are pleased to announce the release of LiveCode 10.0.0 STABLE and > LiveCode 10.0.1 RC-1. > - LiveCode 10.0.0 comes with 116 new features and bugfixes since the > previous stable release. > - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, > including that building iOS > standalones no longer requires a specific version of Xcode or iOS SDK! I really hope we will also see something similar for ANDROID development soon! 8-) Still wondering why an old version of JAVA is neccessary for this... > You can find more details on the bugfixes and improvements of these 2 new > releases here: https://livecode.com/3-great-new-livecode-releases/ > You can find the releases in your LiveCode account area or get them via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Wed Oct 9 11:15:07 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 9 Oct 2024 15:15:07 +0000 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: <6FD6CBF4-305E-42EF-968F-29EABC5F5E2E@iotecdigital.com> Nice laundry list! Bob S > On Oct 9, 2024, at 6:50 AM, panagiotis merakos via use-livecode wrote: > > Dear list members, > > We are pleased to announce the release of LiveCode 10.0.0 STABLE and > LiveCode 10.0.1 RC-1. > > - LiveCode 10.0.0 comes with 116 new features and bugfixes since the > previous stable release. > > - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, > including that building iOS > standalones no longer requires a specific version of Xcode or iOS SDK! > > You can find more details on the bugfixes and improvements of these 2 new > releases here: > > https://livecode.com/3-great-new-livecode-releases/ > > You can find the releases in your LiveCode account area or get them via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Wed Oct 9 13:24:16 2024 From: jiml at netrin.com (Jim Lambert) Date: Wed, 9 Oct 2024 10:24:16 -0700 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: Excellent releases! Congratulations and Thank You, LiveCode Team! Jim Lambert From matthias_livecode_150811 at m-r-d.de Wed Oct 9 16:34:57 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Oct 2024 22:34:57 +0200 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: Good to see that there is progress, but after almost 3 years and several promises Livecode's Professional Network Layer (that's how LC Ltd. calls or called tsNet on their website) still does not support http/2 (bug 23355). It was promised for LC 9.6.8, then for 9.6.10 (by Kevin in a Fireside Chat) and then for the end of August and then for the final release of 10 which is out now. And even 10.0.1 RC1 does not have it included. What is the problem? Charles Warwick said in **2021** that an additional library has to be included in the tsNet build to support http/2 and that he plans to include it in the next build of tsNet. How many builds were created since then? Is this really so difficult? If you can't keep your promises, don't make them. Sorry for this post, but I am now really sick of this... Matthias > Am 09.10.2024 um 15:50 schrieb panagiotis merakos via use-livecode : > > Dear list members, > > We are pleased to announce the release of LiveCode 10.0.0 STABLE and > LiveCode 10.0.1 RC-1. > > - LiveCode 10.0.0 comes with 116 new features and bugfixes since the > previous stable release. > > - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, > including that building iOS > standalones no longer requires a specific version of Xcode or iOS SDK! > > You can find more details on the bugfixes and improvements of these 2 new > releases here: > > https://livecode.com/3-great-new-livecode-releases/ > > You can find the releases in your LiveCode account area or get them via the > automatic updater. > > Enjoy! > > Kind regards > The LiveCode Team > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Thu Oct 10 05:22:53 2024 From: heather at livecode.com (Heather Laine) Date: Thu, 10 Oct 2024 10:22:53 +0100 Subject: [[ ANN ]] Release of 10.0.0 STABLE and 10.0.1 RC-1 In-Reply-To: References: Message-ID: Hello Matthias, I have been following up on this issue regularly to get http/2 supported. I apologize that it is not in 10.0.1, it was intended to be but it does turn out to be somewhat trickier than was initially thought. It's part done. It is being worked on. We expect to receive it soon and will ensure that it does get included in 10.0.2. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 9 Oct 2024, at 21:34, matthias rebbe via use-livecode wrote: > > Good to see that there is progress, but after almost 3 years and several promises Livecode's Professional Network Layer (that's how LC Ltd. calls or called tsNet on their website) still does not support http/2 (bug 23355). > > It was promised for LC 9.6.8, then for 9.6.10 (by Kevin in a Fireside Chat) and then for the end of August and then for the final release of 10 which is out now. And even 10.0.1 RC1 does not have it included. > > What is the problem? Charles Warwick said in **2021** that an additional library has to be included in the tsNet build to support http/2 and that he plans to include it in the next build of tsNet. How many builds were created since then? > Is this really so difficult? > > If you can't keep your promises, don't make them. > > Sorry for this post, but I am now really sick of this... > > Matthias > >> Am 09.10.2024 um 15:50 schrieb panagiotis merakos via use-livecode : >> >> Dear list members, >> >> We are pleased to announce the release of LiveCode 10.0.0 STABLE and >> LiveCode 10.0.1 RC-1. >> >> - LiveCode 10.0.0 comes with 116 new features and bugfixes since the >> previous stable release. >> >> - LiveCode 10.0.1 RC-1 comes with 16 additional new features and bugfixes, >> including that building iOS >> standalones no longer requires a specific version of Xcode or iOS SDK! >> >> You can find more details on the bugfixes and improvements of these 2 new >> releases here: >> >> https://livecode.com/3-great-new-livecode-releases/ >> >> You can find the releases in your LiveCode account area or get them via the >> automatic updater. >> >> Enjoy! >> >> Kind regards >> The LiveCode Team >> >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hlowe at me.com Thu Oct 10 13:36:46 2024 From: hlowe at me.com (HENRY LOWE) Date: Thu, 10 Oct 2024 10:36:46 -0700 Subject: LC 10.0.1(rc1) and XCode Message-ID: I installed LiveCode 10.0.1(rc1) on an Intel Mac and tried to set the current version of XCode (V16.0) as the source for the iOS SDK. I received the following error: The chosen folder in not a valid iOS SDK. Selected XCode must have iOS SDK among: 14.4 15.2 16.2 17.0 My XCode V16.0 has the iOS 18.0 and iOS 17.5 Simulators installed. I also installed the iOS 17.0 Simulator into XCode but that did not fix the problem. Henry From bobsneidar at iotecdigital.com Thu Oct 10 13:41:36 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Oct 2024 17:41:36 +0000 Subject: LC 10.0.1(rc1) and XCode In-Reply-To: References: Message-ID: <36B9E6AE-AD0F-4730-B9CE-041120BF88C4@iotecdigital.com> Sounds like a question for support at livecode.com. Bob S > On Oct 10, 2024, at 10:36 AM, HENRY LOWE via use-livecode wrote: > > I installed LiveCode 10.0.1(rc1) on an Intel Mac and tried to set the current version of XCode (V16.0) as the source for the iOS SDK. > > I received the following error: > > The chosen folder in not a valid iOS SDK. > Selected XCode must have iOS SDK among: > 14.4 > 15.2 > 16.2 > 17.0 > > My XCode V16.0 has the iOS 18.0 and iOS 17.5 Simulators installed. > > I also installed the iOS 17.0 Simulator into XCode but that did not fix the problem. > > Henry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Oct 11 06:17:20 2024 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Oct 2024 12:17:20 +0200 Subject: Clipping a group by script Message-ID: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> Hi friends, I want to clip a group by script but cannot get it to work!? See this image, it shows what i want to achieve: I want the content of the group to be clipped at the top and bottom. No problem when resizing manually but no dice by script so far. I tried many variations of boundingrect, rect, clipstorect, lockloc, height and whatnot. Any hints very welcome! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From merakosp at gmail.com Fri Oct 11 07:01:27 2024 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 11 Oct 2024 14:01:27 +0300 Subject: LC 10.0.1(rc1) and XCode In-Reply-To: <36B9E6AE-AD0F-4730-B9CE-041120BF88C4@iotecdigital.com> References: <36B9E6AE-AD0F-4730-B9CE-041120BF88C4@iotecdigital.com> Message-ID: Hello all, This is indeed a bug, and it affects testing on the simulator. Long story short, if you want to test in the simulator, currently you have to choose an Xcode version that will include any of these SDKs: 14.4, 15.2, 16.2, 17.0 However, note that to build an iOS standalone for **device** you do NOT have to select an Xcode version in the Mobile prefs, you just have to ensure that any version of Xcode >= 12.4 is installed in the system. I have filed a bug report about this: https://quality.livecode.com/show_bug.cgi?id=24606 Kind regards, Panos -- On Thu, 10 Oct 2024 at 20:42, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Sounds like a question for support at livecode.com. > > Bob S > > > > On Oct 10, 2024, at 10:36 AM, HENRY LOWE via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I installed LiveCode 10.0.1(rc1) on an Intel Mac and tried to set the > current version of XCode (V16.0) as the source for the iOS SDK. > > > > I received the following error: > > > > The chosen folder in not a valid iOS SDK. > > Selected XCode must have iOS SDK among: > > 14.4 > > 15.2 > > 16.2 > > 17.0 > > > > My XCode V16.0 has the iOS 18.0 and iOS 17.5 Simulators installed. > > > > I also installed the iOS 17.0 Simulator into XCode but that did not fix > the problem. > > > > Henry > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From craig at starfirelighting.com Fri Oct 11 09:58:36 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Oct 2024 09:58:36 -0400 Subject: Clipping a group by script In-Reply-To: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> Message-ID: <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> Klaus. Answered in the forum: Klaus. If I make a group and set its height property to a value smaller than the original, the top of the group stays put, and the bottom is truncated, so that is half the battle. If I then play with the scroll of the group, I can control the visible portion. Craig > On Oct 11, 2024, at 6:17 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > I want to clip a group by script but cannot get it to work!? > See this image, it shows what i want to achieve: > > > I want the content of the group to be clipped at the top and bottom. > No problem when resizing manually but no dice by script so far. > > I tried many variations of boundingrect, rect, clipstorect, > lockloc, height and whatnot. > > Any hints very welcome! :-) > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Oct 11 10:02:44 2024 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Oct 2024 16:02:44 +0200 Subject: Clipping a group by script In-Reply-To: <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> Message-ID: <3BA4EF95-6E8A-4850-AEA5-E8E0A197CEC8@major-k.de> Hi Craig, > Am 11.10.2024 um 15:58 schrieb Craig Newman via use-livecode : > > Klaus. > > Answered in the forum: thank you, already answered to your answer. :-) > Klaus. > > If I make a group and set its height property to a value smaller than the original, the top of the group stays put, and the bottom is truncated, so that is half the battle. If I then play with the scroll of the group, I can control the visible portion. > > Craig > >> On Oct 11, 2024, at 6:17 AM, Klaus major-k via use-livecode wrote: >> >> Hi friends, >> >> I want to clip a group by script but cannot get it to work!? >> See this image, it shows what i want to achieve: >> >> >> I want the content of the group to be clipped at the top and bottom. >> No problem when resizing manually but no dice by script so far. >> >> I tried many variations of boundingrect, rect, clipstorect, >> lockloc, height and whatnot. >> >> Any hints very welcome! :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From curry at pair.com Fri Oct 11 11:17:56 2024 From: curry at pair.com (Curry Kenworthy) Date: Fri, 11 Oct 2024 11:17:56 -0400 Subject: Ode to New horizons for Dar... In-Reply-To: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> References: <84AD77E3-6F33-40F4-A975-E57748DA947E@swcp.com> Message-ID: Dar: > It is with a sad heart and a grieving kidney that I am announcing > that darzLAB (formally known as Dar Scott Consulting) is closing. Dar, near or far - shine brightly, star! Code and good circuit, you sure could work it. Win health -or- any war. Go tinker as the thinker you are! I have really enjoyed working with you. Comments delayed by my own health issues - More news soon, after recuperating a bit! Best wishes, Curry Kenworthy Radically Innovative Christian LiveCode Development "PASSION for Elegant, Efficient Code!" https://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Fri Oct 11 11:44:40 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Oct 2024 15:44:40 +0000 Subject: Clipping a group by script In-Reply-To: <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> Message-ID: Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. Bob S > On Oct 11, 2024, at 6:58 AM, Craig Newman via use-livecode wrote: > > Klaus. > > Answered in the forum: > > Klaus. > > If I make a group and set its height property to a value smaller than the original, the top of the group stays put, and the bottom is truncated, so that is half the battle. If I then play with the scroll of the group, I can control the visible portion. > > Craig > >> On Oct 11, 2024, at 6:17 AM, Klaus major-k via use-livecode wrote: >> >> Hi friends, >> >> I want to clip a group by script but cannot get it to work!? >> See this image, it shows what i want to achieve: >> >> >> I want the content of the group to be clipped at the top and bottom. >> No problem when resizing manually but no dice by script so far. >> >> I tried many variations of boundingrect, rect, clipstorect, >> lockloc, height and whatnot. >> >> Any hints very welcome! :-) >> >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hlowe at me.com Fri Oct 11 11:45:51 2024 From: hlowe at me.com (HENRY LOWE) Date: Fri, 11 Oct 2024 08:45:51 -0700 Subject: LC 10.0.1(rc1) and XCode In-Reply-To: References: <36B9E6AE-AD0F-4730-B9CE-041120BF88C4@iotecdigital.com> Message-ID: <12320C1D-8044-4F4C-B9FF-300DCCB9E1C3@me.com> Thank you Panos. Henry > On Oct 11, 2024, at 4:01 AM, panagiotis merakos via use-livecode wrote: > > Hello all, > > This is indeed a bug, and it affects testing on the simulator. Long story > short, if you want to test in the simulator, > currently you have to choose an Xcode version that will include any of > these SDKs: > > 14.4, 15.2, 16.2, 17.0 > > However, note that to build an iOS standalone for **device** you do NOT > have to select an Xcode version in the Mobile prefs, > you just have to ensure that any version of Xcode >= 12.4 is installed in > the system. > > I have filed a bug report about this: > > https://quality.livecode.com/show_bug.cgi?id=24606 > > Kind regards, > Panos > -- > > On Thu, 10 Oct 2024 at 20:42, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Sounds like a question for support at livecode.com. >> >> Bob S >> >> >>> On Oct 10, 2024, at 10:36 AM, HENRY LOWE via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> I installed LiveCode 10.0.1(rc1) on an Intel Mac and tried to set the >> current version of XCode (V16.0) as the source for the iOS SDK. >>> >>> I received the following error: >>> >>> The chosen folder in not a valid iOS SDK. >>> Selected XCode must have iOS SDK among: >>> 14.4 >>> 15.2 >>> 16.2 >>> 17.0 >>> >>> My XCode V16.0 has the iOS 18.0 and iOS 17.5 Simulators installed. >>> >>> I also installed the iOS 17.0 Simulator into XCode but that did not fix >> the problem. >>> >>> Henry >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From craig at starfirelighting.com Fri Oct 11 12:24:04 2024 From: craig at starfirelighting.com (Craig Newman) Date: Fri, 11 Oct 2024 12:24:04 -0400 Subject: Clipping a group by script In-Reply-To: References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> Message-ID: <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> Bob. I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. Craig > On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: > > Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. > > Bob S > > >> On Oct 11, 2024, at 6:58 AM, Craig Newman via use-livecode wrote: >> >> Klaus. >> >> Answered in the forum: >> >> Klaus. >> >> If I make a group and set its height property to a value smaller than the original, the top of the group stays put, and the bottom is truncated, so that is half the battle. If I then play with the scroll of the group, I can control the visible portion. >> >> Craig >> >>> On Oct 11, 2024, at 6:17 AM, Klaus major-k via use-livecode wrote: >>> >>> Hi friends, >>> >>> I want to clip a group by script but cannot get it to work!? >>> See this image, it shows what i want to achieve: >>> >>> >>> I want the content of the group to be clipped at the top and bottom. >>> No problem when resizing manually but no dice by script so far. >>> >>> I tried many variations of boundingrect, rect, clipstorect, >>> lockloc, height and whatnot. >>> >>> Any hints very welcome! :-) >>> >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> https://www.major-k.de/bass >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Oct 11 12:28:57 2024 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Oct 2024 18:28:57 +0200 Subject: Clipping a group by script In-Reply-To: <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> Message-ID: <3ADE3EAF-8A7C-4AED-B3B2-09679A6BFDA6@major-k.de> Hi Craig and Bob, > Am 11.10.2024 um 18:24 schrieb Craig Newman via use-livecode : > > Bob. > I do not know why Klaus wants to truncate his groups, yes, because that is nobodys business but mine! :-D > but I suspect it has nothing to do with fitting them onto the card. Exactly. > Craig > >> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >> >> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >> >> Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Fri Oct 11 12:29:28 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Oct 2024 16:29:28 +0000 Subject: Clipping a group by script In-Reply-To: <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> Message-ID: <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. Bob S > On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: > > Bob. > I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. > > Craig > >> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >> >> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >> >> Bob S >> >> From klaus at major-k.de Fri Oct 11 12:34:32 2024 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Oct 2024 18:34:32 +0200 Subject: Clipping a group by script In-Reply-To: <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> Message-ID: <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> Hi Bob, > Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode : > > Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. already tried this, does not work, it will always crop/clip the bottom of the group. I think I will either set the MARGINS for TOP and BOTTOM of the group to negative values. Or just resize the group and set the scroll to the neccessary amount, thanks Craig! > Bob S > >> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: >> >> Bob. >> I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. >> >> Craig >> >>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >>> >>> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >>> >>> Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Sat Oct 12 05:40:54 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Oct 2024 11:40:54 +0200 Subject: Forum down? Or just for me? 8-) Message-ID: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> Hi all, I get: -------------------------------------------- Forbidden You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------- when trying to access: Anyone else experiencing this? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From heather at livecode.com Sat Oct 12 06:12:32 2024 From: heather at livecode.com (Heather Laine) Date: Sat, 12 Oct 2024 11:12:32 +0100 Subject: Forum down? Or just for me? 8-) In-Reply-To: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> References: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> Message-ID: <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> The forum is down at present. We have been experiencing a denial of service attack overnight on the forums, and we have temporarily turned off access. We will restore access as soon as possible. Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 12 Oct 2024, at 10:40, Klaus major-k via use-livecode wrote: > > Hi all, > > I get: > -------------------------------------------- > Forbidden > > You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe > Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. > -------------------------------------------- > when trying to access: > Anyone else experiencing this? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat Oct 12 06:14:55 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Oct 2024 12:14:55 +0200 Subject: Forum down? Or just for me? 8-) In-Reply-To: <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> References: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> Message-ID: <948D7E01-1E39-4C27-B3E6-AB4378BCF833@major-k.de> Hi Heather, > Am 12.10.2024 um 12:12 schrieb Heather Laine via use-livecode : > The forum is down at present. We have been experiencing a denial of service attack overnight on the forums, and we have temporarily turned off access. We will restore access as soon as possible. aha, thanks for the fast info! > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > >> On 12 Oct 2024, at 10:40, Klaus major-k via use-livecode wrote: >> >> Hi all, >> >> I get: >> -------------------------------------------- >> Forbidden >> >> You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe >> Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. >> -------------------------------------------- >> when trying to access: >> Anyone else experiencing this? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From iowahengst at mac.com Sat Oct 12 14:09:08 2024 From: iowahengst at mac.com (Randy Hengst) Date: Sat, 12 Oct 2024 13:09:08 -0500 Subject: Clipping a group by script In-Reply-To: <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> Message-ID: <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> What about something like this?  take care, randy > On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode wrote: > > Hi Bob, > >> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode : >> >> Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. > > already tried this, does not work, it will always crop/clip the bottom of the group. > > I think I will either set the MARGINS for TOP and BOTTOM of the group to negative values. > Or just resize the group and set the scroll to the neccessary amount, thanks Craig! > >> Bob S >> >>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: >>> >>> Bob. >>> I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. >>> >>> Craig >>> >>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >>>> >>>> Bob S > > 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 iowahengst at mac.com Sat Oct 12 14:09:08 2024 From: iowahengst at mac.com (Randy Hengst) Date: Sat, 12 Oct 2024 13:09:08 -0500 Subject: Clipping a group by script In-Reply-To: <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> Message-ID: <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> What about something like this?  take care, randy > On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode wrote: > > Hi Bob, > >> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode : >> >> Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. > > already tried this, does not work, it will always crop/clip the bottom of the group. > > I think I will either set the MARGINS for TOP and BOTTOM of the group to negative values. > Or just resize the group and set the scroll to the neccessary amount, thanks Craig! > >> Bob S >> >>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: >>> >>> Bob. >>> I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. >>> >>> Craig >>> >>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >>>> >>>> Bob S > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat Oct 12 14:15:17 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Oct 2024 20:15:17 +0200 Subject: Clipping a group by script In-Reply-To: <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> Message-ID: <0A74F9B3-4F98-4A9A-AFAD-FB5AAAB4BE1C@major-k.de> Hi Randy, > Am 12.10.2024 um 20:09 schrieb Randy Hengst via use-livecode : > > What about something like this? what exactly?  > > take care, > randy > > >> On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode wrote: >> >> Hi Bob, >> >>> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode : >>> >>> Understood, but if he wants to set the rect of the group so that all the objects fit inside it, or at least from top to bottom, he should be able to get the rect of the group, then set the second and fourth items to the min and max of the other objects in the group. I think he has to set the locLoc to true first. >> >> already tried this, does not work, it will always crop/clip the bottom of the group. >> >> I think I will either set the MARGINS for TOP and BOTTOM of the group to negative values. >> Or just resize the group and set the scroll to the neccessary amount, thanks Craig! >> >>> Bob S >>> >>>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode wrote: >>>> >>>> Bob. >>>> I do not know why Klaus wants to truncate his groups, but I suspect it has nothing to do with fitting them onto the card. >>>> >>>> Craig >>>> >>>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode wrote: >>>>> >>>>> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. >>>>> >>>>> Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tom at makeshyft.com Sat Oct 12 15:11:51 2024 From: tom at makeshyft.com (Tom Glod) Date: Sat, 12 Oct 2024 15:11:51 -0400 Subject: Clipping a group by script In-Reply-To: <0A74F9B3-4F98-4A9A-AFAD-FB5AAAB4BE1C@major-k.de> References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> <0A74F9B3-4F98-4A9A-AFAD-FB5AAAB4BE1C@major-k.de> Message-ID: Klaus, its set the layerClipRect ... On Sat, Oct 12, 2024 at 2:16 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Randy, > > > Am 12.10.2024 um 20:09 schrieb Randy Hengst via use-livecode < > use-livecode at lists.runrev.com>: > > > > What about something like this? > > what exactly? >  > > > > take care, > > randy > > > > > >> On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Hi Bob, > >> > >>> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>: > >>> > >>> Understood, but if he wants to set the rect of the group so that all > the objects fit inside it, or at least from top to bottom, he should be > able to get the rect of the group, then set the second and fourth items to > the min and max of the other objects in the group. I think he has to set > the locLoc to true first. > >> > >> already tried this, does not work, it will always crop/clip the bottom > of the group. > >> > >> I think I will either set the MARGINS for TOP and BOTTOM of the group > to negative values. > >> Or just resize the group and set the scroll to the neccessary amount, > thanks Craig! > >> > >>> Bob S > >>> > >>>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Bob. > >>>> I do not know why Klaus wants to truncate his groups, but I suspect > it has nothing to do with fitting them onto the card. > >>>> > >>>> Craig > >>>> > >>>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>> > >>>>> Hmmm… I wrote a handler to determine the rect of all the visible > objects on a card so I can set the stack rect to that plus margins. It > involved getting the left, top, right and bottom as seperate values, of > every visible object, then determining the min and max of each set of > values as needed. You should be able to something similar. > >>>>> > >>>>> Bob S > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Sat Oct 12 15:21:28 2024 From: klaus at major-k.de (Klaus major-k) Date: Sat, 12 Oct 2024 21:21:28 +0200 Subject: Clipping a group by script In-Reply-To: References: <76392DB9-B968-405A-91C5-6FE64198DD94@major-k.de> <04CB20F8-CF93-401C-9C20-CF35FBD7EB93@starfirelighting.com> <70DD3CEA-19FF-46EC-808A-4865929A8E21@starfirelighting.com> <57619E04-F4EB-4FA0-A57E-36562623F527@iotecdigital.com> <36486D75-E643-47B2-83E6-56D8FFBD0D81@major-k.de> <7F780C08-FDF4-4659-A173-925884F075ED@mac.com> <0A74F9B3-4F98-4A9A-AFAD-FB5AAAB4BE1C@major-k.de> Message-ID: Hi Tom, > Am 12.10.2024 um 21:11 schrieb Tom Glod via use-livecode : > > Klaus, > > its > > set the layerClipRect ... "layerClipRect"? To be honest I never heard this before, so thanks a bunch! :-D > On Sat, Oct 12, 2024 at 2:16 PM Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Randy, >> >>> Am 12.10.2024 um 20:09 schrieb Randy Hengst via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> What about something like this? >> >> what exactly? >>  >>> >>> take care, >>> randy >>> >>> >>>> On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hi Bob, >>>> >>>>> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com>: >>>>> >>>>> Understood, but if he wants to set the rect of the group so that all >> the objects fit inside it, or at least from top to bottom, he should be >> able to get the rect of the group, then set the second and fourth items to >> the min and max of the other objects in the group. I think he has to set >> the locLoc to true first. >>>> >>>> already tried this, does not work, it will always crop/clip the bottom >> of the group. >>>> >>>> I think I will either set the MARGINS for TOP and BOTTOM of the group >> to negative values. >>>> Or just resize the group and set the scroll to the neccessary amount, >> thanks Craig! >>>> >>>>> Bob S >>>>> >>>>>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Bob. >>>>>> I do not know why Klaus wants to truncate his groups, but I suspect >> it has nothing to do with fitting them onto the card. >>>>>> >>>>>> Craig >>>>>> >>>>>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>>>>> >>>>>>> Hmmm… I wrote a handler to determine the rect of all the visible >> objects on a card so I can set the stack rect to that plus margins. It >> involved getting the left, top, right and bottom as seperate values, of >> every visible object, then determining the min and max of each set of >> values as needed. You should be able to something similar. >>>>>>> >>>>>>> Bob S >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 13:08:39 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 11:08:39 -0600 Subject: What video formats work on Windows? Message-ID: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> The end goal is to be able to run a standalone, and some cards will have an external video file to play. As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. When I try to play the video file I get a ‘could not create movie reference’ message in the result. I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? I didn’t find something about installing K-lite, and trying that does make the Player show the last frame of the video, but still the video won’t play, and I can’t assume everyone whose PC I might use would be willing to let me install extra codecs. From klaus at major-k.de Sun Oct 13 13:52:33 2024 From: klaus at major-k.de (Klaus major-k) Date: Sun, 13 Oct 2024 19:52:33 +0200 Subject: What video formats work on Windows? In-Reply-To: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> Message-ID: <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> Hi Colin, > Am 13.10.2024 um 19:08 schrieb Colin Holgate via use-livecode : > > The end goal is to be able to run a standalone, and some cards will have an external video file to play. > As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. > When I try to play the video file I get a ‘could not create movie reference’ message in the result. > I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? > I didn’t find something about installing K-lite, and trying that does make the Player show the last frame of the video, but still the video won’t play, and I can’t assume everyone whose PC I might use would be willing to let me install extra codecs. unfortunately LC uses the old Windows multimedia engine, not sure how this is called (DirectShow?). And that cannot play MP4 videos out of the box. Adding the new and current multimedia engine was promised for LC 10, but did not make it into the last version of LC. Maybe it is implemented in the new and upcoming LCC (LiveCode Create). So you are stuck with a small number of supported codecs like MPG 1, WMV and AVI, maybe more, I'm not sure... There is a free codec collection named "LAV Filters" which will let LC also play MP4 files and a lot of other audio and video formats. Find and load it here: Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 14:18:37 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 12:18:37 -0600 Subject: What video formats work on Windows? In-Reply-To: <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> Message-ID: That seems to have the same issue that K-lite showed. I immediately see the last frame of the video, and the video doesn’t play (at least not from script). Showing the controller and having to click the play button does show the video, but it’s a jarring experience having to look at the last frame until the user clicks the play button. > On Oct 13, 2024, at 11:52 AM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 19:08 schrieb Colin Holgate via use-livecode : >> >> The end goal is to be able to run a standalone, and some cards will have an external video file to play. >> As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. >> When I try to play the video file I get a ‘could not create movie reference’ message in the result. >> I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? >> I didn’t find something about installing K-lite, and trying that does make the Player show the last frame of the video, but still the video won’t play, and I can’t assume everyone whose PC I might use would be willing to let me install extra codecs. > > unfortunately LC uses the old Windows multimedia engine, not sure how this is called (DirectShow?). > And that cannot play MP4 videos out of the box. > > Adding the new and current multimedia engine was promised for LC 10, but did not make it into the last version of LC. > Maybe it is implemented in the new and upcoming LCC (LiveCode Create). > > So you are stuck with a small number of supported codecs like MPG 1, WMV and AVI, maybe more, I'm not sure... > > There is a free codec collection named "LAV Filters" which will let LC also play MP4 files and a lot of other audio and video formats. > Find and load it here: > > > 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 colinholgate at gmail.com Sun Oct 13 14:27:30 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 12:27:30 -0600 Subject: What video formats work on Windows? In-Reply-To: <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> Message-ID: <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> I found an online converter that can change MP4 to WMV, and the video looks ok, and plays in LiveCode. Scripts seem not to work though. Would you expect this to be able to pause or play a WMV in a Player object?: on mouseup if the paused of player 1 then play player 1 else set the paused of player 1 to true end if end mouseup > On Oct 13, 2024, at 11:52 AM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 19:08 schrieb Colin Holgate via use-livecode : >> >> The end goal is to be able to run a standalone, and some cards will have an external video file to play. >> As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. >> When I try to play the video file I get a ‘could not create movie reference’ message in the result. >> I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? >> I didn’t find something about installing K-lite, and trying that does make the Player show the last frame of the video, but still the video won’t play, and I can’t assume everyone whose PC I might use would be willing to let me install extra codecs. > > unfortunately LC uses the old Windows multimedia engine, not sure how this is called (DirectShow?). > And that cannot play MP4 videos out of the box. > > Adding the new and current multimedia engine was promised for LC 10, but did not make it into the last version of LC. > Maybe it is implemented in the new and upcoming LCC (LiveCode Create). > > So you are stuck with a small number of supported codecs like MPG 1, WMV and AVI, maybe more, I'm not sure... > > There is a free codec collection named "LAV Filters" which will let LC also play MP4 files and a lot of other audio and video formats. > Find and load it here: > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Oct 13 14:32:55 2024 From: klaus at major-k.de (Klaus major-k) Date: Sun, 13 Oct 2024 20:32:55 +0200 Subject: What video formats work on Windows? In-Reply-To: <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> Message-ID: Hi Colin, > Am 13.10.2024 um 20:27 schrieb Colin Holgate via use-livecode : > > I found an online converter that can change MP4 to WMV, and the video looks ok, and plays in LiveCode. Scripts seem not to work though. > Would you expect this to be able to pause or play a WMV in a Player object?: No. :-D > on mouseup > if the paused of player 1 then > play player 1 > else > set the paused of player 1 to true > end if > end mouseup on mouseup if the paused of player 1 = FALSE then start player 1 else set the paused of player 1 to true end if end mouseup :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 14:46:23 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 12:46:23 -0600 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> Message-ID: Your script doesn’t work either. My script works fine on Mac, where it can play MP4 files. > On Oct 13, 2024, at 12:32 PM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 20:27 schrieb Colin Holgate via use-livecode : >> >> I found an online converter that can change MP4 to WMV, and the video looks ok, and plays in LiveCode. Scripts seem not to work though. >> Would you expect this to be able to pause or play a WMV in a Player object?: > > No. :-D > >> on mouseup >> if the paused of player 1 then >> play player 1 >> else >> set the paused of player 1 to true >> end if >> end mouseup > > on mouseup > if the paused of player 1 = FALSE then > start player 1 > else > set the paused of player 1 to true > end if > end mouseup > > :-) > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Oct 13 14:58:11 2024 From: klaus at major-k.de (Klaus major-k) Date: Sun, 13 Oct 2024 20:58:11 +0200 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> Message-ID: <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> Hi Colin, > Am 13.10.2024 um 20:46 schrieb Colin Holgate via use-livecode : > > Your script doesn’t work either. sorry, my fault, of course your script is correct. I should not answer in a hurry... > My script works fine on Mac, where it can play MP4 files. Hm, it should work, no idea why this does not work on Windows. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 15:18:25 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 13:18:25 -0600 Subject: What video formats work on Windows? In-Reply-To: <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> Message-ID: A button with the same script, on top of the player, doesn’t work. But off to the side it does work. That makes it seem like on Windows the video is an extra object that is placed on top of everything else. > On Oct 13, 2024, at 12:58 PM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 20:46 schrieb Colin Holgate via use-livecode : >> >> Your script doesn’t work either. > > sorry, my fault, of course your script is correct. > I should not answer in a hurry... > >> My script works fine on Mac, where it can play MP4 files. > > Hm, it should work, no idea why this does not work on Windows. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Oct 13 15:25:37 2024 From: klaus at major-k.de (Klaus major-k) Date: Sun, 13 Oct 2024 21:25:37 +0200 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> Message-ID: <0A85E0D5-BD08-4EC5-A043-2466EA0BB4D2@major-k.de> Hi Colin, > Am 13.10.2024 um 21:18 schrieb Colin Holgate via use-livecode : > > A button with the same script, on top of the player, doesn’t work. same on a Mac! > But off to the side it does work. That makes it seem like on Windows the video is an extra object that is placed on top of everything else. Yes, a player object is an overlay on Windows and Mac. You could try to check "alwaysbuffer" for the player object, but no guarantees that this will help. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From colinholgate at gmail.com Sun Oct 13 17:05:56 2024 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 13 Oct 2024 15:05:56 -0600 Subject: What video formats work on Windows? In-Reply-To: <0A85E0D5-BD08-4EC5-A043-2466EA0BB4D2@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> <0A85E0D5-BD08-4EC5-A043-2466EA0BB4D2@major-k.de> Message-ID: It works fine as it is on Mac. With the alwaysbuffer turned on the video plays, but the image doesn’t change. > On Oct 13, 2024, at 1:25 PM, Klaus major-k via use-livecode wrote: > > Hi Colin, > >> Am 13.10.2024 um 21:18 schrieb Colin Holgate via use-livecode : >> >> A button with the same script, on top of the player, doesn’t work. > > same on a Mac! > >> But off to the side it does work. That makes it seem like on Windows the video is an extra object that is placed on top of everything else. > > Yes, a player object is an overlay on Windows and Mac. > You could try to check "alwaysbuffer" for the player object, but no guarantees that this will help. > > > 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 mark at livecode.com Mon Oct 14 03:49:35 2024 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Oct 2024 08:49:35 +0100 Subject: What video formats work on Windows? In-Reply-To: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> Message-ID: <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> On 2024-10-13 18:08, Colin Holgate via use-livecode wrote: > The end goal is to be able to run a standalone, and some cards will > have an external video file to play. > > As that doesnt work, I have a card in LC 10.0 authoring, where a > Player object is linked to a local MP4. The MP4 plays fine in the > Windows 11 player. > > When I try to play the video file I get a could not create movie > reference message in the result. > > I have tried set the dontuseqt to TRUE - but that didnt help. I dont > mind if I end up having to have another copy of the video files to use > on Windows, but what file types will work? We've changed the underlying media framework used on Windows from Direct Show to Media Foundation Player in LiveCode Create (its been available since dp-1 - both in the new Create IDE and Classic IDE mode). Media Foundation supports a wider range of formats out of the box compared to Direct Show - in particular mp4. Also, things like taking a snapshot of the player, and alwaysBuffer should now work too. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From klaus at major-k.de Mon Oct 14 05:12:12 2024 From: klaus at major-k.de (Klaus major-k) Date: Mon, 14 Oct 2024 11:12:12 +0200 Subject: What video formats work on Windows? In-Reply-To: <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> Message-ID: <110D0D69-5973-4EFD-82AA-DC983A2370E1@major-k.de> Hi Mark, > Am 14.10.2024 um 09:49 schrieb Mark Waddingham via use-livecode : > > On 2024-10-13 18:08, Colin Holgate via use-livecode wrote: >> The end goal is to be able to run a standalone, and some cards will have an external video file to play. >> As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player. >> When I try to play the video file I get a ‘could not create movie reference’ message in the result. >> I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work? > > We've changed the underlying media framework used on Windows from Direct Show to Media Foundation Player in LiveCode Create (its been available since dp-1 - both in the new Create IDE and Classic IDE mode). > Media Foundation supports a wider range of formats out of the box compared to Direct Show - in particular mp4. > Also, things like taking a snapshot of the player, and alwaysBuffer should now work too. don't have a license yet, so is the Windows player object "en par" with the Mac version now? Especially the feature that setting the "playrate" of a player does not affect the PITCH? Thanks for any insight! > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From mark at livecode.com Mon Oct 14 07:08:06 2024 From: mark at livecode.com (Mark Waddingham) Date: Mon, 14 Oct 2024 12:08:06 +0100 Subject: What video formats work on Windows? In-Reply-To: <110D0D69-5973-4EFD-82AA-DC983A2370E1@major-k.de> References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> <110D0D69-5973-4EFD-82AA-DC983A2370E1@major-k.de> Message-ID: On 2024-10-14 10:12, Klaus major-k via use-livecode wrote: > don't have a license yet, so is the Windows player object "en par" with > the Mac version now? > Especially the feature that setting the "playrate" of a player does not > affect the PITCH? Largely yes - although, as ever, what is actually supported (in true Windows style) depends on the actual codec used :| Things like negative playRate, for example, don't seem to be supported by any of the standard windows ones (including mp4). In terms of pitch adjustment when using a different playRate then again it is dependent on codec... However, I've just tested a sample mp4 in Windows and macOS - and it *sounds* like they do a similar thing - so for mp4 at least we appear to have almost complete parity. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From klaus at major-k.de Mon Oct 14 07:19:18 2024 From: klaus at major-k.de (Klaus major-k) Date: Mon, 14 Oct 2024 13:19:18 +0200 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <7e86bd3f21896bc8c3385600fd6b67ae@livecode.com> <110D0D69-5973-4EFD-82AA-DC983A2370E1@major-k.de> Message-ID: <9874673B-90F5-4985-A4B7-0C2ECCE4C54F@major-k.de> Hi Mark, > Am 14.10.2024 um 13:08 schrieb Mark Waddingham via use-livecode : > > On 2024-10-14 10:12, Klaus major-k via use-livecode wrote: >> don't have a license yet, so is the Windows player object "en par" with the Mac version now? >> Especially the feature that setting the "playrate" of a player does not affect the PITCH? > > Largely yes - although, as ever, what is actually supported (in true Windows style) depends on the actual codec used :| > Things like negative playRate, for example, don't seem to be supported by any of the standard windows ones (including mp4). > In terms of pitch adjustment when using a different playRate then again it is dependent on codec... > However, I've just tested a sample mp4 in Windows and macOS - and it *sounds* like they do a similar thing - so for mp4 at least we appear to have almost complete parity. OK, so hopefully it will work with MP3 and othe common audio formats files, so may finally be able to create the Windows version of my "Übeknecht" (Practise servant). 8-) Thanks for testing! > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Build Amazing Things Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From bobsneidar at iotecdigital.com Mon Oct 14 18:17:33 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Oct 2024 22:17:33 +0000 Subject: Forum down? Or just for me? 8-) In-Reply-To: <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> References: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> Message-ID: <1D0E1ACF-11BB-4738-AA6C-E0A453954B43@iotecdigital.com> All nations need to agree to do bad things to hackers private parts in order to stop this sort of thing. That’s just an opinion though. Bob S > On Oct 12, 2024, at 3:12 AM, Heather Laine via use-livecode wrote: > > The forum is down at present. We have been experiencing a denial of service attack overnight on the forums, and we have temporarily turned off access. We will restore access as soon as possible. > > Best Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 12 Oct 2024, at 10:40, Klaus major-k via use-livecode wrote: >> >> Hi all, >> >> I get: >> -------------------------------------------- >> Forbidden >> >> You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe >> Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. >> -------------------------------------------- >> when trying to access: >> Anyone else experiencing this? >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Oct 14 18:19:24 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 14 Oct 2024 22:19:24 +0000 Subject: What video formats work on Windows? In-Reply-To: References: <858B1E5F-5182-446C-812A-E32FAE1A2CB2@gmail.com> <6A73D027-3112-408E-99E8-280583E690C9@major-k.de> <20B8FF9F-B3C9-4339-915B-A3E6A33216BE@gmail.com> <2AC9AA51-D8FD-4305-8225-A5C6ABE579F6@major-k.de> Message-ID: Like the old web browser? Hmmm? Bob S > On Oct 13, 2024, at 12:18 PM, Colin Holgate via use-livecode wrote: > > A button with the same script, on top of the player, doesn’t work. But off to the side it does work. That makes it seem like on Windows the video is an extra object that is placed on top of everything else. > >> On Oct 13, 2024, at 12:58 PM, Klaus major-k via use-livecode wrote: >> >> Hi Colin, >> >>> Am 13.10.2024 um 20:46 schrieb Colin Holgate via use-livecode : >>> >>> Your script doesn’t work either. >> >> sorry, my fault, of course your script is correct. >> I should not answer in a hurry... >> >>> My script works fine on Mac, where it can play MP4 files. >> >> Hm, it should work, no idea why this does not work on Windows. >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Oct 14 20:02:52 2024 From: dochawk at gmail.com (doc hawk) Date: Mon, 14 Oct 2024 17:02:52 -0700 Subject: Forum down? Or just for me? 8-) In-Reply-To: <1D0E1ACF-11BB-4738-AA6C-E0A453954B43@iotecdigital.com> References: <22C0FB3F-4B24-4ADD-AD67-EF9E91F044AA@major-k.de> <47E0BB3F-94E0-4643-B1A1-D8E53C372EE9@livecode.com> <1D0E1ACF-11BB-4738-AA6C-E0A453954B43@iotecdigital.com> Message-ID: <2DAF3543-9C8F-44CA-A00E-59D94AB802F2@gmail.com> bob bubbled, > All nations need to agree to do bad things to hackers private parts in order to stop this sort of thing. That’s just an opinion though. We just need a feedback system that will route each connection to such parts . . . possibly with a voltage multiplier! From klaus at major-k.de Wed Oct 16 07:39:16 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Oct 2024 13:39:16 +0200 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? Message-ID: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> Hi all, I wanted to add a SCV icon, I have a name and the SVG PATH, but what do I need to enter for the CODEPOINT? addIcon(pName,pSVG,pCodepoint) Thanks for any hint! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Wed Oct 16 07:47:54 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Oct 2024 13:47:54 +0200 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? In-Reply-To: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> Message-ID: Hi all, > Am 16.10.2024 um 13:39 schrieb Klaus major-k via use-livecode : > > Hi all, > > I wanted to add a SCV icon, I have a name and the SVG PATH, > but what do I need to enter for the CODEPOINT? > > addIcon(pName,pSVG,pCodepoint) > > Thanks for any hint! just found an LC lessons for adding icons and Panos advised to use 0 (ZERO) as the codepoint if not using any "FontAwesome" icons. So I wrote: ... put the text of fld "path" into tPath addicon("metronom",tPath,0) ... However then I get: button "Button": execution error at line 5 (call: too few arguments), char 1 Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Wed Oct 16 08:11:20 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Oct 2024 14:11:20 +0200 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? In-Reply-To: References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> Message-ID: <4F0E9A21-D487-46D4-B430-97F2C257901F@major-k.de> Hi all, > Am 16.10.2024 um 13:47 schrieb Klaus major-k via use-livecode : > ... > just found an LC lessons for adding icons and Panos advised to use 0 (ZERO) as > the codepoint if not using any "FontAwesome" icons. > > So I wrote: > ... > put the text of fld "path" into tPath > addicon("metronom",tPath,0) > ... > > However then I get: > button "Button": execution error at line 5 (call: too few arguments), char 1 found the problem and the solution: ... addicon("metronom",tPath,0) ... Is actually a FUNCTION and not a HANDLER as the dictionary states!? So I could add my icon tot he "standard SVG lib" with: ... get addicon("fontawesome/metronom",tPath,0) ... But can't we just click an icon in the inspector for the e.g. navigation bar widget and the SVG lib pops up with a still way to small scrollbar anymore? I click and click, no dice, will need to script this... :-/ Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jbv at souslelogo.com Wed Oct 16 10:19:27 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 16 Oct 2024 10:19:27 -0400 Subject: DOM innerHTML equivalent ? Message-ID: Hi list, Is there a way to catch all controls on a card (for instance) with all their properties and values, and store them in a variable, like innerHML for a DOM element, and have all these controls displayed later very fast and in one go ? I hope I made myself clear. I tried several things, like storing all properties and values as text in a variable and then recreating all controls (quire slow), or duplicate the controls on a hidden card or another stack, but nothing is as easy as what is available i the DOM. Thank you in advance. jbv From bobsneidar at iotecdigital.com Wed Oct 16 10:52:13 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Oct 2024 14:52:13 +0000 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? In-Reply-To: <4F0E9A21-D487-46D4-B430-97F2C257901F@major-k.de> References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> <4F0E9A21-D487-46D4-B430-97F2C257901F@major-k.de> Message-ID: Hi Klaus. Just for the sake of clarity, and because I probably have Aspergers, COMMANDS and FUNCTIONS are BOTH HANDLERS. :-) Bob S On Oct 16, 2024, at 5:11 AM, Klaus major-k via use-livecode wrote: Is actually a FUNCTION and not a HANDLER as the dictionary states!? From bobsneidar at iotecdigital.com Wed Oct 16 10:54:23 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Oct 2024 14:54:23 +0000 Subject: DOM innerHTML equivalent ? In-Reply-To: References: Message-ID: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> Group them then store the group as an array, but placing them won’t be any faster methinks. You can also arrayEncode the array first if you need it in a serialized format. Bob S > On Oct 16, 2024, at 7:19 AM, jbv via use-livecode wrote: > > Hi list, > > Is there a way to catch all controls on a card > (for instance) with all their properties and > values, and store them in a variable, like > innerHML for a DOM element, and have all these > controls displayed later very fast and in one go ? > > I hope I made myself clear. > I tried several things, like storing all properties > and values as text in a variable and then recreating > all controls (quire slow), or duplicate the controls > on a hidden card or another stack, but nothing is as > easy as what is available i the DOM. > > 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 klaus at major-k.de Wed Oct 16 10:57:48 2024 From: klaus at major-k.de (Klaus major-k) Date: Wed, 16 Oct 2024 16:57:48 +0200 Subject: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT? In-Reply-To: References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> <4F0E9A21-D487-46D4-B430-97F2C257901F@major-k.de> Message-ID: Hi Bob, > Am 16.10.2024 um 16:52 schrieb Bob Sneidar via use-livecode : > > Hi Klaus. > > Just for the sake of clarity, and because I probably have Aspergers, COMMANDS and FUNCTIONS are BOTH HANDLERS. :-) OK, but e.g. time() is of TYPE: function mouseup is of TYPE: MESSAGE So this is at least irritating... > Bob S > > > On Oct 16, 2024, at 5:11 AM, Klaus major-k via use-livecode wrote: > > Is actually a FUNCTION and not a HANDLER as the dictionary states!? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From craig at starfirelighting.com Wed Oct 16 11:53:21 2024 From: craig at starfirelighting.com (Craig Newman) Date: Wed, 16 Oct 2024 11:53:21 -0400 Subject: DOM innerHTML equivalent ? In-Reply-To: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> Message-ID: Hi. I am confused. As usual. "Group them then store the group as an array," I read the OP as wanting to gather all the information about all the controls, not the controls themselves. If so, then the”slow” part is to gather the data, which has to be done control-by-control, card-by-card and stack-by-stack. But once through all that, collecting and storing the information, array or plain, is virtually instantaneous. Anyway, how do you store a group as an array? Craig > On Oct 16, 2024, at 10:54 AM, Bob Sneidar via use-livecode wrote: > > Group them then store the group as an array, but placing them won’t be any faster methinks. You can also arrayEncode the array first if you need it in a serialized format. > > Bob S > > >> On Oct 16, 2024, at 7:19 AM, jbv via use-livecode wrote: >> >> Hi list, >> >> Is there a way to catch all controls on a card >> (for instance) with all their properties and >> values, and store them in a variable, like >> innerHML for a DOM element, and have all these >> controls displayed later very fast and in one go ? >> >> I hope I made myself clear. >> I tried several things, like storing all properties >> and values as text in a variable and then recreating >> all controls (quire slow), or duplicate the controls >> on a hidden card or another stack, but nothing is as >> easy as what is available i the DOM. >> >> 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 bobsneidar at iotecdigital.com Wed Oct 16 12:25:41 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Oct 2024 16:25:41 +0000 Subject: DOM innerHTML equivalent ? In-Reply-To: References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> Message-ID: <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> OIC I didn’t know he wanted to store the PROPERTIES of the objects. As I have mentioned before I have handlers that can collect the properties of objects and store them in a memory sqLite database. (You can specify a file as well.) But that is not going to help you *quickly* recreate the objects. Also if you are using Datagrids, the problem becomes considerably more difficult, and in the end no matter what you do, the engine is going to have to recreate every single object so I do not think you are going to save any time, even if you could somehow serialize all the objects on a card. I suppose you could create a template card, then copy / paste that card but the engine is *still* going to have to create the objects. As far as storing an array, it can be stored in the custom property of any group, or it can be saved as a binary file if you first arrayEncode() the array. Bob S > On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode wrote: > > Hi. > > I am confused. As usual. > > "Group them then store the group as an array," > > I read the OP as wanting to gather all the information about all the controls, not the controls themselves. If so, then the”slow” part is to gather the data, which has to be done control-by-control, card-by-card and stack-by-stack. But once through all that, collecting and storing the information, array or plain, is virtually instantaneous. > > Anyway, how do you store a group as an array? > > Craig > >> On Oct 16, 2024, at 10:54 AM, Bob Sneidar via use-livecode wrote: >> >> Group them then store the group as an array, but placing them won’t be any faster methinks. You can also arrayEncode the array first if you need it in a serialized format. >> >> Bob S >> >> >>> On Oct 16, 2024, at 7:19 AM, jbv via use-livecode wrote: >>> >>> Hi list, >>> >>> Is there a way to catch all controls on a card >>> (for instance) with all their properties and >>> values, and store them in a variable, like >>> innerHML for a DOM element, and have all these >>> controls displayed later very fast and in one go ? >>> >>> I hope I made myself clear. >>> I tried several things, like storing all properties >>> and values as text in a variable and then recreating >>> all controls (quire slow), or duplicate the controls >>> on a hidden card or another stack, but nothing is as >>> easy as what is available i the DOM. >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Wed Oct 16 12:30:53 2024 From: tom at makeshyft.com (Tom Glod) Date: Wed, 16 Oct 2024 12:30:53 -0400 Subject: DOM innerHTML equivalent ? In-Reply-To: <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> Message-ID: try "get the properties of" .... and "get the customproperties of" or you can just "put" them into an array. On Wed, Oct 16, 2024 at 12:26 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > OIC I didn’t know he wanted to store the PROPERTIES of the objects. As I > have mentioned before I have handlers that can collect the properties of > objects and store them in a memory sqLite database. (You can specify a file > as well.) But that is not going to help you *quickly* recreate the objects. > > Also if you are using Datagrids, the problem becomes considerably more > difficult, and in the end no matter what you do, the engine is going to > have to recreate every single object so I do not think you are going to > save any time, even if you could somehow serialize all the objects on a > card. > > I suppose you could create a template card, then copy / paste that card > but the engine is *still* going to have to create the objects. > > As far as storing an array, it can be stored in the custom property of any > group, or it can be saved as a binary file if you first arrayEncode() the > array. > > Bob S > > > > On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi. > > > > I am confused. As usual. > > > > "Group them then store the group as an array," > > > > I read the OP as wanting to gather all the information about all the > controls, not the controls themselves. If so, then the”slow” part is to > gather the data, which has to be done control-by-control, card-by-card and > stack-by-stack. But once through all that, collecting and storing the > information, array or plain, is virtually instantaneous. > > > > Anyway, how do you store a group as an array? > > > > Craig > > > >> On Oct 16, 2024, at 10:54 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Group them then store the group as an array, but placing them won’t be > any faster methinks. You can also arrayEncode the array first if you need > it in a serialized format. > >> > >> Bob S > >> > >> > >>> On Oct 16, 2024, at 7:19 AM, jbv via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> Hi list, > >>> > >>> Is there a way to catch all controls on a card > >>> (for instance) with all their properties and > >>> values, and store them in a variable, like > >>> innerHML for a DOM element, and have all these > >>> controls displayed later very fast and in one go ? > >>> > >>> I hope I made myself clear. > >>> I tried several things, like storing all properties > >>> and values as text in a variable and then recreating > >>> all controls (quire slow), or duplicate the controls > >>> on a hidden card or another stack, but nothing is as > >>> easy as what is available i the DOM. > >>> > >>> 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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bogdanoff at me.com Wed Oct 16 12:34:19 2024 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 16 Oct 2024 12:34:19 -0400 Subject: DOM innerHTML equivalent ? In-Reply-To: <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> <99EDCBED-A64A-4254-936E-19A75BFEC34E@iotecdigital.com> Message-ID: The ‘properties’ property will store all the available properties of an object into an array. From the dictionary: put the properties of field "My Field” into myArray put the keys of myArray Peter > On Oct 16, 2024, at 12:25 PM, Bob Sneidar via use-livecode wrote: > > OIC I didn’t know he wanted to store the PROPERTIES of the objects. As I have mentioned before I have handlers that can collect the properties of objects and store them in a memory sqLite database. (You can specify a file as well.) But that is not going to help you *quickly* recreate the objects. > > Also if you are using Datagrids, the problem becomes considerably more difficult, and in the end no matter what you do, the engine is going to have to recreate every single object so I do not think you are going to save any time, even if you could somehow serialize all the objects on a card. > > I suppose you could create a template card, then copy / paste that card but the engine is *still* going to have to create the objects. > > As far as storing an array, it can be stored in the custom property of any group, or it can be saved as a binary file if you first arrayEncode() the array. > > Bob S > > >> On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode wrote: >> >> Hi. >> >> I am confused. As usual. >> >> "Group them then store the group as an array," >> >> I read the OP as wanting to gather all the information about all the controls, not the controls themselves. If so, then the”slow” part is to gather the data, which has to be done control-by-control, card-by-card and stack-by-stack. But once through all that, collecting and storing the information, array or plain, is virtually instantaneous. >> >> Anyway, how do you store a group as an array? >> >> Craig >> >>> On Oct 16, 2024, at 10:54 AM, Bob Sneidar via use-livecode wrote: >>> >>> Group them then store the group as an array, but placing them won’t be any faster methinks. You can also arrayEncode the array first if you need it in a serialized format. >>> >>> Bob S >>> >>> >>>> On Oct 16, 2024, at 7:19 AM, jbv via use-livecode wrote: >>>> >>>> Hi list, >>>> >>>> Is there a way to catch all controls on a card >>>> (for instance) with all their properties and >>>> values, and store them in a variable, like >>>> innerHML for a DOM element, and have all these >>>> controls displayed later very fast and in one go ? >>>> >>>> I hope I made myself clear. >>>> I tried several things, like storing all properties >>>> and values as text in a variable and then recreating >>>> all controls (quire slow), or duplicate the controls >>>> on a hidden card or another stack, but nothing is as >>>> easy as what is available i the DOM. >>>> >>>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 16 12:36:05 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Oct 2024 16:36:05 +0000 Subject: DOM innerHTML equivalent ? In-Reply-To: References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> Message-ID: <4CE20C17-1417-4241-ABD3-4BB4738D159F@iotecdigital.com> I don’t know what I was thinking there. Bob S On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode wrote: "Group them then store the group as an array," From klaus at major-k.de Thu Oct 17 09:11:09 2024 From: klaus at major-k.de (Klaus major-k) Date: Thu, 17 Oct 2024 15:11:09 +0200 Subject: addIcon(pName,pSVG,pCodepoint) Where is the icon? In-Reply-To: References: <06A1F9B3-A21D-484F-A175-15A15A5EB593@major-k.de> Message-ID: <67DB39B9-C069-4048-9D2A-4F8C1A8E6B65@major-k.de> Hi all, yesterday I successfully added a custom SVG icon via: ... get addicon("fontawesome/metronom",tPath,0) ... Today I opened the stack where i used that icon and it is gone? Do I need to save the icon/library somehow? Or what can/need I do to have this icon "stick" in the library and appear again in my stack permanently? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From craig at starfirelighting.com Thu Oct 17 09:14:54 2024 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 17 Oct 2024 09:14:54 -0400 Subject: DOM innerHTML equivalent ? In-Reply-To: <4CE20C17-1417-4241-ABD3-4BB4738D159F@iotecdigital.com> References: <74A84C5A-7442-46E4-B8C5-06AAD6C44B9D@iotecdigital.com> <4CE20C17-1417-4241-ABD3-4BB4738D159F@iotecdigital.com> Message-ID: Bob. I never know what I am thinking. Craig > On Oct 16, 2024, at 12:36 PM, Bob Sneidar via use-livecode wrote: > > I don’t know what I was thinking there. > > Bob S > > > On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode wrote: > > "Group them then store the group as an array," > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Thu Oct 17 09:41:34 2024 From: brian at milby7.com (Brian Milby) Date: Thu, 17 Oct 2024 09:41:34 -0400 Subject: addIcon(pName,pSVG,pCodepoint) Where is the icon? In-Reply-To: <67DB39B9-C069-4048-9D2A-4F8C1A8E6B65@major-k.de> References: <67DB39B9-C069-4048-9D2A-4F8C1A8E6B65@major-k.de> Message-ID: <452C254B-C72D-404E-9051-4E4AE4FEDC6C@milby7.com> In short, yes your will need to add icons each launch of the IDE / app. I was going to suggest looking at SvgIconTool after your first post but realized I only moved entire families of icons and did not use the individual icon function. One way would be to create a family of any custom icons (or just add to an existing) and then export the family. Restoring the family on launch would get your icons back. The export is an array that you can encode/save then reverse process to restore. Hope this at least gives you an idea. Brian Milby brian at milby7.com > On Oct 17, 2024, at 9:12 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > yesterday I successfully added a custom SVG icon via: > ... > get addicon("fontawesome/metronom",tPath,0) > ... > > Today I opened the stack where i used that icon and it is gone? > > Do I need to save the icon/library somehow? > Or what can/need I do to have this icon "stick" in the library and > appear again in my stack permanently? > > > 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 rdimola at evergreeninfo.net Fri Oct 18 14:07:32 2024 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 18 Oct 2024 14:07:32 -0400 Subject: Livecode Login In-Reply-To: <6AFF6514-4A86-4336-8653-B4852FCB41C2@iotecdigital.com> References: <6AFF6514-4A86-4336-8653-B4852FCB41C2@iotecdigital.com> Message-ID: <000601db2188$9d525890$d7f709b0$@net> DNS resolution for my LiveCode hosting account just stopped working. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Thursday, October 17, 2024 1:00 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Livecode Login Anyone else having difficulty logging into Livecode? 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 matthias_livecode_150811 at m-r-d.de Fri Oct 18 14:40:41 2024 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 18 Oct 2024 20:40:41 +0200 Subject: Livecode Login In-Reply-To: <000601db2188$9d525890$d7f709b0$@net> References: <6AFF6514-4A86-4336-8653-B4852FCB41C2@iotecdigital.com> <000601db2188$9d525890$d7f709b0$@net> Message-ID: <6F94975E-376C-4F3E-A70E-5D5ABD90689F@m-r-d.de> Thanks for bringing this up. I never would have checked my account. Here it is the same. The server on which my account is hosted cannot be reached on port 2083 and also my account and also any domain in my account is accessible on port 80. I've sent an email to livecodehosting at livecode.com with URGENT in the subject line. Maybe you do the same. Regards, Matthias > Am 18.10.2024 um 20:07 schrieb Ralph DiMola via use-livecode : > > DNS resolution for my LiveCode hosting account just stopped working. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Bob Sneidar via use-livecode > Sent: Thursday, October 17, 2024 1:00 PM > To: How to use LiveCode > Cc: Bob Sneidar > Subject: Livecode Login > > Anyone else having difficulty logging into Livecode? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Oct 18 14:44:53 2024 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 18 Oct 2024 14:44:53 -0400 Subject: Livecode Login In-Reply-To: <6F94975E-376C-4F3E-A70E-5D5ABD90689F@m-r-d.de> References: <6AFF6514-4A86-4336-8653-B4852FCB41C2@iotecdigital.com> <000601db2188$9d525890$d7f709b0$@net> <6F94975E-376C-4F3E-A70E-5D5ABD90689F@m-r-d.de> Message-ID: <000d01db218d$d59ec8a0$80dc59e0$@net> Robin fixed it. I'm back up. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of matthias rebbe via use-livecode Sent: Friday, October 18, 2024 2:41 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: Livecode Login Thanks for bringing this up. I never would have checked my account. Here it is the same. The server on which my account is hosted cannot be reached on port 2083 and also my account and also any domain in my account is accessible on port 80. I've sent an email to livecodehosting at livecode.com with URGENT in the subject line. Maybe you do the same. Regards, Matthias > Am 18.10.2024 um 20:07 schrieb Ralph DiMola via use-livecode : > > DNS resolution for my LiveCode hosting account just stopped working. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Bob Sneidar via use-livecode > Sent: Thursday, October 17, 2024 1:00 PM > To: How to use LiveCode > Cc: Bob Sneidar > Subject: Livecode Login > > Anyone else having difficulty logging into Livecode? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sat Oct 19 03:11:04 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 19 Oct 2024 03:11:04 -0400 Subject: Scrollbar color Message-ID: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> Hi list, Is there a possibility to set a custom color to a regular scrollbar ? I guess the answer is no, since I haven't found anything in the doc. I also guess that the only solution is to build a custom scrollbar. My problem is that the scrollbar looks ok on Mac, but on Windows it's 100% black... I tried "set the backgroundcolor of scrollbar x to grey", I didn't get any error but nothing changed. jbv From harrison at all-auctions.com Sat Oct 19 13:47:46 2024 From: harrison at all-auctions.com (harrison at all-auctions.com) Date: Sat, 19 Oct 2024 13:47:46 -0400 Subject: Scrollbar color In-Reply-To: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> References: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> Message-ID: Yes, you are probably stuck making your own. Good luck! Rick > On Oct 19, 2024, at 3:11 AM, jbv via use-livecode wrote: > > Hi list, > > Is there a possibility to set a custom color to a regular > scrollbar ? I guess the answer is no, since I haven't > found anything in the doc. I also guess that the only > solution is to build a custom scrollbar. > My problem is that the scrollbar looks ok on Mac, but > on Windows it's 100% black... > I tried "set the backgroundcolor of scrollbar x to grey", > I didn't get any error but nothing changed. > > jbv From paul at researchware.com Sat Oct 19 14:20:43 2024 From: paul at researchware.com (Paul Dupuis) Date: Sat, 19 Oct 2024 14:20:43 -0400 Subject: Scrollbar color In-Reply-To: References: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> Message-ID: See https://quality.livecode.com/show_bug.cgi?id=7762 Scrollbars and sliders are essentially the same object. This enhancement request/bug has been logged since 2009. I think the same request for scrollbars is also in the Quality Center bugzilla database and goes back even farther, but I didn't bother looking past the one above. On 10/19/2024 1:47 PM, harrison--- via use-livecode wrote: > Yes, you are probably stuck making your own. > > Good luck! > > Rick > >> On Oct 19, 2024, at 3:11 AM, jbv via use-livecode wrote: >> >> Hi list, >> >> Is there a possibility to set a custom color to a regular >> scrollbar ? I guess the answer is no, since I haven't >> found anything in the doc. I also guess that the only >> solution is to build a custom scrollbar. >> My problem is that the scrollbar looks ok on Mac, but >> on Windows it's 100% black... >> I tried "set the backgroundcolor of scrollbar x to grey", >> I didn't get any error but nothing changed. >> >> 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 craig at starfirelighting.com Mon Oct 21 09:25:55 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 21 Oct 2024 09:25:55 -0400 Subject: Scrollbar color In-Reply-To: References: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> Message-ID: <82B4F56B-9929-4884-95B4-20CCBFB19B73@starfirelighting.com> I set the backColor to “Blue” and then tried all the different inks. Nothing... > On Oct 19, 2024, at 2:20 PM, Paul Dupuis via use-livecode wrote: > > See https://quality.livecode.com/show_bug.cgi?id=7762 > > Scrollbars and sliders are essentially the same object. This enhancement request/bug has been logged since 2009. > > I think the same request for scrollbars is also in the Quality Center bugzilla database and goes back even farther, but I didn't bother looking past the one above. > > > On 10/19/2024 1:47 PM, harrison--- via use-livecode wrote: >> Yes, you are probably stuck making your own. >> >> Good luck! >> >> Rick >> >>> On Oct 19, 2024, at 3:11 AM, jbv via use-livecode wrote: >>> >>> Hi list, >>> >>> Is there a possibility to set a custom color to a regular >>> scrollbar ? I guess the answer is no, since I haven't >>> found anything in the doc. I also guess that the only >>> solution is to build a custom scrollbar. >>> My problem is that the scrollbar looks ok on Mac, but >>> on Windows it's 100% black... >>> I tried "set the backgroundcolor of scrollbar x to grey", >>> I didn't get any error but nothing changed. >>> >>> 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 craig at starfirelighting.com Mon Oct 21 09:32:19 2024 From: craig at starfirelighting.com (Craig Newman) Date: Mon, 21 Oct 2024 09:32:19 -0400 Subject: Scrollbar color In-Reply-To: <82B4F56B-9929-4884-95B4-20CCBFB19B73@starfirelighting.com> References: <077b4851aafde8c4168aac97f10330ff@souslelogo.com> <82B4F56B-9929-4884-95B4-20CCBFB19B73@starfirelighting.com> Message-ID: <3048F828-7AF1-4675-904E-43EDED59B59E@starfirelighting.com> Were you interested in just having the thumb colored, the bar itself, or both? In any case, this is simple to do by overlaying two graphics on top of a standard scrollbar, and making the colored “thumb” graphic track the real one. Craig > On Oct 21, 2024, at 9:25 AM, Craig Newman via use-livecode wrote: > > I set the backColor to “Blue” and then tried all the different inks. Nothing... > >> On Oct 19, 2024, at 2:20 PM, Paul Dupuis via use-livecode wrote: >> >> See https://quality.livecode.com/show_bug.cgi?id=7762 >> >> Scrollbars and sliders are essentially the same object. This enhancement request/bug has been logged since 2009. >> >> I think the same request for scrollbars is also in the Quality Center bugzilla database and goes back even farther, but I didn't bother looking past the one above. >> >> >> On 10/19/2024 1:47 PM, harrison--- via use-livecode wrote: >>> Yes, you are probably stuck making your own. >>> >>> Good luck! >>> >>> Rick >>> >>>> On Oct 19, 2024, at 3:11 AM, jbv via use-livecode wrote: >>>> >>>> Hi list, >>>> >>>> Is there a possibility to set a custom color to a regular >>>> scrollbar ? I guess the answer is no, since I haven't >>>> found anything in the doc. I also guess that the only >>>> solution is to build a custom scrollbar. >>>> My problem is that the scrollbar looks ok on Mac, but >>>> on Windows it's 100% black... >>>> I tried "set the backgroundcolor of scrollbar x to grey", >>>> I didn't get any error but nothing changed. >>>> >>>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Oct 22 12:42:37 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 22 Oct 2024 16:42:37 +0000 Subject: Scrollbar color Message-ID: <41e97bf5f28a6eb97cfc32820f5884b7f99ac681@fourthworld.com> jbv wrote: > Is there a possibility to set a custom color to a regular > scrollbar ? Requested 2009, presumably low priority since scrollbars are so common most folks want the standard OS appearance. In fact, I no longer have a need for custom scrollbar colors myself. https://quality.livecode.com/show_bug.cgi?id=8017 > My problem is that the scrollbar looks ok on Mac, but > on Windows it's 100% black... If the default appearance of a control doesn't match OS specs, that would be a bug. -- Richard Gaskin FourthWorld.com From bobsneidar at iotecdigital.com Tue Oct 22 13:57:21 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 22 Oct 2024 17:57:21 +0000 Subject: Scrollbar color In-Reply-To: <41e97bf5f28a6eb97cfc32820f5884b7f99ac681@fourthworld.com> References: <41e97bf5f28a6eb97cfc32820f5884b7f99ac681@fourthworld.com> Message-ID: Ah. I would look at your Windows appearance settings. For some reason Microsoft thinks uglifying their OS makes it look more modern. Bob S On Oct 22, 2024, at 9:42 AM, Richard Gaskin via use-livecode wrote: My problem is that the scrollbar looks ok on Mac, but on Windows it's 100% black... If the default appearance of a control doesn't match OS specs, that would be a bug. -- Richard Gaskin FourthWorld.com From paul at researchware.com Tue Oct 22 17:01:28 2024 From: paul at researchware.com (Paul Dupuis) Date: Tue, 22 Oct 2024 17:01:28 -0400 Subject: Scrollbar color In-Reply-To: References: <41e97bf5f28a6eb97cfc32820f5884b7f99ac681@fourthworld.com> Message-ID: <818dd57a-4a22-430d-bfbf-830a0cea58b6@researchware.com> In Livecode (9.6.13 is what I used), click on the "Sample Stacks" icon in the toolbar. In the Sample Stacks window that comes up, search for "Scrollbar" (across all Stacks). he first one that comes up is a stack (by Oliver Kenyon) to make custom scrollbars. I have not ever had a need for a custom scrollbar, so I have not used this stack and have no idea how good it is, but you may want to download it and give it a try. From bobsneidar at iotecdigital.com Fri Oct 25 12:38:34 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 25 Oct 2024 16:38:34 +0000 Subject: Bring a stack to front when it is already open Message-ID: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> This may seem simple, but for some reason it’s not working. I have a Views function that can open multiple windows in one click, but sometimes stacks can be obscured by others, so I have a Modules Menu where you can select a stack and it will open it. The problem is, Open Stack and Go Card x Of Stack are not bringing the stack I select to the front, and neither is topLevel which only works if the stack is not already open. How? Bob S From andreas.bergendal at gmail.com Sat Oct 26 14:57:06 2024 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Sat, 26 Oct 2024 20:57:06 +0200 Subject: WebDeployHelper tool - the LC10 web app toolbox In-Reply-To: <96E5F8EC-B81D-4707-96C9-4C2A6BE6B67A@ucsb.edu> References: <2D4FC655-C87A-47F6-8C23-AC39227A483A@ucsb.edu> <21E46D91-2D44-4A5C-A9FC-5726B128B3B7@starfirelighting.com> <74D8E8B7-91F6-42C3-B309-5C86A4104867@iotecdigital.com> <696F736A-3B04-4650-B616-9F75BAD0CB48@ucsb.edu> <8A6C2C52-C2ED-4E88-AEEA-745C7E61F08B@gmail.com> <96E5F8EC-B81D-4707-96C9-4C2A6BE6B67A@ucsb.edu> Message-ID: <5E121EEC-4B91-4B89-B64E-D85BFE9DDF62@gmail.com> So, the release of LC 10 Classic stable and 10.0.1 RC1 were interesting, but they incorporated absolutely none of the web deployment customisation settings that would have been expected at this stage. Thus, my WebDeployHelper tool remains quite relevant for the foreseeable future (no, LC Create is nowhere there yet…). I have updated it with some javaScript error checking added to the resize listener, that should hopefully reduce the rate of javaScript-caused app crashes when running in mobile browsers. To recap: You need a LC 10 (classic) web deployment license to use it. It does NOT work with LC Create desktop, which has no web deployment enabled yet. Download it at the usual place: https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest Or, if you’re already using a previous version, just open the stack and it will prompt an update. /Andreas From phil at pdslabs.net Sat Oct 26 15:48:50 2024 From: phil at pdslabs.net (Phil Davis) Date: Sat, 26 Oct 2024 12:48:50 -0700 Subject: Bring a stack to front when it is already open In-Reply-To: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> References: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> Message-ID: Hi Bob, This may answer your need but isn't very elegant: *put*thestyleofstack"untitled 1"intox *set*thestyleofstack"untitled 1"to*palette* *set*thestyleofstack"untitled 1"tox Phil Davis On 10/25/24 9:38 AM, Bob Sneidar via use-livecode wrote: > This may seem simple, but for some reason its not working. I have a Views function that can open multiple windows in one click, but sometimes stacks can be obscured by others, so I have a Modules Menu where you can select a stack and it will open it. > > The problem is, Open Stack and Go Card x Of Stack are not bringing the stack I select to the front, and neither is topLevel which only works if the stack is not already open. > > How? > > 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 -- Phil Davis (503) 307-4363 From phil at pdslabs.net Sat Oct 26 15:58:18 2024 From: phil at pdslabs.net (Phil Davis) Date: Sat, 26 Oct 2024 12:58:18 -0700 Subject: Bring a stack to front when it is already open In-Reply-To: References: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> Message-ID: <791c9479-1430-4435-a5ce-c9e23d740f3b@pdslabs.net> Oops - sorry about the run-on words. Weird.    put the style of stack "untitled 1" into x    set the style of stack "untitled 1" to "palette"    set the style of stack "untitled 1" to x On 10/26/24 12:48 PM, Phil Davis via use-livecode wrote: > Hi Bob, > > This may answer your need but isn't very elegant: > >    *put*thestyleofstack"untitled 1"intox >    *set*thestyleofstack"untitled 1"to*palette* >    *set*thestyleofstack"untitled 1"tox > > Phil Davis > > > On 10/25/24 9:38 AM, Bob Sneidar via use-livecode wrote: >> This may seem simple, but for some reason its not working. I have a >> Views function that can open multiple windows in one click, but >> sometimes stacks can be obscured by others, so I have a Modules Menu >> where you can select a stack and it will open it. >> >> The problem is, Open Stack and Go Card x Of Stack are not bringing >> the stack I select to the front, and neither is topLevel which only >> works if the stack is not already open. >> >> How? >> >> 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 > -- Phil Davis (503) 307-4363 From bobsneidar at iotecdigital.com Mon Oct 28 11:27:28 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 28 Oct 2024 15:27:28 +0000 Subject: Bring a stack to front when it is already open In-Reply-To: <791c9479-1430-4435-a5ce-c9e23d740f3b@pdslabs.net> References: <1CCBDDCD-1946-4D13-9DA8-C0261D1F8278@iotecdigital.com> <791c9479-1430-4435-a5ce-c9e23d740f3b@pdslabs.net> Message-ID: <8D224198-8F8B-4A97-B459-388F9254FA3D@iotecdigital.com> Thanks Phil. I suspected it might be a workaround, but it just seemed odd to me that with all the window commands and functions, there was no way to do this with a single command. Bob S > On Oct 26, 2024, at 12:58 PM, Phil Davis via use-livecode wrote: > > Oops - sorry about the run-on words. Weird. > > put the style of stack "untitled 1" into x > set the style of stack "untitled 1" to "palette" > set the style of stack "untitled 1" to x > > > On 10/26/24 12:48 PM, Phil Davis via use-livecode wrote: >> Hi Bob, >> >> This may answer your need but isn't very elegant: >> >> *put*thestyleofstack"untitled 1"intox >> *set*thestyleofstack"untitled 1"to*palette* >> *set*thestyleofstack"untitled 1"tox >> >> Phil Davis >> >> >> On 10/25/24 9:38 AM, Bob Sneidar via use-livecode wrote: >>> This may seem simple, but for some reason it’s not working. I have a Views function that can open multiple windows in one click, but sometimes stacks can be obscured by others, so I have a Modules Menu where you can select a stack and it will open it. >>> >>> The problem is, Open Stack and Go Card x Of Stack are not bringing the stack I select to the front, and neither is topLevel which only works if the stack is not already open. >>> >>> How? >>> >>> 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 >> > > -- > Phil Davis > (503) 307-4363 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Oct 28 19:45:35 2024 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 28 Oct 2024 23:45:35 +0000 Subject: Bring a stack to front when it is already open Message-ID: <6a765598e9b93f1bc6ad2dc454efc48c5dc6dc6f@fourthworld.com> Bob wrote: > This may seem simple, but for some reason it’s not working. I have a > Views function that can open multiple windows in one click, but > sometimes stacks can be obscured by others, so I have a Modules Menu > where you can select a stack and it will open it. > > The problem is, Open Stack and Go Card x Of Stack are not bringing > the stack I select to the front, and neither is topLevel which only > works if the stack is not already open. "open stack " works. If it's not working there something else is in play. Quick verification: 1. Create a stack, name it "AAA" 2. Create a bunch of other stacks, so "AAA" is behind them 3. Run this in the Message Box: open stack "AAA" Result: "AAA" comes to the front of all stack windows -- Richard Gaskin FourthWorld.com From curry at pair.com Mon Oct 28 20:16:23 2024 From: curry at pair.com (Curry Kenworthy) Date: Mon, 28 Oct 2024 20:16:23 -0400 Subject: WordLib and SpreadLib update news for LC 10 Message-ID: Thank you to several people who have inquired about LC 10 recently - Yes, I am preparing WordLib and SpreadLib updates for LC 10! And a couple of other issues. Please whitelist my email address to ensure successful communication. No exact release schedule yet - Comments and code delayed a bit by health issues. Happy coding! More news soon.... Best wishes, Curry Kenworthy WordLib: Import MS Word and OpenOffice files in LiveCode! "Dominate documents with WordLib and LC" https://livecodeaddons.com/ From jbv at souslelogo.com Tue Oct 29 04:53:11 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 29 Oct 2024 04:53:11 -0400 Subject: How to determine if a text file is UTF8 ? Message-ID: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> Hi list, How to determine if a text file is UTF8 or just plain ASCII ? In other words, how to know if one should use open file myfile.txt for UTF8 read or open file myfile.txt for read Thank you. jbv From bobsneidar at iotecdigital.com Tue Oct 29 11:09:53 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Oct 2024 15:09:53 +0000 Subject: Bring a stack to front when it is already open In-Reply-To: <6a765598e9b93f1bc6ad2dc454efc48c5dc6dc6f@fourthworld.com> References: <6a765598e9b93f1bc6ad2dc454efc48c5dc6dc6f@fourthworld.com> Message-ID: Okay, that’s odd. It IS working now. Bob S > On Oct 28, 2024, at 4:45 PM, Richard Gaskin via use-livecode wrote: > > Bob wrote: > >> This may seem simple, but for some reason it’s not working. I have a >> Views function that can open multiple windows in one click, but >> sometimes stacks can be obscured by others, so I have a Modules Menu >> where you can select a stack and it will open it. >> >> The problem is, Open Stack and Go Card x Of Stack are not bringing >> the stack I select to the front, and neither is topLevel which only >> works if the stack is not already open. > > "open stack " works. If it's not working there something else is in play. > > > Quick verification: > > 1. Create a stack, name it "AAA" > 2. Create a bunch of other stacks, so "AAA" is behind them > 3. Run this in the Message Box: > > open stack "AAA" > > Result: "AAA" comes to the front of all stack windows > > -- > Richard Gaskin > FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Oct 29 11:17:12 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Oct 2024 15:17:12 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> Message-ID: <9928C66F-F3A0-4C06-B4DA-FE0880AAEDEA@iotecdigital.com> There is a Wikipedia article on this. Turns out it is not straightforward. There can be a Byte Order Mark that the file begins with but not all vendors use it. And I do not think you can make the determination simply by examining the contents of the file. Byte-order mark[edit] If the Unicode byte-order mark U+FEFF is at the start of a UTF-8 file, the first three bytes will be 0xEF, 0xBB, 0xBF. The Unicode Standard neither requires nor recommends the use of the BOM for UTF-8, but warns that it may be encountered at the start of a file trans-coded from another encoding.[23] While ASCII text encoded using UTF-8 is backward compatible with ASCII, this is not true when Unicode Standard recommendations are ignored and a BOM is added. A BOM can confuse software that isn't prepared for it but can otherwise accept UTF-8, e.g. programming languages that permit non-ASCII bytes in string literals but not at the start of the file. Nevertheless, there was and still is software that always inserts a BOM when writing UTF-8, and refuses to correctly interpret UTF-8 unless the first character is a BOM (or the file only contains ASCII).[24] https://en.wikipedia.org/wiki/UTF-8# Bob S > On Oct 29, 2024, at 1:53 AM, jbv via use-livecode wrote: > > Hi list, > > How to determine if a text file is UTF8 or just plain ASCII ? > In other words, how to know if one should use > open file myfile.txt for UTF8 read > or > open file myfile.txt for read > > Thank you. > 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 Tue Oct 29 11:31:11 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Oct 2024 15:31:11 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <9928C66F-F3A0-4C06-B4DA-FE0880AAEDEA@iotecdigital.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> <9928C66F-F3A0-4C06-B4DA-FE0880AAEDEA@iotecdigital.com> Message-ID: <9DAD6CFB-A937-44C0-9833-E779CE08F66D@iotecdigital.com> I suppose you could also use textDecode(, “UTF-8”) to convert the text to that format. Bob S > On Oct 29, 2024, at 8:17 AM, Bob Sneidar via use-livecode wrote: > > There is a Wikipedia article on this. Turns out it is not straightforward. There can be a Byte Order Mark that the file begins with but not all vendors use it. And I do not think you can make the determination simply by examining the contents of the file. > > Byte-order mark[edit] > If the Unicode byte-order mark U+FEFF is at the start of a UTF-8 file, the first three bytes will be 0xEF, 0xBB, 0xBF. > The Unicode Standard neither requires nor recommends the use of the BOM for UTF-8, but warns that it may be encountered at the start of a file trans-coded from another encoding.[23] While ASCII text encoded using UTF-8 is backward compatible with ASCII, this is not true when Unicode Standard recommendations are ignored and a BOM is added. A BOM can confuse software that isn't prepared for it but can otherwise accept UTF-8, e.g. programming languages that permit non-ASCII bytes in string literals but not at the start of the file. Nevertheless, there was and still is software that always inserts a BOM when writing UTF-8, and refuses to correctly interpret UTF-8 unless the first character is a BOM (or the file only contains ASCII).[24] > > https://en.wikipedia.org/wiki/UTF-8# > > Bob S > > >> On Oct 29, 2024, at 1:53 AM, jbv via use-livecode wrote: >> >> Hi list, >> >> How to determine if a text file is UTF8 or just plain ASCII ? >> In other words, how to know if one should use >> open file myfile.txt for UTF8 read >> or >> open file myfile.txt for read >> >> Thank you. >> 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 bobsneidar at iotecdigital.com Tue Oct 29 11:32:50 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Oct 2024 15:32:50 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <9DAD6CFB-A937-44C0-9833-E779CE08F66D@iotecdigital.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> <9928C66F-F3A0-4C06-B4DA-FE0880AAEDEA@iotecdigital.com> <9DAD6CFB-A937-44C0-9833-E779CE08F66D@iotecdigital.com> Message-ID: <0EC3AD01-7C4D-4ABB-9B4E-5D605404EE57@iotecdigital.com> So open file for binary read, then put textDecode(it, “UTF-8”) into tText. Bob S > On Oct 29, 2024, at 8:31 AM, Bob Sneidar wrote: > > I suppose you could also use textDecode(, “UTF-8”) to convert the text to that format. > > Bob S > > >> On Oct 29, 2024, at 8:17 AM, Bob Sneidar via use-livecode wrote: >> >> There is a Wikipedia article on this. Turns out it is not straightforward. There can be a Byte Order Mark that the file begins with but not all vendors use it. And I do not think you can make the determination simply by examining the contents of the file. >> >> Byte-order mark[edit] >> If the Unicode byte-order mark U+FEFF is at the start of a UTF-8 file, the first three bytes will be 0xEF, 0xBB, 0xBF. >> The Unicode Standard neither requires nor recommends the use of the BOM for UTF-8, but warns that it may be encountered at the start of a file trans-coded from another encoding.[23] While ASCII text encoded using UTF-8 is backward compatible with ASCII, this is not true when Unicode Standard recommendations are ignored and a BOM is added. A BOM can confuse software that isn't prepared for it but can otherwise accept UTF-8, e.g. programming languages that permit non-ASCII bytes in string literals but not at the start of the file. Nevertheless, there was and still is software that always inserts a BOM when writing UTF-8, and refuses to correctly interpret UTF-8 unless the first character is a BOM (or the file only contains ASCII).[24] >> >> https://en.wikipedia.org/wiki/UTF-8# >> >> Bob S >> >> >>> On Oct 29, 2024, at 1:53 AM, jbv via use-livecode wrote: >>> >>> Hi list, >>> >>> How to determine if a text file is UTF8 or just plain ASCII ? >>> In other words, how to know if one should use >>> open file myfile.txt for UTF8 read >>> or >>> open file myfile.txt for read >>> >>> Thank you. >>> 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 mark at livecode.com Tue Oct 29 12:23:58 2024 From: mark at livecode.com (Mark Waddingham) Date: Tue, 29 Oct 2024 16:23:58 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> Message-ID: <8eed3ceb4735b57f11bbc631a5e39c31@livecode.com> On 2024-10-29 08:53, jbv via use-livecode wrote: > Hi list, > > How to determine if a text file is UTF8 or just plain ASCII ? > In other words, how to know if one should use > open file myfile.txt for UTF8 read > or > open file myfile.txt for read If it is really plain ASCII then it doesn't matter - UTF8 is a strict superset of ASCII. All ASCII chars are identical - they are codes 0-127 so only use 7-bits (as ASCII does). Any UTF-8 chars will start with a byte which has the high bit set so will be in the range 128-255 - UTF-8 encoded chars are always at least two bytes, and all those bytes have the top bit set. If by 'ASCII' you mean 'some native encoding' like MacRoman or Latin-1 (Windows 1252), then things are a bit more tricky. Unless the text file has a byte-order-mark (BOM) at the front (which these days are becoming much less common) you can only really tell by guessing. The simplest guess is to see if it 'roundtrips' as utf-8 and if it does then it is almost certainly utf-8; if it does not, then it is either unicode encoding (e.g. UTF-16 - which is often found on Windows), or some other encoding (typically on mac this will be MacRoman, and on Windows this will be Latin-1 - but that's typically, there are 100's of region specific encodings so generally it depends on where the file came from / the locale of the computer it was created on - obviously with unicode this is not really an issue for new stuff, its more legacy stuff). So if you are faced with text files may either be the 'platform native' encoding (as LiveCode sees it) or utf-8 without a BOM: local tBinText, tText put url ("binfile:myfile.txt") into tBinText put textDecode(tBinText, "utf-8") into tText if textEncode(tText, "utf-8") is not tBinText then -- If tText does not encode back to utf-8 identically, then it means there are invalid utf-8 -- byte sequences in it which means that it is either a corrupted utf-8 file (unlikely) or -- not utf-8 put textDecode(tBinText, "native") into tText else -- If the first char is the unicode 'zero width no-break space' then that was a BOM which we -- don't want (the logic here is that that char makes no sense at the start of a file so is -- reserved in that specific case to be used as a marker for unicode encoding) if codeunit 1 of tText is numToCodepoint(0xFEFF) then delete codeunit 1 of tText end if end if -- Perform the general EOL conversion the engine would do reading text replace crlf with return in tText replace numToCodepoint(13) with return in tText I'd estimate this probably 99% reliable - in order for a native encoded file to *also* be valid UTF-8 is quite unlikely as for that to be the case you'd need some very strange sequences of non-ascii characters (which tend to always be surrounded by ASCII - e.g. accented chars, math symbols, indices, quote variants). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Build Amazing Things From jbv at souslelogo.com Tue Oct 29 14:01:40 2024 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 29 Oct 2024 14:01:40 -0400 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> Message-ID: <1e4d7f30e869b825e0325031e25cab2e@souslelogo.com> Thank you all for your answers, and especially Mark for posting some code that I will try immediately. From benr_mc at cogapp.com Wed Oct 30 06:17:01 2024 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 30 Oct 2024 10:17:01 +0000 Subject: How to determine if a text file is UTF8 ? In-Reply-To: <8eed3ceb4735b57f11bbc631a5e39c31@livecode.com> References: <795603c370fb675a4f15f25a4a07607a@souslelogo.com> <8eed3ceb4735b57f11bbc631a5e39c31@livecode.com> Message-ID: Thanks for the handy tip re validating UTF8, which I didn't know. Can I use this opportunity to make the plea once again to support the basic encodings on any platform, rather than relying on the hated "native", i.e. https://quality.livecode.com/show_bug.cgi?id=12205 and bearing in mind the comments of one M*rk W*dd*ingh*m in 2014: > In any case, I can't argue with the suggestion that the language parameter should enable at least the most common charsets to be leveraged and converted to/from Unicode. ... > At least for release we are aiming to have the list above working on all platforms. (UTF-8, UTF-16 (BE and LE), UTF-32 (BE and LE), MacRoman, ISO8859-1, Windows-1252, ASCII) (comments on https://quality.livecode.com/show_bug.cgi?id=3674) Thanks for listening! Ben On 29/10/2024 16:23, Mark Waddingham via use-livecode wrote: > On 2024-10-29 08:53, jbv via use-livecode wrote: >> Hi list, >> >> How to determine if a text file is UTF8 or just plain ASCII ? >> In other words, how to know if one should use >>   open file myfile.txt for UTF8 read >> or >>   open file myfile.txt for read > > If it is really plain ASCII then it doesn't matter - UTF8 is a strict superset > of ASCII. > > All ASCII chars are identical - they are codes 0-127 so only use 7-bits (as > ASCII does). > > Any UTF-8 chars will start with a byte which has the high bit set so will be > in the range 128-255 - UTF-8 encoded chars are always at least two bytes, and > all those bytes have the top bit set. > > If by 'ASCII' you mean 'some native encoding' like MacRoman or Latin-1 > (Windows 1252), then things are a bit more tricky. Unless the text file has a > byte-order-mark (BOM) at the front (which these days are becoming much less > common) you can only really tell by guessing. > > The simplest guess is to see if it 'roundtrips' as utf-8 and if it does then > it is almost certainly utf-8; if it does not, then it is either unicode > encoding (e.g. UTF-16 - which is often found on Windows), or some other > encoding (typically on mac this will be MacRoman, and on Windows this will be > Latin-1 - but that's typically, there are 100's of region specific encodings > so generally it depends on where the file came from / the locale of the > computer it was created on - obviously with unicode this is not really an > issue for new stuff, its more legacy stuff). > > So if you are faced with text files may either be the 'platform native' > encoding (as LiveCode sees it) or utf-8 without a BOM: > >   local tBinText, tText >   put url ("binfile:myfile.txt") into tBinText >   put textDecode(tBinText, "utf-8") into tText >   if textEncode(tText, "utf-8") is not tBinText then >      -- If tText does not encode back to utf-8 identically, then it means > there are invalid utf-8 >      -- byte sequences in it which means that it is either a corrupted utf-8 > file (unlikely) or >      -- not utf-8 >      put textDecode(tBinText, "native") into tText >   else >     -- If the first char is the unicode 'zero width no-break space' then that > was a BOM which we >     -- don't want (the logic here is that that char makes no sense at the > start of a file so is >     -- reserved in that specific case to be used as a marker for unicode > encoding) >     if codeunit 1 of tText is numToCodepoint(0xFEFF) then >       delete codeunit 1 of tText >     end if >   end if > >   -- Perform the general EOL conversion the engine would do reading text >   replace crlf with return in tText >   replace numToCodepoint(13) with return in tText > > I'd estimate this probably 99% reliable - in order for a native encoded file > to *also* be valid UTF-8 is quite unlikely as for that to be the case you'd > need some very strange sequences of non-ascii characters (which tend to always > be surrounded by ASCII - e.g. accented chars, math symbols, indices, quote > variants). > > Warmest Regards, > > Mark. > From craig at starfirelighting.com Thu Oct 31 09:25:48 2024 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 31 Oct 2024 09:25:48 -0400 Subject: Bring a stack to front when it is already open In-Reply-To: References: <6a765598e9b93f1bc6ad2dc454efc48c5dc6dc6f@fourthworld.com> Message-ID: <58B8D7C6-0C32-4442-A928-7EC1BDA58B93@starfirelighting.com> Bob. Not odd at all. I just went through something similar: https://forums.livecode.com/viewtopic.php?f=9&t=39422 Haunted software. It is halloween, after all. Craig > On Oct 29, 2024, at 11:09 AM, Bob Sneidar via use-livecode wrote: > > Okay, that’s odd. It IS working now. > > Bob S > > >> On Oct 28, 2024, at 4:45 PM, Richard Gaskin via use-livecode wrote: >> >> Bob wrote: >> >>> This may seem simple, but for some reason it’s not working. I have a >>> Views function that can open multiple windows in one click, but >>> sometimes stacks can be obscured by others, so I have a Modules Menu >>> where you can select a stack and it will open it. >>> >>> The problem is, Open Stack and Go Card x Of Stack are not bringing >>> the stack I select to the front, and neither is topLevel which only >>> works if the stack is not already open. >> >> "open stack " works. If it's not working there something else is in play. >> >> >> Quick verification: >> >> 1. Create a stack, name it "AAA" >> 2. Create a bunch of other stacks, so "AAA" is behind them >> 3. Run this in the Message Box: >> >> open stack "AAA" >> >> Result: "AAA" comes to the front of all stack windows >> >> -- >> Richard Gaskin >> FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Thu Oct 31 10:47:56 2024 From: heather at livecode.com (Heather Laine) Date: Thu, 31 Oct 2024 14:47:56 +0000 Subject: LiveCode Create dp-5 released Message-ID: <7F4181AC-3348-4D24-911D-82D2D7306BED@livecode.com> Dear list folks, LiveCode Create is continuing to make great progress. With the 1.0 dp-5 release we have a number of new features and a whole slew of fixes to make using the new platform a lot nicer. The primary improvement in this release is the merging of the internal engines, so that if you are using Classic within Create, you can share Create based extensions. Read more here: https://livecode.com/create-dp-5-unified-engines-and-shared-extensions/ Best Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From bobsneidar at iotecdigital.com Thu Oct 31 14:41:19 2024 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 31 Oct 2024 18:41:19 +0000 Subject: Read Binary heads up Message-ID: <4F9DAE0C-DA90-412B-8A60-FC123230BAE3@iotecdigital.com> I want to give everyone a heads up. I created a handler to convert a Konica address book to a Toshiba one. First I open the Konica address book using binary read. But for some reason itemOffset was not working, and neither did “contains”. I couldn’t figure it out until I copy/pasted a line of the binary data into the message box, and then tried to backspace to shorten the line (thinking it might be too long). To my surprise, I had to backspace twice for every character, leading me to believe the file might be UTF-16! I used open file filename for read (without the binary) and all is well. I guess the moral of the story is, if you don’t *have* to open binary, don’t. Bob S From tom at makeshyft.com Thu Oct 31 15:35:00 2024 From: tom at makeshyft.com (Tom Glod) Date: Thu, 31 Oct 2024 15:35:00 -0400 Subject: Read Binary heads up In-Reply-To: <4F9DAE0C-DA90-412B-8A60-FC123230BAE3@iotecdigital.com> References: <4F9DAE0C-DA90-412B-8A60-FC123230BAE3@iotecdigital.com> Message-ID: Interesting, thanks ..... I think I ran into this before. WIll double check to default to text mode. On Thu, Oct 31, 2024 at 2:42 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I want to give everyone a heads up. I created a handler to convert a > Konica address book to a Toshiba one. First I open the Konica address book > using binary read. But for some reason itemOffset was not working, and > neither did “contains”. I couldn’t figure it out until I copy/pasted a line > of the binary data into the message box, and then tried to backspace to > shorten the line (thinking it might be too long). To my surprise, I had to > backspace twice for every character, leading me to believe the file might > be UTF-16! > > I used open file filename for read (without the binary) and all is well. I > guess the moral of the story is, if you don’t *have* to open binary, don’t. > > 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 >