From bobsneidar at iotecdigital.com Fri Feb 1 11:36:39 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 1 Feb 2019 16:36:39 +0000 Subject: Strip XMP Packet from the end of binary image data In-Reply-To: References: Message-ID: <2B777E85-EA76-48FE-9B9C-EEADF3EE51D7@iotecdigital.com> Adobe does a LOT of crap when copying to the clipboard. Copy text from an OCR'd PDF sometime and paste it into a Livecode field. You may find the number of characters is more than are visible. This is what inspired me to write my cleanAscii function which filters out all chars before 32 and after 126. Bob S > On Jan 31, 2019, at 14:23 , Tom Glod via use-livecode wrote: > > Scratch taht, its the modified date timestamp that changes. > > I will try using regex to get the ID and check it to see if the clipboard > image really changed or not. > > should be a safer and quicker workaround...I think all adobe software does > this when copying to clipboard. From ambassador at fourthworld.com Fri Feb 1 15:18:36 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Feb 2019 12:18:36 -0800 Subject: Strip XMP Packet from the end of binary image data In-Reply-To: <2B777E85-EA76-48FE-9B9C-EEADF3EE51D7@iotecdigital.com> References: <2B777E85-EA76-48FE-9B9C-EEADF3EE51D7@iotecdigital.com> Message-ID: <1fe56f2b-6559-8239-e88a-81d14c9adcfd@fourthworld.com> Bob Sneidar wrote: > Copy text from an OCR'd PDF sometime and paste it into a Livecode > field. You may find the number of characters is more than are visible. Reason #233 why PDF must die. ;) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephen at barncard.com Fri Feb 1 15:59:50 2019 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 1 Feb 2019 12:59:50 -0800 Subject: Strip XMP Packet from the end of binary image data In-Reply-To: <1fe56f2b-6559-8239-e88a-81d14c9adcfd@fourthworld.com> References: <2B777E85-EA76-48FE-9B9C-EEADF3EE51D7@iotecdigital.com> <1fe56f2b-6559-8239-e88a-81d14c9adcfd@fourthworld.com> Message-ID: And replaced with? On Fri, Feb 1, 2019 at 12:19 Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Bob Sneidar wrote: > > > Copy text from an OCR'd PDF sometime and paste it into a Livecode > > field. You may find the number of characters is more than are visible. > > Reason #233 why PDF must die. ;) > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From tom at makeshyft.com Fri Feb 1 17:39:24 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 1 Feb 2019 17:39:24 -0500 Subject: Strip XMP Packet from the end of binary image data In-Reply-To: References: <2B777E85-EA76-48FE-9B9C-EEADF3EE51D7@iotecdigital.com> <1fe56f2b-6559-8239-e88a-81d14c9adcfd@fourthworld.com> Message-ID: The problem for me was that Fireworks was updating the clipboard data every second ..effectively changing the content of the clipboard even if it didn't change......The image was not changing , but the meta data was. so I had a runaway "Clipboard changing message" ..... it was a nightmare ....... esp because i did not know how to reproduce it. once i did, just a simple workaround was needed. i ended up checking the ID of the meta data,.... everything works fine in my clipboard tool :D :D :D a very productive day for me. this one was big checkmark off my to do list. On Fri, Feb 1, 2019 at 4:00 PM Stephen Barncard via use-livecode < use-livecode at lists.runrev.com> wrote: > And replaced with? > > On Fri, Feb 1, 2019 at 12:19 Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Bob Sneidar wrote: > > > > > Copy text from an OCR'd PDF sometime and paste it into a Livecode > > > field. You may find the number of characters is more than are visible. > > > > Reason #233 why PDF must die. ;) > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > ____________________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Feb 1 17:43:42 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Feb 2019 14:43:42 -0800 Subject: Strip XMP Packet from the end of binary image data In-Reply-To: References: Message-ID: Tom Glod wrote: > The problem for me was that Fireworks was updating the clipboard data > every second ..effectively changing the content of the clipboard even > if it didn't change......The image was not changing , but the meta > data was. so I had a runaway "Clipboard changing message" ... As one would expect. Any word from Adobe on why they're hammering the user's clipboard for no apparent reason? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Feb 1 17:38:11 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Feb 2019 14:38:11 -0800 Subject: Strip XMP Packet from the end of binary image data In-Reply-To: References: Message-ID: Stephen Barncard wrote: > On Fri, Feb 1, 2019 at 12:19 Richard Gaskin wrote: >> >> Reason #233 why PDF must die. ;) > > And replaced with? Anything useful on modern devices. You've never read my rants here on this? Today I'll let others make the argument for me: HTML is a natural fit, or its packaged variant, ePub. PDF was a fine thing in its day, but that day was 20 years ago. The world is no longer 8.5" by 11". -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From tom at makeshyft.com Fri Feb 1 18:15:57 2019 From: tom at makeshyft.com (Tom Glod) Date: Fri, 1 Feb 2019 18:15:57 -0500 Subject: Strip XMP Packet from the end of binary image data In-Reply-To: References: Message-ID: Richard, i have no idea ....> Fireworks CS6 has been discontinued for years so I can't really even ask, But this bug turned into a feature because my clipboard tool now correclty saves clipboard data as reusable objects that keep their styles and effects and meta data in at least 1 adobe program that I use. I don't use other adobe products except for this so I can't test it on the others. it'll be interesting to see if it still works in some of their modern tools. :D On Fri, Feb 1, 2019 at 5:50 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Stephen Barncard wrote: > > > On Fri, Feb 1, 2019 at 12:19 Richard Gaskin wrote: > >> > >> Reason #233 why PDF must die. ;) > > > > And replaced with? > > Anything useful on modern devices. > > You've never read my rants here on this? Today I'll let others make the > argument for me: > > < > http://community.aiim.org/blogs/serge-huber/2012/04/25/after-flash-why-pdf-must-die- > > > > > > < > https://www.flightpath.com/blog/2013/06/the-pdf-must-die-other-tips-for-success-on-mobile/ > > > > > HTML is a natural fit, or its packaged variant, ePub. > > PDF was a fine thing in its day, but that day was 20 years ago. The > world is no longer 8.5" by 11". > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Feb 2 14:01:56 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 2 Feb 2019 13:01:56 -0600 Subject: Setting behaviors in 9.0.2 Message-ID: <9a3744c8-7be4-9a25-cf8a-d652c5056924@hyperactivesw.com> Is anyone else unable to set a behavior on an object in LC 9.0.2? Neither script, nor message box, nor property inspector will do it for me with the possible exception of a button on the same card. I'm not using script-only stacks, just buttons which are sometimes in another stack in use. This is such a basic requirement that I'm wondering if it's just me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Sat Feb 2 14:14:25 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 2 Feb 2019 20:14:25 +0100 Subject: Setting behaviors in 9.0.2 In-Reply-To: <9a3744c8-7be4-9a25-cf8a-d652c5056924@hyperactivesw.com> References: <9a3744c8-7be4-9a25-cf8a-d652c5056924@hyperactivesw.com> Message-ID: <1744E4EF-F2C1-4E27-849B-D583058B08FF@m-r-d.de> I?ve made a quick test and set the behaviour of a card to the script of a button. This works here on Mac OS X with LC 9.0.2 Business. Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 02.02.2019 um 20:01 schrieb J. Landman Gay via use-livecode >: > > Is anyone else unable to set a behavior on an object in LC 9.0.2? Neither script, nor message box, nor property inspector will do it for me with the possible exception of a button on the same card. I'm not using script-only stacks, just buttons which are sometimes in another stack in use. > > This is such a basic requirement that I'm wondering if it's just me. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kaveh at rivervalleytechnologies.com Sat Feb 2 15:58:14 2019 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Sat, 2 Feb 2019 20:58:14 +0000 Subject: Setting behaviors in 9.0.2 In-Reply-To: <1744E4EF-F2C1-4E27-849B-D583058B08FF@m-r-d.de> References: <9a3744c8-7be4-9a25-cf8a-d652c5056924@hyperactivesw.com> <1744E4EF-F2C1-4E27-849B-D583058B08FF@m-r-d.de> Message-ID: I have have been using behaviours pointing from objects on the mainstack to buttons on a substack. 9.0.2 on Mac Mojave. On Sat, 2 Feb 2019 at 19:15, Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > I?ve made a quick test and set the behaviour of a card to the script of a > button. > This works here on Mac OS X with LC 9.0.2 Business. > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > > Am 02.02.2019 um 20:01 schrieb J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com >: > > > > Is anyone else unable to set a behavior on an object in LC 9.0.2? > Neither script, nor message box, nor property inspector will do it for me > with the possible exception of a button on the same card. I'm not using > script-only stacks, just buttons which are sometimes in another stack in > use. > > > > This is such a basic requirement that I'm wondering if it's just me. > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com jacque at hyperactivesw.com> > > HyperActive Software | http://www.hyperactivesw.com < > http://www.hyperactivesw.com/> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Kaveh Bazargan Director River Valley Technologies ? Twitter ? LinkedIn From jacque at hyperactivesw.com Sat Feb 2 16:12:18 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 2 Feb 2019 15:12:18 -0600 Subject: Setting behaviors in 9.0.2 In-Reply-To: <1744E4EF-F2C1-4E27-849B-D583058B08FF@m-r-d.de> References: <9a3744c8-7be4-9a25-cf8a-d652c5056924@hyperactivesw.com> <1744E4EF-F2C1-4E27-849B-D583058B08FF@m-r-d.de> Message-ID: <3978135b-9226-c036-4797-3e0412a05e59@hyperactivesw.com> Thanks for testing Matthias. It must have been a temporary thing, I relaunched LC and now it works. Something got out of order I guess. On 2/2/19 1:14 PM, Matthias Rebbe via use-livecode wrote: > I?ve made a quick test and set the behaviour of a card to the script of a button. > This works here on Mac OS X with LC 9.0.2 Business. > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de >> Am 02.02.2019 um 20:01 schrieb J. Landman Gay via use-livecode >: >> >> Is anyone else unable to set a behavior on an object in LC 9.0.2? Neither script, nor message box, nor property inspector will do it for me with the possible exception of a button on the same card. I'm not using script-only stacks, just buttons which are sometimes in another stack in use. >> >> This is such a basic requirement that I'm wondering if it's just me. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Feb 2 16:59:53 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 Feb 2019 15:59:53 -0600 Subject: Setting behaviors in 9.0.2 In-Reply-To: References: <9a3744c8-7be4-9a25-cf8a-d652c5056924@hyperactivesw.com> <1744E4EF-F2C1-4E27-849B-D583058B08FF@m-r-d.de> Message-ID: <168b0399bc0.2783.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks. Something apparently went awry, seems okay now. The script editor was also behaving strangely and is now better. Odd. I'm glad I asked here before making a bug report. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 2, 2019 3:00:22 PM Kaveh Bazargan via use-livecode wrote: > I have have been using behaviours pointing from objects on the mainstack to > buttons on a substack. 9.0.2 on Mac Mojave. > > On Sat, 2 Feb 2019 at 19:15, Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I?ve made a quick test and set the behaviour of a card to the script of a >> button. >> This works here on Mac OS X with LC 9.0.2 Business. >> >> >> >> Matthias Rebbe >> >> free tools for Livecoders: >> https://instamaker.dermattes.de >> https://winsignhelper.dermattes.de >> > Am 02.02.2019 um 20:01 schrieb J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com >: >> > >> > Is anyone else unable to set a behavior on an object in LC 9.0.2? >> Neither script, nor message box, nor property inspector will do it for me >> with the possible exception of a button on the same card. I'm not using >> script-only stacks, just buttons which are sometimes in another stack in >> use. >> > >> > This is such a basic requirement that I'm wondering if it's just me. >> > -- >> > Jacqueline Landman Gay | jacque at hyperactivesw.com > jacque at hyperactivesw.com> >> > HyperActive Software | http://www.hyperactivesw.com < >> http://www.hyperactivesw.com/> >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Kaveh Bazargan > Director > River Valley Technologies ? Twitter > ? LinkedIn > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Sat Feb 2 17:15:02 2019 From: hh at hyperhh.de (hh) Date: Sat, 2 Feb 2019 23:15:02 +0100 Subject: Setting behaviors in 9.0.2 Message-ID: <02458D81-C203-4FF7-94CF-ABDF4446D162@hyperhh.de> I think this is not related especially to behaviors. There is possibly something going wrong with the memory management of LC 9. I had, especially when developing or using widgets, several strange effects. For example changed scripts worked not before saving 2-3 times and closing the script editor. Sometimes also closing and removing a stack from memory and reopening didn't work. But everything ALWAYS worked as expected when relaunching LC 9. Or when doing the same thing in LC 8! I started to denote such strange scenarios for a report. From jacque at hyperactivesw.com Sat Feb 2 23:33:34 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 Feb 2019 22:33:34 -0600 Subject: Setting behaviors in 9.0.2 In-Reply-To: <02458D81-C203-4FF7-94CF-ABDF4446D162@hyperhh.de> References: <02458D81-C203-4FF7-94CF-ABDF4446D162@hyperhh.de> Message-ID: <168b1a20d30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Interesting, I hadn't thought of that. I'd think a memory leak would cause a crash instead of unusual behavior, though I've had a few crashes too. A couple of weeks ago I got a kernal panic, the first I've ever seen. Working with the client on the same stack, she got a kernal panic too. Neither of us have seen it since and I wasn't sure if it really was LC's fault. I get the feeling this is going to be a hard thing to track down. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 2, 2019 4:16:38 PM hh via use-livecode wrote: > I think this is not related especially to behaviors. > There is possibly something going wrong with the memory management > of LC 9. > > I had, especially when developing or using widgets, several > strange effects. For example changed scripts worked not before > saving 2-3 times and closing the script editor. > Sometimes also closing and removing a stack from memory and reopening > didn't work. > > But everything ALWAYS worked as expected when relaunching LC 9. > Or when doing the same thing in LC 8! > > I started to denote such strange scenarios for a report. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From selander at tkf.att.ne.jp Sun Feb 3 01:55:27 2019 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sun, 03 Feb 2019 15:55:27 +0900 Subject: Images and Players in "background" groups Message-ID: <5C56905F.4060705@tkf.att.ne.jp> For the first time ever, probably, I have a little project that needs the HC "stack of cards" structure. Have a few buttons and fields in a group, acting a a background and it all works as expected. However, I also have an image and a play in the group/background. Oddly, when I set one card's image via "set the filename of image to URL...." it puts that image or video on ALL the cards. So the bg flds can all have different values per card, but the images and players cannot! Is this right?? I have searched the dictionary and google to no avail.... Tim Selander Tokyo From bogdanoff at me.com Sun Feb 3 02:42:56 2019 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 2 Feb 2019 23:42:56 -0800 Subject: Images and Players in "background" groups In-Reply-To: <5C56905F.4060705@tkf.att.ne.jp> References: <5C56905F.4060705@tkf.att.ne.jp> Message-ID: <1FF9BEF0-5B1E-4FFC-A75D-FA43C37FDEB0@me.com> Hi Tim, That would be correct. To have a different image on every card, you could: 1. Have an image control that?s not part of the group on every card or 2. Some other method of dynamically loading the image data into an image that is part of the group, such as on openCard: put URL tURL into image ?My Image" of this card where tURL is a path to a local or remote file. Player controls would use similar methods as above. Peter Bogdanoff > On Feb 2, 2019, at 10:55 PM, Tim Selander via use-livecode wrote: > > For the first time ever, probably, I have a little project that needs the HC "stack of cards" structure. > > Have a few buttons and fields in a group, acting a a background and it all works as expected. > > However, I also have an image and a play in the group/background. Oddly, when I set one card's image via "set the filename of image to URL...." it puts that image or video on ALL the cards. > > So the bg flds can all have different values per card, but the images and players cannot! > > Is this right?? I have searched the dictionary and google to no avail.... > > Tim Selander > Tokyo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Sun Feb 3 02:56:08 2019 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 2 Feb 2019 23:56:08 -0800 Subject: Images and Players in "background" groups In-Reply-To: <1FF9BEF0-5B1E-4FFC-A75D-FA43C37FDEB0@me.com> References: <5C56905F.4060705@tkf.att.ne.jp> <1FF9BEF0-5B1E-4FFC-A75D-FA43C37FDEB0@me.com> Message-ID: <3EB3884F-F9C4-42B2-88C8-4123C93E48BC@me.com> Images and players don?t have a ?shared? property to turn on and off such as a field?s sharedText or a button?s sharedHilite property. They?re always shared. Peter > On Feb 2, 2019, at 11:42 PM, Peter Bogdanoff via use-livecode wrote: > > Hi Tim, > > That would be correct. To have a different image on every card, you could: > > 1. Have an image control that?s not part of the group on every card > or > 2. Some other method of dynamically loading the image data into an image that is part of the group, such as on openCard: > > put URL tURL into image ?My Image" of this card > > where tURL is a path to a local or remote file. > > Player controls would use similar methods as above. > > Peter Bogdanoff > > >> On Feb 2, 2019, at 10:55 PM, Tim Selander via use-livecode wrote: >> >> For the first time ever, probably, I have a little project that needs the HC "stack of cards" structure. >> >> Have a few buttons and fields in a group, acting a a background and it all works as expected. >> >> However, I also have an image and a play in the group/background. Oddly, when I set one card's image via "set the filename of image to URL...." it puts that image or video on ALL the cards. >> >> So the bg flds can all have different values per card, but the images and players cannot! >> >> Is this right?? I have searched the dictionary and google to no avail.... >> >> Tim Selander >> Tokyo >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From selander at tkf.att.ne.jp Sun Feb 3 07:42:19 2019 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sun, 03 Feb 2019 21:42:19 +0900 Subject: Images and Players in "background" groups In-Reply-To: <1FF9BEF0-5B1E-4FFC-A75D-FA43C37FDEB0@me.com> References: <5C56905F.4060705@tkf.att.ne.jp> <1FF9BEF0-5B1E-4FFC-A75D-FA43C37FDEB0@me.com> Message-ID: <5C56E1AB.1020806@tkf.att.ne.jp> Hi Peter, Thanks for the info. It took a little playing around, but I now have each card loading up properly with it's association image or video file. Thanks! Tim Selander Tokyo On 2019.02.03 16:42, Peter Bogdanoff via use-livecode wrote: > Hi Tim, > > That would be correct. To have a different image on every card, you could: > > 1. Have an image control that?s not part of the group on every card > or > 2. Some other method of dynamically loading the image data into an image that is part of the group, such as on openCard: > > put URL tURL into image ?My Image" of this card > > where tURL is a path to a local or remote file. > > Player controls would use similar methods as above. > > Peter Bogdanoff > > >> On Feb 2, 2019, at 10:55 PM, Tim Selander via use-livecode wrote: >> >> For the first time ever, probably, I have a little project that needs the HC "stack of cards" structure. >> >> Have a few buttons and fields in a group, acting a a background and it all works as expected. >> >> However, I also have an image and a play in the group/background. Oddly, when I set one card's image via "set the filename of image to URL...." it puts that image or video on ALL the cards. >> >> So the bg flds can all have different values per card, but the images and players cannot! >> >> Is this right?? I have searched the dictionary and google to no avail.... >> >> Tim Selander >> Tokyo >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Sun Feb 3 11:50:45 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 3 Feb 2019 16:50:45 +0000 Subject: Setting behaviors in 9.0.2 In-Reply-To: <168b0399bc0.2783.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9a3744c8-7be4-9a25-cf8a-d652c5056924@hyperactivesw.com> <1744E4EF-F2C1-4E27-849B-D583058B08FF@m-r-d.de> <168b0399bc0.2783.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5B168453-90DD-45EE-8609-8DAF956A5FC7@hindu.org> This happens to me "regularly" but I have no recipe. Once a every few days or so. You mentioned it to me months ago, something about IDE "losing messages" Sometimes, "something" (some action in the IDE) cause the IDE to lose "parts" of the message hierarchy. Other things work. It can be anything, some thing in Project Inspector. Open gradients, then you can dismiss it...etc. Save often! Commit git hub changes frequently. Fortunately I never have a corrupt stack. I quit the IDE every day, sometimes 3 times a day now. BR ?On 2/2/19, 12:00 PM, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: Thanks. Something apparently went awry, seems okay now. The script editor was also behaving strangely and is now better. Odd. I'm glad I asked here before making a bug report. From jacque at hyperactivesw.com Sun Feb 3 12:52:58 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Feb 2019 11:52:58 -0600 Subject: Setting behaviors in 9.0.2 In-Reply-To: <5B168453-90DD-45EE-8609-8DAF956A5FC7@hindu.org> References: <9a3744c8-7be4-9a25-cf8a-d652c5056924@hyperactivesw.com> <1744E4EF-F2C1-4E27-849B-D583058B08FF@m-r-d.de> <168b0399bc0.2783.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B168453-90DD-45EE-8609-8DAF956A5FC7@hindu.org> Message-ID: <168b47dec90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I don't see any consistency either, so there's no recipe. I may go back to LC 9.0.1 for a while, I have too much to do. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 3, 2019 10:52:39 AM Sannyasin Brahmanathaswami via use-livecode wrote: > This happens to me "regularly" but I have no recipe. Once a every few days > or so. You mentioned it to me months ago, something about IDE "losing > messages" > > Sometimes, "something" (some action in the IDE) cause the IDE to lose > "parts" of the message hierarchy. Other things work. It can be anything, > some thing in Project Inspector. Open gradients, then you can dismiss it...etc. > > Save often! Commit git hub changes frequently. Fortunately I never have a > corrupt stack. > > I quit the IDE every day, sometimes 3 times a day now. > > BR > > > ?On 2/2/19, 12:00 PM, "use-livecode on behalf of J. Landman Gay via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Thanks. Something apparently went awry, seems okay now. The script editor > was also behaving strangely and is now better. Odd. I'm glad I asked here > before making a bug report. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Feb 3 14:21:53 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 3 Feb 2019 11:21:53 -0800 Subject: Setting behaviors in 9.0.2 In-Reply-To: <9a3744c8-7be4-9a25-cf8a-d652c5056924@hyperactivesw.com> References: <9a3744c8-7be4-9a25-cf8a-d652c5056924@hyperactivesw.com> Message-ID: J. Landman Gay wrote: > Is anyone else unable to set a behavior on an object in LC 9.0.2? > Neither script, nor message box, nor property inspector will do it for > me with the possible exception of a button on the same card. I'm not > using script-only stacks, just buttons which are sometimes in another > stack in use. > > This is such a basic requirement that I'm wondering if it's just me. The IDE makes extensive use of dynamically-assigned behaviors, so about the only thing that could be said with confidence on this is that if the IDE is running the engine's mechanism for behavior assignment appears to be working. Beyond that, I got nothin' for ya' at the moment. HH's suggestion about memory may be worth exploring with a reboot, but I'm grasping at straws at this point. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From tom at makeshyft.com Sun Feb 3 21:33:27 2019 From: tom at makeshyft.com (Tom Glod) Date: Sun, 3 Feb 2019 21:33:27 -0500 Subject: Decrypt error message? Message-ID: Hi folks, I have just discovered a bug in Livecode where the SSL Library does not return a normal error message" like SSL: bad decrypt instead it returns unreadable binary garbage...... when in fact, the key and salt were wrong and the error message should have been "bad decrypt" I don't know how to trigger it. but i know for a fact that the key and salt were wrong. i build a quick workaround for when this occurs. but its weird and a little worrisome... has anyone else had inconsistent error messages with the ssl library? From jacque at hyperactivesw.com Mon Feb 4 01:27:11 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 4 Feb 2019 00:27:11 -0600 Subject: Decrypt error message? In-Reply-To: References: Message-ID: <67e2e9b8-5cb1-81e2-c78c-67e140bae71c@hyperactivesw.com> On 2/3/19 8:33 PM, Tom Glod via use-livecode wrote: > Hi folks, I have just discovered a bug in Livecode where the SSL Library > does not return a normal error message" like SSL: bad decrypt > > instead > > it returns unreadable binary garbage...... when in fact, the key and salt > were wrong and the error message should have been "bad decrypt" > > I don't know how to trigger it. but i know for a fact that the key and salt > were wrong. > > i build a quick workaround for when this occurs. > > but its weird and a little worrisome... has anyone else had inconsistent > error messages with the ssl library? Have you tried restarting LC? Based on my experiences yesterday, it can't hurt. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Feb 4 01:34:47 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 4 Feb 2019 00:34:47 -0600 Subject: Setting behaviors in 9.0.2 In-Reply-To: <168b47dec90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <9a3744c8-7be4-9a25-cf8a-d652c5056924@hyperactivesw.com> <1744E4EF-F2C1-4E27-849B-D583058B08FF@m-r-d.de> <168b0399bc0.2783.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5B168453-90DD-45EE-8609-8DAF956A5FC7@hindu.org> <168b47dec90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I just found my unsettable behaviors. The IDE set them as custom properties named "behavior" with the value being the long id of the behavior button. Back in 9.0.1 things are working better, at least for now. I deleted the superfluous "behavior" custom props and the actual behaviors still work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Feb 4 02:01:17 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 3 Feb 2019 23:01:17 -0800 Subject: Setting behaviors in 9.0.2 In-Reply-To: References: Message-ID: J. Landman Gay wrote: > I just found my unsettable behaviors. The IDE set them as custom > properties named "behavior" with the value being the long id of the > behavior button. Was that in a custom property set, or the default set. If the latter, disturbing. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From panos.merakos at livecode.com Mon Feb 4 10:21:46 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 4 Feb 2019 17:21:46 +0200 Subject: [ANN] This Week in LiveCode 166 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #166 here: https://goo.gl/eRPcKf This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From bobsneidar at iotecdigital.com Mon Feb 4 11:08:11 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 4 Feb 2019 16:08:11 +0000 Subject: Strip XMP Packet from the end of binary image data In-Reply-To: References: Message-ID: <871D5596-618E-49EB-AB03-48385C8FEBAD@iotecdigital.com> PDF, much like McDonalds is never going to go away. Bob S > On Feb 1, 2019, at 14:38 , Richard Gaskin via use-livecode wrote: > > Stephen Barncard wrote: > > > On Fri, Feb 1, 2019 at 12:19 Richard Gaskin wrote: > >> > >> Reason #233 why PDF must die. ;) > > > > And replaced with? > > Anything useful on modern devices. > > You've never read my rants here on this? Today I'll let others make the argument for me: > > > > > > > > > HTML is a natural fit, or its packaged variant, ePub. > > PDF was a fine thing in its day, but that day was 20 years ago. The world is no longer 8.5" by 11". > > -- > Richard Gaskin From bobsneidar at iotecdigital.com Mon Feb 4 11:12:18 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 4 Feb 2019 16:12:18 +0000 Subject: Decrypt error message? In-Reply-To: References: Message-ID: Nothing in the result? Bob S > On Feb 3, 2019, at 18:33 , Tom Glod via use-livecode wrote: > > Hi folks, I have just discovered a bug in Livecode where the SSL Library > does not return a normal error message" like SSL: bad decrypt > > instead > > it returns unreadable binary garbage...... when in fact, the key and salt > were wrong and the error message should have been "bad decrypt" > > I don't know how to trigger it. but i know for a fact that the key and salt > were wrong. > > i build a quick workaround for when this occurs. > > but its weird and a little worrisome... has anyone else had inconsistent > error messages with the ssl library? From bobsneidar at iotecdigital.com Mon Feb 4 11:13:24 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 4 Feb 2019 16:13:24 +0000 Subject: Setting behaviors in 9.0.2 In-Reply-To: <9a3744c8-7be4-9a25-cf8a-d652c5056924@hyperactivesw.com> References: <9a3744c8-7be4-9a25-cf8a-d652c5056924@hyperactivesw.com> Message-ID: That's why I always report here first. Bob S > On Feb 2, 2019, at 11:01 , J. Landman Gay via use-livecode wrote: > > Is anyone else unable to set a behavior on an object in LC 9.0.2? Neither script, nor message box, nor property inspector will do it for me with the possible exception of a button on the same card. I'm not using script-only stacks, just buttons which are sometimes in another stack in use. > > This is such a basic requirement that I'm wondering if it's just me. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From brian at milby7.com Mon Feb 4 11:21:25 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 4 Feb 2019 11:21:25 -0500 Subject: Decrypt error message? In-Reply-To: References: Message-ID: <5771a852-f31e-4983-84fd-9f33344c8388@Spark> This is not a bug. ?The SSL library will only complain if it requires a parameter with a certain bit length and you provide an invalid value. ?As long as your key/password/IV/salt are acceptable then you will get the result of the decrypt. ?One way (not necessarily secure) is the pretend your salt to the encrypted message. ?When you decrypt you verify that it starts with your salt. ?If not, you know something went wrong. ?Including a hash is better. Thanks, Brian On Feb 4, 2019, 11:12 AM -0500, Bob Sneidar via use-livecode , wrote: > Nothing in the result? > > Bob S > > > > On Feb 3, 2019, at 18:33 , Tom Glod via use-livecode wrote: > > > > Hi folks, I have just discovered a bug in Livecode where the SSL Library > > does not return a normal error message" like SSL: bad decrypt > > > > instead > > > > it returns unreadable binary garbage...... when in fact, the key and salt > > were wrong and the error message should have been "bad decrypt" > > > > I don't know how to trigger it. but i know for a fact that the key and salt > > were wrong. > > > > i build a quick workaround for when this occurs. > > > > but its weird and a little worrisome... has anyone else had inconsistent > > error messages with the ssl library? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Mon Feb 4 12:05:12 2019 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 4 Feb 2019 17:05:12 -0000 Subject: Strip XMP Packet from the end of binary image data In-Reply-To: <2B777E85-EA76-48FE-9B9C-EEADF3EE51D7@iotecdigital.com> References: <2B777E85-EA76-48FE-9B9C-EEADF3EE51D7@iotecdigital.com> Message-ID: <979f43cb-0d09-fe76-6a89-4c63f001f9d4@cogapp.com> Hey don't knock the invisible characters in PDFs - that's a feature. I just recently wrote something in LiveCode precisely to generate PDFs containing invisible (but search-able, select=able, copy-able) text. On 01/02/2019 16:36, Bob Sneidar via use-livecode wrote: > Adobe does a LOT of crap when copying to the clipboard. Copy text from an OCR'd PDF sometime and paste it into a Livecode field. You may find the number of characters is more than are visible. This is what inspired me to write my cleanAscii function which filters out all chars before 32 and after 126. > > Bob S > > >> On Jan 31, 2019, at 14:23 , Tom Glod via use-livecode wrote: >> >> Scratch taht, its the modified date timestamp that changes. >> >> I will try using regex to get the ID and check it to see if the clipboard >> image really changed or not. >> >> should be a safer and quicker workaround...I think all adobe software does >> this when copying to clipboard. From benr_mc at cogapp.com Mon Feb 4 12:07:12 2019 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 4 Feb 2019 17:07:12 -0000 Subject: Strip XMP Packet from the end of binary image data In-Reply-To: References: Message-ID: On 01/02/2019 22:43, Richard Gaskin via use-livecode wrote: > Tom Glod wrote: > > > The problem for me was that Fireworks was updating the clipboard data > > every second ..effectively changing the content of the clipboard even > > if it didn't change......The image was not changing , but the meta > > data was.? so I had a runaway "Clipboard changing message" ... > > As one would expect.? Any word from Adobe on why they're hammering the user's > clipboard for no apparent reason? I think it's like the scorpion in Aesop's fable (http://www.aesopfables.com/cgi/aesop1.cgi?4&TheScorpionandtheFrog) - Adobe can't help themselves, it's just in their nature. From tom at makeshyft.com Mon Feb 4 13:13:45 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 4 Feb 2019 13:13:45 -0500 Subject: Decrypt error message? In-Reply-To: <5771a852-f31e-4983-84fd-9f33344c8388@Spark> References: <5771a852-f31e-4983-84fd-9f33344c8388@Spark> Message-ID: Just to clarify My (local) application uses a salt and pepper technique to add cycles to the decrypt. The pepper (a-z) is added to the salt the first time the account is made. Afterward, when I try to log into the account using the correct password, my application has to cycle through the peppers to find the right combo for a correct decrypt. I 'almost always' get a "bad decrypt" error message when just the pepper is wrong.....except for the odd time that its gibberish. When the password, salt and pepper is right, the decryption works and the right binary data is returned. Because I know what I am expecting as decrypted data, its easy to check if the decrypt really worked or not. But until now I was relying on an accurate error message to tell if the decrypt work or not....which I guess I cannot do. I was wondering why I usually get a normal ssl error message? and only occasionally gibberish? There doesn't seem to be any pattern to it. On Mon, Feb 4, 2019 at 11:30 AM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > This is not a bug. The SSL library will only complain if it requires a > parameter with a certain bit length and you provide an invalid value. As > long as your key/password/IV/salt are acceptable then you will get the > result of the decrypt. One way (not necessarily secure) is the pretend > your salt to the encrypted message. When you decrypt you verify that it > starts with your salt. If not, you know something went wrong. Including a > hash is better. > > Thanks, > Brian > On Feb 4, 2019, 11:12 AM -0500, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Nothing in the result? > > > > Bob S > > > > > > > On Feb 3, 2019, at 18:33 , Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > Hi folks, I have just discovered a bug in Livecode where the SSL > Library > > > does not return a normal error message" like SSL: bad decrypt > > > > > > instead > > > > > > it returns unreadable binary garbage...... when in fact, the key and > salt > > > were wrong and the error message should have been "bad decrypt" > > > > > > I don't know how to trigger it. but i know for a fact that the key and > salt > > > were wrong. > > > > > > i build a quick workaround for when this occurs. > > > > > > but its weird and a little worrisome... has anyone else had > inconsistent > > > error messages with the ssl library? > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Feb 4 13:19:29 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 4 Feb 2019 13:19:29 -0500 Subject: Decrypt error message? In-Reply-To: References: <5771a852-f31e-4983-84fd-9f33344c8388@Spark> Message-ID: thank you all for chiming in. On Mon, Feb 4, 2019 at 1:13 PM Tom Glod wrote: > Just to clarify > > My (local) application uses a salt and pepper technique to add cycles to > the decrypt. The pepper (a-z) is added to the salt the first time the > account is made. > > Afterward, when I try to log into the account using the correct password, > my application has to cycle through the peppers to find the right combo for > a correct decrypt. > > I 'almost always' get a "bad decrypt" error message when just the pepper > is wrong.....except for the odd time that its gibberish. > > When the password, salt and pepper is right, the decryption works and the > right binary data is returned. > > Because I know what I am expecting as decrypted data, its easy to check if > the decrypt really worked or not. > > But until now I was relying on an accurate error message to tell if the > decrypt work or not....which I guess I cannot do. > > I was wondering why I usually get a normal ssl error message? and only > occasionally gibberish? There doesn't seem to be any pattern to it. > > On Mon, Feb 4, 2019 at 11:30 AM Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> This is not a bug. The SSL library will only complain if it requires a >> parameter with a certain bit length and you provide an invalid value. As >> long as your key/password/IV/salt are acceptable then you will get the >> result of the decrypt. One way (not necessarily secure) is the pretend >> your salt to the encrypted message. When you decrypt you verify that it >> starts with your salt. If not, you know something went wrong. Including a >> hash is better. >> >> Thanks, >> Brian >> On Feb 4, 2019, 11:12 AM -0500, Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com>, wrote: >> > Nothing in the result? >> > >> > Bob S >> > >> > >> > > On Feb 3, 2019, at 18:33 , Tom Glod via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > > >> > > Hi folks, I have just discovered a bug in Livecode where the SSL >> Library >> > > does not return a normal error message" like SSL: bad decrypt >> > > >> > > instead >> > > >> > > it returns unreadable binary garbage...... when in fact, the key and >> salt >> > > were wrong and the error message should have been "bad decrypt" >> > > >> > > I don't know how to trigger it. but i know for a fact that the key >> and salt >> > > were wrong. >> > > >> > > i build a quick workaround for when this occurs. >> > > >> > > but its weird and a little worrisome... has anyone else had >> inconsistent >> > > error messages with the ssl library? >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Feb 4 14:42:55 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 4 Feb 2019 19:42:55 +0000 Subject: Decrypt error message? In-Reply-To: References: <5771a852-f31e-4983-84fd-9f33344c8388@Spark> Message-ID: When I attempt to decrypt a salted hash and it fails, "it" contains empty and the result contains "(SSL error: bad decrypt)", otherwise it contains some value and the result is empty. The only thing I can think of is that at random times even though the pepper is invalid, the decrypt function succeeds! That would suck, but I have yet to see it myself. Bob S > On Feb 4, 2019, at 10:13 , Tom Glod via use-livecode wrote: > > Just to clarify > > My (local) application uses a salt and pepper technique to add cycles to > the decrypt. The pepper (a-z) is added to the salt the first time the > account is made. > > Afterward, when I try to log into the account using the correct password, > my application has to cycle through the peppers to find the right combo for > a correct decrypt. > > I 'almost always' get a "bad decrypt" error message when just the pepper is > wrong.....except for the odd time that its gibberish. > > When the password, salt and pepper is right, the decryption works and the > right binary data is returned. > > Because I know what I am expecting as decrypted data, its easy to check if > the decrypt really worked or not. > > But until now I was relying on an accurate error message to tell if the > decrypt work or not....which I guess I cannot do. > > I was wondering why I usually get a normal ssl error message? and only > occasionally gibberish? There doesn't seem to be any pattern to it. From jacque at hyperactivesw.com Mon Feb 4 14:48:54 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 4 Feb 2019 13:48:54 -0600 Subject: Setting behaviors in 9.0.2 In-Reply-To: References: Message-ID: <63804bd2-9445-2934-0bd8-f6b17b58b966@hyperactivesw.com> On 2/4/19 1:01 AM, Richard Gaskin via use-livecode wrote: > J. Landman Gay wrote: > > > I just found my unsettable behaviors. The IDE set them as custom > > properties named "behavior" with the value being the long id of the > > behavior button. > > Was that in a custom property set, or the default set. > > If the latter, disturbing. > It was the default set. But I just tested it again with a clean re-launch and 9.0.2 worked correctly. The behavior was set as expected. Back when this was happening the script editor went wonky too. Trying to navigate through script text with the arrow keys occasionally resulted in page navigation instead, where a card obviously not meant to be seen was displayed. There was other weird stuff too that I can't recall, but if any of that was due to implementation of IDE behaviors then it kind of makes sense. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Mon Feb 4 15:02:18 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 4 Feb 2019 15:02:18 -0500 Subject: Decrypt error message? In-Reply-To: References: <5771a852-f31e-4983-84fd-9f33344c8388@Spark> Message-ID: Ya, Its a head scratcher. I can't really spend to much time investigating it .... thankfully I can deal with it easily once i found it ......in this case. Its been driving me crazy, because once in a while in testing i would get an account that was created seemingly correct but would not open. I'm so happy to have resolved 2 of 2 major and random issues that have been plaguing my software for months. The other being the Adobe meta data being updated in the clipboard. This code is going on github soon so I suspect I will be revisiting this bug I think I will take out my workaround and try to reproduce it one more time and then capture the data so can submit a report. Thanks everyone, full speed ahead. On Mon, Feb 4, 2019 at 2:43 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > When I attempt to decrypt a salted hash and it fails, "it" contains empty > and the result contains "(SSL error: bad decrypt)", otherwise it contains > some value and the result is empty. The only thing I can think of is that > at random times even though the pepper is invalid, the decrypt function > succeeds! That would suck, but I have yet to see it myself. > > Bob S > > > > On Feb 4, 2019, at 10:13 , Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Just to clarify > > > > My (local) application uses a salt and pepper technique to add cycles to > > the decrypt. The pepper (a-z) is added to the salt the first time the > > account is made. > > > > Afterward, when I try to log into the account using the correct password, > > my application has to cycle through the peppers to find the right combo > for > > a correct decrypt. > > > > I 'almost always' get a "bad decrypt" error message when just the pepper > is > > wrong.....except for the odd time that its gibberish. > > > > When the password, salt and pepper is right, the decryption works and the > > right binary data is returned. > > > > Because I know what I am expecting as decrypted data, its easy to check > if > > the decrypt really worked or not. > > > > But until now I was relying on an accurate error message to tell if the > > decrypt work or not....which I guess I cannot do. > > > > I was wondering why I usually get a normal ssl error message? and only > > occasionally gibberish? There doesn't seem to be any pattern to it. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brian at milby7.com Mon Feb 4 15:16:52 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 4 Feb 2019 14:16:52 -0600 Subject: Decrypt error message? In-Reply-To: References: <5771a852-f31e-4983-84fd-9f33344c8388@Spark> Message-ID: And I?ll say my testing is now producing the same errors. ?So a recipe that we can test to see it will be helpful. Thanks, Brian On Feb 4, 2019, 2:02 PM -0600, Tom Glod via use-livecode , wrote: > Ya, Its a head scratcher. I can't really spend to much time > investigating it .... thankfully I can deal with it easily once i found it > ......in this case. > > Its been driving me crazy, because once in a while in testing i would get > an account that was created seemingly correct but would not open. > > I'm so happy to have resolved 2 of 2 major and random issues that have been > plaguing my software for months. The other being the Adobe meta data being > updated in the clipboard. > > This code is going on github soon so I suspect I will be revisiting this > bug I think I will take out my workaround and try to reproduce it one more > time and then capture the data so can submit a report. > > Thanks everyone, full speed ahead. > > > > > > > > > > > On Mon, Feb 4, 2019 at 2:43 PM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > When I attempt to decrypt a salted hash and it fails, "it" contains empty > > and the result contains "(SSL error: bad decrypt)", otherwise it contains > > some value and the result is empty. The only thing I can think of is that > > at random times even though the pepper is invalid, the decrypt function > > succeeds! That would suck, but I have yet to see it myself. > > > > Bob S > > > > > > > On Feb 4, 2019, at 10:13 , Tom Glod via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Just to clarify > > > > > > My (local) application uses a salt and pepper technique to add cycles to > > > the decrypt. The pepper (a-z) is added to the salt the first time the > > > account is made. > > > > > > Afterward, when I try to log into the account using the correct password, > > > my application has to cycle through the peppers to find the right combo > > for > > > a correct decrypt. > > > > > > I 'almost always' get a "bad decrypt" error message when just the pepper > > is > > > wrong.....except for the odd time that its gibberish. > > > > > > When the password, salt and pepper is right, the decryption works and the > > > right binary data is returned. > > > > > > Because I know what I am expecting as decrypted data, its easy to check > > if > > > the decrypt really worked or not. > > > > > > But until now I was relying on an accurate error message to tell if the > > > decrypt work or not....which I guess I cannot do. > > > > > > I was wondering why I usually get a normal ssl error message? and only > > > occasionally gibberish? There doesn't seem to be any pattern to it. > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Feb 4 16:38:27 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 4 Feb 2019 16:38:27 -0500 Subject: Decrypt error message? In-Reply-To: References: <5771a852-f31e-4983-84fd-9f33344c8388@Spark> Message-ID: yeah i'll put it in the issues section ....i don't think i'll get a full nights sleep until the reason for this is clear....so it will happen......sigh :) On Mon, Feb 4, 2019 at 3:18 PM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > And I?ll say my testing is now producing the same errors. So a recipe > that we can test to see it will be helpful. > > Thanks, > Brian > On Feb 4, 2019, 2:02 PM -0600, Tom Glod via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Ya, Its a head scratcher. I can't really spend to much time > > investigating it .... thankfully I can deal with it easily once i found > it > > ......in this case. > > > > Its been driving me crazy, because once in a while in testing i would get > > an account that was created seemingly correct but would not open. > > > > I'm so happy to have resolved 2 of 2 major and random issues that have > been > > plaguing my software for months. The other being the Adobe meta data > being > > updated in the clipboard. > > > > This code is going on github soon so I suspect I will be revisiting this > > bug I think I will take out my workaround and try to reproduce it one > more > > time and then capture the data so can submit a report. > > > > Thanks everyone, full speed ahead. > > > > > > > > > > > > > > > > > > > > > > On Mon, Feb 4, 2019 at 2:43 PM Bob Sneidar via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > When I attempt to decrypt a salted hash and it fails, "it" contains > empty > > > and the result contains "(SSL error: bad decrypt)", otherwise it > contains > > > some value and the result is empty. The only thing I can think of is > that > > > at random times even though the pepper is invalid, the decrypt function > > > succeeds! That would suck, but I have yet to see it myself. > > > > > > Bob S > > > > > > > > > > On Feb 4, 2019, at 10:13 , Tom Glod via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > Just to clarify > > > > > > > > My (local) application uses a salt and pepper technique to add > cycles to > > > > the decrypt. The pepper (a-z) is added to the salt the first time the > > > > account is made. > > > > > > > > Afterward, when I try to log into the account using the correct > password, > > > > my application has to cycle through the peppers to find the right > combo > > > for > > > > a correct decrypt. > > > > > > > > I 'almost always' get a "bad decrypt" error message when just the > pepper > > > is > > > > wrong.....except for the odd time that its gibberish. > > > > > > > > When the password, salt and pepper is right, the decryption works > and the > > > > right binary data is returned. > > > > > > > > Because I know what I am expecting as decrypted data, its easy to > check > > > if > > > > the decrypt really worked or not. > > > > > > > > But until now I was relying on an accurate error message to tell if > the > > > > decrypt work or not....which I guess I cannot do. > > > > > > > > I was wondering why I usually get a normal ssl error message? and > only > > > > occasionally gibberish? There doesn't seem to be any pattern to it. > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 4 16:45:07 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Feb 2019 13:45:07 -0800 Subject: Setting behaviors in 9.0.2 In-Reply-To: <63804bd2-9445-2934-0bd8-f6b17b58b966@hyperactivesw.com> References: <63804bd2-9445-2934-0bd8-f6b17b58b966@hyperactivesw.com> Message-ID: <080b9298-a8b6-54d4-dd37-26373ca87247@fourthworld.com> J. Landman Gay wrote: > On 2/4/19 1:01 AM, Richard Gaskin via use-livecode wrote: >> J. Landman Gay wrote: >> >> > I just found my unsettable behaviors. The IDE set them as custom >> > properties named "behavior" with the value being the long id of >> > the behavior button. >> >> Was that in a custom property set, or the default set. >> >> If the latter, disturbing. > > It was the default set. But I just tested it again with a clean > re-launch and 9.0.2 worked correctly. The behavior was set as > expected. > > Back when this was happening the script editor went wonky too. Trying > to navigate through script text with the arrow keys occasionally > resulted in page navigation instead, where a card obviously not meant > to be seen was displayed. > > There was other weird stuff too that I can't recall, but if any of > that was due to implementation of IDE behaviors then it kind of makes > sense. I'm hoping it's just an IDE issue, but unless I misunderstand what you describe shouldn't be possible without a serious issue in the engine: Imagine setting the rect of an object, or its text, or anything else, and having those become custom props rather than setting the built-in props. As part of a non-default property set, names of built-in object properties should be acceptable. But in the default property set, the results could range from confusing to disastrous, depending on the context. Indeed, the engine should never allow it, should it? If you stumble across a recipe please pass it along. This one is murky, and concerning.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Mon Feb 4 16:52:14 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 4 Feb 2019 21:52:14 +0000 Subject: Decrypt error message? In-Reply-To: References: <5771a852-f31e-4983-84fd-9f33344c8388@Spark> Message-ID: This has my curiosity piqued. How do you use the pepper? Do you simply append/prepend the pepper onto the password? Bob S From tom at makeshyft.com Mon Feb 4 18:38:59 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 4 Feb 2019 18:38:59 -0500 Subject: Decrypt error message? In-Reply-To: References: <5771a852-f31e-4983-84fd-9f33344c8388@Spark> Message-ID: Hi Bob, The code goes something like this the_password = user password string decrypt_key = MaximizePassword(the_password) salt = 512hash(MaximizePassword(the_password) & pepper character) The password string runs through a "MaximizePassword" function that maximizes the password length even if the user has a 4 character password. Righard G once said to me here something I took to heart...... to defeat a hacker, all you can do is add more cycles. Hence the use of a pepper of alphabet & 0-9. Its now 37 times harder to brute force hack the password. theoretically. On Mon, Feb 4, 2019 at 4:52 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > This has my curiosity piqued. How do you use the pepper? Do you simply > append/prepend the pepper onto the password? > > 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 bdrunrev at gmail.com Tue Feb 5 00:34:10 2019 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 5 Feb 2019 05:34:10 +0000 Subject: Enhancement: transparently persist/retrieve large amounts of array data as JSON Message-ID: As far as I can see, providing this enhancement is (in essence) no more than the addition of one line to Livecode's compilation process. Details here: https://quality.livecode.com/show_bug.cgi?id=21821 Seems to me to be a huge gain for virtually no effort. Array data could be stored and indexed outside of a stack. Regards Bernard From toolbook at kestner.de Tue Feb 5 05:21:44 2019 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 5 Feb 2019 11:21:44 +0100 Subject: weird video screenshot problem Message-ID: <000801d4bd3c$9861ca20$c9255e60$@kestner.de> Hello, I am experiencing a very weird problem, taking a screenshot from a video on Windows. Perhaps anybody has an idea where to look for? I have two programs, where I am playing the same mp4 videos. The user can make screenshots from the paused video and store them as JPGs/PNGs. If the user has the windows display settings text size at 100%, everything works fine in both programs. When setting the windows display text size to 125% or above, the quality of the screenshot in one of the both programs gets almost unusable. The image is corrupted by many bad pixels (red, black and lost pixels). The other program still shows a fine screenshot. My first idea was, that there must be a difference in the build of the standalones, so I tested the two stacks in the same LC 9.0.2 (and down to LC 8) IDE with the same result. I compared the two stacks and didn't found a relevant difference in displaying the video and taking the screenshot. Both codes are almost the same here. The relevant code looks like: set the alwaysBuffer of player "VideoPlayer" to false start player "VideoPlayer" stop player "VideoPlayer" export snapshot from rect (globalLoc(topLeft of player "VideoPlayer") , globalLoc(bottomRight of player "VideoPlayer")) to gScreenshot as PNG put gScreenshot into img "ScreenshotImg" Here you can download an example of the two screenshots in a pdf: http://www.kestner.de/material/screenshot-test.pdf Has anybody ever seen such a phenomenon? Any idea what could cause this issue in combination with the text size of > 100%? And for what difference I could look for in my two programs what could cause this issue in one of them? Thanks for any ideas Tiemo From hh at hyperhh.de Tue Feb 5 08:04:02 2019 From: hh at hyperhh.de (hh) Date: Tue, 5 Feb 2019 14:04:02 +0100 Subject: weird video screenshot problem Message-ID: <504DD3DB-43D9-4C5B-B834-D7C5AB7B98B5@hyperhh.de> This has nothing to do with LiveCode, is only influenced by Windows and the user's graphics card. Did the user already try Settings > Advanced settings > Let windows try to fix apps so they're not blurry: ON ? You could also compare with system screenshots (win+print). From hh at hyperhh.de Tue Feb 5 08:07:53 2019 From: hh at hyperhh.de (hh) Date: Tue, 5 Feb 2019 14:07:53 +0100 Subject: weird video screenshot problem Message-ID: <06AC21D3-0CFC-4114-821C-51335F98BC8B@hyperhh.de> > This has nothing to do with LiveCode, is only influenced > by Windows and the user's graphics card. > > Did the user already try > Settings > Advanced settings > Let windows try to fix apps so > they're not blurry: ON ? > > You could also compare with system screenshots (win+print). Sorry, the menu line above should read: Settings > Display > Advanced scaling settings > Let windows try to fix apps so they're not blurry: ON From brian at milby7.com Tue Feb 5 10:43:01 2019 From: brian at milby7.com (Brian Milby) Date: Tue, 5 Feb 2019 10:43:01 -0500 Subject: Enhancement: transparently persist/retrieve large amounts of array data as JSON In-Reply-To: References: Message-ID: <5c5a9af1-05d5-4b31-8333-74d1ebc25c05@Spark> If you want to build from source, you can test it now. ?It is in the develop-9.0 branch. Thanks, Brian On Feb 5, 2019, 12:34 AM -0500, Bernard Devlin via use-livecode , wrote: > As far as I can see, providing this enhancement is (in essence) no more > than the addition of one line to Livecode's compilation process. > > Details here: > > https://quality.livecode.com/show_bug.cgi?id=21821 > > Seems to me to be a huge gain for virtually no effort. Array data could be > stored and indexed outside of a stack. > > Regards > Bernard > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Tue Feb 5 11:06:04 2019 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 5 Feb 2019 17:06:04 +0100 Subject: AW: weird video screenshot problem In-Reply-To: <06AC21D3-0CFC-4114-821C-51335F98BC8B@hyperhh.de> References: <06AC21D3-0CFC-4114-821C-51335F98BC8B@hyperhh.de> Message-ID: <003001d4bd6c$b3463f30$19d2bd90$@kestner.de> Hello Hermann, that was my first idea also, when a customer came up with this. But that doesn't explains, why on my computer two different LC stacks show different results - beside of there is any "hidden" LC option, which interferes with the video card drivers, which I have set differently in my two stacks and don't remember Thanks Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von hh via use-livecode Gesendet: Dienstag, 5. Februar 2019 14:08 An: use-livecode at lists.runrev.com Cc: hh Betreff: Re: weird video screenshot problem > This has nothing to do with LiveCode, is only influenced by Windows > and the user's graphics card. > > Did the user already try > Settings > Advanced settings > Let windows try to fix apps so they're > not blurry: ON ? > > You could also compare with system screenshots (win+print). Sorry, the menu line above should read: Settings > Display > Advanced scaling settings > Let windows try to fix apps so they're not blurry: ON _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Feb 5 11:47:14 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Feb 2019 10:47:14 -0600 Subject: AW: weird video screenshot problem In-Reply-To: <003001d4bd6c$b3463f30$19d2bd90$@kestner.de> References: <06AC21D3-0CFC-4114-821C-51335F98BC8B@hyperhh.de> <003001d4bd6c$b3463f30$19d2bd90$@kestner.de> Message-ID: <168be8e7650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Did you set the resizeQuality maybe? Or the jpegQuality? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 5, 2019 10:11:41 AM Tiemo Hollmann TB via use-livecode wrote: > Hello Hermann, > > that was my first idea also, when a customer came up with this. > But that doesn't explains, why on my computer two different LC stacks show > different results - beside of there is any "hidden" LC option, which > interferes with the video card drivers, which I have set differently in my > two stacks and don't remember > > Thanks > Tiemo > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von hh via use-livecode > Gesendet: Dienstag, 5. Februar 2019 14:08 > An: use-livecode at lists.runrev.com > Cc: hh > Betreff: Re: weird video screenshot problem > >> This has nothing to do with LiveCode, is only influenced by Windows >> and the user's graphics card. >> >> Did the user already try >> Settings > Advanced settings > Let windows try to fix apps so they're >> not blurry: ON ? >> >> You could also compare with system screenshots (win+print). > > Sorry, the menu line above should read: > > Settings > Display > Advanced scaling settings > Let windows try to fix apps > so they're not blurry: ON > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 5 11:54:58 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 05 Feb 2019 17:54:58 +0100 Subject: AW: weird video screenshot problem In-Reply-To: <003001d4bd6c$b3463f30$19d2bd90$@kestner.de> References: <06AC21D3-0CFC-4114-821C-51335F98BC8B@hyperhh.de> <003001d4bd6c$b3463f30$19d2bd90$@kestner.de> Message-ID: <37088643af3328b49d8b981fdfeb8c56@livecode.com> On 2019-02-05 17:06, Tiemo Hollmann TB via use-livecode wrote: > Hello Hermann, > > that was my first idea also, when a customer came up with this. > But that doesn't explains, why on my computer two different LC stacks > show > different results - beside of there is any "hidden" LC option, which > interferes with the video card drivers, which I have set differently in > my > two stacks and don't remember The only setting I can think of 'Enable Hi-DPI Scaling' in the standalone settings on the Windows platform tab. Failing that - have you tried running the two apps in a fresh/new/clean user account on your machine? (This is to discount that windows has, for some reason, set some piece of unknown state on a per-app-per-user basis which is causing the problem). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From paul at researchware.com Tue Feb 5 14:25:22 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 5 Feb 2019 14:25:22 -0500 Subject: How to tell if a field is "closed"? Message-ID: I have a problem for which I should probably redesign the user interface, but would rather not do so for many reasons. The problem is this: 1) There are some fields on a card. Each field has a "closeField" handler that checks the fields content for validity and presents appropriate error messages (via a standard 'answer" command). 2) There is an "Import" button that collects the field values and lots of other data and does a task in my application. 3) If a user edits a fields and enters an invalid value and does not click, tab, or press the return key to "close" the field and trigger the "closeField" message, but immediately clicks on the "import" button, my import script starts using the invalid value from the open field while at the same time a closeField message does get send and an answer dialog appears telling what is invalid about the entry. However, my import routine is off and and running with bad data. I need a way at the start of the import routine to ensure all fields are closed - i.e. that their closeField handlers have ensured the field values are correct. In a worst case, I could solve this by a custom property for each field - say valueOK - and set it to false on openField and true on closeFIeld or exitFIeld if the edited value valid. The import button would then check for any instances where the custom property 'vaueOK' is false, and if there are any, exit without running and with an appropriate message. However, I am wondering if anyone in the LiveCode brain trust has figured out a better way to handle something like this? From chipsm at themartinz.com Tue Feb 5 14:44:49 2019 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Tue, 5 Feb 2019 11:44:49 -0800 Subject: How to tell if a field is "closed"? In-Reply-To: References: Message-ID: <045f01d4bd8b$4148c960$c3da5c20$@themartinz.com> I think that you are on the right track. I would have a tPending variable with a true value that changes to false when the field is complete. "OnLeave" or "exitField". This variable would not allow any other task as long as the tPending variable is true. Sincerely, Clarence Martin Email: Chipsm at themartinz.com Cell: 626 696-5561 -----Original Message----- From: use-livecode On Behalf Of Paul Dupuis via use-livecode Sent: Tuesday, February 05, 2019 11:25 AM To: use-livecode at lists.runrev.com Cc: Paul Dupuis Subject: How to tell if a field is "closed"? I have a problem for which I should probably redesign the user interface, but would rather not do so for many reasons. The problem is this: 1) There are some fields on a card. Each field has a "closeField" handler that checks the fields content for validity and presents appropriate error messages (via a standard 'answer" command). 2) There is an "Import" button that collects the field values and lots of other data and does a task in my application. 3) If a user edits a fields and enters an invalid value and does not click, tab, or press the return key to "close" the field and trigger the "closeField" message, but immediately clicks on the "import" button, my import script starts using the invalid value from the open field while at the same time a closeField message does get send and an answer dialog appears telling what is invalid about the entry. However, my import routine is off and and running with bad data. I need a way at the start of the import routine to ensure all fields are closed - i.e. that their closeField handlers have ensured the field values are correct. In a worst case, I could solve this by a custom property for each field - say valueOK - and set it to false on openField and true on closeFIeld or exitFIeld if the edited value valid. The import button would then check for any instances where the custom property 'vaueOK' is false, and if there are any, exit without running and with an appropriate message. However, I am wondering if anyone in the LiveCode brain trust has figured out a better way to handle something like this? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Tue Feb 5 14:46:56 2019 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 5 Feb 2019 11:46:56 -0800 Subject: How to tell if a field is "closed"? In-Reply-To: References: Message-ID: I'm sure someone else will come up with something better, but at the least, don't set a custom property for each field; instead, in the openField set one custom property for the card or group that the fields are in, something like "isOpen", with the long id of the open field; then empty that property on exitField. That way when you import you just have to check that one property, and if it contains a long id, validate that field. On Tue, Feb 5, 2019 at 11:25 AM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > I have a problem for which I should probably redesign the user > interface, but would rather not do so for many reasons. > > The problem is this: > > 1) There are some fields on a card. Each field has a "closeField" > handler that checks the fields content for validity and presents > appropriate error messages (via a standard 'answer" command). > 2) There is an "Import" button that collects the field values and lots > of other data and does a task in my application. > 3) If a user edits a fields and enters an invalid value and does not > click, tab, or press the return key to "close" the field and trigger the > "closeField" message, but immediately clicks on the "import" button, my > import script starts using the invalid value from the open field while > at the same time a closeField message does get send and an answer dialog > appears telling what is invalid about the entry. > > However, my import routine is off and and running with bad data. I need > a way at the start of the import routine to ensure all fields are closed > - i.e. that their closeField handlers have ensured the field values are > correct. > > In a worst case, I could solve this by a custom property for each field > - say valueOK - and set it to false on openField and true on closeFIeld > or exitFIeld if the edited value valid. The import button would then > check for any instances where the custom property 'vaueOK' is false, and > if there are any, exit without running and with an appropriate message. > > However, I am wondering if anyone in the LiveCode brain trust has > figured out a better way to handle something like this? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at livecode.com Tue Feb 5 14:53:41 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 05 Feb 2019 20:53:41 +0100 Subject: How to tell if a field is =?UTF-8?Q?=22closed=22=3F?= In-Reply-To: References: Message-ID: On 2019-02-05 20:25, Paul Dupuis via use-livecode wrote: > I have a problem for which I should probably redesign the user > interface, but would rather not do so for many reasons. > > The problem is this: > > 1) There are some fields on a card. Each field has a "closeField" > handler that checks the fields content for validity and presents > appropriate error messages (via a standard 'answer" command). > 2) There is an "Import" button that collects the field values and lots > of other data and does a task in my application. > 3) If a user edits a fields and enters an invalid value and does not > click, tab, or press the return key to "close" the field and trigger > the "closeField" message, but immediately clicks on the "import" > button, my import script starts using the invalid value from the open > field while at the same time a closeField message does get send and an > answer dialog appears telling what is invalid about the entry. > > However, I am wondering if anyone in the LiveCode brain trust has > figured out a better way to handle something like this? How about this... In your closeField handlers, if the field fails validation do: if then answer "Field failed validation" with "Oops - I'll correct it" or "Cancel" if it is "Cancel" then exit to top end if focus on me exit closeField end if Then in your import button do: on mouseUp focus on nothing if the selectedField is not empty then exit mouseUp end if answer "Go!" end mouseUp This should mean the import step won't run until a closeField handler has successfully finished. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From dunbarx at aol.com Tue Feb 5 15:46:32 2019 From: dunbarx at aol.com (dunbarxx) Date: Tue, 5 Feb 2019 14:46:32 -0600 (CST) Subject: How to tell if a field is "closed"? In-Reply-To: References: Message-ID: <1549399592471-0.post@n4.nabble.com> I think you had it right when you mentioned that you should redesign the interface. There are many threads, especially on the forum, debating the merits of live validation of user input as opposed to anything else at all. I always, always recommend never letting invalid data be typed or pasted, whatever, into a field where such data will break something down the road. Rewrite. I bet is not too onerous a task. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From paul at researchware.com Tue Feb 5 16:40:00 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 5 Feb 2019 16:40:00 -0500 Subject: AW: Re: How to tell if a field is "closed"? In-Reply-To: References: Message-ID: <0179907b-f24a-2a27-e27b-21ad7805233c@researchware.com> Thank you everyone especially Geoff and Mark. I ended up making some UI improvements, using a flag, and the focus tip from Mark so now the "Import" button is only enable when all fields are closed AND validated! I should have thought of most of this myself, but some days you have to write code when your brain would rather not. From hershelhagadol at gmail.com Tue Feb 5 17:31:31 2019 From: hershelhagadol at gmail.com (Hershel F) Date: Tue, 5 Feb 2019 17:31:31 -0500 Subject: editing data grid column via scrip Message-ID: Hi everyone, i searched high and low for this without success. Question, i have a data grid (trying to to set up an invoice form), columns, costumer_id, product_id, company_name, product_name, price. etc. option menus in product name and company name, Now when i use the options to select a product name, (product_name col.) i want to put the product id into the product_id column by selecting the option menu btn, i tried many ways even when it went in it didn?t show up in the send "printkeys" to group ?data_grid_0? . all help would appreciate it. Thanks in advanced. Hershel F From hh at hyperhh.de Wed Feb 6 00:35:17 2019 From: hh at hyperhh.de (hh) Date: Wed, 6 Feb 2019 06:35:17 +0100 Subject: Widget TurnImage89_v100 Message-ID: <3B7BD034-7CD9-4383-9FC3-D383E3FA96C2@hyperhh.de> TurnImage is a pure LiveCode Builder widget, there is no essential script access and no use of JavaScript. The widgets lets you = turn an image horizontally or vertically with a 2D-perspective view, = switch from an image to a second image while turning or rotating. Thus it is essentially an animation tool for displaying LC objects. For example two groups of same size that make up the front and back of a turning "card". Just try the demo in the sample stack. The widget is fast enough to "turn" a video by grabbing frames from it. For this we need to use a browser widget to play the video (just play, nothing else) because the LC player object is essentially blocking. TurnImage is a "fat" widget that works with LC 8 and LC 9 identically and also in all LC editions, from community up to business. This sample stack includes buttons to install (or remove) the widget to/from both LC 8 and 9. And it containes several examples for scripting the widget's properties. Download it from "Sample Stacks" or http://livecodeshare.runrev.com/stack/929/ The widget is free for non-commercial use. For commercial use please give a (small) fee to the LC developer help fund. The source code (lcb-file) is not included. From capellan2000 at gmail.com Wed Feb 6 03:07:53 2019 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 6 Feb 2019 04:07:53 -0400 Subject: Widget TurnImage89_v100 In-Reply-To: References: Message-ID: Hi Hermann, > TurnImage is a pure LiveCode Builder widget, > there is no essential script access and > no use of JavaScript. This a wonderful example of your developer prowess and LCB power. :-) The rotating movie is a real surprise. Brings me memories from the Commodore Amiga days. Congratulations and thanks a lot for publishing this widget for all Livecode editions! Al From scott at elementarysoftware.com Wed Feb 6 03:18:50 2019 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Wed, 6 Feb 2019 00:18:50 -0800 Subject: Widget TurnImage89_v100 In-Reply-To: <3B7BD034-7CD9-4383-9FC3-D383E3FA96C2@hyperhh.de> References: <3B7BD034-7CD9-4383-9FC3-D383E3FA96C2@hyperhh.de> Message-ID: <18FC4B55-7D54-4B91-B05C-071BE5F506E0@elementarysoftware.com> Hermann, that is simply awesome! ? Scott Morrow > On Feb 5, 2019, at 9:35 PM, hh via use-livecode wrote: > > TurnImage is a pure LiveCode Builder widget, there is no essential > script access and no use of JavaScript. > > The widgets lets you > = turn an image horizontally or vertically with a 2D-perspective view, > = switch from an image to a second image while turning or rotating. > > Thus it is essentially an animation tool for displaying LC objects. > For example two groups of same size that make up the front and back of > a turning "card". Just try the demo in the sample stack. > > The widget is fast enough to "turn" a video by grabbing frames from it. > For this we need to use a browser widget to play the video (just play, > nothing else) because the LC player object is essentially blocking. > > TurnImage is a "fat" widget that works with LC 8 and LC 9 identically > and also in all LC editions, from community up to business. > > This sample stack includes buttons to install (or remove) the widget > to/from both LC 8 and 9. > And it containes several examples for scripting the widget's properties. > > Download it from "Sample Stacks" or > http://livecodeshare.runrev.com/stack/929/ > > The widget is free for non-commercial use. For commercial use please > give a (small) fee to the LC developer help fund. > > The source code (lcb-file) is not included. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Wed Feb 6 04:27:06 2019 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 6 Feb 2019 10:27:06 +0100 Subject: AW: AW: weird video screenshot problem In-Reply-To: <168be8e7650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <06AC21D3-0CFC-4114-821C-51335F98BC8B@hyperhh.de> <003001d4bd6c$b3463f30$19d2bd90$@kestner.de> <168be8e7650.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <000201d4bdfe$21303fa0$6390bee0$@kestner.de> Hi Jacque, no difference setting both quality parameters to max or not. Thanks Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von J. Landman Gay via use-livecode Gesendet: Dienstag, 5. Februar 2019 17:47 An: How to use LiveCode Cc: J. Landman Gay Betreff: Re: AW: weird video screenshot problem Did you set the resizeQuality maybe? Or the jpegQuality? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 5, 2019 10:11:41 AM Tiemo Hollmann TB via use-livecode wrote: > Hello Hermann, > > that was my first idea also, when a customer came up with this. > But that doesn't explains, why on my computer two different LC stacks > show different results - beside of there is any "hidden" LC option, > which interferes with the video card drivers, which I have set > differently in my two stacks and don't remember > > Thanks > Tiemo > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von hh via use-livecode > Gesendet: Dienstag, 5. Februar 2019 14:08 > An: use-livecode at lists.runrev.com > Cc: hh > Betreff: Re: weird video screenshot problem > >> This has nothing to do with LiveCode, is only influenced by Windows >> and the user's graphics card. >> >> Did the user already try >> Settings > Advanced settings > Let windows try to fix apps so they're >> not blurry: ON ? >> >> You could also compare with system screenshots (win+print). > > Sorry, the menu line above should read: > > Settings > Display > Advanced scaling settings > Let windows try to > fix apps so they're not blurry: ON > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Wed Feb 6 04:41:25 2019 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 6 Feb 2019 10:41:25 +0100 Subject: AW: AW: weird video screenshot problem In-Reply-To: <37088643af3328b49d8b981fdfeb8c56@livecode.com> References: <06AC21D3-0CFC-4114-821C-51335F98BC8B@hyperhh.de> <003001d4bd6c$b3463f30$19d2bd90$@kestner.de> <37088643af3328b49d8b981fdfeb8c56@livecode.com> Message-ID: <000301d4be00$218097a0$6481c6e0$@kestner.de> Hi Mark, I can reproduce it in the LC 9 IDE with the pure stack (no standalone) on my computer with the same LC 9 version. So neither "Enable Hi-DPI Scaling" or a relation between windows and an App setting can be taken into account. But I have made some more tests. The stack, where the screenshot gets pixeled is from 2017 (probably created with LC 8). The stack, with the nice screenshot is from 2009 (probably originally created with LC 2 or 4). Now I have put a "fresh" player object and a fresh image object (from my LC 9.0.2 pallette) onto this old stack and voila, the same corrupted screenshot appears. Do you see any relation to this? Could it be, that an old player object from LC 2 or 4 has a hidden option, which handles video data different, even if it is now used in an LC 9 environment? Thanks Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Mark Waddingham via use-livecode Gesendet: Dienstag, 5. Februar 2019 17:55 An: How to use LiveCode Cc: Mark Waddingham Betreff: Re: AW: weird video screenshot problem On 2019-02-05 17:06, Tiemo Hollmann TB via use-livecode wrote: > Hello Hermann, > > that was my first idea also, when a customer came up with this. > But that doesn't explains, why on my computer two different LC stacks > show different results - beside of there is any "hidden" LC option, > which interferes with the video card drivers, which I have set > differently in my two stacks and don't remember The only setting I can think of 'Enable Hi-DPI Scaling' in the standalone settings on the Windows platform tab. Failing that - have you tried running the two apps in a fresh/new/clean user account on your machine? (This is to discount that windows has, for some reason, set some piece of unknown state on a per-app-per-user basis which is causing the problem). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Wed Feb 6 05:22:04 2019 From: mark at livecode.com (Mark Waddingham) Date: Wed, 06 Feb 2019 11:22:04 +0100 Subject: AW: AW: weird video screenshot problem In-Reply-To: <000301d4be00$218097a0$6481c6e0$@kestner.de> References: <06AC21D3-0CFC-4114-821C-51335F98BC8B@hyperhh.de> <003001d4bd6c$b3463f30$19d2bd90$@kestner.de> <37088643af3328b49d8b981fdfeb8c56@livecode.com> <000301d4be00$218097a0$6481c6e0$@kestner.de> Message-ID: <0d69e5b731b70e38d7835a444b084674@livecode.com> On 2019-02-06 10:41, Tiemo Hollmann TB via use-livecode wrote: > Hi Mark, > > I can reproduce it in the LC 9 IDE with the pure stack (no standalone) > on my > computer with the same LC 9 version. So neither "Enable Hi-DPI Scaling" > or a > relation between windows and an App setting can be taken into account. > > But I have made some more tests. The stack, where the screenshot gets > pixeled is from 2017 (probably created with LC 8). The stack, with the > nice > screenshot is from 2009 (probably originally created with LC 2 or 4). > Now I > have put a "fresh" player object and a fresh image object (from my LC > 9.0.2 > pallette) onto this old stack and voila, the same corrupted screenshot > appears. > > Do you see any relation to this? Could it be, that an old player object > from > LC 2 or 4 has a hidden option, which handles video data different, even > if > it is now used in an LC 9 environment? As far as I can see there is no alternate codepaths in the engine for players created a long time ago, to ones created now - i.e. the code that runs is entirely based on what the properties of the player are, and there are no hidden properties. Perhaps dump 'the properties' of the well-behaved player and the badly-behaved player and see if there's a difference? Also, what happens if you copy the well-behaving player object from the older stack to the newer one? (Copy/pasting objects uses exactly the same code as is used to save/load objects in stackfiles, so exactly the same state should be preserved). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From harrison at all-auctions.com Wed Feb 6 11:25:25 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 6 Feb 2019 11:25:25 -0500 Subject: Widget TurnImage89_v100 In-Reply-To: <3B7BD034-7CD9-4383-9FC3-D383E3FA96C2@hyperhh.de> References: <3B7BD034-7CD9-4383-9FC3-D383E3FA96C2@hyperhh.de> Message-ID: <232F5A13-A434-42A0-9DBD-3597CCC3A354@all-auctions.com> Hi hh, A YouTube type video showing the effects, and some instructional examples of how to use the widget would be helpful. Thanks, Rick > On Feb 6, 2019, at 12:35 AM, hh via use-livecode wrote: > > TurnImage is a pure LiveCode Builder widget, there is no essential > script access and no use of JavaScript. > > The widgets lets you > = turn an image horizontally or vertically with a 2D-perspective view, > = switch from an image to a second image while turning or rotating. > > Thus it is essentially an animation tool for displaying LC objects. > For example two groups of same size that make up the front and back of > a turning "card". Just try the demo in the sample stack. > > The widget is fast enough to "turn" a video by grabbing frames from it. > For this we need to use a browser widget to play the video (just play, > nothing else) because the LC player object is essentially blocking. > > TurnImage is a "fat" widget that works with LC 8 and LC 9 identically > and also in all LC editions, from community up to business. > > This sample stack includes buttons to install (or remove) the widget > to/from both LC 8 and 9. > And it containes several examples for scripting the widget's properties. > > Download it from "Sample Stacks" or > http://livecodeshare.runrev.com/stack/929/ > > The widget is free for non-commercial use. For commercial use please > give a (small) fee to the LC developer help fund. > > The source code (lcb-file) is not included. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 6 11:55:34 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 6 Feb 2019 16:55:34 +0000 Subject: How to tell if a field is "closed"? In-Reply-To: References: Message-ID: <8F618C3E-A139-4857-BC66-85A0A20EBA86@iotecdigital.com> You beat me to it Mark! :-) Bob S > On Feb 5, 2019, at 11:53 , Mark Waddingham via use-livecode wrote: > > Then in your import button do: > > on mouseUp > focus on nothing From bobsneidar at iotecdigital.com Wed Feb 6 11:58:52 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 6 Feb 2019 16:58:52 +0000 Subject: How to tell if a field is "closed"? In-Reply-To: <8F618C3E-A139-4857-BC66-85A0A20EBA86@iotecdigital.com> References: <8F618C3E-A139-4857-BC66-85A0A20EBA86@iotecdigital.com> Message-ID: The problem with using closeField in this instance is that it only gets triggered when you exit the field AND changes have been made. That means you can trap once for the bad data, but if the user does not correct the bad data and clicks Import again, since the data did NOT change the second time, closeField will not trigger. The solution is to use exitField instead. That way simply refocusing on the errant field will trigger an exitField whenever it loses focus. Bob S > On Feb 6, 2019, at 08:55 , Bob Sneidar via use-livecode wrote: > > You beat me to it Mark! :-) > > Bob S > > >> On Feb 5, 2019, at 11:53 , Mark Waddingham via use-livecode wrote: >> >> Then in your import button do: >> >> on mouseUp >> focus on nothing From bobsneidar at iotecdigital.com Wed Feb 6 12:11:43 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 6 Feb 2019 17:11:43 +0000 Subject: editing data grid column via scrip In-Reply-To: References: Message-ID: Not sure what you mean here. In the data grid tab of the properties window there is an option to Allow Editing. Double clicking the cell with this option set will allow you to edit the value. This seems klunky to me. What I do is I create a field for each editable value in the datagrid, then have a closeField handler in the field do the updating of the datagrid record. on closeField put the dgHilitedIndex of group "myDataGrid" into tHilitedIndex put the dgDataOfIndex [tHilitedIndex] of group "myDataGrid" into aGridRecord put the text of me into aGridRecord [myColumn] set the dgDataOfIndex [tHilitedIndex] of group "myDataGrid" to aGridRecord end closeField This then allows you to do some error checking and validation in the closeField handler. Use exitField instead to process your data each time the field loses focus. Bob S > On Feb 5, 2019, at 14:31 , Hershel F via use-livecode wrote: > > Hi everyone, i searched high and low for this without success. > Question, i have a data grid (trying to to set up an invoice form), > columns, costumer_id, product_id, company_name, product_name, price. etc. > option menus in product name and company name, > Now when i use the options to select a product name, (product_name col.) i want to put the product id into the product_id column by selecting the option menu btn, i tried many ways even when it went in it didn?t show up in the send "printkeys" to group ?data_grid_0? . all help would appreciate it. > > Thanks in advanced. Hershel F From hh at hyperhh.de Wed Feb 6 13:04:57 2019 From: hh at hyperhh.de (hh) Date: Wed, 6 Feb 2019 19:04:57 +0100 Subject: Widget TurnImage89_v100 Message-ID: > Rick H. wrote: > A YouTube type video showing the effects, and some instructional > examples of how to use the widget would be helpful. The SAMPLE STACK (which works after installing the widget and then restarting LiveCode) has a few lines of help and ++ one ordinary widget (the Tiger) for use with it's context menu ++ two examples for using your own images with the widget ++ one example for using two LC-groups (here fields and buttons) as front and back of the widget (50 lines of script) ++ one advanced example for using the widget by grabbing frames from a browser video (not from a LC-player which is essentially blocking). More than half of the code is written for the dictionary (and this needs a lot of time). As soon as you have installed the widget from the sample stack you find DICTIONARY ENTRIES here: (a) Dictionary > API > LiveCode Script > Filter > Associations > hhturn Find the overview by Dictionary > API > Search: hhturn The same for my other fat widgets: boundingbox, hhaclox, hhbclox ,hhdclox, hhcolor, hhdate, hhotext, hhpoly, hhprogress, hhgrid, hhimage and hhsvgt. (b) tinyDictionary > LiveCode Builder > hermann.turnimage The same for my other widgets hermann.X Find the overview by tinyDictionary > LiveCode Builder > Search: hhturn or the names hh from (a). The recommended way to look at one of my widgets is: 1. Install the widget from the sample stack, then restart LiveCode. 2. Make a new stack, create a widget (dragging works not always, but from menu Object> New Widget). Then open the property inspector and the overview from tinydict or Dict. No go through all tabs of the inspector and test the properties "live". (Find some properties on unusual tabs of the PI, this is because there are not enough appropriate tabs available.) 3. Open the sample stack and look at the demos. Some are easy, some need advanced scripting like other LC controls. I have a lot of unfinished projects. I will publish some while waiting for some progress with LC Builder and HTML5. May be I'll leave LC before some more items of the very long lists of promises of the last years will happily be realised. But before leaving I'll make some simpler example stacks: "Quick starter". I don't like teaching videos, sorry, not for giving and not for taking. From prothero at earthlearningsolutions.org Wed Feb 6 14:32:52 2019 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Wed, 6 Feb 2019 11:32:52 -0800 Subject: Widget TurnImage89_v100 In-Reply-To: References: Message-ID: <8A10BF25-262F-45F6-AF90-70B81E90A392@earthlearningsolutions.org> Hermann, Your contributions are really awesome! Thank you very much for your cutting edge work. Best, Bill William Prothero http://es.earthednet.org On Feb 6, 2019, at 10:04 AM, hh via use-livecode wrote: >> Rick H. wrote: >> A YouTube type video showing the effects, and some instructional >> examples of how to use the widget would be helpful. > > The SAMPLE STACK (which works after installing the widget and then > restarting LiveCode) has a few lines of help and > ++ one ordinary widget (the Tiger) for use with it's context menu > ++ two examples for using your own images with the widget > ++ one example for using two LC-groups (here fields and buttons) > as front and back of the widget (50 lines of script) > ++ one advanced example for using the widget by grabbing frames from > a browser video (not from a LC-player which is essentially blocking). > > More than half of the code is written for the dictionary (and this > needs a lot of time). > > As soon as you have installed the widget from the sample stack you find > DICTIONARY ENTRIES here: > > (a) Dictionary > API > LiveCode Script > Filter > Associations > hhturn > Find the overview by Dictionary > API > Search: hhturn > The same for my other fat widgets: > boundingbox, hhaclox, hhbclox ,hhdclox, hhcolor, hhdate, hhotext, hhpoly, > hhprogress, hhgrid, hhimage and hhsvgt. > > (b) tinyDictionary > LiveCode Builder > hermann.turnimage > The same for my other widgets hermann.X > Find the overview by tinyDictionary > LiveCode Builder > Search: hhturn > or the names hh from (a). > > The recommended way to look at one of my widgets is: > > 1. Install the widget from the sample stack, then restart LiveCode. > > 2. Make a new stack, create a widget (dragging works not always, but from > menu Object> New Widget). > Then open the property inspector and the overview from tinydict or Dict. > No go through all tabs of the inspector and test the properties "live". > (Find some properties on unusual tabs of the PI, this is because there > are not enough appropriate tabs available.) > > 3. Open the sample stack and look at the demos. Some are easy, some need > advanced scripting like other LC controls. > > I have a lot of unfinished projects. I will publish some while waiting > for some progress with LC Builder and HTML5. May be I'll leave LC before > some more items of the very long lists of promises of the last years will > happily be realised. > But before leaving I'll make some simpler example stacks: "Quick starter". > I don't like teaching videos, sorry, not for giving and not for taking. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hershelhagadol at gmail.com Wed Feb 6 14:38:31 2019 From: hershelhagadol at gmail.com (Hershel F) Date: Wed, 6 Feb 2019 14:38:31 -0500 Subject: editing data grid column via scrip In-Reply-To: References: Message-ID: <6B73F21B-6EE7-4E68-BDB6-51FFB6C677D2@gmail.com> Hi and thanks, i?ll try to be a clearer. all editing is done only via option menu scripts. as mentioned earlier, an option menu in the company column and product column. now a mouseDown in the OM collects all company names then on menuPick the selected company is chosen at the same time the company id is fetched from a database and that id must go into the id field (column) so in other words? -------------------------------------------------------------------------------------------------------------------- | company_id | company_name | product_id | product_name | price | extended price | ??????????????????????????????????????? total price (all id col are hidden.) as said above, company name is entered via menuPick, company_id should be entered via script in menuPick into company_id fld. which is done.(put ?abc? into fld ?company_id? & ?0001? ) the problem is that the text shows in the fld but does not show in the printKeys. now i tried to send a closeField to the fld which it did trigger but didn?t change anything . Thanks in advanced. HershelF > > Not sure what you mean here. In the data grid tab of the properties window there is an option to Allow Editing. Double clicking the cell with this option set will allow you to edit the value. No clicking possible. > > This seems klunky to me. What I do is I create a field for each editable value in the datagrid, then have a closeField handler in the field do the updating of the datagrid record. also i?m not sure i understood what you said. > >> >> Thanks in advanced. Hershel F > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hershelhagadol at gmail.com Wed Feb 6 15:39:24 2019 From: hershelhagadol at gmail.com (Hershel F) Date: Wed, 6 Feb 2019 15:39:24 -0500 Subject: editing data grid column via scrip In-Reply-To: References: Message-ID: <9E8C4699-52B3-4EAD-B64B-2138BFC1F995@gmail.com> Thanks, i did something very similar.work fine a bit funky but it does the job for now. Thank you. HerhelF > On Feb 6, 2019, at 12:11 PM, Bob Sneidar via use-livecode wrote: > > Not sure what you mean here. In the data grid tab of the properties window there is an option to Allow Editing. Double clicking the cell with this option set will allow you to edit the value. > > This seems klunky to me. What I do is I create a field for each editable value in the datagrid, then have a closeField handler in the field do the updating of the datagrid record. > > on closeField > put the dgHilitedIndex of group "myDataGrid" into tHilitedIndex > put the dgDataOfIndex [tHilitedIndex] of group "myDataGrid" into aGridRecord > put the text of me into aGridRecord [myColumn] > set the dgDataOfIndex [tHilitedIndex] of group "myDataGrid" to aGridRecord > end closeField > > This then allows you to do some error checking and validation in the closeField handler. Use exitField instead to process your data each time the field loses focus. > > Bob S > >> On Feb 5, 2019, at 14:31 , Hershel F via use-livecode wrote: >> >> Hi everyone, i searched high and low for this without success. >> Question, i have a data grid (trying to to set up an invoice form), >> columns, costumer_id, product_id, company_name, product_name, price. etc. >> option menus in product name and company name, >> Now when i use the options to select a product name, (product_name col.) i want to put the product id into the product_id column by selecting the option menu btn, i tried many ways even when it went in it didn?t show up in the send "printkeys" to group ?data_grid_0? . all help would appreciate it. >> >> Thanks in advanced. Hershel F > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Feb 6 19:39:24 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Feb 2019 00:39:24 +0000 Subject: Widget TurnImage89_v100 In-Reply-To: References: Message-ID: <5E1AEA68-37E0-4015-BCDA-55DA0A70D750@hindu.org> Fantastic Herman! Thanks for the contributions. Now, if I could only figure out how to use a series of images instead of just two? I am digging through the scripts to see what I can find. But it is good to know that LCB can do "smooth" transitions/animation (well, the video was a bit jerky but the circles are smooth). This is what we need for LC 10 (or whatever) to keep up with motion graphics for 2020 mobile apps https://www.invisionapp.com/inside-design/ui-animation-principles/ https://www.invisionapp.com/inside-design/motion-design-in-2020-predictions/ BR ?On 2/6/19, 8:05 AM, "use-livecode on behalf of hh via use-livecode" wrote: The SAMPLE STACK (which works after installing the widget and then restarting LiveCode) has a few lines of help and ++ one ordinary widget (the Tiger) for use with it's context menu ++ two examples for using your own images with the widget ++ one example for using two LC-groups (here fields and buttons) as front and back of the widget (50 lines of script) ++ one advanced example for using the widget by grabbing frames from a browser video (not from a LC-player which is essentially blocking). More than half of the code is written for the dictionary (and this needs a lot of time). As soon as you have installed the widget from the sample stack you find DICTIONARY ENTRIES here: (a) Dictionary > API > LiveCode Script > Filter > Associations > hhturn Find the overview by Dictionary > API > Search: hhturn The same for my other fat widgets: boundingbox, hhaclox, hhbclox ,hhdclox, hhcolor, hhdate, hhotext, hhpoly, hhprogress, hhgrid, hhimage and hhsvgt. (b) tinyDictionary > LiveCode Builder > hermann.turnimage The same for my other widgets hermann.X Find the overview by tinyDictionary > LiveCode Builder > Search: hhturn or the names hh from (a). From brahma at hindu.org Wed Feb 6 20:04:27 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Feb 2019 01:04:27 +0000 Subject: Mac Desktop App - No Longer Save to the Engine/Resourses Folder? Message-ID: <1B3C7030-D7DB-43F2-9FFA-DE5BBA6F0DD9@hindu.org> I have to update some in house production app for Mac. To 64 bit... Used to Be: I could create a standalone, like a little "splash" engine and copy a separate stack to the engine location for it boot and save that stack. Now the stack is store in the app package to /Contents/Resources/_MacOS/InfoWizard.livecode A simple script upgrade to "the effective name of this stackloader" to on preopenstack set the loc of this stack to the screenloc end preopenstack on openStack put specialFolderPath("resources") into tPath put "/InfoWizard.livecode" after tPath wait 60 ticks hide stack "infoWizard Loader" go stack url ("binfile:" & tPath) end openStack Works.... but I cannot save to that "external" stack. Is this no longer allowed by Apple? If not, will the only option (like on mobile) be to copy the stack from the standalone "out" to the documents folder and boot if from there and *then* OSX will let me save data to it? (custom properties)? BR From hh at hyperhh.de Wed Feb 6 21:21:52 2019 From: hh at hyperhh.de (hh) Date: Thu, 7 Feb 2019 03:21:52 +0100 Subject: Widget TurnImage89_v100 Message-ID: <65BA2F8F-6B83-4128-9814-2F1500C7BF1A@hyperhh.de> > BR wrote: > Now, if I could only figure out how to use a series of images > instead of just two? You can set new images at any time, even during rotation. Setting an image needs at about 10 millisecs (the widget has to adjust its size). See the help at topright of the sample stack. The video grabbing is not optimized. I could better grab the frame by JavaScript from the browser widget. But I used a snapshot from the rectangle of the widget because = the browser widget is still memory leaking when using JS = the snapshot is a better example for people who don't know JS. Disadvantage: On some hardware a bit "jerkiness". From brian at milby7.com Wed Feb 6 22:20:09 2019 From: brian at milby7.com (Brian Milby) Date: Wed, 6 Feb 2019 22:20:09 -0500 Subject: Widget TurnImage89_v100 In-Reply-To: <65BA2F8F-6B83-4128-9814-2F1500C7BF1A@hyperhh.de> References: <65BA2F8F-6B83-4128-9814-2F1500C7BF1A@hyperhh.de> Message-ID: <30fd4e8d-1f96-46de-898a-5de2b1901e2b@Spark> I don?t think that leak is browser widget specific. ?I was able to reproduce the effect of increasing memory usage with the tree view widget, but much more slowly. Thanks, Brian On Feb 6, 2019, 9:22 PM -0500, hh via use-livecode , wrote: > > BR wrote: > > Now, if I could only figure out how to use a series of images > > instead of just two? > > You can set new images at any time, even during rotation. Setting > an image needs at about 10 millisecs (the widget has to adjust its > size). See the help at topright of the sample stack. > The video grabbing is not optimized. I could better grab the frame > by JavaScript from the browser widget. > > But I used a snapshot from the rectangle of the widget because > = the browser widget is still memory leaking when using JS > = the snapshot is a better example for people who don't know JS. > Disadvantage: On some hardware a bit "jerkiness". > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Wed Feb 6 22:54:37 2019 From: hh at hyperhh.de (hh) Date: Thu, 7 Feb 2019 04:54:37 +0100 Subject: Widget TurnImage89_v100 Message-ID: <6E4D0F1B-9EAE-4909-B4E2-34C148DA2ED7@hyperhh.de> I tested now more intensive the widget with LC 9.0.2 on Win 7-10 and linux (Xubuntu 1604). It works as it should but I changed the (only partially working) sample stack: I had to rewrite the video grabbing loop so that the browser widget has no problems on windows and linux. Especially on Xubuntu1604 it works here now also OK with the video. (New feature) Additionally I also changed the video loop such that you can turn also around diagonal axes, change turnH or turnV while the image is rotating for that. There is a new button "Reset" for returning to the ordinary rotation axes. Note. The widget is not changed, only the sample stack. So if you already have installed the widget just download the new sample stack (which of course has still the installer button) and you are ready to try. Download the changed stack from "Sample Stacks" or http://livecodeshare.runrev.com/stack/929/ From hh at hyperhh.de Wed Feb 6 23:01:28 2019 From: hh at hyperhh.de (hh) Date: Thu, 7 Feb 2019 05:01:28 +0100 Subject: Memory leaks Message-ID: <6B681869-4E35-4265-9820-B5A04686C8FC@hyperhh.de> >> hh wrote: >> ... the browser widget is still memory leaking when using JS > > Brian M. wrote: > I don?t think that leak is browser widget specific. I was able to reproduce the effect of increasing memory usage with the tree view widget, but much more slowly. Very interesting, so it may be a general LCB problem? I tested the browser widget also to leak on Windows and linux. Did you see this on Mac only? From brian at milby7.com Wed Feb 6 23:07:19 2019 From: brian at milby7.com (Brian Milby) Date: Wed, 6 Feb 2019 23:07:19 -0500 Subject: Memory leaks In-Reply-To: <6B681869-4E35-4265-9820-B5A04686C8FC@hyperhh.de> References: <6B681869-4E35-4265-9820-B5A04686C8FC@hyperhh.de> Message-ID: I only ran the test on a Mac. ?Once I get my computer unpacked I plan on working up an additional test and trying on Linux and Windows. Thanks, Brian On Feb 6, 2019, 11:01 PM -0500, hh via use-livecode , wrote: > > > hh wrote: > > > ... the browser widget is still memory leaking when using JS > > > > Brian M. wrote: > > I don?t think that leak is browser widget specific. I was able to reproduce the effect of increasing memory usage with the tree view widget, but much more slowly. > > Very interesting, so it may be a general LCB problem? > > I tested the browser widget also to leak on Windows and linux. > Did you see this on Mac only? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Feb 7 09:48:11 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Feb 2019 14:48:11 +0000 Subject: Load Images Into Memory Message-ID: On mobile, you need one stack always open. Which is typically is the standalone, including init all libs, models, livecodescript stacks etc. I call it the BootStack You hide it right away. Additionally on Cards 2,3,4,5 etc. of the boot stack, I?ll keep images which we use anywhere in the app as icons to buttons. So, you boot the app, (splash screen is left blank nothing that a background color); it is hidden and you open the "Main" stack. Call it the Stack 1 Now: -- if you have images in card 4 of the BootStack that are referenced from disk for 10 images, they are really small images 7K to 39K, less an 250K total and -- Stack 1 on card 3 you have a ten button panel with id for icons taken from the ID's of image of the BootStack, card 4 What Happens (I think, not really sure) Stack 1, you for to from card 2 ( "go next") to card 3 with the ten buttons and on Android it takes 4-5 seconds! But then, even if you close Stack 1 and reopen it later, going to the card with icons it "instant" My intuition says, by calling the icons of card 4 of the Boot Stack (which is hidden) will are having to wait will it loads them from disk. (why it takes 4 seconds for 250K is mysterious) Then are they are cached by the Boot Stack,they are instantly available and the icons of a "future" revisit to a Stack 1, card 3 that has those button. So, if I am right, how can you load images on a card that not shown, from disk, into memory? From klaus at major-k.de Thu Feb 7 09:55:08 2019 From: klaus at major-k.de (Klaus major-k) Date: Thu, 7 Feb 2019 15:55:08 +0100 Subject: Load Images Into Memory In-Reply-To: References: Message-ID: Hi Swami, > Am 07.02.2019 um 15:48 schrieb Sannyasin Brahmanathaswami via use-livecode : > > On mobile, you need one stack always open. > > Which is typically is the standalone, including init all libs, models, livecodescript stacks etc. I call it the > BootStack > You hide it right away. > Additionally on Cards 2,3,4,5 etc. of the boot stack, I?ll keep images which we use anywhere in the app as icons to buttons. > > So, you boot the app, (splash screen is left blank nothing that a background color); it is hidden and you open the "Main" stack. Call it the > Stack 1 > > Now: > -- if you have images in card 4 of the BootStack that are referenced from disk for 10 images, they are really small images 7K to 39K, less an 250K total > and > - Stack 1 on card 3 you have a ten button panel with id for icons taken from the ID's of image of the BootStack, card 4 > What Happens (I think, not really sure) > Stack 1, you for to from card 2 ( "go next") to card 3 with the ten buttons and on Android it takes 4-5 seconds! > But then, even if you close Stack 1 and reopen it later, going to the card with icons it "instant" > > My intuition says, by calling the icons of card 4 of the Boot Stack (which is hidden) will are having to wait will it loads them from disk. (why it takes 4 seconds for 250K is mysterious) > Then are they are cached by the Boot Stack,they are instantly available and the icons of a "future" revisit to a Stack 1, card 3 that has those button. > So, if I am right, how can you load images on a card that not shown, from disk, into memory? check the command -> prepare image xyz in the dictionary, sounds like this is what you are looking for. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From harrison at all-auctions.com Thu Feb 7 10:08:51 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 7 Feb 2019 10:08:51 -0500 Subject: Load Images Into Memory In-Reply-To: References: Message-ID: <7397F162-7D7C-47D9-9B51-69EF8970A59F@all-auctions.com> Hi Sannyasin, I just woke up and I?m not sure I am following what you are trying to do at all, except that you are wanting images to be preloaded into your stack. Are you doing Import As Control ?> Image File That should load preload the image into memory into your stack so you don?t experience a delay. I hope that helps. If I?m not following things, then never-mind. I?ll look at this again when I am more awake. Cheers, Rick > On Feb 7, 2019, at 9:48 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > > On mobile, you need one stack always open. > > Which is typically is the standalone, including init all libs, models, livecodescript stacks etc. I call it the > > BootStack > > You hide it right away. > > Additionally on Cards 2,3,4,5 etc. of the boot stack, I?ll keep images which we use anywhere in the app as icons to buttons. > > So, you boot the app, (splash screen is left blank nothing that a background color); it is hidden and you open the "Main" stack. Call it the > > Stack 1 > > Now: > > -- if you have images in card 4 of the BootStack that are referenced from disk for 10 images, they are really small images 7K to 39K, less an 250K total > > and > > -- Stack 1 on card 3 you have a ten button panel with id for icons taken from the ID's of image of the BootStack, card 4 > > What Happens (I think, not really sure) > > Stack 1, you for to from card 2 ( "go next") to card 3 with the ten buttons and on Android it takes 4-5 seconds! > But then, even if you close Stack 1 and reopen it later, going to the card with icons it "instant" > > My intuition says, by calling the icons of card 4 of the Boot Stack (which is hidden) will are having to wait will it loads them from disk. (why it takes 4 seconds for 250K is mysterious) > > Then are they are cached by the Boot Stack,they are instantly available and the icons of a "future" revisit to a Stack 1, card 3 that has those button. > > So, if I am right, how can you load images on a card that not shown, from disk, into memory? > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Feb 7 10:32:17 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 7 Feb 2019 15:32:17 +0000 Subject: Mac Desktop App - No Longer Save to the Engine/Resourses Folder? In-Reply-To: <1B3C7030-D7DB-43F2-9FFA-DE5BBA6F0DD9@hindu.org> References: <1B3C7030-D7DB-43F2-9FFA-DE5BBA6F0DD9@hindu.org> Message-ID: <30B8C1D4-FAA4-40A8-9EF0-AA595D30C538@iotecdigital.com> It's my understanding that permissions to files in the package of a standalone are read only for the user, the admin group and the everyone group. The stack will work in memory, but you cannot save it without write permissions. What you might consider is a terminal script you run on your standalones that will change permissions to the resources folder so that everyone can write. Not sure how sandboxing will come into play if you do that. As stated in many prior posts, it's better to keep all your custom settings that need to be saved between sessions in a prefs file or a database. Otherwise you set yourself up for a lot of support calls trying to deal with user permissions and sandboxing both now and in the future. Bob S > On Feb 6, 2019, at 17:04 , Sannyasin Brahmanathaswami via use-livecode wrote: > > I have to update some in house production app for Mac. To 64 bit... > > Used to Be: I could create a standalone, like a little "splash" engine and copy a separate stack to the engine location for it boot and save that stack. > > Now the stack is store in the app package to > > /Contents/Resources/_MacOS/InfoWizard.livecode > > A simple script upgrade to "the effective name of this stackloader" to > > on preopenstack > set the loc of this stack to the screenloc > end preopenstack > > on openStack > put specialFolderPath("resources") into tPath > put "/InfoWizard.livecode" after tPath > wait 60 ticks > hide stack "infoWizard Loader" > go stack url ("binfile:" & tPath) > end openStack > > Works.... but I cannot save to that "external" stack. > > Is this no longer allowed by Apple? If not, will the only option (like on mobile) be to copy the stack from the standalone "out" to the documents folder and boot if from there and *then* OSX will let me save data to it? (custom properties)? > > BR From capellan2000 at gmail.com Thu Feb 7 14:14:01 2019 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 7 Feb 2019 15:14:01 -0400 Subject: LiveCode Builder language Library Tutorials In-Reply-To: References: Message-ID: Hi All, Where could I find Tutorials for creating LCB Libraries (not widgets)? Thanks in advance! Al From hh at hyperhh.de Thu Feb 7 15:16:39 2019 From: hh at hyperhh.de (hh) Date: Thu, 7 Feb 2019 21:16:39 +0100 Subject: LiveCode Builder language Library Tutorials Message-ID: <30A993F2-1FE2-4A04-B48C-ED7D5549C364@hyperhh.de> > Al wrote: > Where could I find Tutorials for creating LCB Libraries > (not widgets)? https://livecode.com/topic/creating-an-lcb-library/ From hh at hyperhh.de Thu Feb 7 15:25:52 2019 From: hh at hyperhh.de (hh) Date: Thu, 7 Feb 2019 21:25:52 +0100 Subject: Widget TurnImage89_v100 Message-ID: <5DE06CF4-238C-4967-BB34-4A5EB7DBF71F@hyperhh.de> The widget has a huge background or transparency, needed for the turns and rotation. So I added a "clickedInTransparency" message that you can use, see tab "Custom" of the property inspector for an example script. Deinstall the old version and download version 1.1.0 from the sample stack, still available from "Sample Stacks" or http://livecodeshare.runrev.com/stack/929/ From andrew at midwestcoastmedia.com Thu Feb 7 15:32:02 2019 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Thu, 07 Feb 2019 20:32:02 +0000 Subject: Windows notifications Message-ID: <20190207203202.Horde.uvUguuz0vzePRhvvJmGdnL8@ua850258.serversignin.com> I am trying to modify a Windows stack to alert the user when a particular event happens while the app is in the background or minimized. Something like mergNotify, but for Windows, would be ideal. My first thought was to change the taskbar icon, like Outlook does when I have a new email or Skype does to display my status. The forum and dictionary proved "set the icon to (some ID)" doesn't work on Windows[1], but I could use the still-undocumented "set the statusIcon to (some ID)" property[2] to change the system tray icon. This sort of worked as I was able to make a little repeat loop that changed the statusIcon[3] from one image to another and then back again to create an attention grabbing area at the bottom of the screen. My problem with this is that after the first time that alert is acknowledged, via statusIconDoubleClick in this case, any subsequent statusIcon changes are only displayed in the "Show hidden icons" of the system tray which in essence buries it from the users view (until the stack is relaunched). I confirmed this behavior with the Sons of Thunder product STSTray[4] which seems to suffer from the same problem. Can anyone suggest a LiveCode native way to alert a Windows user? The closest I could find is to use "do as VBScript" with an AppActivate command[5], but was hoping for something using LC script directly (although this forced me to learn some VBScript and use the "do as alternateLanguage" command[6] which were both foreign to me). put "Set objShell = CreateObject(" & QUOTE & "Wscript.Shell" & QUOTE & ")" into tScript put RETURN & "objShell.AppActivate" && QUOTE & "taskbar_icon_demo" & QUOTE after tScript do tScript as "VBScript" --Andrew Bell Links to reference documents: 1 - http://forums.livecode.com/viewtopic.php?t=31278 2 - https://quality.livecode.com/show_bug.cgi?id=20762 3 - http://livecode.wikia.com/wiki/StatusIcon 4 - http://www.sonsothunder.com/products/ststray/ststray.htm 5 - https://ss64.com/vb/appactivate.html 6 - https://forums.livecode.com/viewtopic.php?t=16652 From waprothero at gmail.com Thu Feb 7 16:44:31 2019 From: waprothero at gmail.com (William Prothero) Date: Thu, 7 Feb 2019 13:44:31 -0800 Subject: Widget TurnImage89_v100 In-Reply-To: References: Message-ID: <444CEB61-2ADE-4D08-98CF-9C16BA62785D@gmail.com> Hermann: I?m trying to install your turnImage sample stack. When I click on the ?Install the turnImage widget for LC 8+9? button, I get an error message: ?extension missing from ??/community.livecode.hermann.turnimage.1.0.0? So, I can?t install the widget. I?m on MacOS, 10.14.2, LC 9.0.2. I downloaded the sample stack, nothing else. Is there something else to download? Am I doing something wrong? Best, Bill > On Feb 6, 2019, at 10:04 AM, hh via use-livecode wrote: > >> Rick H. wrote: >> A YouTube type video showing the effects, and some instructional >> examples of how to use the widget would be helpful. > > The SAMPLE STACK (which works after installing the widget and then > restarting LiveCode) has a few lines of help and > ++ one ordinary widget (the Tiger) for use with it's context menu > ++ two examples for using your own images with the widget > ++ one example for using two LC-groups (here fields and buttons) > as front and back of the widget (50 lines of script) > ++ one advanced example for using the widget by grabbing frames from > a browser video (not from a LC-player which is essentially blocking). > > More than half of the code is written for the dictionary (and this > needs a lot of time). > > As soon as you have installed the widget from the sample stack you find > DICTIONARY ENTRIES here: > > (a) Dictionary > API > LiveCode Script > Filter > Associations > hhturn > Find the overview by Dictionary > API > Search: hhturn > The same for my other fat widgets: > boundingbox, hhaclox, hhbclox ,hhdclox, hhcolor, hhdate, hhotext, hhpoly, > hhprogress, hhgrid, hhimage and hhsvgt. > > (b) tinyDictionary > LiveCode Builder > hermann.turnimage > The same for my other widgets hermann.X > Find the overview by tinyDictionary > LiveCode Builder > Search: hhturn > or the names hh from (a). > > The recommended way to look at one of my widgets is: > > 1. Install the widget from the sample stack, then restart LiveCode. > > 2. Make a new stack, create a widget (dragging works not always, but from > menu Object> New Widget). > Then open the property inspector and the overview from tinydict or Dict. > No go through all tabs of the inspector and test the properties "live". > (Find some properties on unusual tabs of the PI, this is because there > are not enough appropriate tabs available.) > > 3. Open the sample stack and look at the demos. Some are easy, some need > advanced scripting like other LC controls. > > I have a lot of unfinished projects. I will publish some while waiting > for some progress with LC Builder and HTML5. May be I'll leave LC before > some more items of the very long lists of promises of the last years will > happily be realised. > But before leaving I'll make some simpler example stacks: "Quick starter". > I don't like teaching videos, sorry, not for giving and not for taking. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Thu Feb 7 17:02:37 2019 From: waprothero at gmail.com (William Prothero) Date: Thu, 7 Feb 2019 14:02:37 -0800 Subject: Devolution Problem In-Reply-To: <20190207203202.Horde.uvUguuz0vzePRhvvJmGdnL8@ua850258.serversignin.com> References: <20190207203202.Horde.uvUguuz0vzePRhvvJmGdnL8@ua850258.serversignin.com> Message-ID: <22C834CF-2094-409D-887C-840E3F8EBB27@gmail.com> Richard: Hi, I am having a problem getting Devolution to save new projects in the project browser. I enter a new project, it shows up and opens normally, but if I quit Livecode, it doesn?t save the most recent project I entered, although previously entered projects continue to be listed. I haven?t tried to add new projects for awhile, so don?t know if it the last Devo or OS upgrade broke something, or I?m doing something wrong. I am on Mac OS 10.14.2, LC 9.0.2. But, I tried LC 8.2.0 (dp2) and Devo behaves the same way. In the folder ?../Plugins/FourthWorld.com/? folder, the 4wDevolutionPrefs.pref ? file has an empty file "4wDevolutionPrefs~?, so it tried setting up the file, but couldn?t replace the existing file. I changed the permissions of the prefs file to read/write for me and everybody, but still same problem. What should I try next? Best, Bill William A. Prothero http://earthlearningsolutions.org From bobsneidar at iotecdigital.com Thu Feb 7 17:32:55 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 7 Feb 2019 22:32:55 +0000 Subject: Windows notifications In-Reply-To: <20190207203202.Horde.uvUguuz0vzePRhvvJmGdnL8@ua850258.serversignin.com> References: <20190207203202.Horde.uvUguuz0vzePRhvvJmGdnL8@ua850258.serversignin.com> Message-ID: <5583A474-EF5B-44AA-B9CB-6FD115EDB7AE@iotecdigital.com> Create a standalone with socket communications and send commands to it to show, hide and anything else you need the stack to do. The real trick is to build it so that it doesn't show up in the taskbar, else people will close it. When your app opens, launch the executable with the stack hidden. Then pass calls via socket to your stack as I mentioned. I did this once and it worked quite well, except that I didn't know then how to prevent an app from appearing in the task bar or the MacOS Dock. Bob S > On Feb 7, 2019, at 12:32 , Andrew Bell via use-livecode wrote: > > I am trying to modify a Windows stack to alert the user when a particular event happens while the app is in the background or minimized. Something like mergNotify, but for Windows, would be ideal. > > My first thought was to change the taskbar icon, like Outlook does when I have a new email or Skype does to display my status. The forum and dictionary proved "set the icon to (some ID)" doesn't work on Windows[1], but I could use the still-undocumented "set the statusIcon to (some ID)" property[2] to change the system tray icon. > > This sort of worked as I was able to make a little repeat loop that changed the statusIcon[3] from one image to another and then back again to create an attention grabbing area at the bottom of the screen. My problem with this is that after the first time that alert is acknowledged, via statusIconDoubleClick in this case, any subsequent statusIcon changes are only displayed in the "Show hidden icons" of the system tray which in essence buries it from the users view (until the stack is relaunched). I confirmed this behavior with the Sons of Thunder product STSTray[4] which seems to suffer from the same problem. > > Can anyone suggest a LiveCode native way to alert a Windows user? The closest I could find is to use "do as VBScript" with an AppActivate command[5], but was hoping for something using LC script directly (although this forced me to learn some VBScript and use the "do as alternateLanguage" command[6] which were both foreign to me). > > put "Set objShell = CreateObject(" & QUOTE & "Wscript.Shell" & QUOTE & ")" into tScript > put RETURN & "objShell.AppActivate" && QUOTE & "taskbar_icon_demo" & QUOTE after tScript > do tScript as "VBScript" > > > --Andrew Bell From tom at makeshyft.com Thu Feb 7 19:21:20 2019 From: tom at makeshyft.com (Tom Glod) Date: Thu, 7 Feb 2019 19:21:20 -0500 Subject: Windows notifications In-Reply-To: <5583A474-EF5B-44AA-B9CB-6FD115EDB7AE@iotecdigital.com> References: <20190207203202.Horde.uvUguuz0vzePRhvvJmGdnL8@ua850258.serversignin.com> <5583A474-EF5B-44AA-B9CB-6FD115EDB7AE@iotecdigital.com> Message-ID: doesn't the livecode updater display a normal windows notification? how do they do it?...... i have a similar challange right now.....so this is very interesting. my only workaround so far is to open a stack with what i need and snap it to the bottom right and make it look like it came from the taskbar or dock. i suppose it works. bur i would appreciate a more native solution. On Thu, Feb 7, 2019 at 5:33 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Create a standalone with socket communications and send commands to it to > show, hide and anything else you need the stack to do. The real trick is to > build it so that it doesn't show up in the taskbar, else people will close > it. When your app opens, launch the executable with the stack hidden. Then > pass calls via socket to your stack as I mentioned. I did this once and it > worked quite well, except that I didn't know then how to prevent an app > from appearing in the task bar or the MacOS Dock. > > Bob S > > > > On Feb 7, 2019, at 12:32 , Andrew Bell via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I am trying to modify a Windows stack to alert the user when a > particular event happens while the app is in the background or minimized. > Something like mergNotify, but for Windows, would be ideal. > > > > My first thought was to change the taskbar icon, like Outlook does when > I have a new email or Skype does to display my status. The forum and > dictionary proved "set the icon to (some ID)" doesn't work on Windows[1], > but I could use the still-undocumented "set the statusIcon to (some ID)" > property[2] to change the system tray icon. > > > > This sort of worked as I was able to make a little repeat loop that > changed the statusIcon[3] from one image to another and then back again to > create an attention grabbing area at the bottom of the screen. My problem > with this is that after the first time that alert is acknowledged, via > statusIconDoubleClick in this case, any subsequent statusIcon changes are > only displayed in the "Show hidden icons" of the system tray which in > essence buries it from the users view (until the stack is relaunched). I > confirmed this behavior with the Sons of Thunder product STSTray[4] which > seems to suffer from the same problem. > > > > Can anyone suggest a LiveCode native way to alert a Windows user? The > closest I could find is to use "do as VBScript" with an AppActivate > command[5], but was hoping for something using LC script directly (although > this forced me to learn some VBScript and use the "do as alternateLanguage" > command[6] which were both foreign to me). > > > > put "Set objShell = CreateObject(" & QUOTE & "Wscript.Shell" & QUOTE & > ")" into tScript > > put RETURN & "objShell.AppActivate" && QUOTE & "taskbar_icon_demo" & > QUOTE after tScript > > do tScript as "VBScript" > > > > > > --Andrew Bell > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Thu Feb 7 19:31:50 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 7 Feb 2019 16:31:50 -0800 Subject: Windows notifications In-Reply-To: References: <20190207203202.Horde.uvUguuz0vzePRhvvJmGdnL8@ua850258.serversignin.com> <5583A474-EF5B-44AA-B9CB-6FD115EDB7AE@iotecdigital.com> Message-ID: On 2/7/19 4:21 PM, Tom Glod via use-livecode wrote: > doesn't the livecode updater display a normal windows notification? how do > they do it?...... i have a similar challange right now.....so this is very > interesting. my only workaround so far is to open a stack with what i need > and snap it to the bottom right and make it look like it came from the > taskbar or dock. i suppose it works. bur i would appreciate a more native > solution. When I've had to deal with this situation I've ended up creating a LiveCode external dll with an embedded Windows event loop to catch the notification messages, then passing them on to LC. You're probably best off with your VBScript solution. -- Mark Wieder ahsoftware at gmail.com From hh at hyperhh.de Thu Feb 7 20:36:24 2019 From: hh at hyperhh.de (hh) Date: Fri, 8 Feb 2019 02:36:24 +0100 Subject: Widget TurnImage89_v100 Message-ID: <72206849-91E7-4D58-852D-2E72A497C4AE@hyperhh.de> Bill, the installer button should work, did you use an earlier stack? The widget is not downloaded by the installer button but is a custom property of the downloaded stack: ** You have to download the sample stack for each new version. ** Sorry, as soon as the "widgets store" works I'll use that. Installing works here, please try again. Trash the old stack. ** And before going to "Sample Stacks" please clear the revonline cache in the LC preferences. ** +++++++++++ Just uploaded a new version 1.2.0, that removes a bug that crashed LC when resizing the widget in pointer mode. This now does nothing with the images, the widget simply clips to its new size. (Thanks Bernd for the report). From waprothero at gmail.com Thu Feb 7 23:05:49 2019 From: waprothero at gmail.com (William Prothero) Date: Thu, 7 Feb 2019 20:05:49 -0800 Subject: Widget TurnImage89_v100 In-Reply-To: <72206849-91E7-4D58-852D-2E72A497C4AE@hyperhh.de> References: <72206849-91E7-4D58-852D-2E72A497C4AE@hyperhh.de> Message-ID: <94059619-7313-4016-B1E3-A4B50BB35063@gmail.com> Hermann: I just downloaded the sample stack for the first time yesterday. But I?ll try this: > ** And before going to "Sample Stacks" please clear the revonline > cache in the LC preferences. ** Thanks, Bill > On Feb 7, 2019, at 5:36 PM, hh via use-livecode wrote: > > Bill, > > the installer button should work, did you use an earlier stack? > The widget is not downloaded by the installer button but is a > custom property of the downloaded stack: > ** You have to download the sample stack for each new version. ** > Sorry, as soon as the "widgets store" works I'll use that. > > Installing works here, please try again. Trash the old stack. > > ** And before going to "Sample Stacks" please clear the revonline > cache in the LC preferences. ** > > +++++++++++ > > Just uploaded a new version 1.2.0, that removes a bug that crashed LC > when resizing the widget in pointer mode. This now does nothing with > the images, the widget simply clips to its new size. > > (Thanks Bernd for the report). > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Feb 8 14:51:31 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 8 Feb 2019 20:51:31 +0100 Subject: Datagrid Table - Allow editing a field only when an other field contains data Message-ID: Hi, in a project i need the possibility to allow editing a datagrid table field only if an other field in the same row contains a value. Is this possible? Any suggestions? Regards, Matthias From bobsneidar at iotecdigital.com Fri Feb 8 16:22:08 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 8 Feb 2019 21:22:08 +0000 Subject: Datagrid Table - Allow editing a field only when an other field contains data In-Reply-To: References: Message-ID: <8CDBD00F-7EEB-405A-B531-A210DAF9F7E9@iotecdigital.com> Check the datagrid library. http://lessons.livecode.com/m/datagrid/l/7344-data-grid-api I believe there is a message sent when a field is opened for editing. Bob S > On Feb 8, 2019, at 11:51 , Matthias Rebbe via use-livecode wrote: > > Hi, > > in a project i need the possibility to allow editing a datagrid table field only if an other field in the same row contains a value. > Is this possible? Any suggestions? > > Regards, > > Matthias From ambassador at fourthworld.com Fri Feb 8 17:25:39 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 8 Feb 2019 14:25:39 -0800 Subject: Devolution Problem In-Reply-To: <22C834CF-2094-409D-887C-840E3F8EBB27@gmail.com> References: <22C834CF-2094-409D-887C-840E3F8EBB27@gmail.com> Message-ID: William Prothero write: > Richard: > Hi, I am having a problem getting Devolution to save new projects in > the project browser. I enter a new project, it shows up and opens > normally, but if I quit Livecode, it doesn?t save the most recent > project I entered, although previously entered projects continue to be > listed. I haven?t tried to add new projects for awhile, so don?t know > if it the last Devo or OS upgrade broke something, or I?m doing > something wrong. > > I am on Mac OS 10.14.2, LC 9.0.2. But, I tried LC 8.2.0 (dp2) and Devo > behaves the same way. In the folder ?../Plugins/FourthWorld.com/? > folder, the 4wDevolutionPrefs.pref /4wDevolutionPrefs.pref>? file has an empty file "4wDevolutionPrefs~?, > so it tried setting up the file, but couldn?t replace the existing > file. I changed the permissions of the prefs file to read/write for me > and everybody, but still same problem. > > What should I try next? Just to be safe, run the disk scan and permissions repair tools in Apple's Disk Utilities. The presence of the "~" shows the devolution plugin is attempting to save its prefs info as expected, but being an empty file suggests something is preventing the write from happening in the middle of the operation. It may also be that another plugin is intercepting the save or otherwise interfering with normal operation. If Disk Utility shows no issues with the storage media or format then you may consider a test run in which you first remove any third-party plugins which may interfere with other stacks' activity. Let me know what you find, either here or email or a phone call, whichever is best for you. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From waprothero at gmail.com Fri Feb 8 17:54:50 2019 From: waprothero at gmail.com (William Prothero) Date: Fri, 8 Feb 2019 14:54:50 -0800 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: <30B8C1D4-FAA4-40A8-9EF0-AA595D30C538@iotecdigital.com> References: <1B3C7030-D7DB-43F2-9FFA-DE5BBA6F0DD9@hindu.org> <30B8C1D4-FAA4-40A8-9EF0-AA595D30C538@iotecdigital.com> Message-ID: <26C5A93C-1D3E-470F-AE36-74941557197A@gmail.com> Folks: Livecode 9.0.2 business Mac OSX 10.14.2 I can?t figure this out. I?m having problems with LiveCode Plugins writing prefs to the Plugins folder on my Mac. None of the prefs for the extensions are able to update. At first, I thought it was a problem with 4WDevolution, but now it?s with Navigator and won?t install Hermann?s Turnimage extension. The prefs files (not TurnImage, which throws an error) show up in the extensions folder with a ?~? after them, indicating it?s a temporary file with 0 bytes and that the save has failed. So I can see that there is an attempt to write the prefs file in the correct place, but replacing the older file with the new file fails.r I?ve got bitDefender and ?CleanMyMac?. However, I can write, and update test data, with a livecode script, to the Plugins folder so I am really stuck and out of ideas. This is very puzzling. Has anybody else seen this behavior? Best, Bill William A. Prothero http://earthlearningsolutions.org From waprothero at gmail.com Fri Feb 8 17:59:57 2019 From: waprothero at gmail.com (William Prothero) Date: Fri, 8 Feb 2019 14:59:57 -0800 Subject: Devolution Problem In-Reply-To: References: <22C834CF-2094-409D-887C-840E3F8EBB27@gmail.com> Message-ID: <07B6061A-268C-4F3F-87F2-89006CD299B6@gmail.com> Richard: I just posted a more detailed description of the problem and it appears to affect other plugins too. I think I?ll try taking all of the plugins out of the plugins folder and trying just Devolution. By the way Hermann said I should erase the livecode cache. I don?t know where that is, unless he was talking about the browser cache. Best, Bill > On Feb 8, 2019, at 2:25 PM, Richard Gaskin via use-livecode wrote: > > William Prothero write: > > > Richard: > > Hi, I am having a problem getting Devolution to save new projects in > > the project browser. I enter a new project, it shows up and opens > > normally, but if I quit Livecode, it doesn?t save the most recent > > project I entered, although previously entered projects continue to be > > listed. I haven?t tried to add new projects for awhile, so don?t know > > if it the last Devo or OS upgrade broke something, or I?m doing > > something wrong. > > > > I am on Mac OS 10.14.2, LC 9.0.2. But, I tried LC 8.2.0 (dp2) and Devo > > behaves the same way. In the folder ?../Plugins/FourthWorld.com/? > > folder, the 4wDevolutionPrefs.pref > /4wDevolutionPrefs.pref>? file has an empty file "4wDevolutionPrefs~?, > > so it tried setting up the file, but couldn?t replace the existing > > file. I changed the permissions of the prefs file to read/write for me > > and everybody, but still same problem. > > > > What should I try next? > > Just to be safe, run the disk scan and permissions repair tools in Apple's Disk Utilities. > > The presence of the "~" shows the devolution plugin is attempting to save its prefs info as expected, but being an empty file suggests something is preventing the write from happening in the middle of the operation. > > It may also be that another plugin is intercepting the save or otherwise interfering with normal operation. If Disk Utility shows no issues with the storage media or format then you may consider a test run in which you first remove any third-party plugins which may interfere with other stacks' activity. > > Let me know what you find, either here or email or a phone call, whichever is best for you. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Fri Feb 8 18:34:24 2019 From: hh at hyperhh.de (hh) Date: Sat, 9 Feb 2019 00:34:24 +0100 Subject: Weird LiveCode Plugins Prefs writing problems Message-ID: Bill, I had severe problems when starting with MacOS 10.14. As I know now these were mostly permission problems. The Apple security hystery may help to that. I still have some files of zero size that are not deletable and change their name. I think this is caused by MacOS. But meanwhile I'm running 10.14.3 without problems. For repairing and maintenace I use Onyx (which has for each main MacOS an own version): https://www.titanium-software.fr/en/onyx.html I personally think that "bitDefender" and "CleanMyMac" make more harm than they help. Onyx is more transparent and helped me out of the problems described above. p.s. The revonline cache is deletable from the LC prefs. The LC caches are in /Library/Application\ Support/RunRev. You can open the folder from message box: launch document $HOME&"/Library/Application Support/RunRev" Good luck! From gcanyon at gmail.com Fri Feb 8 19:35:30 2019 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 8 Feb 2019 16:35:30 -0800 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: <26C5A93C-1D3E-470F-AE36-74941557197A@gmail.com> References: <1B3C7030-D7DB-43F2-9FFA-DE5BBA6F0DD9@hindu.org> <30B8C1D4-FAA4-40A8-9EF0-AA595D30C538@iotecdigital.com> <26C5A93C-1D3E-470F-AE36-74941557197A@gmail.com> Message-ID: On Fri, Feb 8, 2019 at 2:55 PM William Prothero via use-livecode < use-livecode at lists.runrev.com> wrote: > Folks: > Livecode 9.0.2 business Mac OSX 10.14.2 > I'm also on 10.14.2 and I'm not seeing this with Navigator. (or other plugins) Sorry I don't have something better to offer. From ambassador at fourthworld.com Fri Feb 8 21:45:22 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 8 Feb 2019 18:45:22 -0800 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: <26C5A93C-1D3E-470F-AE36-74941557197A@gmail.com> References: <26C5A93C-1D3E-470F-AE36-74941557197A@gmail.com> Message-ID: <28468b74-366c-a519-306a-3a27492d8c0e@fourthworld.com> William Prothero wrote: > Folks: > Livecode 9.0.2 business Mac OSX 10.14.2 > > I can?t figure this out. I?m having problems with LiveCode Plugins > writing prefs to the Plugins folder on my Mac. None of the prefs > for the extensions are able to update. At first, I thought it was > a problem with 4WDevolution, but now it?s with Navigator and won?t > install Hermann?s Turnimage extension. The prefs files (not TurnImage, > which throws an error) show up in the extensions folder with a ?~? > after them, indicating it?s a temporary file with 0 bytes and that > the save has failed. So I can see that there is an attempt to write > the prefs file in the correct place, but replacing the older file > with the new file fails.r > > I?ve got bitDefender and ?CleanMyMac?. However, I can write, and > update test data, with a livecode script, to the Plugins folder so > I am really stuck and out of ideas. > > This is very puzzling. Has anybody else seen this behavior? I haven't, but I'm sure we can solve it. What is the full path to your Plugins folder? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From harrison at all-auctions.com Fri Feb 8 23:24:32 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 8 Feb 2019 23:24:32 -0500 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: <26C5A93C-1D3E-470F-AE36-74941557197A@gmail.com> References: <1B3C7030-D7DB-43F2-9FFA-DE5BBA6F0DD9@hindu.org> <30B8C1D4-FAA4-40A8-9EF0-AA595D30C538@iotecdigital.com> <26C5A93C-1D3E-470F-AE36-74941557197A@gmail.com> Message-ID: Hi Bill, CleanMyMac is considered by many to be malware. 1. Make sure you have a good backup (Time Machine) or image copy of your Mac. 2. Dump CleanMyMac 3. I would also reinstall macOS if I were you. 4. Try Avast and do a scan to see it is finds anything. (I have discovered it is much better than Sophos at finding things, and won?t slow your computer down as much as Sophos.) Good luck! Rick > On Feb 8, 2019, at 5:54 PM, William Prothero via use-livecode wrote: > ... > I?ve got bitDefender and ?CleanMyMac?. However, I can write, and update test data, with a livecode script, to the Plugins folder so I am really stuck and out of ideas. > > This is very puzzling. Has anybody else seen this behavior? > > Best, > Bill From ambassador at fourthworld.com Fri Feb 8 23:28:47 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 8 Feb 2019 20:28:47 -0800 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: References: Message-ID: <3a62abab-64b9-8195-022d-50e5f6382dce@fourthworld.com> Rick Harrison wrote: > 3. I would also reinstall macOS if I were you. It may not be so bad. Let's see what his plugins path is first. If he's using LC's plugins folder rather than a custom one, that would explain the behavior, no? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthlearningsolutions.org Sat Feb 9 02:17:49 2019 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Fri, 8 Feb 2019 23:17:49 -0800 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: <3a62abab-64b9-8195-022d-50e5f6382dce@fourthworld.com> References: <3a62abab-64b9-8195-022d-50e5f6382dce@fourthworld.com> Message-ID: Hmmm.. I got it to work by declaring livecode, with correct app name, a safe application, in BitDefender, but that setting wouldn?t stick. When I looked at bitdefender again the safe setting for livecode had disappeared. So I used diskutility to repair the system drive, then updated the os to 10.14.3. Probably I did too many things at once. I?ll uninstall CleanMyMac and see what happens. The extensions are in ../Documents/myLivecode folder. I?ll have to wait until tomorrow to see if the above actions fixed it. Thanks for the advice. Bill William Prothero http://es.earthednet.org > On Feb 8, 2019, at 8:28 PM, Richard Gaskin via use-livecode wrote: > > Rick Harrison wrote: > > > 3. I would also reinstall macOS if I were you. > > It may not be so bad. Let's see what his plugins path is first. > > If he's using LC's plugins folder rather than a custom one, that would explain the behavior, no? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Sat Feb 9 10:49:32 2019 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 9 Feb 2019 16:49:32 +0100 Subject: Datagrid Table - Allow editing a field only when an other field contains data In-Reply-To: <8CDBD00F-7EEB-405A-B531-A210DAF9F7E9@iotecdigital.com> References: <8CDBD00F-7EEB-405A-B531-A210DAF9F7E9@iotecdigital.com> Message-ID: Matthias, A possible solution is to add an EditFieldText handler inside the datagrid group script. *command* EditFieldText pTheFieldEditor, pTheIndex, pTheCol *end* EditFieldText This message is invoked by the datagrid table prior to create the field editor allowing to edit the cell. Three parameters are passed : - the field editor reference: pTheFieldEditor - the index of the row: pTheIndex - the key (the column name): pTheCol The trick consist to test the name of the column the user is trying to edit (for example col3 of the datagrid) : *if* (pTheCol is "Col3") *then* and then get the content of the cell of another column by using the GetDataOfIndex function: *put* GetDataOfIndex(pTheIndex, "Col2") into tTheValueToTest If you want to allow the edition of the cell, then give a chance to the EditFieldText to reach the datagrid library pass EditFieldText if not, then simply not send it And don't forget to pass the command for others columns of the datagrid. Here is a final handler applying the recipe for a "col3" based of the content of "col2". If the cell contains "yes" in col2 then the user is allowed to edit the content of the cell in col3, if not the cell remains locked. You can change "yes" for any value or change the test for checking if the cel in "col2"l is empty or not *command* EditFieldText pTheFieldEditor, pTheIndex, pTheCol *if* (pTheCol is "Col3") *then** put* GetDataOfIndex(pTheIndex, "Col2") into tTheValueToTest *if* (tTheValueToTest is "yes") *then** pass* EditFieldText *end* *if* * else** pass* EditFieldText *end* *if**end* EditFieldText On Fri, Feb 8, 2019 at 10:22 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Check the datagrid library. > http://lessons.livecode.com/m/datagrid/l/7344-data-grid-api > > I believe there is a message sent when a field is opened for editing. > > Bob S > > > > > On Feb 8, 2019, at 11:51 , Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi, > > > > in a project i need the possibility to allow editing a datagrid table > field only if an other field in the same row contains a value. > > Is this possible? Any suggestions? > > > > Regards, > > > > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Zryip TheSlug http://www.aslugontheroad.com From matthias_livecode_150811 at m-r-d.de Sat Feb 9 12:16:41 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 9 Feb 2019 18:16:41 +0100 Subject: Datagrid Table - Allow editing a field only when an other field contains data In-Reply-To: References: <8CDBD00F-7EEB-405A-B531-A210DAF9F7E9@iotecdigital.com> Message-ID: <7A09924F-96FA-425E-91E8-9D7BCBAB5C4F@m-r-d.de> @Bob S Thanks for the link. Visited it and realised again that DG is very complex. ;) @Zryip Thank you very much. Works great. Regards, Matthias Matthias Rebbe > Am 09.02.2019 um 16:49 schrieb zryip theSlug via use-livecode >: > > Matthias, > > A possible solution is to add an EditFieldText handler inside the datagrid > group script. > > *command* EditFieldText pTheFieldEditor, pTheIndex, pTheCol > *end* EditFieldText > > This message is invoked by the datagrid table prior to create the field > editor allowing to edit the cell. > Three parameters are passed : > - the field editor reference: pTheFieldEditor > - the index of the row: pTheIndex > - the key (the column name): pTheCol > > The trick consist to test the name of the column the user is trying to edit > (for example col3 of the datagrid) : > > *if* (pTheCol is "Col3") *then* > > > and then get the content of the cell of another column by using the > GetDataOfIndex > function: > > *put* GetDataOfIndex(pTheIndex, "Col2") into tTheValueToTest > > > If you want to allow the edition of the cell, then give a chance to the > EditFieldText to reach the datagrid library > > pass EditFieldText > > if not, then simply not send it > > And don't forget to pass the command for others columns of the datagrid. > > > Here is a final handler applying the recipe for a "col3" based of the > content of "col2". If the cell contains "yes" in col2 then the user is > allowed to edit the content of the cell in col3, if not the cell remains > locked. You can change "yes" for any value or change the test for checking > if the cel in "col2"l is empty or not > > > command* EditFieldText pTheFieldEditor, pTheIndex, pTheCol > if (pTheCol is "Col3") > then put* GetDataOfIndex(pTheIndex, "Col2") into tTheValueToTest > *if* (tTheValueToTest is "yes") > *then** pass* EditFieldText > *end* > *if* > * else** pass* EditFieldText > *end* > *if**end* EditFieldText > > On Fri, Feb 8, 2019 at 10:22 PM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com > wrote: > >> Check the datagrid library. >> http://lessons.livecode.com/m/datagrid/l/7344-data-grid-api >> >> I believe there is a message sent when a field is opened for editing. >> >> Bob S >> >> >> >>> On Feb 8, 2019, at 11:51 , Matthias Rebbe via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi, >>> >>> in a project i need the possibility to allow editing a datagrid table >> field only if an other field in the same row contains a value. >>> Is this possible? Any suggestions? >>> >>> Regards, >>> >>> Matthias >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Zryip TheSlug > http://www.aslugontheroad.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sat Feb 9 18:57:31 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 9 Feb 2019 15:57:31 -0800 Subject: GoLiveNet problem Message-ID: In my role today as troublemaker: Open the GoLiveNet plugin Select the Community icon Click on the list of available "This Week in LiveCode" updates Try using the mouse wheel to scroll the list The up/down arrow keys work correctly. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Sat Feb 9 22:48:48 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 9 Feb 2019 19:48:48 -0800 Subject: GoLiveNet problem In-Reply-To: References: Message-ID: Mark Wieder wrote: > In my role today as troublemaker: > > Open the GoLiveNet plugin > Select the Community icon > Click on the list of available "This Week in LiveCode" updates > Try using the mouse wheel to scroll the list > > The up/down arrow keys work correctly. ? On Ubuntu it doesn't seem that the mouse wheel is normally expected to scroll through items in an option menu list. Am I misunderstanding what you're doing? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ahsoftware at sonic.net Sun Feb 10 00:22:27 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 9 Feb 2019 21:22:27 -0800 Subject: GoLiveNet problem In-Reply-To: References: Message-ID: On 2/9/19 7:48 PM, Richard Gaskin via use-livecode wrote: > Mark Wieder wrote: > > > In my role today as troublemaker: > > > > Open the GoLiveNet plugin > > Select the Community icon > > Click on the list of available "This Week in LiveCode" updates > > Try using the mouse wheel to scroll the list > > > > The up/down arrow keys work correctly. > > ? > > On Ubuntu it doesn't seem that the mouse wheel is normally expected to > scroll through items in an option menu list.? Am I misunderstanding what > you're doing? > Maybe I'm misunderstanding what you just posted, but I don't have any problems using the mouse wheel to scroll option lists except per the recipe I posted. Try: create a new stack add an option menu using the PI add more lines to the menu go to browse mode and scroll with the mouse wheel -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Sun Feb 10 07:46:16 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 10 Feb 2019 12:46:16 +0000 Subject: Mac Desktop App - No Longer Save to the Engine/Resourses Folder? In-Reply-To: <30B8C1D4-FAA4-40A8-9EF0-AA595D30C538@iotecdigital.com> References: <1B3C7030-D7DB-43F2-9FFA-DE5BBA6F0DD9@hindu.org> <30B8C1D4-FAA4-40A8-9EF0-AA595D30C538@iotecdigital.com> Message-ID: Right, well it's more than just prefs, "years ago" I actually used the architecture of keep a "document" stack inside the standalone. It transparently saved the users work... In house, on the LAN, I waffled back and forth between keeping the "document" stack on a server and calling it with a "loader/splash engine" ...because that was the way to serve production apps to volunteers around the world. It so "neat" they never have to think about upgrades. I may change the engine stack once in two years.... Looks like I will stick with that from now on BR ? Bob Sneidar wrote: As stated in many prior posts, it's better to keep all your custom settings that need to be saved between sessions in a prefs file or a database. Otherwise you set yourself up for a lot of support calls trying to deal with user permissions and sandboxing both now and in the future. From brahma at hindu.org Sun Feb 10 07:48:44 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 10 Feb 2019 12:48:44 +0000 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: References: <3a62abab-64b9-8195-022d-50e5f6382dce@fourthworld.com> Message-ID: <4AA6A358-CFD0-4729-A3FF-59B2CFC1F01C@hindu.org> Little story: Yesterday, early the morning, I was on 10.4.2. "Sadly" I thought Navigator would not save preferences. Went back to work, thinking the IDE has lost some globals, or messages, it crashes for me all the time now, at least once a day. No point sending in reports, Panos says "cannot reproduce..." Besides, two other programs unrelated, will suddenly "wink out" I say that, because, you may be doing something else, the application is not experiencing any "user operations". Suddenly it crashes and you get a crash report. It's as if a gremlin in the background is issuing a "Kill process." Although it also happens in the IDE, especially when dragging a control from the tool bar onto a stack. I always save, hold my breath now when create a button, drag it the tools pallet "Oh no! the IDE crashed, again...sigh" Now, that seems unrelated... but Not paying much attention update notices. Busy getting work done. I hard to reboot. Ha! big update got installed. OS X 10.4.3 Now, this morning Navigator prefs are saved.... Yay! Having done nothing else, one is tempted to say, it was a "mysterious OS thing" I never had time to investigate... Rick: I'll try Avast BR Bill wrote: So I used diskutility to repair the system drive, then updated the os to 10.14.3. From brian at milby7.com Sun Feb 10 09:55:11 2019 From: brian at milby7.com (Brian Milby) Date: Sun, 10 Feb 2019 09:55:11 -0500 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: <4AA6A358-CFD0-4729-A3FF-59B2CFC1F01C@hindu.org> References: <3a62abab-64b9-8195-022d-50e5f6382dce@fourthworld.com> <4AA6A358-CFD0-4729-A3FF-59B2CFC1F01C@hindu.org> Message-ID: <7ff77604-758d-4d89-8a3b-651f46866ab3@Spark> Guess I waited until the right time to go from 10.12 to 10.14 :grin: I?ll be doing that upgrade in the next couple weeks. Thanks, Brian On Feb 10, 2019, 7:49 AM -0500, Sannyasin Brahmanathaswami via use-livecode , wrote: > Little story: Yesterday, early the morning, I was on 10.4.2. "Sadly" I thought Navigator would not save preferences. Went back to work, thinking the IDE has lost some globals, or messages, it crashes for me all the time now, at least once a day. No point sending in reports, Panos says "cannot reproduce..." > > Besides, two other programs unrelated, will suddenly "wink out" I say that, because, you may be doing something else, the application is not experiencing any "user operations". Suddenly it crashes and you get a crash report. It's as if a gremlin in the background is issuing a "Kill process." Although it also happens in the IDE, especially when dragging a control from the tool bar onto a stack. I always save, hold my breath now when create a button, drag it the tools pallet "Oh no! the IDE crashed, again...sigh" Now, that seems unrelated... but > > Not paying much attention update notices. Busy getting work done. I hard to reboot. Ha! big update got installed. OS X 10.4.3 > > Now, this morning Navigator prefs are saved.... Yay! Having done nothing else, one is tempted to say, it was a "mysterious OS thing" > > I never had time to investigate... Rick: I'll try Avast > > BR > > Bill wrote: So I used diskutility to repair the system drive, then updated the os to 10.14.3. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Feb 10 10:57:44 2019 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 10 Feb 2019 17:57:44 +0200 Subject: Android SDK Message-ID: <59ac8559-1575-27c2-ed57-54d6fad3ddc0@gmail.com> I have just installed Android studio on my Mac Mini and seem unable to link my LiveCode 9.0.0 installation to the SDK because LiveCode seems unable to "see" my User/library folder. Richmond. From brian at milby7.com Sun Feb 10 12:56:47 2019 From: brian at milby7.com (Brian Milby) Date: Sun, 10 Feb 2019 12:56:47 -0500 Subject: Android SDK In-Reply-To: <59ac8559-1575-27c2-ed57-54d6fad3ddc0@gmail.com> References: <59ac8559-1575-27c2-ed57-54d6fad3ddc0@gmail.com> Message-ID: <17d6b64f-9e63-4fbf-b7b7-135da76b27a2@Spark> You can drag it into the window (reported in another thread) or you can create a shortcut to the folder that you can navigate to. Thanks, Brian On Feb 10, 2019, 10:58 AM -0500, Richmond via use-livecode , wrote: > I have just installed Android studio on my Mac Mini and seem unable to > link my > LiveCode 9.0.0 installation to the SDK because LiveCode seems unable to > "see" > my User/library folder. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Sun Feb 10 17:54:31 2019 From: hh at hyperhh.de (hh) Date: Sun, 10 Feb 2019 23:54:31 +0100 Subject: Android SDK Message-ID: <18939CD3-9335-41E3-918A-8734D729C9D1@hyperhh.de> > Richmond wrote: > because LiveCode seems unable to "see" my User/library folder. A simple way that you (and LiveCode) can see the Library Folder: Select your home folder in the finder. Hit cmd-J (= View >Show View Options) and check "Show Library Folder". From waprothero at gmail.com Sun Feb 10 18:04:55 2019 From: waprothero at gmail.com (William Prothero) Date: Sun, 10 Feb 2019 15:04:55 -0800 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: <7ff77604-758d-4d89-8a3b-651f46866ab3@Spark> References: <3a62abab-64b9-8195-022d-50e5f6382dce@fourthworld.com> <4AA6A358-CFD0-4729-A3FF-59B2CFC1F01C@hindu.org> <7ff77604-758d-4d89-8a3b-651f46866ab3@Spark> Message-ID: <007DD5C4-3895-4EB8-B74A-ABDE8969A262@gmail.com> Problem solved, but first: I found that BitDefender kept deleting the ?Safe Application? setting for ?Livecode Business 9.0.2?, so it blocked writing to the Devo Prefs file. The OS wouldn?t let me delete the library files associated with BitDefender. I also found that there were un-fixable errors in my boot drive, which is an SSD drive. I wanted to delete all anti-virus files and CleanMyMac, which contained both version 3 and X. I also needed to deal with the boot drive disc errors, which DiskUtility couldn?t fix. I was going to have to completely erase and reformat the boot drive. Fortunately, my boot drive was still functioning mostly normally. First I booted my computer from an external drive that I had created a couple of weeks ago using SuperDuper. Then I deleted all Library files related to BitDefender and CleanMyMac. I think I got all of them, but may have missed something. Next I created a disc image big enough to hold all of my boot drive content (on an external drive), so I could restore it after reformatting. I used SuperDuper to copy my boot drive content to the disc image. Then I reformatted my original boot drive and after that, used SuperDuper to copy the disc image contents back to my original boot drive. I checked that the Devo prefs were being updated correctly, and yes, they were. Problem solved. I?m a bit afraid to leave off a virus protection program though. Anybody have recommendations? Best, Bill > On Feb 10, 2019, at 6:55 AM, Brian Milby via use-livecode wrote: > > Guess I waited until the right time to go from 10.12 to 10.14 :grin: > I?ll be doing that upgrade in the next couple weeks. > > Thanks, > Brian > On Feb 10, 2019, 7:49 AM -0500, Sannyasin Brahmanathaswami via use-livecode , wrote: >> Little story: Yesterday, early the morning, I was on 10.4.2. "Sadly" I thought Navigator would not save preferences. Went back to work, thinking the IDE has lost some globals, or messages, it crashes for me all the time now, at least once a day. No point sending in reports, Panos says "cannot reproduce..." >> >> Besides, two other programs unrelated, will suddenly "wink out" I say that, because, you may be doing something else, the application is not experiencing any "user operations". Suddenly it crashes and you get a crash report. It's as if a gremlin in the background is issuing a "Kill process." Although it also happens in the IDE, especially when dragging a control from the tool bar onto a stack. I always save, hold my breath now when create a button, drag it the tools pallet "Oh no! the IDE crashed, again...sigh" Now, that seems unrelated... but >> >> Not paying much attention update notices. Busy getting work done. I hard to reboot. Ha! big update got installed. OS X 10.4.3 >> >> Now, this morning Navigator prefs are saved.... Yay! Having done nothing else, one is tempted to say, it was a "mysterious OS thing" >> >> I never had time to investigate... Rick: I'll try Avast >> >> BR >> >> Bill wrote: So I used diskutility to repair the system drive, then updated the os to 10.14.3. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephen at barncard.com Sun Feb 10 18:46:23 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sun, 10 Feb 2019 15:46:23 -0800 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: <007DD5C4-3895-4EB8-B74A-ABDE8969A262@gmail.com> References: <3a62abab-64b9-8195-022d-50e5f6382dce@fourthworld.com> <4AA6A358-CFD0-4729-A3FF-59B2CFC1F01C@hindu.org> <7ff77604-758d-4d89-8a3b-651f46866ab3@Spark> <007DD5C4-3895-4EB8-B74A-ABDE8969A262@gmail.com> Message-ID: "I?m a bit afraid to leave off a virus protection program though. Anybody have recommendations?" most likely you don't need one. I have never used one on a mac since 1983. Just practice safe computing. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sun, Feb 10, 2019 at 3:05 PM William Prothero via use-livecode < use-livecode at lists.runrev.com> wrote: > Problem solved, but first: > I found that BitDefender kept deleting the ?Safe Application? setting for > ?Livecode Business 9.0.2?, so it blocked writing to the Devo Prefs file. > The OS wouldn?t let me delete the library files associated with > BitDefender. I also found that there were un-fixable errors in my boot > drive, which is an SSD drive. I wanted to delete all anti-virus files and > CleanMyMac, which contained both version 3 and X. I also needed to deal > with the boot drive disc errors, which DiskUtility couldn?t fix. I was > going to have to completely erase and reformat the boot drive. Fortunately, > my boot drive was still functioning mostly normally. > > First I booted my computer from an external drive that I had created a > couple of weeks ago using SuperDuper. Then I deleted all Library files > related to BitDefender and CleanMyMac. I think I got all of them, but may > have missed something. > > Next I created a disc image big enough to hold all of my boot drive > content (on an external drive), so I could restore it after reformatting. I > used SuperDuper to copy my boot drive content to the disc image. Then I > reformatted my original boot drive and after that, used SuperDuper to copy > the disc image contents back to my original boot drive. > > I checked that the Devo prefs were being updated correctly, and yes, they > were. Problem solved. > > I?m a bit afraid to leave off a virus protection program though. Anybody > have recommendations? > > Best, > Bill > > > > On Feb 10, 2019, at 6:55 AM, Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Guess I waited until the right time to go from 10.12 to 10.14 :grin: > > I?ll be doing that upgrade in the next couple weeks. > > > > Thanks, > > Brian > > On Feb 10, 2019, 7:49 AM -0500, Sannyasin Brahmanathaswami via > use-livecode , wrote: > >> Little story: Yesterday, early the morning, I was on 10.4.2. "Sadly" I > thought Navigator would not save preferences. Went back to work, thinking > the IDE has lost some globals, or messages, it crashes for me all the time > now, at least once a day. No point sending in reports, Panos says "cannot > reproduce..." > >> > >> Besides, two other programs unrelated, will suddenly "wink out" I say > that, because, you may be doing something else, the application is not > experiencing any "user operations". Suddenly it crashes and you get a crash > report. It's as if a gremlin in the background is issuing a "Kill process." > Although it also happens in the IDE, especially when dragging a control > from the tool bar onto a stack. I always save, hold my breath now when > create a button, drag it the tools pallet "Oh no! the IDE crashed, > again...sigh" Now, that seems unrelated... but > >> > >> Not paying much attention update notices. Busy getting work done. I > hard to reboot. Ha! big update got installed. OS X 10.4.3 > >> > >> Now, this morning Navigator prefs are saved.... Yay! Having done > nothing else, one is tempted to say, it was a "mysterious OS thing" > >> > >> I never had time to investigate... Rick: I'll try Avast > >> > >> BR > >> > >> Bill wrote: So I used diskutility to repair the system drive, then > updated the os to 10.14.3. > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Sun Feb 10 19:21:09 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 10 Feb 2019 19:21:09 -0500 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: <007DD5C4-3895-4EB8-B74A-ABDE8969A262@gmail.com> References: <3a62abab-64b9-8195-022d-50e5f6382dce@fourthworld.com> <4AA6A358-CFD0-4729-A3FF-59B2CFC1F01C@hindu.org> <7ff77604-758d-4d89-8a3b-651f46866ab3@Spark> <007DD5C4-3895-4EB8-B74A-ABDE8969A262@gmail.com> Message-ID: Hi Bill, Try Avast! https://www.avast.com/en-us/index#mac Rick > On Feb 10, 2019, at 6:04 PM, William Prothero via use-livecode wrote: > > Problem solved, but first: > I found that BitDefender kept deleting the ?Safe Application? setting for ?Livecode Business 9.0.2?, so it blocked writing to the Devo Prefs file. The OS wouldn?t let me delete the library files associated with BitDefender. I also found that there were un-fixable errors in my boot drive, which is an SSD drive. I wanted to delete all anti-virus files and CleanMyMac, which contained both version 3 and X. I also needed to deal with the boot drive disc errors, which DiskUtility couldn?t fix. I was going to have to completely erase and reformat the boot drive. Fortunately, my boot drive was still functioning mostly normally. > > First I booted my computer from an external drive that I had created a couple of weeks ago using SuperDuper. Then I deleted all Library files related to BitDefender and CleanMyMac. I think I got all of them, but may have missed something. > > Next I created a disc image big enough to hold all of my boot drive content (on an external drive), so I could restore it after reformatting. I used SuperDuper to copy my boot drive content to the disc image. Then I reformatted my original boot drive and after that, used SuperDuper to copy the disc image contents back to my original boot drive. > > I checked that the Devo prefs were being updated correctly, and yes, they were. Problem solved. > > I?m a bit afraid to leave off a virus protection program though. Anybody have recommendations? > > Best, > Bill > > >> On Feb 10, 2019, at 6:55 AM, Brian Milby via use-livecode wrote: >> >> Guess I waited until the right time to go from 10.12 to 10.14 :grin: >> I?ll be doing that upgrade in the next couple weeks. >> >> Thanks, >> Brian >> On Feb 10, 2019, 7:49 AM -0500, Sannyasin Brahmanathaswami via use-livecode , wrote: >>> Little story: Yesterday, early the morning, I was on 10.4.2. "Sadly" I thought Navigator would not save preferences. Went back to work, thinking the IDE has lost some globals, or messages, it crashes for me all the time now, at least once a day. No point sending in reports, Panos says "cannot reproduce..." >>> >>> Besides, two other programs unrelated, will suddenly "wink out" I say that, because, you may be doing something else, the application is not experiencing any "user operations". Suddenly it crashes and you get a crash report. It's as if a gremlin in the background is issuing a "Kill process." Although it also happens in the IDE, especially when dragging a control from the tool bar onto a stack. I always save, hold my breath now when create a button, drag it the tools pallet "Oh no! the IDE crashed, again...sigh" Now, that seems unrelated... but >>> >>> Not paying much attention update notices. Busy getting work done. I hard to reboot. Ha! big update got installed. OS X 10.4.3 >>> >>> Now, this morning Navigator prefs are saved.... Yay! Having done nothing else, one is tempted to say, it was a "mysterious OS thing" >>> >>> I never had time to investigate... Rick: I'll try Avast >>> >>> BR >>> >>> Bill wrote: So I used diskutility to repair the system drive, then updated the os to 10.14.3. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Feb 11 00:13:55 2019 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 11 Feb 2019 07:13:55 +0200 Subject: Android SDK In-Reply-To: <18939CD3-9335-41E3-918A-8734D729C9D1@hyperhh.de> References: <18939CD3-9335-41E3-918A-8734D729C9D1@hyperhh.de> Message-ID: Thank you; that did the trick. Richmond. On Mon, Feb 11, 2019, 12:55 AM hh via use-livecode < use-livecode at lists.runrev.com> wrote: > > Richmond wrote: > > because LiveCode seems unable to "see" my User/library folder. > > A simple way that you (and LiveCode) can see the Library Folder: > > Select your home folder in the finder. Hit cmd-J (= View >Show View > Options) > and check "Show Library Folder". > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Mon Feb 11 00:47:22 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 10 Feb 2019 21:47:22 -0800 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: <007DD5C4-3895-4EB8-B74A-ABDE8969A262@gmail.com> References: <007DD5C4-3895-4EB8-B74A-ABDE8969A262@gmail.com> Message-ID: <058505d4-e546-a6af-2343-d98db637a6c2@fourthworld.com> William Prothero wrote: > I?m a bit afraid to leave off a virus protection program though. > Anybody have recommendations? Upgrade to one of the most secure OSes on the planet: https://www.qubes-os.org/ But why run it on stock hardware when you can have the world's most secure laptop for under $1400?: https://puri.sm :) Or follow Stephen's guidance. But really, the Purism Librem is a nice machine, and you can order it with QubesOS preinstalled. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From panos.merakos at livecode.com Mon Feb 11 09:25:09 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 11 Feb 2019 16:25:09 +0200 Subject: [ANN] This Week in LiveCode 167 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #167 here: https://goo.gl/N9ApM6 This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From bobsneidar at iotecdigital.com Mon Feb 11 10:53:41 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 11 Feb 2019 15:53:41 +0000 Subject: Datagrid Table - Allow editing a field only when an other field contains data In-Reply-To: References: <8CDBD00F-7EEB-405A-B531-A210DAF9F7E9@iotecdigital.com> Message-ID: I don't know why I didn't know about this. Is it something new in the Datagrid Library? I have been getting the hilitedIndex, then the dataOfIndex, then the value of one of the keys. Sometimes all I need is one value, so this is much better! Bob S > GetDataOfIndex(pIndex, pKey) From bobsneidar at iotecdigital.com Mon Feb 11 10:59:30 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 11 Feb 2019 15:59:30 +0000 Subject: Datagrid Table - Allow editing a field only when an other field contains data In-Reply-To: <7A09924F-96FA-425E-91E8-9D7BCBAB5C4F@m-r-d.de> References: <8CDBD00F-7EEB-405A-B531-A210DAF9F7E9@iotecdigital.com> <7A09924F-96FA-425E-91E8-9D7BCBAB5C4F@m-r-d.de> Message-ID: <1937EFA7-96E3-4E7F-9F58-8C15909D1C45@iotecdigital.com> Yeah, when we first began to brainstorm about a real table object, some people wanted just a simple row,column object where each column, row or cell could be formatted a certain way. Others asked for more complex things. What we got then was a programmable table object that a developer could code to do pretty much anything he wanted it to do. The datagrid library is like a new extension of Livecode Script. What I find however as with other languages I've dabbled in, is that I never need or use the full set of commands and functions, but only a subset of them as needed, and I become very familiar with those. I code out of necessity. :-) As a result I'm pretty good with tables, but customizing display based on data I haven't toyed with much, and form datagrids not at all. Bob S > On Feb 9, 2019, at 09:16 , Matthias Rebbe via use-livecode wrote: > > @Bob S > Thanks for the link. Visited it and realised again that DG is very complex. ;) From bobsneidar at iotecdigital.com Mon Feb 11 11:08:11 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 11 Feb 2019 16:08:11 +0000 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: References: <3a62abab-64b9-8195-022d-50e5f6382dce@fourthworld.com> <4AA6A358-CFD0-4729-A3FF-59B2CFC1F01C@hindu.org> <7ff77604-758d-4d89-8a3b-651f46866ab3@Spark> <007DD5C4-3895-4EB8-B74A-ABDE8969A262@gmail.com> Message-ID: +1 I know Windows people sometimes think this is a bit reckless, bordering on arrogant, but facts is facts as they say, and for whatever reason, MacOS has very few exploits, and all that I have seen require the end user to do something foolish, like click OK in a dialog which they have no reason to expect. Bob S > "I?m a bit afraid to leave off a virus protection program though. Anybody > have recommendations?" > > most likely you don't need one. I have never used one on a mac since 1983. > Just practice safe computing. > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org From harrison at all-auctions.com Mon Feb 11 12:06:26 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 11 Feb 2019 12:06:26 -0500 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: <058505d4-e546-a6af-2343-d98db637a6c2@fourthworld.com> References: <007DD5C4-3895-4EB8-B74A-ABDE8969A262@gmail.com> <058505d4-e546-a6af-2343-d98db637a6c2@fourthworld.com> Message-ID: Richard, Is anyone running LiveCode on it yet? Rick > On Feb 11, 2019, at 12:47 AM, Richard Gaskin via use-livecode wrote: > > Upgrade to one of the most secure OSes on the planet: > https://www.qubes-os.org/ > > But why run it on stock hardware when you can have the world's most secure laptop for under $1400?: > https://puri.sm From ambassador at fourthworld.com Mon Feb 11 12:14:52 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 11 Feb 2019 09:14:52 -0800 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: References: Message-ID: <29584c45-55b1-e626-7be2-a27055b9a8c7@fourthworld.com> It's a Linux so one could, though the world's a big place so it's hard to be sure if anyone actually is. If you'd like to have a Librem laptop sent to my office I'll be able to answer that question affirmatively. :) -- Richard Gaskin Fourth World Systems Rick Harrison wrote: > > Richard, > > Is anyone running LiveCode on it yet? > > Rick > >> On Feb 11, 2019, at 12:47 AM, Richard Gaskin wrote: >> >> Upgrade to one of the most secure OSes on the planet: >> https://www.qubes-os.org/ >> >> But why run it on stock hardware when you can have the world's most >> secure laptop for under $1400?: >> https://puri.sm From matthias_livecode_150811 at m-r-d.de Mon Feb 11 12:40:58 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 11 Feb 2019 18:40:58 +0100 Subject: Datagrid Table - Allow editing a field only when an other field contains data In-Reply-To: <1937EFA7-96E3-4E7F-9F58-8C15909D1C45@iotecdigital.com> References: <8CDBD00F-7EEB-405A-B531-A210DAF9F7E9@iotecdigital.com> <7A09924F-96FA-425E-91E8-9D7BCBAB5C4F@m-r-d.de> <1937EFA7-96E3-4E7F-9F58-8C15909D1C45@iotecdigital.com> Message-ID: Same here. mostly of the time i just use the dgText property to fill and read the table content of a datagrid, because i use the DG only as "normal" table, but with DG features the normal table field does not have, like easy column resizing, column reorder. This and the awesome Datagrid Helper from Zryip is all i need to get it working. The DGH plugin is so powerful and it?s so easy to configure and modify the DG. But sometimes there is a need to go deeper into the DG api and that?s where i always get stuck. ;) Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 11.02.2019 um 16:59 schrieb Bob Sneidar via use-livecode >: > > Yeah, when we first began to brainstorm about a real table object, some people wanted just a simple row,column object where each column, row or cell could be formatted a certain way. Others asked for more complex things. What we got then was a programmable table object that a developer could code to do pretty much anything he wanted it to do. The datagrid library is like a new extension of Livecode Script. > > What I find however as with other languages I've dabbled in, is that I never need or use the full set of commands and functions, but only a subset of them as needed, and I become very familiar with those. I code out of necessity. :-) As a result I'm pretty good with tables, but customizing display based on data I haven't toyed with much, and form datagrids not at all. > > Bob S > > >> On Feb 9, 2019, at 09:16 , Matthias Rebbe via use-livecode > wrote: >> >> @Bob S >> Thanks for the link. Visited it and realised again that DG is very complex. ;) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Mon Feb 11 13:50:37 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 11 Feb 2019 10:50:37 -0800 Subject: Bay Area Maker Faire Message-ID: FYI for anyone coming to the LiveCode conference in May... the Bay Area Maker Faire is the previous weekend at the fairgrounds in nearby San Mateo. If you're making travel plans, it's worth coming a day or two early to catch the Faire. https://makerfaire.com/bay-area/ Why is there (almost) nothing on the web site about the conference? Seems every time I look at the web site it gets worse. The only notice I could find about the conference is in tiny text at the bottom in the sitemap. You have to already know there's a conference coming up in order to search all over the page in order to find the link. Srsly? The earlybird conference price has now dropped to $99? WTF? My earlybird ticket cost six times that much. If the price drop is because you're having trouble getting people to sign up for the conference then maybe that's because THERE'S NO MENTION OF IT ON THE WEBSITE. How about doing some outreach/advertising? Do I get a refund? -- Mark Wieder ahsoftware at gmail.com From jjs at krutt.org Mon Feb 11 13:54:45 2019 From: jjs at krutt.org (JJS) Date: Mon, 11 Feb 2019 19:54:45 +0100 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: References: <3a62abab-64b9-8195-022d-50e5f6382dce@fourthworld.com> <4AA6A358-CFD0-4729-A3FF-59B2CFC1F01C@hindu.org> <7ff77604-758d-4d89-8a3b-651f46866ab3@Spark> <007DD5C4-3895-4EB8-B74A-ABDE8969A262@gmail.com> Message-ID: Note that Avast is not privacy safe. On 11-02-19 01:21, Rick Harrison via use-livecode wrote: > Hi Bill, > > Try Avast! > > https://www.avast.com/en-us/index#mac > > Rick > >> On Feb 10, 2019, at 6:04 PM, William Prothero via use-livecode wrote: >> >> Problem solved, but first: >> I found that BitDefender kept deleting the ?Safe Application? setting for ?Livecode Business 9.0.2?, so it blocked writing to the Devo Prefs file. The OS wouldn?t let me delete the library files associated with BitDefender. I also found that there were un-fixable errors in my boot drive, which is an SSD drive. I wanted to delete all anti-virus files and CleanMyMac, which contained both version 3 and X. I also needed to deal with the boot drive disc errors, which DiskUtility couldn?t fix. I was going to have to completely erase and reformat the boot drive. Fortunately, my boot drive was still functioning mostly normally. >> >> First I booted my computer from an external drive that I had created a couple of weeks ago using SuperDuper. Then I deleted all Library files related to BitDefender and CleanMyMac. I think I got all of them, but may have missed something. >> >> Next I created a disc image big enough to hold all of my boot drive content (on an external drive), so I could restore it after reformatting. I used SuperDuper to copy my boot drive content to the disc image. Then I reformatted my original boot drive and after that, used SuperDuper to copy the disc image contents back to my original boot drive. >> >> I checked that the Devo prefs were being updated correctly, and yes, they were. Problem solved. >> >> I?m a bit afraid to leave off a virus protection program though. Anybody have recommendations? >> >> Best, >> Bill >> >> >>> On Feb 10, 2019, at 6:55 AM, Brian Milby via use-livecode wrote: >>> >>> Guess I waited until the right time to go from 10.12 to 10.14 :grin: >>> I?ll be doing that upgrade in the next couple weeks. >>> >>> Thanks, >>> Brian >>> On Feb 10, 2019, 7:49 AM -0500, Sannyasin Brahmanathaswami via use-livecode , wrote: >>>> Little story: Yesterday, early the morning, I was on 10.4.2. "Sadly" I thought Navigator would not save preferences. Went back to work, thinking the IDE has lost some globals, or messages, it crashes for me all the time now, at least once a day. No point sending in reports, Panos says "cannot reproduce..." >>>> >>>> Besides, two other programs unrelated, will suddenly "wink out" I say that, because, you may be doing something else, the application is not experiencing any "user operations". Suddenly it crashes and you get a crash report. It's as if a gremlin in the background is issuing a "Kill process." Although it also happens in the IDE, especially when dragging a control from the tool bar onto a stack. I always save, hold my breath now when create a button, drag it the tools pallet "Oh no! the IDE crashed, again...sigh" Now, that seems unrelated... but >>>> >>>> Not paying much attention update notices. Busy getting work done. I hard to reboot. Ha! big update got installed. OS X 10.4.3 >>>> >>>> Now, this morning Navigator prefs are saved.... Yay! Having done nothing else, one is tempted to say, it was a "mysterious OS thing" >>>> >>>> I never had time to investigate... Rick: I'll try Avast >>>> >>>> BR >>>> >>>> Bill wrote: So I used diskutility to repair the system drive, then updated the os to 10.14.3. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Feb 11 14:31:55 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 11 Feb 2019 21:31:55 +0200 Subject: macOS 10.14.4 beta and LiveCode Message-ID: LiveCode 8.1.10 Community consistently crashes on macOS 10.14.4 beta [this is probably of no interest to LiveCode central, but it is to me and I wonder what "deprecated" means in the context of the LiveCode 9.0.2 Standalone settings stack.] LC 9.0.0 seems to function without any problems, as do 9.0.1 and 9.0.2. Richmond. From rdimola at evergreeninfo.net Mon Feb 11 14:55:12 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 11 Feb 2019 14:55:12 -0500 Subject: Bay Area Maker Faire In-Reply-To: References: Message-ID: <008401d4c243$b5fde620$21f9b260$@net> Thanks for the Heads up we're coming in on Thursday! The early bird price is $99 for the conference only. You can now buy a la cart. Add-ons include the party and the one-on-ones... If you add up all the add-ons it comes to $595.(what I did). Agreed, the website should have a more obvious conference link. I liked when the conference price included the hotel. It was not only convenient one-stop-shopping but also had the advantage that everyone was in the same hotel(or two). Group rates are always lower. We're staying at the Hotel Clariana. It looks to be 2 blocks from the theater. No legend on the map so I don't actually know how long those blocks are. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Wieder via use-livecode Sent: Monday, February 11, 2019 1:51 PM To: use-livecode at lists.runrev.com Cc: Mark Wieder Subject: Bay Area Maker Faire FYI for anyone coming to the LiveCode conference in May... the Bay Area Maker Faire is the previous weekend at the fairgrounds in nearby San Mateo. If you're making travel plans, it's worth coming a day or two early to catch the Faire. https://makerfaire.com/bay-area/ Why is there (almost) nothing on the web site about the conference? Seems every time I look at the web site it gets worse. The only notice I could find about the conference is in tiny text at the bottom in the sitemap. You have to already know there's a conference coming up in order to search all over the page in order to find the link. Srsly? The earlybird conference price has now dropped to $99? WTF? My earlybird ticket cost six times that much. If the price drop is because you're having trouble getting people to sign up for the conference then maybe that's because THERE'S NO MENTION OF IT ON THE WEBSITE. How about doing some outreach/advertising? Do I get a refund? -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Mon Feb 11 14:52:28 2019 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 11 Feb 2019 19:52:28 +0000 Subject: Android SDK In-Reply-To: <59ac8559-1575-27c2-ed57-54d6fad3ddc0@gmail.com> References: <59ac8559-1575-27c2-ed57-54d6fad3ddc0@gmail.com> Message-ID: <8E866447-DD1F-4D33-B336-D14F1D8D129A@byu.edu> I just went through this with my class. To show your user library folder: 1. Open the Terminal application on your Mac, located in /Applications/Utilities. 2. Enter the following command and hit return: chflags nohidden ~/Library 3. You should now be able to see your Library folder, both in the Finder and in LiveCode. > On Feb 10, 2019, at 8:57 AM, Richmond via use-livecode wrote: > > I have just installed Android studio on my Mac Mini and seem unable to link my > LiveCode 9.0.0 installation to the SDK because LiveCode seems unable to "see" > my User/library folder. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From kee.nethery at elloco.com Mon Feb 11 15:31:30 2019 From: kee.nethery at elloco.com (kee nethery) Date: Mon, 11 Feb 2019 12:31:30 -0800 Subject: Bay Area Maker Faire In-Reply-To: References: Message-ID: <1C318D07-7F77-4661-AC81-510FB740F559@elloco.com> I go to the Bay Area Maker Faire each year. I?ll be there this year. It?s a pretty amazing event. The creativity on display of things people have built is astonishing. Cube Satellites, robots, drones, sewn objects, all sorts of stuff, very inspirational. Kee From harrison at all-auctions.com Mon Feb 11 16:03:20 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 11 Feb 2019 16:03:20 -0500 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: <29584c45-55b1-e626-7be2-a27055b9a8c7@fourthworld.com> References: <29584c45-55b1-e626-7be2-a27055b9a8c7@fourthworld.com> Message-ID: <5CDDD9EF-054D-4373-A6DD-1753855E5889@all-auctions.com> Richard, Yes I noticed it was Linux, so supposedly LiveCode could run on it. I was just hoping for a confirmation from someone. If I get a Librem laptop I suppose I can answer the question myself, and thankfully cut out the middle man. Doh, I guess that would be you. ;-) (If I were to get rich soon, I would send one to you, so wish me luck!) Rick > On Feb 11, 2019, at 12:14 PM, Richard Gaskin via use-livecode wrote: > > It's a Linux so one could, though the world's a big place so it's hard to be sure if anyone actually is. > > If you'd like to have a Librem laptop sent to my office I'll be able to answer that question affirmatively. :) > > -- > Richard Gaskin > Fourth World Systems From harrison at all-auctions.com Mon Feb 11 16:13:25 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 11 Feb 2019 16:13:25 -0500 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: References: <3a62abab-64b9-8195-022d-50e5f6382dce@fourthworld.com> <4AA6A358-CFD0-4729-A3FF-59B2CFC1F01C@hindu.org> <7ff77604-758d-4d89-8a3b-651f46866ab3@Spark> <007DD5C4-3895-4EB8-B74A-ABDE8969A262@gmail.com> Message-ID: <3E99D294-4230-4D6E-B8C3-452D5EEBDC2F@all-auctions.com> Hi JJS, Could you please elaborate on this point? It seems to me that any anti-virus is not privacy safe as they all check every file on your computer system for viruses, and usually share such information back to the company so they can continue to improve their product. Thanks, Rick > On Feb 11, 2019, at 1:54 PM, JJS via use-livecode wrote: > > Note that Avast is not privacy safe. From jjs at krutt.org Mon Feb 11 15:32:34 2019 From: jjs at krutt.org (JJS) Date: Mon, 11 Feb 2019 21:32:34 +0100 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: <3E99D294-4230-4D6E-B8C3-452D5EEBDC2F@all-auctions.com> References: <3a62abab-64b9-8195-022d-50e5f6382dce@fourthworld.com> <4AA6A358-CFD0-4729-A3FF-59B2CFC1F01C@hindu.org> <7ff77604-758d-4d89-8a3b-651f46866ab3@Spark> <007DD5C4-3895-4EB8-B74A-ABDE8969A262@gmail.com> <3E99D294-4230-4D6E-B8C3-452D5EEBDC2F@all-auctions.com> Message-ID: <3ffb649a-a441-d468-b0cc-ed1faef715bd@krutt.org> Hi Rick, well it was a year or 2 back, there was a message that it would send device info and god knows what else data back to them(not just virus info), which i could not decline other then get rid of it. Maybe in the meanwhile, with the GDPR stuff, they've changed it. But it was the reason why i kicked it off. And then i don't go back to it, even if it's for free. My trust was gone. Even in NL last year it was issued not to use Kaspersky anymore. Although Kasperksy claimed to not be involved with russian government actions. They even moved to Switzerland if i'm correct, to gain confidence. Regards, Jerry Op 11-2-2019 om 22:13 schreef Rick Harrison via use-livecode: > Hi JJS, > > Could you please elaborate on this point? > > It seems to me that any anti-virus is not > privacy safe as they all check every file > on your computer system for viruses, and > usually share such information back to the > company so they can continue to improve > their product. > > Thanks, > > Rick > >> On Feb 11, 2019, at 1:54 PM, JJS via use-livecode wrote: >> >> Note that Avast is not privacy safe. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Mon Feb 11 16:43:05 2019 From: irog at mac.com (Roger Guay) Date: Mon, 11 Feb 2019 14:43:05 -0700 Subject: Replacing GlobalNames with Global Values Message-ID: <4318405B-1CA9-4C0C-B6C1-B9FE0550311C@mac.com> Hi all, I can?t seem to come up with a succinct way of doing this: I have a mathematical expression such as gGlobal1*gGlobal2/cos(gGlobal3) = SomeValue and I want to replace the global names with the values previously saved to those Globals so as to show the entire expression with individual global values filled in, e.g. number1*number2/cos(number3) = SomeValue I would appreciate your help. Thanks, Roger From monte at appisle.net Mon Feb 11 16:53:54 2019 From: monte at appisle.net (Monte Goulding) Date: Tue, 12 Feb 2019 08:53:54 +1100 Subject: Replacing GlobalNames with Global Values In-Reply-To: <4318405B-1CA9-4C0C-B6C1-B9FE0550311C@mac.com> References: <4318405B-1CA9-4C0C-B6C1-B9FE0550311C@mac.com> Message-ID: <2F2B6A84-D7EB-4D19-9312-A98E9A801833@appisle.net> Do you mean as a string? put format(?%f*%f/cos(%f) = %f?, gGlobal1, gGlobal2, gGlobal3, gGlobal1*gGlobal2/cos(gGlobal3)) > On 12 Feb 2019, at 8:43 am, Roger Guay via use-livecode wrote: > > Hi all, > > I can?t seem to come up with a succinct way of doing this: > > I have a mathematical expression such as > > gGlobal1*gGlobal2/cos(gGlobal3) = SomeValue > > and I want to replace the global names with the values previously saved to those Globals so as to show the entire expression with individual global values filled in, e.g. > > number1*number2/cos(number3) = SomeValue > > > > I would appreciate your help. > > Thanks, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Mon Feb 11 17:15:27 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 11 Feb 2019 17:15:27 -0500 Subject: macOS 10.14.4 beta and LiveCode In-Reply-To: References: Message-ID: <7153C353-ABAD-46BA-9ACB-C0E652A9A230@all-auctions.com> Hi Richmond, Never depend on a beta version for anything. Especially if it is something important. Use a stable version of macOS 10.14.3 and see if you get the same result. I think the mothership gave up support for version 8 when version 9 was released, I?m not sure if the community still supports version 8 though, perhaps they still do? Let us know what you find out. Rick > On Feb 11, 2019, at 2:31 PM, Richmond via use-livecode wrote: > > LiveCode 8.1.10 Community consistently crashes on macOS 10.14.4 beta From matthias_livecode_150811 at m-r-d.de Mon Feb 11 18:49:52 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 12 Feb 2019 00:49:52 +0100 Subject: Datagridhelper iOS Scroller when using 2 Datagrids on one card Message-ID: <73BA9277-E024-4961-A36C-75D70B67D9D0@m-r-d.de> Hi, in an iOS app i need to use 2 Datagrids, lets say DG1 and DG2, on one card. The datagrids have the same location on the card and are shown and hided with a button. After adding content to DG1 i send "DGHiOs_CreateScroller" to it to create the scroller. When i switch to DG2 by setting the visible of DG1 to false and the visbile for DG2 to true and switch back after some time to DG1 the scroller of DG1 is not working anymore. Sending again "DGHiOS_CreateScroller" to it does not work. Tried also to delete the scroller of DG1 before switching to DG2 and vice versa. What are the correct steps to get iOS Scrollers working with each of the Datagrids? Is there something special i have to keep in mind? Regards, Matthias From hh at hyperhh.de Mon Feb 11 21:15:48 2019 From: hh at hyperhh.de (hh) Date: Tue, 12 Feb 2019 03:15:48 +0100 Subject: Widget TurnImage89_v135 Message-ID: While making another example stack for the TurnImage widget I missed some features and added them to the widget. So we have now in version 1.3.5: (1) The two images are now also saved with the widget. (2) The sometimes appearing stripes when animating are gone. (3) The rotation axes can optionally be set to 9 combinations: three for the xAxis (top, midth, bottom) by three for the yAxis (left midth, right). Feature (3) allows turning pages effects as for books, see the example in "FlipCards2". Find the new version of TurnImage on "Sample stacks" or at http://livecodeshare.runrev.com/stack/929/ The second example stack "FlipCards2" is also available on "Sample Stacks" or at http://livecodeshare.runrev.com/stack/931/ From irog at mac.com Mon Feb 11 21:58:18 2019 From: irog at mac.com (Roger Guay) Date: Mon, 11 Feb 2019 19:58:18 -0700 Subject: Replacing GlobalNames with Global Values In-Reply-To: <2F2B6A84-D7EB-4D19-9312-A98E9A801833@appisle.net> References: <4318405B-1CA9-4C0C-B6C1-B9FE0550311C@mac.com> <2F2B6A84-D7EB-4D19-9312-A98E9A801833@appisle.net> Message-ID: <2D3693EA-D315-4852-AF5C-548D13418CBE@mac.com> Granted, this may be too esoteric for me to understand, but I can?t seem to make this do what I want to do Let?s say that I have 3 globals: gGlobal1 = 10.1, gGlobal2 = 20.2 and gGlobal3 = 30.3 I have an expression like gGlobal1*gGlobal2/gGlobal3 I want to transform this to the expression 10.1*20.2/30.3. Seems simple enough and I can do it in my usual inelegant way, but there must be a simpler way to do this??? Sorry for my confusion. Roger > On Feb 11, 2019, at 2:53 PM, Monte Goulding via use-livecode wrote: > > put format(?%f*%f/cos(%f) = %f?, gGlobal1, gGlobal2, gGlobal3, gGlobal1*gGlobal2/cos(gGlobal3)) From terry.judd at unimelb.edu.au Mon Feb 11 22:24:31 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 12 Feb 2019 03:24:31 +0000 Subject: Replacing GlobalNames with Global Values In-Reply-To: <2D3693EA-D315-4852-AF5C-548D13418CBE@mac.com> References: <4318405B-1CA9-4C0C-B6C1-B9FE0550311C@mac.com> <2F2B6A84-D7EB-4D19-9312-A98E9A801833@appisle.net> <2D3693EA-D315-4852-AF5C-548D13418CBE@mac.com> Message-ID: <3E724170-89D6-4A92-9D66-0CE01856445F@unimelb.edu.au> Something like... put merge("[[gGlobal1]]*[[gGlobal2]]/[[gGlobal3]]") into tEquation On 12/2/19, 1:58 pm, "use-livecode on behalf of Roger Guay via use-livecode" wrote: Granted, this may be too esoteric for me to understand, but I can?t seem to make this do what I want to do Let?s say that I have 3 globals: gGlobal1 = 10.1, gGlobal2 = 20.2 and gGlobal3 = 30.3 I have an expression like gGlobal1*gGlobal2/gGlobal3 I want to transform this to the expression 10.1*20.2/30.3. Seems simple enough and I can do it in my usual inelegant way, but there must be a simpler way to do this??? Sorry for my confusion. Roger > On Feb 11, 2019, at 2:53 PM, Monte Goulding via use-livecode wrote: > > put format(?%f*%f/cos(%f) = %f?, gGlobal1, gGlobal2, gGlobal3, gGlobal1*gGlobal2/cos(gGlobal3)) _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Mon Feb 11 22:24:44 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 11 Feb 2019 19:24:44 -0800 Subject: Replacing GlobalNames with Global Values In-Reply-To: <2D3693EA-D315-4852-AF5C-548D13418CBE@mac.com> References: <4318405B-1CA9-4C0C-B6C1-B9FE0550311C@mac.com> <2F2B6A84-D7EB-4D19-9312-A98E9A801833@appisle.net> <2D3693EA-D315-4852-AF5C-548D13418CBE@mac.com> Message-ID: On 2/11/19 6:58 PM, Roger Guay via use-livecode wrote: > Granted, this may be too esoteric for me to understand, but I can?t seem to make this do what I want to do > > Let?s say that I have 3 globals: gGlobal1 = 10.1, gGlobal2 = 20.2 and gGlobal3 = 30.3 > > I have an expression like gGlobal1*gGlobal2/gGlobal3 > > I want to transform this to the expression 10.1*20.2/30.3. > > Seems simple enough and I can do it in my usual inelegant way, but there must be a simpler way to do this??? > > Sorry for my confusion. Monte's reply seems to do the job, but if you're concerned about the numeric format, try on mouseUp put 10.1 into gGlobal1 put 20.2 into gGlobal2 put 30.3 into gGlobal3 put format("%2.1f*%2.1f/cos(%2.1f)", gGlobal1, gGlobal2, gGlobal3) end mouseUp or just chang that last line to put format("%s*%s/cos(%s)", gGlobal1, gGlobal2, gGlobal3) if you *really* don't care about the format -- Mark Wieder ahsoftware at gmail.com From hh at hyperhh.de Mon Feb 11 23:08:37 2019 From: hh at hyperhh.de (hh) Date: Tue, 12 Feb 2019 05:08:37 +0100 Subject: Replacing GlobalNames with Global Values Message-ID: > Roger G. wrote: > Let?s say that I have 3 globals: > gGlobal1 = 10.1, gGlobal2 = 20.2 and gGlobal3 = 30.3 > I have an expression like gGlobal1*gGlobal2/gGlobal3 > I want to transform this to the expression 10.1*20.2/30.3. As everything in LC is a string: put gGlobal1 &"*"& gGlobal2 &"/"& gGlobal3 From jjs at krutt.org Tue Feb 12 03:01:47 2019 From: jjs at krutt.org (JJS) Date: Tue, 12 Feb 2019 09:01:47 +0100 Subject: Datagridhelper iOS Scroller when using 2 Datagrids on one card In-Reply-To: <73BA9277-E024-4961-A36C-75D70B67D9D0@m-r-d.de> References: <73BA9277-E024-4961-A36C-75D70B67D9D0@m-r-d.de> Message-ID: <32d05a04-bbe6-c48b-5a73-af93e138e8ff@krutt.org> Hi Matthias, the DG's have their own scroller as of DG2, so you don't need to create that anymore. In LC 903 there is a bug solved so that you can use other scroller handlers via the name of the dg scroller. Because before you could do it via the scrollerid, but because the scroller id is changed every time you enter the card with the dg's this did not work anymore. Check https://quality.livecode.com/show_bug.cgi?id=21555 for more info on it. Ciao! Jerry Op 12-2-2019 om 00:49 schreef Matthias Rebbe via use-livecode: > Hi, > > in an iOS app i need to use 2 Datagrids, lets say DG1 and DG2, on one card. > The datagrids have the same location on the card and are shown and hided > with a button. After adding content to DG1 i send "DGHiOs_CreateScroller" to it to create the scroller. > When i switch to DG2 by setting the visible of DG1 to false and the visbile for DG2 to true and switch back after > some time to DG1 the scroller of DG1 is not working anymore. Sending again "DGHiOS_CreateScroller" to it does not work. > > Tried also to delete the scroller of DG1 before switching to DG2 and vice versa. > > What are the correct steps to get iOS Scrollers working with each of the Datagrids? > > Is there something special i have to keep in mind? > > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Feb 12 06:04:54 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 12 Feb 2019 12:04:54 +0100 Subject: Datagridhelper iOS Scroller when using 2 Datagrids on one card In-Reply-To: <32d05a04-bbe6-c48b-5a73-af93e138e8ff@krutt.org> References: <73BA9277-E024-4961-A36C-75D70B67D9D0@m-r-d.de> <32d05a04-bbe6-c48b-5a73-af93e138e8ff@krutt.org> Message-ID: Hi Jerry, thanks for your answer. I didn?t realize that the DG2 has native iOS scroller support integrated. Tried it already and all is working so far w/o a problem. Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 12.02.2019 um 09:01 schrieb JJS via use-livecode >: > > Hi Matthias, > > > the DG's have their own scroller as of DG2, so you don't need to create that anymore. > > In LC 903 there is a bug solved so that you can use other scroller handlers via the name of the dg scroller. > > Because before you could do it via the scrollerid, but because the scroller id is changed every time you enter the card with the dg's this did not work anymore. > > Check https://quality.livecode.com/show_bug.cgi?id=21555 for more info on it. > > > Ciao! > > Jerry > > Op 12-2-2019 om 00:49 schreef Matthias Rebbe via use-livecode: >> Hi, >> >> in an iOS app i need to use 2 Datagrids, lets say DG1 and DG2, on one card. >> The datagrids have the same location on the card and are shown and hided >> with a button. After adding content to DG1 i send "DGHiOs_CreateScroller" to it to create the scroller. >> When i switch to DG2 by setting the visible of DG1 to false and the visbile for DG2 to true and switch back after >> some time to DG1 the scroller of DG1 is not working anymore. Sending again "DGHiOS_CreateScroller" to it does not work. >> >> Tried also to delete the scroller of DG1 before switching to DG2 and vice versa. >> >> What are the correct steps to get iOS Scrollers working with each of the Datagrids? >> >> Is there something special i have to keep in mind? >> >> >> Regards, >> >> Matthias >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Tue Feb 12 05:22:10 2019 From: jjs at krutt.org (JJS) Date: Tue, 12 Feb 2019 11:22:10 +0100 Subject: Datagridhelper iOS Scroller when using 2 Datagrids on one card In-Reply-To: References: <73BA9277-E024-4961-A36C-75D70B67D9D0@m-r-d.de> <32d05a04-bbe6-c48b-5a73-af93e138e8ff@krutt.org> Message-ID: <212cd1bd-af99-6ee6-867c-be6dd311e549@krutt.org> Great! Best regards, Jerry Op 12-2-2019 om 12:04 schreef Matthias Rebbe via use-livecode: > Hi Jerry, > > thanks for your answer. > > I didn?t realize that the DG2 has native iOS scroller support integrated. > > Tried it already and all is working so far w/o a problem. > > Regards, > > Matthias > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 12.02.2019 um 09:01 schrieb JJS via use-livecode >: >> >> Hi Matthias, >> >> >> the DG's have their own scroller as of DG2, so you don't need to create that anymore. >> >> In LC 903 there is a bug solved so that you can use other scroller handlers via the name of the dg scroller. >> >> Because before you could do it via the scrollerid, but because the scroller id is changed every time you enter the card with the dg's this did not work anymore. >> >> Check https://quality.livecode.com/show_bug.cgi?id=21555 for more info on it. >> >> >> Ciao! >> >> Jerry >> >> Op 12-2-2019 om 00:49 schreef Matthias Rebbe via use-livecode: >>> Hi, >>> >>> in an iOS app i need to use 2 Datagrids, lets say DG1 and DG2, on one card. >>> The datagrids have the same location on the card and are shown and hided >>> with a button. After adding content to DG1 i send "DGHiOs_CreateScroller" to it to create the scroller. >>> When i switch to DG2 by setting the visible of DG1 to false and the visbile for DG2 to true and switch back after >>> some time to DG1 the scroller of DG1 is not working anymore. Sending again "DGHiOS_CreateScroller" to it does not work. >>> >>> Tried also to delete the scroller of DG1 before switching to DG2 and vice versa. >>> >>> What are the correct steps to get iOS Scrollers working with each of the Datagrids? >>> >>> Is there something special i have to keep in mind? >>> >>> >>> Regards, >>> >>> Matthias >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Tue Feb 12 09:44:45 2019 From: irog at mac.com (Roger Guay) Date: Tue, 12 Feb 2019 07:44:45 -0700 Subject: Replacing GlobalNames with Global Values In-Reply-To: References: Message-ID: <43379482-6045-4192-9182-5D533DC8DEF5@mac.com> Of course!! I should have thought of this, but was making it too hard. Thanks, Herman! And thanks to Monte, Terry and Mark for teaching me something new. Roger > On Feb 11, 2019, at 9:08 PM, hh via use-livecode wrote: > >> Roger G. wrote: >> Let?s say that I have 3 globals: >> gGlobal1 = 10.1, gGlobal2 = 20.2 and gGlobal3 = 30.3 >> I have an expression like gGlobal1*gGlobal2/gGlobal3 >> I want to transform this to the expression 10.1*20.2/30.3. > > As everything in LC is a string: > > put gGlobal1 &"*"& gGlobal2 &"/"& gGlobal3 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 rivervalleytechnologies.com Tue Feb 12 10:04:30 2019 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Tue, 12 Feb 2019 15:04:30 +0000 Subject: Replacing GlobalNames with Global Values In-Reply-To: <43379482-6045-4192-9182-5D533DC8DEF5@mac.com> References: <43379482-6045-4192-9182-5D533DC8DEF5@mac.com> Message-ID: That's the beauty of LiveCode. We have all been taught that things are hard, but LiveCode shows they need not be! I still haven't leaned!!! On Tue, 12 Feb 2019 at 14:45, Roger Guay via use-livecode < use-livecode at lists.runrev.com> wrote: > Of course!! I should have thought of this, but was making it too hard. > Thanks, Herman! > > And thanks to Monte, Terry and Mark for teaching me something new. > > Roger > > > On Feb 11, 2019, at 9:08 PM, hh via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > >> Roger G. wrote: > >> Let?s say that I have 3 globals: > >> gGlobal1 = 10.1, gGlobal2 = 20.2 and gGlobal3 = 30.3 > >> I have an expression like gGlobal1*gGlobal2/gGlobal3 > >> I want to transform this to the expression 10.1*20.2/30.3. > > > > As everything in LC is a string: > > > > put gGlobal1 &"*"& gGlobal2 &"/"& gGlobal3 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Director River Valley Technologies ? Twitter ? LinkedIn From bobsneidar at iotecdigital.com Tue Feb 12 12:22:31 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 12 Feb 2019 17:22:31 +0000 Subject: Datagrid Table - Allow editing a field only when an other field contains data In-Reply-To: References: <8CDBD00F-7EEB-405A-B531-A210DAF9F7E9@iotecdigital.com> <7A09924F-96FA-425E-91E8-9D7BCBAB5C4F@m-r-d.de> <1937EFA7-96E3-4E7F-9F58-8C15909D1C45@iotecdigital.com> Message-ID: <63A702E8-327B-426D-A6AE-BCD6322D0636@iotecdigital.com> You should really work with the dgData and the dgDataOfIndex more. you can also find a particular key more reliably by using dispatch findIndex to group "myDataGrid" with "myColumn", "myValue". This is more reliable than searching a chunk of text. Say you have a datagrid containing hardware store items. You are wanting to find all the paints that have red in the name. You might search for the word "red" in a chunk of text, but you would also find anything made by the manufacturer "Red Head". So then you would have to conditionally branch to test whether or not what you found is really what you are looking for. With findIndex (or findRecord) you only find the specific information you need. The downside is that you only find the first instance. What if you want ALL instances? To get around this I wrote a function that converts a typical numbered array to a memory database, so then you can query to find ALL the matching records, then convert the cursor back to an array. I even have a FindBar object (a group of objects really) that given the properties of the object are set, will save the contents of a datagrid, repopulate the datagrid with the matching data, and then will reset the data back to its' prior contents if you hit the "x" icon. It works really well for me. With it I can do hot type searches of all the data in all my tables. Bob S > On Feb 11, 2019, at 09:40 , Matthias Rebbe via use-livecode wrote: > > Same here. > > mostly of the time i just use the dgText property to fill and read the table content of a datagrid From roger.e.eller at sealedair.com Tue Feb 12 14:09:39 2019 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Tue, 12 Feb 2019 19:09:39 +0000 Subject: Widget TurnImage89_v135 In-Reply-To: References: Message-ID: If the rotate speed also included "0", this could be used to display the same card, or the same video as SBS (side-by-side). That would make it possible to create SBS apps for use on phones in a VR headset. ~Roger From hh at hyperhh.de Tue Feb 12 15:04:23 2019 From: hh at hyperhh.de (hh) Date: Tue, 12 Feb 2019 21:04:23 +0100 Subject: Widget TurnImage89_v135 Message-ID: <98B4B23C-C6AD-41B0-A385-E875F073CA98@hyperhh.de> > Roger E. wrote: > If the rotate speed also included "0", this could be used to display > the same card, or the same video as SBS (side-by-side). That would > make it possible to create SBS apps for use on phones in a VR headset. If I understand correctly what you mean: In the turnImage-sample stack add 0 to the option button "speed" of group "video" (mouseDown script). You can then choose speed 0 at any time while the animation is running. And switch to any other speed thereafter. From waprothero at gmail.com Tue Feb 12 19:16:32 2019 From: waprothero at gmail.com (William Prothero) Date: Tue, 12 Feb 2019 16:16:32 -0800 Subject: Weird LiveCode Plugins Prefs writing problems In-Reply-To: References: Message-ID: Folks: Just in case you are getting the same "invalid bsd flags ?.? when you try to do a disc first aid using disk utility, on your Macintosh SSD boot drive, it turns out that the recent versions of OneDrive are causing that error. I found that the error only occurs on the SSD drive. If I boot from an external drive, the error doesn?t occur. I found it while using Preview to view an email pdf attachment. The system hangs when I then try to export that pdf to someplace else. If I load, then export some other pdf file (not from mail), it works normally. I?ve spent loads of time chasing this down and it seems there is something special about the SSD drive file system that OneDrive messes up. See: https://onedrive.uservoice.com/forums/913525-onedrive-on-mac/suggestions/36302779-remove-warning-inode-val-object-invalid-bsd-fl I have put a LOT of things on OneNote, so don?t want to delete OneDrive (which syncs the notes across devices). So, I?ll wait a bit and hope Microsoft does a fix. Best, Bill > On Feb 8, 2019, at 3:34 PM, hh via use-livecode wrote: > > Bill, > > I had severe problems when starting with MacOS 10.14. > As I know now these were mostly permission problems. > > The Apple security hystery may help to that. I still > have some files of zero size that are not deletable > and change their name. I think this is caused by MacOS. > But meanwhile I'm running 10.14.3 without problems. > > For repairing and maintenace I use Onyx (which has for > each main MacOS an own version): > https://www.titanium-software.fr/en/onyx.html > > I personally think that "bitDefender" and "CleanMyMac" > make more harm than they help. Onyx is more transparent > and helped me out of the problems described above. > > > p.s. The revonline cache is deletable from the LC prefs. > The LC caches are in /Library/Application\ Support/RunRev. > You can open the folder from message box: > > launch document $HOME&"/Library/Application Support/RunRev" > > Good luck! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Feb 13 20:36:11 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 14 Feb 2019 01:36:11 +0000 Subject: Collaborate on UI Handlers Message-ID: I was looking for a name for a library that would be like "model" in the way that Andre describes it in his book. But it has nothing to data or disk acces, but it has to do with a "view" ; but it is meant to be "encapsulated/independent" of the view. In this case the "view" is a card, in a binary LC stack. With generic handers, to which you send the long id of some control. Now, I am sure that this nothing new to all you old timers. If you look up "UI Handlers" in Google search, you find all kinds of references in many languages. So I called it lib_UIHandlers.livecodescript (See below for same examples) Then it occurred to me "Wow, because it can 'stand alone', we could share such a library with the community, and it should work anywhere!" Would anyone be interested in collaborating on such a library? I would buts in a public repository, you could fork it, and send pull requests. I think everyone will benefit and some of you have already fabulous handlers that you put in the library. In fact, in think LC IDE is probably full of them. Brahmanathaswami There would different sections: ( I use Jacqueline method of naming handler Which must be sorted by order of appearance") Things like: ************************ on __RESPONSIVE end __RESPONSIVE command positionBottom pControl, pHorizontal # place a control at the bottom of the screen # pHorizontal is single integer which it the left of the control # It empty, defaults to center to scrren put the long id of this card into tCard put the rect of tCard into sCardRect put item 3 of sCardRect into tWidth put item 4 of sCardRect into tHeight put the loc of tCard into tCardLoc if pHorizontal is empty then set the loc of pControl to ( round(tWidth/2),tHeight) else set the left of pControl to pHorizontal end if set the bottom of pControl to tHeight end positionBottom #################### on ___IMAGEManipulation end ___IMAGEManipulation # we typically have the some requirement # change image by height, width. # we always need to know it original size command insertImageDimensions pImage put ( (the formattedwidth of pImage) & "x" & (the formattedheight of pImage) ) into sCurrentGraphicRect end insertImageDimensions function getRectOfCurrentGrc return sCurrentGraphicRect end getRectOfCurrentGrc command setRectOfCurrentGrc pimage put the formattedWidth of pImage into tFWd put the formattedHeight of pImage into tFHt put (tFWd & "x" & tFHt) into sCurrentGraphicRect end setRectOfCurrentGrc on resizeToHeight pImage,pSize set the itemdel to "x" put item 1 of sCurrentGraphicRect into tOrigImgWidth put item 2 of sCurrentGraphicRect into tOrigImgHeight # it may not be necessary if pSize > tOrigImgHeight then exit resizeToHeight put (pSize)/tOrigImgHeight into tRatio put (tOrigImgWidth * tRatio) into tNewWidth put (tOrigImgHeight * tRatio) into tNewHeight set the rect of pImage to 0,0,tNewWidth,tNewHeight end resizeToHeight etc. Svasti Astu, Be Well! Brahmanathaswami Get the SivaSiva app, it's free: https://www.himalayanacademy.com/apps/sivasiva From brahma at hindu.org Wed Feb 13 20:47:22 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 14 Feb 2019 01:47:22 +0000 Subject: centerRect - "stretching" an image Message-ID: See my other message to the list of UI Handlers? For my library, I was looking for clues to "centering " and came across centerRect set the centerRect[angle] of image to rectangle set the centerRect of image "buttonImage" to 20,20,45,200 Dictionary is obscure, 1. What does "stretching" mean in the context of " Use to centerRect property to specifies a region of pixels that should be stretched when the image is stretched." Something that happens is development with the Selection Tool on? 2. centerRect[angle] Implies an array. But there is no reference to an array in the dictionary? BR From ahsoftware at sonic.net Wed Feb 13 22:10:10 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 13 Feb 2019 19:10:10 -0800 Subject: centerRect - "stretching" an image In-Reply-To: References: Message-ID: <9127bd80-ed40-9ee3-67de-20c52453ee80@sonic.net> On 2/13/19 5:47 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > 2. centerRect[angle] > Implies an array. But there is no reference to an array in the dictionary? I've never used the centerRect property, but I'm sure "angle" here should read "rectangle". -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Wed Feb 13 22:43:20 2019 From: brian at milby7.com (Brian Milby) Date: Wed, 13 Feb 2019 22:43:20 -0500 Subject: centerRect - "stretching" an image In-Reply-To: <9127bd80-ed40-9ee3-67de-20c52453ee80@sonic.net> References: <9127bd80-ed40-9ee3-67de-20c52453ee80@sonic.net> Message-ID: In that context, the brackets are surrounding optional text so ? ?CenterRect ? Or ? CenterRectangle Thanks, Brian On Feb 13, 2019, 10:10 PM -0500, Mark Wieder via use-livecode , wrote: > On 2/13/19 5:47 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > > 2. centerRect[angle] > > Implies an array. But there is no reference to an array in the dictionary? > > I've never used the centerRect property, but I'm sure "angle" here > should read "rectangle". > > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Feb 13 22:54:40 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 13 Feb 2019 19:54:40 -0800 Subject: centerRect - "stretching" an image In-Reply-To: References: <9127bd80-ed40-9ee3-67de-20c52453ee80@sonic.net> Message-ID: <5f7c8980-7b83-41e2-7495-e58b7bca075a@sonic.net> On 2/13/19 7:43 PM, Brian Milby via use-livecode wrote: > In that context, the brackets are surrounding optional text so > ? ?CenterRect ? Or ? CenterRectangle Ha! That makes even more sense. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Feb 13 23:01:05 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 13 Feb 2019 22:01:05 -0600 Subject: centerRect - "stretching" an image In-Reply-To: References: Message-ID: <168ea2a43e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The centerRect allows you to stretch a portion of an image without affecting the areas outside of the rectangle. Imagine you have an image with rounded corners and you want to use it as a button icon. You can specify an area in the center of the image that can stretch as wide as you need the button to be but the corners won't be affected and will keep their original radius. Or imagine a vertical image like a paper bookmark with a design on top and a cutout shape on the bottom. You could stretch the center area to make it taller without distorting the top design or the cutout at the bottom. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 13, 2019 7:49:01 PM Sannyasin Brahmanathaswami via use-livecode wrote: > See my other message to the list of UI Handlers? > > For my library, I was looking for clues to "centering " and came across > > centerRect > > set the centerRect[angle] of image to rectangle > set the centerRect of image "buttonImage" to 20,20,45,200 > > Dictionary is obscure, > > 1. What does "stretching" mean > in the context of " Use to centerRect property to specifies a region of > pixels that should be stretched when the image is stretched." Something > that happens is development with the Selection Tool on? > > 2. centerRect[angle] > Implies an array. But there is no reference to an array in the dictionary? > > BR > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Thu Feb 14 01:39:11 2019 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Wed, 13 Feb 2019 22:39:11 -0800 Subject: centerRect - "stretching" an image In-Reply-To: <168ea2a43e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <168ea2a43e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <34FC3156-0A4C-4415-A8CC-D16F8EA8EB4C@elementarysoftware.com> Jacque, Thanks for the example explanations. I wan?t quite understanding the usefulness. ? Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Feb 13, 2019, at 8:01 PM, J. Landman Gay via use-livecode wrote: > > The centerRect allows you to stretch a portion of an image without affecting the areas outside of the rectangle. Imagine you have an image with rounded corners and you want to use it as a button icon. You can specify an area in the center of the image that can stretch as wide as you need the button to be but the corners won't be affected and will keep their original radius. > > Or imagine a vertical image like a paper bookmark with a design on top and a cutout shape on the bottom. You could stretch the center area to make it taller without distorting the top design or the cutout at the bottom. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On February 13, 2019 7:49:01 PM Sannyasin Brahmanathaswami via use-livecode wrote: > >> See my other message to the list of UI Handlers? >> >> For my library, I was looking for clues to "centering " and came across >> >> centerRect >> >> set the centerRect[angle] of image to rectangle >> set the centerRect of image "buttonImage" to 20,20,45,200 >> >> Dictionary is obscure, >> >> 1. What does "stretching" mean >> in the context of " Use to centerRect property to specifies a region of pixels that should be stretched when the image is stretched." Something that happens is development with the Selection Tool on? >> >> 2. centerRect[angle] >> Implies an array. But there is no reference to an array in the dictionary? >> >> BR >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Feb 14 04:30:26 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 14 Feb 2019 10:30:26 +0100 Subject: Anyone using the Native Date picker widget from the Mobile Native Essentials Widget Pack? Message-ID: Hi, is anyone able to successfully use the Native Date Picker widget from the Mobile Native Essentials Widget Pack? Is there something special to get it working? I?ve selected it in the inclusion tab and i can see on the iPad some "incomplete" characters at the location of the widget, but nothing happens when touching the characters. The happnes when trying the native Time Picker. I am working with LC 9.0.2 and Xcode 10.0 on Mac OS X 10.13.6 and SDK12. As the other widgets of the pack do work without a problem, i don?t think that this has todo with the version of Xcode/SDK/LC. Or am i wrong? Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From smudge.andy at googlemail.com Thu Feb 14 05:08:36 2019 From: smudge.andy at googlemail.com (AndyP) Date: Thu, 14 Feb 2019 04:08:36 -0600 (CST) Subject: Collaborate on UI Handlers In-Reply-To: References: Message-ID: <1550138916870-0.post@n4.nabble.com> Hi Brahmanathaswami, LiveCode said a while back that they were looking at a snippets system..but this seems to have passed on by. And I started building a snippets system for my own..but then thought instead of the time needed to maintain this, I thought why not just put them on public GitHub gists? and then just have a simple search system. So I started adding snippets and handlers here a while ago: https://gist.github.com/AndyPiddock The simple gist search that I built sort of grew into a more unified search system for LiveCode related subjects. http://livecodeshare.runrev.com/stack/897/LiveCode-Multi-Search Best used as a compiled standalone. One of the strengths of using GitHub gists to store snippets and handlers is that if they are in a public repository they become searchable, which means that we do not have to maintain a central LiveCode snippets handlers library. Each GitHub user can host their own code samples and these become available to all as long as they are tagged as Livecode. ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From matthias_livecode_150811 at m-r-d.de Thu Feb 14 08:33:11 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 14 Feb 2019 14:33:11 +0100 Subject: Anyone using the Native Date picker widget from the Mobile Native Essentials Widget Pack? In-Reply-To: References: Message-ID: <67987860-CDF7-44E6-B9BC-0F24C1DAF019@m-r-d.de> Please forget my question. It seems i just misunderstood the widget. The widget is the datePicker and i have to first resize it from its default size, which is usesless, to a higher height and then have to show and hide it. I really don?t know why i thought this is kind of a button which shows up the pickup upon clicking. ;) Anyway. I?ve got it working. But it would be nice if the default size of that widget would be changed so it does not have to be resized. Maybe i should send Todd that as a feature request. Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 14.02.2019 um 10:30 schrieb Matthias Rebbe via use-livecode >: > > Hi, > is anyone able to successfully use the Native Date Picker widget from the Mobile Native Essentials Widget Pack? > > Is there something special to get it working? I?ve selected it in the inclusion tab and i can see on the iPad some "incomplete" characters at the location of the widget, but nothing happens when touching the characters. The happnes when trying the native Time Picker. > > I am working with LC 9.0.2 and Xcode 10.0 on Mac OS X 10.13.6 and SDK12. As the other widgets of the pack do work without a problem, i don?t think that this has todo with the version of Xcode/SDK/LC. > Or am i wrong? > > > Regards, > > Matthias > > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > > https://winsignhelper.dermattes.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 nabble at mad.pink Thu Feb 14 09:12:13 2019 From: nabble at mad.pink (pink) Date: Thu, 14 Feb 2019 08:12:13 -0600 (CST) Subject: Need crash course in Dropbox library Message-ID: <1550153533447-0.post@n4.nabble.com> Sorry for asking like this, but I need a quick tutorial in using the dropbox library. I have an app that is running on an older Mac with Dropbox, and Dropbox is discontinuing support for the OS. (Really it's a long story, but the bottom line is that the video processing software runs faster on the old Mac than it does on newer machines, no idea why) The task at hand... I need to upload video files to a folder setup for a specified client on Dropbox. The folder may not already exist. The dropbox account will always be the same. On average, the files will be 800MB each, so I can't use the standard upload, I need to use the upload session, but I am really unsure as to how it works. Can someone point me towards what i need, or give me an example of how to use the upload session commands to upload a large file? THanks! ----- --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From matthias_livecode_150811 at m-r-d.de Thu Feb 14 10:09:27 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 14 Feb 2019 16:09:27 +0100 Subject: Standalone builder tells me that there is a stack ... already open and so on Message-ID: <5A4593A5-AE39-4504-8283-5A3D4D733183@m-r-d.de> Hi today i?ve made some modifications to a stack today , which i compiled 2 daysago w/o an error. But today i get the following error message when trying to build a Windows standalone: "a stack <....> is already in memory. The LiveCode UI does not distinguish stacks which have identical names, so editing these stack files while both are in memory could result in data loss." I see this error from time to time regardless what stack i am working on. In the past a restart of LC solved this and i was able to compile again w/o error. But this is not working. The only modification i?ve done was to change the width of a field. So this should not be the problem. I?ve checked the stack and its 12 substack. No other stack is there, only the ones that should be there. Any idea what i could do? Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From matthias_livecode_150811 at m-r-d.de Thu Feb 14 10:11:43 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 14 Feb 2019 16:11:43 +0100 Subject: Standalone builder tells me that there is a stack ... already open and so on In-Reply-To: <5A4593A5-AE39-4504-8283-5A3D4D733183@m-r-d.de> References: <5A4593A5-AE39-4504-8283-5A3D4D733183@m-r-d.de> Message-ID: Forgot to mention that i am working with LC 9.0.2 and Mac OS X. Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 14.02.2019 um 16:09 schrieb Matthias Rebbe via use-livecode >: > > Hi today > > i?ve made some modifications to a stack today , which i compiled 2 daysago w/o an error. > > But today i get the following error message when trying to build a Windows standalone: > > "a stack <....> is already in memory. The LiveCode UI does not distinguish stacks which have identical names, so editing these stack files while both are in memory could result in data loss." > > I see this error from time to time regardless what stack i am working on. In the past a restart of LC solved this and i was able to compile again w/o error. > > But this is not working. > > > The only modification i?ve done was to change the width of a field. So this should not be the problem. > > I?ve checked the stack and its 12 substack. No other stack is there, only the ones that should be there. > > > Any idea what i could do? > > > Regards, > > Matthias > > > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Feb 14 10:31:27 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 14 Feb 2019 15:31:27 +0000 Subject: centerRect - "stretching" an image In-Reply-To: <9127bd80-ed40-9ee3-67de-20c52453ee80@sonic.net> References: <9127bd80-ed40-9ee3-67de-20c52453ee80@sonic.net> Message-ID: Oh right! Square Brackets denote optional in the dictionary. You can use centerRect or centerRectangle. :-) Bob S > On Feb 13, 2019, at 19:10 , Mark Wieder via use-livecode wrote: > > On 2/13/19 5:47 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > >> 2. centerRect[angle] >> Implies an array. But there is no reference to an array in the dictionary? > > I've never used the centerRect property, but I'm sure "angle" here should read "rectangle". > > > -- > Mark Wieder > ahsoftware at gmail.com From bobsneidar at iotecdigital.com Thu Feb 14 10:35:50 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 14 Feb 2019 15:35:50 +0000 Subject: Standalone builder tells me that there is a stack ... already open and so on In-Reply-To: <5A4593A5-AE39-4504-8283-5A3D4D733183@m-r-d.de> References: <5A4593A5-AE39-4504-8283-5A3D4D733183@m-r-d.de> Message-ID: <4E417DC3-9D7D-4404-B533-72AD163FD5B3@iotecdigital.com> Could be a library that is getting opened twice because it's been copied to the standalone, and hasn't been purged yet. I have the same problem. I have to quit each time I build a standalone. It's a known problem. Bob S > On Feb 14, 2019, at 07:09 , Matthias Rebbe via use-livecode wrote: > > Hi today > > i?ve made some modifications to a stack today , which i compiled 2 daysago w/o an error. > > But today i get the following error message when trying to build a Windows standalone: > > "a stack <....> is already in memory. The LiveCode UI does not distinguish stacks which have identical names, so editing these stack files while both are in memory could result in data loss." > > I see this error from time to time regardless what stack i am working on. In the past a restart of LC solved this and i was able to compile again w/o error. > > But this is not working. > > > The only modification i?ve done was to change the width of a field. So this should not be the problem. > > I?ve checked the stack and its 12 substack. No other stack is there, only the ones that should be there. > > > Any idea what i could do? > > > Regards, > > Matthias > > > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Feb 14 12:54:36 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 14 Feb 2019 18:54:36 +0100 Subject: Standalone builder tells me that there is a stack ... already open and so on In-Reply-To: <4E417DC3-9D7D-4404-B533-72AD163FD5B3@iotecdigital.com> References: <5A4593A5-AE39-4504-8283-5A3D4D733183@m-r-d.de> <4E417DC3-9D7D-4404-B533-72AD163FD5B3@iotecdigital.com> Message-ID: <7B2CBD9B-CD3D-4677-A43B-36F321B37A39@m-r-d.de> Matthias Rebbe Tel +49 5741 310000 ?https://matthiasrebbe.eu ? > Am 14.02.2019 um 16:35 schrieb Bob Sneidar via use-livecode >: > > I have to quit each time I build a standalone. It's a known problem. > That also was my solution so far, but for whatever reason even after a fresh restart of LC i get that errors when i try to create the standalone. Seems my standalone is working anyway, even after i got those error messages. Matthias > Bob S > >> On Feb 14, 2019, at 07:09 , Matthias Rebbe via use-livecode > wrote: >> >> Hi today >> >> i?ve made some modifications to a stack today , which i compiled 2 daysago w/o an error. >> >> But today i get the following error message when trying to build a Windows standalone: >> >> "a stack <....> is already in memory. The LiveCode UI does not distinguish stacks which have identical names, so editing these stack files while both are in memory could result in data loss." >> >> I see this error from time to time regardless what stack i am working on. In the past a restart of LC solved this and i was able to compile again w/o error. >> >> But this is not working. >> >> >> The only modification i?ve done was to change the width of a field. So this should not be the problem. >> >> I?ve checked the stack and its 12 substack. No other stack is there, only the ones that should be there. >> >> >> Any idea what i could do? >> >> >> Regards, >> >> Matthias >> >> >> >> >> >> Matthias Rebbe >> >> free tools for Livecoders: >> https://instamaker.dermattes.de >> https://winsignhelper.dermattes.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 Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From ambassador at fourthworld.com Thu Feb 14 13:15:52 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Feb 2019 10:15:52 -0800 Subject: Standalone builder tells me that there is a stack ... already open and so on In-Reply-To: <5A4593A5-AE39-4504-8283-5A3D4D733183@m-r-d.de> References: <5A4593A5-AE39-4504-8283-5A3D4D733183@m-r-d.de> Message-ID: I don't have the answer to your circumstance; the Standalone Builder is complex, and LC's introduction of stack name conflicts not inherent in the MC engine has become such an ongoing issue that it might be ideal to revisit that sometime*. In the here and now, I have only one tidbit to contribute which may or may not be relevant: stack name conflicts can appear when the path used to open the same stack file is different in different contexts. This confirmed behavior is noted in this bug report from 2015: https://quality.livecode.com/show_bug.cgi?id=14583 The example there is uses two paths that differ based on the Unix shortcut of "~" for the user's home folder, e.g.: /home/matthias/workfolder/somestack.livecode ...vs: ~/workfolder/somestack.livecode Both paths refer to the same file system object, but apparently the engine maintains its handle to the file based on the given path rather than the fully resolved path, so it believes those are two different files in which the stack objects happen to have the same name. So you might consider double-checking code to see if you use any relative path, or shortcut form, in your scripts. But given that the same scripts worked well just a couple days ago, presumably with no changes to file paths in your scripts, this tidbit may be merely mildly interesting but irrelevant to the problem you're facing. * On stack name conflicts see this enhancement request, and follow the link in Comment 20 there for details on the underlying engine limitation which gave rise to the issue: https://quality.livecode.com/show_bug.cgi?id=1061 -- Richard Gaskin Fourth World Systems Matthias Rebbe wrote: > i?ve made some modifications to a stack today , which i compiled 2 > daysago w/o an error. > > But today i get the following error message when trying to build a > Windows standalone: > > "a stack <....> is already in memory. The LiveCode UI does not > distinguish stacks which have identical names, so editing these stack > files while both are in memory could result in data loss." > > I see this error from time to time regardless what stack i am working > on. In the past a restart of LC solved this and i was able to compile > again w/o error. > > But this is not working. > > > The only modification i?ve done was to change the width of a field. So > this should not be the problem. > > I?ve checked the stack and its 12 substack. No other stack is there, > only the ones that should be there. > > > Any idea what i could do? From ambassador at fourthworld.com Thu Feb 14 14:07:03 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Feb 2019 11:07:03 -0800 Subject: Random crashes with multiple workspaces Message-ID: <90707c24-741d-8755-5c3e-6299622a941f@fourthworld.com> Linux has long enjoyed a UI element recently added in various ways to both macOS and Windows: multiple workspaces, where sets of windows can be switched between. I've found an unfortunate things with LC on Ubuntu 14.04: I tend to open LC on a workspace other than the default, switching to it throughout the day as I go, and switching back to other workspaces for email, etc. Once in a while, I find that when I switch back to the workspace where I have LC, the LC app will crash. When this happens it doesn't invoke the OS dialog I see when other apps crash; it's just a silent and quick exit in which the windows all close at once and the process dies. The problem is that this is uncommon. I can go days at a time without this happening. And I've found no common recipe when it does happen other than having been working in the LC workspace for a while, and then spending some time in another workspace before switching back; it's the switching back that seems to trigger it. Has anyone else seen this, whether on Linux or any other workspace-enabled OS? I'm interested in comparing notes to see if we might pin down a recipe worthy of submitting in a bug report. TIA - -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Thu Feb 14 16:48:21 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 14 Feb 2019 16:48:21 -0500 Subject: Need crash course in Dropbox library In-Reply-To: <1550153533447-0.post@n4.nabble.com> References: <1550153533447-0.post@n4.nabble.com> Message-ID: sup pink? Are you using the LC dropbox library or the phx library? We can do this here or off-list. On Thu, Feb 14, 2019 at 9:12 AM pink via use-livecode < use-livecode at lists.runrev.com> wrote: > Sorry for asking like this, but I need a quick tutorial in using the > dropbox > library. I have an app that is running on an older Mac with Dropbox, and > Dropbox is discontinuing support for the OS. (Really it's a long story, but > the bottom line is that the video processing software runs faster on the > old > Mac than it does on newer machines, no idea why) > > The task at hand... I need to upload video files to a folder setup for a > specified client on Dropbox. The folder may not already exist. The dropbox > account will always be the same. On average, the files will be 800MB each, > so I can't use the standard upload, I need to use the upload session, but I > am really unsure as to how it works. > > Can someone point me towards what i need, or give me an example of how to > use the upload session commands to upload a large file? > > THanks! > > > > ----- > --- > Greg (pink) Miller > mad, pink and dangerous to code > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From matthias_livecode_150811 at m-r-d.de Thu Feb 14 16:55:45 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 14 Feb 2019 22:55:45 +0100 Subject: Need crash course in Dropbox library In-Reply-To: References: <1550153533447-0.post@n4.nabble.com> Message-ID: <46176234-231D-43DD-BCC8-EFAB0CA190CE@m-r-d.de> @Mike @Greg Please do it here. I am pretty sure there are others like me who could benefit from it. Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 14.02.2019 um 22:48 schrieb Mike Kerner via use-livecode >: > > sup pink? > Are you using the LC dropbox library or the phx library? > We can do this here or off-list. > > > On Thu, Feb 14, 2019 at 9:12 AM pink via use-livecode < > use-livecode at lists.runrev.com > wrote: > >> Sorry for asking like this, but I need a quick tutorial in using the >> dropbox >> library. I have an app that is running on an older Mac with Dropbox, and >> Dropbox is discontinuing support for the OS. (Really it's a long story, but >> the bottom line is that the video processing software runs faster on the >> old >> Mac than it does on newer machines, no idea why) >> >> The task at hand... I need to upload video files to a folder setup for a >> specified client on Dropbox. The folder may not already exist. The dropbox >> account will always be the same. On average, the files will be 800MB each, >> so I can't use the standard upload, I need to use the upload session, but I >> am really unsure as to how it works. >> >> Can someone point me towards what i need, or give me an example of how to >> use the upload session commands to upload a large file? >> >> THanks! >> >> >> >> ----- >> --- >> Greg (pink) Miller >> mad, pink and dangerous to code >> -- >> Sent from: >> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Thu Feb 14 16:57:12 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 14 Feb 2019 13:57:12 -0800 Subject: Random crashes with multiple workspaces In-Reply-To: <90707c24-741d-8755-5c3e-6299622a941f@fourthworld.com> References: <90707c24-741d-8755-5c3e-6299622a941f@fourthworld.com> Message-ID: <9111dd6f-df41-2573-3c10-18be5db11ef2@sonic.net> On 2/14/19 11:07 AM, Richard Gaskin via use-livecode wrote: > Has anyone else seen this, whether on Linux or any other > workspace-enabled OS? Interesting. I almost always open LC in workspace 2, and I've never seen a problem when switching linux workspaces. The only thing I have to watch for is letting the IDE initialization happen all the way through before switching workspaces... otherwise I end up with some plugins in different workspaces and I haven't found a way around that. -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Thu Feb 14 16:57:38 2019 From: brian at milby7.com (Brian Milby) Date: Thu, 14 Feb 2019 16:57:38 -0500 Subject: Standalone builder tells me that there is a stack ... already open and so on In-Reply-To: References: <5A4593A5-AE39-4504-8283-5A3D4D733183@m-r-d.de> Message-ID: <4a9d20de-5cef-47cb-9849-3d7e14fcb1ac@Spark> May want to review my comments on?https://quality.livecode.com/show_bug.cgi?id=18793?as well. ?I?m not so sure it is a problem in the engine itself (duplicate stack short names). ?But the way the same file gets interpreted as duplicated is probably engine related. ?I don?t think I looked at that part specifically. Thanks, Brian On Feb 14, 2019, 1:16 PM -0500, Richard Gaskin via use-livecode , wrote: > I don't have the answer to your circumstance; the Standalone Builder is > complex, and LC's introduction of stack name conflicts not inherent in > the MC engine has become such an ongoing issue that it might be ideal to > revisit that sometime*. > > In the here and now, I have only one tidbit to contribute which may or > may not be relevant: stack name conflicts can appear when the path used > to open the same stack file is different in different contexts. > > This confirmed behavior is noted in this bug report from 2015: > https://quality.livecode.com/show_bug.cgi?id=14583 > > The example there is uses two paths that differ based on the Unix > shortcut of "~" for the user's home folder, e.g.: > > /home/matthias/workfolder/somestack.livecode > > ...vs: > > ~/workfolder/somestack.livecode > > Both paths refer to the same file system object, but apparently the > engine maintains its handle to the file based on the given path rather > than the fully resolved path, so it believes those are two different > files in which the stack objects happen to have the same name. > > So you might consider double-checking code to see if you use any > relative path, or shortcut form, in your scripts. > > But given that the same scripts worked well just a couple days ago, > presumably with no changes to file paths in your scripts, this tidbit > may be merely mildly interesting but irrelevant to the problem you're > facing. > > > * On stack name conflicts see this enhancement request, and follow the > link in Comment 20 there for details on the underlying engine limitation > which gave rise to the issue: > https://quality.livecode.com/show_bug.cgi?id=1061 > > -- > Richard Gaskin > Fourth World Systems > > > Matthias Rebbe wrote: > > > i?ve made some modifications to a stack today , which i compiled 2 > > daysago w/o an error. > > > > But today i get the following error message when trying to build a > > Windows standalone: > > > > "a stack <....> is already in memory. The LiveCode UI does not > > distinguish stacks which have identical names, so editing these stack > > files while both are in memory could result in data loss." > > > > I see this error from time to time regardless what stack i am working > > on. In the past a restart of LC solved this and i was able to compile > > again w/o error. > > > > But this is not working. > > > > > > The only modification i?ve done was to change the width of a field. So > > this should not be the problem. > > > > I?ve checked the stack and its 12 substack. No other stack is there, > > only the ones that should be there. > > > > > > Any idea what i could do? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From nabble at mad.pink Thu Feb 14 20:24:14 2019 From: nabble at mad.pink (pink) Date: Thu, 14 Feb 2019 19:24:14 -0600 (CST) Subject: Need crash course in Dropbox library In-Reply-To: References: <1550153533447-0.post@n4.nabble.com> Message-ID: <1550193854760-0.post@n4.nabble.com> was planning on using the LC Dropbox library ----- --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From MikeKerner at roadrunner.com Fri Feb 15 09:41:46 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 15 Feb 2019 09:41:46 -0500 Subject: Need crash course in Dropbox library In-Reply-To: <1550193854760-0.post@n4.nabble.com> References: <1550153533447-0.post@n4.nabble.com> <1550193854760-0.post@n4.nabble.com> Message-ID: Then I would suggest Grab Gerard's LC dropbox v2 goodies that are at https://github.com/macMikey/dropboxapi_v2 The LC dropbox library was "inspired by" Gerard's library. The command names are different, but I'm pretty sure it's one-to-one and I'm pretty sure the syntax is identical. Where it isn't (or where a return value didn't correlate) I'm pretty sure I submitted PR's to LC's library to fix theirs, and I'm pretty sure all the PR's have been integrated. One thing that is different/better with LC's library is that LC's library adds optional support for asynchronous calls if you have one of the not-free LC versions. Gerard's library also has a tester built in, which is helpful for debugging purposes. When you have the syntax right, switch the calls to the LC library. If you still need help check back here and we'll see what else you might need. On Thu, Feb 14, 2019 at 8:24 PM pink via use-livecode < use-livecode at lists.runrev.com> wrote: > was planning on using the LC Dropbox library > > > > ----- > --- > Greg (pink) Miller > mad, pink and dangerous to code > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bobsneidar at iotecdigital.com Fri Feb 15 10:55:18 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 15 Feb 2019 15:55:18 +0000 Subject: Standalone builder tells me that there is a stack ... already open and so on In-Reply-To: References: <5A4593A5-AE39-4504-8283-5A3D4D733183@m-r-d.de> Message-ID: I just had an, "AHA!" moment. Bob S > On Feb 14, 2019, at 10:15 , Richard Gaskin via use-livecode wrote: > > The example there is uses two paths that differ based on the Unix shortcut of "~" for the user's home folder, e.g.: > > /home/matthias/workfolder/somestack.livecode > > ...vs: > > ~/workfolder/somestack.livecode > > Both paths refer to the same file system object, but apparently the engine maintains its handle to the file based on the given path rather than the fully resolved path, so it believes those are two different files in which the stack objects happen to have the same name. From nabble at mad.pink Fri Feb 15 13:22:17 2019 From: nabble at mad.pink (pink) Date: Fri, 15 Feb 2019 12:22:17 -0600 (CST) Subject: Need crash course in Dropbox library In-Reply-To: References: <1550153533447-0.post@n4.nabble.com> <1550193854760-0.post@n4.nabble.com> Message-ID: <1550254937297-0.post@n4.nabble.com> Unfortunately, looking at the other library isn't making things clearer... Let me get more specific, here are the main commands I'm trying to learn: dropboxUploadSessionStart pAccessToken, pData dropboxUploadSessionAppend pAccessToken, pSession, pOffset, pData dropboxUploadSessionFinish pAccessToken, pSession, pOffset, pPath, pMode, pAutorename, pMute, pData I understand how to get the access token, and how to get the sessionID but... 1. what do I put into pData? I assume pData is the file I am supposed to be uploading, but how do I put it in there? do I just open file, then read from file and then put it into pData? 2. do i just use the same value for pData in all commands? 3. Where do I get the pOffset value? 4. Do I control how much data is sent with each request? If so, how? If not, how do I know how many append sessions to use before I send the finish? Matthias Rebbe via use-livecode wrote > Then I would suggest > Grab Gerard's LC dropbox v2 goodies that are at > https://github.com/macMikey/dropboxapi_v2 > The LC dropbox library was "inspired by" Gerard's library. The command > names are different, but I'm pretty sure it's one-to-one and I'm pretty > sure the syntax is identical. Where it isn't (or where a return value > didn't correlate) I'm pretty sure I submitted PR's to LC's library to fix > theirs, and I'm pretty sure all the PR's have been integrated. > One thing that is different/better with LC's library is that LC's library > adds optional support for asynchronous calls if you have one of the > not-free LC versions. > Gerard's library also has a tester built in, which is helpful for > debugging > purposes. When you have the syntax right, switch the calls to the LC > library. > If you still need help check back here and we'll see what else you might > need. > > On Thu, Feb 14, 2019 at 8:24 PM pink via use-livecode < > use-livecode at .runrev >> wrote: > >> was planning on using the LC Dropbox library >> >> >> >> ----- >> --- >> Greg (pink) Miller >> mad, pink and dangerous to code >> -- >> Sent from: >> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> _______________________________________________ >> use-livecode mailing list >> > use-livecode at .runrev >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ----- --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From MikeKerner at roadrunner.com Fri Feb 15 16:32:29 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 15 Feb 2019 16:32:29 -0500 Subject: Need crash course in Dropbox library In-Reply-To: <1550254937297-0.post@n4.nabble.com> References: <1550153533447-0.post@n4.nabble.com> <1550193854760-0.post@n4.nabble.com> <1550254937297-0.post@n4.nabble.com> Message-ID: Hey, pink, thanks for the clarification. First of all, is there a reason why you are doing it this way instead of using dropboxUpload? If you use dropboxUpload you can do it all in one shot. Gerard's stack explains the process and how to use the various commands Doing it the way you are doing it, you would start with sessionStart and then you would repeatedly call sessionAppend pOffset is the length of what you have already sent because there are no guarantees that dropbox will get your file stream in order, so if it gets them out of order and pData isn't the same length for each call to append, the only way dropbox knows where to put the data it just received is if you tell it where to put it. pData should be at most 150mb per call. From nabble at mad.pink Fri Feb 15 18:23:13 2019 From: nabble at mad.pink (pink) Date: Fri, 15 Feb 2019 17:23:13 -0600 (CST) Subject: Need crash course in Dropbox library In-Reply-To: References: <1550153533447-0.post@n4.nabble.com> <1550193854760-0.post@n4.nabble.com> <1550254937297-0.post@n4.nabble.com> Message-ID: <1550272993901-0.post@n4.nabble.com> under the documentation for dropboxUpload, it states it shouldn't be used for files larger than 150MB, the video files will all be around 800MB I've been looking through the stack, but cannot find the answers I am looking for. SO I am still not clear how I should get my file into pData and pData is just a chunk of the data? How do I make that chunk out of the whole and where do I get pOffset from? Matthias Rebbe via use-livecode wrote > Hey, pink, thanks for the clarification. > First of all, is there a reason why you are doing it this way instead of > using dropboxUpload? If you use dropboxUpload you can do it all in one > shot. > Gerard's stack explains the process and how to use the various commands > Doing it the way you are doing it, you would start with sessionStart and > then you would repeatedly call sessionAppend > pOffset is the length of what you have already sent because there are no > guarantees that dropbox will get your file stream in order, so if it gets > them out of order and pData isn't the same length for each call to append, > the only way dropbox knows where to put the data it just received is if > you > tell it where to put it. > pData should be at most 150mb per call. > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ----- --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From selander at tkf.att.ne.jp Sat Feb 16 01:59:54 2019 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sat, 16 Feb 2019 15:59:54 +0900 Subject: multi line Livecode field uploaded to MySQL Message-ID: <5C67B4EA.1060604@tkf.att.ne.jp> I have a routine to take data from fields on a card and upload to a mysql database. Has worked well for years, got the original script off the Livecode learning site. ------- # Construct SQL put "INSERT INTO podcast(IP,accesstime,access_date,pgm_name,access_code,bytes,agent,city,region,country)" & \ " VALUES(" & tRowData & ")" into tSQL # Execute SQL put revdb_execute(gconnection,tSQL) into tTmp if the result is not 1 then put the result && tSQL & return after message end if --------- tRowData has the data from the card fields, comma delimited. Now, I'm needing to upload fields with multiple lines. But the returns in the data mess it up. Tried enclosing the field data in quotes, like .csv files, but that didn't work either. MySQL can handle multi-line text fields.... so how do I upload them from LC? Any hints greatly appreciated. Tim Selander Tokyo From ludovic.thebault at laposte.net Sat Feb 16 02:12:40 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sat, 16 Feb 2019 08:12:40 +0100 Subject: multi line Livecode field uploaded to MySQL In-Reply-To: <5C67B4EA.1060604@tkf.att.ne.jp> References: <5C67B4EA.1060604@tkf.att.ne.jp> Message-ID: <22520A5E-6B68-43FE-A922-931422966F2E@laposte.net> > Le 16 f?vr. 2019 ? 07:59, Tim Selander via use-livecode a ?crit : > > I have a routine to take data from fields on a card and upload to a mysql database. Has worked well for years, got the original script off the Livecode learning site. > ------- > # Construct SQL > put "INSERT INTO podcast(IP,accesstime,access_date,pgm_name,access_code,bytes,agent,city,region,country)" & \ > " VALUES(" & tRowData & ")" into tSQL > # Execute SQL > put revdb_execute(gconnection,tSQL) into tTmp > > if the result is not 1 then > put the result && tSQL & return after message > end if > --------- > > tRowData has the data from the card fields, comma delimited. > > Now, I'm needing to upload fields with multiple lines. But the returns in the data mess it up. Tried enclosing the field data in quotes, like .csv files, but that didn't work either. > > MySQL can handle multi-line text fields.... so how do I upload them from LC? Any hints greatly appreciated. > Hello, use this syntax : put "INSERT INTO podcast(IP,accesstime,access_date,pgm_name,access_code,bytes,agent,city,region,country)" & \ " VALUES(:1,:2,:3,:4,:5,:6,:7,:8,:9)" into tSQL # Execute SQL revExecuteSQL gconnection,tSQL,"IP","accesstime","access_date","pgm_name","access_code","bytes","agent","city","region ?, "country ?) put the result into tTmp // where IP, accesstime? are variables Ludovic From selander at tkf.att.ne.jp Sat Feb 16 03:17:23 2019 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sat, 16 Feb 2019 17:17:23 +0900 Subject: multi line Livecode field uploaded to MySQL In-Reply-To: <22520A5E-6B68-43FE-A922-931422966F2E@laposte.net> References: <5C67B4EA.1060604@tkf.att.ne.jp> <22520A5E-6B68-43FE-A922-931422966F2E@laposte.net> Message-ID: <5C67C713.2000600@tkf.att.ne.jp> Thank you for your reply, but I haven't gotten it working yet. The code in my first post was from my working stack. Here is what I have from my non-working stack after re-writing to follow your instructions: ------------ # Construct SQL put "INSERT INTO contactInfo(key,organization,denomination,address,category,tel,fax,email,access,founded,staff,servicetime,web,character)" & \ " VALUES(:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14)" into tSQL # Execute SQL revExecuteSQL(gconnection,tSQL,vkey,vorg,vdenom,vadd,vcategory,vtel,vfax,vemail,vaccess,vfounded,vstaff,vtime,vweb,vcat) put the result into tTmp ------------ The table name is "contactInfo" and the list of the table's fields is in the paranthesis. The VALUES(:1,:2.... syntax is something I haven't seen before. I assume that you need as many numbers as you have fields? You say to use variables, and I am assuming in the "revExecuteSQL" line. Is that correct? I tried the list of variables both with the quotes you used, and without just to see. I also tried replacing the revExecuteSQL comman with revdb_execute. Both result in this error: {execution error at line n/a (External handler execution error: revdberr,syntax error) near "revdberr,syntax error"} I appreciate your taking the time to educate me. Tim Selander On 2019.02.16 16:12, Ludovic THEBAULT via use-livecode wrote: > >> Le 16 f?vr. 2019 ? 07:59, Tim Selander via use-livecode a ?crit : >> >> I have a routine to take data from fields on a card and upload to a mysql database. Has worked well for years, got the original script off the Livecode learning site. >> ------- >> # Construct SQL >> put "INSERT INTO podcast(IP,accesstime,access_date,pgm_name,access_code,bytes,agent,city,region,country)" & \ >> " VALUES(" & tRowData & ")" into tSQL >> # Execute SQL >> put revdb_execute(gconnection,tSQL) into tTmp >> >> if the result is not 1 then >> put the result && tSQL & return after message >> end if >> --------- >> >> tRowData has the data from the card fields, comma delimited. >> >> Now, I'm needing to upload fields with multiple lines. But the returns in the data mess it up. Tried enclosing the field data in quotes, like .csv files, but that didn't work either. >> >> MySQL can handle multi-line text fields.... so how do I upload them from LC? Any hints greatly appreciated. >> > > Hello, > > use this syntax : > > put "INSERT INTO podcast(IP,accesstime,access_date,pgm_name,access_code,bytes,agent,city,region,country)" & \ > " VALUES(:1,:2,:3,:4,:5,:6,:7,:8,:9)" into tSQL > # Execute SQL > revExecuteSQL gconnection,tSQL,"IP","accesstime","access_date","pgm_name","access_code","bytes","agent","city","region ?, "country ?) > put the result into tTmp > > // where IP, accesstime? are variables > > Ludovic > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ludovic.thebault at laposte.net Sat Feb 16 04:17:05 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sat, 16 Feb 2019 10:17:05 +0100 Subject: multi line Livecode field uploaded to MySQL In-Reply-To: <5C67C713.2000600@tkf.att.ne.jp> References: <5C67B4EA.1060604@tkf.att.ne.jp> <22520A5E-6B68-43FE-A922-931422966F2E@laposte.net> <5C67C713.2000600@tkf.att.ne.jp> Message-ID: > Le 16 f?vr. 2019 ? 09:17, Tim Selander via use-livecode a ?crit : > > Thank you for your reply, but I haven't gotten it working yet. > > The code in my first post was from my working stack. Here is what I have from my non-working stack after re-writing to follow your instructions: > ------------ > # Construct SQL > put "INSERT INTO contactInfo(key,organization,denomination,address,category,tel,fax,tEmail,access,founded,staff,servicetime,web,character)" & \ > " VALUES(:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14)" into tSQL > # Execute SQL > revExecuteSQL(gconnection,tSQL,vkey,vorg,vdenom,vadd,vcategory,vtel,vfax,vtEmail,vaccess,vfounded,vstaff,vtime,vweb,vcat) > put the result into tTmp > ------------ > > The table name is "contactInfo" and the list of the table's fields is in the paranthesis. > > The VALUES(:1,:2.... syntax is something I haven't seen before. I assume that you need as many numbers as you have fields? > > You say to use variables, and I am assuming in the "revExecuteSQL" line. Is that correct? I tried the list of variables both with the quotes you used, and without just to see. I also tried replacing the revExecuteSQL comman with revdb_execute. Both result in this error: {execution error at line n/a (External handler execution error: revdberr,syntax error) near "revdberr,syntax error"} > > I appreciate your taking the time to educate me. > > Tim Selander > Here an example : put fld "name" into tName put the label of btn "title" into tTitle put fld "first_name" into fFirst_Name put fld "address" into tAddress put fld "citycode" into tCitycode put fld "tCity" into tCity put fld "tPhone" into tPhone put fld "tEmail" into tEmail put "INSERT INTO address ( tAddress, tCitycode, tEmail, tName, fFirst_Name, tPhone, tTitle, tCity) VALUES ( :1, :2, :3, :4, :5, :6, :7, :8 );" into tSQL revExecuteSQL tDatabaseID, tSQL, "tAddress", "tCitycode", "tEmail", "tName", "fFirst_Name", "tPhone", "tTitle", "tCity" //The quote are necessary in last line From selander at tkf.att.ne.jp Sat Feb 16 05:49:27 2019 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sat, 16 Feb 2019 19:49:27 +0900 Subject: multi line Livecode field uploaded to MySQL In-Reply-To: References: <5C67B4EA.1060604@tkf.att.ne.jp> <22520A5E-6B68-43FE-A922-931422966F2E@laposte.net> <5C67C713.2000600@tkf.att.ne.jp> Message-ID: <5C67EAB7.60309@tkf.att.ne.jp> Thank you! It didn't quite work for me at first, but in re-reading the Dictionary on revExecuteSQL and reading BYU's page on the subject, I got it working. Really appreciate your help. Tim Selander Tokyo On 2019.02.16 18:17, Ludovic THEBAULT via use-livecode wrote: > >> Le 16 f?vr. 2019 ? 09:17, Tim Selander via use-livecode a ?crit : >> >> Thank you for your reply, but I haven't gotten it working yet. >> >> The code in my first post was from my working stack. Here is what I have from my non-working stack after re-writing to follow your instructions: >> ------------ >> # Construct SQL >> put "INSERT INTO contactInfo(key,organization,denomination,address,category,tel,fax,tEmail,access,founded,staff,servicetime,web,character)" & \ >> " VALUES(:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14)" into tSQL >> # Execute SQL >> revExecuteSQL(gconnection,tSQL,vkey,vorg,vdenom,vadd,vcategory,vtel,vfax,vtEmail,vaccess,vfounded,vstaff,vtime,vweb,vcat) >> put the result into tTmp >> ------------ >> >> The table name is "contactInfo" and the list of the table's fields is in the paranthesis. >> >> The VALUES(:1,:2.... syntax is something I haven't seen before. I assume that you need as many numbers as you have fields? >> >> You say to use variables, and I am assuming in the "revExecuteSQL" line. Is that correct? I tried the list of variables both with the quotes you used, and without just to see. I also tried replacing the revExecuteSQL comman with revdb_execute. Both result in this error: {execution error at line n/a (External handler execution error: revdberr,syntax error) near "revdberr,syntax error"} >> >> I appreciate your taking the time to educate me. >> >> Tim Selander >> > > > Here an example : > > put fld "name" into tName > > put the label of btn "title" into tTitle > put fld "first_name" into fFirst_Name > > put fld "address" into tAddress > > put fld "citycode" into tCitycode > > put fld "tCity" into tCity > > put fld "tPhone" into tPhone > > put fld "tEmail" into tEmail > > put "INSERT INTO address ( tAddress, tCitycode, tEmail, tName, fFirst_Name, tPhone, tTitle, tCity) VALUES ( :1, :2, :3, :4, :5, :6, :7, :8 );" into tSQL > revExecuteSQL tDatabaseID, tSQL, "tAddress", "tCitycode", "tEmail", "tName", "fFirst_Name", "tPhone", "tTitle", "tCity" > > //The quote are necessary in last line > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jjs at krutt.org Sat Feb 16 09:21:10 2019 From: jjs at krutt.org (JJS) Date: Sat, 16 Feb 2019 15:21:10 +0100 Subject: Need crash course in Dropbox library In-Reply-To: <1550272993901-0.post@n4.nabble.com> References: <1550153533447-0.post@n4.nabble.com> <1550193854760-0.post@n4.nabble.com> <1550254937297-0.post@n4.nabble.com> <1550272993901-0.post@n4.nabble.com> Message-ID: <95183260-6279-602b-c66e-775e08a41bf3@krutt.org> Don't know if this works anymore but before i used this: *on*openstack *if* thereisnotastack"phxDropboxLib"*then* *put*GetPathToFile("phxDropboxLib.livecode") intophxLib *start*usingstackphxLib *else* *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* *start*usingstack"phxDropboxLib" *end* *if* *--* *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* *answer*error"Unable to load phxDropboxLib" *quit* *end* *if* *constant*myAppKey = "appappappapp" *constant*myAppSec = "secsecsec" *constant*myTokKey = "toktoktoktok" *constant*myTokSec = "sectoksectok" *--* *if* notphx_DropboxAvailable() *then* *answer*"Dropbox HTTPS connection NOT available" *end* *if* *get*phx_DropboxInitLib(myAppKey, myAppSec, myTokKey, myTokSec) end openCard ----reading---- *put*phx_DropboxReadFile("sandbox", ("/folder/some.txt")) intoField"Name1"ofcard1 ----writing------ *put*phx_DropboxWriteFile("sandbox", ("/folder/some.txt"), "text/html", true, myName) intofield"udontcme"ofcard1 ------close----------- *on*closeStack *set*theuTokenKey ofthisstacktoempty *set*theuTokenSec ofthisstacktoempty *stop*usingstack"phxDropboxLib" *close*stack"phxDropboxLib" *pass*closeStack *end*closeStack Op 16-2-2019 om 00:23 schreef pink via use-livecode: > under the documentation for dropboxUpload, it states it shouldn't be used > for files larger than 150MB, the video files will all be around 800MB > > I've been looking through the stack, but cannot find the answers I am > looking for. SO I am still not clear how I should get my file into pData > > and pData is just a chunk of the data? How do I make that chunk out of the > whole and where do I get pOffset from? > > > Matthias Rebbe via use-livecode wrote >> Hey, pink, thanks for the clarification. >> First of all, is there a reason why you are doing it this way instead of >> using dropboxUpload? If you use dropboxUpload you can do it all in one >> shot. >> Gerard's stack explains the process and how to use the various commands >> Doing it the way you are doing it, you would start with sessionStart and >> then you would repeatedly call sessionAppend >> pOffset is the length of what you have already sent because there are no >> guarantees that dropbox will get your file stream in order, so if it gets >> them out of order and pData isn't the same length for each call to append, >> the only way dropbox knows where to put the data it just received is if >> you >> tell it where to put it. >> pData should be at most 150mb per call. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at .runrev >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > ----- > --- > Greg (pink) Miller > mad, pink and dangerous to code > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Sat Feb 16 09:24:23 2019 From: jjs at krutt.org (JJS) Date: Sat, 16 Feb 2019 15:24:23 +0100 Subject: Need crash course in Dropbox library In-Reply-To: <95183260-6279-602b-c66e-775e08a41bf3@krutt.org> References: <1550153533447-0.post@n4.nabble.com> <1550193854760-0.post@n4.nabble.com> <1550254937297-0.post@n4.nabble.com> <1550272993901-0.post@n4.nabble.com> <95183260-6279-602b-c66e-775e08a41bf3@krutt.org> Message-ID: please ignore the *, that's a copy/paste issue from lc to thunderbird Op 16-2-2019 om 15:21 schreef JJS via use-livecode: > Don't know if this works anymore but before i used this: > > > *on*openstack > > *if* thereisnotastack"phxDropboxLib"*then* > > *put*GetPathToFile("phxDropboxLib.livecode") intophxLib > > *start*usingstackphxLib > > *else* *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* > > *start*usingstack"phxDropboxLib" > > *end* *if* > > *--* > > *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* > > *answer*error"Unable to load phxDropboxLib" > > *quit* > > *end* *if* > > *constant*myAppKey = "appappappapp" > > *constant*myAppSec = "secsecsec" > > *constant*myTokKey = "toktoktoktok" > > *constant*myTokSec = "sectoksectok" > > *--* > > *if* notphx_DropboxAvailable() *then* > > *answer*"Dropbox HTTPS connection NOT available" > > *end* *if* > > *get*phx_DropboxInitLib(myAppKey, myAppSec, myTokKey, myTokSec) > > end openCard > > ----reading---- > > *put*phx_DropboxReadFile("sandbox", ("/folder/some.txt")) > intoField"Name1"ofcard1 > > ----writing------ > > *put*phx_DropboxWriteFile("sandbox", ("/folder/some.txt"), > "text/html", true, myName) intofield"udontcme"ofcard1 > > ------close----------- > > *on*closeStack > > *set*theuTokenKey ofthisstacktoempty > > *set*theuTokenSec ofthisstacktoempty > > *stop*usingstack"phxDropboxLib" > > *close*stack"phxDropboxLib" > > *pass*closeStack > > *end*closeStack > > Op 16-2-2019 om 00:23 schreef pink via use-livecode: >> under the documentation for dropboxUpload,? it states it shouldn't be >> used >> for files larger than 150MB, the video files will all be around 800MB >> >> I've been looking through the stack, but cannot find the answers I am >> looking for. SO I am still not clear how I should get my file into pData >> >> and pData is just a chunk of the data? How do I make that chunk out >> of the >> whole and where do I get pOffset from? >> >> >> Matthias Rebbe via use-livecode wrote >>> Hey, pink, thanks for the clarification. >>> First of all, is there a reason why you are doing it this way >>> instead of >>> using dropboxUpload?? If you use dropboxUpload you can do it all in one >>> shot. >>> Gerard's stack explains the process and how to use the various commands >>> Doing it the way you are doing it, you would start with sessionStart >>> and >>> then you would repeatedly call sessionAppend >>> pOffset is the length of what you have already sent because there >>> are no >>> guarantees that dropbox will get your file stream in order, so if it >>> gets >>> them out of order and pData isn't the same length for each call to >>> append, >>> the only way dropbox knows where to put the data it just received is if >>> you >>> tell it where to put it. >>> pData should be at most 150mb per call. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at .runrev >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> ----- >> --- >> Greg (pink) Miller >> mad, pink and dangerous to code >> -- >> Sent from: >> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sat Feb 16 12:01:15 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 16 Feb 2019 09:01:15 -0800 Subject: Need crash course in Dropbox library In-Reply-To: References: <1550153533447-0.post@n4.nabble.com> <1550193854760-0.post@n4.nabble.com> <1550254937297-0.post@n4.nabble.com> <1550272993901-0.post@n4.nabble.com> <95183260-6279-602b-c66e-775e08a41bf3@krutt.org> Message-ID: <9aced026-6a85-5044-425f-cfd8274987f3@sonic.net> On 2/16/19 6:24 AM, JJS via use-livecode wrote: > please ignore the *, that's a copy/paste issue from lc to thunderbird To solve this in thunderbird: Open the Address Book If you don't already have an entry for the use-list, create one Right-click on the entry in the address book Select "Edit Contact" For "Prefers to receive messages formatted as:" Select "Plain Text" problem solved. Alternate methods: Select "Account Settings" from the Edit menu Select "Composition & Addressing" Uncheck "Compose messages in HTML format" Select Preferences from the Edit menu Select the Composition tab Select the General tab Click the "Send Options..." button Check "Send messages as plain text if possible" -- Mark Wieder ahsoftware at gmail.com From jjs at krutt.org Sat Feb 16 12:52:49 2019 From: jjs at krutt.org (JJS) Date: Sat, 16 Feb 2019 18:52:49 +0100 Subject: Need crash course in Dropbox library In-Reply-To: <9aced026-6a85-5044-425f-cfd8274987f3@sonic.net> References: <1550153533447-0.post@n4.nabble.com> <1550193854760-0.post@n4.nabble.com> <1550254937297-0.post@n4.nabble.com> <1550272993901-0.post@n4.nabble.com> <95183260-6279-602b-c66e-775e08a41bf3@krutt.org> <9aced026-6a85-5044-425f-cfd8274987f3@sonic.net> Message-ID: <0c1fee3f-c974-d78f-20e6-8e762030c64a@krutt.org> ah yes, thanks Mark. Op 16-2-2019 om 18:01 schreef Mark Wieder via use-livecode: > On 2/16/19 6:24 AM, JJS via use-livecode wrote: >> please ignore the *, that's a copy/paste issue from lc to thunderbird > > To solve this in thunderbird: > > Open the Address Book > If you don't already have an entry for the use-list, create one > Right-click on the entry in the address book > Select "Edit Contact" > For "Prefers to receive messages formatted as:" > Select "Plain Text" > > problem solved. > > Alternate methods: > > Select "Account Settings" from the Edit menu > Select "Composition & Addressing" > Uncheck "Compose messages in HTML format" > > Select Preferences from the Edit menu > Select the Composition tab > Select the General tab > Click the "Send Options..." button > Check "Send messages as plain text if possible" > From jjs at krutt.org Sun Feb 17 07:12:56 2019 From: jjs at krutt.org (JJS) Date: Sun, 17 Feb 2019 13:12:56 +0100 Subject: LC902 and LC901 Crash with Answer Message-ID: <06434fde-069c-a36a-2dbe-4820e6530cf9@krutt.org> Hi, anyone had this before? with LC902 community on win10 64bits When i put 25 variables into a variable like this: put "id=" & tId & "&name=" & tN & "&address=" & tA ......and so on....into varSendData half of the variables are ---> encrypted--->base64encoded--->URLencoded then answer varSendData ----just to check if it is correct what i post to my php middleware LC902 crashes, it's just unresponsive and have to close it via taskmanager Now i did not see this before and it always worked. So deleted preferences file, no luck downloaded LC901, same issue If i uncomment the answer then it works as expected all other answer commands in the script work normally. So is there a limit to what can be shown by the answer command or are the encoded elements the cullprit? I know with normal text you can show a lot. thanks Sphere(Jerry) From alex at tweedly.net Sun Feb 17 07:18:10 2019 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 17 Feb 2019 12:18:10 +0000 Subject: LC902 and LC901 Crash with Answer In-Reply-To: <06434fde-069c-a36a-2dbe-4820e6530cf9@krutt.org> References: <06434fde-069c-a36a-2dbe-4820e6530cf9@krutt.org> Message-ID: <58d45661-c80e-a612-0f73-7a02fe4044cd@tweedly.net> The encoded elements should be OK, if you base64encode() all encrypted or binary data. Sounds like it could be a bug. But what I'd try is writing varSendData to a local file, and doing answer "the data is now in " to see if that works, and to see if there is anything dubious in the variable when written to the file. Alex On 17/02/2019 12:12, JJS via use-livecode wrote: > Hi, > > anyone had this before? with LC902 community on win10 64bits > > > When i put 25 variables into a variable like this: > > put "id=" & tId & "&name=" & tN & "&address=" & tA ......and so > on....into varSendData > > half of the variables are ---> encrypted--->base64encoded--->URLencoded > > then > > answer varSendData ----just to check if it is correct what i post to > my php middleware > > LC902 crashes, it's just unresponsive and have to close it via > taskmanager > > Now i did not see this before and it always worked. > > So deleted preferences file, no luck > > downloaded LC901, same issue > > If i uncomment the answer then it works as expected > > > all other answer commands in the script work normally. > > So is there a limit to what can be shown by the answer command or are > the encoded elements the cullprit? > > I know with normal text you can show a lot. > > > thanks Sphere(Jerry) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From frans at knowlegistics.com Sun Feb 17 07:39:02 2019 From: frans at knowlegistics.com (Frans Schoffelen) Date: Sun, 17 Feb 2019 13:39:02 +0100 Subject: Lack of Mobile Player callbacks and subtitles problem In-Reply-To: References: Message-ID: Hi all. Anybody been able to get time-locked subtitles for mobile video players that worked in the post-QT era ? My searches have not produced anything. Since there are no callbacks from ?MobileCreateControl Player? anymore to kick subtitles in a field from a list at a given time ( like the only available old example on the LC site) , I have tried cumbersome double timers. Simple tracking is then ok, but starting stopping, continuing a movie is way too imprecise and introduces unforeseen results. Anybody come up with a solution ? Anybody up for doing an AV Foundation widget for this (Paid work) ? It?s for a project to teach refugee children if that motivates anybody at all ;-) Greetz from Berlin. Frans Schoffelen http://knowlegistics.com // Software & Sound // Berlin From jjs at krutt.org Sun Feb 17 08:59:28 2019 From: jjs at krutt.org (JJS) Date: Sun, 17 Feb 2019 14:59:28 +0100 Subject: LC902 and LC901 Crash with Answer In-Reply-To: <58d45661-c80e-a612-0f73-7a02fe4044cd@tweedly.net> References: <06434fde-069c-a36a-2dbe-4820e6530cf9@krutt.org> <58d45661-c80e-a612-0f73-7a02fe4044cd@tweedly.net> Message-ID: That's a good idea too. Thanks Alex Jerry Op 17-2-2019 om 13:18 schreef Alex Tweedly via use-livecode: > The encoded elements should be OK, if you base64encode() all encrypted > or binary data. > > Sounds like it could be a bug. But what I'd try is writing varSendData > to a local file, and doing > > answer "the data is now in " > > to see if that works, and to see if there is anything dubious in the > variable when written to the file. > > Alex > > On 17/02/2019 12:12, JJS via use-livecode wrote: >> Hi, >> >> anyone had this before? with LC902 community on win10 64bits >> >> >> When i put 25 variables into a variable like this: >> >> put "id=" & tId & "&name=" & tN & "&address=" & tA ......and so >> on....into varSendData >> >> half of the variables are ---> encrypted--->base64encoded--->URLencoded >> >> then >> >> answer varSendData ----just to check if it is correct what i post to >> my php middleware >> >> LC902 crashes, it's just unresponsive and have to close it via >> taskmanager >> >> Now i did not see this before and it always worked. >> >> So deleted preferences file, no luck >> >> downloaded LC901, same issue >> >> If i uncomment the answer then it works as expected >> >> >> all other answer commands in the script work normally. >> >> So is there a limit to what can be shown by the answer command or are >> the encoded elements the cullprit? >> >> I know with normal text you can show a lot. >> >> >> thanks Sphere(Jerry) >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From nabble at mad.pink Sun Feb 17 10:41:47 2019 From: nabble at mad.pink (pink) Date: Sun, 17 Feb 2019 09:41:47 -0600 (CST) Subject: Need crash course in Dropbox library In-Reply-To: <95183260-6279-602b-c66e-775e08a41bf3@krutt.org> References: <1550153533447-0.post@n4.nabble.com> <1550193854760-0.post@n4.nabble.com> <1550254937297-0.post@n4.nabble.com> <1550272993901-0.post@n4.nabble.com> <95183260-6279-602b-c66e-775e08a41bf3@krutt.org> Message-ID: <1550418107109-0.post@n4.nabble.com> the phxDropbox library is for v1 of the Dropbox API, which has been deprecated what I need is to get a handle of the upload session commands, how do I properly break the file data into seperate sessions, and how do i determine the offset value Matthias Rebbe via use-livecode wrote > Don't know if this works anymore but before i used this: > > > *on*openstack > > *if* thereisnotastack"phxDropboxLib"*then* > > *put*GetPathToFile("phxDropboxLib.livecode") intophxLib > > *start*usingstackphxLib > > *else* *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* > > *start*usingstack"phxDropboxLib" > > *end* *if* > > *--* > > *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* > > *answer*error"Unable to load phxDropboxLib" > > *quit* > > *end* *if* > > *constant*myAppKey = "appappappapp" > > *constant*myAppSec = "secsecsec" > > *constant*myTokKey = "toktoktoktok" > > *constant*myTokSec = "sectoksectok" > > *--* > > *if* notphx_DropboxAvailable() *then* > > *answer*"Dropbox HTTPS connection NOT available" > > *end* *if* > > *get*phx_DropboxInitLib(myAppKey, myAppSec, myTokKey, myTokSec) > > end openCard > > ----reading---- > > *put*phx_DropboxReadFile("sandbox", ("/folder/some.txt")) > intoField"Name1"ofcard1 > > ----writing------ > > *put*phx_DropboxWriteFile("sandbox", ("/folder/some.txt"), "text/html", > true, myName) intofield"udontcme"ofcard1 > > ------close----------- > > *on*closeStack > > *set*theuTokenKey ofthisstacktoempty > > *set*theuTokenSec ofthisstacktoempty > > *stop*usingstack"phxDropboxLib" > > *close*stack"phxDropboxLib" > > *pass*closeStack > > *end*closeStack > > Op 16-2-2019 om 00:23 schreef pink via use-livecode: >> under the documentation for dropboxUpload, it states it shouldn't be >> used >> for files larger than 150MB, the video files will all be around 800MB >> >> I've been looking through the stack, but cannot find the answers I am >> looking for. SO I am still not clear how I should get my file into pData >> >> and pData is just a chunk of the data? How do I make that chunk out of >> the >> whole and where do I get pOffset from? >> >> >> Matthias Rebbe via use-livecode wrote >>> Hey, pink, thanks for the clarification. >>> First of all, is there a reason why you are doing it this way instead of >>> using dropboxUpload? If you use dropboxUpload you can do it all in one >>> shot. >>> Gerard's stack explains the process and how to use the various commands >>> Doing it the way you are doing it, you would start with sessionStart and >>> then you would repeatedly call sessionAppend >>> pOffset is the length of what you have already sent because there are no >>> guarantees that dropbox will get your file stream in order, so if it >>> gets >>> them out of order and pData isn't the same length for each call to >>> append, >>> the only way dropbox knows where to put the data it just received is if >>> you >>> tell it where to put it. >>> pData should be at most 150mb per call. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at .runrev >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> ----- >> --- >> Greg (pink) Miller >> mad, pink and dangerous to code >> -- >> Sent from: >> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> _______________________________________________ >> use-livecode mailing list >> > use-livecode at .runrev >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ----- --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From jacque at hyperactivesw.com Sun Feb 17 12:43:38 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 17 Feb 2019 11:43:38 -0600 Subject: LC902 and LC901 Crash with Answer In-Reply-To: <06434fde-069c-a36a-2dbe-4820e6530cf9@krutt.org> References: <06434fde-069c-a36a-2dbe-4820e6530cf9@krutt.org> Message-ID: <168fc8e6910.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That sounds more like a hang rather than a crash, which means LC is involved in a lengthy process that is forbidding any other actions. The answer dialog tries to create html text in order to support text styles. My guess is that it's trying to interpret the random characters in the base64 text as html and is getting stuck in a loop. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 17, 2019 6:14:45 AM JJS via use-livecode wrote: > Hi, > > anyone had this before? with LC902 community on win10 64bits > > > When i put 25 variables into a variable like this: > > put "id=" & tId & "&name=" & tN & "&address=" & tA ......and so > on....into varSendData > > half of the variables are ---> encrypted--->base64encoded--->URLencoded > > then > > answer varSendData ----just to check if it is correct what i post to my > php middleware > > LC902 crashes, it's just unresponsive and have to close it via taskmanager > > Now i did not see this before and it always worked. > > So deleted preferences file, no luck > > downloaded LC901, same issue > > If i uncomment the answer then it works as expected > > > all other answer commands in the script work normally. > > So is there a limit to what can be shown by the answer command or are > the encoded elements the cullprit? > > I know with normal text you can show a lot. > > > thanks Sphere(Jerry) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Feb 17 13:46:11 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 17 Feb 2019 10:46:11 -0800 Subject: LC902 and LC901 Hang with Answer In-Reply-To: <06434fde-069c-a36a-2dbe-4820e6530cf9@krutt.org> References: <06434fde-069c-a36a-2dbe-4820e6530cf9@krutt.org> Message-ID: <7f2b4707-888b-ee8c-2ac2-5094e6e829a1@fourthworld.com> Sphere(Jerry) wrote: > anyone had this before? with LC902 community on win10 64bits > > When i put 25 variables into a variable like this: > > put "id=" & tId & "&name=" & tN & "&address=" & tA ......and so > on....into varSendData > > half of the variables are ---> > encrypted--->base64encoded--->URLencoded > > then > > answer varSendData ----just to check if it is correct what i post to > my php middleware > > LC902 crashes, it's just unresponsive and have to close it via > taskmanager To diagnoses this it may be helpful to see if we can separate the complexities of text rendering from the complexities of modal dialog event loops. What happens if you display that text in a field rather than in an Answer dialog? If the text begins with "

" and ends with "

" LC will attempt to interpret it as htmlText, as Jacque noted. Is that the case with your data? If so, what happens when you set the htmlText of a field to that data? > Now i did not see this before and it always worked. What changed between the working and non-working states? Different data? Different LC version? Something else? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at tweedly.net Sun Feb 17 14:05:01 2019 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 17 Feb 2019 19:05:01 +0000 Subject: LC902 and LC901 Crash with Answer In-Reply-To: <168fc8e6910.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <06434fde-069c-a36a-2dbe-4820e6530cf9@krutt.org> <168fc8e6910.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: That shouldn't be a problem. OP said he was URLencoding after the base64encoding, so all the random HTML characters should be 'protected'. Alex. On 17/02/2019 17:43, J. Landman Gay via use-livecode wrote: > That sounds more like a hang rather than a crash, which means LC is > involved in a lengthy process that is forbidding any other actions. > > The answer dialog tries to create html text in order to support text > styles. My guess is that it's trying to interpret the random > characters in the base64 text as html and is getting stuck in a loop. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On February 17, 2019 6:14:45 AM JJS via use-livecode > wrote: > >> Hi, >> >> anyone had this before? with LC902 community on win10 64bits >> >> >> When i put 25 variables into a variable like this: >> >> put "id=" & tId & "&name=" & tN & "&address=" & tA ......and so >> on....into varSendData >> >> half of the variables are ---> encrypted--->base64encoded--->URLencoded >> >> then >> >> answer varSendData ----just to check if it is correct what i post to my >> php middleware >> >> LC902 crashes, it's just unresponsive and have to close it via >> taskmanager >> >> Now i did not see this before and it always worked. >> >> So deleted preferences file, no luck >> >> downloaded LC901, same issue >> >> If i uncomment the answer then it works as expected >> >> >> all other answer commands in the script work normally. >> >> So is there a limit to what can be shown by the answer command or are >> the encoded elements the cullprit? >> >> I know with normal text you can show a lot. >> >> >> thanks Sphere(Jerry) >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Sun Feb 17 14:51:11 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 17 Feb 2019 14:51:11 -0500 Subject: LC902 and LC901 Crash with Answer In-Reply-To: <06434fde-069c-a36a-2dbe-4820e6530cf9@krutt.org> References: <06434fde-069c-a36a-2dbe-4820e6530cf9@krutt.org> Message-ID: <001001d4c6fa$250e3a00$6f2aae00$@net> I've seen this when you try too display much data in an answer(or ask). You can usually get out of it if you key a "Return"(or two-tree). At that point save and restart IDE(not usually necessary but "the ctrl S"s get more frequent for sure). I did not report this because I was displaying an obscene amount of data by mistake. You might have reached my afore mentioned "obscene amount of data" in an answer dialog. 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 JJS via use-livecode Sent: Sunday, February 17, 2019 7:13 AM To: How to use LiveCode Cc: JJS Subject: LC902 and LC901 Crash with Answer Hi, anyone had this before? with LC902 community on win10 64bits When i put 25 variables into a variable like this: put "id=" & tId & "&name=" & tN & "&address=" & tA ......and so on....into varSendData half of the variables are ---> encrypted--->base64encoded--->URLencoded then answer varSendData ----just to check if it is correct what i post to my php middleware LC902 crashes, it's just unresponsive and have to close it via taskmanager Now i did not see this before and it always worked. So deleted preferences file, no luck downloaded LC901, same issue If i uncomment the answer then it works as expected all other answer commands in the script work normally. So is there a limit to what can be shown by the answer command or are the encoded elements the cullprit? I know with normal text you can show a lot. thanks Sphere(Jerry) _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Sun Feb 17 17:15:04 2019 From: jjs at krutt.org (JJS) Date: Sun, 17 Feb 2019 23:15:04 +0100 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: <001001d4c6fa$250e3a00$6f2aae00$@net> References: <06434fde-069c-a36a-2dbe-4820e6530cf9@krutt.org> <001001d4c6fa$250e3a00$6f2aae00$@net> Message-ID: Hi everyone, i guess Ralph is correct as it probably too much data to display. If it is just one variable with encr-->base64enc-->URLenc then there seems to be no problem. That's probably why have not seen this before, but i used the answer with these 25 variables also before and maybe it was 9.0. But as i also tested with 9.01 and had the same result i did not test with 9.0. No the data is not surrounded by

. Indeed it's rather a hang than a crash (crash would most probably unload LC, but it stays unresponsive) The answer does show the data, then when hitting Return as i don't see the OK it hangs. Solution is then probably to not show to much strange data with the answer command. Thanks all. Jerry Op 17-2-2019 om 20:51 schreef Ralph DiMola via use-livecode: > I've seen this when you try too display much data in an answer(or ask). You > can usually get out of it if you key a "Return"(or two-tree). At that point > save and restart IDE(not usually necessary but "the ctrl S"s get more > frequent for sure). I did not report this because I was displaying an > obscene amount of data by mistake. You might have reached my afore mentioned > "obscene amount of data" in an answer dialog. > > 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 JJS via use-livecode > Sent: Sunday, February 17, 2019 7:13 AM > To: How to use LiveCode > Cc: JJS > Subject: LC902 and LC901 Crash with Answer > > Hi, > > anyone had this before? with LC902 community on win10 64bits > > > When i put 25 variables into a variable like this: > > put "id=" & tId & "&name=" & tN & "&address=" & tA ......and so on....into > varSendData > > half of the variables are ---> encrypted--->base64encoded--->URLencoded > > then > > answer varSendData ----just to check if it is correct what i post to my php > middleware > > LC902 crashes, it's just unresponsive and have to close it via taskmanager > > Now i did not see this before and it always worked. > > So deleted preferences file, no luck > > downloaded LC901, same issue > > If i uncomment the answer then it works as expected > > > all other answer commands in the script work normally. > > So is there a limit to what can be shown by the answer command or are the > encoded elements the cullprit? > > I know with normal text you can show a lot. > > > thanks Sphere(Jerry) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Sun Feb 17 17:44:38 2019 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sun, 17 Feb 2019 14:44:38 -0800 Subject: Lack of Mobile Player callbacks and subtitles problem In-Reply-To: References: Message-ID: <760231BE-2858-45D9-A7B0-DFB769140A87@me.com> Does mergAVPlayerCreateBoundaryTimeObserver help you? Peter Bogdanoff > On Feb 17, 2019, at 4:39 AM, Frans Schoffelen via use-livecode wrote: > > > Hi all. Anybody been able to get time-locked subtitles for mobile video players > that worked in the post-QT era ? My searches have not produced anything. > > Since there are no callbacks from ?MobileCreateControl Player? anymore to kick subtitles in a field from a list > at a given time ( like the only available old example on the LC site) , I have tried cumbersome double timers. > Simple tracking is then ok, but starting stopping, continuing a movie is way too imprecise and introduces unforeseen results. > Anybody come up with a solution ? > > Anybody up for doing an AV Foundation widget for this (Paid work) ? > > It?s for a project to teach refugee children if that motivates anybody at all ;-) > > Greetz from Berlin. > > > Frans Schoffelen > http://knowlegistics.com // Software & Sound // Berlin > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Sun Feb 17 19:16:45 2019 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 17 Feb 2019 19:16:45 -0500 Subject: Need crash course in Dropbox library In-Reply-To: <1550418107109-0.post@n4.nabble.com> References: <1550153533447-0.post@n4.nabble.com> <1550193854760-0.post@n4.nabble.com> <1550254937297-0.post@n4.nabble.com> <1550272993901-0.post@n4.nabble.com> <95183260-6279-602b-c66e-775e08a41bf3@krutt.org> <1550418107109-0.post@n4.nabble.com> Message-ID: Hey pink Yes, you are just going to put 150MB at a time into the pData parameter and ship it. I have not uploaded any binary files, just encoded text files, so you may have to fiddle with encoding to make sure you don't get into any trouble. You should be able to open/read the files using put url "binfile:/"&somefilename into fileContents On Sun, Feb 17, 2019 at 10:42 AM pink via use-livecode < use-livecode at lists.runrev.com> wrote: > the phxDropbox library is for v1 of the Dropbox API, which has been > deprecated > > what I need is to get a handle of the upload session commands, how do I > properly break the file data into seperate sessions, and how do i determine > the offset value > > > Matthias Rebbe via use-livecode wrote > > Don't know if this works anymore but before i used this: > > > > > > *on*openstack > > > > *if* thereisnotastack"phxDropboxLib"*then* > > > > *put*GetPathToFile("phxDropboxLib.livecode") intophxLib > > > > *start*usingstackphxLib > > > > *else* *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* > > > > *start*usingstack"phxDropboxLib" > > > > *end* *if* > > > > *--* > > > > *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* > > > > *answer*error"Unable to load phxDropboxLib" > > > > *quit* > > > > *end* *if* > > > > *constant*myAppKey = "appappappapp" > > > > *constant*myAppSec = "secsecsec" > > > > *constant*myTokKey = "toktoktoktok" > > > > *constant*myTokSec = "sectoksectok" > > > > *--* > > > > *if* notphx_DropboxAvailable() *then* > > > > *answer*"Dropbox HTTPS connection NOT available" > > > > *end* *if* > > > > *get*phx_DropboxInitLib(myAppKey, myAppSec, myTokKey, myTokSec) > > > > end openCard > > > > ----reading---- > > > > *put*phx_DropboxReadFile("sandbox", ("/folder/some.txt")) > > intoField"Name1"ofcard1 > > > > ----writing------ > > > > *put*phx_DropboxWriteFile("sandbox", ("/folder/some.txt"), "text/html", > > true, myName) intofield"udontcme"ofcard1 > > > > ------close----------- > > > > *on*closeStack > > > > *set*theuTokenKey ofthisstacktoempty > > > > *set*theuTokenSec ofthisstacktoempty > > > > *stop*usingstack"phxDropboxLib" > > > > *close*stack"phxDropboxLib" > > > > *pass*closeStack > > > > *end*closeStack > > > > Op 16-2-2019 om 00:23 schreef pink via use-livecode: > >> under the documentation for dropboxUpload, it states it shouldn't be > >> used > >> for files larger than 150MB, the video files will all be around 800MB > >> > >> I've been looking through the stack, but cannot find the answers I am > >> looking for. SO I am still not clear how I should get my file into pData > >> > >> and pData is just a chunk of the data? How do I make that chunk out of > >> the > >> whole and where do I get pOffset from? > >> > >> > >> Matthias Rebbe via use-livecode wrote > >>> Hey, pink, thanks for the clarification. > >>> First of all, is there a reason why you are doing it this way instead > of > >>> using dropboxUpload? If you use dropboxUpload you can do it all in one > >>> shot. > >>> Gerard's stack explains the process and how to use the various commands > >>> Doing it the way you are doing it, you would start with sessionStart > and > >>> then you would repeatedly call sessionAppend > >>> pOffset is the length of what you have already sent because there are > no > >>> guarantees that dropbox will get your file stream in order, so if it > >>> gets > >>> them out of order and pData isn't the same length for each call to > >>> append, > >>> the only way dropbox knows where to put the data it just received is if > >>> you > >>> tell it where to put it. > >>> pData should be at most 150mb per call. > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at .runrev > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> > >> > >> ----- > >> --- > >> Greg (pink) Miller > >> mad, pink and dangerous to code > >> -- > >> Sent from: > >> > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > >> > >> _______________________________________________ > >> use-livecode mailing list > >> > > > use-livecode at .runrev > > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > > use-livecode at .runrev > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > ----- > --- > Greg (pink) Miller > mad, pink and dangerous to code > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Sun Feb 17 19:49:36 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 17 Feb 2019 16:49:36 -0800 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: References: Message-ID: JJS wrote: > i guess Ralph is correct as it probably too much data to display. What is the total length of the data? And what happens when you output it to a field in your stack rather than the field in the Answer dialog? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From andre at andregarzia.com Mon Feb 18 08:06:46 2019 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 18 Feb 2019 13:06:46 +0000 Subject: [ANN] vCard & iCalendar library Message-ID: Hi Friends, I am in the process of updating my LiveCode book (http://andregarzia.com/livecode/#livecode-advanced-application-architecture). The demo application for the book is an Address Book stack and while I was writing the "libraries" chapter, I remembered that long ago, I wrote an vCard/iCalendar library. I went to my old machines, found it, and it still works. I've updated it to be a plain-text stack and placed it online. Feel free to use it in any way you want. It can generate and parse both vCard 3 and iCalendar files while also providing enough low-level routines for you to generate your own "vObject"-based file formats. ? https://github.com/soapdog/livecode-vobjectlib I've also added some minimal documentation at https://soapdog.github.io/livecode-vobjectlib/#/, this is very incomplete. It is just a port of the old stack based documentation to text files. If there is enough interest, I can write more detailed documentation later. One very cool anecdote is that this library was made in 2005, thats 14 years ago. There are LiveCode users who are younger than that. It is old code which is not using any of the modern LC stuff and it still works well and fast. I am really happy with it. I hope you folks will benefit from it too. Cheers andre From nabble at mad.pink Mon Feb 18 08:21:18 2019 From: nabble at mad.pink (pink) Date: Mon, 18 Feb 2019 07:21:18 -0600 (CST) Subject: Need crash course in Dropbox library In-Reply-To: References: <1550153533447-0.post@n4.nabble.com> <1550193854760-0.post@n4.nabble.com> <1550254937297-0.post@n4.nabble.com> <1550272993901-0.post@n4.nabble.com> <95183260-6279-602b-c66e-775e08a41bf3@krutt.org> <1550418107109-0.post@n4.nabble.com> Message-ID: <1550496078071-0.post@n4.nabble.com> I'm getting a little closer... 1. how do I break fileContents into smaller pieces? 2. how do I properly calculate the pOffset value? Matthias Rebbe via use-livecode wrote > Hey pink > Yes, you are just going to put 150MB at a time into the pData parameter > and > ship it. > I have not uploaded any binary files, just encoded text files, so you may > have to fiddle with encoding to make sure you don't get into any trouble. > You should be able to open/read the files using > put url "binfile:/"&somefilename into fileContents > > On Sun, Feb 17, 2019 at 10:42 AM pink via use-livecode < > use-livecode at .runrev >> wrote: > >> the phxDropbox library is for v1 of the Dropbox API, which has been >> deprecated >> >> what I need is to get a handle of the upload session commands, how do I >> properly break the file data into seperate sessions, and how do i >> determine >> the offset value >> >> >> Matthias Rebbe via use-livecode wrote >> > Don't know if this works anymore but before i used this: >> > >> > >> > *on*openstack >> > >> > *if* thereisnotastack"phxDropboxLib"*then* >> > >> > *put*GetPathToFile("phxDropboxLib.livecode") intophxLib >> > >> > *start*usingstackphxLib >> > >> > *else* *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* >> > >> > *start*usingstack"phxDropboxLib" >> > >> > *end* *if* >> > >> > *--* >> > >> > *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* >> > >> > *answer*error"Unable to load phxDropboxLib" >> > >> > *quit* >> > >> > *end* *if* >> > >> > *constant*myAppKey = "appappappapp" >> > >> > *constant*myAppSec = "secsecsec" >> > >> > *constant*myTokKey = "toktoktoktok" >> > >> > *constant*myTokSec = "sectoksectok" >> > >> > *--* >> > >> > *if* notphx_DropboxAvailable() *then* >> > >> > *answer*"Dropbox HTTPS connection NOT available" >> > >> > *end* *if* >> > >> > *get*phx_DropboxInitLib(myAppKey, myAppSec, myTokKey, myTokSec) >> > >> > end openCard >> > >> > ----reading---- >> > >> > *put*phx_DropboxReadFile("sandbox", ("/folder/some.txt")) >> > intoField"Name1"ofcard1 >> > >> > ----writing------ >> > >> > *put*phx_DropboxWriteFile("sandbox", ("/folder/some.txt"), "text/html", >> > true, myName) intofield"udontcme"ofcard1 >> > >> > ------close----------- >> > >> > *on*closeStack >> > >> > *set*theuTokenKey ofthisstacktoempty >> > >> > *set*theuTokenSec ofthisstacktoempty >> > >> > *stop*usingstack"phxDropboxLib" >> > >> > *close*stack"phxDropboxLib" >> > >> > *pass*closeStack >> > >> > *end*closeStack >> > >> > Op 16-2-2019 om 00:23 schreef pink via use-livecode: >> >> under the documentation for dropboxUpload, it states it shouldn't be >> >> used >> >> for files larger than 150MB, the video files will all be around 800MB >> >> >> >> I've been looking through the stack, but cannot find the answers I am >> >> looking for. SO I am still not clear how I should get my file into >> pData >> >> >> >> and pData is just a chunk of the data? How do I make that chunk out of >> >> the >> >> whole and where do I get pOffset from? >> >> >> >> >> >> Matthias Rebbe via use-livecode wrote >> >>> Hey, pink, thanks for the clarification. >> >>> First of all, is there a reason why you are doing it this way instead >> of >> >>> using dropboxUpload? If you use dropboxUpload you can do it all in >> one >> >>> shot. >> >>> Gerard's stack explains the process and how to use the various >> commands >> >>> Doing it the way you are doing it, you would start with sessionStart >> and >> >>> then you would repeatedly call sessionAppend >> >>> pOffset is the length of what you have already sent because there are >> no >> >>> guarantees that dropbox will get your file stream in order, so if it >> >>> gets >> >>> them out of order and pData isn't the same length for each call to >> >>> append, >> >>> the only way dropbox knows where to put the data it just received is >> if >> >>> you >> >>> tell it where to put it. >> >>> pData should be at most 150mb per call. >> >>> _______________________________________________ >> >>> use-livecode mailing list >> >>> use-livecode at .runrev >> >>> Please visit this url to subscribe, unsubscribe and manage your >> >>> subscription preferences: >> >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> >> >> >> >> >> ----- >> >> --- >> >> Greg (pink) Miller >> >> mad, pink and dangerous to code >> >> -- >> >> Sent from: >> >> >> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> >> >> > use-livecode at .runrev >> >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > _______________________________________________ >> > use-livecode mailing list >> >> > use-livecode at .runrev >> >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> >> ----- >> --- >> Greg (pink) Miller >> mad, pink and dangerous to code >> -- >> Sent from: >> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> _______________________________________________ >> use-livecode mailing list >> > use-livecode at .runrev >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ----- --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From revdev at pdslabs.net Mon Feb 18 13:31:35 2019 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 18 Feb 2019 10:31:35 -0800 Subject: Need crash course in Dropbox library In-Reply-To: <1550496078071-0.post@n4.nabble.com> References: <1550153533447-0.post@n4.nabble.com> <1550193854760-0.post@n4.nabble.com> <1550254937297-0.post@n4.nabble.com> <1550272993901-0.post@n4.nabble.com> <95183260-6279-602b-c66e-775e08a41bf3@krutt.org> <1550418107109-0.post@n4.nabble.com> <1550496078071-0.post@n4.nabble.com> Message-ID: I'm not sure how this would work in your context, but one way to break up a file into pieces is to use open / read / close like this: # assumes LC 9.0.2 # tMyFolder = path of folder containing the file to upload # tMyFileShortFilename = 'short' filename of file to upload - no path, just the filename # tMyFilePath = full path of file to upload filter files(tMyFolder, "detailed") with tMyFileShortFilename & ",*" into tFileDescription put item 2 of tFileDescription into tBytesRemaining put 0 into tBytesProcessed put 157286400 into tChunkSize -- 150 MB put tChunkSize into tBytesThisRead open file tMyFilePath for binary read repeat until tBytesRemaining = 0 ??? read from file tMyFilePath for tBytesThisRead ??? subtract length(it) from tBytesRemaining ??? _processChunk it ??? put min(tChunkSize, tBytesRemaining) into tBytesThisRead end repeat close file tMyFilePath Your upload would be done in the '_processChunk' handler. HTH - Phil Davis On 2/18/19 5:21 AM, pink via use-livecode wrote: > I'm getting a little closer... > > 1. how do I break fileContents into smaller pieces? > 2. how do I properly calculate the pOffset value? > > > Matthias Rebbe via use-livecode wrote >> Hey pink >> Yes, you are just going to put 150MB at a time into the pData parameter >> and >> ship it. >> I have not uploaded any binary files, just encoded text files, so you may >> have to fiddle with encoding to make sure you don't get into any trouble. >> You should be able to open/read the files using >> put url "binfile:/"&somefilename into fileContents >> >> On Sun, Feb 17, 2019 at 10:42 AM pink via use-livecode < >> use-livecode at .runrev >>> wrote: >>> the phxDropbox library is for v1 of the Dropbox API, which has been >>> deprecated >>> >>> what I need is to get a handle of the upload session commands, how do I >>> properly break the file data into seperate sessions, and how do i >>> determine >>> the offset value >>> >>> >>> Matthias Rebbe via use-livecode wrote >>>> Don't know if this works anymore but before i used this: >>>> >>>> >>>> *on*openstack >>>> >>>> *if* thereisnotastack"phxDropboxLib"*then* >>>> >>>> *put*GetPathToFile("phxDropboxLib.livecode") intophxLib >>>> >>>> *start*usingstackphxLib >>>> >>>> *else* *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* >>>> >>>> *start*usingstack"phxDropboxLib" >>>> >>>> *end* *if* >>>> >>>> *--* >>>> >>>> *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* >>>> >>>> *answer*error"Unable to load phxDropboxLib" >>>> >>>> *quit* >>>> >>>> *end* *if* >>>> >>>> *constant*myAppKey = "appappappapp" >>>> >>>> *constant*myAppSec = "secsecsec" >>>> >>>> *constant*myTokKey = "toktoktoktok" >>>> >>>> *constant*myTokSec = "sectoksectok" >>>> >>>> *--* >>>> >>>> *if* notphx_DropboxAvailable() *then* >>>> >>>> *answer*"Dropbox HTTPS connection NOT available" >>>> >>>> *end* *if* >>>> >>>> *get*phx_DropboxInitLib(myAppKey, myAppSec, myTokKey, myTokSec) >>>> >>>> end openCard >>>> >>>> ----reading---- >>>> >>>> *put*phx_DropboxReadFile("sandbox", ("/folder/some.txt")) >>>> intoField"Name1"ofcard1 >>>> >>>> ----writing------ >>>> >>>> *put*phx_DropboxWriteFile("sandbox", ("/folder/some.txt"), "text/html", >>>> true, myName) intofield"udontcme"ofcard1 >>>> >>>> ------close----------- >>>> >>>> *on*closeStack >>>> >>>> *set*theuTokenKey ofthisstacktoempty >>>> >>>> *set*theuTokenSec ofthisstacktoempty >>>> >>>> *stop*usingstack"phxDropboxLib" >>>> >>>> *close*stack"phxDropboxLib" >>>> >>>> *pass*closeStack >>>> >>>> *end*closeStack >>>> >>>> Op 16-2-2019 om 00:23 schreef pink via use-livecode: >>>>> under the documentation for dropboxUpload, it states it shouldn't be >>>>> used >>>>> for files larger than 150MB, the video files will all be around 800MB >>>>> >>>>> I've been looking through the stack, but cannot find the answers I am >>>>> looking for. SO I am still not clear how I should get my file into >>> pData >>>>> and pData is just a chunk of the data? How do I make that chunk out of >>>>> the >>>>> whole and where do I get pOffset from? >>>>> >>>>> >>>>> Matthias Rebbe via use-livecode wrote >>>>>> Hey, pink, thanks for the clarification. >>>>>> First of all, is there a reason why you are doing it this way instead >>> of >>>>>> using dropboxUpload? If you use dropboxUpload you can do it all in >>> one >>>>>> shot. >>>>>> Gerard's stack explains the process and how to use the various >>> commands >>>>>> Doing it the way you are doing it, you would start with sessionStart >>> and >>>>>> then you would repeatedly call sessionAppend >>>>>> pOffset is the length of what you have already sent because there are >>> no >>>>>> guarantees that dropbox will get your file stream in order, so if it >>>>>> gets >>>>>> them out of order and pData isn't the same length for each call to >>>>>> append, >>>>>> the only way dropbox knows where to put the data it just received is >>> if >>>>>> you >>>>>> tell it where to put it. >>>>>> pData should be at most 150mb per call. >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at .runrev >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> ----- >>>>> --- >>>>> Greg (pink) Miller >>>>> mad, pink and dangerous to code >>>>> -- >>>>> Sent from: >>>>> >>> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> >>>> use-livecode at .runrev >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at .runrev >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> ----- >>> --- >>> Greg (pink) Miller >>> mad, pink and dangerous to code >>> -- >>> Sent from: >>> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >>> >>> _______________________________________________ >>> use-livecode mailing list >>> >> use-livecode at .runrev >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at .runrev >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > ----- > --- > Greg (pink) Miller > mad, pink and dangerous to code > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Phil Davis From jjs at krutt.org Mon Feb 18 13:44:04 2019 From: jjs at krutt.org (JJS) Date: Mon, 18 Feb 2019 19:44:04 +0100 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: References: Message-ID: I just tested it. Then it works as expected and does not hang. Total chars are 705 25 variables of which 13 are encrypted, and that what is encrypted is plain text, single lines of text and/or nr's Op 18-2-2019 om 01:49 schreef Richard Gaskin via use-livecode: > JJS wrote: > > > i guess Ralph is correct as it probably too much data to display. > > What is the total length of the data? > > And what happens when you output it to a field in your stack rather > than the field in the Answer dialog? > From jjs at krutt.org Mon Feb 18 13:50:16 2019 From: jjs at krutt.org (JJS) Date: Mon, 18 Feb 2019 19:50:16 +0100 Subject: [ANN] vCard & iCalendar library In-Reply-To: References: Message-ID: <01686dcf-252b-027e-2d6b-8c40be938f00@krutt.org> Thanks! Maybe i can use it in a future project. Op 18-2-2019 om 14:06 schreef Andre Garzia via use-livecode: > Hi Friends, > > I am in the process of updating my LiveCode book > (http://andregarzia.com/livecode/#livecode-advanced-application-architecture). > The demo application for the book is an Address Book stack and while I > was writing the "libraries" chapter, I remembered that long ago, I > wrote an vCard/iCalendar library. I went to my old machines, found it, > and it still works. I've updated it to be a plain-text stack and > placed it online. Feel free to use it in any way you want. It can > generate and parse both vCard 3 and iCalendar files while also > providing enough low-level routines for you to generate your own > "vObject"-based file formats. > > ? https://github.com/soapdog/livecode-vobjectlib > > I've also added some minimal documentation at > https://soapdog.github.io/livecode-vobjectlib/#/, this is very > incomplete. It is just a port of the old stack based documentation to > text files. If there is enough interest, I can write more detailed > documentation later. > > One very cool anecdote is that this library was made in 2005, thats 14 > years ago. There are LiveCode users who are younger than that. It is > old code which is not using any of the modern LC stuff and it still > works well and fast. I am really happy with it. I hope you folks will > benefit from it too. > > Cheers > > andre > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 18 15:27:03 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Feb 2019 12:27:03 -0800 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: References: Message-ID: <4c8e39c7-a268-2195-4e77-f9b008209a96@fourthworld.com> JJS wrote: > Op 18-2-2019 om 01:49 schreef Richard Gaskin wrote: >> >> What is the total length of the data? >> >> And what happens when you output it to a field in your stack rather >> than the field in the Answer dialog? > > I just tested it. > > Then it works as expected and does not hang. > > Total chars are 705 > > 25 variables of which 13 are encrypted, and that what is encrypted is > plain text, single lines of text and/or nr's Sounds like the makings of a bug report. 750 chars of plain text should not hang the Answer dialog. Can you share that text? Can you reproduce the hang with other text? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jjs at krutt.org Mon Feb 18 15:42:52 2019 From: jjs at krutt.org (JJS) Date: Mon, 18 Feb 2019 21:42:52 +0100 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: <4c8e39c7-a268-2195-4e77-f9b008209a96@fourthworld.com> References: <4c8e39c7-a268-2195-4e77-f9b008209a96@fourthworld.com> Message-ID: I can share it as it is not with the final salt etcetera: id=&blabla1=some&blabla2=realtext&blabla3=dUpYlgY%2Bue9z25iNuQjbXw%3D%3D&blabla4=dUpYlgY%2Bue9z25iNuQjbXw%3D%3D....... etcetera i changed the column names to blabla and id is empty because of auto-increment you see the plain text is URLencoded after encryption and base64decode Other (normal) text is working ok. Op 18-2-2019 om 21:27 schreef Richard Gaskin via use-livecode: > JJS wrote: > > > Op 18-2-2019 om 01:49 schreef Richard Gaskin wrote: > >> > >> What is the total length of the data? > >> > >> And what happens when you output it to a field in your stack rather > >> than the field in the Answer dialog? > > > > I just tested it. > > > > Then it works as expected and does not hang. > > > > Total chars are 705 > > > > 25 variables of which 13 are encrypted, and that what is encrypted is > > plain text, single lines of text and/or nr's > > Sounds like the makings of a bug report. 750 chars of plain text > should not hang the Answer dialog. > > Can you share that text?? Can you reproduce the hang with other text? > From hershelhagadol at gmail.com Mon Feb 18 16:00:00 2019 From: hershelhagadol at gmail.com (Hershel F) Date: Mon, 18 Feb 2019 16:00:00 -0500 Subject: sending email and file with mail client Message-ID: Hi every one, wondering how i can send an email with an attachment (invoice) direct from my app with user?s email client (mail)? using the revMail only give the possibility for contents of fields, any work arounds or printing into a fld then putting the fld into the email? Thanks in advanced. HershelF From terry.judd at unimelb.edu.au Mon Feb 18 17:38:19 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 18 Feb 2019 22:38:19 +0000 Subject: sending email and file with mail client In-Reply-To: References: Message-ID: Hi Hershel - If it's a desktop app then you can control the user's email app using either applescript (MacOS) or VBscript (Windows). I've included some template scripts below to get you started (assuming your users have either Mail or Outlook). I store these in custom properties, use merge to replace the quoted variables and the do as applescript or vbscript depending on what platform you are targeting. Couple of gotchas to do with line breaks in 'theBody' text... Pretty sure that Apple Mail doesn't know what to do with html (at least not using the script below) Outlook expects html formatted text so if you're passing plain text you'll need to replace CR with '
' If you are using VBscript then you need to do something like... put quote before theBody replace CR with (quote&" & VbCrLf & _" & return & quote) in theBody put quote after theBody Hope that helps, Terry... Mail app (MacOS): tell application "Mail" activate set messageSubject to "[[theSubject]]" set messageBody to "[[theBody]]" set recipientName to "[[theRecipientName]]" set recipientAddress to "[[theRecipientAddress]]" set attachmentPath to "[[theFileName]]" set theMessage to make new outgoing message with properties {visible:true, subject:messageSubject, content:messageBody} tell theMessage make new to recipient with properties {name:recipientName, address:recipientAddress} make new attachment at the end of theMessage with properties {file name:attachmentPath} end tell delay 1 send theMessage end tell Outlook app (MacOS): tell application "Microsoft Outlook" activate set messageSubject to "[[theSubject]]" set messageBody to "[[theBody]]" set recipientName to "[[theRecipientName]]" set recipientAddress to "[[theRecipientAddress]]" set attachmentPath to "[[theFileName]]" set theMessage to make new outgoing message with properties {subject:messageSubject, content:messageBody} make new recipient at theMessage with properties {email address:{name:recipientName, address:recipientAddress}} make new attachment at the end of theMessage with properties {file:attachmentPath} send theMessage end tell Outlook app (Windows): Set MyApp = CreateObject("Outlook.Application") Set MyItem = MyApp.CreateItem(0) With MyItem .To = "[[theRecipientAddress]]" .Subject = "[[theSubject]]" .Body = [[theBody]] .Attachments.Add("[[theFileName]]") .Send End With On 19/2/19, 8:00 am, "use-livecode on behalf of Hershel F via use-livecode" wrote: Hi every one, wondering how i can send an email with an attachment (invoice) direct from my app with user?s email client (mail)? using the revMail only give the possibility for contents of fields, any work arounds or printing into a fld then putting the fld into the email? Thanks in advanced. HershelF _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Mon Feb 18 18:17:15 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 18 Feb 2019 23:17:15 +0000 Subject: suspendStack and resumeStack equivalents on mobile? Message-ID: <12F78CAA-E14F-44BA-B30A-E5E3B1D21B0F@unimelb.edu.au> Pretty sure this has been covered before but couldn?t locate the email thread. I?m using the ?Enable background execution? option on iOS in order to avoid having to use iOS?s guided access feature to lock users (examiners in this) into our app (thereby avoiding any loss of data/state), and would like to be able to flag if an when they switch away from and back to the app. Guided access is great BTW, but I suspect that it is occasionally flakey and a possible contributor to unexpected app crashes ? which is why I?d prefer to avoid using it if possible. Anyway, the only idea that has come to mind so far is to use send at regular intervals to update an internal ?timer? - if the time gap between timer updates is longer than expected then the assumption is that the app has been suspended and resumed. Does that sound reasonable? Any other possible approaches? Terry? From ambassador at fourthworld.com Mon Feb 18 19:47:18 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Feb 2019 16:47:18 -0800 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: References: Message-ID: Thanks. Curious to test this out, I copied the first 110 characters of that sample data and pasted into a field 10 times, resulting in more than 1k of text with no line breaks. When I used: answer the text of fld 1 ...I get the answer box appearing as expected, with the text cut off at a reasonable length but no hang - the Answer window's OK button responds efficiently as expected. Tested on Win 10 and Ubuntu 14.04, using LC 9.0.2. Happy to run other tests to help pin this down, so please feel free to share any details that might help us reach a reproducible recipe for a bug report. -- Richard Gaskin Fourth World Systems JJS wrote: > I can share it as it is not with the final salt etcetera: > > id=&blabla1=some&blabla2=realtext&blabla3=dUpYlgY%2Bue9z25iNuQjbXw%3D%3D&blabla4=dUpYlgY%2Bue9z25iNuQjbXw%3D%3D....... > etcetera > > i changed the column names to blabla and id is empty because of > auto-increment > > you see the plain text is URLencoded after encryption and base64decode > > Other (normal) text is working ok. > > > Op 18-2-2019 om 21:27 schreef Richard Gaskin via use-livecode: >> JJS wrote: >> >> > Op 18-2-2019 om 01:49 schreef Richard Gaskin wrote: >> >> >> >> What is the total length of the data? >> >> >> >> And what happens when you output it to a field in your stack rather >> >> than the field in the Answer dialog? >> > >> > I just tested it. >> > >> > Then it works as expected and does not hang. >> > >> > Total chars are 705 >> > >> > 25 variables of which 13 are encrypted, and that what is encrypted is >> > plain text, single lines of text and/or nr's >> >> Sounds like the makings of a bug report. 750 chars of plain text >> should not hang the Answer dialog. >> >> Can you share that text? Can you reproduce the hang with other text? >> From tom at makeshyft.com Mon Feb 18 22:58:08 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 18 Feb 2019 22:58:08 -0500 Subject: sending email and file with mail client In-Reply-To: References: Message-ID: Terry, I learned so much from your answer, thanks for taking the time. On Mon, Feb 18, 2019 at 5:38 PM Terry Judd via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Hershel - If it's a desktop app then you can control the user's email > app using either applescript (MacOS) or VBscript (Windows). I've included > some template scripts below to get you started (assuming your users have > either Mail or Outlook). I store these in custom properties, use merge to > replace the quoted variables and the do as applescript or vbscript > depending on what platform you are targeting. > > Couple of gotchas to do with line breaks in 'theBody' text... > Pretty sure that Apple Mail doesn't know what to do with html (at least > not using the script below) > Outlook expects html formatted text so if you're passing plain text you'll > need to replace CR with '
' > If you are using VBscript then you need to do something like... > > put quote before theBody > replace CR with (quote&" & VbCrLf & _" & return & quote) in theBody > put quote after theBody > > Hope that helps, > > Terry... > > > Mail app (MacOS): > > tell application "Mail" > activate > set messageSubject to "[[theSubject]]" > set messageBody to "[[theBody]]" > set recipientName to "[[theRecipientName]]" > set recipientAddress to "[[theRecipientAddress]]" > set attachmentPath to "[[theFileName]]" > set theMessage to make new outgoing message with properties > {visible:true, subject:messageSubject, content:messageBody} > tell theMessage > make new to recipient with properties {name:recipientName, > address:recipientAddress} > make new attachment at the end of theMessage with > properties {file name:attachmentPath} > end tell > delay 1 > send theMessage > end tell > > Outlook app (MacOS): > > tell application "Microsoft Outlook" > activate > set messageSubject to "[[theSubject]]" > set messageBody to "[[theBody]]" > set recipientName to "[[theRecipientName]]" > set recipientAddress to "[[theRecipientAddress]]" > set attachmentPath to "[[theFileName]]" > set theMessage to make new outgoing message with properties > {subject:messageSubject, content:messageBody} > make new recipient at theMessage with properties {email > address:{name:recipientName, address:recipientAddress}} > make new attachment at the end of theMessage with properties > {file:attachmentPath} > send theMessage > end tell > > Outlook app (Windows): > > Set MyApp = CreateObject("Outlook.Application") > Set MyItem = MyApp.CreateItem(0) > With MyItem > .To = "[[theRecipientAddress]]" > .Subject = "[[theSubject]]" > .Body = [[theBody]] > .Attachments.Add("[[theFileName]]") > .Send > End With > > On 19/2/19, 8:00 am, "use-livecode on behalf of Hershel F via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Hi every one, wondering how i can send an email with an attachment > (invoice) direct from my app with user?s email client (mail)? > using the revMail only give the possibility for contents of fields, > any work arounds or printing into a fld then putting the fld into the email? > > Thanks in advanced. HershelF > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Mon Feb 18 23:22:59 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 19 Feb 2019 04:22:59 +0000 Subject: sending email and file with mail client In-Reply-To: References: Message-ID: No worries Tom - glad it was helpful. Terry... Sent from my iPhone > On 19 Feb 2019, at 2:58 pm, Tom Glod via use-livecode wrote: > > Terry, I learned so much from your answer, thanks for taking the time. > > On Mon, Feb 18, 2019 at 5:38 PM Terry Judd via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Hershel - If it's a desktop app then you can control the user's email >> app using either applescript (MacOS) or VBscript (Windows). I've included >> some template scripts below to get you started (assuming your users have >> either Mail or Outlook). I store these in custom properties, use merge to >> replace the quoted variables and the do as applescript or vbscript >> depending on what platform you are targeting. >> >> Couple of gotchas to do with line breaks in 'theBody' text... >> Pretty sure that Apple Mail doesn't know what to do with html (at least >> not using the script below) >> Outlook expects html formatted text so if you're passing plain text you'll >> need to replace CR with '
' >> If you are using VBscript then you need to do something like... >> >> put quote before theBody >> replace CR with (quote&" & VbCrLf & _" & return & quote) in theBody >> put quote after theBody >> >> Hope that helps, >> >> Terry... >> >> >> Mail app (MacOS): >> >> tell application "Mail" >> activate >> set messageSubject to "[[theSubject]]" >> set messageBody to "[[theBody]]" >> set recipientName to "[[theRecipientName]]" >> set recipientAddress to "[[theRecipientAddress]]" >> set attachmentPath to "[[theFileName]]" >> set theMessage to make new outgoing message with properties >> {visible:true, subject:messageSubject, content:messageBody} >> tell theMessage >> make new to recipient with properties {name:recipientName, >> address:recipientAddress} >> make new attachment at the end of theMessage with >> properties {file name:attachmentPath} >> end tell >> delay 1 >> send theMessage >> end tell >> >> Outlook app (MacOS): >> >> tell application "Microsoft Outlook" >> activate >> set messageSubject to "[[theSubject]]" >> set messageBody to "[[theBody]]" >> set recipientName to "[[theRecipientName]]" >> set recipientAddress to "[[theRecipientAddress]]" >> set attachmentPath to "[[theFileName]]" >> set theMessage to make new outgoing message with properties >> {subject:messageSubject, content:messageBody} >> make new recipient at theMessage with properties {email >> address:{name:recipientName, address:recipientAddress}} >> make new attachment at the end of theMessage with properties >> {file:attachmentPath} >> send theMessage >> end tell >> >> Outlook app (Windows): >> >> Set MyApp = CreateObject("Outlook.Application") >> Set MyItem = MyApp.CreateItem(0) >> With MyItem >> .To = "[[theRecipientAddress]]" >> .Subject = "[[theSubject]]" >> .Body = [[theBody]] >> .Attachments.Add("[[theFileName]]") >> .Send >> End With >> >> On 19/2/19, 8:00 am, "use-livecode on behalf of Hershel F via >> use-livecode" > use-livecode at lists.runrev.com> wrote: >> >> Hi every one, wondering how i can send an email with an attachment >> (invoice) direct from my app with user?s email client (mail)? >> using the revMail only give the possibility for contents of fields, >> any work arounds or printing into a fld then putting the fld into the email? >> >> Thanks in advanced. HershelF >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Tue Feb 19 08:41:14 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 19 Feb 2019 15:41:14 +0200 Subject: [ANN] This Week in LiveCode 168 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #168 here: https://goo.gl/hK7hcu This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From nabble at mad.pink Tue Feb 19 12:30:43 2019 From: nabble at mad.pink (pink) Date: Tue, 19 Feb 2019 11:30:43 -0600 (CST) Subject: Need crash course in Dropbox library In-Reply-To: References: <1550193854760-0.post@n4.nabble.com> <1550254937297-0.post@n4.nabble.com> <1550272993901-0.post@n4.nabble.com> <95183260-6279-602b-c66e-775e08a41bf3@krutt.org> <1550418107109-0.post@n4.nabble.com> <1550496078071-0.post@n4.nabble.com> Message-ID: <1550597443379-0.post@n4.nabble.com> I still need to do some testing and fiddle with a few things, but here's what I've got so far, authentication is handled in a different handler, the access token is passed as a parameter: command dropBoxUploader pAccessToken local tMyFolder = "/Downloads" local tMyFileShortFilename = "abc.mp4" local tMyFilePath = "/Downloads/abc.mp4" local tChunkSize = 157286400 local tStep = 0 local tBytesProcessed = 0 local tOffset = 0 local tDestPath = "/somefolder/abc.mp4" local tFileDescription, tBytesRemaining, tBytesThisRead, tResult, tSession filter files(tMyFolder, "detailed") with tMyFileShortFilename & ",*" into tFileDescription put item 2 of tFileDescription into tBytesRemaining put tChunkSize into tBytesThisRead open file tMyFilePath for binary read repeat until tBytesRemaining = 0 read from file tMyFilePath for tBytesThisRead put it into tData subtract length(tData) from tBytesRemaining add 1 to tStep if tStep = 1 then dropboxUploadSessionStart pAccessToken, tData else if tBytesRemaining = 0 then dropboxUploadSessionFinish pAccessToken, tSession, tOffset, tDestPath, "add", true, false, tData else dropboxUploadSessionAppend pAccessToken, tSession, tOffset, tData end if put jsonToArray(the result) into tResult[tStep] if tResult[tStep]["error"] is not empty then exit repeat end if put tResult[1]["session_id"] into tSession add tBytesThisRead to tOffset put min(tChunkSize, tBytesRemaining) into tBytesThisRead end repeat close file tMyFilePath end dropBoxUploader JJS via use-livecode wrote > I'm not sure how this would work in your context, but one way to break > up a file into pieces is to use open / read / close like this: > > # assumes LC 9.0.2 > # tMyFolder = path of folder containing the file to upload > # tMyFileShortFilename = 'short' filename of file to upload - no > path, just the filename > # tMyFilePath = full path of file to upload > > filter files(tMyFolder, "detailed") with tMyFileShortFilename & ",*" > into tFileDescription > put item 2 of tFileDescription into tBytesRemaining > put 0 into tBytesProcessed > put 157286400 into tChunkSize -- 150 MB > put tChunkSize into tBytesThisRead > open file tMyFilePath for binary read > repeat until tBytesRemaining = 0 > ??? read from file tMyFilePath for tBytesThisRead > ??? subtract length(it) from tBytesRemaining > ??? _processChunk it > ??? put min(tChunkSize, tBytesRemaining) into tBytesThisRead > end repeat > close file tMyFilePath > > Your upload would be done in the '_processChunk' handler. > > HTH - > Phil Davis > > > On 2/18/19 5:21 AM, pink via use-livecode wrote: >> I'm getting a little closer... >> >> 1. how do I break fileContents into smaller pieces? >> 2. how do I properly calculate the pOffset value? >> >> >> Matthias Rebbe via use-livecode wrote >>> Hey pink >>> Yes, you are just going to put 150MB at a time into the pData parameter >>> and >>> ship it. >>> I have not uploaded any binary files, just encoded text files, so you >>> may >>> have to fiddle with encoding to make sure you don't get into any >>> trouble. >>> You should be able to open/read the files using >>> put url "binfile:/"&somefilename into fileContents >>> >>> On Sun, Feb 17, 2019 at 10:42 AM pink via use-livecode < >>> use-livecode at .runrev >>>> wrote: >>>> the phxDropbox library is for v1 of the Dropbox API, which has been >>>> deprecated >>>> >>>> what I need is to get a handle of the upload session commands, how do I >>>> properly break the file data into seperate sessions, and how do i >>>> determine >>>> the offset value >>>> >>>> >>>> Matthias Rebbe via use-livecode wrote >>>>> Don't know if this works anymore but before i used this: >>>>> >>>>> >>>>> *on*openstack >>>>> >>>>> *if* thereisnotastack"phxDropboxLib"*then* >>>>> >>>>> *put*GetPathToFile("phxDropboxLib.livecode") intophxLib >>>>> >>>>> *start*usingstackphxLib >>>>> >>>>> *else* *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* >>>>> >>>>> *start*usingstack"phxDropboxLib" >>>>> >>>>> *end* *if* >>>>> >>>>> *--* >>>>> >>>>> *if* "phxDropboxLib"isnotamongthelinesofthestacksinuse*then* >>>>> >>>>> *answer*error"Unable to load phxDropboxLib" >>>>> >>>>> *quit* >>>>> >>>>> *end* *if* >>>>> >>>>> *constant*myAppKey = "appappappapp" >>>>> >>>>> *constant*myAppSec = "secsecsec" >>>>> >>>>> *constant*myTokKey = "toktoktoktok" >>>>> >>>>> *constant*myTokSec = "sectoksectok" >>>>> >>>>> *--* >>>>> >>>>> *if* notphx_DropboxAvailable() *then* >>>>> >>>>> *answer*"Dropbox HTTPS connection NOT available" >>>>> >>>>> *end* *if* >>>>> >>>>> *get*phx_DropboxInitLib(myAppKey, myAppSec, myTokKey, myTokSec) >>>>> >>>>> end openCard >>>>> >>>>> ----reading---- >>>>> >>>>> *put*phx_DropboxReadFile("sandbox", ("/folder/some.txt")) >>>>> intoField"Name1"ofcard1 >>>>> >>>>> ----writing------ >>>>> >>>>> *put*phx_DropboxWriteFile("sandbox", ("/folder/some.txt"), >>>>> "text/html", >>>>> true, myName) intofield"udontcme"ofcard1 >>>>> >>>>> ------close----------- >>>>> >>>>> *on*closeStack >>>>> >>>>> *set*theuTokenKey ofthisstacktoempty >>>>> >>>>> *set*theuTokenSec ofthisstacktoempty >>>>> >>>>> *stop*usingstack"phxDropboxLib" >>>>> >>>>> *close*stack"phxDropboxLib" >>>>> >>>>> *pass*closeStack >>>>> >>>>> *end*closeStack >>>>> >>>>> Op 16-2-2019 om 00:23 schreef pink via use-livecode: >>>>>> under the documentation for dropboxUpload, it states it shouldn't be >>>>>> used >>>>>> for files larger than 150MB, the video files will all be around 800MB >>>>>> >>>>>> I've been looking through the stack, but cannot find the answers I am >>>>>> looking for. SO I am still not clear how I should get my file into >>>> pData >>>>>> and pData is just a chunk of the data? How do I make that chunk out >>>>>> of >>>>>> the >>>>>> whole and where do I get pOffset from? >>>>>> >>>>>> >>>>>> Matthias Rebbe via use-livecode wrote >>>>>>> Hey, pink, thanks for the clarification. >>>>>>> First of all, is there a reason why you are doing it this way >>>>>>> instead >>>> of >>>>>>> using dropboxUpload? If you use dropboxUpload you can do it all in >>>> one >>>>>>> shot. >>>>>>> Gerard's stack explains the process and how to use the various >>>> commands >>>>>>> Doing it the way you are doing it, you would start with sessionStart >>>> and >>>>>>> then you would repeatedly call sessionAppend >>>>>>> pOffset is the length of what you have already sent because there >>>>>>> are >>>> no >>>>>>> guarantees that dropbox will get your file stream in order, so if it >>>>>>> gets >>>>>>> them out of order and pData isn't the same length for each call to >>>>>>> append, >>>>>>> the only way dropbox knows where to put the data it just received is >>>> if >>>>>>> you >>>>>>> tell it where to put it. >>>>>>> pData should be at most 150mb per call. >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at .runrev >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> >>>>>> ----- >>>>>> --- >>>>>> Greg (pink) Miller >>>>>> mad, pink and dangerous to code >>>>>> -- >>>>>> Sent from: >>>>>> >>>> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> >>>>> use-livecode at .runrev >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at .runrev >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> >>>> ----- >>>> --- >>>> Greg (pink) Miller >>>> mad, pink and dangerous to code >>>> -- >>>> Sent from: >>>> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> >>> use-livecode at .runrev >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at .runrev >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> ----- >> --- >> Greg (pink) Miller >> mad, pink and dangerous to code >> -- >> Sent from: >> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> _______________________________________________ >> use-livecode mailing list >> > use-livecode at .runrev >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > -- > Phil Davis > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ----- --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From jjs at krutt.org Tue Feb 19 15:04:53 2019 From: jjs at krutt.org (JJS) Date: Tue, 19 Feb 2019 21:04:53 +0100 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: References: Message-ID: <1444fee9-8d1a-766f-cb5b-9284a38a838a@krutt.org> waaaaaah why is this day different then yesterday??? Yesterday i tested and tested and tested Today i did the same as you, test on Ubuntu Mate, no problem, test on Mac? Mojave, no problem, final test on win10 again...no problem same stack, same conditions, nothing changed, this really blows my mind. Yesterday and the day before continuously hang, today it's working like nothing ever happened. Makes me furious, well sort of... I can't provide a recipe Sorry can't provide any further, if it shows up again, i will try to pin it down and report again to this thread. Thanks a lot for your help Jerry Op 19-2-2019 om 01:47 schreef Richard Gaskin via use-livecode: > Thanks. Curious to test this out, I copied the first 110 characters of > that sample data and pasted into a field 10 times, resulting in more > than 1k of text with no line breaks. > > When I used: > > ?? answer the text of fld 1 > > ...I get the answer box appearing as expected, with the text cut off > at a reasonable length but no hang - the Answer window's OK button > responds efficiently as expected. > > Tested on Win 10 and Ubuntu 14.04, using LC 9.0.2. > > Happy to run other tests to help pin this down, so please feel free to > share any details that might help us reach a reproducible recipe for a > bug report. > From alain.vezina at logilangue.com Tue Feb 19 16:36:48 2019 From: alain.vezina at logilangue.com (Alain Vezina) Date: Tue, 19 Feb 2019 16:36:48 -0500 Subject: widget browser Message-ID: <18E7E42B-CFE8-4F1A-8AE0-6D6BE8E04688@logilangue.com> Hi all, I am using widget browser for the first time and I didn?t find the way to load an HTML file to MyBroswer. I especially want to use it in HTML5. I tried set the URL of widget ? MyBrowser" to a specific html page, I tried set the htmlText of widget ? MyBrowser ? to a specific html page and nothing happens except my Browser becomes blank white. These two ways don?t work on Mac or with HTML5, except when I use specialFolderPath to write an HTML page that I load after. I use LC 9.02 Anybody has an idea to make that work. I want to transfer my apps from the App Store to HTML because I am fed up with Apple?s rules which change too many times. Alain Vezina Logilangue www.logilangue.com From jacque at hyperactivesw.com Tue Feb 19 16:41:21 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Feb 2019 15:41:21 -0600 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: <1444fee9-8d1a-766f-cb5b-9284a38a838a@krutt.org> References: <1444fee9-8d1a-766f-cb5b-9284a38a838a@krutt.org> Message-ID: Did you happen to restart LC? I hear there's a memory leak and a restart makes things work again. I know I had some issues that resolved after a restart. On 2/19/19 2:04 PM, JJS via use-livecode wrote: > waaaaaah why is this day different then yesterday??? > > Yesterday i tested and tested and tested > > Today i did the same as you, test on Ubuntu Mate, no problem, test on > Mac? Mojave, no problem, final test on win10 again...no problem > > same stack, same conditions, nothing changed, this really blows my mind. > > Yesterday and the day before continuously hang, today it's working like > nothing ever happened. > > Makes me furious, well sort of... > > I can't provide a recipe > > > Sorry can't provide any further, if it shows up again, i will try to pin > it down and report again to this thread. > > Thanks a lot for your help > > Jerry > > Op 19-2-2019 om 01:47 schreef Richard Gaskin via use-livecode: >> Thanks. Curious to test this out, I copied the first 110 characters of >> that sample data and pasted into a field 10 times, resulting in more >> than 1k of text with no line breaks. >> >> When I used: >> >> ?? answer the text of fld 1 >> >> ...I get the answer box appearing as expected, with the text cut off >> at a reasonable length but no hang - the Answer window's OK button >> responds efficiently as expected. >> >> Tested on Win 10 and Ubuntu 14.04, using LC 9.0.2. >> >> Happy to run other tests to help pin this down, so please feel free to >> share any details that might help us reach a reproducible recipe for a >> bug report. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Tue Feb 19 16:43:03 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 19 Feb 2019 16:43:03 -0500 Subject: widget browser In-Reply-To: <18E7E42B-CFE8-4F1A-8AE0-6D6BE8E04688@logilangue.com> References: <18E7E42B-CFE8-4F1A-8AE0-6D6BE8E04688@logilangue.com> Message-ID: could it have something to do with the "file:///" prefix? for local files? or is this a remote file you are trying to load?..... Virus-free. www.avast.com <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Tue, Feb 19, 2019 at 4:37 PM Alain Vezina via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > I am using widget browser for the first time and I didn?t find the way to > load an HTML file to MyBroswer. > I especially want to use it in HTML5. > > I tried set the URL of widget ? MyBrowser" to a specific html page, > > I tried set the htmlText of widget ? MyBrowser ? to a specific html page > and nothing happens except my Browser becomes blank white. > > These two ways don?t work on Mac or with HTML5, except when I use > specialFolderPath to write an HTML page that I load after. > > I use LC 9.02 > > Anybody has an idea to make that work. > > I want to transfer my apps from the App Store to HTML because I am fed up > with Apple?s rules which change too many times. > > Alain Vezina > Logilangue > www.logilangue.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 jjs at krutt.org Tue Feb 19 16:00:42 2019 From: jjs at krutt.org (JJS) Date: Tue, 19 Feb 2019 22:00:42 +0100 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: References: <1444fee9-8d1a-766f-cb5b-9284a38a838a@krutt.org> Message-ID: <3ac66475-739c-87da-9969-e700aa1d664d@krutt.org> Yes yesterday i did a few times. Mostly i close and reopen LC when opening a new stack. This way i'm sure that nothing strange stays behind. But just yet i also had a weird issue that it would not post or receive, restarted LC and worked again it's making me nuts Op 19-2-2019 om 22:41 schreef J. Landman Gay via use-livecode: > Did you happen to restart LC? I hear there's a memory leak and a > restart makes things work again. I know I had some issues that > resolved after a restart. > > On 2/19/19 2:04 PM, JJS via use-livecode wrote: >> waaaaaah why is this day different then yesterday??? >> >> Yesterday i tested and tested and tested >> >> Today i did the same as you, test on Ubuntu Mate, no problem, test on >> Mac? Mojave, no problem, final test on win10 again...no problem >> >> same stack, same conditions, nothing changed, this really blows my mind. >> >> Yesterday and the day before continuously hang, today it's working >> like nothing ever happened. >> >> Makes me furious, well sort of... >> >> I can't provide a recipe >> >> >> Sorry can't provide any further, if it shows up again, i will try to >> pin it down and report again to this thread. >> >> Thanks a lot for your help >> >> Jerry >> >> Op 19-2-2019 om 01:47 schreef Richard Gaskin via use-livecode: >>> Thanks. Curious to test this out, I copied the first 110 characters >>> of that sample data and pasted into a field 10 times, resulting in >>> more than 1k of text with no line breaks. >>> >>> When I used: >>> >>> ?? answer the text of fld 1 >>> >>> ...I get the answer box appearing as expected, with the text cut off >>> at a reasonable length but no hang - the Answer window's OK button >>> responds efficiently as expected. >>> >>> Tested on Win 10 and Ubuntu 14.04, using LC 9.0.2. >>> >>> Happy to run other tests to help pin this down, so please feel free >>> to share any details that might help us reach a reproducible recipe >>> for a bug report. >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > From alain.vezina at logilangue.com Tue Feb 19 17:20:19 2019 From: alain.vezina at logilangue.com (Alain Vezina) Date: Tue, 19 Feb 2019 17:20:19 -0500 Subject: widget browser In-Reply-To: References: <18E7E42B-CFE8-4F1A-8AE0-6D6BE8E04688@logilangue.com> Message-ID: <6DBC6B0A-8E47-4FEF-AAC0-4B0EE8D14BC0@logilangue.com> I load both types of files and I used the prefix ? file://? Some files are on my Web site. When I ask for the result, it is empty. Alain > Le 19 f?vr. 2019 ? 16:43, Tom Glod via use-livecode a ?crit : > > could it have something to do with the "file:///" prefix? for local files? > > or is this a remote file you are trying to load?..... > > > Virus-free. > www.avast.com > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > On Tue, Feb 19, 2019 at 4:37 PM Alain Vezina via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >> I am using widget browser for the first time and I didn?t find the way to >> load an HTML file to MyBroswer. >> I especially want to use it in HTML5. >> >> I tried set the URL of widget ? MyBrowser" to a specific html page, >> >> I tried set the htmlText of widget ? MyBrowser ? to a specific html page >> and nothing happens except my Browser becomes blank white. >> >> These two ways don?t work on Mac or with HTML5, except when I use >> specialFolderPath to write an HTML page that I load after. >> >> I use LC 9.02 >> >> Anybody has an idea to make that work. >> >> I want to transfer my apps from the App Store to HTML because I am fed up >> with Apple?s rules which change too many times. >> >> Alain Vezina >> Logilangue >> www.logilangue.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Feb 19 17:30:35 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Feb 2019 16:30:35 -0600 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: <3ac66475-739c-87da-9969-e700aa1d664d@krutt.org> References: <1444fee9-8d1a-766f-cb5b-9284a38a838a@krutt.org> <3ac66475-739c-87da-9969-e700aa1d664d@krutt.org> Message-ID: <4bc961df-1a84-6a68-6be7-640eee932f08@hyperactivesw.com> On 2/19/19 3:00 PM, JJS via use-livecode wrote: > But just yet i also had a weird issue that it would not post or receive, > restarted LC and worked again > > it's making me nuts Me too. Sometimes I go back to an earlier version of LC for a while if I don't need new features. There's no recipe for the problem either, it's always something random. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at hyperhh.de Tue Feb 19 17:40:54 2019 From: hh at hyperhh.de (hh) Date: Tue, 19 Feb 2019 23:40:54 +0100 Subject: widget browser Message-ID: <748E10B3-15EE-4438-9991-97B4ABF1FB17@hyperhh.de> Two basic ways: set the url of widget "Browser" to "https://duckduckgo.com" set the htmltext of widget "Browser" to "Hello" If these two work, the problem is your html file. To open a local file drag its icon to the url field of the widget in the property inspector. Then you see the correct syntax for the URL. Test also to open the file with an ordinary browser. From matthias_livecode_150811 at m-r-d.de Tue Feb 19 19:34:23 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 20 Feb 2019 01:34:23 +0100 Subject: Standalone builder tells me that there is a stack ... already open and so on In-Reply-To: References: <5A4593A5-AE39-4504-8283-5A3D4D733183@m-r-d.de> Message-ID: Thanks to all who responded and please excuse that i answer so late. I?ve checked all you suggestions. But nothing solved my problem. I then opened the stack in LC 9.0.1 and was able to built a standalone without a problem. After that i was also able to create a standalone again in LC 9.0.2 w/o a problem. Whatever this has caused it, it?s not there anymore and all is fine again. Very strange. Matthias > Am 15.02.2019 um 16:55 schrieb Bob Sneidar via use-livecode >: > > I just had an, "AHA!" moment. > > Bob S > > >> On Feb 14, 2019, at 10:15 , Richard Gaskin via use-livecode > wrote: >> >> The example there is uses two paths that differ based on the Unix shortcut of "~" for the user's home folder, e.g.: >> >> /home/matthias/workfolder/somestack.livecode >> >> ...vs: >> >> ~/workfolder/somestack.livecode >> >> Both paths refer to the same file system object, but apparently the engine maintains its handle to the file based on the given path rather than the fully resolved path, so it believes those are two different files in which the stack objects happen to have the same name. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gbojsza at gmail.com Tue Feb 19 19:34:28 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 19 Feb 2019 19:34:28 -0500 Subject: Old Rev stack feature / view ...where is it in LC 8 Message-ID: Hello, I have an old rev stack that I had saved images as controls and could reference them by their ID number and remember that you could bring up all controls used by rev to see what controls you had saved. I can't seem to find that anywhere in LC 8? Glen From brahma at hindu.org Tue Feb 19 22:03:50 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 20 Feb 2019 03:03:50 +0000 Subject: Livecode with Window 7 Message-ID: One of our volunteers uses Window 7, (2009 his last update). He says it the best windows version there ever was. I tried to make a standalone for Windows that would work for him. But the ask and answer dialog do not appear on screen, I tried them "as sheet" but they still are missing. Clicking "enter" should, in theory, trigger the "OK" even if they are off screen. But that is also no working I have "Search for required inclusions..." in the SA setting. Livecode is picking the other things required (internet lib and XML etc) . What about the Answer and Answer? But "as sheet" should appear in the stack window area...that is also not working... BR From jacque at hyperactivesw.com Tue Feb 19 22:52:10 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Feb 2019 21:52:10 -0600 Subject: Old Rev stack feature / view ...where is it in LC 8 In-Reply-To: References: Message-ID: <16909084210.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Are you thinking of the old application browser? It's now in the Plugins menu, named revApplicationOverview. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 19, 2019 6:36:05 PM Glen Bojsza via use-livecode wrote: > Hello, > > I have an old rev stack that I had saved images as controls and could > reference them by their ID number and remember that you could bring up all > controls used by rev to see what controls you had saved. > > I can't seem to find that anywhere in LC 8? > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From waprothero at gmail.com Wed Feb 20 01:20:47 2019 From: waprothero at gmail.com (William Prothero) Date: Tue, 19 Feb 2019 22:20:47 -0800 Subject: Standalone builder tells me that there is a stack ... already open and so on In-Reply-To: References: <5A4593A5-AE39-4504-8283-5A3D4D733183@m-r-d.de> Message-ID: <9515A21E-6049-4385-AF95-3B2D990A548D@gmail.com> Matthias: Do you use Microsoft OneDrive? The following happened to me and I was, at first, blaming Livecode. I couldn?t get Hermann?s turnImage contribution working, but then did a lot of work trying to clean my system of disc errors, then found that oneDrive was corrupting my boot drive (Mac OS 10.14.3). I?m pretty sure the problem is not completely fixed, but after cleaning my drive with DiskWarrior, it seems to work normally now, and I got turnImage to work correctly. Best, Bill > On Feb 19, 2019, at 4:34 PM, Matthias Rebbe via use-livecode wrote: > > Thanks to all who responded and please excuse that i answer so late. > > I?ve checked all you suggestions. But nothing solved my problem. > > I then opened the stack in LC 9.0.1 and was able to built a standalone without a problem. > > After that i was also able to create a standalone again in LC 9.0.2 w/o a problem. Whatever this has caused it, > it?s not there anymore and all is fine again. Very strange. > > Matthias > > >> Am 15.02.2019 um 16:55 schrieb Bob Sneidar via use-livecode >: >> >> I just had an, "AHA!" moment. >> >> Bob S >> >> >>> On Feb 14, 2019, at 10:15 , Richard Gaskin via use-livecode > wrote: >>> >>> The example there is uses two paths that differ based on the Unix shortcut of "~" for the user's home folder, e.g.: >>> >>> /home/matthias/workfolder/somestack.livecode >>> >>> ...vs: >>> >>> ~/workfolder/somestack.livecode >>> >>> Both paths refer to the same file system object, but apparently the engine maintains its handle to the file based on the given path rather than the fully resolved path, so it believes those are two different files in which the stack objects happen to have the same name. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gbojsza at gmail.com Wed Feb 20 04:18:41 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 20 Feb 2019 04:18:41 -0500 Subject: Old Rev stack feature / view ...where is it in LC 8 In-Reply-To: <16909084210.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16909084210.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: No, it would show all the controls a stack has which includes the imported ones. When you scrolled through the images it contained the really old Metacard images. You can see this when you want to add an image to a button but that is when you are in the button?s property manager selecting an image. I was sure there was a view option which allowed you to edit which images get stored with a stack. Perhaps asking the question ....how do you remove an imported image? On Tue, Feb 19, 2019 at 10:52 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Are you thinking of the old application browser? It's now in the Plugins > menu, named revApplicationOverview. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On February 19, 2019 6:36:05 PM Glen Bojsza via use-livecode > wrote: > > > Hello, > > > > I have an old rev stack that I had saved images as controls and could > > reference them by their ID number and remember that you could bring up > all > > controls used by rev to see what controls you had saved. > > > > I can't seem to find that anywhere in LC 8? > > > > Glen > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jjs at krutt.org Wed Feb 20 05:32:59 2019 From: jjs at krutt.org (jjs at krutt.org) Date: Wed, 20 Feb 2019 10:32:59 +0000 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: <4bc961df-1a84-6a68-6be7-640eee932f08@hyperactivesw.com> References: <1444fee9-8d1a-766f-cb5b-9284a38a838a@krutt.org> <3ac66475-739c-87da-9969-e700aa1d664d@krutt.org> <4bc961df-1a84-6a68-6be7-640eee932f08@hyperactivesw.com> Message-ID: <25b7f6578c488f1a8d1544925f196b9b@krutt.org> And i double check if i did not turn off messages, sometimes i need to double click it to get a good reaction. But that's separate from these issues. J. Landman Gay via use-livecode schreef op 2019-02-19 22:30: > On 2/19/19 3:00 PM, JJS via use-livecode wrote: >> But just yet i also had a weird issue that it would not post or >> receive, restarted LC and worked again >> >> it's making me nuts > > Me too. Sometimes I go back to an earlier version of LC for a while if > I don't need new features. There's no recipe for the problem either, > it's always something random. From jacque at hyperactivesw.com Wed Feb 20 10:34:53 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2019 09:34:53 -0600 Subject: Old Rev stack feature / view ...where is it in LC 8 In-Reply-To: References: <16909084210.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1690b8b9d48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> What you see when choosing an icon is the Image Library, which is also in the Development menu. It doesn't show all controls, only images, but it does have an option to show all the images in the current stack. You can't use the Image Library to delete an image from the stack though. For that you just select the image on the card and hit the delete key on the keyboard. If the image isn't visible you can select it in either the app browser or the project browser. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 20, 2019 3:20:51 AM Glen Bojsza via use-livecode wrote: > No, it would show all the controls a stack has which includes the imported > ones. > > When you scrolled through the images it contained the really old Metacard > images. > > You can see this when you want to add an image to a button but that is when > you are in the button?s property manager selecting an image. > > I was sure there was a view option which allowed you to edit which images > get stored with a stack. > > Perhaps asking the question ....how do you remove an imported image? > > On Tue, Feb 19, 2019 at 10:52 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Are you thinking of the old application browser? It's now in the Plugins >> menu, named revApplicationOverview. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On February 19, 2019 6:36:05 PM Glen Bojsza via use-livecode >> wrote: >> >>> Hello, >>> >>> >>> I have an old rev stack that I had saved images as controls and could >>> reference them by their ID number and remember that you could bring up >> all >>> controls used by rev to see what controls you had saved. >>> >>> >>> I can't seem to find that anywhere in LC 8? >>> >>> >>> Glen >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From beatco at gmail.com Wed Feb 20 10:40:52 2019 From: beatco at gmail.com (Beat Cornaz) Date: Wed, 20 Feb 2019 16:40:52 +0100 Subject: scrCopy BlendMode Message-ID: A couple of questions about BlendModes in LC. 1. The 'normal' blendMode is scrCopy (the mode all objects get when they are created). I can change that blendmode and later put it back to scrCopy in the Inspector. But setting the ink to scrCopy by script does not work. I type in the messagebox : *set the ink of img "DSC03103.jpeg" to scrCopy* I get the following error : *Message execution error:* *Error description: Property: invalid enumeration value* *Hint: * Can anyone tell me how to set the blendMode of an image to scrCopy by script? 2. What happened to the blendModes that do not work either, like : BlendScr, BlendScrOver, NotSreenAnd and 15 others? Why are they available in the choices, but do not seem to work (execution error). 3. Where can I find detailed info about the different blend modes. I'm looking for the math on what they all do. Kind regards, Beat From hh at hyperhh.de Wed Feb 20 10:52:55 2019 From: hh at hyperhh.de (hh) Date: Wed, 20 Feb 2019 16:52:55 +0100 Subject: scrCopy BlendMode Message-ID: 1. If you quote the modes then it works. set the ink of img "DSC03103.jpeg" to "srcCopy" 2. The bitmap modes are no longer supported in LC 9. This is reported in several of the release notes. Probably they are still listed to allow legacy stacks (LC 6/7/8/9). 3. For example: https://en.wikipedia.org/wiki/Blend_modes > Beat K. wrote > 1. The 'normal' blendMode is scrCopy (the mode all objects get when they > are created). I can change that blendmode and later put it back to scrCopy > in the Inspector. But setting the ink to scrCopy by script does not work. > > 2. What happened to the blendModes that do not work either, like : > BlendScr, BlendScrOver, NotSreenAnd and 15 others? Why are they available > in the choices, but do not seem to work (execution error). > > 3. Where can I find detailed info about the different blend modes. I'm > looking for the math on what they all do. From gbojsza at gmail.com Wed Feb 20 10:54:47 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 20 Feb 2019 10:54:47 -0500 Subject: Old Rev stack feature / view ...where is it in LC 8 In-Reply-To: <1690b8b9d48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16909084210.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1690b8b9d48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I found the problem...in my Indy Version 8.0.0 DP4 there is no image library under the development menu?? In LC 6.7.6 there is. So why isn't there one in LC 8.0.0? On Wed, Feb 20, 2019 at 10:35 AM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > What you see when choosing an icon is the Image Library, which is also in > the Development menu. It doesn't show all controls, only images, but it > does have an option to show all the images in the current stack. > > You can't use the Image Library to delete an image from the stack though. > For that you just select the image on the card and hit the delete key on > the keyboard. If the image isn't visible you can select it in either the > app browser or the project browser. > > > From hh at hyperhh.de Wed Feb 20 11:02:54 2019 From: hh at hyperhh.de (hh) Date: Wed, 20 Feb 2019 17:02:54 +0100 Subject: Old Rev stack feature / view ...where is it in LC 8 Message-ID: <94CE0B10-D0AE-4051-B067-4CEACB93C440@hyperhh.de> > GlenB. wrote: > I found the problem...in my Indy Version 8.0.0 DP4 there is > no image library under the development menu?? In LC 6.7.6 > there is. So why isn't there one in LC 8.0.0? Lost in space? Only the sky is the limit for LiveCode ... From hh at hyperhh.de Wed Feb 20 11:23:19 2019 From: hh at hyperhh.de (hh) Date: Wed, 20 Feb 2019 17:23:19 +0100 Subject: LC902 and LC901 Hang with Answer (was Crash) Message-ID: All LC 9 versions have some serious problems, especially memory problems with widgets. But we should have also the following possible reasons for "malfunctions" of LiveCode in mind. * People are updating their OS without denoting it (for example some MacOS versions are highly unstable). This affects especially cross platform apps as LiveCode. * People are not or too late updating their hardware: A mouse or a keyboard become randomly working when close to their collapse. * People are loosing some of their mobility, intelligence or ability to concentrate when getting older. To avoid any misunderstanding: "People" means inclusive myself. From bobsneidar at iotecdigital.com Wed Feb 20 11:41:16 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 20 Feb 2019 16:41:16 +0000 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: References: Message-ID: <8DC33A83-F8CE-4F6C-804F-E8CE1C5D7C97@iotecdigital.com> Really? Which ones? Bob S > On Feb 20, 2019, at 08:23 , hh via use-livecode wrote: > > * People are updating their OS without denoting it (for example > some MacOS versions are highly unstable). This affects especially > cross platform apps as LiveCode. From ludovic.thebault at laposte.net Wed Feb 20 11:54:17 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Wed, 20 Feb 2019 17:54:17 +0100 Subject: Data grid : show an button in a column only if there is an email in other column Message-ID: Hello, I have an address table (data grid) including an "email" column. An other column contains a button to send an email. I want to hide this button if the line does not contain an email. I put this script in the behavior of the button column : on FillInData pData if pData["email"] <> "" then show btn "sendmail" else hide btn "sendmail" end FillInData But it seem to work only for the first line of the table. Any ideas ? Thanks in advance ! Ludovic From zryip.theslug at gmail.com Wed Feb 20 11:58:27 2019 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 20 Feb 2019 17:58:27 +0100 Subject: Data grid : show an button in a column only if there is an email in other column In-Reply-To: References: Message-ID: Ludovic, Try: on FillInData pData if pData["email"] <> "" then show btn "sendmail" of me else hide btn "sendmail" of me end FillInData On Wed, Feb 20, 2019 at 5:54 PM Ludovic THEBAULT via use-livecode < use-livecode at lists.runrev.com> wrote: > Hello, > > I have an address table (data grid) including an "email" column. An other > column contains a button to send an email. I want to hide this button if > the line does not contain an email. > I put this script in the behavior of the button column : > > on FillInData pData > > if pData["email"] <> "" then show btn "sendmail" > > else hide btn "sendmail" > > end FillInData > > > But it seem to work only for the first line of the table. > > Any ideas ? > > Thanks in advance ! > > Ludovic > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Zryip TheSlug http://www.aslugontheroad.com From jacque at hyperactivesw.com Wed Feb 20 12:09:19 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2019 11:09:19 -0600 Subject: Livecode with Window 7 In-Reply-To: References: Message-ID: <1690be21218.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I don't have an answer for the general problem, but the "as sheet" option is OSX only. Windows doesn't support that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 19, 2019 9:05:40 PM Sannyasin Brahmanathaswami via use-livecode wrote: > One of our volunteers uses Window 7, (2009 his last update). He says it the > best windows version there ever was. > > I tried to make a standalone for Windows that would work for him. > > But the ask and answer dialog do not appear on screen, I tried them "as > sheet" but they still are missing. Clicking "enter" should, in theory, > trigger the "OK" even if they are off screen. But that is also no working > > I have "Search for required inclusions..." in the SA setting. Livecode is > picking the other things required (internet lib and XML etc) . What about > the Answer and Answer? But "as sheet" should appear in the stack window > area...that is also not working... > > BR > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Feb 20 12:24:19 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 20 Feb 2019 19:24:19 +0200 Subject: Livecode with Window 7 In-Reply-To: <1690be21218.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1690be21218.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0399b0c1-fffb-9347-125d-86938c9d2c79@gmail.com> I keep a machine around with Windows 7 on it (disconnected from monitor, keyboard, mouse and internet); and drag it out about once a month to test Windows standalone builds. It was worth the price of a Windows OEM licence just for that as it has caught me once or twice in quite surprising ways. Richmond. On 20.02.19 19:09, J. Landman Gay via use-livecode wrote: > I don't have an answer for the general problem, but the "as sheet" > option is OSX only. Windows doesn't support that. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On February 19, 2019 9:05:40 PM Sannyasin Brahmanathaswami via > use-livecode wrote: > >> One of our volunteers uses Window 7, (2009 his last update). He says >> it the best windows version there ever was. >> >> I tried to make a standalone for Windows that would work for him. >> >> But the ask and answer dialog do not appear on screen, I tried them >> "as sheet" but they still are missing. Clicking "enter" should, in >> theory, trigger the "OK" even if they are off screen. But that is >> also no working >> >> I have "Search for required inclusions..." in the SA setting. >> Livecode is picking the other things required (internet lib and XML >> etc) . What about? the Answer and Answer?? But "as sheet" should >> appear in the stack window area...that? is also not working... >> >> BR >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Wed Feb 20 12:50:05 2019 From: hh at hyperhh.de (hh) Date: Wed, 20 Feb 2019 18:50:05 +0100 Subject: LC902 and LC901 Hang with Answer (was Crash) Message-ID: <7DCBD90E-8E7C-4B56-BB73-DFD532670963@hyperhh.de> Each and every MacOS 10.x.0 and 10.x.1. Even Windows 10 is closer to "stable" than these "first" versions. > Bob S. wrote: > Really? Which ones? > > hh wrote: > > * People are updating their OS without denoting it (for example > > some MacOS versions are highly unstable). This affects especially > > cross platform apps as LiveCode. From ludovic.thebault at laposte.net Wed Feb 20 13:06:31 2019 From: ludovic.thebault at laposte.net (Ludovic) Date: Wed, 20 Feb 2019 19:06:31 +0100 Subject: Data grid : show an button in a column only if there is an email in other column In-Reply-To: References: Message-ID: <812C51CB-6446-46B4-866D-17A801144F96@laposte.net> I was not far away ! Thank you. > Le 20 f?vr. 2019 ? 17:58, zryip theSlug via use-livecode a ?crit : > > Ludovic, > > Try: > > on FillInData pData > > if pData["email"] <> "" then show btn "sendmail" of me > > else hide btn "sendmail" of me > > end FillInData > > On Wed, Feb 20, 2019 at 5:54 PM Ludovic THEBAULT via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hello, >> >> I have an address table (data grid) including an "email" column. An other >> column contains a button to send an email. I want to hide this button if >> the line does not contain an email. >> I put this script in the behavior of the button column : >> >> on FillInData pData >> >> if pData["email"] <> "" then show btn "sendmail" >> >> else hide btn "sendmail" >> >> end FillInData >> >> >> But it seem to work only for the first line of the table. >> >> Any ideas ? >> >> Thanks in advance ! >> >> Ludovic >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Zryip TheSlug > http://www.aslugontheroad.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Feb 20 14:19:52 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Feb 2019 11:19:52 -0800 Subject: Livecode with Window 7 In-Reply-To: References: Message-ID: Sannyasin Brahmanathaswami wrote: > One of our volunteers uses Window 7, (2009 his last update). Best to proceed as though the machine is compromised. It may not be, but eight years without updates is dangerously long so better to err on the side of prudence: Deliver no software that provides uploads to your systems unless you have high confidence all inputs are thoroughly sanitized. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Wed Feb 20 14:21:10 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2019 13:21:10 -0600 Subject: Old Rev stack feature / view ...where is it in LC 8 In-Reply-To: References: <16909084210.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1690b8b9d48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1c6c65c0-8570-913a-78f3-43f498d8f148@hyperactivesw.com> I see it in both 8.1.10 and 9.0.2, second item from the top. On 2/20/19 9:54 AM, Glen Bojsza via use-livecode wrote: > I found the problem...in my Indy Version 8.0.0 DP4 there is no image > library under the development menu?? > > In LC 6.7.6 there is. > > So why isn't there one in LC 8.0.0? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Feb 20 14:35:00 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 20 Feb 2019 21:35:00 +0200 Subject: Old Rev stack feature / view ...where is it in LC 8 In-Reply-To: <1c6c65c0-8570-913a-78f3-43f498d8f148@hyperactivesw.com> References: <16909084210.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1690b8b9d48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1c6c65c0-8570-913a-78f3-43f498d8f148@hyperactivesw.com> Message-ID: On Macintosh it is there: 7.1.4, 8.1.14, 9.0.2. Why are you mucking around with Indy Version 8.0.0 DP4? If your licence is still valid you can upgrade to the "latest and greatest." If your licence has expired then your 8.0.0 DP4 should not be working, at which point you can either download a more current Community version or pay for a new licence. Richmond. On 20.02.19 21:21, J. Landman Gay via use-livecode wrote: > I see it in both 8.1.10 and 9.0.2, second item from the top. > > On 2/20/19 9:54 AM, Glen Bojsza via use-livecode wrote: >> I found the problem...in my Indy Version 8.0.0 DP4 there is no image >> library under the development menu?? >> >> In LC 6.7.6 there is. >> >> So why isn't there one in LC 8.0.0? > > > From gbojsza at gmail.com Wed Feb 20 15:30:31 2019 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 20 Feb 2019 15:30:31 -0500 Subject: Old Rev stack feature / view ...where is it in LC 8 In-Reply-To: References: <16909084210.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1690b8b9d48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1c6c65c0-8570-913a-78f3-43f498d8f148@hyperactivesw.com> Message-ID: Your license is good up to the last stable version that was released prior to expiration. On Wed, Feb 20, 2019 at 2:35 PM Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > On Macintosh it is there: 7.1.4, 8.1.14, 9.0.2. > > Why are you mucking around with Indy Version 8.0.0 DP4? > > If your licence is still valid you can upgrade to the "latest and > greatest." > > If your licence has expired then your 8.0.0 DP4 should not be working, > at which point you can either download a more current Community version > or pay > for a new licence. > > Richmond. > > On 20.02.19 21:21, J. Landman Gay via use-livecode wrote: > > I see it in both 8.1.10 and 9.0.2, second item from the top. > > > > On 2/20/19 9:54 AM, Glen Bojsza via use-livecode wrote: > >> I found the problem...in my Indy Version 8.0.0 DP4 there is no image > >> library under the development menu?? > >> > >> In LC 6.7.6 there is. > >> > >> So why isn't there one in LC 8.0.0? > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jjs at krutt.org Wed Feb 20 16:13:51 2019 From: jjs at krutt.org (JJS) Date: Wed, 20 Feb 2019 22:13:51 +0100 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: <7DCBD90E-8E7C-4B56-BB73-DFD532670963@hyperhh.de> References: <7DCBD90E-8E7C-4B56-BB73-DFD532670963@hyperhh.de> Message-ID: <24989941-0050-752d-0405-76aa22af559a@krutt.org> Is someone of the dev team looking in to these random strange behaviours, which in some cases do not have fixed recipe? Op 20-2-2019 om 18:50 schreef hh via use-livecode: > Each and every MacOS 10.x.0 and 10.x.1. > Even Windows 10 is closer to "stable" than these "first" versions. > >> Bob S. wrote: >> Really? Which ones? >>> hh wrote: >>> * People are updating their OS without denoting it (for example >>> some MacOS versions are highly unstable). This affects especially >>> cross platform apps as LiveCode. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Wed Feb 20 16:57:40 2019 From: brian at milby7.com (Brian Milby) Date: Wed, 20 Feb 2019 16:57:40 -0500 Subject: Old Rev stack feature / view ...where is it in LC 8 In-Reply-To: References: <16909084210.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1690b8b9d48.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1c6c65c0-8570-913a-78f3-43f498d8f148@hyperactivesw.com> Message-ID: <8946618d-8471-404d-8e2b-bcbca039fb2a@Spark> That only covers perpetual licenses. ?The current license model is different, but now we also have the community version option. Thanks, Brian On Feb 20, 2019, 3:31 PM -0500, Glen Bojsza via use-livecode , wrote: > Your license is good up to the last stable version that was released prior > to expiration. > > > > On Wed, Feb 20, 2019 at 2:35 PM Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > On Macintosh it is there: 7.1.4, 8.1.14, 9.0.2. > > > > Why are you mucking around with Indy Version 8.0.0 DP4? > > > > If your licence is still valid you can upgrade to the "latest and > > greatest." > > > > If your licence has expired then your 8.0.0 DP4 should not be working, > > at which point you can either download a more current Community version > > or pay > > for a new licence. > > > > Richmond. > > > > On 20.02.19 21:21, J. Landman Gay via use-livecode wrote: > > > I see it in both 8.1.10 and 9.0.2, second item from the top. > > > > > > On 2/20/19 9:54 AM, Glen Bojsza via use-livecode wrote: > > > > I found the problem...in my Indy Version 8.0.0 DP4 there is no image > > > > library under the development menu?? > > > > > > > > In LC 6.7.6 there is. > > > > > > > > So why isn't there one in LC 8.0.0? > > > > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Feb 20 18:58:30 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2019 17:58:30 -0600 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: <24989941-0050-752d-0405-76aa22af559a@krutt.org> References: <7DCBD90E-8E7C-4B56-BB73-DFD532670963@hyperhh.de> <24989941-0050-752d-0405-76aa22af559a@krutt.org> Message-ID: On 2/20/19 3:13 PM, JJS via use-livecode wrote: > Is someone of the dev team looking in to these random strange > behaviours, which in some cases do not have fixed recipe? I don't know how they could without a recipe. Where would they look first? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Wed Feb 20 19:23:38 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 20 Feb 2019 19:23:38 -0500 Subject: LC902 and LC901 message box error was LC902 and LC901 Hang with Answer (was Crash In-Reply-To: <24989941-0050-752d-0405-76aa22af559a@krutt.org> References: <7DCBD90E-8E7C-4B56-BB73-DFD532670963@hyperhh.de> <24989941-0050-752d-0405-76aa22af559a@krutt.org> Message-ID: <004901d4c97b$b3c130d0$1b439270$@net> Maybe this will help with some of the v9 problems. This is happening on my Win 10 VM. I have a stack that makes the IDE go crazy if you open up the message box. A slew of "can't find object" errors from a try/catch in my stack. Yesterday it was OK the day before yesterday IDE went crazy. No major if any changes. I have some hints. After all settles down either of these 2 are left in the message box. 1) send "ideInitialiseMessageBox" to stack "Message Box" 2) put the formattedHeight of field 1 The send(#1) has no result but when #2 is there it is actually executed with the formattedheight of some field in the lower message box results area. This is the executioncontexts of the try/catch in my code. Why I am getting a resizestack message sent to my stack(last 2 lines) from the IDE when opening the message box is beyond me. If the IDE was always sending "resizestack"s to the developers stack then why is it a problem now? Default stack behavior change? Behaviors getting lost/corrupted? Default Stack==>stack "Message Box" Stack name==>stack "Message Box" Card name==> card "Single Line" Executioncontexts: stack "C:/Program Files (x86)/RunRev/LiveCode Business 9.0.2/Toolset/palettes/menubar/revmenubar.livecodescript",mouseUp,1027 stack "C:/Program Files (x86)/RunRev/LiveCode Business 9.0.2/Toolset/palettes/menubar/revmenubar.livecodescript",revMenubarMenuButt onClicked,1133 stack "C:/Program Files (x86)/RunRev/LiveCode Business 9.0.2/Toolset/libraries/revidelibrary.8.livecodescript",revIDETogglePalette, 8860 stack "C:/Program Files (x86)/RunRev/LiveCode Business 9.0.2/Toolset/libraries/revidelibrary.8.livecodescript",revIDEOpenPalette,46 22 stack "C:/Program Files (x86)/RunRev/LiveCode Business 9.0.2/Toolset/palettes/message box/revmessagebox.8.rev",preOpenStack,566,stack "C:/Program Files (x86)/RunRev/LiveCode Business 9.0.2/Toolset/palettes/behaviors/revpalettebehavior.livecodescript" stack "C:/Program Files (x86)/RunRev/LiveCode Business 9.0.2/Toolset/palettes/message box/revmessagebox.8.rev",generateFrame,370,stack "C:/Program Files (x86)/RunRev/LiveCode Business 9.0.2/Toolset/palettes/behaviors/revpalettebehavior.livecodescript" stack "C:/Program Files (x86)/RunRev/LiveCode Business 9.0.2/Toolset/palettes/message box/revmessagebox.8.rev",layoutFrame,510,stack "C:/Program Files (x86)/RunRev/LiveCode Business 9.0.2/Toolset/palettes/behaviors/revpalettebehavior.livecodescript" stack "N:/Apps/Ver1/MyApp.livecode",resizestack,70 stack "N:/Apps/Ver1/MyAppPlace.livecode",PlaceOnCards,920 The translated error... Chunk: no such object occurred on line: 546 1 Chunk: can't find object Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From ambassador at fourthworld.com Wed Feb 20 20:31:09 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Feb 2019 17:31:09 -0800 Subject: LC902 and LC901 message box error was LC902 and LC901 Hang with Answer (was Crash In-Reply-To: <004901d4c97b$b3c130d0$1b439270$@net> References: <004901d4c97b$b3c130d0$1b439270$@net> Message-ID: <16208b3e-c997-c232-5d47-c989ccb6e0f3@fourthworld.com> Excellent sleuthing, Ralph. Has this valuable info made its way into a bug report? -- Richard Gaskin Fourth World Systems Ralph DiMola wrote: > Maybe this will help with some of the v9 problems. This is happening on my > Win 10 VM. > > I have a stack that makes the IDE go crazy if you open up the message box. A > slew of "can't find object" errors from a try/catch in my stack. Yesterday > it was OK the day before yesterday IDE went crazy. No major if any changes. > > I have some hints. After all settles down either of these 2 are left in the > message box. > 1) send "ideInitialiseMessageBox" to stack "Message Box" > 2) put the formattedHeight of field 1 > > The send(#1) has no result but when #2 is there it is actually executed with > the formattedheight of some field in the lower message box results area. > > This is the executioncontexts of the try/catch in my code. Why I am getting > a resizestack message sent to my stack(last 2 lines) from the IDE when > opening the message box is beyond me. If the IDE was always sending > "resizestack"s to the developers stack then why is it a problem now? Default > stack behavior change? Behaviors getting lost/corrupted? > > Default Stack==>stack "Message Box" > Stack name==>stack "Message Box" > Card name==> card "Single Line" > > Executioncontexts: > > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/menubar/revmenubar.livecodescript",mouseUp,1027 > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/menubar/revmenubar.livecodescript",revMenubarMenuButt > onClicked,1133 > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/libraries/revidelibrary.8.livecodescript",revIDETogglePalette, > 8860 > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/libraries/revidelibrary.8.livecodescript",revIDEOpenPalette,46 > 22 > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/message > box/revmessagebox.8.rev",preOpenStack,566,stack "C:/Program Files > (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/behaviors/revpalettebehavior.livecodescript" > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/message > box/revmessagebox.8.rev",generateFrame,370,stack "C:/Program Files > (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/behaviors/revpalettebehavior.livecodescript" > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/message > box/revmessagebox.8.rev",layoutFrame,510,stack "C:/Program Files > (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/behaviors/revpalettebehavior.livecodescript" > stack "N:/Apps/Ver1/MyApp.livecode",resizestack,70 > stack "N:/Apps/Ver1/MyAppPlace.livecode",PlaceOnCards,920 > > The translated error... > > Chunk: no such object > occurred on line: 546 > 1 > > Chunk: can't find object > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > From rdimola at evergreeninfo.net Wed Feb 20 23:34:53 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 20 Feb 2019 23:34:53 -0500 Subject: LC902 and LC901 message box error was LC902 and LC901 Hang with Answer (was Crash In-Reply-To: <16208b3e-c997-c232-5d47-c989ccb6e0f3@fourthworld.com> References: <004901d4c97b$b3c130d0$1b439270$@net> <16208b3e-c997-c232-5d47-c989ccb6e0f3@fourthworld.com> Message-ID: <004f01d4c99e$cddcc380$69964a80$@net> I have not. It's a big stack with billions(well a 100 anyway) of support files. I will open a report as soon as I can package it up. A new twist. A ctrl S will work normally until I open the message box. The inspector will also open OK. Open up the message box and close it. Now a ctrl S will cause the message box to open(last command is displayed but not executed) then the stack will be saved normally. Also the inspector will no longer open. Close the message box and do a Ctrl S and again the message box opens up. Strange indeed. 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 Richard Gaskin via use-livecode Sent: Wednesday, February 20, 2019 8:31 PM To: use-livecode at lists.runrev.com Cc: Richard Gaskin Subject: Re: LC902 and LC901 message box error was LC902 and LC901 Hang with Answer (was Crash Excellent sleuthing, Ralph. Has this valuable info made its way into a bug report? -- Richard Gaskin Fourth World Systems Ralph DiMola wrote: > Maybe this will help with some of the v9 problems. This is happening on my > Win 10 VM. > > I have a stack that makes the IDE go crazy if you open up the message box. A > slew of "can't find object" errors from a try/catch in my stack. Yesterday > it was OK the day before yesterday IDE went crazy. No major if any changes. > > I have some hints. After all settles down either of these 2 are left in the > message box. > 1) send "ideInitialiseMessageBox" to stack "Message Box" > 2) put the formattedHeight of field 1 > > The send(#1) has no result but when #2 is there it is actually executed with > the formattedheight of some field in the lower message box results area. > > This is the executioncontexts of the try/catch in my code. Why I am getting > a resizestack message sent to my stack(last 2 lines) from the IDE when > opening the message box is beyond me. If the IDE was always sending > "resizestack"s to the developers stack then why is it a problem now? Default > stack behavior change? Behaviors getting lost/corrupted? > > Default Stack==>stack "Message Box" > Stack name==>stack "Message Box" > Card name==> card "Single Line" > > Executioncontexts: > > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/menubar/revmenubar.livecodescript",mouseUp,1027 > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/menubar/revmenubar.livecodescript",revMenubarMenuButt > onClicked,1133 > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/libraries/revidelibrary.8.livecodescript",revIDETogglePalette, > 8860 > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/libraries/revidelibrary.8.livecodescript",revIDEOpenPalette,46 > 22 > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/message > box/revmessagebox.8.rev",preOpenStack,566,stack "C:/Program Files > (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/behaviors/revpalettebehavior.livecodescript" > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/message > box/revmessagebox.8.rev",generateFrame,370,stack "C:/Program Files > (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/behaviors/revpalettebehavior.livecodescript" > stack "C:/Program Files (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/message > box/revmessagebox.8.rev",layoutFrame,510,stack "C:/Program Files > (x86)/RunRev/LiveCode Business > 9.0.2/Toolset/palettes/behaviors/revpalettebehavior.livecodescript" > stack "N:/Apps/Ver1/MyApp.livecode",resizestack,70 > stack "N:/Apps/Ver1/MyAppPlace.livecode",PlaceOnCards,920 > > The translated error... > > Chunk: no such object > occurred on line: 546 > 1 > > Chunk: can't find object > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From kee.nethery at elloco.com Thu Feb 21 00:55:29 2019 From: kee.nethery at elloco.com (kee nethery) Date: Wed, 20 Feb 2019 21:55:29 -0800 Subject: Mac App Store step by step instructions just updated. In-Reply-To: <812C51CB-6446-46B4-866D-17A801144F96@laposte.net> References: <812C51CB-6446-46B4-866D-17A801144F96@laposte.net> Message-ID: <05CEDDBE-F78B-4BFC-921C-AB3407DD9212@elloco.com> Signing and Uploading apps to the Mac App Store http://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store Have gone through the app revision process and my app was reviewed and published so as of yesterday, the step by step instructions are correct. Kee Nethery From matthias_livecode_150811 at m-r-d.de Thu Feb 21 02:41:51 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 21 Feb 2019 08:41:51 +0100 Subject: Mac App Store step by step instructions just updated. In-Reply-To: <05CEDDBE-F78B-4BFC-921C-AB3407DD9212@elloco.com> References: <812C51CB-6446-46B4-866D-17A801144F96@laposte.net> <05CEDDBE-F78B-4BFC-921C-AB3407DD9212@elloco.com> Message-ID: Kee, thanks for this great step by step doc. But i am wondering how you?ve solved the copy protection? I mean, how will you take care that the app is not shared and used by an other user with an other Apple ID? Do you use any 3rd party tools for it in your app? Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 21.02.2019 um 06:55 schrieb kee nethery via use-livecode >: > > Signing and Uploading apps to the Mac App Store > http://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store > > Have gone through the app revision process and my app was reviewed and published so as of yesterday, the step by step instructions are correct. > > Kee Nethery > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Thu Feb 21 04:24:19 2019 From: livfoss at mac.com (Graham Samuel) Date: Thu, 21 Feb 2019 09:24:19 +0000 Subject: Mac App Store step by step instructions just updated. In-Reply-To: References: <812C51CB-6446-46B4-866D-17A801144F96@laposte.net> <05CEDDBE-F78B-4BFC-921C-AB3407DD9212@elloco.com> Message-ID: Brilliant! Deployment is so important and yet to many LC developers troublingly alien (or is it just me?). Thanks anyway. Graham Sent from my iPad > On 21 Feb 2019, at 07:41, Matthias Rebbe via use-livecode wrote: > > Kee, > > thanks for this great step by step doc. > But i am wondering how you?ve solved the copy protection? I mean, how will you take care that the app is not shared and used by an other user with an other Apple ID? > Do you use any 3rd party tools for it in your app? > > Matthias > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 21.02.2019 um 06:55 schrieb kee nethery via use-livecode >: >> >> Signing and Uploading apps to the Mac App Store >> http://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store >> >> Have gone through the app revision process and my app was reviewed and published so as of yesterday, the step by step instructions are correct. >> >> Kee Nethery >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Feb 21 08:26:22 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 21 Feb 2019 13:26:22 +0000 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: <7DCBD90E-8E7C-4B56-BB73-DFD532670963@hyperhh.de> References: <7DCBD90E-8E7C-4B56-BB73-DFD532670963@hyperhh.de> Message-ID: <964DF51D-5D23-4FDA-83E3-03C9E2F8389D@hindu.org> I concur with HH. Mojave 10.14.3 is a most unstable "beast". I get different programs suddenly "winking out" some without a crash report, some that quit all of a sudden. How a small team is supposedly to keep with the Apple's vagaries is a good question. Brahmanathaswami ? hh wrote: Each and every MacOS 10.x.0 and 10.x.1. Even Windows 10 is closer to "stable" than these "first" versions. >Bob S. wrote: >Really? Which ones? >> hh wrote: >> * People are updating their OS without denoting it (for example >> some MacOS versions are highly unstable). This affects especially >> cross platform apps as LiveCode. From panos.merakos at livecode.com Thu Feb 21 09:00:29 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 21 Feb 2019 16:00:29 +0200 Subject: [ANN] Release 9.0.3 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.0.3 RC-1. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.0.3 RC-1 comes with more than 60 bugfixes and new features. Moreover, dozens of Dictionary entries have been corrected and enhanced. In addition, LiveCode 9.0.3 RC-1 includes: - support for building with Xcode 10.1, using iOS 12.1 SDK (this is now a requirement for apps submitted to the AppStore, starting this March) - new tsNet and mergExt builds - updated SQLite lib, with support for URI filenames Known issues ================ - The Browser widget's native layer is not shown in some Linux distros with Cinnamon window manager. - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. The full release notes are available from: http://downloads.livecode.com/livecode/9_0_3/LiveCodeNotes-9_0_3_rc_1.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From ludovic.thebault at laposte.net Thu Feb 21 09:16:40 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Thu, 21 Feb 2019 15:16:40 +0100 Subject: Data grid : show an button in a column only if there is an email in other column In-Reply-To: References: Message-ID: > Le 20 f?vr. 2019 ? 17:58, zryip theSlug via use-livecode a ?crit : > > Ludovic, > > Try: > > on FillInData pData > > if pData["email"] <> "" then show btn "sendmail" of me > > else hide btn "sendmail" of me > > end FillInData > As i use Table datagrid, pData is just the value of the cell, so with this script it?s work. if GetDataOfIndex(the dgIndex of me, "email") <> "" then show btn "sendmail" of me else hide btn "sendmail" of me Ludovic From tore.nilsen at me.com Thu Feb 21 09:36:37 2019 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 21 Feb 2019 15:36:37 +0100 Subject: SVG widget and grab me command Message-ID: <8B03B343-C31C-46E1-8061-0EF302801E13@me.com> When one of my students tried to use grab me command in a mouseDown handler on a SVG widget, some strange things happened. In run-mode, the script did not work as expected. The widget would not move with the mouse. When switching back to edit mode, the widget started to move with the mouse once the cursor entered the rect of the stack. It was impossible to put down the widget afterwards. The same thing happened when we tried to make the widget follow the mouse in a mouseMove handler. Has anyone else come across this? Best regards Tore Nilsen From hh at hyperhh.de Thu Feb 21 10:02:19 2019 From: hh at hyperhh.de (hh) Date: Thu, 21 Feb 2019 16:02:19 +0100 Subject: SVG widget and grab me command Message-ID: Widgets are not ordinary controls. So this is not a bug, rather a missing feature (the widget author will have to implement an own "grab"-handler). The widget passes mouseDown but not in a way that "grab" can be used. MouseMove isn't passed (=> not usable) at all. You could try "ControlHandles89" from "Sample Stacks" or http://livecodeshare.runrev.com/stack/902/ which adds handles to widgets for resizing and grabbing. (Or use a solution similar to that). From ahsoftware at sonic.net Thu Feb 21 11:22:23 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 21 Feb 2019 08:22:23 -0800 Subject: SVG widget and grab me command In-Reply-To: References: Message-ID: On 2/21/19 7:02 AM, hh via use-livecode wrote: > Widgets are not ordinary controls. > So this is not a bug, rather a missing feature (the widget > author will have to implement an own "grab"-handler). > The widget passes mouseDown but not in a way that "grab" can > be used. MouseMove isn't passed (=> not usable) at all. Actually, I *do* consider this a bug, although one by design. -- Mark Wieder ahsoftware at gmail.com From beatco at gmail.com Thu Feb 21 11:22:02 2019 From: beatco at gmail.com (Beat Cornaz) Date: Thu, 21 Feb 2019 17:22:02 +0100 Subject: scrCopy BlendMode Message-ID: >>1. If you quote the modes then it works. hh wrote : > set the ink of img "DSC03103.jpeg" to "srcCopy" Thanks, that works. As for info about blendmodes, hh wrote : > https://en.wikipedia.org/wiki/Blend_modes I had seen this site, but was wondering about the other blend modes in LC. Including the old (Legecy ones). Where do I find a mathematical description of how these specific LC modes work? Thanks, Beat From tore.nilsen at me.com Thu Feb 21 12:17:47 2019 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 21 Feb 2019 18:17:47 +0100 Subject: SVG widget and grab me command In-Reply-To: References: Message-ID: Thanks for your explanation. Since my student does not need any handlers (in fact would not want any handlers added to the widgets), the examples from ?ControlHandles89? could not be used. The simple solution was to ?group? each individual SVG widget and add the grab me command to the group. Best regards Tore Nilsen > 21. feb. 2019 kl. 16:02 skrev hh via use-livecode : > > Widgets are not ordinary controls. > So this is not a bug, rather a missing feature (the widget > author will have to implement an own "grab"-handler). > The widget passes mouseDown but not in a way that "grab" can > be used. MouseMove isn't passed (=> not usable) at all. > > You could try "ControlHandles89" from "Sample Stacks" or > http://livecodeshare.runrev.com/stack/902/ > which adds handles to widgets for resizing and grabbing. > (Or use a solution similar to that). > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Thu Feb 21 12:36:19 2019 From: hh at hyperhh.de (hh) Date: Thu, 21 Feb 2019 18:36:19 +0100 Subject: SVG widget and grab me command Message-ID: > Tore wrote: > Since my student does not need any handlers (in fact would not > want any handlers added to the widgets) ... That's exactly why I wrote ControlHandles: The approach doesn't change any property of a control/widget. Your approach does (grouping, scripting) ... From tore.nilsen at me.com Thu Feb 21 12:43:35 2019 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 21 Feb 2019 18:43:35 +0100 Subject: SVG widget and grab me command In-Reply-To: References: Message-ID: My mistake, I meant handles, not handlers. The widgets are used to display chess pieces. The actual script ?controlling" each widget/group is a behavior, where the script itself resides in a button script. Best regards Tore > 21. feb. 2019 kl. 18:36 skrev hh via use-livecode : > >> Tore wrote: >> Since my student does not need any handlers (in fact would not >> want any handlers added to the widgets) ... > > That's exactly why I wrote ControlHandles: The approach doesn't > change any property of a control/widget. > > Your approach does (grouping, scripting) ... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Feb 21 13:04:11 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 21 Feb 2019 12:04:11 -0600 Subject: LC902 and LC901 message box error was LC902 and LC901 Hang with Answer (was Crash In-Reply-To: <004f01d4c99e$cddcc380$69964a80$@net> References: <004901d4c97b$b3c130d0$1b439270$@net> <16208b3e-c997-c232-5d47-c989ccb6e0f3@fourthworld.com> <004f01d4c99e$cddcc380$69964a80$@net> Message-ID: <169113aa978.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If the message box is misdirecting commands, that may fit with some problems I've seen too. I couldn't set behavior on a button, menu key shortcuts fail all the time, and calling a handler from the message box periodically reports the handler can't be found even though the message box title field says the target stack is the one I'm looking at. Also, like you, Cmd-S periodically fails to do anything and contextual menus don't appear when right-clicking. I open the message box at startup and never close it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 20, 2019 10:32:52 PM Ralph DiMola via use-livecode wrote: > A new twist. A ctrl S will work normally until I open the message box. The > inspector will also open OK. Open up the message box and close it. Now a > ctrl S will cause the message box to open(last command is displayed but not > executed) then the stack will be saved normally. Also the inspector will no > longer open. Close the message box and do a Ctrl S and again the message box > opens up. Strange indeed. From jjs at krutt.org Thu Feb 21 13:44:38 2019 From: jjs at krutt.org (JJS) Date: Thu, 21 Feb 2019 19:44:38 +0100 Subject: LC902 and LC901 message box error was LC902 and LC901 Hang with Answer (was Crash In-Reply-To: <169113aa978.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <004901d4c97b$b3c130d0$1b439270$@net> <16208b3e-c997-c232-5d47-c989ccb6e0f3@fourthworld.com> <004f01d4c99e$cddcc380$69964a80$@net> <169113aa978.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: there was a bug once (8 series probably, can't remember) with the Message Box and then opening the Message Watcher crashing the IDE. I reported it myself. But i can't find it anymore at quality. I believe it was solved then. Maybe there is a regression. Op 21-2-2019 om 19:04 schreef J. Landman Gay via use-livecode: > If the message box is misdirecting commands, that may fit with some > problems I've seen too. I couldn't set behavior on a button, menu key > shortcuts fail all the time, and calling a handler from the message > box periodically reports the handler can't be found even though the > message box title field says the target stack is the one I'm looking > at. Also, like you, Cmd-S periodically fails to do anything and > contextual menus don't appear when right-clicking. > > I open the message box at startup and never close it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On February 20, 2019 10:32:52 PM Ralph DiMola via use-livecode > wrote: > >> A new twist. A ctrl S will work normally until I open the message >> box. The >> inspector will also open OK. Open up the message box and close it. Now a >> ctrl S will cause the message box to open(last command is displayed >> but not >> executed) then the stack will be saved normally. Also the inspector >> will no >> longer open. Close the message box and do a Ctrl S and again the >> message box >> opens up. Strange indeed. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Thu Feb 21 14:03:35 2019 From: hh at hyperhh.de (hh) Date: Thu, 21 Feb 2019 20:03:35 +0100 Subject: scrCopy BlendMode Message-ID: <66548652-046E-43AF-A246-A0CA6C1A5520@hyperhh.de> [The LC 6 bitmap modes have modern variants. Deduce the math from there.] LC uses (probably) the cairo library (doesn't support bitmap modes any more): https://www.cairographics.org/operators/ (also the SVG-link there) See also: https://imagineer.in/blog/math-behind-blend-modes/ Actual state of the CSS art, especially chapters 9-10 (and look forward to the promised CSS widget) https://drafts.fxtf.org/compositing-1/ > Beat C. wrote: > As for info about blendmodes, hh wrote : > > https://en.wikipedia.org/wiki/Blend_modes > > I had seen this site, but was wondering about the other blend modes in LC. > Including the old (Legecy ones). Where do I find a mathematical description > of how these specific LC modes work? From hh at hyperhh.de Thu Feb 21 15:15:16 2019 From: hh at hyperhh.de (hh) Date: Thu, 21 Feb 2019 21:15:16 +0100 Subject: Image "Size" Message-ID: <38B9E3DD-2628-4C08-A606-79EE3F1E404E@hyperhh.de> Release 9.0.3 RC-1: Thanks Panos (especially) for your work of the last months. The "size" field for images disappeared a while ago and is now back. TMHO the name "size" may be misleading. It is = not the size = (width, height) of the image, = not the size of the raw data (=4*formattedWidth*formattedHeight) in Bytes, = not the filesize of the image when saved as single image to disk (which depends on the image format, thus it is empty for referenced images), = not the size of the LC image representation in RAM (which depends on the resizeQuality of the image) in Bytes. It is the size of the image in Bytes when saved as part of the stack to disk. So a valuable info. But perhaps it could be called "sizeInStack"? From bobsneidar at iotecdigital.com Thu Feb 21 15:40:33 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 21 Feb 2019 20:40:33 +0000 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: <7DCBD90E-8E7C-4B56-BB73-DFD532670963@hyperhh.de> References: <7DCBD90E-8E7C-4B56-BB73-DFD532670963@hyperhh.de> Message-ID: I've been through them all. I do not notice any highly unstable behavior. All we use here are MacOS systems. Do you mean 10.0.1, or do you mean the initial release of every major version? The initial release of EVERYTHING seems to need the kinks worked out, but I think every MacOS since 10 being highly unstable is a dramatic overstatement. Bob S > On Feb 20, 2019, at 09:50 , hh via use-livecode wrote: > > Each and every MacOS 10.x.0 and 10.x.1. > Even Windows 10 is closer to "stable" than these "first" versions. > >> Bob S. wrote: >> Really? Which ones? >>> hh wrote: >>> * People are updating their OS without denoting it (for example >>> some MacOS versions are highly unstable). This affects especially >>> cross platform apps as LiveCode. From bobsneidar at iotecdigital.com Thu Feb 21 15:41:04 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 21 Feb 2019 20:41:04 +0000 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: References: <7DCBD90E-8E7C-4B56-BB73-DFD532670963@hyperhh.de> <24989941-0050-752d-0405-76aa22af559a@krutt.org> Message-ID: <317E1397-5CA0-4B36-8AFD-0E8EF0CF9436@iotecdigital.com> I was thinking that very thing. :-) Bob S > On Feb 20, 2019, at 15:58 , J. Landman Gay via use-livecode wrote: > > On 2/20/19 3:13 PM, JJS via use-livecode wrote: >> Is someone of the dev team looking in to these random strange behaviours, which in some cases do not have fixed recipe? > > I don't know how they could without a recipe. Where would they look first? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com From bobsneidar at iotecdigital.com Thu Feb 21 15:44:01 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 21 Feb 2019 20:44:01 +0000 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: <964DF51D-5D23-4FDA-83E3-03C9E2F8389D@hindu.org> References: <7DCBD90E-8E7C-4B56-BB73-DFD532670963@hyperhh.de> <964DF51D-5D23-4FDA-83E3-03C9E2F8389D@hindu.org> Message-ID: <0C517F55-0B2A-47BB-9020-28D75DAA3D93@iotecdigital.com> I'm running 10.14.3. I get alerts when an all is not supported or is likely to cause problems. I don't categorize this as highly unstable though. Livecode has kept up fairly well with the "vagaries" of the OS X updates, and I can tell you that with Windows 10 which I also have to service, plenty of apps go "unstable" as the OS is updated, and they also have to be updated. Bob S > On Feb 21, 2019, at 05:26 , Sannyasin Brahmanathaswami via use-livecode wrote: > > I concur with HH. Mojave 10.14.3 is a most unstable "beast". I get different programs suddenly "winking out" some without a crash report, some that quit all of a sudden. How a small team is supposedly to keep with the Apple's vagaries is a good question. > > Brahmanathaswami From bobsneidar at iotecdigital.com Thu Feb 21 15:44:25 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 21 Feb 2019 20:44:25 +0000 Subject: LC902 and LC901 Hang with Answer (was Crash) In-Reply-To: <0C517F55-0B2A-47BB-9020-28D75DAA3D93@iotecdigital.com> References: <7DCBD90E-8E7C-4B56-BB73-DFD532670963@hyperhh.de> <964DF51D-5D23-4FDA-83E3-03C9E2F8389D@hindu.org> <0C517F55-0B2A-47BB-9020-28D75DAA3D93@iotecdigital.com> Message-ID: <1FBF4F54-604D-409A-B416-B469EED9F57A@iotecdigital.com> APP that is. > On Feb 21, 2019, at 12:44 , Bob Sneidar wrote: > > I'm running 10.14.3. I get alerts when an all From kee.nethery at elloco.com Thu Feb 21 16:42:55 2019 From: kee.nethery at elloco.com (kee nethery) Date: Thu, 21 Feb 2019 13:42:55 -0800 Subject: Mac App Store step by step instructions just updated. In-Reply-To: References: <812C51CB-6446-46B4-866D-17A801144F96@laposte.net> <05CEDDBE-F78B-4BFC-921C-AB3407DD9212@elloco.com> Message-ID: > On Feb 20, 2019, at 11:41 PM, Matthias Rebbe via use-livecode wrote: > > Kee, > > thanks for this great step by step doc. > But i am wondering how you?ve solved the copy protection? I mean, how will you take care that the app is not shared and used by an other user with an other Apple ID? > Do you use any 3rd party tools for it in your app? That?s not something I?ve worried about. I thought, perhaps mistakenly, that the App Store handled that. I?ll buy a copy of my paid app and email it to you. You can see if you can run it and we?ll have some idea as to whether the App Store provides copy protection. Kee > > Matthias > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 21.02.2019 um 06:55 schrieb kee nethery via use-livecode >: >> >> Signing and Uploading apps to the Mac App Store >> http://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store >> >> Have gone through the app revision process and my app was reviewed and published so as of yesterday, the step by step instructions are correct. >> >> Kee Nethery >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Feb 21 17:06:08 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 21 Feb 2019 23:06:08 +0100 Subject: Mac App Store step by step instructions just updated. In-Reply-To: References: <812C51CB-6446-46B4-866D-17A801144F96@laposte.net> <05CEDDBE-F78B-4BFC-921C-AB3407DD9212@elloco.com> Message-ID: I can run it w/o a problem. If i?ve understand it correctly than the developer has to take care about the copy protection. https://developer.apple.com/library/mac/releasenotes/General/ValidateAppStoreReceipt/Introduction.html#//apple_ref/doc/uid/TP40010573 Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 21.02.2019 um 22:42 schrieb kee nethery via use-livecode >: > > > >> On Feb 20, 2019, at 11:41 PM, Matthias Rebbe via use-livecode > wrote: >> >> Kee, >> >> thanks for this great step by step doc. >> But i am wondering how you?ve solved the copy protection? I mean, how will you take care that the app is not shared and used by an other user with an other Apple ID? >> Do you use any 3rd party tools for it in your app? > > That?s not something I?ve worried about. I thought, perhaps mistakenly, that the App Store handled that. I?ll buy a copy of my paid app and email it to you. You can see if you can run it and we?ll have some idea as to whether the App Store provides copy protection. > > Kee > >> >> Matthias >> >> >> Matthias Rebbe >> >> free tools for Livecoders: >> https://instamaker.dermattes.de > >> https://winsignhelper.dermattes.de > >> >>> Am 21.02.2019 um 06:55 schrieb kee nethery via use-livecode >>: >>> >>> Signing and Uploading apps to the Mac App Store >>> http://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store > >>> >>> Have gone through the app revision process and my app was reviewed and published so as of yesterday, the step by step instructions are correct. >>> >>> Kee Nethery >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee.nethery at elloco.com Thu Feb 21 17:09:00 2019 From: kee.nethery at elloco.com (kee nethery) Date: Thu, 21 Feb 2019 14:09:00 -0800 Subject: Mac App Store step by step instructions just updated. In-Reply-To: References: <812C51CB-6446-46B4-866D-17A801144F96@laposte.net> <05CEDDBE-F78B-4BFC-921C-AB3407DD9212@elloco.com> Message-ID: Interesting. Not something I have been concerned about but ? something that I?ll look into. Thanks for the new mystery to look into. Assuming I figure it out, I?ll add that to my step by step documentation. Kee > On Feb 21, 2019, at 2:06 PM, Matthias Rebbe via use-livecode wrote: > > I can run it w/o a problem. > > If i?ve understand it correctly than the developer has to take care about the copy protection. > https://developer.apple.com/library/mac/releasenotes/General/ValidateAppStoreReceipt/Introduction.html#//apple_ref/doc/uid/TP40010573 > > Regards, > > Matthias > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 21.02.2019 um 22:42 schrieb kee nethery via use-livecode >: >> >> >> >>> On Feb 20, 2019, at 11:41 PM, Matthias Rebbe via use-livecode > wrote: >>> >>> Kee, >>> >>> thanks for this great step by step doc. >>> But i am wondering how you?ve solved the copy protection? I mean, how will you take care that the app is not shared and used by an other user with an other Apple ID? >>> Do you use any 3rd party tools for it in your app? >> >> That?s not something I?ve worried about. I thought, perhaps mistakenly, that the App Store handled that. I?ll buy a copy of my paid app and email it to you. You can see if you can run it and we?ll have some idea as to whether the App Store provides copy protection. >> >> Kee >> >>> >>> Matthias >>> >>> >>> Matthias Rebbe >>> >>> free tools for Livecoders: >>> https://instamaker.dermattes.de > >>> https://winsignhelper.dermattes.de > >>> >>>> Am 21.02.2019 um 06:55 schrieb kee nethery via use-livecode >>: >>>> >>>> Signing and Uploading apps to the Mac App Store >>>> http://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store > >>>> >>>> Have gone through the app revision process and my app was reviewed and published so as of yesterday, the step by step instructions are correct. >>>> >>>> Kee Nethery >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Thu Feb 21 17:18:45 2019 From: sundown at pacifier.com (JB) Date: Thu, 21 Feb 2019 14:18:45 -0800 Subject: Mac App Store step by step instructions just updated. In-Reply-To: References: <812C51CB-6446-46B4-866D-17A801144F96@laposte.net> <05CEDDBE-F78B-4BFC-921C-AB3407DD9212@elloco.com> Message-ID: With the low price of software is it really even worth it to copy protect your program? Most software is not very expensive and it would be like trying to copy protect a song. People do not want songs to be copy protected. The majority of software I see on the App store does not have copy protection and I am glad. Any copy protection you provide can be defeated and it just becomes a hassle for the honest people who did purchase it. Look at all of the music sold. Even though some of it is pirated most people will pay for it instead. If you provide serial numbers don?t you have to spend time on every item sold to give them a unique number? The more you sell the more problems and then you need to let users contact you if they lose the number so they can use their software. JB > On Feb 21, 2019, at 2:06 PM, Matthias Rebbe via use-livecode wrote: > > I can run it w/o a problem. > > If i?ve understand it correctly than the developer has to take care about the copy protection. > https://developer.apple.com/library/mac/releasenotes/General/ValidateAppStoreReceipt/Introduction.html#//apple_ref/doc/uid/TP40010573 > > Regards, > > Matthias > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 21.02.2019 um 22:42 schrieb kee nethery via use-livecode >: >> >> >> >>> On Feb 20, 2019, at 11:41 PM, Matthias Rebbe via use-livecode > wrote: >>> >>> Kee, >>> >>> thanks for this great step by step doc. >>> But i am wondering how you?ve solved the copy protection? I mean, how will you take care that the app is not shared and used by an other user with an other Apple ID? >>> Do you use any 3rd party tools for it in your app? >> >> That?s not something I?ve worried about. I thought, perhaps mistakenly, that the App Store handled that. I?ll buy a copy of my paid app and email it to you. You can see if you can run it and we?ll have some idea as to whether the App Store provides copy protection. >> >> Kee >> >>> >>> Matthias >>> >>> >>> Matthias Rebbe >>> >>> free tools for Livecoders: >>> https://instamaker.dermattes.de > >>> https://winsignhelper.dermattes.de > >>> >>>> Am 21.02.2019 um 06:55 schrieb kee nethery via use-livecode >>: >>>> >>>> Signing and Uploading apps to the Mac App Store >>>> http://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store > >>>> >>>> Have gone through the app revision process and my app was reviewed and published so as of yesterday, the step by step instructions are correct. >>>> >>>> Kee Nethery >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee.nethery at elloco.com Thu Feb 21 17:35:21 2019 From: kee.nethery at elloco.com (kee nethery) Date: Thu, 21 Feb 2019 14:35:21 -0800 Subject: Mac App Store step by step instructions just updated. In-Reply-To: References: <812C51CB-6446-46B4-866D-17A801144F96@laposte.net> <05CEDDBE-F78B-4BFC-921C-AB3407DD9212@elloco.com> Message-ID: <2269DFFA-9D6C-4709-9F61-8671F1169F93@elloco.com> I agree that my software does not need copy protection. I?m still interested in seeing if I can add it to my app, just to figure out how it works. Kee > On Feb 21, 2019, at 2:18 PM, JB via use-livecode wrote: > > With the low price of software is it really even worth it > to copy protect your program? Most software is not > very expensive and it would be like trying to copy > protect a song. People do not want songs to be > copy protected. > > The majority of software I see on the App store does > not have copy protection and I am glad. > > Any copy protection you provide can be defeated and > it just becomes a hassle for the honest people who did > purchase it. Look at all of the music sold. Even though > some of it is pirated most people will pay for it instead. > > If you provide serial numbers don?t you have to spend > time on every item sold to give them a unique number? > The more you sell the more problems and then you > need to let users contact you if they lose the number > so they can use their software. > > JB > > >> On Feb 21, 2019, at 2:06 PM, Matthias Rebbe via use-livecode wrote: >> >> I can run it w/o a problem. >> >> If i?ve understand it correctly than the developer has to take care about the copy protection. >> https://developer.apple.com/library/mac/releasenotes/General/ValidateAppStoreReceipt/Introduction.html#//apple_ref/doc/uid/TP40010573 >> >> Regards, >> >> Matthias >> >> Matthias Rebbe >> >> free tools for Livecoders: >> https://instamaker.dermattes.de >> https://winsignhelper.dermattes.de >> >>> Am 21.02.2019 um 22:42 schrieb kee nethery via use-livecode >: >>> >>> >>> >>>> On Feb 20, 2019, at 11:41 PM, Matthias Rebbe via use-livecode > wrote: >>>> >>>> Kee, >>>> >>>> thanks for this great step by step doc. >>>> But i am wondering how you?ve solved the copy protection? I mean, how will you take care that the app is not shared and used by an other user with an other Apple ID? >>>> Do you use any 3rd party tools for it in your app? >>> >>> That?s not something I?ve worried about. I thought, perhaps mistakenly, that the App Store handled that. I?ll buy a copy of my paid app and email it to you. You can see if you can run it and we?ll have some idea as to whether the App Store provides copy protection. >>> >>> Kee >>> >>>> >>>> Matthias >>>> >>>> >>>> Matthias Rebbe >>>> >>>> free tools for Livecoders: >>>> https://instamaker.dermattes.de > >>>> https://winsignhelper.dermattes.de > >>>> >>>>> Am 21.02.2019 um 06:55 schrieb kee nethery via use-livecode >>: >>>>> >>>>> Signing and Uploading apps to the Mac App Store >>>>> http://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store > >>>>> >>>>> Have gone through the app revision process and my app was reviewed and published so as of yesterday, the step by step instructions are correct. >>>>> >>>>> Kee Nethery >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Thu Feb 21 17:40:52 2019 From: sundown at pacifier.com (JB) Date: Thu, 21 Feb 2019 14:40:52 -0800 Subject: Mac App Store step by step instructions just updated. In-Reply-To: <2269DFFA-9D6C-4709-9F61-8671F1169F93@elloco.com> References: <812C51CB-6446-46B4-866D-17A801144F96@laposte.net> <05CEDDBE-F78B-4BFC-921C-AB3407DD9212@elloco.com> <2269DFFA-9D6C-4709-9F61-8671F1169F93@elloco.com> Message-ID: <2CBBC976-4BD9-4365-B3C3-589F598363BA@pacifier.com> One thing I have noticed with some software is if I upgrade to another drive and OS X then a message is shown that says it does not recognize I purchased it from the Mac App store and I am asked to log in with my user info to activate the program. I don?t know if they check for serial numbers of the drive or if this is automatic from Apple. JB > On Feb 21, 2019, at 2:35 PM, kee nethery via use-livecode wrote: > > I agree that my software does not need copy protection. > > I?m still interested in seeing if I can add it to my app, just to figure out how it works. > > Kee > >> On Feb 21, 2019, at 2:18 PM, JB via use-livecode wrote: >> >> With the low price of software is it really even worth it >> to copy protect your program? Most software is not >> very expensive and it would be like trying to copy >> protect a song. People do not want songs to be >> copy protected. >> >> The majority of software I see on the App store does >> not have copy protection and I am glad. >> >> Any copy protection you provide can be defeated and >> it just becomes a hassle for the honest people who did >> purchase it. Look at all of the music sold. Even though >> some of it is pirated most people will pay for it instead. >> >> If you provide serial numbers don?t you have to spend >> time on every item sold to give them a unique number? >> The more you sell the more problems and then you >> need to let users contact you if they lose the number >> so they can use their software. >> >> JB >> >> >>> On Feb 21, 2019, at 2:06 PM, Matthias Rebbe via use-livecode wrote: >>> >>> I can run it w/o a problem. >>> >>> If i?ve understand it correctly than the developer has to take care about the copy protection. >>> https://developer.apple.com/library/mac/releasenotes/General/ValidateAppStoreReceipt/Introduction.html#//apple_ref/doc/uid/TP40010573 >>> >>> Regards, >>> >>> Matthias >>> >>> Matthias Rebbe >>> >>> free tools for Livecoders: >>> https://instamaker.dermattes.de >>> https://winsignhelper.dermattes.de >>> >>>> Am 21.02.2019 um 22:42 schrieb kee nethery via use-livecode >: >>>> >>>> >>>> >>>>> On Feb 20, 2019, at 11:41 PM, Matthias Rebbe via use-livecode > wrote: >>>>> >>>>> Kee, >>>>> >>>>> thanks for this great step by step doc. >>>>> But i am wondering how you?ve solved the copy protection? I mean, how will you take care that the app is not shared and used by an other user with an other Apple ID? >>>>> Do you use any 3rd party tools for it in your app? >>>> >>>> That?s not something I?ve worried about. I thought, perhaps mistakenly, that the App Store handled that. I?ll buy a copy of my paid app and email it to you. You can see if you can run it and we?ll have some idea as to whether the App Store provides copy protection. >>>> >>>> Kee >>>> >>>>> >>>>> Matthias >>>>> >>>>> >>>>> Matthias Rebbe >>>>> >>>>> free tools for Livecoders: >>>>> https://instamaker.dermattes.de > >>>>> https://winsignhelper.dermattes.de > >>>>> >>>>>> Am 21.02.2019 um 06:55 schrieb kee nethery via use-livecode >>: >>>>>> >>>>>> Signing and Uploading apps to the Mac App Store >>>>>> http://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store > >>>>>> >>>>>> Have gone through the app revision process and my app was reviewed and published so as of yesterday, the step by step instructions are correct. >>>>>> >>>>>> Kee Nethery >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mazzapaoloitaly at gmail.com Fri Feb 22 02:31:33 2019 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Fri, 22 Feb 2019 08:31:33 +0100 Subject: How to IMPORT CONTACTS and GPS location Message-ID: Dear LiveCoders, I have not been using livecode for a while and do not know anymore what are the features of Livecode today. I would like to know - if LiveCode can IMPORT THE CONTACTS from the Iphone and Android systems - if it is possible to send an address to Google and get the GPS location from a LiveCode app. Best regards, Paolo Mazza From merakosp at gmail.com Fri Feb 22 02:39:57 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 22 Feb 2019 09:39:57 +0200 Subject: Image "Size" In-Reply-To: <38B9E3DD-2628-4C08-A606-79EE3F1E404E@hyperhh.de> References: <38B9E3DD-2628-4C08-A606-79EE3F1E404E@hyperhh.de> Message-ID: Thanks for your kind words, Hermann. Indeed, the property name "size" might be confusing, but it has been like this for ages, so changing it now will break existing scripts. In the property inspector, if you change the settings to show the "Description of option" rather than the "Name of LiveCode property", then it says "Size in bytes". At least this might clarify things for newcomers. We could add a note to the dictionary though, including what is NOT the "size", as you accurately described it in your previous post. Kind regards, Panos -- On Thu, Feb 21, 2019 at 10:15 PM hh via use-livecode < use-livecode at lists.runrev.com> wrote: > Release 9.0.3 RC-1: > Thanks Panos (especially) for your work of the last months. > > The "size" field for images disappeared a while ago and is now back. > TMHO the name "size" may be misleading. It is > > = not the size = (width, height) of the image, > = not the size of the raw data (=4*formattedWidth*formattedHeight) in > Bytes, > = not the filesize of the image when saved as single image to disk (which > depends on the image format, thus it is empty for referenced images), > = not the size of the LC image representation in RAM (which depends on the > resizeQuality of the image) in Bytes. > > It is the size of the image in Bytes when saved as part of the stack to > disk. > > So a valuable info. > But perhaps it could be called "sizeInStack"? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 22 04:06:37 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 22 Feb 2019 10:06:37 +0100 Subject: add file extension share for iOS app Message-ID: Hi, i don?t know if it is the correct expression in the topic. I need the possibility to share an email attachment on iOS with my iOS app. I want to be able to open a .txt file received by email on iOS with my installed app. Is there a way to do this with LC. Do i have to edit the plist file manually after creating the iOS app? And how does the app then takes notice of the file when the app is opened? Matthias From ludovic.thebault at laposte.net Fri Feb 22 05:01:22 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Fri, 22 Feb 2019 11:01:22 +0100 Subject: add file extension share for iOS app In-Reply-To: References: Message-ID: <292760F5-4A7E-47B2-B6F3-D2D3543C1397@laposte.net> > Le 22 f?vr. 2019 ? 10:06, Matthias Rebbe via use-livecode a ?crit : > > Hi, > > i don?t know if it is the correct expression in the topic. > > I need the possibility to share an email attachment on iOS with my iOS app. > I want to be able to open a .txt file received by email on iOS with my installed app. > Is there a way to do this with LC. Do i have to edit the plist file manually after creating the iOS app? > And how does the app then takes notice of the file when the app is opened? > > Matthias Hello, you need to create an iOS standalone, open the package (right clic on the icon) and copy the ? info.plist ? file to the desktop. Then add these lines in this files : ... CFBundlePackageType APPL ##### add these lines #### CFBundleDocumentTypes CFBundleTypeName XXXXXXX // name of your choice CFBundleTypeRole Viewer LSHandlerRank Owner LSItemContentTypes com.owner.nameoftheapp.xxx // exampe: com.microsoft.word.docx UTExportedTypeDeclarations UTTypeConformsTo public.plain-text public.text UTTypeDescription XXXXXXX // name of your choice UTTypeIdentifier com.owner.nameoftheapp // exampe: com.microsoft.word UTTypeTagSpecification public.filename-extension xxx // extension you want to handle ###### end ##### CFBundleSignature ???? Then, you need to add the info.plist to your app with the ? Copy file ? section of the Standalone builder. From hakan at exformedia.se Fri Feb 22 05:14:31 2019 From: hakan at exformedia.se (hakan at exformedia.se) Date: Fri, 22 Feb 2019 11:14:31 +0100 Subject: How to IMPORT CONTACTS and GPS location In-Reply-To: References: Message-ID: <6b4478a5-b7ec-42be-a878-282744716725@Spark> Take a look at mobileFindContact, mobileGetContact etc (search for contact) in the dictionary? Remember though that you will get a dialog asking the user for permission and if they reject you will not be able to grab anything! GPS is a system with satellites that your device can use to pin-point where it is on the globe (Global Positioning System), but I guess that you are asking for some geolocation based on an address. And yes you can do that via Google or any other provider of a map API. Do read the licensing careful as Google has limitations on how you can use the service and how much you need to pay (if you do a lot of lookups). To use The Google api you first need to get an API key. You then need to send that key together with every request: https://maps.googleapis.com/maps/api/geocode/json?address=empire+state+building+new+york&key=YOUR_API_KEY Another alternative is to use Open Street map. Take a look at: https://wiki.openstreetmap.org/wiki/Nominatim But if you are in a hurry the syntax is something like: https://nominatim.openstreetmap.org/?format=json&addressdetails=1&q=empire+state+building+new+york&format=json&limit=1 So to use that in your LiveCode application you can do function nomatimLookup pQuery ? ?put "https://nominatim.openstreetmap.org/?format=json&addressdetails=1&format=json&limit=1&q=" into tURL ? ?put textEncode(pQuery,"utf8") into pQuery ? ?replace space with "+" in pQuery ? ?put pQuery after tURL ? ?put url tURL into tResult ? ?return JSONToArray(tResult) // or jsonImport(tResult) end nomatimLookup This will return an array with data about the address and among those fields you find "lat" and "lon" for latitude and longitude if that was your GPS question... But before you start using it, also take a look at the usage policy for the api:?https://operations.osmfoundation.org/policies/nominatim/?and especially the requirements section! There are a lot of other api providers that you can use also, depending on your need. But this will hopefully get you started... Good Luck! H?kan Liljegren On 22 Feb 2019, 08:32 +0100, paolo mazza via use-livecode , wrote: > Dear LiveCoders, > I have not been using livecode for a while and do not know anymore > what are the features of Livecode today. > I would like to know > - if LiveCode can IMPORT THE CONTACTS from the Iphone and Android systems > - if it is possible to send an address to Google and get the GPS > location from a LiveCode app. > Best regards, > Paolo Mazza > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 22 06:05:40 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 22 Feb 2019 12:05:40 +0100 Subject: add file extension share for iOS app In-Reply-To: <292760F5-4A7E-47B2-B6F3-D2D3543C1397@laposte.net> References: <292760F5-4A7E-47B2-B6F3-D2D3543C1397@laposte.net> Message-ID: Ludovic, thank you very much. I will try today evening. But how will i handle the file in the App. Can i use the $1 variable for this like in the desktop apps? Or is there a special message that takes care of it? Matthias > Am 22.02.2019 um 11:01 schrieb Ludovic THEBAULT via use-livecode : > > >> Le 22 f?vr. 2019 ? 10:06, Matthias Rebbe via use-livecode a ?crit : >> >> Hi, >> >> i don?t know if it is the correct expression in the topic. >> >> I need the possibility to share an email attachment on iOS with my iOS app. >> I want to be able to open a .txt file received by email on iOS with my installed app. >> Is there a way to do this with LC. Do i have to edit the plist file manually after creating the iOS app? >> And how does the app then takes notice of the file when the app is opened? >> >> Matthias > > > Hello, you need to create an iOS standalone, open the package (right clic on the icon) and copy the ? info.plist ? file to the desktop. > Then add these lines in this files : > ... > CFBundlePackageType > APPL > ##### add these lines #### > CFBundleDocumentTypes > > > CFBundleTypeName > XXXXXXX // name of your choice > CFBundleTypeRole > Viewer > LSHandlerRank > Owner > LSItemContentTypes > > com.owner.nameoftheapp.xxx // exampe: com.microsoft.word.docx > > > > UTExportedTypeDeclarations > > > UTTypeConformsTo > > public.plain-text > public.text > > UTTypeDescription > XXXXXXX // name of your choice > UTTypeIdentifier > com.owner.nameoftheapp // exampe: com.microsoft.word > UTTypeTagSpecification > > public.filename-extension > xxx // extension you want to handle > > > > ###### end ##### > CFBundleSignature > ???? > > > Then, you need to add the info.plist to your app with the ? Copy file ? section of the Standalone builder. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hakan at exformedia.se Fri Feb 22 06:26:00 2019 From: hakan at exformedia.se (hakan at exformedia.se) Date: Fri, 22 Feb 2019 12:26:00 +0100 Subject: SVG widget and grab me command In-Reply-To: References: Message-ID: <95d1d450-d77f-419a-bc36-849c05bec418@Spark> Or you can use an image instead as they happily handle SVG files nowadays? :-H?kan On 21 Feb 2019, 18:18 +0100, Tore Nilsen via use-livecode , wrote: > > The simple solution was to ?group? each individual SVG widget and add the grab me command to the group. > From ludovic.thebault at laposte.net Fri Feb 22 06:52:24 2019 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Fri, 22 Feb 2019 12:52:24 +0100 Subject: add file extension share for iOS app In-Reply-To: References: <292760F5-4A7E-47B2-B6F3-D2D3543C1397@laposte.net> Message-ID: <4E5F21E5-1BEC-4027-B4FE-A14280447631@laposte.net> > Le 22 f?vr. 2019 ? 12:05, Matthias Rebbe via use-livecode a ?crit : > > Ludovic, > > thank you very much. I will try today evening. But how will i handle the file in the App. > Can i use the $1 variable for this like in the desktop apps? Or is there a special message that takes care of it? > You need to use urlwakeup. See http://forums.livecode.com/viewtopic.php?f=75&t=18775 From bobsneidar at iotecdigital.com Fri Feb 22 11:19:05 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 22 Feb 2019 16:19:05 +0000 Subject: Data grid : show an button in a column only if there is an email in other column In-Reply-To: <812C51CB-6446-46B4-866D-17A801144F96@laposte.net> References: <812C51CB-6446-46B4-866D-17A801144F96@laposte.net> Message-ID: <610A260A-15DC-4CE9-B127-57E86AD8CF82@iotecdigital.com> I believe this works this way because the fillInData message gets sent to the row group that is currently getting updated. Because of this, "me" refers to the current row group, nd btn "sendmail" of me refers to the specific instance of button "sendmail" in that group. Otherwise btn "sendmail" would simply refer to the first (of many) buttons named "sendmail". HTH Bob S > On Feb 20, 2019, at 10:06 , Ludovic via use-livecode wrote: > > I was not far away ! > > Thank you. > >> Le 20 f?vr. 2019 ? 17:58, zryip theSlug via use-livecode a ?crit : >> >> Ludovic, >> >> Try: >> >> on FillInData pData >> >> if pData["email"] <> "" then show btn "sendmail" of me >> >> else hide btn "sendmail" of me >> >> end FillInData From richmondmathewson at gmail.com Fri Feb 22 14:44:11 2019 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 22 Feb 2019 21:44:11 +0200 Subject: [ANN] Release 9.0.3 RC-1 In-Reply-To: References: Message-ID: This is lovely on macOS 10.14.4 beta 3, but I am a bit cheesed-off that the dictionary over on Linux STILL pops up in one's default browser *occluding* the IDE. Richmond. On 21.02.19 16:00, panagiotis merakos via use-livecode wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.0.3 RC-1. > > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > LiveCode 9.0.3 RC-1 comes with more than 60 bugfixes and new features. > Moreover, dozens of Dictionary entries have been corrected and enhanced. > > In addition, LiveCode 9.0.3 RC-1 includes: > > - support for building with Xcode 10.1, using iOS 12.1 SDK (this is now a > requirement for apps submitted to the AppStore, starting this March) > - new tsNet and mergExt builds > - updated SQLite lib, with support for URI filenames > > Known issues > ================ > - The Browser widget's native layer is not shown in some Linux distros with > Cinnamon window manager. > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > > The full release notes are available from: > > http://downloads.livecode.com/livecode/9_0_3/LiveCodeNotes-9_0_3_rc_1.pdf > > > Feedback > ======== > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at > http://forums.livecode.com/viewforum.php?f=93 > > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Feb 22 14:50:58 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 22 Feb 2019 19:50:58 +0000 Subject: [ANN] Release 9.0.3 RC-1 In-Reply-To: References: Message-ID: Sounds like you need a doctor! Bob S > On Feb 22, 2019, at 11:44 , Richmond via use-livecode wrote: > > This is lovely on macOS 10.14.4 beta 3, but I am a bit cheesed-off that > the dictionary over on Linux STILL pops up in one's default browser *occluding* the IDE. > > Richmond. From ambassador at fourthworld.com Fri Feb 22 17:43:09 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Feb 2019 14:43:09 -0800 Subject: [ANN] Release 9.0.3 RC-1 In-Reply-To: References: Message-ID: <09bab7ec-b702-a7ba-70f6-905e78fd3e5f@fourthworld.com> Richmond wrote: > This is lovely on macOS 10.14.4 beta 3, but I am a bit cheesed-off > that the dictionary over on Linux STILL pops up in one's default > browser *occluding* the IDE. 1. I don't think "occlude" means what you think it means. See H.W. Fowler, "Dictionary of Modern English Usage", section "Love of the long word". But seriously. I love that book. It's a hoot. (His chapter on split infinitives is even better.) 2. Did you read the Release Notes? This is a known issue, in development but not worth holding up other critical things folks are demanding. As it is for this preview release, the Dict opens in a separate window, much as it does in the IDE. That the window happens to be a separate process is a minor annoyance, and likely to few. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From irog at mac.com Fri Feb 22 18:44:06 2019 From: irog at mac.com (Roger Guay) Date: Fri, 22 Feb 2019 16:44:06 -0700 Subject: Preserving TabStops Message-ID: Is there a way to put fld ?Fld2" after fld ?Fld1? and preserve the TabStops of fld ?Fld2? ? Thanks very much, Roger From ambassador at fourthworld.com Fri Feb 22 19:18:42 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Feb 2019 16:18:42 -0800 Subject: Preserving TabStops In-Reply-To: References: Message-ID: <950b58b1-001f-8015-fa32-2cebc8a5ab14@fourthworld.com> Roger Guay wrote: > Is there a way to put fld ?Fld2" after fld ?Fld1? and preserve the > TabStops of fld ?Fld2? ? Like textFont and other attributes, tabStops can be applied to the field, or a paragraph within the field (v5.4 or later). So you should be able to get the tabstops of fld 2, put the text after fld 1, and then set the tabstops of the newly-added lines to the tabstops you'd obtained from fld 2. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From irog at mac.com Fri Feb 22 21:05:48 2019 From: irog at mac.com (Roger Guay) Date: Fri, 22 Feb 2019 19:05:48 -0700 Subject: Preserving TabStops In-Reply-To: <950b58b1-001f-8015-fa32-2cebc8a5ab14@fourthworld.com> References: <950b58b1-001f-8015-fa32-2cebc8a5ab14@fourthworld.com> Message-ID: <37684069-BEEB-4F6E-BD6A-642E9F107A42@mac.com> Thank you, Richard. That?s what I am doing and was hoping there was a more elegant and efficient way of doing it. Cheer! Roger > On Feb 22, 2019, at 5:18 PM, Richard Gaskin via use-livecode wrote: > > Roger Guay wrote: > > > Is there a way to put fld ?Fld2" after fld ?Fld1? and preserve the > > TabStops of fld ?Fld2? ? > > Like textFont and other attributes, tabStops can be applied to the field, or a paragraph within the field (v5.4 or later). > > So you should be able to get the tabstops of fld 2, put the text after fld 1, and then set the tabstops of the newly-added lines to the tabstops you'd obtained from fld 2. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Feb 22 22:51:17 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 23 Feb 2019 03:51:17 +0000 Subject: Livecode with Window 7 In-Reply-To: References: Message-ID: <67037CAB-73B0-48A8-9926-AAEEC4482B68@hindu.org> Richard, good advice! Brahmanathaswami ?On 2/20/19, 9:20 AM, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: Best to proceed as though the machine is compromised. It may not be, but eight years without updates is dangerously long so better to err on the side of prudence: Deliver no software that provides uploads to your systems unless you have high confidence all inputs are thoroughly sanitized. From jjs at krutt.org Sat Feb 23 13:09:04 2019 From: jjs at krutt.org (JJS) Date: Sat, 23 Feb 2019 19:09:04 +0100 Subject: Colorizing line only works once? Message-ID: <4a6f4732-98e4-d82f-3325-0d66b4cc4691@krutt.org> Hello, i used this lesson: http://lessons.livecode.com/m/datagrid/l/7332-how-can-i-colorize-individual-lines-in-a-table to colorize a few lines in my DG. When in one column the value is 1 then the line stays black, when it is a 2 the line becomes red. Now it just works :)...but only 1 time. After repopulating the DG with stuff from an other category it does not do it although the same sequence is being done. It only does it again when i reload the stack in the IDE. Any idea what i can do? Refresh index or line does not help Thanks for any help. Jerry From jjs at krutt.org Sun Feb 24 06:46:36 2019 From: jjs at krutt.org (JJS) Date: Sun, 24 Feb 2019 12:46:36 +0100 Subject: Colorizing line only works once? In-Reply-To: <4a6f4732-98e4-d82f-3325-0d66b4cc4691@krutt.org> References: <4a6f4732-98e4-d82f-3325-0d66b4cc4691@krutt.org> Message-ID: Just did some tests. with the test stack from the lesson and with my own stack It seems there is something strange with my indexes. I would think that if a DG is emptied and then filled again that the index would start at 0 or 1 again. It seems not the case and i see random numbers so i have to figure out why this is happening Op 23-2-2019 om 19:09 schreef JJS via use-livecode: > Hello, > > > i used this lesson: > http://lessons.livecode.com/m/datagrid/l/7332-how-can-i-colorize-individual-lines-in-a-table > > to colorize a few lines in my DG. When in one column the value is 1 > then the line stays black, when it is a 2 the line becomes red. > > Now it just works :)...but only 1 time. > > > After repopulating the DG with stuff from an other category it does > not do it although the same sequence is being done. > > It only does it again when i reload the stack in the IDE. > > > Any idea what i can do? > > Refresh index or line does not help > > > Thanks for any help. > > > Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Sun Feb 24 13:38:39 2019 From: david.bovill at gmail.com (David Bovill) Date: Sun, 24 Feb 2019 18:38:39 +0000 Subject: Understanding LLVM bytecode export? In-Reply-To: References: <562BAD62.5020004@fourthworld.com> <7461D6A0-32CD-4920-BCAE-57654B67F818@livecode.com> <31c6f306edadde31367bf8a4d30b40fb@livecode.com> <78FC0ECB-4DA0-4DC3-A33C-9C0B295DA1B1@sweattechnologies.com> <9F6C9114-EBF1-47A6-B77E-6496D1EEB1E3@sweattechnologies.com> Message-ID: I understand that Livecode uses the LLVM compiler infrastructure to create llvm bytecode that for instance emscripten can use to transpile to javascript. I'm wandering if it is possible to do things like: - Export the server engine to llvm bytecode? - Take a some livecode script, do some tree shaking and get some nice compact bytecode export that uses only the bits needed by the livecode script? Is any of this possible now, is it planned for or looks like it may be possible in the nearish future / next couple of years? From jjs at krutt.org Mon Feb 25 06:23:29 2019 From: jjs at krutt.org (jjs at krutt.org) Date: Mon, 25 Feb 2019 11:23:29 +0000 Subject: Colorizing line only works once? In-Reply-To: References: <4a6f4732-98e4-d82f-3325-0d66b4cc4691@krutt.org> Message-ID: <06f556d9aaaba736555eacd58eedaa23@krutt.org> Solved it another way which also perfectly fits the idea by following this: https://forums.livecode.com/viewtopic.php?t=13025#p62226 Thanks to Sri. JJS via use-livecode schreef op 2019-02-24 11:46: > Just did some tests. with the test stack from the lesson and with my > own stack > > It seems there is something strange with my indexes. > > I would think that if a DG is emptied and then filled again that the > index would start at 0 or 1 again. > > It seems not the case and i see random numbers > > so i have to figure out why this is happening > > > Op 23-2-2019 om 19:09 schreef JJS via use-livecode: >> Hello, >> >> >> i used this lesson: >> http://lessons.livecode.com/m/datagrid/l/7332-how-can-i-colorize-individual-lines-in-a-table >> >> to colorize a few lines in my DG. When in one column the value is 1 >> then the line stays black, when it is a 2 the line becomes red. >> >> Now it just works :)...but only 1 time. >> >> >> After repopulating the DG with stuff from an other category it does >> not do it although the same sequence is being done. >> >> It only does it again when i reload the stack in the IDE. >> >> >> Any idea what i can do? >> >> Refresh index or line does not help >> >> >> Thanks for any help. >> >> >> Jerry >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alain.vezina at logilangue.com Mon Feb 25 09:50:16 2019 From: alain.vezina at logilangue.com (Alain Vezina) Date: Mon, 25 Feb 2019 09:50:16 -0500 Subject: LC 9.0.2 and HTML5 Message-ID: Hi all, I tested one of my applications with Safari 12.0 and when it loaded an HTML page i received this message : err #3 enlarged memory arrays from 67108864 to 134217728, took 87 ms (has ArrayBuffer.transfer? false) This application works very well on OS 10.12.6, on iOS 10.3.3 and on Android What can I do to fix this problem? From panos.merakos at livecode.com Mon Feb 25 10:08:06 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 25 Feb 2019 17:08:06 +0200 Subject: [ANN] This Week in LiveCode 169 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #169 here: https://goo.gl/oZDKgj This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From bobsneidar at iotecdigital.com Mon Feb 25 10:43:18 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 25 Feb 2019 15:43:18 +0000 Subject: Colorizing line only works once? In-Reply-To: References: <4a6f4732-98e4-d82f-3325-0d66b4cc4691@krutt.org> Message-ID: <4D8F9FB2-EE4F-4E57-9F49-F59C1EF98EB5@iotecdigital.com> If the datagrid is sorted differently than the order the data is in, you may get that. I ran into this in the past I think. Bob S > On Feb 24, 2019, at 03:46 , JJS via use-livecode wrote: > > Just did some tests. with the test stack from the lesson and with my own stack > > It seems there is something strange with my indexes. > > I would think that if a DG is emptied and then filled again that the index would start at 0 or 1 again. > > It seems not the case and i see random numbers > > so i have to figure out why this is happening From tom at makeshyft.com Mon Feb 25 11:03:52 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 25 Feb 2019 11:03:52 -0500 Subject: Colorizing line only works once? In-Reply-To: <4D8F9FB2-EE4F-4E57-9F49-F59C1EF98EB5@iotecdigital.com> References: <4a6f4732-98e4-d82f-3325-0d66b4cc4691@krutt.org> <4D8F9FB2-EE4F-4E57-9F49-F59C1EF98EB5@iotecdigital.com> Message-ID: i have no idea why this is happening, but I do a lot of work with data grids....and the rows in a grid are self referenced, so its unlikely to be a bug in the grid. - dgline and dgindex are different, and as bob said, when the sort is on, you have to work with dglines. - rows are cached and must be refreshed (make sure you set the controls of each row and not assume that the default row state is what will show up) - remember to use the "of me" syntax with every change you make to the controls of each row It is likely to turn out a bug in your code ...... so thats the good part. Good luck, let us know On Mon, Feb 25, 2019 at 10:43 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > If the datagrid is sorted differently than the order the data is in, you > may get that. I ran into this in the past I think. > > Bob S > > > > On Feb 24, 2019, at 03:46 , JJS via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Just did some tests. with the test stack from the lesson and with my own > stack > > > > It seems there is something strange with my indexes. > > > > I would think that if a DG is emptied and then filled again that the > index would start at 0 or 1 again. > > > > It seems not the case and i see random numbers > > > > so i have to figure out why this is happening > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 25 11:25:22 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 25 Feb 2019 16:25:22 +0000 Subject: Colorizing line only works once? In-Reply-To: References: <4a6f4732-98e4-d82f-3325-0d66b4cc4691@krutt.org> <4D8F9FB2-EE4F-4E57-9F49-F59C1EF98EB5@iotecdigital.com> Message-ID: <1462A027-DEA0-459A-B201-8E7177252448@iotecdigital.com> > On Feb 25, 2019, at 08:03 , Tom Glod via use-livecode wrote: > > - dgline and dgindex are different, and as bob said, when the sort is > on, you have to work with dglines. Yes, lines will reorder according to their visible order, indexes will maintain their values persistent through a sort. This is a mixed blessing. Let's say you get the dgHilitedLine of a datagrid, then wait for the user to do something with the data. In the interim the user resorts the datagrid! Now when you go to SET the dgHilitedLine, it's no longer the same data! I always use dgHilitedIndex for this reason. The only reason you need dgHilitedLine is when you MUST process the data in the visible order. For instance if I delete a row, and I want to automatically hilite the prior row, I need to use the dgHilitedLine -1. > - remember to use the "of me" syntax with every change you make to the > controls of each row As mentioned in another recent post, "of me" is necessary because each line of a datagrid has a set of controls for each row named the same as every other row. While this is allowed in Livecode (I never understood why) it means that referencing a specific copy of a control requires you also reference the row group it belongs to. I suspect these messages get sent to the row group specifically so that LC can reference the specific control for a given row. Bob S From jjs at krutt.org Mon Feb 25 13:03:20 2019 From: jjs at krutt.org (JJS) Date: Mon, 25 Feb 2019 19:03:20 +0100 Subject: [Solved] Colorizing line only works once? In-Reply-To: <1462A027-DEA0-459A-B201-8E7177252448@iotecdigital.com> References: <4a6f4732-98e4-d82f-3325-0d66b4cc4691@krutt.org> <4D8F9FB2-EE4F-4E57-9F49-F59C1EF98EB5@iotecdigital.com> <1462A027-DEA0-459A-B201-8E7177252448@iotecdigital.com> Message-ID: <9047e1b1-964f-5de8-c459-ca10c7327e83@krutt.org> Thanks GUys. Yes it was probably something with sorting. Strange also was that after a few times another row got red then the one which was hilited. So i don't know why. Yes i use the "of me" whenever the script is in the dg itself. But sometimes i need to command it from outside the dg. I removed what i was working on as it costed me too much time, and did the other option, as i mentioned in another post. So now the background of a ceel of a column is turning red, which is even nicer as it draws more attention. So thanks for your suggestions! Regards, Jerry Op 25-2-2019 om 17:25 schreef Bob Sneidar via use-livecode: >> On Feb 25, 2019, at 08:03 , Tom Glod via use-livecode wrote: >> >> - dgline and dgindex are different, and as bob said, when the sort is >> on, you have to work with dglines. > Yes, lines will reorder according to their visible order, indexes will maintain their values persistent through a sort. > > This is a mixed blessing. Let's say you get the dgHilitedLine of a datagrid, then wait for the user to do something with the data. In the interim the user resorts the datagrid! Now when you go to SET the dgHilitedLine, it's no longer the same data! > > I always use dgHilitedIndex for this reason. The only reason you need dgHilitedLine is when you MUST process the data in the visible order. For instance if I delete a row, and I want to automatically hilite the prior row, I need to use the dgHilitedLine -1. > >> - remember to use the "of me" syntax with every change you make to the >> controls of each row > As mentioned in another recent post, "of me" is necessary because each line of a datagrid has a set of controls for each row named the same as every other row. While this is allowed in Livecode (I never understood why) it means that referencing a specific copy of a control requires you also reference the row group it belongs to. I suspect these messages get sent to the row group specifically so that LC can reference the specific control for a given row. > > 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 jacque at hyperactivesw.com Mon Feb 25 14:43:31 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Feb 2019 13:43:31 -0600 Subject: [ANN] Release 9.0.3 RC-1 In-Reply-To: References: Message-ID: On 2/21/19 8:00 AM, panagiotis merakos via use-livecode wrote: > We are pleased to announce the release of LiveCode 9.0.3 RC-1. I was hoping the strange problems would diminish with this release but I lasted about 5 minutes before I had to quit and return to an earlier version. I'm not sure how anyone can trace this, but thought I'd just post what the circumstances were. Maybe someone will find a commonality in their experience. I'm working on a splash app that opens a separate mainstack, call it StackA. The script of the app stack is inserted into the back. I was debugging a handler on a card in StackA. The script editor was open and a red-dot breakpoint was set. I called the handler from the message box. -> Can't find handler The message box indicated that StackA was the target stack, and typing "the defaultstack" in the message box also returned "StackA" Repeated the message box call. -> Can't find handler. Used the keyboard shortcut to summon the contextual menu and send the handler name's message to the card. -> Works. Handler runs. Stops at breakpoint. I immediately saw a problem and aborted the handler in the middle. Made some corrections and applied the script. Called the handler from the message box. -> Can't find handler. Tried the contextual menu -> No response, no menu Tried "edit script of this cd" -> No response Tried "edit script of this cd of stack "StackA" -> no response Use keyboard shortcut to switch to Edit tool -> no response Tried clicking the Edit tool on the palette -> hilites, returns to browse tool Repeated Edit tool selection from tools palette -> hilites, returns to browse tool, but now I see it actually did choose the edit tool. I see arrow-with-cross cursor. Double-click a field just to test -> no response Type in msg box: there is a fld "blah" -> true Use Application Browser to get the field property inspector -> works Click the Script button in property inspector -> no response At this point I know I'm a hair's breadth away from a crash, so I quit and return to LC 9.0.2 where this happens frequently but not quite as soon. Anyone have anything in common with this sequence? I don't know what triggers it, but the symptoms are usually the same: loss of keyboard control, inability to find the current stack or card (although the message box knows what it is,) inability to select or edit objects except via Application Browser, and eventually a crash if you persist long enough. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Feb 25 21:17:56 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Feb 2019 20:17:56 -0600 Subject: [ANN] Release 9.0.3 RC-1 In-Reply-To: References: Message-ID: Just an update. I relaunched and have been working fine in 9.0.3 for several hours now. I'm at a loss to explain it. On 2/25/19 1:43 PM, J. Landman Gay via use-livecode wrote: > On 2/21/19 8:00 AM, panagiotis merakos via use-livecode wrote: >> We are pleased to announce the release of LiveCode 9.0.3 RC-1. > > I was hoping the strange problems would diminish with this release but I > lasted about 5 minutes before I had to quit and return to an earlier > version. I'm not sure how anyone can trace this, but thought I'd just > post what the circumstances were. Maybe someone will find a commonality > in their experience. > > I'm working on a splash app that opens a separate mainstack, call it > StackA. The script of the app stack is inserted into the back. I was > debugging a handler on a card in StackA. The script editor was open and > a red-dot breakpoint was set. > > I called the handler from the message box. -> Can't find handler > The message box indicated that StackA was the target stack, and typing > "the defaultstack" in the message box also returned "StackA" > > Repeated the message box call. -> Can't find handler. > > Used the keyboard shortcut to summon the contextual menu and send the > handler name's message to the card. -> Works. Handler runs. Stops at > breakpoint. > > I immediately saw a problem and aborted the handler in the middle. Made > some corrections and applied the script. > > Called the handler from the message box. -> Can't find handler. > Tried the contextual menu -> No response, no menu > Tried "edit script of this cd" -> No response > Tried "edit script of this cd of stack "StackA" -> no response > Use keyboard shortcut to switch to Edit tool -> no response > Tried clicking the Edit tool on the palette -> hilites, returns to > browse tool > Repeated Edit tool selection from tools palette -> hilites, returns to > browse tool, but now I see it actually did choose the edit tool. I see > arrow-with-cross cursor. > Double-click a field just to test -> no response > Type in msg box: there is a fld "blah" -> true > Use Application Browser to get the field property inspector -> works > Click the Script button in property inspector -> no response > > At this point I know I'm a hair's breadth away from a crash, so I quit > and return to LC 9.0.2 where this happens frequently but not quite as soon. > > Anyone have anything in common with this sequence? I don't know what > triggers it, but the symptoms are usually the same: loss of keyboard > control, inability to find the current stack or card (although the > message box knows what it is,) inability to select or edit objects > except via Application Browser, and eventually a crash if you persist > long enough. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terry.judd at unimelb.edu.au Mon Feb 25 21:43:51 2019 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 26 Feb 2019 02:43:51 +0000 Subject: [ANN] Release 9.0.3 RC-1 In-Reply-To: References: Message-ID: FWIW I've seen similar issues to this going back a while (I'm on MacOS but not sure what LC versions were involved). No recipe that I could find but restarting LC generally got things moving again. Terry... On 26/2/19, 1:19 pm, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: Just an update. I relaunched and have been working fine in 9.0.3 for several hours now. I'm at a loss to explain it. On 2/25/19 1:43 PM, J. Landman Gay via use-livecode wrote: > On 2/21/19 8:00 AM, panagiotis merakos via use-livecode wrote: >> We are pleased to announce the release of LiveCode 9.0.3 RC-1. > > I was hoping the strange problems would diminish with this release but I > lasted about 5 minutes before I had to quit and return to an earlier > version. I'm not sure how anyone can trace this, but thought I'd just > post what the circumstances were. Maybe someone will find a commonality > in their experience. > > I'm working on a splash app that opens a separate mainstack, call it > StackA. The script of the app stack is inserted into the back. I was > debugging a handler on a card in StackA. The script editor was open and > a red-dot breakpoint was set. > > I called the handler from the message box. -> Can't find handler > The message box indicated that StackA was the target stack, and typing > "the defaultstack" in the message box also returned "StackA" > > Repeated the message box call. -> Can't find handler. > > Used the keyboard shortcut to summon the contextual menu and send the > handler name's message to the card. -> Works. Handler runs. Stops at > breakpoint. > > I immediately saw a problem and aborted the handler in the middle. Made > some corrections and applied the script. > > Called the handler from the message box. -> Can't find handler. > Tried the contextual menu -> No response, no menu > Tried "edit script of this cd" -> No response > Tried "edit script of this cd of stack "StackA" -> no response > Use keyboard shortcut to switch to Edit tool -> no response > Tried clicking the Edit tool on the palette -> hilites, returns to > browse tool > Repeated Edit tool selection from tools palette -> hilites, returns to > browse tool, but now I see it actually did choose the edit tool. I see > arrow-with-cross cursor. > Double-click a field just to test -> no response > Type in msg box: there is a fld "blah" -> true > Use Application Browser to get the field property inspector -> works > Click the Script button in property inspector -> no response > > At this point I know I'm a hair's breadth away from a crash, so I quit > and return to LC 9.0.2 where this happens frequently but not quite as soon. > > Anyone have anything in common with this sequence? I don't know what > triggers it, but the symptoms are usually the same: loss of keyboard > control, inability to find the current stack or card (although the > message box knows what it is,) inability to select or edit objects > except via Application Browser, and eventually a crash if you persist > long enough. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Feb 26 04:34:49 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 26 Feb 2019 10:34:49 +0100 Subject: [ANN] Release 9.0.3 RC-1 - Plugins are listed in PB after loading a stack In-Reply-To: References: Message-ID: <31A05DCA-57E4-41A9-8E58-87FA1EA6C034@m-r-d.de> Hi, something strange here with 9.0.3 RC-1 on Mac OS X. After a fresh start of the IDE the Project Browser shows no stack. So that is okay, as the option 'Show IDE stacks in list' is disabled. When creating a new stack the PB just shows that stack. So that is also okay. But after opening an existing stack, the PB lists not only that stack, but many of my Plugins, although they are configured to be opened by the plugin menu, and none of the IDE stacks is listed, just plugins. I?v upload a screenshot of the listed plugins to my Droplr account: http://d.qck.biz/nzebFW The openstacks function just returns Message Box revNewScriptEditor 1 Untitled 1 - my newly created stack revTools revDictionary revMenuBar revIDEProjectBrowser mrPreis - my loaded stack com.livecode.palette.autocomplete.completions but none of the listed plugin This happens as soon as i load an existing stack. Was there a change in the plugin handling in LC 9.0.3? Should i report this as a bug? Matthias Matthias Rebbe Tel +49 5741 310000 ?https://matthiasrebbe.eu ? > Am 21.02.2019 um 15:00 schrieb panagiotis merakos via use-livecode >: > > Dear list members, > > We are pleased to announce the release of LiveCode 9.0.3 RC-1. > > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > LiveCode 9.0.3 RC-1 comes with more than 60 bugfixes and new features. > Moreover, dozens of Dictionary entries have been corrected and enhanced. > > In addition, LiveCode 9.0.3 RC-1 includes: > > - support for building with Xcode 10.1, using iOS 12.1 SDK (this is now a > requirement for apps submitted to the AppStore, starting this March) > - new tsNet and mergExt builds > - updated SQLite lib, with support for URI filenames > > Known issues > ================ > - The Browser widget's native layer is not shown in some Linux distros with > Cinnamon window manager. > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > > The full release notes are available from: > > http://downloads.livecode.com/livecode/9_0_3/LiveCodeNotes-9_0_3_rc_1.pdf > > > Feedback > ======== > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at > http://forums.livecode.com/viewforum.php?f=93 > > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From merakosp at gmail.com Tue Feb 26 04:58:01 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 26 Feb 2019 11:58:01 +0200 Subject: [ANN] Release 9.0.3 RC-1 - Plugins are listed in PB after loading a stack In-Reply-To: <31A05DCA-57E4-41A9-8E58-87FA1EA6C034@m-r-d.de> References: <31A05DCA-57E4-41A9-8E58-87FA1EA6C034@m-r-d.de> Message-ID: Hello Matthias, This is probably caused by this change: https://github.com/livecode/livecode-ide/pull/2011/files When the name of a stack is referenced (in this case "tLine"), LC loads the stack into memory. Note that this does not mean the stack is open, so it does not appear in the openStacks. >>>>>>Should i report this as a bug? This is a change in behavior, but I am not 100% sure if this is a bug, so yes please, if you don't mind file a bug so as we discuss it with the team. Kind regards, Panos -- On Tue, Feb 26, 2019 at 11:35 AM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > > something strange here with 9.0.3 RC-1 on Mac OS X. > > After a fresh start of the IDE the Project Browser shows no stack. So > that is okay, as the option 'Show IDE stacks in list' is disabled. > > When creating a new stack the PB just shows that stack. So that is also > okay. > > But after opening an existing stack, the PB lists not only that stack, but > many of my Plugins, although they are configured to be opened by the plugin > menu, and none of the IDE stacks is listed, just plugins. I?v upload a > screenshot of the listed plugins to my Droplr account: > http://d.qck.biz/nzebFW > > The openstacks function just returns > > Message Box > revNewScriptEditor 1 > Untitled 1 - my newly created stack > revTools > revDictionary > revMenuBar > revIDEProjectBrowser > mrPreis - my loaded stack > com.livecode.palette.autocomplete.completions > > but none of the listed plugin > > This happens as soon as i load an existing stack. > > Was there a change in the plugin handling in LC 9.0.3? > > Should i report this as a bug? > > Matthias > > > > > Matthias Rebbe > Tel +49 5741 310000 > ?https://matthiasrebbe.eu ? > > > Am 21.02.2019 um 15:00 schrieb panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com >: > > > > Dear list members, > > > > We are pleased to announce the release of LiveCode 9.0.3 RC-1. > > > > > > Getting the Release > > =================== > > You can get the release at https://downloads.livecode.com/livecode/ < > https://downloads.livecode.com/livecode/> or via > > the automatic updater. > > > > > > Release Contents > > ================ > > LiveCode 9.0.3 RC-1 comes with more than 60 bugfixes and new features. > > Moreover, dozens of Dictionary entries have been corrected and enhanced. > > > > In addition, LiveCode 9.0.3 RC-1 includes: > > > > - support for building with Xcode 10.1, using iOS 12.1 SDK (this is now a > > requirement for apps submitted to the AppStore, starting this March) > > - new tsNet and mergExt builds > > - updated SQLite lib, with support for URI filenames > > > > Known issues > > ================ > > - The Browser widget's native layer is not shown in some Linux distros > with > > Cinnamon window manager. > > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit > LTS > > yet. > > > > The full release notes are available from: > > > > > http://downloads.livecode.com/livecode/9_0_3/LiveCodeNotes-9_0_3_rc_1.pdf > > > > > > > > Feedback > > ======== > > Please report any bugs encountered on our BugZilla at > > http://quality.livecode.com/ > > > > We have a forum available for discussing LiveCode Builder at > > http://forums.livecode.com/viewforum.php?f=93 < > http://forums.livecode.com/viewforum.php?f=93> > > > > > > Have fun! > > The LiveCode Team > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Feb 26 05:11:51 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 26 Feb 2019 11:11:51 +0100 Subject: [ANN] Release 9.0.3 RC-1 - Plugins are listed in PB after loading a stack In-Reply-To: References: <31A05DCA-57E4-41A9-8E58-87FA1EA6C034@m-r-d.de> Message-ID: Hi Panos, see here Bug?21856 Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 26.02.2019 um 10:58 schrieb panagiotis merakos via use-livecode >: > > Hello Matthias, > > This is probably caused by this change: > > https://github.com/livecode/livecode-ide/pull/2011/files > > When the name of a stack is referenced (in this case "tLine"), LC loads the > stack into memory. Note that this does not mean the stack is open, so it > does not appear in the openStacks. > >>>>>>> Should i report this as a bug? > > This is a change in behavior, but I am not 100% sure if this is a bug, so > yes please, if you don't mind file a bug so as we discuss it with the team. > > Kind regards, > Panos > -- > > > On Tue, Feb 26, 2019 at 11:35 AM Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com > wrote: > >> Hi, >> >> something strange here with 9.0.3 RC-1 on Mac OS X. >> >> After a fresh start of the IDE the Project Browser shows no stack. So >> that is okay, as the option 'Show IDE stacks in list' is disabled. >> >> When creating a new stack the PB just shows that stack. So that is also >> okay. >> >> But after opening an existing stack, the PB lists not only that stack, but >> many of my Plugins, although they are configured to be opened by the plugin >> menu, and none of the IDE stacks is listed, just plugins. I?v upload a >> screenshot of the listed plugins to my Droplr account: >> http://d.qck.biz/nzebFW > >> >> The openstacks function just returns >> >> Message Box >> revNewScriptEditor 1 >> Untitled 1 - my newly created stack >> revTools >> revDictionary >> revMenuBar >> revIDEProjectBrowser >> mrPreis - my loaded stack >> com.livecode.palette.autocomplete.completions >> >> but none of the listed plugin >> >> This happens as soon as i load an existing stack. >> >> Was there a change in the plugin handling in LC 9.0.3? >> >> Should i report this as a bug? From merakosp at gmail.com Tue Feb 26 05:15:11 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 26 Feb 2019 12:15:11 +0200 Subject: [ANN] Release 9.0.3 RC-1 - Plugins are listed in PB after loading a stack In-Reply-To: References: <31A05DCA-57E4-41A9-8E58-87FA1EA6C034@m-r-d.de> Message-ID: Thanks Matthias :) Panos -- On Tue, Feb 26, 2019 at 12:12 PM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > see here Bug 21856 > > Regards, > > Matthias > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > > > Am 26.02.2019 um 10:58 schrieb panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com >: > > > > Hello Matthias, > > > > This is probably caused by this change: > > > > https://github.com/livecode/livecode-ide/pull/2011/files < > https://github.com/livecode/livecode-ide/pull/2011/files> > > > > When the name of a stack is referenced (in this case "tLine"), LC loads > the > > stack into memory. Note that this does not mean the stack is open, so it > > does not appear in the openStacks. > > > >>>>>>> Should i report this as a bug? > > > > This is a change in behavior, but I am not 100% sure if this is a bug, so > > yes please, if you don't mind file a bug so as we discuss it with the > team. > > > > Kind regards, > > Panos > > -- > > > > > > On Tue, Feb 26, 2019 at 11:35 AM Matthias Rebbe via use-livecode < > > use-livecode at lists.runrev.com > > wrote: > > > >> Hi, > >> > >> something strange here with 9.0.3 RC-1 on Mac OS X. > >> > >> After a fresh start of the IDE the Project Browser shows no stack. So > >> that is okay, as the option 'Show IDE stacks in list' is disabled. > >> > >> When creating a new stack the PB just shows that stack. So that is also > >> okay. > >> > >> But after opening an existing stack, the PB lists not only that stack, > but > >> many of my Plugins, although they are configured to be opened by the > plugin > >> menu, and none of the IDE stacks is listed, just plugins. I?v upload a > >> screenshot of the listed plugins to my Droplr account: > >> http://d.qck.biz/nzebFW < > http://d.qck.biz/nzebFW > > >> > >> The openstacks function just returns > >> > >> Message Box > >> revNewScriptEditor 1 > >> Untitled 1 - my newly created stack > >> revTools > >> revDictionary > >> revMenuBar > >> revIDEProjectBrowser > >> mrPreis - my loaded stack > >> com.livecode.palette.autocomplete.completions > >> > >> but none of the listed plugin > >> > >> This happens as soon as i load an existing stack. > >> > >> Was there a change in the plugin handling in LC 9.0.3? > >> > >> Should i report this as a bug? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Feb 26 05:23:50 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 26 Feb 2019 11:23:50 +0100 Subject: [ANN] Release 9.0.3 RC-1 - Plugins are listed in PB after loading a stack In-Reply-To: <51754515-4C62-4D1A-A31A-151A49ACB6B6@m-r-d.de> References: <31A05DCA-57E4-41A9-8E58-87FA1EA6C034@m-r-d.de> <51754515-4C62-4D1A-A31A-151A49ACB6B6@m-r-d.de> Message-ID: <2460952D-C1A0-48BB-9B67-A99E09E66D8B@m-r-d.de> Panos, i?ve added a comment to my bug. I?ve reverted revStartCenterBehavior.livecodesript to its previous version and tested. The behaviour does not show up after that. So it seems the bug is related to your mentioned change. At least i can use 9.0.3 now. ;) Regards, Matthias > Am 26.02.2019 um 11:04 schrieb Matthias Rebbe >: > > Hi Panos, > > see here Bug?21856 > > Regards, > > Matthias > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > >> Am 26.02.2019 um 10:58 schrieb panagiotis merakos via use-livecode >: >> >> Hello Matthias, >> >> This is probably caused by this change: >> >> https://github.com/livecode/livecode-ide/pull/2011/files >> >> When the name of a stack is referenced (in this case "tLine"), LC loads the >> stack into memory. Note that this does not mean the stack is open, so it >> does not appear in the openStacks. From smk at anvic.net Tue Feb 26 07:39:55 2019 From: smk at anvic.net (Simon Knight) Date: Tue, 26 Feb 2019 12:39:55 +0000 Subject: Format text data records for processing in Livecode Message-ID: Hi, I have written an Applescript that reads the headers and contents of selected emails in Apple Mail. I am trying to decide to simplest method of importing this data into Livecode to allow it to be sorted and formatted etc. Each email is a record with a number of fields the largest field is the contents of the email and this may contain quotes, tabs and other characters. I aim to do the minimum in Applecript so I don?t wish to process the data but I can use any output format that I devise. A record contains the following fields : DateSent; From; To; Subject and Content Any ideas on a simple methodology of how to format the data so that it is simple to process using Livecode?s chunk expressions? best wishes Simon From dunbarx at aol.com Tue Feb 26 10:58:14 2019 From: dunbarx at aol.com (dunbarxx) Date: Tue, 26 Feb 2019 09:58:14 -0600 (CST) Subject: Format text data records for processing in Livecode In-Reply-To: References: Message-ID: <1551196694247-0.post@n4.nabble.com> Hi. Since you may have any number and kind of characters in any of the fields in each record, I would append a character that is unlikely ever to appear in any context. I like numToChar(202), but others like numToChar(3) or numtoChar(8). Then you can set the itemDelimiter to that char, and be sure that you are parsing the totality of each field within any record. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From rdimola at evergreeninfo.net Tue Feb 26 12:44:02 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 26 Feb 2019 12:44:02 -0500 Subject: Format text data records for processing in Livecode In-Reply-To: <1551196694247-0.post@n4.nabble.com> References: <1551196694247-0.post@n4.nabble.com> Message-ID: <004001d4cdfa$e02fe3e0$a08faba0$@net> Option 2: The item delimiter can be multiple characters so you can set it to something that would never likely be in the text. Example: Set the itemdel to "" 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 dunbarxx via use-livecode Sent: Tuesday, February 26, 2019 10:58 AM To: use-revolution at lists.runrev.com Cc: dunbarxx Subject: Re: Format text data records for processing in Livecode Hi. Since you may have any number and kind of characters in any of the fields in each record, I would append a character that is unlikely ever to appear in any context. I like numToChar(202), but others like numToChar(3) or numtoChar(8). Then you can set the itemDelimiter to that char, and be sure that you are parsing the totality of each field within any record. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Feb 26 12:56:03 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 26 Feb 2019 09:56:03 -0800 Subject: [ANN] Release 9.0.3 RC-1 - Plugins are listed in PB after loading a stack In-Reply-To: References: <31A05DCA-57E4-41A9-8E58-87FA1EA6C034@m-r-d.de> Message-ID: On 2/26/19 1:58 AM, panagiotis merakos via use-livecode wrote: > Hello Matthias, > > This is probably caused by this change: > > https://github.com/livecode/livecode-ide/pull/2011/files Semi-unrelated issue: is there any reason not to sort tFinal at the end of revIDEGetAllPlugins? That would allow for an ordered loading of plugins based on their names, vs the random order now. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Tue Feb 26 13:17:00 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 26 Feb 2019 10:17:00 -0800 Subject: Bay Area Maker Faire In-Reply-To: <008401d4c243$b5fde620$21f9b260$@net> References: <008401d4c243$b5fde620$21f9b260$@net> Message-ID: <992a0b34-bffd-c4b1-8adf-6746e551bf78@sonic.net> On 2/11/19 11:55 AM, Ralph DiMola via use-livecode wrote: > Hotel Clariana. It looks to be 2 blocks from the theater. No legend on the > map so I don't actually know how long those blocks are. Ha! Corner me at the conference (especially after a couple of beers) and I'll tell you a story about how long blocks are. -- Mark Wieder ahsoftware at gmail.com From rdimola at evergreeninfo.net Tue Feb 26 13:34:30 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 26 Feb 2019 13:34:30 -0500 Subject: [ANN] Release 9.0.3 RC-1 - Plugins are listed in PB after loading a stack In-Reply-To: References: <31A05DCA-57E4-41A9-8E58-87FA1EA6C034@m-r-d.de> Message-ID: <004c01d4ce01$ec6b6f60$c5424e20$@net> A couple of things, I have seen JLG's problems now and again after terminating a script while debugging. I solved my weird message box behavior by commenting out the preopenstack handler(below) in my library stacks. These have been in my library stack since v4.6. I wonder why it's causing such crazy problems now? On preopenstack start using this stack set the randomSeed to the seconds end preopenstack Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Wieder via use-livecode Sent: Tuesday, February 26, 2019 12:56 PM To: panagiotis merakos via use-livecode Cc: Mark Wieder Subject: Re: [ANN] Release 9.0.3 RC-1 - Plugins are listed in PB after loading a stack On 2/26/19 1:58 AM, panagiotis merakos via use-livecode wrote: > Hello Matthias, > > This is probably caused by this change: > > https://github.com/livecode/livecode-ide/pull/2011/files Semi-unrelated issue: is there any reason not to sort tFinal at the end of revIDEGetAllPlugins? That would allow for an ordered loading of plugins based on their names, vs the random order now. -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Tue Feb 26 13:30:36 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 26 Feb 2019 13:30:36 -0500 Subject: Bay Area Maker Faire In-Reply-To: <992a0b34-bffd-c4b1-8adf-6746e551bf78@sonic.net> References: <008401d4c243$b5fde620$21f9b260$@net> <992a0b34-bffd-c4b1-8adf-6746e551bf78@sonic.net> Message-ID: Hahhaha..Mark I love the tag.... its Re Rant 1 While I don't really get the total lack of marketing for the conference or the online conferences LC does email the list of developers.....I always get the emails and I always open the,.......and maybe realistically thats enough marketing for a multi-thousand dollar investment on behalf of the user. It wouldn't be a social media post that would cause me to decide if i want to go. its the need to be there for the further growth of my company vs. the cost of going.......vs timing..........vs family commitments. When I asked Kevin about it, he said we're getting to it, we have a small team and have different priorities right now. Which is an acceptable answer to me. If I go it will be last freakin' minute. We are moving in the same month...so its unlikely. On Tue, Feb 26, 2019 at 1:17 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2/11/19 11:55 AM, Ralph DiMola via use-livecode wrote: > > > Hotel Clariana. It looks to be 2 blocks from the theater. No legend on > the > > map so I don't actually know how long those blocks are. > > Ha! Corner me at the conference (especially after a couple of beers) and > I'll tell you a story about how long blocks are. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Virus-free. www.avast.com <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> From tom at makeshyft.com Tue Feb 26 13:31:46 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 26 Feb 2019 13:31:46 -0500 Subject: Bay Area Maker Faire In-Reply-To: References: <008401d4c243$b5fde620$21f9b260$@net> <992a0b34-bffd-c4b1-8adf-6746e551bf78@sonic.net> Message-ID: Ooopps...I meant *total lack of social media marketing * cuz they do market via email as I go on to say. Virus-free. www.avast.com <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Tue, Feb 26, 2019 at 1:30 PM Tom Glod wrote: > Hahhaha..Mark I love the tag.... its > > Re Rant 1 > > While I don't really get the total lack of marketing for the conference or > the online conferences > > LC does email the list of developers.....I always get the emails and I > always open the,.......and maybe realistically thats enough marketing for a > multi-thousand dollar investment on behalf of the user. > > It wouldn't be a social media post that would cause me to decide if i want > to go. its the need to be there for the further growth of my company vs. > the cost of going.......vs timing..........vs family commitments. > > When I asked Kevin about it, he said we're getting to it, we have a small > team and have different priorities right now. Which is an acceptable > answer to me. > > If I go it will be last freakin' minute. We are moving in the same > month...so its unlikely. > > > > On Tue, Feb 26, 2019 at 1:17 PM Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 2/11/19 11:55 AM, Ralph DiMola via use-livecode wrote: >> >> > Hotel Clariana. It looks to be 2 blocks from the theater. No legend on >> the >> > map so I don't actually know how long those blocks are. >> >> Ha! Corner me at the conference (especially after a couple of beers) and >> I'll tell you a story about how long blocks are. >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > Virus-free. > www.avast.com > > <#m_-3129134556863692999_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > From kaveh at rivervalleytechnologies.com Tue Feb 26 16:26:15 2019 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Tue, 26 Feb 2019 21:26:15 +0000 Subject: Format text data records for processing in Livecode In-Reply-To: <004001d4cdfa$e02fe3e0$a08faba0$@net> References: <1551196694247-0.post@n4.nabble.com> <004001d4cdfa$e02fe3e0$a08faba0$@net> Message-ID: I have an handler that needs the itemdelimiter to be unique every time I call it, and that can be several times in quick succession. I use: wait 1 millisecond set the itemdelimiter to the milliseconds The first line ensures that two successive loops do not have the same itemdelimiter, and it is almost guaranteed to be unique every time. On Tue, 26 Feb 2019 at 17:41, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Option 2: The item delimiter can be multiple characters so you can set it > to > something that would never likely be in the text. > Example: Set the itemdel to "" > > 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 dunbarxx via use-livecode > Sent: Tuesday, February 26, 2019 10:58 AM > To: use-revolution at lists.runrev.com > Cc: dunbarxx > Subject: Re: Format text data records for processing in Livecode > > Hi. > > Since you may have any number and kind of characters in any of the fields > in > each record, I would append a character that is unlikely ever to appear in > any context. I like numToChar(202), but others like numToChar(3) or > numtoChar(8). > > Then you can set the itemDelimiter to that char, and be sure that you are > parsing the totality of each field within any record. > > Craig Newman > > > > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Director River Valley Technologies ? Twitter ? LinkedIn From dunbarx at aol.com Tue Feb 26 16:50:31 2019 From: dunbarx at aol.com (dunbarxx) Date: Tue, 26 Feb 2019 15:50:31 -0600 (CST) Subject: Format text data records for processing in Livecode In-Reply-To: References: <1551196694247-0.post@n4.nabble.com> <004001d4cdfa$e02fe3e0$a08faba0$@net> Message-ID: <1551217831765-0.post@n4.nabble.com> I am missing the point of using an ephemeral and unknown string as an itemDelimiter. The whole point of such a gadget is that it can be used at another time to undo, or redo, whatever data parsing was done earlier. Is it that the delimiter is stored somewhere, and just for security it is generated in an unpredictable way? But that it still can be recalled as needed? But then, as described, that several unique delimiters in quick succession may be created and used, are these stored as well for future use? In other words, if a delimiter is created somehow, and data is parsed into items defined by that delimiter, is there any purpose in NOT saving it somewhere? Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From kaveh at rivervalleytechnologies.com Tue Feb 26 17:10:47 2019 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Tue, 26 Feb 2019 22:10:47 +0000 Subject: Format text data records for processing in Livecode In-Reply-To: <1551217831765-0.post@n4.nabble.com> References: <1551196694247-0.post@n4.nabble.com> <004001d4cdfa$e02fe3e0$a08faba0$@net> <1551217831765-0.post@n4.nabble.com> Message-ID: My use case might be unusual in that I have several itemdelimiters in the same text. I need to record what each one is, but they must not be the same. I might be going off topic here, but I thought it is a simple way of generating a text that is guaranteed to be unique. On Tue, 26 Feb 2019 at 21:51, dunbarxx via use-livecode < use-livecode at lists.runrev.com> wrote: > I am missing the point of using an ephemeral and unknown string as an > itemDelimiter. The whole point of such a gadget is that it can be used at > another time to undo, or redo, whatever data parsing was done earlier. > > Is it that the delimiter is stored somewhere, and just for security it is > generated in an unpredictable way? But that it still can be recalled as > needed? But then, as described, that several unique delimiters in quick > succession may be created and used, are these stored as well for future > use? > > In other words, if a delimiter is created somehow, and data is parsed into > items defined by that delimiter, is there any purpose in NOT saving it > somewhere? > > Craig Newman > > > > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Kaveh Bazargan Director River Valley Technologies ? Twitter ? LinkedIn From kaveh at rivervalleytechnologies.com Tue Feb 26 17:10:47 2019 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Tue, 26 Feb 2019 22:10:47 +0000 Subject: Format text data records for processing in Livecode In-Reply-To: <1551217831765-0.post@n4.nabble.com> References: <1551196694247-0.post@n4.nabble.com> <004001d4cdfa$e02fe3e0$a08faba0$@net> <1551217831765-0.post@n4.nabble.com> Message-ID: My use case might be unusual in that I have several itemdelimiters in the same text. I need to record what each one is, but they must not be the same. I might be going off topic here, but I thought it is a simple way of generating a text that is guaranteed to be unique. On Tue, 26 Feb 2019 at 21:51, dunbarxx via use-livecode < use-livecode at lists.runrev.com> wrote: > I am missing the point of using an ephemeral and unknown string as an > itemDelimiter. The whole point of such a gadget is that it can be used at > another time to undo, or redo, whatever data parsing was done earlier. > > Is it that the delimiter is stored somewhere, and just for security it is > generated in an unpredictable way? But that it still can be recalled as > needed? But then, as described, that several unique delimiters in quick > succession may be created and used, are these stored as well for future > use? > > In other words, if a delimiter is created somehow, and data is parsed into > items defined by that delimiter, is there any purpose in NOT saving it > somewhere? > > Craig Newman > > > > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Kaveh Bazargan Director River Valley Technologies ? Twitter ? LinkedIn From kee.nethery at elloco.com Tue Feb 26 17:23:59 2019 From: kee.nethery at elloco.com (kee nethery) Date: Tue, 26 Feb 2019 14:23:59 -0800 Subject: Format text data records for processing in Livecode In-Reply-To: References: <1551196694247-0.post@n4.nabble.com> <004001d4cdfa$e02fe3e0$a08faba0$@net> <1551217831765-0.post@n4.nabble.com> Message-ID: <78CECC04-C748-4F8D-9D00-AA50F4BCB8F1@elloco.com> What about accidentally choosing a codepoint that is already in the text? I tend to use tab and return for spreadsheet data. For text that needs to include tabs and returns, I use the ASCII codepoints designed for delimiting data; Unit Separator ACSII37, Record Separator ASCII36, Group Separator ASCII35, File Separator ASCII34. And before I use them I always make sure the text does not contain any of these characters. If it does (for example contains a Unit Separator) I tend to see if the text contains ?<>? and if not I?ll replace all Unit Separators in the text with ?<>?. Where (the seconds) is the actual value for the seconds. Then I?ll use the ASCII codepoints that were allocated for delimiters. And I?ll add my replacement separators at the front of the data stream knowing that I can see what that entire string should get replaced with. My two cents. Kee Nethery > On Feb 26, 2019, at 2:10 PM, Kaveh Bazargan via use-livecode wrote: > > My use case might be unusual in that I have several itemdelimiters in the > same text. I need to record what each one is, but they must not be the > same. I might be going off topic here, but I thought it is a simple way of > generating a text that is guaranteed to be unique. > > On Tue, 26 Feb 2019 at 21:51, dunbarxx via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I am missing the point of using an ephemeral and unknown string as an >> itemDelimiter. The whole point of such a gadget is that it can be used at >> another time to undo, or redo, whatever data parsing was done earlier. >> >> Is it that the delimiter is stored somewhere, and just for security it is >> generated in an unpredictable way? But that it still can be recalled as >> needed? But then, as described, that several unique delimiters in quick >> succession may be created and used, are these stored as well for future >> use? >> >> In other words, if a delimiter is created somehow, and data is parsed into >> items defined by that delimiter, is there any purpose in NOT saving it >> somewhere? >> >> Craig Newman >> >> >> >> -- >> Sent from: >> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Kaveh Bazargan > Director > River Valley Technologies ? Twitter > ? LinkedIn > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smk at anvic.net Tue Feb 26 18:10:11 2019 From: smk at anvic.net (Simon Knight) Date: Tue, 26 Feb 2019 23:10:11 +0000 Subject: Format text data records for processing in Livecode In-Reply-To: <78CECC04-C748-4F8D-9D00-AA50F4BCB8F1@elloco.com> References: <1551196694247-0.post@n4.nabble.com> <004001d4cdfa$e02fe3e0$a08faba0$@net> <1551217831765-0.post@n4.nabble.com> <78CECC04-C748-4F8D-9D00-AA50F4BCB8F1@elloco.com> Message-ID: <0CBBBD7C-0F33-4D5B-A384-6C217FCEC409@anvic.net> Some interesting ideas although I?m not sure why a changing separator is useful. I generally attempt to stick with TSV but it won?t work in this case unless I parse the data to remove the tabs from the text, however I may well try this. At the moment I?m trying to use a simple tagging system. The AppleScript that creates the data looks like this: -- build the data in a useful form to be read by Livecode set tNewRec to "" & return set tNewRec to tNewRec & "" & "Sent : " & tDateSent & "" & return set tNewRec to tNewRec & "" & "From : " & tSender & "" & return set tNewRec to tNewRec & "" & "To : " & tAddresseeList & "" & return set tNewRec to tNewRec & "" & "Subject : " & tSubject & "" & return set tNewRec to tNewRec & "" & "Content : " & tContent & "" & return set tNewRec to tNewRec & "" & return The final version will probably not add the closing tags as they seem unnecessary. I have two routines that extract the fields and put them into an array, these make use of itemdelimiter. It all works but the leading REC and FLD tags have to be ignored otherwise blank records and fields are processed. I think that replacing tabs and line returns in the source data and then saving as TSV will be simpler. best wishes Simon From ambassador at fourthworld.com Tue Feb 26 18:11:48 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 26 Feb 2019 15:11:48 -0800 Subject: Format text data records for processing in Livecode In-Reply-To: References: Message-ID: <39494d5e-14af-d229-420c-27a39dc80b54@fourthworld.com> Kaveh Bazargan wrote: > My use case might be unusual in that I have several itemdelimiters in > the same text. I need to record what each one is, but they must not be > the same. I might be going off topic here, but I thought it is a > simple way of generating a text that is guaranteed to be unique. The UUID function is ideal for getting a unique string. But maybe simpler, have you considered using an array? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Tue Feb 26 19:14:02 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Feb 2019 18:14:02 -0600 Subject: SVG icons in buttons Message-ID: <1c40df12-fc61-0e88-b0b3-1ed754a7d169@hyperactivesw.com> I thought I read that we could use SVG icons in buttons now. How does that work? I thought I'd tried it once before successfully but I can't get it to work right now (LC 9.0.3rc1). -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Tue Feb 26 19:21:08 2019 From: monte at appisle.net (Monte Goulding) Date: Wed, 27 Feb 2019 11:21:08 +1100 Subject: SVG icons in buttons In-Reply-To: <1c40df12-fc61-0e88-b0b3-1ed754a7d169@hyperactivesw.com> References: <1c40df12-fc61-0e88-b0b3-1ed754a7d169@hyperactivesw.com> Message-ID: > On 27 Feb 2019, at 11:14 am, J. Landman Gay via use-livecode wrote: > > I thought I read that we could use SVG icons in buttons now. How does that work? I thought I'd tried it once before successfully but I can't get it to work right now (LC 9.0.3rc1). Import the SVG using the drawing library `drawingSVGCompile()` and set the text of an image to the returned value. Then use the image ID as an icon in the normal way. Cheers Monte From tom at makeshyft.com Tue Feb 26 20:30:17 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 26 Feb 2019 20:30:17 -0500 Subject: Livecode or Windows (10) issue? Message-ID: Hi, I have an application that pops up when you hit a particular hotkey combo... It all works amazing.... except for when the task manager is in focus. Its not blocking hotkeys from other programs that I have, but it does seem to block it from the Livecode engine. The hotkey is read by reading the keysdown() periodically. It used to drive me nuts until i figured out (by accident) it was the task manager....no other program seems to block the hotkey from being read. Should i report this as a bug? Is there anything I can do? Thanks, Tom Virus-free. www.avast.com <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> From jacque at hyperactivesw.com Wed Feb 27 00:26:09 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Feb 2019 23:26:09 -0600 Subject: SVG icons in buttons In-Reply-To: References: <1c40df12-fc61-0e88-b0b3-1ed754a7d169@hyperactivesw.com> Message-ID: On 2/26/19 6:21 PM, Monte Goulding via use-livecode wrote: > > >> On 27 Feb 2019, at 11:14 am, J. Landman Gay via use-livecode wrote: >> >> I thought I read that we could use SVG icons in buttons now. How does that work? I thought I'd tried it once before successfully but I can't get it to work right now (LC 9.0.3rc1). > > Import the SVG using the drawing library `drawingSVGCompile()` and set the text of an image to the returned value. Then use the image ID as an icon in the normal way. Thanks Monte, that's just too cool. I've gone wild with it. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From smudge.andy at googlemail.com Wed Feb 27 00:59:52 2019 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 26 Feb 2019 23:59:52 -0600 (CST) Subject: Livecode or Windows (10) issue? In-Reply-To: References: Message-ID: <1551247192961-0.post@n4.nabble.com> What Control key combination are you using? So that we can test. ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From hakan at exformedia.se Wed Feb 27 00:57:46 2019 From: hakan at exformedia.se (hakan at exformedia.se) Date: Wed, 27 Feb 2019 06:57:46 +0100 Subject: SVG icons in buttons In-Reply-To: References: <1c40df12-fc61-0e88-b0b3-1ed754a7d169@hyperactivesw.com> Message-ID: <2de33858-bdb9-4cc9-973e-2b536a160e71@Spark> For me it usually works with ?import as control? or ?import as referenced...?, but for some ?mysterious? reason it never works by setting the filename of the control. I haven?t looked into the IDE code, but I guess it takes care of the calling to drawingSVGcompile() or something.... H?kan On 27 Feb 2019, 06:26 +0100, J. Landman Gay via use-livecode , wrote: > On 2/26/19 6:21 PM, Monte Goulding via use-livecode wrote: > > > > > > > On 27 Feb 2019, at 11:14 am, J. Landman Gay via use-livecode wrote: > > > > > > I thought I read that we could use SVG icons in buttons now. How does that work? I thought I'd tried it once before successfully but I can't get it to work right now (LC 9.0.3rc1). > > > > Import the SVG using the drawing library `drawingSVGCompile()` and set the text of an image to the returned value. Then use the image ID as an icon in the normal way. > > Thanks Monte, that's just too cool. I've gone wild with it. :) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smudge.andy at googlemail.com Wed Feb 27 02:54:57 2019 From: smudge.andy at googlemail.com (AndyP) Date: Wed, 27 Feb 2019 01:54:57 -0600 (CST) Subject: SVG icons in buttons In-Reply-To: References: <1c40df12-fc61-0e88-b0b3-1ed754a7d169@hyperactivesw.com> Message-ID: <1551254097945-0.post@n4.nabble.com> SVGs can also now be Imported As Control > Image svg is now included as an image file type. ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From hh at hyperhh.de Wed Feb 27 05:23:38 2019 From: hh at hyperhh.de (hh) Date: Wed, 27 Feb 2019 11:23:38 +0100 Subject: SVG icons in buttons Message-ID: <1A638F64-E68C-48E0-934D-C3C7D45A2A58@hyperhh.de> That's a fake, as long it is called "SVG"-Icons. These are ordinary images, converted from SVG, no longer SVG objects. Also the import is not a real SVG import but an import of the converted image. This is fine, but we shouldn't name these objects "SVG" as they are ordinary images in the stack. From mark at livecode.com Wed Feb 27 06:28:57 2019 From: mark at livecode.com (Mark Waddingham) Date: Wed, 27 Feb 2019 12:28:57 +0100 Subject: SVG icons in buttons In-Reply-To: <1A638F64-E68C-48E0-934D-C3C7D45A2A58@hyperhh.de> References: <1A638F64-E68C-48E0-934D-C3C7D45A2A58@hyperhh.de> Message-ID: <008c6e8d523f8a83b67afbbf36a86894@livecode.com> On 2019-02-27 11:23, hh via use-livecode wrote: > That's a fake, as long it is called "SVG"-Icons. > These are ordinary images, converted from SVG, no longer > SVG objects. > > Also the import is not a real SVG import but an import > of the converted image. > > This is fine, but we shouldn't name these objects "SVG" > as they are ordinary images in the stack. Well regardless of what people want to call them or how they want to refer to them... It is possible in 9.0+ to use a reasonably sized subset of the SVG vector image format to define your icons and graphics in a highly efficient way: - in storage: compiled svg files (drawings) are almost always a lot smaller than the original text on disk - in memory: drawings take the same amount of space in memory and to render as they do on disk (which is not true of the XML data-structure needed in memory to render raw SVG!) - in time: drawings are a sequence of vector graphics operations which require virtually no processing to execute, they are just run from start to end as needed (again something which is not true of raw SVG which, being mostly declarative, requires a lot of processing to render) As drawings are vector based, they scale to any size and density very naturally (i.e. they are not raster images!) - which means you no longer need to have multiple rasterized versions of icons/graphics, nor re-generate them each time a new screen density appears. Admittedly you do need to compile your SVG to the drawing format so you can use them in images, but then previously you needed to re-rasterize images at various densities anyway to make your apps look as good as possible. (However, both of these are entirely scriptable - e.g. in the standalone build start handler - or by executing a suitably crafted handler in your stack from the message box). If you need an element of dynamic SVG image generation at runtime then you can include the drawing script-library in a standalone, and use drawingSvgCompile and friends there too. Warmest Regards, Mark. P.S. In response to Haken's query: the need to compile SVG to drawings, and the SVG compiler being a LiveCode library is why you can't set the filename of an image to an SVG file - the engine only understands the 'drawing' format, not SVG. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Wed Feb 27 09:56:47 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 27 Feb 2019 16:56:47 +0200 Subject: SVG icons in buttons In-Reply-To: <1551254097945-0.post@n4.nabble.com> References: <1c40df12-fc61-0e88-b0b3-1ed754a7d169@hyperactivesw.com> <1551254097945-0.post@n4.nabble.com> Message-ID: <4e0dbcd1-0e14-5839-e95b-399b14a5ef5e@gmail.com> Sort of . . . http://forums.livecode.com/viewtopic.php?f=6&t=32266&p=177101#p177101 Richmond. On 27.02.19 9:54, AndyP via use-livecode wrote: > SVGs can also now be Imported As Control > Image svg is now included as an > image file type. > > > > ----- > Andy Piddock > > > My software never has bugs. It just develops random features. > > TinyIDE a Free alternative minimalist IDE Plugin for LiveCode > > > Script editor Themer for LC http://2108.co.uk > > PointandSee is a FREE simple but full featured under cursor colour picker / finder. > http://www.pointandsee.co.uk - made with LiveCode > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Feb 27 09:57:33 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 27 Feb 2019 14:57:33 +0000 Subject: SVG icons in buttons In-Reply-To: <008c6e8d523f8a83b67afbbf36a86894@livecode.com> References: <1A638F64-E68C-48E0-934D-C3C7D45A2A58@hyperhh.de> <008c6e8d523f8a83b67afbbf36a86894@livecode.com> Message-ID: <323B25D0-11F6-4016-874D-708A7C362CF8@hindu.org> I am a little late to the SVG Party....what do you mean: "Admittedly you do need to compile your SVG to the drawing format so you can use them in images," ?? To state the obvious: Currently, I have to "expose" a new SVG widget every time it make it a button. In theory, if SVG can be images, you could just have one instance and assign it the icon of many buttons on different stacks. Where you store image resources on the main engine stack/hide it, but the ID's are always available. I do this for PNGs, because I need to graphic effects to work in some buttons (shadow, outglow) though I just discovered that if you group the widget, by itself, in does accept the graphic effects. But seems like we are working to hard. A one SVG image/with shadow and outglow with a single ID would be great? (assign as an icon for button is multiple "Views" ) Brahmanathaswami Mark Waddingham wrote: Admittedly you do need to compile your SVG to the drawing format so you can use them in images, but then previously you needed to re-rasterize images at various densities anyway to make your apps look as good as possible. (However, both of these are entirely scriptable - e.g. in the standalone build start handler - or by executing a suitably crafted handler in your stack from the message box). From brahma at hindu.org Wed Feb 27 10:02:42 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 27 Feb 2019 15:02:42 +0000 Subject: SVG icons in buttons In-Reply-To: <323B25D0-11F6-4016-874D-708A7C362CF8@hindu.org> References: <1A638F64-E68C-48E0-934D-C3C7D45A2A58@hyperhh.de> <008c6e8d523f8a83b67afbbf36a86894@livecode.com> <323B25D0-11F6-4016-874D-708A7C362CF8@hindu.org> Message-ID: Ha! Monte answer, (email is running behind the thread!) "Import the SVG using the drawing library `drawingSVGCompile()` and set the text of an image to the returned value. Then use the image ID as an icon in the normal way." Oh boy! Brahmanathaswami I am a little late to the SVG Party....what do you mean: "Admittedly you do need to compile your SVG to the drawing format so you can use them in images," From mark at livecode.com Wed Feb 27 10:44:46 2019 From: mark at livecode.com (Mark Waddingham) Date: Wed, 27 Feb 2019 16:44:46 +0100 Subject: SVG icons in buttons In-Reply-To: <4e0dbcd1-0e14-5839-e95b-399b14a5ef5e@gmail.com> References: <1c40df12-fc61-0e88-b0b3-1ed754a7d169@hyperactivesw.com> <1551254097945-0.post@n4.nabble.com> <4e0dbcd1-0e14-5839-e95b-399b14a5ef5e@gmail.com> Message-ID: <8e913a37cd7017a3b9495dc4e30ef5b3@livecode.com> On 2019-02-27 15:56, Richmond via use-livecode wrote: > Sort of . . . > > http://forums.livecode.com/viewtopic.php?f=6&t=32266&p=177101#p177101 Hmmm - that is strange - the image looks relatively simple there, so the SVG for it should be and thus be supported... Can you file a bug with the .svg file you tried and got that result with? (If the 'image' file you try to import has .svg at the end then the IDE will compile it using the drawing library so it will be a scalable / vector image... However, whether it scales or not depends on some settings in the SVG file itself as they can describe how they scale inside the rect they are drawn into). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From tom at makeshyft.com Wed Feb 27 12:39:12 2019 From: tom at makeshyft.com (Tom Glod) Date: Wed, 27 Feb 2019 12:39:12 -0500 Subject: Livecode or Windows (10) issue? In-Reply-To: <1551247192961-0.post@n4.nabble.com> References: <1551247192961-0.post@n4.nabble.com> Message-ID: Hi Andy, I'm using CTRL + "~" Thanks On Wed, Feb 27, 2019 at 1:00 AM AndyP via use-livecode < use-livecode at lists.runrev.com> wrote: > What Control key combination are you using? So that we can test. > > > > ----- > Andy Piddock > > > My software never has bugs. It just develops random features. > > TinyIDE a Free alternative minimalist IDE Plugin for LiveCode > > > Script editor Themer for LC http://2108.co.uk > > PointandSee is a FREE simple but full featured under cursor colour picker > / finder. > http://www.pointandsee.co.uk - made with LiveCode > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From kaveh at rivervalleytechnologies.com Wed Feb 27 13:35:36 2019 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Wed, 27 Feb 2019 18:35:36 +0000 Subject: Format text data records for processing in Livecode In-Reply-To: <39494d5e-14af-d229-420c-27a39dc80b54@fourthworld.com> References: <39494d5e-14af-d229-420c-27a39dc80b54@fourthworld.com> Message-ID: On Tue, 26 Feb 2019 at 23:12, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Kaveh Bazargan wrote: > > > My use case might be unusual in that I have several itemdelimiters in > > the same text. I need to record what each one is, but they must not be > > the same. I might be going off topic here, but I thought it is a > > simple way of generating a text that is guaranteed to be unique. > > The UUID function is ideal for getting a unique string. > > But maybe simpler, have you considered using an array? > > Hi Richard So far I have used arrays very rarely. Not sure why. I did not know about UUID. One advantage of using the milliseconds is that it gives me an automated timeline and speed of events, just by comparing the itemdelimiter. But my use case is probably very specific. But I feel it is a good example of the flexibility of LiveCode. :-) > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Kaveh Bazargan Director River Valley Technologies ? Twitter ? LinkedIn From jjs at krutt.org Wed Feb 27 13:41:53 2019 From: jjs at krutt.org (JJS) Date: Wed, 27 Feb 2019 19:41:53 +0100 Subject: SVG icons in buttons In-Reply-To: <8e913a37cd7017a3b9495dc4e30ef5b3@livecode.com> References: <1c40df12-fc61-0e88-b0b3-1ed754a7d169@hyperactivesw.com> <1551254097945-0.post@n4.nabble.com> <4e0dbcd1-0e14-5839-e95b-399b14a5ef5e@gmail.com> <8e913a37cd7017a3b9495dc4e30ef5b3@livecode.com> Message-ID: <6e773239-859b-7fbc-5e73-336996c790af@krutt.org> Nice, even colors. When you change the size of the svg image, then the image in the button sizes along. You have to adjust the button then to the new size Op 27-2-2019 om 16:44 schreef Mark Waddingham via use-livecode: > On 2019-02-27 15:56, Richmond via use-livecode wrote: >> Sort of . . . >> >> http://forums.livecode.com/viewtopic.php?f=6&t=32266&p=177101#p177101 > > Hmmm - that is strange - the image looks relatively simple there, so the > SVG for it should be and thus be supported... Can you file a bug with the > .svg file you tried and got that result with? > > (If the 'image' file you try to import has .svg at the end then the IDE > will compile it using the drawing library so it will be a scalable / > vector > image... However, whether it scales or not depends on some settings in > the > SVG file itself as they can describe how they scale inside the rect they > are drawn into). > > Warmest Regards, > > Mark. > From richmondmathewson at gmail.com Wed Feb 27 13:42:16 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 27 Feb 2019 20:42:16 +0200 Subject: SVG icons in buttons In-Reply-To: <8e913a37cd7017a3b9495dc4e30ef5b3@livecode.com> References: <1c40df12-fc61-0e88-b0b3-1ed754a7d169@hyperactivesw.com> <1551254097945-0.post@n4.nabble.com> <4e0dbcd1-0e14-5839-e95b-399b14a5ef5e@gmail.com> <8e913a37cd7017a3b9495dc4e30ef5b3@livecode.com> Message-ID: <6595f3f2-1506-2eba-0328-a1b67ecc297f@gmail.com> Thanks for the quick response. As requested: Bug 21860 Richmond. On 27.02.19 17:44, Mark Waddingham via use-livecode wrote: > On 2019-02-27 15:56, Richmond via use-livecode wrote: >> Sort of . . . >> >> http://forums.livecode.com/viewtopic.php?f=6&t=32266&p=177101#p177101 > > Hmmm - that is strange - the image looks relatively simple there, so the > SVG for it should be and thus be supported... Can you file a bug with the > .svg file you tried and got that result with? > > (If the 'image' file you try to import has .svg at the end then the IDE > will compile it using the drawing library so it will be a scalable / > vector > image... However, whether it scales or not depends on some settings in > the > SVG file itself as they can describe how they scale inside the rect they > are drawn into). > > Warmest Regards, > > Mark. > From hh at hyperhh.de Wed Feb 27 15:35:00 2019 From: hh at hyperhh.de (hh) Date: Wed, 27 Feb 2019 21:35:00 +0100 Subject: SVG icons in buttons Message-ID: <7289908A-E991-4BB6-8FD3-1A03D4D890C9@hyperhh.de> The corresponding versions that use JavaScript (from midth 2017) use the full SVG power of a browser and store the SVG as a property of the image. And then they convert (very fast) the SVG again to the image whenever the image is resized. This doesn't need any additional space if you already use a browser widget in your stack. LC 8/9: "SVG Powered Images" [by Jonathan] uses a browser widget http://livecodeshare.runrev.com/stack/830/ LC 6/7/8/9: "SVG2PNG_6789" [by me] uses revBrowser (Mac only) http://livecodeshare.runrev.com/stack/831/ The technique to store the SVG to an image property and to recompile it when the control resizes could also be used for the current LC approach. From hh at hyperhh.de Wed Feb 27 15:57:22 2019 From: hh at hyperhh.de (hh) Date: Wed, 27 Feb 2019 21:57:22 +0100 Subject: SVG icons in buttons Message-ID: > BR wrote: > though I just discovered that if you group the widget, by itself, in > does accept the graphic effects. Was the first time published by Jeanne DeVoto: http://lists.runrev.com/pipermail/use-livecode/2016-October/232259.html after a question of BR in the use-list ... From hh at hyperhh.de Wed Feb 27 16:31:12 2019 From: hh at hyperhh.de (hh) Date: Wed, 27 Feb 2019 22:31:12 +0100 Subject: PDFViewer_v100 Message-ID: <1166D02F-890E-4D80-B366-2D823157E355@hyperhh.de> Just updated PDFViewer (uses parts of pdf.js, see https://github.com/mozilla/pdf.js ). Use it if you can't/won't rely on the user's PDF-plugin. Download PDFViewer_v100 from "Sample Stacks" or http://livecodeshare.runrev.com/stack/916/ Current features: * Switch to prev/next/any page of the PDF. * Zoom in/out or fit the PDF to width/height of the widget. * Rotate the PDF to 0, 90, 180, 270 degrees. * GRAB mode: Grab the PDF to scroll it left/up/right/down. * TEXT mode: Select and copy text from the PDF. * Switch pages also with arrowkeys in both modes. * History of used files. You can display both local and remote pdfs. And we do NOT need a local server or a temporary file system. The full viewerJS of the library can NOT do this without a server. The library is included in the stack. Stack size < 500 KBytes. Tested to work with LC 902 on 64bit of MacOs 10.14, Win7+10, ubuntu1604 Works also with LC 8.1.10 on Mac/Win, but NOT on linux. From mark at livecode.com Wed Feb 27 18:19:44 2019 From: mark at livecode.com (Mark Waddingham) Date: Wed, 27 Feb 2019 23:19:44 +0000 Subject: SVG icons in buttons In-Reply-To: <7289908A-E991-4BB6-8FD3-1A03D4D890C9@hyperhh.de> References: <7289908A-E991-4BB6-8FD3-1A03D4D890C9@hyperhh.de> Message-ID: You only need to recompile an svg file to a drawing if the file content changes - drawings scale using the rect of the image object, based on the viewBox and preserveAspectRatio attributes on the root node of the original svg file. If a specific SVG file isn't scaling when compiled to a drawing and resizing the image it's set on, then check what attributes are set on the root 'svg' element. Warmest Regards, Mark. Sent from my iPhone > On 27 Feb 2019, at 20:35, hh via use-livecode wrote: > > The corresponding versions that use JavaScript (from midth 2017) > use the full SVG power of a browser and store the SVG as a > property of the image. And then they convert (very fast) the SVG > again to the image whenever the image is resized. > This doesn't need any additional space if you already use a > browser widget in your stack. > > LC 8/9: "SVG Powered Images" [by Jonathan] uses a browser widget > http://livecodeshare.runrev.com/stack/830/ > > LC 6/7/8/9: "SVG2PNG_6789" [by me] uses revBrowser (Mac only) > http://livecodeshare.runrev.com/stack/831/ > > The technique to store the SVG to an image property and to > recompile it when the control resizes could also be used for > the current LC approach. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Feb 28 14:08:46 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 28 Feb 2019 14:08:46 -0500 Subject: Release 9.0.3 RC-1 iOS Rejection (app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app) In-Reply-To: References: <7289908A-E991-4BB6-8FD3-1A03D4D890C9@hyperhh.de> Message-ID: <007501d4cf99$0b065fa0$21131ee0$@net> Does anyone know what this is all about? Mac OSX 10.13.6 Xcode 10.1 LC 9.0.3 rc1 >From Apple reviewer: --------------------- Guideline 2.5.1 - Performance - Software Requirements Your app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app in your app description and clearly identify the HealthKit and CareKit functionality in your app's user interface. Next Steps ? To resolve this issue, please clearly identify the HealthKit functionality in app's user interface to avoid confusion. Please see attached screenshots for details. ---------------------------- Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From paul at researchware.com Thu Feb 28 15:19:51 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 28 Feb 2019 15:19:51 -0500 Subject: Bundling the tsNet external on Windows... Message-ID: <47350d51-a94a-55de-0704-9ff91dd2d61f@researchware.com> I think this has been discussed on this list before, but I can't find it. Under LC9 is there either a way to: (1) choose not to use tsNet but use the old internet libraries? OR somehow package the tsNet external with the built EXE.file We have a simple app that we want to distribute as a single EXE. The default Standalone build under LC90x creates and EXE that on startup presents the message "Initialization error" and "failed to load external: tsNet" This stack has been migrated from originally being built under LC6.7.11. We are using LC90x Business. Thank you in advance LC community for any guidance. From merakosp at gmail.com Thu Feb 28 15:25:42 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 28 Feb 2019 22:25:42 +0200 Subject: Release 9.0.3 RC-1 iOS Rejection (app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app) In-Reply-To: <007501d4cf99$0b065fa0$21131ee0$@net> References: <7289908A-E991-4BB6-8FD3-1A03D4D890C9@hyperhh.de> <007501d4cf99$0b065fa0$21131ee0$@net> Message-ID: Hello Ralph, Yes, this is caused by the HealthKit-related plist entries. See this bug report, and the linked forum discussion for a workaround. Or you could apply locally the fix described in the PR Best, Panos -- On Thu, Feb 28, 2019 at 9:05 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Does anyone know what this is all about? > Mac OSX 10.13.6 > Xcode 10.1 > LC 9.0.3 rc1 > > From Apple reviewer: > --------------------- > Guideline 2.5.1 - Performance - Software Requirements > > > Your app uses the HealthKit or CareKit APIs but does not indicate > integration with the Health app in your app description and clearly > identify the HealthKit and CareKit functionality in your app's user > interface. > > Next Steps > ? To resolve this issue, please clearly identify the HealthKit > functionality in app's user interface to avoid confusion. > > Please see attached screenshots for details. > ---------------------------- > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Thu Feb 28 15:30:37 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 28 Feb 2019 22:30:37 +0200 Subject: Bundling the tsNet external on Windows... In-Reply-To: <47350d51-a94a-55de-0704-9ff91dd2d61f@researchware.com> References: <47350d51-a94a-55de-0704-9ff91dd2d61f@researchware.com> Message-ID: Hello Paul, I have not tested this recently, but if you type in the msg box: dispatch "revUnloadLibrary" to stack "tsnetLibURL" and then build a standalone, then the standalone should not include tsNet. It will use the old libURL, which is bundled in the .exe file. Kind regards, Panos -- On Thu, Feb 28, 2019 at 10:20 PM Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > I think this has been discussed on this list before, but I can't find it. > > Under LC9 is there either a way to: > > (1) choose not to use tsNet but use the old internet libraries? > OR > somehow package the tsNet external with the built EXE.file > > We have a simple app that we want to distribute as a single EXE. The > default Standalone build under LC90x creates and EXE that on startup > presents the message "Initialization error" and "failed to load > external: tsNet" This stack has been migrated from originally being > built under LC6.7.11. We are using LC90x Business. > > Thank you in advance LC community for any guidance. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Thu Feb 28 16:17:49 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 28 Feb 2019 16:17:49 -0500 Subject: Release 9.0.3 RC-1 iOS Rejection (app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app) In-Reply-To: References: <7289908A-E991-4BB6-8FD3-1A03D4D890C9@hyperhh.de> <007501d4cf99$0b065fa0$21131ee0$@net> Message-ID: <00a301d4cfab$11e2f1f0$35a8d5d0$@net> Thanks Panos! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From: panagiotis merakos [mailto:merakosp at gmail.com] Sent: Thursday, February 28, 2019 3:26 PM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: Release 9.0.3 RC-1 iOS Rejection (app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app) Hello Ralph, Yes, this is caused by the HealthKit-related plist entries. See this bug report, and the linked forum discussion for a workaround. Or you could apply locally the fix described in the PR Best, Panos -- On Thu, Feb 28, 2019 at 9:05 PM Ralph DiMola via use-livecode wrote: Does anyone know what this is all about? Mac OSX 10.13.6 Xcode 10.1 LC 9.0.3 rc1 >From Apple reviewer: --------------------- Guideline 2.5.1 - Performance - Software Requirements Your app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app in your app description and clearly identify the HealthKit and CareKit functionality in your app's user interface. Next Steps ? To resolve this issue, please clearly identify the HealthKit functionality in app's user interface to avoid confusion. Please see attached screenshots for details. ---------------------------- Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Feb 28 16:55:25 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 28 Feb 2019 16:55:25 -0500 Subject: AW: Re: Bundling the tsNet external on Windows... In-Reply-To: References: <47350d51-a94a-55de-0704-9ff91dd2d61f@researchware.com> Message-ID: <0f61f7a7-42c4-0502-b006-ca047d8680c7@researchware.com> Panos, Thank you! Worked perfectly under LC903rc1 On 2/28/2019 3:30 PM, panagiotis merakos wrote: > Hello Paul, > > ?I have not tested this recently, but if you type in the msg box: > > dispatch "revUnloadLibrary" to stack "tsnetLibURL" > > and then build a standalone, then the standalone should not include > tsNet. It will use the old libURL, which is bundled in the .exe file. > > Kind regards, > Panos > -- > > On Thu, Feb 28, 2019 at 10:20 PM Paul Dupuis via use-livecode > > > wrote: > > I think this has been discussed on this list before, but I can't > find it. > > Under LC9 is there either a way to: > > (1) choose not to use tsNet but use the old internet libraries? > OR > somehow package the tsNet external with the built EXE.file > > We have a simple app that we want to distribute as a single EXE. The > default Standalone build under LC90x creates and EXE that on startup > presents the message "Initialization error" and "failed to load > external: tsNet" This stack has been migrated from originally being > built under LC6.7.11. We are using LC90x Business. > > Thank you in advance LC community for any guidance. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Feb 28 22:44:03 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Feb 2019 19:44:03 -0800 Subject: Format text data records for processing in Livecode In-Reply-To: References: Message-ID: <9ddd63bd-b97a-3c2e-5e25-eb80df286657@fourthworld.com> Kaveh Bazargan wrote: > On Tue, 26 Feb 2019 at 23:12, Richard Gaskin wrote: > >> Kaveh Bazargan wrote: >> >> > My use case might be unusual in that I have several itemdelimiters >> > in the same text. I need to record what each one is, but they must >> > not be the same. I might be going off topic here, but I thought it >> > is a simple way of generating a text that is guaranteed to be >> > unique. >> >> The UUID function is ideal for getting a unique string. >> >> But maybe simpler, have you considered using an array? >> > Hi Richard > > So far I have used arrays very rarely. Not sure why. > > I did not know about UUID. > > One advantage of using the milliseconds is that it gives me an > automated timeline and speed of events, just by comparing the > itemdelimiter. But my use case is probably very specific. If it's working and you're happy keep doing it. At some point you may find arrays very powerful. This circumstance seems a natural fit for them, as they keep data separated -- even binary data -- while remaining blindingly fast to get at the piece you want whenever you want it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com