From klaus at major-k.de Tue Jun 1 07:14:49 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 1 Jun 2021 13:14:49 +0200 Subject: workaround for cut-off text in native scroller? Message-ID: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> Hi friends, are there any (working!) workaround for this pesty bug where a correctly set up native scroller does not show the last line(s)? Bug #: I am really suprised that noone has noticed resp. reported this before, since this is a real showstopper in my opinion. :-/ OK, there is a special workaround on GITHUB for a stack of SWAMIs but this does not help in my current situation. Any hints highly appreciated! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From brian at milby7.com Tue Jun 1 07:57:15 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 1 Jun 2021 07:57:15 -0400 Subject: workaround for cut-off text in native scroller? In-Reply-To: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> References: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> Message-ID: Which full screen mode are you using? The referenced fix works by extending the scroll region longer than the actual content with a goal of allowing you to get to the last line. What are you seeing when you try to use that? (Does it let you get any further or just doesn?t change it at all for you?) Sent from my iPhone > On Jun 1, 2021, at 7:16 AM, Klaus major-k via use-livecode wrote: > > ?Hi friends, > > are there any (working!) workaround for this pesty bug where > a correctly set up native scroller does not show the last line(s)? > > Bug #: > > > I am really suprised that noone has noticed resp. reported this > before, since this is a real showstopper in my opinion. :-/ > > OK, there is a special workaround on GITHUB for a stack of SWAMIs > but this does not help in my current situation. > > Any hints highly appreciated! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Jun 1 08:06:50 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 1 Jun 2021 14:06:50 +0200 Subject: workaround for cut-off text in native scroller? In-Reply-To: References: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> Message-ID: <87DBF238-0E5D-46FF-9887-D7A25FDF6895@major-k.de> Hi Brian, > Am 01.06.2021 um 13:57 schrieb Brian Milby via use-livecode : > > Which full screen mode are you using? on my device: exactfit > The referenced fix works by extending the scroll region longer than the actual content with a goal of allowing you to get to the last line. > What are you seeing when you try to use that? (Does it let you get any further or just doesn?t change it at all for you?) Will try that and get back to you, thanks. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From klaus at major-k.de Tue Jun 1 08:49:10 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 1 Jun 2021 14:49:10 +0200 Subject: workaround for cut-off text in native scroller? In-Reply-To: References: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> Message-ID: <92D8BACF-1898-47E3-B6FB-25A01BBBC6D2@major-k.de> Hi Brian, > Am 01.06.2021 um 13:57 schrieb Brian Milby via use-livecode : > > Which full screen mode are you using? > The referenced fix works by extending the scroll region longer than the actual content with a goal of allowing you to get to the last line. What are you seeing when you try to use that? (Does it let you get any further or just doesn?t change it at all for you?) at the end of my field I added: ... EMPTY line ---------------------- Another empty line I tested with an offset of 60 and 100: ... put 0,0,(the formattedWidth of group "scrollgroup"),(the formattedHeight of group "scrollgroup" + 100) into tContentRect ... These last lines are never displayed/scrolled to!? So now what? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From brian at milby7.com Tue Jun 1 08:58:11 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 1 Jun 2021 08:58:11 -0400 Subject: workaround for cut-off text in native scroller? In-Reply-To: <92D8BACF-1898-47E3-B6FB-25A01BBBC6D2@major-k.de> References: <92D8BACF-1898-47E3-B6FB-25A01BBBC6D2@major-k.de> Message-ID: <6A02438E-3D48-4DC0-B2C8-0929BCF7AE48@milby7.com> I?ll need to build a test project this evening to reproduce using your full screen mode. So far I have only used ?empty? with a scroller. Hopefully someone else will have more to suggest before then. Thanks, Brian Sent from my iPhone > On Jun 1, 2021, at 8:50 AM, Klaus major-k via use-livecode wrote: > > ?Hi Brian, > >> Am 01.06.2021 um 13:57 schrieb Brian Milby via use-livecode : >> >> Which full screen mode are you using? >> The referenced fix works by extending the scroll region longer than the actual content with a goal of allowing you to get to the last line. What are you seeing when you try to use that? (Does it let you get any further or just doesn?t change it at all for you?) > > at the end of my field I added: > ... > EMPTY line > ---------------------- > Another empty line > > > I tested with an offset of 60 and 100: > ... > put 0,0,(the formattedWidth of group "scrollgroup"),(the formattedHeight of group "scrollgroup" + 100) into tContentRect > ... > These last lines are never displayed/scrolled to!? > So now what? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Jun 1 09:01:20 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 1 Jun 2021 15:01:20 +0200 Subject: workaround for cut-off text in native scroller? In-Reply-To: <6A02438E-3D48-4DC0-B2C8-0929BCF7AE48@milby7.com> References: <92D8BACF-1898-47E3-B6FB-25A01BBBC6D2@major-k.de> <6A02438E-3D48-4DC0-B2C8-0929BCF7AE48@milby7.com> Message-ID: <8B95173C-9DAA-4C8A-A6E5-84A80860A700@major-k.de> Hi Brian, > Am 01.06.2021 um 14:58 schrieb Brian Milby via use-livecode : > > I?ll need to build a test project this evening to reproduce using your full screen mode. So far I have only used ?empty? with a scroller. Hopefully someone else will have more to suggest before then. take my test stack from the quality database here: I used this to test... > Thanks, > Brian Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From harrison at all-auctions.com Tue Jun 1 10:38:03 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 1 Jun 2021 10:38:03 -0400 Subject: workaround for cut-off text in native scroller? In-Reply-To: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> References: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> Message-ID: Hi Klaus, What happens if you add 100 blank lines? What happens if you add 100 blank lines and the last one has something on it? I hope you find a suitable workaround because that?s a serious bug! Rick > On Jun 1, 2021, at 7:14 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > are there any (working!) workaround for this pesty bug where > a correctly set up native scroller does not show the last line(s)? > > Bug #: > > > I am really suprised that noone has noticed resp. reported this > before, since this is a real showstopper in my opinion. :-/ > > OK, there is a special workaround on GITHUB for a stack of SWAMIs > but this does not help in my current situation. > > Any hints highly appreciated! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Jun 1 10:59:18 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 1 Jun 2021 16:59:18 +0200 Subject: workaround for cut-off text in native scroller? In-Reply-To: References: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> Message-ID: <91131761-00C9-417D-A818-2B2A08A3C36F@major-k.de> Hi Rick, > Am 01.06.2021 um 16:38 schrieb Rick Harrison via use-livecode : > > Hi Klaus, > > What happens if you add 100 blank lines? I get the white space of hundred empty lines in the scroller. > What happens if you add 100 blank lines and the last one has something on it? Did not try that. > I hope you find a suitable workaround because that?s a serious bug! Hm, not sure, but it looks like you need at least 5 empty lines to "fool" LC to compute the correct scroll of the native scroller. Means all lines are visible, but not the EMPTY lines!? And yes, this IS a serious bug! > Rick Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Tue Jun 1 12:26:51 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Jun 2021 11:26:51 -0500 Subject: workaround for cut-off text in native scroller? In-Reply-To: <91131761-00C9-417D-A818-2B2A08A3C36F@major-k.de> References: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> <91131761-00C9-417D-A818-2B2A08A3C36F@major-k.de> Message-ID: <179c86630f8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I usually put one empty line at the end of the field and increase the native scroller content height by twice or three times the textheight of the field. The amount of extra space required in the scroller depends on the text size and textheight. I think the problem is an incorrect calculation of the formattedHeight of the field or group. BTW, did you group the field? It won't scroll smoothly unless you do, and the group should scroll rather than the field. The field inside the group should be sized to its full height with its top aligned to the top of the group. Set the group margins to 0 and the layermode of the group to "scrolling". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 1, 2021 10:01:33 AM Klaus major-k via use-livecode wrote: > Hm, not sure, but it looks like you need at least 5 empty lines to "fool" > LC to compute > the correct scroll of the native scroller. Means all lines are visible, but > not the EMPTY lines!? From klaus at major-k.de Tue Jun 1 12:40:00 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 1 Jun 2021 18:40:00 +0200 Subject: workaround for cut-off text in native scroller? In-Reply-To: <179c86630f8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> <91131761-00C9-417D-A818-2B2A08A3C36F@major-k.de> <179c86630f8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1E79BF5C-14CD-4240-8BED-CB18AFCF35DF@major-k.de> Hi Jaques, > Am 01.06.2021 um 18:26 schrieb J. Landman Gay via use-livecode : > > I usually put one empty line at the end of the field and increase the native scroller content height by twice > or three times the textheight of the field. The amount of extra space required in the scroller depends on > the text size and textheight. five empty lines solve my current problem. > I think the problem is an incorrect calculation of the formattedHeight of the field or group. BTW, did you group the field? Sure! :-) I even added a white button BELOW that field in the group, no dice!? > It won't scroll smoothly unless you do, and the group should scroll rather than the field. > The field inside the group should be sized to its full height with its top aligned to the top of the group. It is. > Set the group margins to 0 I did. > and the layermode of the group to "scrolling". I did NOT! Will try... Tested, no difference in the end. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From brian at milby7.com Tue Jun 1 11:09:18 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 1 Jun 2021 11:09:18 -0400 Subject: workaround for cut-off text in native scroller? Message-ID: ?One thing to try for testing would be to use FSM of empty and see how many lines are required. One thing I noticed with browser widget is that native elements render at device resolution inside regardless of FSM in use. If it requires the same, then this is probably not related. If the number changes, then I may be on to something. In either case, having to fudge the height of a text field is not good. Sent from my iPhone > On Jun 1, 2021, at 11:00 AM, Klaus major-k via use-livecode wrote: > > ?Hi Rick, > >> Am 01.06.2021 um 16:38 schrieb Rick Harrison via use-livecode : >> Hi Klaus, >> What happens if you add 100 blank lines? > > I get the white space of hundred empty lines in the scroller. > >> What happens if you add 100 blank lines and the last one has something on it? > > Did not try that. > >> I hope you find a suitable workaround because that?s a serious bug! > > Hm, not sure, but it looks like you need at least 5 empty lines to "fool" LC to compute > the correct scroll of the native scroller. Means all lines are visible, but not the EMPTY lines!? > > And yes, this IS a serious bug! > >> Rick > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Jun 1 14:14:09 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 1 Jun 2021 20:14:09 +0200 Subject: workaround for cut-off text in native scroller? In-Reply-To: References: Message-ID: Hi Brian, > Am 01.06.2021 um 17:09 schrieb Brian Milby via use-livecode : > > One thing to try for testing would be to use FSM of empty Sorry, no idea what "FSM of empty" might be? :-) > and see how many lines are required. Will do, once I know what it means! > One thing I noticed with browser widget is that native elements render at device resolution inside regardless of FSM in use. If it requires the same, then this is probably not related. If the number changes, then I may be on to something. In either case, having to fudge the height of a text field is not good. Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From jacque at hyperactivesw.com Tue Jun 1 14:38:05 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Jun 2021 13:38:05 -0500 Subject: workaround for cut-off text in native scroller? In-Reply-To: References: Message-ID: <179c8de56c8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> > Sorry, no idea what "FSM of empty" might be? :-) It's either the Flying Spaghetti Monster or fullscreenmode. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 1, 2021 1:16:13 PM Klaus major-k via use-livecode wrote: > Hi Brian, > >> Am 01.06.2021 um 17:09 schrieb Brian Milby via use-livecode >> : >> >> One thing to try for testing would be to use FSM of empty > > Sorry, no idea what "FSM of empty" might be? :-) > >> and see how many lines are required. > > Will do, once I know what it means! > >> One thing I noticed with browser widget is that native elements render at >> device resolution inside regardless of FSM in use. If it requires the >> same, then this is probably not related. If the number changes, then I may >> be on to something. In either case, having to fudge the height of a text >> field is not good. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Jun 1 14:55:06 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 1 Jun 2021 20:55:06 +0200 Subject: workaround for cut-off text in native scroller? In-Reply-To: <179c8de56c8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <179c8de56c8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <345A04E5-541E-40E0-AC1B-BFDDFAEC630B@major-k.de> Hi Jaques, > Am 01.06.2021 um 20:38 schrieb J. Landman Gay via use-livecode : > >> Sorry, no idea what "FSM of empty" might be? :-) > > It's either the Flying Spaghetti Monster I highly doubt that! :-D > or fullscreenmode. ;) Makes sense, thanks! And "of empty" means with NO fullscreenmode, I guess? Tried that, no die! The dictionary tells me about "fullscreenmode": ... ? empty - The stack is resized (not scaled) to fit the screen. (default) This is the legacy behavior. ... Maybe I am misunderstanding this, but my stack was cut off on the right and bottom when setting FSM to EMPTY. Dimensions of my stack are smaller than my devide! Stack: 800*400 Device: 1280*720 Is the dictionary wrong or do I miss or misunderstand something important? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From brian at milby7.com Tue Jun 1 15:10:17 2021 From: brian at milby7.com (Brian Milby) Date: Tue, 1 Jun 2021 15:10:17 -0400 Subject: workaround for cut-off text in native scroller? In-Reply-To: <345A04E5-541E-40E0-AC1B-BFDDFAEC630B@major-k.de> References: <345A04E5-541E-40E0-AC1B-BFDDFAEC630B@major-k.de> Message-ID: Ok. I?ll just pull down your demo and play around with it. Sent from my iPhone > On Jun 1, 2021, at 2:56 PM, Klaus major-k via use-livecode wrote: > > ?Hi Jaques, > >>> Am 01.06.2021 um 20:38 schrieb J. Landman Gay via use-livecode : >>> >>> Sorry, no idea what "FSM of empty" might be? :-) >> >> It's either the Flying Spaghetti Monster > > I highly doubt that! :-D > >> or fullscreenmode. ;) > > Makes sense, thanks! > And "of empty" means with NO fullscreenmode, I guess? > > Tried that, no die! > The dictionary tells me about "fullscreenmode": > ... > ? empty - The stack is resized (not scaled) to fit the screen. > (default) This is the legacy behavior. > ... > > Maybe I am misunderstanding this, but my stack was cut off on the right and bottom > when setting FSM to EMPTY. > > Dimensions of my stack are smaller than my devide! > Stack: 800*400 > Device: 1280*720 > > Is the dictionary wrong or do I miss or misunderstand something important? > >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Jun 1 15:37:47 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 1 Jun 2021 14:37:47 -0500 Subject: workaround for cut-off text in native scroller? In-Reply-To: <345A04E5-541E-40E0-AC1B-BFDDFAEC630B@major-k.de> References: <179c8de56c8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <345A04E5-541E-40E0-AC1B-BFDDFAEC630B@major-k.de> Message-ID: <8f0a207f-0323-5be3-850b-6d879d6c4758@hyperactivesw.com> On 6/1/21 1:55 PM, Klaus major-k via use-livecode wrote: > And "of empty" means with NO fullscreenmode, I guess? > > Tried that, no die! > The dictionary tells me about "fullscreenmode": > ... > ? empty - The stack is resized (not scaled) to fit the screen. > (default) This is the legacy behavior. > ... Setting fullScreenMode to empty is the same as not using FSM at all; it's the old behavior we had before FSM was available. I think "of" was an autocomplete error; should be "to empty." > Maybe I am misunderstanding this, but my stack was cut off on the right and bottom > when setting FSM to EMPTY. > > Dimensions of my stack are smaller than my devide! > Stack: 800*400 > Device: 1280*720 I believe the resolution of the device also affects the stack size, so if the resolution of your phone is different than the resolution of your desktop then it will size the stack differently. But I'm not sure how the calculations work exactly. >> It's either the Flying Spaghetti Monster > > I highly doubt that! :-D Off topic: a few years ago, a guy here in the U.S. went to renew his driver's license wearing a colander on his head. He said it was apparel for his deeply-held FSM Pastafarian religious beliefs, and they let him keep it on for the photo. Since then a few others have done the same. Permission depends on the state. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Tue Jun 1 15:51:39 2021 From: tom at makeshyft.com (Tom Glod) Date: Tue, 1 Jun 2021 15:51:39 -0400 Subject: Which Android build? Message-ID: Hi Folks, Maybe I'm just missing it, but I'm having a hard time tracking down which of the build schemas to use for Android to be acceptable in the Google Playstore....I know there was a change there in the recent past. Thanks. -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From ambassador at fourthworld.com Tue Jun 1 16:12:42 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 1 Jun 2021 13:12:42 -0700 Subject: workaround for cut-off text in native scroller? In-Reply-To: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> References: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> Message-ID: Alternatively, you could handle your layout the way most apps on your phone do, with responsive design. 1. Add this to your stack script: on ResizeCommon x,y -- Header: set the rect of grc ID 1003 to 0,0,x,92 set the rect of fld ID 1005 to 0,19,x,90 -- -- Footer: set the rect of widget "navigation" to 0,y-57, x, y end ResizeCommon 2. Add this to cd 1 after grouping your buttons: on resizeStack x,y ResizeCommon x,y -- see stack script set the loc of grp "btns" to item 1 of the loc of this cd, \ item 2 of the loc of this cd + 20 end resizeStack 3. Add this to cd 2: on resizeStack x,y ResizeCommon x,y -- see stack script set the rect of fld "spielanleitung" to 0, \ the bottom of grp "top", \ x, the top of grp "navibar" scrollererstellen end resizeStack This quickie responsive setup took me about 5 minutes, less time than spent working around the bug, and now with a UI that works on all device types and screen ratios, with fixed predictable control sizes, and no cropping, padding, or distortion. Bonus: Another few minutes on the cd 1 buttons group would even allow both orientations to be supported. Play with the resizing right in the IDE here: go url "http://fourthworld.net/lc/scrollbugRD.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 From klaus at major-k.de Tue Jun 1 16:28:24 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 1 Jun 2021 22:28:24 +0200 Subject: workaround for cut-off text in native scroller? In-Reply-To: References: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> Message-ID: <16EA7AAB-F87E-4246-9012-84E68AC79EF1@major-k.de> Hi Richard, > Am 01.06.2021 um 22:12 schrieb Richard Gaskin via use-livecode : > > Alternatively, you could handle your layout the way most apps on your phone do, with responsive design. > > 1. Add this to your stack script: > ... > This quickie responsive setup took me about 5 minutes, less time than spent working around the bug, and now with a UI that works on all device types and screen ratios, with fixed predictable control sizes, and no cropping, padding, or distortion. yes, thank you, but please bear with me, this is my very first mobile app after owning my first cell phone for a couple of weeks. 8-) > Bonus: Another few minutes on the cd 1 buttons group would even allow both orientations to be supported. Not neccessary for this app. But as a bonus I'd rather see this bug fixed. ;-) > Play with the resizing right in the IDE here: > go url "http://fourthworld.net/lc/scrollbugRD.livecode" > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From ambassador at fourthworld.com Tue Jun 1 16:49:50 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 1 Jun 2021 13:49:50 -0700 Subject: workaround for cut-off text in native scroller? In-Reply-To: <16EA7AAB-F87E-4246-9012-84E68AC79EF1@major-k.de> References: <16EA7AAB-F87E-4246-9012-84E68AC79EF1@major-k.de> Message-ID: <495f09e4-0941-5fed-abb6-98e4484a16ea@fourthworld.com> Klaus wrote: >> This quickie responsive setup took me about 5 minutes, less time >> than spent working around the bug, and now with a UI that works >> on all device types and screen ratios, with fixed predictable control >> sizes, and no cropping, padding, or distortion. > > yes, thank you, but please bear with me, this is my very first mobile > app after owning my first cell phone for a couple of weeks. 8-) No worries. All GUI OSes have had resizable windows since 1984. If you've ever scripted for them on the desktop you already have 90% of the habits needed to do the same on mobile. >> Bonus: Another few minutes on the cd 1 buttons group would even allow both orientations to be supported. > > Not neccessary for this app. > But as a bonus I'd rather see this bug fixed. ;-) Indeed. I'm still wondering why we're still scripting scroll regions at all. If the engine knows which objects it considers scrollable, and it knows how to provide access to OS handling of those interactions, put one engine capability with the other and scripters are liberated from this silly needless (and tragically LC-specific) tedium forever. I'm also wondering why I'm alone in wondering that... -- 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 klaus at major-k.de Tue Jun 1 16:56:59 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 1 Jun 2021 22:56:59 +0200 Subject: workaround for cut-off text in native scroller? In-Reply-To: <495f09e4-0941-5fed-abb6-98e4484a16ea@fourthworld.com> References: <16EA7AAB-F87E-4246-9012-84E68AC79EF1@major-k.de> <495f09e4-0941-5fed-abb6-98e4484a16ea@fourthworld.com> Message-ID: Hi Richard, > Am 01.06.2021 um 22:49 schrieb Richard Gaskin via use-livecode : > Klaus wrote: >> >> This quickie responsive setup took me about 5 minutes, less time >> >> than spent working around the bug, and now with a UI that works >> >> on all device types and screen ratios, with fixed predictable control >> >> sizes, and no cropping, padding, or distortion. >> > yes, thank you, but please bear with me, this is my very first mobile >> > app after owning my first cell phone for a couple of weeks. 8-) > No worries. All GUI OSes have had resizable windows since 1984. > If you've ever scripted for them on the desktop you already have 90% of the habits needed to do the same on mobile. I never needed to do so in the last 21 years! :-D >> >> Bonus: Another few minutes on the cd 1 buttons group would even allow both orientations to be supported. >> > >> > Not neccessary for this app. >> > But as a bonus I'd rather see this bug fixed. ;-) > Indeed. > I'm still wondering why we're still scripting scroll regions at all. > If the engine knows which objects it considers scrollable, and it knows how to provide access to OS handling of those interactions, put one engine capability with the other and scripters are liberated from this silly needless (and tragically LC-specific) tedium forever. Yes, there are some areas where the enigne could liberate us from some tedious and in 2021 so unneccessary scripting. > I'm also wondering why I'm alone in wondering that... I bet you are NOT alone, at least I am with you! > -- > Richard Gaskin Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From ambassador at fourthworld.com Tue Jun 1 18:53:21 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 1 Jun 2021 15:53:21 -0700 Subject: workaround for cut-off text in native scroller? In-Reply-To: References: Message-ID: <9496c013-759a-a1e5-1db9-a28b0067d1aa@fourthworld.com> Klaus wrote: > Am 01.06.2021 um 22:49 schrieb Richard Gaskin: >> No worries. All GUI OSes have had resizable windows since 1984. >> If you've ever scripted for them on the desktop you already have >> 90% of the habits needed to do the same on mobile. > > I never needed to do so in the last 21 years! :-D I'm glad you mentioned that. Resizable windows have been such a staple in software for so long, and so well supported in MetaCard, SuperCard, Toolbook, Gain, and most other GUI scripting tools, I've just taken for granted that anyone who's been in the biz for a while has written plenty of resizeStack handlers. But I've been learning recently that's not the case. A lot of very experienced scripters have worked with dialogs, palettes, fixed-sized windows, and all manner of menus, but somehow have never been asked to make an app with resizable windows. If I ever get around to writing an article on resizing strategies I'll keep that in mind. Helpful to learn about one more xTalk veteran in the same boat. -- 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 Jun 1 19:40:47 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Jun 2021 18:40:47 -0500 Subject: workaround for cut-off text in native scroller? In-Reply-To: References: <988502CB-B1F2-4846-B025-DE213B88DD07@major-k.de> Message-ID: <179c9f37818.2815.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> > Alternatively, you could handle your layout > the way most apps on your phone do, with > responsive design. That would manage the overall layout but wouldn't fix the error in the native scroller. But you can count me as another one who would like to see easier scroller implementation on mobile. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 1, 2021 3:15:07 PM Richard Gaskin via use-livecode wrote: > Alternatively, you could handle your layout the way most apps on your > phone do, with responsive design. > > > 1. Add this to your stack script: > > on ResizeCommon x,y > -- Header: > set the rect of grc ID 1003 to 0,0,x,92 > set the rect of fld ID 1005 to 0,19,x,90 > -- > -- Footer: > set the rect of widget "navigation" to 0,y-57, x, y > end ResizeCommon > > > > 2. Add this to cd 1 after grouping your buttons: > > on resizeStack x,y > ResizeCommon x,y -- see stack script > set the loc of grp "btns" to item 1 of the loc of this cd, \ > item 2 of the loc of this cd + 20 > end resizeStack > > > > 3. Add this to cd 2: > > on resizeStack x,y > ResizeCommon x,y -- see stack script > set the rect of fld "spielanleitung" to 0, \ > the bottom of grp "top", \ > x, the top of grp "navibar" > scrollererstellen > end resizeStack > > > This quickie responsive setup took me about 5 minutes, less time than > spent working around the bug, and now with a UI that works on all device > types and screen ratios, with fixed predictable control sizes, and no > cropping, padding, or distortion. > > Bonus: Another few minutes on the cd 1 buttons group would even allow > both orientations to be supported. > > > Play with the resizing right in the IDE here: > go url "http://fourthworld.net/lc/scrollbugRD.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 From ambassador at fourthworld.com Tue Jun 1 22:10:35 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 1 Jun 2021 19:10:35 -0700 Subject: workaround for cut-off text in native scroller? In-Reply-To: <179c9f37818.2815.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <179c9f37818.2815.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5271a2e3-b0ec-1fec-e7b6-81c7a87090da@fourthworld.com> J. Landman Gay wrote: > Richard wrote: >> Alternatively, you could handle your layout >> the way most apps on your phone do, with >> responsive design. > > That would manage the overall layout but wouldn't fix the error in > the native scroller. Seems I'd misunderstood the two bug reports and Brian Milby's suggestion in this thread. This scroll calculation issue is not specific to the changed metrics from fullScreenMode? -- 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 Jun 1 22:58:00 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Jun 2021 21:58:00 -0500 Subject: workaround for cut-off text in native scroller? In-Reply-To: <5271a2e3-b0ec-1fec-e7b6-81c7a87090da@fourthworld.com> References: <179c9f37818.2815.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5271a2e3-b0ec-1fec-e7b6-81c7a87090da@fourthworld.com> Message-ID: <179caa806c0.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On June 1, 2021 9:13:24 PM Richard Gaskin via use-livecode wrote: > Seems I'd misunderstood the two bug reports and Brian Milby's suggestion > in this thread. This scroll calculation issue is not specific to the > changed metrics from fullScreenMode? Maybe. I understood Brian's post to mean that was his theory but it needed testing. I suppose it would make sense. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jun 1 23:04:45 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 01 Jun 2021 22:04:45 -0500 Subject: Which Android build? In-Reply-To: References: Message-ID: <179caae34c8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I usually just build for the two arm architectures. When I was looking into it, there are no X-86 devices made any more and those that are still around are very old. Google doesn't care which ones you choose. Soon, however, we're going to need to implement app bundles which LC doesn't yet support. If I remember right, we have until August. The team is aware. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 1, 2021 2:54:11 PM Tom Glod via use-livecode wrote: > Hi Folks, > > Maybe I'm just missing it, but I'm having a hard time tracking down which > of the build schemas to use for Android to be acceptable in the Google > Playstore....I know there was a change there in the recent past. > > Thanks. > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Jun 1 23:18:05 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 1 Jun 2021 20:18:05 -0700 Subject: workaround for cut-off text in native scroller? In-Reply-To: <9496c013-759a-a1e5-1db9-a28b0067d1aa@fourthworld.com> References: <9496c013-759a-a1e5-1db9-a28b0067d1aa@fourthworld.com> Message-ID: On 6/1/21 3:53 PM, Richard Gaskin via use-livecode wrote: > If I ever get around to writing an article on resizing strategies I'll > keep that in mind.? Helpful to learn about one more xTalk veteran in the > same boat. > I do ok on resizing routines until it comes to groups. Then I always end up reinventing things: when and where to lock messages, how to get things resized in the right order so as not to undo what I just did... If there are any rules of thumb I'd love to know them. -- Mark Wieder ahsoftware at gmail.com From alex at tweedly.net Wed Jun 2 07:42:44 2021 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 2 Jun 2021 12:42:44 +0100 Subject: workaround for cut-off text in native scroller? In-Reply-To: References: <9496c013-759a-a1e5-1db9-a28b0067d1aa@fourthworld.com> Message-ID: On 02/06/2021 04:18, Mark Wieder via use-livecode wrote: > > I do ok on resizing routines until it comes to groups. Then I always > end up reinventing things: when and where to lock messages, how to get > things resized in the right order so as not to undo what I just did... > > If there are any rules of thumb I'd love to know them. > I can tell you mine - they work for me , but whether they work for you, or anyone else, is a different matter. 1. NEVER lock message just to handle resizing. ????? If you need to do that, you're already in a heap of trouble :-) 2. ALWAYS (and I mean always) set the lockLoc of a group. ??? Don't let those uppity groups change their size - you need to be in charge :-) 3. Work top-down in a (fairly) strict hierarchy. Let each level of card/group handle the layout of its component pieces, allocate space for them and "set the rect .." for each. 3a. Always resize/reposition things by setting their rect (not their top/left/width/...). ????? Every time I try to use those seemingly-convenient shorter forms, I get in trouble :-) 4. Design in some logging mechanism so that if something is going wrong, you can easily turn on logging and see what is happening, across ALL your resizing group / controls. 5. In the very rare occasions where there is need to cross the hierarchy as above, do it explicitly (e.g. I have a convention of sometimes having a handler "presizecontrol" which returns a *preferred* size or minimum size, which the upper levels of the hierarchy can use to check what lower layer groups would like to be, can adjust their decisions accordingly - and then resize ("set the rect ..") accordingly. Alex. From paul at researchware.com Wed Jun 2 12:17:02 2021 From: paul at researchware.com (Paul Dupuis) Date: Wed, 2 Jun 2021 12:17:02 -0400 Subject: LC 9.6.2 release change... Message-ID: <39e96df8-20d7-e510-6f03-0452a1f07d1b@researchware.com> In every rc candidate of 9.6.2 up until the STABLE release version, if I have a command handler in the stack script of my mainstack (called say "prepForBuild") I could open the message box and just type in "prepForBuild" and press return to execute it. No in LC9.6.2 STABLE, if I just type in "prepForBuild" and return, LC changes it to "put prepForBuild" and places the text "prepForBuild" in the results are of the message box instead of executing the handler. It appears I now have to write "send prepForBuild to stack "X" -- where X is my mainstack to have it execute. Anyone else seeing this? From ahsoftware at sonic.net Wed Jun 2 12:26:28 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 2 Jun 2021 09:26:28 -0700 Subject: LC 9.6.2 release change... In-Reply-To: <39e96df8-20d7-e510-6f03-0452a1f07d1b@researchware.com> References: <39e96df8-20d7-e510-6f03-0452a1f07d1b@researchware.com> Message-ID: <648405c8-522d-cb8b-77e0-261bf5328ccb@sonic.net> On 6/2/21 9:17 AM, Paul Dupuis via use-livecode wrote: > In every rc candidate of 9.6.2 up until the STABLE release version, if I > have a command handler in the stack script of my mainstack (called say > "prepForBuild") I could open the message box and just type in > "prepForBuild" and press return to execute it. > > No in LC9.6.2 STABLE, if I just type in "prepForBuild" and return, LC > changes it to "put prepForBuild" and places the text "prepForBuild" in > the results are of the message box instead of executing the handler. > > It appears I now have to write "send prepForBuild to stack "X" -- where > X is my mainstack to have it execute. > > Anyone else seeing this? You'll see the "put..." message if the handler can't be found in the current message path. You may need to change the target stack in the message box from the pulldown menu - my guess is that you're ending up targeting the wrong stack. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Wed Jun 2 12:36:01 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 2 Jun 2021 09:36:01 -0700 Subject: workaround for cut-off text in native scroller? In-Reply-To: References: <9496c013-759a-a1e5-1db9-a28b0067d1aa@fourthworld.com> Message-ID: On 6/2/21 4:42 AM, Alex Tweedly via use-livecode wrote: > I can tell you mine - they work for me , but whether they work for you, > or anyone else, is a different matter. Thanks for the pointers. > > 1. NEVER lock message just to handle resizing. > ????? If you need to do that, you're already in a heap of trouble :-) Been there. Got the t-shirt. > > 2. ALWAYS (and I mean always) set the lockLoc of a group. > ??? Don't let those uppity groups change their size - you need to be in > charge :-) Ok - that's one I should take more to heart. > > 3. Work top-down in a (fairly) strict hierarchy. Let each level of > card/group handle the layout of its component pieces, allocate space for > them and "set the rect .." for each. > > 3a. Always resize/reposition things by setting their rect (not their > top/left/width/...). > ????? Every time I try to use those seemingly-convenient shorter forms, > I get in trouble :-) Yes, but... there are some cases where I need to set the height/width explicitly. For instance, I've got a complex group that contains a circle inside a rectangle. I could, I suppose, calculate the new height of the circle but not set it, then calculate the rectangle and center point of the circle and set the rectangle coordinates from that Instead, I just set the height and width of the circle within the group, and this mostly seems to work if I'm careful. -- Mark Wieder ahsoftware at gmail.com From tom at makeshyft.com Wed Jun 2 12:46:25 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 2 Jun 2021 12:46:25 -0400 Subject: Which Android build? In-Reply-To: <179caae34c8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <179caae34c8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: THank you Jacqueline. On Tue, Jun 1, 2021 at 11:06 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I usually just build for the two arm architectures. When I was looking > into > it, there are no X-86 devices made any more and those that are still > around > are very old. Google doesn't care which ones you choose. > > Soon, however, we're going to need to implement app bundles which LC > doesn't yet support. If I remember right, we have until August. The team > is > aware. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On June 1, 2021 2:54:11 PM Tom Glod via use-livecode > wrote: > > > Hi Folks, > > > > Maybe I'm just missing it, but I'm having a hard time tracking down which > > of the build schemas to use for Android to be acceptable in the Google > > Playstore....I know there was a change there in the recent past. > > > > Thanks. > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jacque at hyperactivesw.com Wed Jun 2 13:21:38 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Jun 2021 12:21:38 -0500 Subject: LC 9.6.2 release change... In-Reply-To: <648405c8-522d-cb8b-77e0-261bf5328ccb@sonic.net> References: <39e96df8-20d7-e510-6f03-0452a1f07d1b@researchware.com> <648405c8-522d-cb8b-77e0-261bf5328ccb@sonic.net> Message-ID: <179cdbeb0e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On June 2, 2021 11:28:58 AM Mark Wieder via use-livecode wrote: > You'll see the "put..." message if the handler can't be found in the > current message path. You may need to change the target stack in the > message box from the pulldown menu - my guess is that you're ending up > targeting the wrong stack. And if that doesn't work, physically click on the stack. I often have the script editor open and in focus, and I think the command is going there even though the message box indicates the mainstack is the target. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Wed Jun 2 15:38:14 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 2 Jun 2021 15:38:14 -0400 Subject: workaround for cut-off text in native scroller? In-Reply-To: References: <9496c013-759a-a1e5-1db9-a28b0067d1aa@fourthworld.com> Message-ID: <002901d757e6$d72a30c0$857e9240$@net> native scroller? I add 20 to the bottom of the "contentrect". This has worked fine for me in various apps. Your mileage may vary. On resizing... JLM answered me on my "LiveCode day 1(4.x)" use list request and informed me that I have to roll my own so I spent the next 2-3 months making a general use resizing library that has worked well for me though the years. I have never used the newer built in options. The nice thing is that my library is handy for the very few desktop apps I have made. Notes on below: 1. NEVER lock message just to handle resizing. True true. This can get you into real trouble. 2. ALWAYS (and I mean always) set the lockLoc of a group. True again with a caveat. If your creating a group by script you have to add one control in the group before you set the group's lockloc then rect of the group. Then you can start placing other controls in the group and it will not change size/position. 3a. Always resize/reposition things by setting their rect (not their top/left/width/...). The rules I have gleaned is. a) Yes, the rect is always absolute. b) For best performance set the control's rect ONCE. c) Set the height/width before top/left/bottom/right if using the top/left/width/height. This is slow because the engine has to rerender after every size/pos change. d) When changing the width/height with ONLY even or ONLY odd numbers the control will remain centered. But if you use odd and even numbers the it will walk to the left/top. If you for example set the width to 100 then 101 then 100 then 101. The control will walk left by 1 pixel for every 100/101 width setting change. I can see why LC is attempting to keep the control centered I guess but keeping the top/left constant whilst changing the height/width would produce more predictable results. 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 Alex Tweedly via use-livecode Sent: Wednesday, June 02, 2021 7:43 AM To: use-livecode at lists.runrev.com Cc: Alex Tweedly Subject: Re: workaround for cut-off text in native scroller? On 02/06/2021 04:18, Mark Wieder via use-livecode wrote: > > I do ok on resizing routines until it comes to groups. Then I always > end up reinventing things: when and where to lock messages, how to get > things resized in the right order so as not to undo what I just did... > > If there are any rules of thumb I'd love to know them. > I can tell you mine - they work for me , but whether they work for you, or anyone else, is a different matter. 1. NEVER lock message just to handle resizing. If you need to do that, you're already in a heap of trouble :-) 2. ALWAYS (and I mean always) set the lockLoc of a group. Don't let those uppity groups change their size - you need to be in charge :-) 3. Work top-down in a (fairly) strict hierarchy. Let each level of card/group handle the layout of its component pieces, allocate space for them and "set the rect .." for each. 3a. Always resize/reposition things by setting their rect (not their top/left/width/...). Every time I try to use those seemingly-convenient shorter forms, I get in trouble :-) 4. Design in some logging mechanism so that if something is going wrong, you can easily turn on logging and see what is happening, across ALL your resizing group / controls. 5. In the very rare occasions where there is need to cross the hierarchy as above, do it explicitly (e.g. I have a convention of sometimes having a handler "presizecontrol" which returns a *preferred* size or minimum size, which the upper levels of the hierarchy can use to check what lower layer groups would like to be, can adjust their decisions accordingly - and then resize ("set the rect ..") accordingly. Alex. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Thu Jun 3 12:41:46 2021 From: jiml at netrin.com (Jim Lambert) Date: Thu, 3 Jun 2021 09:41:46 -0700 Subject: workaround for cut-off text in native scroller? In-Reply-To: References: Message-ID: > Jacque wrote: > It's either the Flying Spaghetti Monster or fullscreenmode. ;) Flying Spaghetti Monster is what I call my code. Jim Lambert From curry at pair.com Fri Jun 4 13:24:01 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 4 Jun 2021 13:24:01 -0400 Subject: workaround for cut-off text in native scroller? In-Reply-To: References: Message-ID: <639e39c1-f745-c926-690f-b293e8868406@pair.com> Jacque wrote: > It's either the Flying Spaghetti Monster or fullscreenmode. ;) For Dawkins so loved the things of this world.... Might be good to steer away from such, and back to LC. :) Richard: > I'm still wondering why we're still scripting scroll regions at all. ... > I'm also wondering why I'm alone in wondering that... Why think you're alone, Brother Richard? Many are wondering. Besides some buggy implementations, many of LC's mobile features seem to ignore LC's own stated paradigm: cross-platform, "live" code. That's why I've often opted to use standard features instead. Write once, truly runs everywhere, including IDE. Very consistent. But of course tying the two together would be better still. Write once, run everywhere, with native quality and nuance. And the ability to easily switch back to standard features. (Thanks for preaching on this. I've been sick the whole week. So still in feverish lurk mode. But no, you're not alone! Take care.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From paul at researchware.com Sat Jun 5 14:10:37 2021 From: paul at researchware.com (Paul Dupuis) Date: Sat, 5 Jun 2021 14:10:37 -0400 Subject: number = layer? Message-ID: Here is a basic question I am not sure of (after decades of LC coding) and can't pin down in teh Dictionary If you execute "put the selectedChunk into X" then (assume a valid selection) X contains an expression of the form "char to of field " If I want to check that the selection is in one of a number of fields on my stack, say called "Address", is the following conditional correct? if word 7 of X = the layer of fld "Address" then -- the selection is in the address field In other words, is the returned by selectedChunk the same as the layer property of objects OR is it an index to the number of fields on that card (two different things if you have objects other than fields on the card) Any one know for sure? From sean at pidigital.co.uk Sat Jun 5 14:18:29 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Sat, 5 Jun 2021 19:18:29 +0100 Subject: number = layer? In-Reply-To: References: Message-ID: <54366CF4-D324-4B64-86E6-9BCC47AF7CDA@pidigital.co.uk> Hi Paul. Your field numbers will not be the same as layer numbers if anything else is in a layer between or before them. The better indicator would be If word 7 of X = the number of fld ?Address? then That will do what you are thinking I believe. Sean > On 5 Jun 2021, at 19:12, Paul Dupuis via use-livecode wrote: > > ?Here is a basic question I am not sure of (after decades of LC coding) and can't pin down in teh Dictionary > > If you execute "put the selectedChunk into X" then (assume a valid selection) X contains an expression of the form "char to of field " > > If I want to check that the selection is in one of a number of fields on my stack, say called "Address", is the following conditional correct? > > if word 7 of X = the layer of fld "Address" then -- the selection is in the address field > > In other words, is the returned by selectedChunk the same as the layer property of objects OR is it an index to the number of fields on that card (two different things if you have objects other than fields on the card) > > Any one know for sure? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Jun 5 14:57:35 2021 From: paul at researchware.com (Paul Dupuis) Date: Sat, 5 Jun 2021 14:57:35 -0400 Subject: number = layer? In-Reply-To: <54366CF4-D324-4B64-86E6-9BCC47AF7CDA@pidigital.co.uk> References: <54366CF4-D324-4B64-86E6-9BCC47AF7CDA@pidigital.co.uk> Message-ID: <4368ebf5-c51a-bd51-0ae0-626bd51e4c27@researchware.com> Thank you. When I looked up 'number" for a property of an object in the Dictionary the only entry I found for number was "the number of and all its variants - i.e counts. I must have just missed number as a property of a single object. On 6/5/2021 2:18 PM, Pi Digital via use-livecode wrote: > Hi Paul. > > Your field numbers will not be the same as layer numbers if anything else is in a layer between or before them. > > The better indicator would be > If word 7 of X = the number of fld ?Address? then > > That will do what you are thinking I believe. > > Sean > >> On 5 Jun 2021, at 19:12, Paul Dupuis via use-livecode wrote: >> >> ?Here is a basic question I am not sure of (after decades of LC coding) and can't pin down in teh Dictionary >> >> If you execute "put the selectedChunk into X" then (assume a valid selection) X contains an expression of the form "char to of field " >> >> If I want to check that the selection is in one of a number of fields on my stack, say called "Address", is the following conditional correct? >> >> if word 7 of X = the layer of fld "Address" then -- the selection is in the address field >> >> In other words, is the returned by selectedChunk the same as the layer property of objects OR is it an index to the number of fields on that card (two different things if you have objects other than fields on the card) >> >> Any one know for sure? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sun Jun 6 09:20:00 2021 From: klaus at major-k.de (Klaus major-k) Date: Sun, 6 Jun 2021 15:20:00 +0200 Subject: bordercolor of buttons Message-ID: Hi friends, bug or feature? I have a "roundrect" button and cannot set its BORDERCOLOR!? I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR. This is not the case if I set the buttons type to e.g. "rectangle", then the before set BORDERCOLOR will be displayed. No hint in the dictionary about this, so but or feature? :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From paul at researchware.com Sun Jun 6 16:21:30 2021 From: paul at researchware.com (Paul Dupuis) Date: Sun, 6 Jun 2021 16:21:30 -0400 Subject: Finding out what changes a custom property Message-ID: I have a stack with a custom property, hrStart. Somewhere is miles of code and messages flying everywhere, something is changing it that shouldn't. Is there an debugger feature or tip or trick anyone has that can do teh equivalent of set a break point when a property is changed and let me see the executionContexts to tell what the heck is changing it! Thanks in advance, From curry at pair.com Sun Jun 6 17:10:39 2021 From: curry at pair.com (Curry Kenworthy) Date: Sun, 6 Jun 2021 17:10:39 -0400 Subject: Finding out what changes a custom property In-Reply-To: References: Message-ID: Paul: > Is there an debugger feature or tip or trick anyone has > that can do the equivalent of set a break point when a property > is changed and let me see the executionContexts > to tell what the heck is changing it! Add a setprop with either a breakpoint and/or the executionContexts? Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From sean at pidigital.co.uk Sun Jun 6 17:11:13 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 6 Jun 2021 22:11:13 +0100 Subject: Finding out what changes a custom property In-Reply-To: References: Message-ID: Hi Paul, In the development menu, open 'message watcher'. That's helped me with exactly what you are looking for too. Fantastic tool. Sean On Sun, 6 Jun 2021 at 21:21, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > I have a stack with a custom property, hrStart. > > Somewhere is miles of code and messages flying everywhere, something is > changing it that shouldn't. > > Is there an debugger feature or tip or trick anyone has that can do teh > equivalent of set a break point when a property is changed and let me > see the executionContexts to tell what the heck is changing it! > > Thanks in advance, > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From curry at pair.com Sun Jun 6 17:17:02 2021 From: curry at pair.com (Curry Kenworthy) Date: Sun, 6 Jun 2021 17:17:02 -0400 Subject: number = layer? In-Reply-To: References: Message-ID: <6cb229d4-f2c3-ad4c-e0fa-2821a26a6181@pair.com> Paul: > if word 7 of X = the layer of fld "Address" then Sean: > If word 7 of X = the number of fld ?Address? then I prefer this: if short name of field N is "Address" then Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From sean at pidigital.co.uk Sun Jun 6 17:40:44 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 6 Jun 2021 22:40:44 +0100 Subject: bordercolor of buttons In-Reply-To: References: Message-ID: Klaus, Forecolor IS the border color. It always has been for shapes including circles, polygons and custom shapes. Buttons have a bordercolor property but only visible if 3d is off. Sean On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi friends, > > bug or feature? > > I have a "roundrect" button and cannot set its BORDERCOLOR!? > I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR. > > This is not the case if I set the buttons type to e.g. "rectangle", then > the before > set BORDERCOLOR will be displayed. > > No hint in the dictionary about this, so but or feature? :-) > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Sun Jun 6 22:41:22 2021 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 7 Jun 2021 02:41:22 +0000 Subject: Setting the browser widget user-agent to impersonate Chrome Message-ID: <6A69785A-C4A3-475B-8330-08872F799E68@unimelb.edu.au> I?m trying to get the browser widget to identify itself as Chrome so that I can (attempt to) load a particular site. Is there a trick to how you format the user-agent string when you set the widget?s user-agent in its object inspector or should I just be able to enter something along these lines? Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36 This doesn?t work BTW (the page I attempt to load tells me to get Chrome). Any ideas? Terry? From terry.judd at unimelb.edu.au Sun Jun 6 23:28:09 2021 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 7 Jun 2021 03:28:09 +0000 Subject: Setting the browser widget user-agent to impersonate Chrome In-Reply-To: <6A69785A-C4A3-475B-8330-08872F799E68@unimelb.edu.au> References: <6A69785A-C4A3-475B-8330-08872F799E68@unimelb.edu.au> Message-ID: Never mind - it seems to be working now __ ?On 7/6/21, 12:43 pm, "use-livecode on behalf of Terry Judd via use-livecode" wrote: I?m trying to get the browser widget to identify itself as Chrome so that I can (attempt to) load a particular site. Is there a trick to how you format the user-agent string when you set the widget?s user-agent in its object inspector or should I just be able to enter something along these lines? Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36 This doesn?t work BTW (the page I attempt to load tells me to get Chrome). Any ideas? Terry? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Mon Jun 7 09:29:48 2021 From: klaus at major-k.de (Klaus major-k) Date: Mon, 7 Jun 2021 15:29:48 +0200 Subject: bordercolor of buttons In-Reply-To: References: Message-ID: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> Hi Sean, > Am 06.06.2021 um 23:40 schrieb Sean Cole (Pi) via use-livecode : > > Klaus, > Forecolor IS the border color. It always has been for shapes including > circles, polygons and custom shapes. yes, but I was clearly referring to a button. > Buttons have a bordercolor property but only visible if 3d is off. AND if they are not "roundrect"! Then the BORDERCOLOR does nto work! It does if you switch to e.g. "rectangle". And that was puzzling me a bit. 8-) > Sean > > On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi friends, >> >> bug or feature? >> >> I have a "roundrect" button and cannot set its BORDERCOLOR!? >> I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR. >> >> This is not the case if I set the buttons type to e.g. "rectangle", then >> the before >> set BORDERCOLOR will be displayed. >> >> No hint in the dictionary about this, so but or feature? :-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From panos.merakos at livecode.com Mon Jun 7 10:33:24 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 7 Jun 2021 17:33:24 +0300 Subject: [ANN] This Week in LiveCode 268 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 #268 here: https://bit.ly/3vW6rIa 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 your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From prothero at earthlearningsolutions.org Mon Jun 7 10:53:46 2021 From: prothero at earthlearningsolutions.org (ELS Prothero) Date: Mon, 7 Jun 2021 08:53:46 -0600 Subject: bordercolor of buttons In-Reply-To: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> Message-ID: <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> Folks, This issue also confused me recently when I was making an app for my own use. It seems like an idiosyncrasy to me, even tho a pretty minor one that could be mentioned in the dictionary. Best, Bill William Prothero https://earthlearningsolutions.org > On Jun 7, 2021, at 7:30 AM, Klaus major-k via use-livecode wrote: > > ?Hi Sean, > >> Am 06.06.2021 um 23:40 schrieb Sean Cole (Pi) via use-livecode : >> >> Klaus, >> Forecolor IS the border color. It always has been for shapes including >> circles, polygons and custom shapes. > > yes, but I was clearly referring to a button. > >> Buttons have a bordercolor property but only visible if 3d is off. > > AND if they are not "roundrect"! > Then the BORDERCOLOR does nto work! > It does if you switch to e.g. "rectangle". > > And that was puzzling me a bit. 8-) > >> Sean >> >>> On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> Hi friends, >>> >>> bug or feature? >>> >>> I have a "roundrect" button and cannot set its BORDERCOLOR!? >>> I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR. >>> >>> This is not the case if I set the buttons type to e.g. "rectangle", then >>> the before >>> set BORDERCOLOR will be displayed. >>> >>> No hint in the dictionary about this, so but or feature? :-) > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Jun 7 11:12:20 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 7 Jun 2021 15:12:20 +0000 Subject: Finding out what changes a custom property In-Reply-To: References: Message-ID: Oooh never thought of that... so setprops get called before a property gets set? Bob S > On Jun 6, 2021, at 14:10 , Curry Kenworthy via use-livecode wrote: > > > Paul: > > > Is there an debugger feature or tip or trick anyone has > > that can do the equivalent of set a break point when a property > > is changed and let me see the executionContexts > > to tell what the heck is changing it! > > Add a setprop with either a breakpoint and/or the executionContexts? > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Jun 7 11:46:08 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 7 Jun 2021 11:46:08 -0400 Subject: Finding out what changes a custom property In-Reply-To: References: Message-ID: <007701d75bb4$3ed61f60$bc825e20$@net> Yes correct. FYI the set prop handler will not be called if messages are locked. Very convenient for a LIFO. Every set prop I add a line to the top of the property. The get prop handler returns the first line then deletes it. The deleting the first item(top line) can be done later if you want so to get the top item multiple times (Remember to lock messages to keep the set prop from being called when manually deleting the top line in the property). LC is a never ending well of cool things to increase productivity. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Monday, June 07, 2021 11:12 AM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Finding out what changes a custom property Oooh never thought of that... so setprops get called before a property gets set? Bob S > On Jun 6, 2021, at 14:10 , Curry Kenworthy via use-livecode wrote: > > > Paul: > > > Is there an debugger feature or tip or trick anyone has that can do > > the equivalent of set a break point when a property is changed and > > let me see the executionContexts to tell what the heck is changing > > it! > > Add a setprop with either a breakpoint and/or the executionContexts? > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at livecode.org Tue Jun 8 23:35:39 2021 From: paul at livecode.org (Paul Hibbert) Date: Tue, 8 Jun 2021 20:35:39 -0700 Subject: bordercolor of buttons In-Reply-To: <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> Message-ID: Like Sean points out, this is caused by the ?threeD? property being on. I don?t think it?s a bug, it?s just the nature of the beast, I seem to remember that the threeD effect is generated by pre-made graphics or images, although I may be totally wrong. It would be useful if this kind of info was in the dictionary, then we wouldn?t be forced to rely on ageing grey matter quite so much. Anyway, the way I have managed to overcome this in the past is to use an Inner Glow effect set to 1 or 2 pixels. You can also add a 1px Outer Glow for a more intense colour effect. You have to be aware that it is adding colour to grey, so it?s not perfect, but it does allow you to use some colour on the border of a standard button while keeping the rounded corners and threeD effect. I totally agree that setting the "Border Color" Property would be much easier though. Pau > On 7Jun, 2021, at 7:53 AM, ELS Prothero via use-livecode wrote: > > Folks, > This issue also confused me recently when I was making an app for my own use. It seems like an idiosyncrasy to me, even tho a pretty minor one that could be mentioned in the dictionary. > Best, > Bill > > William Prothero > https://earthlearningsolutions.org > >> On Jun 7, 2021, at 7:30 AM, Klaus major-k via use-livecode wrote: >> >> ?Hi Sean, >> >>> Am 06.06.2021 um 23:40 schrieb Sean Cole (Pi) via use-livecode : >>> >>> Klaus, >>> Forecolor IS the border color. It always has been for shapes including >>> circles, polygons and custom shapes. >> >> yes, but I was clearly referring to a button. >> >>> Buttons have a bordercolor property but only visible if 3d is off. >> >> AND if they are not "roundrect"! >> Then the BORDERCOLOR does nto work! >> It does if you switch to e.g. "rectangle". >> >> And that was puzzling me a bit. 8-) >> >>> Sean >>> >>>> On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hi friends, >>>> >>>> bug or feature? >>>> >>>> I have a "roundrect" button and cannot set its BORDERCOLOR!? >>>> I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR. >>>> >>>> This is not the case if I set the buttons type to e.g. "rectangle", then >>>> the before >>>> set BORDERCOLOR will be displayed. >>>> >>>> No hint in the dictionary about this, so but or feature? :-) >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Jun 9 00:54:19 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Jun 2021 23:54:19 -0500 Subject: bordercolor of buttons In-Reply-To: References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> Message-ID: <179ef1f0878.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I usually just use a graphic instead of a button. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 8, 2021 10:37:49 PM Paul Hibbert via use-livecode wrote: > Like Sean points out, this is caused by the ?threeD? property being on. > > I don?t think it?s a bug, it?s just the nature of the beast, I seem to > remember that the threeD effect is generated by pre-made graphics or > images, although I may be totally wrong. It would be useful if this kind of > info was in the dictionary, then we wouldn?t be forced to rely on ageing > grey matter quite so much. > > Anyway, the way I have managed to overcome this in the past is to use an > Inner Glow effect set to 1 or 2 pixels. You can also add a 1px Outer Glow > for a more intense colour effect. You have to be aware that it is adding > colour to grey, so it?s not perfect, but it does allow you to use some > colour on the border of a standard button while keeping the rounded corners > and threeD effect. > > I totally agree that setting the "Border Color" Property would be much > easier though. > > Pau > >> On 7Jun, 2021, at 7:53 AM, ELS Prothero via use-livecode >> wrote: >> >> Folks, >> This issue also confused me recently when I was making an app for my own >> use. It seems like an idiosyncrasy to me, even tho a pretty minor one that >> could be mentioned in the dictionary. >> Best, >> Bill >> >> William Prothero >> https://earthlearningsolutions.org >> >>> On Jun 7, 2021, at 7:30 AM, Klaus major-k via use-livecode >>> wrote: >>> >>> ?Hi Sean, >>> >>>> Am 06.06.2021 um 23:40 schrieb Sean Cole (Pi) via use-livecode >>>> : >>>> >>>> Klaus, >>>> Forecolor IS the border color. It always has been for shapes including >>>> circles, polygons and custom shapes. >>> >>> yes, but I was clearly referring to a button. >>> >>>> Buttons have a bordercolor property but only visible if 3d is off. >>> >>> AND if they are not "roundrect"! >>> Then the BORDERCOLOR does nto work! >>> It does if you switch to e.g. "rectangle". >>> >>> And that was puzzling me a bit. 8-) >>> >>>> Sean >>>> >>>>> On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Hi friends, >>>>> >>>>> bug or feature? >>>>> >>>>> I have a "roundrect" button and cannot set its BORDERCOLOR!? >>>>> I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR. >>>>> >>>>> This is not the case if I set the buttons type to e.g. "rectangle", then >>>>> the before >>>>> set BORDERCOLOR will be displayed. >>>>> >>>>> No hint in the dictionary about this, so but or feature? :-) >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> https://www.major-k.de/bass >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Jun 9 04:09:51 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 9 Jun 2021 10:09:51 +0200 Subject: bordercolor of buttons In-Reply-To: References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> Message-ID: Hi Paul, > Am 09.06.2021 um 05:35 schrieb Paul Hibbert via use-livecode : > > Like Sean points out, this is caused by the ?threeD? property being on. I was not talking about a button with its 3D is ON! Is nobody reading what I write? Create a button of type "roundrect" Uncheck 3D Set its BORDERCOLOR No change in bordercolor Switch that buttons STYLE to "rectangle" Et voila, now we can see the bordercolor! Switch STYLE back to "roundrect" and if we now change the FOREGROUNDCOLOR that will also affect the BORDER. I do not need a workaround, I just want to know if this is a bug or feature! > ... > I totally agree that setting the "Border Color" Property would be much easier though. So you also think this is not working as exspected, right? 8-) > Paul > >> On 7Jun, 2021, at 7:53 AM, ELS Prothero via use-livecode wrote: >> >> Folks, >> This issue also confused me recently when I was making an app for my own use. It seems like an idiosyncrasy to me, even tho a pretty minor one that could be mentioned in the dictionary. >> Best, >> Bill >> >> William Prothero >> https://earthlearningsolutions.org >> >>> On Jun 7, 2021, at 7:30 AM, Klaus major-k via use-livecode wrote: >>> >>> ?Hi Sean, >>> >>>> Am 06.06.2021 um 23:40 schrieb Sean Cole (Pi) via use-livecode : >>>> >>>> Klaus, >>>> Forecolor IS the border color. It always has been for shapes including >>>> circles, polygons and custom shapes. >>> >>> yes, but I was clearly referring to a button. >>> >>>> Buttons have a bordercolor property but only visible if 3d is off. >>> >>> AND if they are not "roundrect"! >>> Then the BORDERCOLOR does nto work! >>> It does if you switch to e.g. "rectangle". >>> >>> And that was puzzling me a bit. 8-) >>> >>>> Sean >>>> >>>>> On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Hi friends, >>>>> >>>>> bug or feature? >>>>> >>>>> I have a "roundrect" button and cannot set its BORDERCOLOR!? >>>>> I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR. >>>>> >>>>> This is not the case if I set the buttons type to e.g. "rectangle", then >>>>> the before set BORDERCOLOR will be displayed.... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From iowahengst at mac.com Wed Jun 9 08:31:56 2021 From: iowahengst at mac.com (Randy Hengst) Date: Wed, 9 Jun 2021 07:31:56 -0500 Subject: bordercolor of buttons In-Reply-To: References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> Message-ID: <803EBD32-D4BE-4ACF-B108-A1EB868BB98B@mac.com> Klaus, Your first message didn?t indicate that you?d unchecked 3D? But, I see what you?re seeing. Given that the same options appear for the ?color? of both types of buttons, I?d call it a bug. randy ----- > On Jun 9, 2021, at 3:09 AM, Klaus major-k via use-livecode wrote: > > Hi Paul, > >> Am 09.06.2021 um 05:35 schrieb Paul Hibbert via use-livecode : >> >> Like Sean points out, this is caused by the ?threeD? property being on. > > I was not talking about a button with its 3D is ON! > Is nobody reading what I write? > > Create a button of type "roundrect" > Uncheck 3D > Set its BORDERCOLOR > No change in bordercolor > > Switch that buttons STYLE to "rectangle" > Et voila, now we can see the bordercolor! > > Switch STYLE back to "roundrect" and if we now change the FOREGROUNDCOLOR > that will also affect the BORDER. > > I do not need a workaround, I just want to know if this is a bug or feature! > >> ... >> I totally agree that setting the "Border Color" Property would be much easier though. > > So you also think this is not working as exspected, right? 8-) > >> Paul > >> >>> On 7Jun, 2021, at 7:53 AM, ELS Prothero via use-livecode wrote: >>> >>> Folks, >>> This issue also confused me recently when I was making an app for my own use. It seems like an idiosyncrasy to me, even tho a pretty minor one that could be mentioned in the dictionary. >>> Best, >>> Bill >>> >>> William Prothero >>> https://earthlearningsolutions.org >>> >>>> On Jun 7, 2021, at 7:30 AM, Klaus major-k via use-livecode wrote: >>>> >>>> ?Hi Sean, >>>> >>>>> Am 06.06.2021 um 23:40 schrieb Sean Cole (Pi) via use-livecode : >>>>> >>>>> Klaus, >>>>> Forecolor IS the border color. It always has been for shapes including >>>>> circles, polygons and custom shapes. >>>> >>>> yes, but I was clearly referring to a button. >>>> >>>>> Buttons have a bordercolor property but only visible if 3d is off. >>>> >>>> AND if they are not "roundrect"! >>>> Then the BORDERCOLOR does nto work! >>>> It does if you switch to e.g. "rectangle". >>>> >>>> And that was puzzling me a bit. 8-) >>>> >>>>> Sean >>>>> >>>>>> On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Hi friends, >>>>>> >>>>>> bug or feature? >>>>>> >>>>>> I have a "roundrect" button and cannot set its BORDERCOLOR!? >>>>>> I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR. >>>>>> >>>>>> This is not the case if I set the buttons type to e.g. "rectangle", then >>>>>> the before set BORDERCOLOR will be displayed.... > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Jun 9 08:42:42 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 9 Jun 2021 14:42:42 +0200 Subject: bordercolor of buttons In-Reply-To: <803EBD32-D4BE-4ACF-B108-A1EB868BB98B@mac.com> References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> <803EBD32-D4BE-4ACF-B108-A1EB868BB98B@mac.com> Message-ID: Hi Randy, > Am 09.06.2021 um 14:31 schrieb Randy Hengst via use-livecode : > > Klaus, > > Your first message didn?t indicate that you?d unchecked 3D? true, but also did not mention that I HAD checked 3D. :-D I was hoping the context would tell... > But, I see what you?re seeing. Given that the same options appear for the ?color? of both types of buttons, I?d call it a bug. Thank you! > randy Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From sean at pidigital.co.uk Wed Jun 9 08:49:02 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 9 Jun 2021 13:49:02 +0100 Subject: bordercolor of buttons In-Reply-To: References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> Message-ID: Hi Klaus, Very much a 'feature' in heavy inverted commas. I've tested as far back as 5.0.2 and it has ALWAYS been this way. Round rect button borders are set using the forecolor, not the border colour. If this were a 'bug' I'm sure it would have been noted as such somewhere in the quality sub-site. It is not a 'feature' that seems intuitive or even correct, but it is the way it has always operated until now. Some 'incorrect' functionality just has to remain the same to maintain the status quo. I, for one, however, would prefer it if it were made consistent with other buttons. It is not clear 'why' it is the way it is. Sean On Wed, 9 Jun 2021 at 09:09, Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Paul, > > > Am 09.06.2021 um 05:35 schrieb Paul Hibbert via use-livecode < > use-livecode at lists.runrev.com>: > > > > Like Sean points out, this is caused by the ?threeD? property being on. > > I was not talking about a button with its 3D is ON! > Is nobody reading what I write? > > Create a button of type "roundrect" > Uncheck 3D > Set its BORDERCOLOR > No change in bordercolor > > Switch that buttons STYLE to "rectangle" > Et voila, now we can see the bordercolor! > > Switch STYLE back to "roundrect" and if we now change the FOREGROUNDCOLOR > that will also affect the BORDER. > > I do not need a workaround, I just want to know if this is a bug or > feature! > > > ... > > I totally agree that setting the "Border Color" Property would be much > easier though. > > So you also think this is not working as exspected, right? 8-) > > > Paul > > > > >> On 7Jun, 2021, at 7:53 AM, ELS Prothero via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Folks, > >> This issue also confused me recently when I was making an app for my > own use. It seems like an idiosyncrasy to me, even tho a pretty minor one > that could be mentioned in the dictionary. > >> Best, > >> Bill > >> > >> William Prothero > >> https://earthlearningsolutions.org > >> > >>> On Jun 7, 2021, at 7:30 AM, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> ?Hi Sean, > >>> > >>>> Am 06.06.2021 um 23:40 schrieb Sean Cole (Pi) via use-livecode < > use-livecode at lists.runrev.com>: > >>>> > >>>> Klaus, > >>>> Forecolor IS the border color. It always has been for shapes including > >>>> circles, polygons and custom shapes. > >>> > >>> yes, but I was clearly referring to a button. > >>> > >>>> Buttons have a bordercolor property but only visible if 3d is off. > >>> > >>> AND if they are not "roundrect"! > >>> Then the BORDERCOLOR does nto work! > >>> It does if you switch to e.g. "rectangle". > >>> > >>> And that was puzzling me a bit. 8-) > >>> > >>>> Sean > >>>> > >>>>> On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode < > >>>>> use-livecode at lists.runrev.com> wrote: > >>>>> > >>>>> Hi friends, > >>>>> > >>>>> bug or feature? > >>>>> > >>>>> I have a "roundrect" button and cannot set its BORDERCOLOR!? > >>>>> I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR. > >>>>> > >>>>> This is not the case if I set the buttons type to e.g. "rectangle", > then > >>>>> the before set BORDERCOLOR will be displayed.... > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Wed Jun 9 10:08:13 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 9 Jun 2021 16:08:13 +0200 Subject: bordercolor of buttons In-Reply-To: References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> Message-ID: <2FA5E27B-3AFD-4A21-B92F-1322D8D2F1D7@major-k.de> Hi all, looks like there is a (related) report already: > Am 09.06.2021 um 14:49 schrieb Sean Cole (Pi) via use-livecode : > > Hi Klaus, > > Very much a 'feature' in heavy inverted commas. I've tested as far back as > 5.0.2 and it has ALWAYS been this way. Round rect button borders are set > using the forecolor, not the border colour. If this were a 'bug' I'm sure > it would have been noted as such somewhere in the quality sub-site. It is > not a 'feature' that seems intuitive or even correct, but it is the way it > has always operated until now. Some 'incorrect' functionality just has to > remain the same to maintain the status quo. I, for one, however, would > prefer it if it were made consistent with other buttons. It is not clear > 'why' it is the way it is. > > Sean > > On Wed, 9 Jun 2021 at 09:09, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Paul, >> >>> Am 09.06.2021 um 05:35 schrieb Paul Hibbert via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Like Sean points out, this is caused by the ?threeD? property being on. >> >> I was not talking about a button with its 3D is ON! >> Is nobody reading what I write? >> >> Create a button of type "roundrect" >> Uncheck 3D >> Set its BORDERCOLOR >> No change in bordercolor >> >> Switch that buttons STYLE to "rectangle" >> Et voila, now we can see the bordercolor! >> >> Switch STYLE back to "roundrect" and if we now change the FOREGROUNDCOLOR >> that will also affect the BORDER. >> >> I do not need a workaround, I just want to know if this is a bug or >> feature! >> >>> ... >>> I totally agree that setting the "Border Color" Property would be much >> easier though. >> >> So you also think this is not working as exspected, right? 8-) >> >>> Paul >> >>> >>>> On 7Jun, 2021, at 7:53 AM, ELS Prothero via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Folks, >>>> This issue also confused me recently when I was making an app for my >> own use. It seems like an idiosyncrasy to me, even tho a pretty minor one >> that could be mentioned in the dictionary. >>>> Best, >>>> Bill >>>> >>>> William Prothero >>>> https://earthlearningsolutions.org >>>> >>>>> On Jun 7, 2021, at 7:30 AM, Klaus major-k via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> ?Hi Sean, >>>>> >>>>>> Am 06.06.2021 um 23:40 schrieb Sean Cole (Pi) via use-livecode < >> use-livecode at lists.runrev.com>: >>>>>> >>>>>> Klaus, >>>>>> Forecolor IS the border color. It always has been for shapes including >>>>>> circles, polygons and custom shapes. >>>>> >>>>> yes, but I was clearly referring to a button. >>>>> >>>>>> Buttons have a bordercolor property but only visible if 3d is off. >>>>> >>>>> AND if they are not "roundrect"! >>>>> Then the BORDERCOLOR does nto work! >>>>> It does if you switch to e.g. "rectangle". >>>>> >>>>> And that was puzzling me a bit. 8-) >>>>> >>>>>> Sean >>>>>> >>>>>>> On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode < >>>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>> >>>>>>> Hi friends, >>>>>>> >>>>>>> bug or feature? >>>>>>> >>>>>>> I have a "roundrect" button and cannot set its BORDERCOLOR!? >>>>>>> I have to set the FOREGROUNDCOLOR which also affects its BORDERCOLOR. >>>>>>> >>>>>>> This is not the case if I set the buttons type to e.g. "rectangle", >> then >>>>>>> the before set BORDERCOLOR will be displayed.... Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From MikeKerner at roadrunner.com Wed Jun 9 10:58:20 2021 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 9 Jun 2021 10:58:20 -0400 Subject: bordercolor of buttons In-Reply-To: <2FA5E27B-3AFD-4A21-B92F-1322D8D2F1D7@major-k.de> References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> <2FA5E27B-3AFD-4A21-B92F-1322D8D2F1D7@major-k.de> Message-ID: i wish we had tmc3 On Wed, Jun 9, 2021 at 10:09 AM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > looks like there is a (related) report already: > > > > Am 09.06.2021 um 14:49 schrieb Sean Cole (Pi) via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Klaus, > > > > Very much a 'feature' in heavy inverted commas. I've tested as far back > as > > 5.0.2 and it has ALWAYS been this way. Round rect button borders are set > > using the forecolor, not the border colour. If this were a 'bug' I'm sure > > it would have been noted as such somewhere in the quality sub-site. It is > > not a 'feature' that seems intuitive or even correct, but it is the way > it > > has always operated until now. Some 'incorrect' functionality just has to > > remain the same to maintain the status quo. I, for one, however, would > > prefer it if it were made consistent with other buttons. It is not clear > > 'why' it is the way it is. > > > > Sean > > > > On Wed, 9 Jun 2021 at 09:09, Klaus major-k via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Hi Paul, > >> > >>> Am 09.06.2021 um 05:35 schrieb Paul Hibbert via use-livecode < > >> use-livecode at lists.runrev.com>: > >>> > >>> Like Sean points out, this is caused by the ?threeD? property being on. > >> > >> I was not talking about a button with its 3D is ON! > >> Is nobody reading what I write? > >> > >> Create a button of type "roundrect" > >> Uncheck 3D > >> Set its BORDERCOLOR > >> No change in bordercolor > >> > >> Switch that buttons STYLE to "rectangle" > >> Et voila, now we can see the bordercolor! > >> > >> Switch STYLE back to "roundrect" and if we now change the > FOREGROUNDCOLOR > >> that will also affect the BORDER. > >> > >> I do not need a workaround, I just want to know if this is a bug or > >> feature! > >> > >>> ... > >>> I totally agree that setting the "Border Color" Property would be much > >> easier though. > >> > >> So you also think this is not working as exspected, right? 8-) > >> > >>> Paul > >> > >>> > >>>> On 7Jun, 2021, at 7:53 AM, ELS Prothero via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Folks, > >>>> This issue also confused me recently when I was making an app for my > >> own use. It seems like an idiosyncrasy to me, even tho a pretty minor > one > >> that could be mentioned in the dictionary. > >>>> Best, > >>>> Bill > >>>> > >>>> William Prothero > >>>> https://earthlearningsolutions.org > >>>> > >>>>> On Jun 7, 2021, at 7:30 AM, Klaus major-k via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>>>> > >>>>> ?Hi Sean, > >>>>> > >>>>>> Am 06.06.2021 um 23:40 schrieb Sean Cole (Pi) via use-livecode < > >> use-livecode at lists.runrev.com>: > >>>>>> > >>>>>> Klaus, > >>>>>> Forecolor IS the border color. It always has been for shapes > including > >>>>>> circles, polygons and custom shapes. > >>>>> > >>>>> yes, but I was clearly referring to a button. > >>>>> > >>>>>> Buttons have a bordercolor property but only visible if 3d is off. > >>>>> > >>>>> AND if they are not "roundrect"! > >>>>> Then the BORDERCOLOR does nto work! > >>>>> It does if you switch to e.g. "rectangle". > >>>>> > >>>>> And that was puzzling me a bit. 8-) > >>>>> > >>>>>> Sean > >>>>>> > >>>>>>> On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode < > >>>>>>> use-livecode at lists.runrev.com> wrote: > >>>>>>> > >>>>>>> Hi friends, > >>>>>>> > >>>>>>> bug or feature? > >>>>>>> > >>>>>>> I have a "roundrect" button and cannot set its BORDERCOLOR!? > >>>>>>> I have to set the FOREGROUNDCOLOR which also affects its > BORDERCOLOR. > >>>>>>> > >>>>>>> This is not the case if I set the buttons type to e.g. "rectangle", > >> then > >>>>>>> the before set BORDERCOLOR will be displayed.... > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 dvglasgow at gmail.com Wed Jun 9 13:03:25 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Wed, 9 Jun 2021 18:03:25 +0100 Subject: Replacetext of any characters between parentheses with a space In-Reply-To: References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> <2FA5E27B-3AFD-4A21-B92F-1322D8D2F1D7@major-k.de> Message-ID: <0E938621-D146-4AE3-915B-604F28EA1760@gmail.com> LC coders, please tell me why this won?t work! My guess is that this is a regex issue, not LC, but I am so stuck. I want to replace all text within in parentheses (including the parentheses) with a single space. I have tried assembling the matchExpression in advance and in line, and also escaping the parentheses just in case they are reserved in regex. Or do I need to enclose the matchExpression in something other than or in addition to, quotes? on mouseup put field "import" into timport replacetext (timport, "(.*)", " ") put timport into field "import" end mouseup I get the less than inspiring: execution error at line 3 (Handler: can't find handler) near "replacetext", char 1 Best Wishes, David Glasgow From paul at researchware.com Wed Jun 9 13:10:38 2021 From: paul at researchware.com (Paul Dupuis) Date: Wed, 9 Jun 2021 13:10:38 -0400 Subject: Replacetext of any characters between parentheses with a space In-Reply-To: <0E938621-D146-4AE3-915B-604F28EA1760@gmail.com> References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> <2FA5E27B-3AFD-4A21-B92F-1322D8D2F1D7@major-k.de> <0E938621-D146-4AE3-915B-604F28EA1760@gmail.com> Message-ID: On 6/9/2021 1:03 PM, David V Glasgow via use-livecode wrote: > on mouseup > > put field "import" into timport > > replacetext (timport, "(.*)", " ") > > put timport into field "import" > > end mouseup replaceText is a function, not a command, so on mouseup put field "import" into timport put replacetext(timport,"(.*)"," ") into field "import" end mouseup From dvglasgow at gmail.com Wed Jun 9 13:17:34 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Wed, 9 Jun 2021 18:17:34 +0100 Subject: Replacetext of any characters between parentheses with a space In-Reply-To: References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> <2FA5E27B-3AFD-4A21-B92F-1322D8D2F1D7@major-k.de> <0E938621-D146-4AE3-915B-604F28EA1760@gmail.com> Message-ID: <5E7129BE-3E4A-4B09-B6AB-202B95E4B95E@gmail.com> D?Oh! Thanks Paul. Much appreciated. Cheers David G > On 9 Jun 2021, at 6:10 pm, Paul Dupuis via use-livecode wrote: > > On 6/9/2021 1:03 PM, David V Glasgow via use-livecode wrote: >> on mouseup >> >> put field "import" into timport >> >> replacetext (timport, "(.*)", " ") >> >> put timport into field "import" >> >> end mouseup > > replaceText is a function, not a command, so > > on mouseup > put field "import" into timport > put replacetext(timport,"(.*)"," ") into field "import" > end mouseup > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Wed Jun 9 14:04:14 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 9 Jun 2021 19:04:14 +0100 Subject: Collaborative help request for oAuth2 access to DocuSign Message-ID: Hi All, Until now I have been using SOAP to connect to Docusign without the need for oAuth2. However, they will soon (August 16th, 2021) require oAuth2 entry. To make it easier for us to play together, I've created a temp gmail and DocuSign account. The code I'm using is as follows: // local sDocuSignAuth on es_DocuSignTest put "http://account-d.docusign.com/oauth/auth" into tAuthURL -- // account-d DURING TESTING / account WHEN LIVE // put "http://account-d.docusign.com/oauth/token" into tTokenURL put "e36917d4-72be-4924-aced-3e75844080a2" into tClientID // LCTest put "0493edd9-a8a6-431e-a64e-2d6f162ca98b" into tClientSecret // LCTest put "signature" into tScopes put "58081" into tPort // Redirect uri set to 'http://127.0.0.1:58081' put "code" into tParamsA["response_type"] -- put "pi.lc.apitest at gmail.com" into tUser // Docusign test account put "lctestaccount" into tPass // Docusign test account -- if sDocuSignAuth is empty then OAuth2 tAuthURL, tTokenURL, tClientID, tClientSecret, tScopes, "58081", tParamsA put the result &cr& it if the result is not empty then return "Not authorized!" for error else put it into sDocuSignAuth end if end if end es_DocuSignTest // You can log in to the DocuSign account using those credentials if you feel the need. As you will find when you try the code, the oAuth window comes up, you log in, but it never responds with the Token or the redirect uri. So I don't know what I'm missing or how to fix it. Perhaps by getting this one sorted out we can have a definitive method for any API. Thanks for any help. Sean From matthias_livecode_150811 at m-r-d.de Wed Jun 9 15:15:31 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Jun 2021 21:15:31 +0200 Subject: Collaborative help request for oAuth2 access to DocuSign In-Reply-To: References: Message-ID: <88D3EA3B-63B6-498D-B8CD-CBD8D220C021@m-r-d.de> Tried it here with your script, but currently the 'login" page shows an additional text in red saying "DocuSign is temporarily unavailable. Please try again momentarily.". > Am 09.06.2021 um 20:04 schrieb Sean Cole (Pi) via use-livecode : > > Hi All, > > Until now I have been using SOAP to connect to Docusign without the need > for oAuth2. However, they will soon (August 16th, 2021) require oAuth2 > entry. > > To make it easier for us to play together, I've created a temp gmail and > DocuSign account. The code I'm using is as follows: > > // > local sDocuSignAuth > on es_DocuSignTest > put "http://account-d.docusign.com/oauth/auth" into tAuthURL -- // > account-d DURING TESTING / account WHEN LIVE // > put "http://account-d.docusign.com/oauth/token" into tTokenURL > put "e36917d4-72be-4924-aced-3e75844080a2" into tClientID // LCTest > put "0493edd9-a8a6-431e-a64e-2d6f162ca98b" into tClientSecret // LCTest > put "signature" into tScopes > put "58081" into tPort // Redirect uri set to 'http://127.0.0.1:58081' > put "code" into tParamsA["response_type"] > -- > put "pi.lc.apitest at gmail.com" into tUser // Docusign test account > put "lctestaccount" into tPass // Docusign test account > -- > if sDocuSignAuth is empty then > OAuth2 tAuthURL, tTokenURL, tClientID, tClientSecret, tScopes, > "58081", tParamsA > put the result &cr& it > if the result is not empty then > return "Not authorized!" for error > else > put it into sDocuSignAuth > end if > end if > end es_DocuSignTest > // > > You can log in to the DocuSign account using those credentials if you feel > the need. > > As you will find when you try the code, the oAuth window comes up, you log > in, but it never responds with the Token or the redirect uri. So I don't > know what I'm missing or how to fix it. Perhaps by getting this one sorted > out we can have a definitive method for any API. > > Thanks for any help. > > Sean > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Jun 9 15:17:54 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 9 Jun 2021 21:17:54 +0200 Subject: Collaborative help request for oAuth2 access to DocuSign In-Reply-To: <88D3EA3B-63B6-498D-B8CD-CBD8D220C021@m-r-d.de> References: <88D3EA3B-63B6-498D-B8CD-CBD8D220C021@m-r-d.de> Message-ID: <466B73E4-E696-4357-BB6D-3884298EDF2F@m-r-d.de> I pressed the send button to early... When i continue, i got logged in and see the normal developer account page in the "oauth" window. > Am 09.06.2021 um 21:15 schrieb matthias_livecode_150811 at m-r-d.de: > > Tried it here with your script, but currently the 'login" page shows an additional text in red saying "DocuSign is temporarily unavailable. Please try again momentarily.". > > > > >> Am 09.06.2021 um 20:04 schrieb Sean Cole (Pi) via use-livecode : >> >> Hi All, >> >> Until now I have been using SOAP to connect to Docusign without the need >> for oAuth2. However, they will soon (August 16th, 2021) require oAuth2 >> entry. >> >> To make it easier for us to play together, I've created a temp gmail and >> DocuSign account. The code I'm using is as follows: >> >> // >> local sDocuSignAuth >> on es_DocuSignTest >> put "http://account-d.docusign.com/oauth/auth" into tAuthURL -- // >> account-d DURING TESTING / account WHEN LIVE // >> put "http://account-d.docusign.com/oauth/token" into tTokenURL >> put "e36917d4-72be-4924-aced-3e75844080a2" into tClientID // LCTest >> put "0493edd9-a8a6-431e-a64e-2d6f162ca98b" into tClientSecret // LCTest >> put "signature" into tScopes >> put "58081" into tPort // Redirect uri set to 'http://127.0.0.1:58081' >> put "code" into tParamsA["response_type"] >> -- >> put "pi.lc.apitest at gmail.com" into tUser // Docusign test account >> put "lctestaccount" into tPass // Docusign test account >> -- >> if sDocuSignAuth is empty then >> OAuth2 tAuthURL, tTokenURL, tClientID, tClientSecret, tScopes, >> "58081", tParamsA >> put the result &cr& it >> if the result is not empty then >> return "Not authorized!" for error >> else >> put it into sDocuSignAuth >> end if >> end if >> end es_DocuSignTest >> // >> >> You can log in to the DocuSign account using those credentials if you feel >> the need. >> >> As you will find when you try the code, the oAuth window comes up, you log >> in, but it never responds with the Token or the redirect uri. So I don't >> know what I'm missing or how to fix it. Perhaps by getting this one sorted >> out we can have a definitive method for any API. >> >> Thanks for any help. >> >> Sean >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Wed Jun 9 15:31:40 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 9 Jun 2021 20:31:40 +0100 Subject: Collaborative help request for oAuth2 access to DocuSign In-Reply-To: <466B73E4-E696-4357-BB6D-3884298EDF2F@m-r-d.de> References: <466B73E4-E696-4357-BB6D-3884298EDF2F@m-r-d.de> Message-ID: <51459489-E1EE-4838-8C6B-1E33F912511C@pidigital.co.uk> Yep, exactly. So that is where DocuSign should send back a redirect that is picked up by the oAuth2 LC library. From there it should continue with the LC code. But the only way out at the moment is to press Cancel. I think the red message is not relevant as it always seems to be there. What I?m hoping for is that Monte sees this thread and points us in the right direction as the clued in one for this library. But if anyone else already has experience that too may be helpful. Thanks for giving it a go Matthias. Sean > On 9 Jun 2021, at 20:19, matthias rebbe via use-livecode wrote: > > ?I pressed the send button to early... > > When i continue, i got logged in and see the normal developer account page in the "oauth" window. > > >> Am 09.06.2021 um 21:15 schrieb matthias_livecode_150811 at m-r-d.de: >> >> Tried it here with your script, but currently the 'login" page shows an additional text in red saying "DocuSign is temporarily unavailable. Please try again momentarily.". >> >> >> >> >>>> Am 09.06.2021 um 20:04 schrieb Sean Cole (Pi) via use-livecode : >>> >>> Hi All, >>> >>> Until now I have been using SOAP to connect to Docusign without the need >>> for oAuth2. However, they will soon (August 16th, 2021) require oAuth2 >>> entry. >>> >>> To make it easier for us to play together, I've created a temp gmail and >>> DocuSign account. The code I'm using is as follows: >>> >>> // >>> local sDocuSignAuth >>> on es_DocuSignTest >>> put "http://account-d.docusign.com/oauth/auth" into tAuthURL -- // >>> account-d DURING TESTING / account WHEN LIVE // >>> put "http://account-d.docusign.com/oauth/token" into tTokenURL >>> put "e36917d4-72be-4924-aced-3e75844080a2" into tClientID // LCTest >>> put "0493edd9-a8a6-431e-a64e-2d6f162ca98b" into tClientSecret // LCTest >>> put "signature" into tScopes >>> put "58081" into tPort // Redirect uri set to 'http://127.0.0.1:58081' >>> put "code" into tParamsA["response_type"] >>> -- >>> put "pi.lc.apitest at gmail.com" into tUser // Docusign test account >>> put "lctestaccount" into tPass // Docusign test account >>> -- >>> if sDocuSignAuth is empty then >>> OAuth2 tAuthURL, tTokenURL, tClientID, tClientSecret, tScopes, >>> "58081", tParamsA >>> put the result &cr& it >>> if the result is not empty then >>> return "Not authorized!" for error >>> else >>> put it into sDocuSignAuth >>> end if >>> end if >>> end es_DocuSignTest >>> // >>> >>> You can log in to the DocuSign account using those credentials if you feel >>> the need. >>> >>> As you will find when you try the code, the oAuth window comes up, you log >>> in, but it never responds with the Token or the redirect uri. So I don't >>> know what I'm missing or how to fix it. Perhaps by getting this one sorted >>> out we can have a definitive method for any API. >>> >>> Thanks for any help. >>> >>> Sean >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Jun 10 04:10:04 2021 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 10 Jun 2021 11:10:04 +0300 Subject: Replacetext of any characters between parentheses with a space In-Reply-To: <0E938621-D146-4AE3-915B-604F28EA1760@gmail.com> References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> <2FA5E27B-3AFD-4A21-B92F-1322D8D2F1D7@major-k.de> <0E938621-D146-4AE3-915B-604F28EA1760@gmail.com> Message-ID: Well, at the rsik of getting things wrong, here's my attempt: https://forums.livecode.com/viewtopic.php?f=7&t=35951 Richmond. On Wed, Jun 9, 2021 at 8:05 PM David V Glasgow via use-livecode < use-livecode at lists.runrev.com> wrote: > LC coders, please tell me why this won?t work! My guess is that this is a > regex issue, not LC, but I am so stuck. > > I want to replace all text within in parentheses (including the > parentheses) with a single space. I have tried assembling the > matchExpression in advance and in line, and also escaping the parentheses > just in case they are reserved in regex. Or do I need to enclose the > matchExpression in something other than or in addition to, quotes? > > on mouseup > > put field "import" into timport > > replacetext (timport, "(.*)", " ") > > put timport into field "import" > > end mouseup > > > I get the less than inspiring: > > execution error at line 3 (Handler: can't find handler) near > "replacetext", char 1 > > > > Best Wishes, > > David Glasgow > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- This communication may be unlawfully collected and stored by the Agents of a large number of governments in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From dvglasgow at gmail.com Thu Jun 10 05:11:12 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 10 Jun 2021 10:11:12 +0100 Subject: Replacetext of any characters between parentheses with a space In-Reply-To: References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> <2FA5E27B-3AFD-4A21-B92F-1322D8D2F1D7@major-k.de> <0E938621-D146-4AE3-915B-604F28EA1760@gmail.com> Message-ID: Ha! Another way. I couldn?t get the regex to work, despite Paul's invaluable help reminding me that replacetext is a function. My cobbled together solution involved setting itemdel to parentheses then deleting items. As the Grateful Dead rather repetitively put it: So many roads So many roads Mountain high, river wide So many roads to ride So many roads So many roads (in LiveCode) Cheers David G > On 10 Jun 2021, at 9:10 am, Richmond Mathewson via use-livecode wrote: > > Well, at the rsik of getting things wrong, here's my attempt: > > https://forums.livecode.com/viewtopic.php?f=7&t=35951 > > Richmond. > > On Wed, Jun 9, 2021 at 8:05 PM David V Glasgow via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> LC coders, please tell me why this won?t work! My guess is that this is a >> regex issue, not LC, but I am so stuck. >> >> I want to replace all text within in parentheses (including the >> parentheses) with a single space. I have tried assembling the >> matchExpression in advance and in line, and also escaping the parentheses >> just in case they are reserved in regex. Or do I need to enclose the >> matchExpression in something other than or in addition to, quotes? >> >> on mouseup >> >> put field "import" into timport >> >> replacetext (timport, "(.*)", " ") >> >> put timport into field "import" >> >> end mouseup >> >> >> I get the less than inspiring: >> >> execution error at line 3 (Handler: can't find handler) near >> "replacetext", char 1 >> >> >> >> Best Wishes, >> >> David Glasgow >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > > This communication may be unlawfully collected and stored by the Agents > of a large number of governments in secret. The parties to this email do > not consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Jun 10 05:27:28 2021 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 10 Jun 2021 12:27:28 +0300 Subject: Replacetext of any characters between parentheses with a space In-Reply-To: References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> <2FA5E27B-3AFD-4A21-B92F-1322D8D2F1D7@major-k.de> <0E938621-D146-4AE3-915B-604F28EA1760@gmail.com> Message-ID: Well, for both their repetitive an tedious lyrics, and their bank-rolling the Christ Brotherhood I can honestly say that I am grateful that most of the Grateful Dead are . . . On Thu, Jun 10, 2021 at 12:12 PM David V Glasgow via use-livecode < use-livecode at lists.runrev.com> wrote: > Ha! Another way. I couldn?t get the regex to work, despite Paul's > invaluable help reminding me that replacetext is a function. > > My cobbled together solution involved setting itemdel to parentheses then > deleting items. > > As the Grateful Dead rather repetitively put it: > > So many roads > So many roads > Mountain high, river wide > So many roads to ride > So many roads > So many roads > > (in LiveCode) > > Cheers > > David G > > > On 10 Jun 2021, at 9:10 am, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Well, at the rsik of getting things wrong, here's my attempt: > > > > https://forums.livecode.com/viewtopic.php?f=7&t=35951 > > > > Richmond. > > > > On Wed, Jun 9, 2021 at 8:05 PM David V Glasgow via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> LC coders, please tell me why this won?t work! My guess is that this > is a > >> regex issue, not LC, but I am so stuck. > >> > >> I want to replace all text within in parentheses (including the > >> parentheses) with a single space. I have tried assembling the > >> matchExpression in advance and in line, and also escaping the > parentheses > >> just in case they are reserved in regex. Or do I need to enclose the > >> matchExpression in something other than or in addition to, quotes? > >> > >> on mouseup > >> > >> put field "import" into timport > >> > >> replacetext (timport, "(.*)", " ") > >> > >> put timport into field "import" > >> > >> end mouseup > >> > >> > >> I get the less than inspiring: > >> > >> execution error at line 3 (Handler: can't find handler) near > >> "replacetext", char 1 > >> > >> > >> > >> Best Wishes, > >> > >> David Glasgow > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > -- > > > > This communication may be unlawfully collected and stored by the Agents > > of a large number of governments in secret. The parties to this email do > > not consent to the retrieving or storing of this communication and any > > related metadata, as well as printing, copying, re-transmitting, > > disseminating, or otherwise using it. If you believe you have received > > this communication in error, please delete it immediately. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- This communication may be unlawfully collected and stored by the Agents of a large number of governments in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From paul at researchware.com Thu Jun 10 09:59:42 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 10 Jun 2021 09:59:42 -0400 Subject: Replacetext of any characters between parentheses with a space In-Reply-To: References: <48C4C670-A99A-4D00-B552-CDA67F2586D9@major-k.de> <1AF73F5A-4C90-41A3-85C2-6FEA903C31A7@earthlearningsolutions.org> <2FA5E27B-3AFD-4A21-B92F-1322D8D2F1D7@major-k.de> <0E938621-D146-4AE3-915B-604F28EA1760@gmail.com> Message-ID: On 6/9/2021 1:10 PM, Paul Dupuis via use-livecode wrote: > on mouseup > ? put field "import" into timport > ? put replacetext(timport,"(.*)"," ") into field "import" > end mouseup I think parenthesis are are reserved character in regex, so them may need to be escaped with a backslash like: (my regex is a little rusty) on mouseup ? put field "import" into timport ? put replacetext(timport,"\(.*\)"," ") into field "import" end mouseup From bobsneidar at iotecdigital.com Thu Jun 10 12:59:38 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Jun 2021 16:59:38 +0000 Subject: Message Sent when Closing Stack Message-ID: <49C1B89D-EC3B-4CB7-A7FD-369191D656ED@iotecdigital.com> Hi all. We have gone around about this before, but I still cannot get this to work. I need to know if there is a message sent when a user clicks the close button in a window (on a Mac it's a little red dot in the upper left, on Windows a red square with an X). I tried before closeStack, closeStackRequest etc, and these are not getting triggered when I close the stack this way. Bob S From craig at starfirelighting.com Thu Jun 10 14:20:18 2021 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 10 Jun 2021 14:20:18 -0400 Subject: Message Sent when Closing Stack In-Reply-To: <49C1B89D-EC3B-4CB7-A7FD-369191D656ED@iotecdigital.com> References: <49C1B89D-EC3B-4CB7-A7FD-369191D656ED@iotecdigital.com> Message-ID: <85658356-9897-476F-A640-88CC6F883C06@starfirelighting.com> Several are sent: ?closeCard" ?closeStack? ?closeStackRequest? Crag > On Jun 10, 2021, at 12:59 PM, Bob Sneidar via use-livecode wrote: > > Hi all. > > We have gone around about this before, but I still cannot get this to work. I need to know if there is a message sent when a user clicks the close button in a window (on a Mac it's a little red dot in the upper left, on Windows a red square with an X). > > I tried before closeStack, closeStackRequest etc, and these are not getting triggered when I close the stack this way. > > 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 tom at makeshyft.com Thu Jun 10 14:59:56 2021 From: tom at makeshyft.com (Tom Glod) Date: Thu, 10 Jun 2021 14:59:56 -0400 Subject: Message Sent when Closing Stack In-Reply-To: <85658356-9897-476F-A640-88CC6F883C06@starfirelighting.com> References: <49C1B89D-EC3B-4CB7-A7FD-369191D656ED@iotecdigital.com> <85658356-9897-476F-A640-88CC6F883C06@starfirelighting.com> Message-ID: this will work on closeStackRequest answer "When you press 'X' Do you want to minimize or exit?" with "Exit" or "Minimize" if it = "Minimize" then set the iconic of me to true else quit end if end closeStackRequest On Thu, Jun 10, 2021 at 2:21 PM Craig Newman via use-livecode < use-livecode at lists.runrev.com> wrote: > Several are sent: > ?closeCard" > ?closeStack? > ?closeStackRequest? > > Crag > > > On Jun 10, 2021, at 12:59 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi all. > > > > We have gone around about this before, but I still cannot get this to > work. I need to know if there is a message sent when a user clicks the > close button in a window (on a Mac it's a little red dot in the upper left, > on Windows a red square with an X). > > > > I tried before closeStack, closeStackRequest etc, and these are not > getting triggered when I close the stack this way. > > > > Bob S > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jacque at hyperactivesw.com Thu Jun 10 17:54:27 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 10 Jun 2021 16:54:27 -0500 Subject: Message Sent when Closing Stack In-Reply-To: <49C1B89D-EC3B-4CB7-A7FD-369191D656ED@iotecdigital.com> References: <49C1B89D-EC3B-4CB7-A7FD-369191D656ED@iotecdigital.com> Message-ID: <8995f311-cecc-8d63-630a-4da80bae8fd4@hyperactivesw.com> On 6/10/21 11:59 AM, Bob Sneidar via use-livecode wrote: > Hi all. > > We have gone around about this before, but I still cannot get this to work. I need to know if there is a message sent when a user clicks the close button in a window (on a Mac it's a little red dot in the upper left, on Windows a red square with an X). > > I tried before closeStack, closeStackRequest etc, and these are not getting triggered when I close the stack this way. You want closeStackRequest for that. Note that if you don't pass the message the stack won't close. Do you mean if you set a breakpoint it won't trigger at all? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Jun 10 19:34:11 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 10 Jun 2021 23:34:11 +0000 Subject: Message Sent when Closing Stack In-Reply-To: <8995f311-cecc-8d63-630a-4da80bae8fd4@hyperactivesw.com> References: <49C1B89D-EC3B-4CB7-A7FD-369191D656ED@iotecdigital.com> <8995f311-cecc-8d63-630a-4da80bae8fd4@hyperactivesw.com> Message-ID: Yes it DOES work, using closeStackRequest. Not sure what I was seeing before, but closeStackRequest DID trigger. That is great in the Development environment, but it does not work in a standalone. I think what we determined in prior posts is to disable the red close dot/square and have some other means for quitting the app. Bob S > On Jun 10, 2021, at 14:54 , J. Landman Gay via use-livecode wrote: > > On 6/10/21 11:59 AM, Bob Sneidar via use-livecode wrote: >> Hi all. >> We have gone around about this before, but I still cannot get this to work. I need to know if there is a message sent when a user clicks the close button in a window (on a Mac it's a little red dot in the upper left, on Windows a red square with an X). >> I tried before closeStack, closeStackRequest etc, and these are not getting triggered when I close the stack this way. > > You want closeStackRequest for that. Note that if you don't pass the message the stack won't close. > > Do you mean if you set a breakpoint it won't trigger at all? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From bruce at prestodigital.net Thu Jun 10 19:43:15 2021 From: bruce at prestodigital.net (Bruce Merritt) Date: Thu, 10 Jun 2021 17:43:15 -0600 Subject: Message Sent when Closing Stack In-Reply-To: References: Message-ID: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> When the user force-quits you app, it when power fails you?re SOL Sent from my iPhone > On Jun 10, 2021, at 5:35 PM, Bob Sneidar via use-livecode wrote: > > ?Yes it DOES work, using closeStackRequest. Not sure what I was seeing before, but closeStackRequest DID trigger. > > That is great in the Development environment, but it does not work in a standalone. I think what we determined in prior posts is to disable the red close dot/square and have some other means for quitting the app. > > Bob S > > >> On Jun 10, 2021, at 14:54 , J. Landman Gay via use-livecode wrote: >> >>> On 6/10/21 11:59 AM, Bob Sneidar via use-livecode wrote: >>> Hi all. >>> We have gone around about this before, but I still cannot get this to work. I need to know if there is a message sent when a user clicks the close button in a window (on a Mac it's a little red dot in the upper left, on Windows a red square with an X). >>> I tried before closeStack, closeStackRequest etc, and these are not getting triggered when I close the stack this way. >> >> You want closeStackRequest for that. Note that if you don't pass the message the stack won't close. >> >> Do you mean if you set a breakpoint it won't trigger at all? >> >> -- >> 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 david.bovill at gmail.com Fri Jun 11 09:58:14 2021 From: david.bovill at gmail.com (David Bovill) Date: Fri, 11 Jun 2021 14:58:14 +0100 Subject: Levite Dataview drag-reordering In-Reply-To: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> Message-ID: Is there a simple demo out there that shows how drag-reordering of rows in a dataview works? Is this feature experimental? Got a deadline fir Monday considering taking the plunge? ?? ??Schedule a call with me From klaus at major-k.de Fri Jun 11 10:04:37 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Jun 2021 16:04:37 +0200 Subject: Levite Dataview drag-reordering In-Reply-To: References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> Message-ID: <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> Hi David, > Am 11.06.2021 um 15:58 schrieb David Bovill via use-livecode : > > Is there a simple demo out there that shows how drag-reordering of rows in a dataview works? Is this feature experimental? Got a deadline fir Monday considering taking the plunge? Levite Dataview? 8-) Sure you do not mean LC datagrid? > ? Schedule a call with me No. :-D Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From david.bovill at gmail.com Fri Jun 11 11:03:36 2021 From: david.bovill at gmail.com (David Bovill) Date: Fri, 11 Jun 2021 16:03:36 +0100 Subject: Levure Dataview drag-reordering In-Reply-To: <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> Message-ID: <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> Yeah sorry about the typo - sent from mobile. I meant Levure -??as Trevor is the main man with the drag stuff and having differenr styles for rows is a must. NB on the typo front I have a distant memory that aeons ago when I first got an iPhone I said yes to the spelling ?fir?.??Ever since then all my devices seem to love this word - anyone have an idea how to correct this auto typing flaw? ?? ??Schedule a call with me On 11 Jun 2021, 15:05 +0100, Klaus major-k via use-livecode , wrote: > Hi David, > > > Am 11.06.2021 um 15:58 schrieb David Bovill via use-livecode : > > > > Is there a simple demo out there that shows how drag-reordering of rows in a dataview works? Is this feature experimental? Got a deadline fir Monday considering taking the plunge? > > Levite Dataview? 8-) > Sure you do not mean LC datagrid? > > > ? Schedule a call with me > > No. :-D > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Jun 11 11:07:40 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 11 Jun 2021 17:07:40 +0200 Subject: Levure Dataview drag-reordering In-Reply-To: <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> Message-ID: <028CD227-3228-4F48-B2AA-F0D2BC48B576@major-k.de> Hi David, > Am 11.06.2021 um 17:03 schrieb David Bovill via use-livecode : > > Yeah sorry about the typo - sent from mobile. I meant Levure - as Trevor is the main man with the drag stuff and having differenr styles for rows is a must. ah, OK, I'll pass it over to Trevor! > NB on the typo front I have a distant memory that aeons ago when I first got an iPhone I said yes to the spelling ?fir?. Ever since then all my devices seem to love this word - anyone have an idea how to correct this auto typing flaw? Sorry, no idea fir this problem... 8-) Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From stephen at barncard.com Fri Jun 11 11:24:03 2021 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 11 Jun 2021 08:24:03 -0700 Subject: Levure Dataview drag-reordering In-Reply-To: <028CD227-3228-4F48-B2AA-F0D2BC48B576@major-k.de> References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> <028CD227-3228-4F48-B2AA-F0D2BC48B576@major-k.de> Message-ID: yeah, Apple still thinks I live in Sevastopol, Ukraine! -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, Jun 11, 2021 at 8:08 AM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi David, > > > Am 11.06.2021 um 17:03 schrieb David Bovill via use-livecode < > use-livecode at lists.runrev.com>: > > > > Yeah sorry about the typo - sent from mobile. I meant Levure - as > Trevor is the main man with the drag stuff and having differenr styles for > rows is a must. > > ah, OK, I'll pass it over to Trevor! > > > NB on the typo front I have a distant memory that aeons ago when I first > got an iPhone I said yes to the spelling ?fir?. Ever since then all my > devices seem to love this word - anyone have an idea how to correct this > auto typing flaw? > > Sorry, no idea fir this problem... 8-) > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Fri Jun 11 11:28:14 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 11 Jun 2021 15:28:14 +0000 Subject: Levure Dataview drag-reordering In-Reply-To: References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> <028CD227-3228-4F48-B2AA-F0D2BC48B576@major-k.de> Message-ID: That's a good thing, yes? That means your Apple device is not phoning home. Bob S > On Jun 11, 2021, at 08:24 , Stephen Barncard via use-livecode wrote: > > yeah, Apple still thinks I live in Sevastopol, Ukraine! > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org From sean at pidigital.co.uk Fri Jun 11 11:53:16 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 11 Jun 2021 16:53:16 +0100 Subject: Collaborative help request for oAuth2 access to DocuSign In-Reply-To: <51459489-E1EE-4838-8C6B-1E33F912511C@pidigital.co.uk> References: <51459489-E1EE-4838-8C6B-1E33F912511C@pidigital.co.uk> Message-ID: I?ve still not been able to make any headway with getting oAuth to work for DocuSign. Anyone have any ideas? Sean > On 9 Jun 2021, at 20:31, Pi Digital via use-livecode wrote: > > ?Yep, exactly. So that is where DocuSign should send back a redirect that is picked up by the oAuth2 LC library. From there it should continue with the LC code. But the only way out at the moment is to press Cancel. > > I think the red message is not relevant as it always seems to be there. > > What I?m hoping for is that Monte sees this thread and points us in the right direction as the clued in one for this library. But if anyone else already has experience that too may be helpful. > > Thanks for giving it a go Matthias. > > Sean > > >>> On 9 Jun 2021, at 20:19, matthias rebbe via use-livecode wrote: >>> >> ?I pressed the send button to early... >> >> When i continue, i got logged in and see the normal developer account page in the "oauth" window. >> >> >>> Am 09.06.2021 um 21:15 schrieb matthias_livecode_150811 at m-r-d.de: >>> >>> Tried it here with your script, but currently the 'login" page shows an additional text in red saying "DocuSign is temporarily unavailable. Please try again momentarily.". >>> >>> >>> >>> >>>>> Am 09.06.2021 um 20:04 schrieb Sean Cole (Pi) via use-livecode : >>>> >>>> Hi All, >>>> >>>> Until now I have been using SOAP to connect to Docusign without the need >>>> for oAuth2. However, they will soon (August 16th, 2021) require oAuth2 >>>> entry. >>>> >>>> To make it easier for us to play together, I've created a temp gmail and >>>> DocuSign account. The code I'm using is as follows: >>>> >>>> // >>>> local sDocuSignAuth >>>> on es_DocuSignTest >>>> put "http://account-d.docusign.com/oauth/auth" into tAuthURL -- // >>>> account-d DURING TESTING / account WHEN LIVE // >>>> put "http://account-d.docusign.com/oauth/token" into tTokenURL >>>> put "e36917d4-72be-4924-aced-3e75844080a2" into tClientID // LCTest >>>> put "0493edd9-a8a6-431e-a64e-2d6f162ca98b" into tClientSecret // LCTest >>>> put "signature" into tScopes >>>> put "58081" into tPort // Redirect uri set to 'http://127.0.0.1:58081' >>>> put "code" into tParamsA["response_type"] >>>> -- >>>> put "pi.lc.apitest at gmail.com" into tUser // Docusign test account >>>> put "lctestaccount" into tPass // Docusign test account >>>> -- >>>> if sDocuSignAuth is empty then >>>> OAuth2 tAuthURL, tTokenURL, tClientID, tClientSecret, tScopes, >>>> "58081", tParamsA >>>> put the result &cr& it >>>> if the result is not empty then >>>> return "Not authorized!" for error >>>> else >>>> put it into sDocuSignAuth >>>> end if >>>> end if >>>> end es_DocuSignTest >>>> // >>>> >>>> You can log in to the DocuSign account using those credentials if you feel >>>> the need. >>>> >>>> As you will find when you try the code, the oAuth window comes up, you log >>>> in, but it never responds with the Token or the redirect uri. So I don't >>>> know what I'm missing or how to fix it. Perhaps by getting this one sorted >>>> out we can have a definitive method for any API. >>>> >>>> Thanks for any help. >>>> >>>> Sean >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at midwestcoastmedia.com Fri Jun 11 12:11:41 2021 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Fri, 11 Jun 2021 12:11:41 -0400 Subject: Collaborative help request for oAuth2 access to DocuSign In-Reply-To: References: Message-ID: <0DD08E4A-FB5A-4275-853A-665F2D06DF01@midwestcoastmedia.com> I was never able to get oAuth working for Canvas LMS even though the same workflow worked on Postman. ?Andrew Bell > > Subject: Re: Collaborative help request for oAuth2 access to DocuSign > > I?ve still not been able to make any headway with getting oAuth to work for DocuSign. Anyone have any ideas? > > Sean From ckelly5430 at gmail.com Fri Jun 11 12:20:04 2021 From: ckelly5430 at gmail.com (Colin Kelly) Date: Fri, 11 Jun 2021 16:20:04 +0000 Subject: Collaborative help request for oAuth2 access to DocuSign In-Reply-To: <0DD08E4A-FB5A-4275-853A-665F2D06DF01@midwestcoastmedia.com> References: <0DD08E4A-FB5A-4275-853A-665F2D06DF01@midwestcoastmedia.com> Message-ID: Same here, I couldn?t get oAuth working for Intelligent Office in LC but using the same credentials it worked ok through Postman? -- Colin Kelly M 07951 920680 From: use-livecode on behalf of Andrew at MidWest Coast Media via use-livecode Reply to: How to use LiveCode Date: Friday, 11 June 2021 at 17:13 To: "use-livecode at lists.runrev.com" Cc: Andrew at MidWest Coast Media Subject: Re: Collaborative help request for oAuth2 access to DocuSign I was never able to get oAuth working for Canvas LMS even though the same workflow worked on Postman. ?Andrew Bell Subject: Re: Collaborative help request for oAuth2 access to DocuSign I?ve still not been able to make any headway with getting oAuth to work for DocuSign. Anyone have any ideas? Sean _______________________________________________ use-livecode mailing list use-livecode at 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 Fri Jun 11 13:01:29 2021 From: david.bovill at gmail.com (David Bovill) Date: Fri, 11 Jun 2021 18:01:29 +0100 Subject: Levure Dataview drag-reordering In-Reply-To: <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> Message-ID: So I got visual feedback from drag-and-drop using the Levure DataView following instructions at: ? https://github.com/trevordevore/levurehelper-dataview I add the following code to the DataView: > quote_type > on dragStart > ?set the dvDragImageRow of me to item 1 of the dvHilitedRows of me > ?set the dvTrackDragReorder[the dvHilitedRows of me] of me to true > ?set the dragData["private"] to the dvHilitedRows of me # dragdata has to be set to something. > end dragStart > > on ValidateRowDrop pDraggingInfoA, pProposedRow, pProposedDropOperation > ?put "Dragging" && pProposedRow && pProposedDropOperation > ?return true > end ValidateRowDrop > > on AcceptRowDrop pDraggingInfoA, pRow, pDropOperation > ?put "Dropped" && pRow && pDropOperation > end AcceptRowDrop > But the ValidateRowDrop message does not get sent, also I don?t get any visual feedback with a "drop indicator" (the line that shows you where the drop will occur) - any idea? ?? ??Schedule a call with me On 11 Jun 2021, 16:03 +0100, David Bovill , wrote: > Yeah sorry about the typo - sent from mobile. I meant Levure -??as Trevor is the main man with the drag stuff and having differenr styles for rows is a must. > > NB on the typo front I have a distant memory that aeons ago when I first got an iPhone I said yes to the spelling ?fir?.??Ever since then all my devices seem to love this word - anyone have an idea how to correct this auto typing flaw? > > ?? ??Schedule a call with me > On 11 Jun 2021, 15:05 +0100, Klaus major-k via use-livecode , wrote: > > Hi David, > > > > > Am 11.06.2021 um 15:58 schrieb David Bovill via use-livecode : > > > > > > Is there a simple demo out there that shows how drag-reordering of rows in a dataview works? Is this feature experimental? Got a deadline fir Monday considering taking the plunge? > > > > Levite Dataview? 8-) > > Sure you do not mean LC datagrid? > > > > > ? Schedule a call with me > > > > No. :-D > > > > > > Best > > > > Klaus > > -- > > Klaus Major > > https://www.major-k.de > > https://www.major-k.de/bass > > klaus at major-k.de > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Fri Jun 11 14:46:17 2021 From: david.bovill at gmail.com (David Bovill) Date: Fri, 11 Jun 2021 19:46:17 +0100 Subject: Regular crash: Dictionary (API) In-Reply-To: References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> Message-ID: <6cd161e3-d0f2-4e00-85b0-f8842ea89f63@Spark> For several years I have a regular crash when opening the `Dictionary (API)` - wondering the cause. Everything else works as normal - latest MacOs and Livecode - spinning coloured ball and now dictionary stack displayed??- requires force quit. Doing that now. Third time today. ?? ??Schedule a call with me From sean at pidigital.co.uk Fri Jun 11 14:49:59 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Fri, 11 Jun 2021 19:49:59 +0100 Subject: Collaborative help request for oAuth2 access to DocuSign In-Reply-To: References: <0DD08E4A-FB5A-4275-853A-665F2D06DF01@midwestcoastmedia.com> Message-ID: Thanks Colin and Andrew. I'll see if I can track down Monte. I know he's a busy man. But there must be a simple explanation of why they don't seem to work. oAuth should be pretty simple. I have done my own using a browser widget but it's a bit clunky for the customer. The oAuth seems to be a nicer option for coding and navigating if we can get it working. All the best Sean On Fri, 11 Jun 2021 at 17:20, Colin Kelly via use-livecode < use-livecode at lists.runrev.com> wrote: > Same here, I couldn?t get oAuth working for Intelligent Office in LC but > using the same credentials it worked ok through Postman? > > -- > Colin Kelly > M 07951 920680 > > > From: use-livecode on behalf of > Andrew at MidWest Coast Media via use-livecode < > use-livecode at lists.runrev.com> > Reply to: How to use LiveCode > Date: Friday, 11 June 2021 at 17:13 > To: "use-livecode at lists.runrev.com" > Cc: Andrew at MidWest Coast Media > Subject: Re: Collaborative help request for oAuth2 access to DocuSign > > I was never able to get oAuth working for Canvas LMS even though the same > workflow worked on Postman. > > ?Andrew Bell > > > Subject: Re: Collaborative help request for oAuth2 access to DocuSign > > I?ve still not been able to make any headway with getting oAuth to work > for DocuSign. Anyone have any ideas? > > Sean > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 11 19:53:27 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 12 Jun 2021 01:53:27 +0200 Subject: Collaborative help request for oAuth2 access to DocuSign In-Reply-To: References: <0DD08E4A-FB5A-4275-853A-665F2D06DF01@midwestcoastmedia.com> Message-ID: <0D13C68C-24DE-42DE-944D-221F2EC14C19@m-r-d.de> Sean, could you please try and remove the tParamsA parameter in your oAuth2 call? I noticed that the oauth2 library itself places the "?response_type=code" parameter to the url. So with the tParamsA parameter it was twice in the URL. I removed the tParamsA parameter in your call and was at least able to login and the browser windows closed. I did not test further as it is a little late here. See also a screen recording here https://livecode.dermattes.de/sean.mp4 Regards, Matthias > Am 11.06.2021 um 20:49 schrieb Sean Cole (Pi) via use-livecode : > > Thanks Colin and Andrew. > > I'll see if I can track down Monte. I know he's a busy man. But there must > be a simple explanation of why they don't seem to work. oAuth should be > pretty simple. I have done my own using a browser widget but it's a bit > clunky for the customer. The oAuth seems to be a nicer option for coding > and navigating if we can get it working. > > All the best > > Sean > > > On Fri, 11 Jun 2021 at 17:20, Colin Kelly via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Same here, I couldn?t get oAuth working for Intelligent Office in LC but >> using the same credentials it worked ok through Postman? >> >> -- >> Colin Kelly >> M 07951 920680 >> >> >> From: use-livecode on behalf of >> Andrew at MidWest Coast Media via use-livecode < >> use-livecode at lists.runrev.com> >> Reply to: How to use LiveCode >> Date: Friday, 11 June 2021 at 17:13 >> To: "use-livecode at lists.runrev.com" >> Cc: Andrew at MidWest Coast Media >> Subject: Re: Collaborative help request for oAuth2 access to DocuSign >> >> I was never able to get oAuth working for Canvas LMS even though the same >> workflow worked on Postman. >> >> ?Andrew Bell >> >> >> Subject: Re: Collaborative help request for oAuth2 access to DocuSign >> >> I?ve still not been able to make any headway with getting oAuth to work >> for DocuSign. Anyone have any ideas? >> >> Sean >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hechris at ziggo.nl Sat Jun 12 01:21:27 2021 From: hechris at ziggo.nl (Chris Heidecker) Date: Sat, 12 Jun 2021 07:21:27 +0200 Subject: mergJSON and the ArrayToJSON script Message-ID: <79A5ACF2-A5BA-4F8D-A16E-422E07760215@ziggo.nl> Hi, In the dictionary I found the ArrayToJSON -script to access mergJSON with a multi-dimensional array. While trying to pass a number as a string I noticed the pForceRootType is not passed along to the enclosed ArrayToJSON function. Adding the parameters does work for my array within an array. put "}"&ArrayToJSON(pArray[tKey],pForceRootType,pPretty) into pArray[tKey] Is there a reason the parameters are not passed to the inner function? Something unexpected I might encounter? function ArrayToJSON pArray,pForceRootType,pPretty repeat for each key tKey in pArray if pArray[tKey] is an array then put "}"&ArrayToJSON(pArray[tKey]) into pArray[tKey] end if end repeat return(mergJSONEncode("pArray",pForceRootType,pPretty)) end ArrayToJSON Regards, Chris Heidecker From david.bovill at gmail.com Sat Jun 12 16:31:32 2021 From: david.bovill at gmail.com (David Bovill) Date: Sat, 12 Jun 2021 21:31:32 +0100 Subject: Display Youtube video In-Reply-To: <0D13C68C-24DE-42DE-944D-221F2EC14C19@m-r-d.de> References: <0DD08E4A-FB5A-4275-853A-665F2D06DF01@midwestcoastmedia.com> <0D13C68C-24DE-42DE-944D-221F2EC14C19@m-r-d.de> Message-ID: Does anyone have any code to display a Youtube video. As far as I understand the only way to do this is to request an html embed code from the Youtube api based on the id of the video. The browser widget then could display this html. Has anyone done this and can share a code snippet? ?? ??Schedule a call with me From marksmithhfx at gmail.com Sat Jun 12 17:43:33 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Sat, 12 Jun 2021 22:43:33 +0100 Subject: Display Youtube video In-Reply-To: References: <0DD08E4A-FB5A-4275-853A-665F2D06DF01@midwestcoastmedia.com> <0D13C68C-24DE-42DE-944D-221F2EC14C19@m-r-d.de> Message-ID: <57A1D327-D893-44CC-BC40-DEDDA10A7A62@gmail.com> Hi David, Here is something I?ve tried that work pretty well. Go to your video on Youtube. Select the ?Share? option, copy the link. For my video (a demo) it was https://youtu.be/6geoK-SAmb0 Then, in the browser widget url field reformat the string as follows: https://www.youtube.com/embed/6geoK-SAmb0?autoplay=1 That worked for me (although it did not autoplay as expected? but there was a play button on the video you could tap on to get things going). I didn?t use any code at all. If you find a different solution that works (maybe better!) I?d be happy to hear about it. Cheers, Mark > On Jun 12, 2021, at 9:31 PM, David Bovill via use-livecode wrote: > > Does anyone have any code to display a Youtube video. As far as I understand the only way to do this is to request an html embed code from the Youtube api based on the id of the video. The browser widget then could display this html. Has anyone done this and can share a code snippet? > > ? Schedule a call with me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Sun Jun 13 06:39:15 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sun, 13 Jun 2021 12:39:15 +0200 Subject: Display Youtube video In-Reply-To: References: <0DD08E4A-FB5A-4275-853A-665F2D06DF01@midwestcoastmedia.com> <0D13C68C-24DE-42DE-944D-221F2EC14C19@m-r-d.de> Message-ID: <144723a1-7b8b-7695-6d23-e445dbbcaca0@gmail.com> Yes, check the video tab https://play.google.com/store/apps/details?id=nl.jjs.jjsapp Op 12-6-2021 om 22:31 schreef David Bovill via use-livecode: > Does anyone have any code to display a Youtube video. As far as I understand the only way to do this is to request an html embed code from the Youtube api based on the id of the video. The browser widget then could display this html. Has anyone done this and can share a code snippet? > > ?? ??Schedule a call with me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Sun Jun 13 07:07:30 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 13 Jun 2021 12:07:30 +0100 Subject: Collaborative help request for oAuth2 access to DocuSign In-Reply-To: <0D13C68C-24DE-42DE-944D-221F2EC14C19@m-r-d.de> References: <0DD08E4A-FB5A-4275-853A-665F2D06DF01@midwestcoastmedia.com> <0D13C68C-24DE-42DE-944D-221F2EC14C19@m-r-d.de> Message-ID: You legend, Matthias, That did it. I'll make sure this is put into the documentation as it appears to be the only blocking point. Well done! Thanks, Sean On Sat, 12 Jun 2021 at 00:53, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Sean, > > could you please try and remove the tParamsA parameter in your oAuth2 call? > > I noticed that the oauth2 library itself places the "?response_type=code" > parameter to the url. So with the tParamsA parameter it was twice in the > URL. > > I removed the tParamsA parameter in your call and was at least able to > login and the browser windows closed. I did not test further as it is a > little late here. > > > See also a screen recording here https://livecode.dermattes.de/sean.mp4 > > Regards, > > Matthias > > > > > > > Am 11.06.2021 um 20:49 schrieb Sean Cole (Pi) via use-livecode < > use-livecode at lists.runrev.com>: > > > > Thanks Colin and Andrew. > > > > I'll see if I can track down Monte. I know he's a busy man. But there > must > > be a simple explanation of why they don't seem to work. oAuth should be > > pretty simple. I have done my own using a browser widget but it's a bit > > clunky for the customer. The oAuth seems to be a nicer option for coding > > and navigating if we can get it working. > > > > All the best > > > > Sean > > > > > > On Fri, 11 Jun 2021 at 17:20, Colin Kelly via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Same here, I couldn?t get oAuth working for Intelligent Office in LC but > >> using the same credentials it worked ok through Postman? > >> > >> -- > >> Colin Kelly > >> M 07951 920680 > >> > >> > >> From: use-livecode on behalf of > >> Andrew at MidWest Coast Media via use-livecode < > >> use-livecode at lists.runrev.com> > >> Reply to: How to use LiveCode > >> Date: Friday, 11 June 2021 at 17:13 > >> To: "use-livecode at lists.runrev.com" > >> Cc: Andrew at MidWest Coast Media > >> Subject: Re: Collaborative help request for oAuth2 access to DocuSign > >> > >> I was never able to get oAuth working for Canvas LMS even though the > same > >> workflow worked on Postman. > >> > >> ?Andrew Bell > >> > >> > >> Subject: Re: Collaborative help request for oAuth2 access to DocuSign > >> > >> I?ve still not been able to make any headway with getting oAuth to work > >> for DocuSign. Anyone have any ideas? > >> > >> Sean > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mkoob at rogers.com Sun Jun 13 07:27:16 2021 From: mkoob at rogers.com (KOOB) Date: Sun, 13 Jun 2021 07:27:16 -0400 Subject: Collaborative help request for oAuth2 access to DocuSign In-Reply-To: <0D13C68C-24DE-42DE-944D-221F2EC14C19@m-r-d.de> References: <0D13C68C-24DE-42DE-944D-221F2EC14C19@m-r-d.de> Message-ID: <2BFA6420-6C2E-4551-8783-FCE852F8BF3A@rogers.com> Hi I tried to get a desktop App to sign into an LMS using LTI last summer and came up on a roadblock. The issue is that as I remember (and this is a fuzzy memory) is that with oAuth2 you send the credentials and at the end of the process the site sends a callback with the token you need to access the pages on the site but it has to be sent via https. The problem with a desktop app is you cannot set it up as a server with a certificate for the https connection to wait for and receive the callback with the token. So you get the result you see in the video in the previous message. The Browser widget can get the login page and submit the credentials but it doesn?t get the callback so the login process stalls right there. The only way I thought it could be done is set up a web site that you supply as the callback address that you would send the oAuth2 request to. It would then connect to the LMS. The LMS would send the callback with the token to your server and then your server would send the token back to the desktop app to be used for subsequent calls to the LMS. *WARNING: this is from my fuzzy memory and I may be misunderstanding the oAuth2 process. Please correct me if I have any of this wrong. BTW I would be interested in a collaborative project to create a LiveCode+LiveCode Server solution to this. I have notes somewhere on what I did with the prototype stack if anyone is interested. I did not get to the step of trying the server solution above, that was to be the next step if I had continued with that line of experimentation. I pivoted over to using xAPI to communicate with a Learning Record Store (LRS) by joining the xAPI Cohort and working with the team #xapi-in-livecode which Brian Duck set up and leads. That was much more successful. No oAuth2 required. Just post statements to the LRS endpoint. To get the ultimate features I want I still think I need to get a desktop App to connect with an LMS so that means cracking the oAuth2 from a desktop app nut. Martin Koob (Fuzzy logic is good, Fuzzy memory is bad.) Sent from my iPad > On Jun 11, 2021, at 7:55 PM, matthias rebbe via use-livecode wrote: > ?Sean, > > could you please try and remove the tParamsA parameter in your oAuth2 call? > > I noticed that the oauth2 library itself places the "?response_type=code" parameter to the url. So with the tParamsA parameter it was twice in the URL. > > I removed the tParamsA parameter in your call and was at least able to login and the browser windows closed. I did not test further as it is a little late here. > > > See also a screen recording here https://livecode.dermattes.de/sean.mp4 > > Regards, > > Matthias > > > > > >> Am 11.06.2021 um 20:49 schrieb Sean Cole (Pi) via use-livecode : >> >> Thanks Colin and Andrew. >> >> I'll see if I can track down Monte. I know he's a busy man. But there must >> be a simple explanation of why they don't seem to work. oAuth should be >> pretty simple. I have done my own using a browser widget but it's a bit >> clunky for the customer. The oAuth seems to be a nicer option for coding >> and navigating if we can get it working. >> >> All the best >> >> Sean >> >> >> On Fri, 11 Jun 2021 at 17:20, Colin Kelly via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Same here, I couldn?t get oAuth working for Intelligent Office in LC but >>> using the same credentials it worked ok through Postman? >>> -- >>> Colin Kelly >>> M 07951 920680 >>> From: use-livecode on behalf of >>> Andrew at MidWest Coast Media via use-livecode < >>> use-livecode at lists.runrev.com> >>> Reply to: How to use LiveCode >>> Date: Friday, 11 June 2021 at 17:13 >>> To: "use-livecode at lists.runrev.com" >>> Cc: Andrew at MidWest Coast Media >>> Subject: Re: Collaborative help request for oAuth2 access to DocuSign >>> I was never able to get oAuth working for Canvas LMS even though the same >>> workflow worked on Postman. >>> ?Andrew Bell >>> Subject: Re: Collaborative help request for oAuth2 access to DocuSign >>> I?ve still not been able to make any headway with getting oAuth to work >>> for DocuSign. Anyone have any ideas? >>> Sean >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Sun Jun 13 07:59:05 2021 From: mkoob at rogers.com (KOOB) Date: Sun, 13 Jun 2021 07:59:05 -0400 Subject: Collaborative help request for oAuth2 access to DocuSign In-Reply-To: <2BFA6420-6C2E-4551-8783-FCE852F8BF3A@rogers.com> References: <2BFA6420-6C2E-4551-8783-FCE852F8BF3A@rogers.com> Message-ID: <15F35BBC-B32D-4FDA-B396-075882B27D4A@rogers.com> Hi again The following link shows the oAuth2 code flow. https://auth0.com/docs/flows/authorization-code-flow The issue is in steps 5 - 10 where information is sent between Web app and the Auth0 Authorization Server ?Auth0 tennant?. As I understand it that exchange can?t occur between a desktop app and the Auth0 Authorization Server. ?Your app must be server-side because during this exchange, you must also pass along your application's Client Secret, which must always be kept secure, and you will have to store it in your client? So the solution as I see it is have your own web App inserted into that process to communicate with the Auth0 Authorization Server. Your Desktop app would then use your Web App to gain access to the API of the LMS or what ever service. Again this understanding may be wrong. Let me know if I have this wrong. Martin Sent from my iPad > On Jun 13, 2021, at 7:27 AM, KOOB wrote: > > ?Hi > > I tried to get a desktop App to sign into an LMS using LTI last summer and came up on a roadblock. The issue is that as I remember (and this is a fuzzy memory) is that with oAuth2 you send the credentials and at the end of the process the site sends a callback with the token you need to access the pages on the site but it has to be sent via https. > > The problem with a desktop app is you cannot set it up as a server with a certificate for the https connection to wait for and receive the callback with the token. So you get the result you see in the video in the previous message. The Browser widget can get the login page and submit the credentials but it doesn?t get the callback so the login process stalls right there. > > The only way I thought it could be done is set up a web site that you supply as the callback address that you would send the oAuth2 request to. It would then connect to the LMS. The LMS would send the callback with the token to your server and then your server would send the token back to the desktop app to be used for subsequent calls to the LMS. > > *WARNING: this is from my fuzzy memory and I may be misunderstanding the oAuth2 process. Please correct me if I have any of this wrong. > > BTW I would be interested in a collaborative project to create a LiveCode+LiveCode Server solution to this. I have notes somewhere on what I did with the prototype stack if anyone is interested. I did not get to the step of trying the server solution above, that was to be the next step if I had continued with that line of experimentation. I pivoted over to using xAPI to communicate with a Learning Record Store (LRS) by joining the xAPI Cohort and working with the team #xapi-in-livecode which Brian Duck set up and leads. That was much more successful. No oAuth2 required. Just post statements to the LRS endpoint. To get the ultimate features I want I still think I need to get a desktop App to connect with an LMS so that means cracking the oAuth2 from a desktop app nut. > > Martin Koob > > (Fuzzy logic is good, Fuzzy memory is bad.) > > Sent from my iPad > >> On Jun 11, 2021, at 7:55 PM, matthias rebbe via use-livecode wrote: >> ?Sean, >> >> could you please try and remove the tParamsA parameter in your oAuth2 call? >> >> I noticed that the oauth2 library itself places the "?response_type=code" parameter to the url. So with the tParamsA parameter it was twice in the URL. >> >> I removed the tParamsA parameter in your call and was at least able to login and the browser windows closed. I did not test further as it is a little late here. >> >> >> See also a screen recording here https://livecode.dermattes.de/sean.mp4 >> >> Regards, >> >> Matthias >> >> >> >> >> >>>> Am 11.06.2021 um 20:49 schrieb Sean Cole (Pi) via use-livecode : >>> >>> Thanks Colin and Andrew. >>> >>> I'll see if I can track down Monte. I know he's a busy man. But there must >>> be a simple explanation of why they don't seem to work. oAuth should be >>> pretty simple. I have done my own using a browser widget but it's a bit >>> clunky for the customer. The oAuth seems to be a nicer option for coding >>> and navigating if we can get it working. >>> >>> All the best >>> >>> Sean >>> >>> >>> On Fri, 11 Jun 2021 at 17:20, Colin Kelly via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Same here, I couldn?t get oAuth working for Intelligent Office in LC but >>>> using the same credentials it worked ok through Postman? >>>> -- >>>> Colin Kelly >>>> M 07951 920680 >>>> From: use-livecode on behalf of >>>> Andrew at MidWest Coast Media via use-livecode < >>>> use-livecode at lists.runrev.com> >>>> Reply to: How to use LiveCode >>>> Date: Friday, 11 June 2021 at 17:13 >>>> To: "use-livecode at lists.runrev.com" >>>> Cc: Andrew at MidWest Coast Media >>>> Subject: Re: Collaborative help request for oAuth2 access to DocuSign >>>> I was never able to get oAuth working for Canvas LMS even though the same >>>> workflow worked on Postman. >>>> ?Andrew Bell >>>> Subject: Re: Collaborative help request for oAuth2 access to DocuSign >>>> I?ve still not been able to make any headway with getting oAuth to work >>>> for DocuSign. Anyone have any ideas? >>>> Sean >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jun 15 04:58:11 2021 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 15 Jun 2021 11:58:11 +0300 Subject: Forum? Message-ID: Has the Forum gone bottom up? Certainly seems quiescent just now. Richmond. -- This communication may be unlawfully collected and stored by the Agents of a large number of governments in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From thatkeith at mac.com Tue Jun 15 06:41:06 2021 From: thatkeith at mac.com (Keith Martin) Date: Tue, 15 Jun 2021 11:41:06 +0100 Subject: Forum? In-Reply-To: References: Message-ID: <3E879609-2FE9-4C99-B9FE-216298EB4F13@mac.com> > On 15 Jun 2021, at 09:58, Richmond Mathewson via use-livecode wrote: > > Has the Forum gone bottom up? It?s a little quieter than normal I think, but there are posts there from as recent as 20 minutes ago. k From dvglasgow at gmail.com Tue Jun 15 06:45:01 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Tue, 15 Jun 2021 11:45:01 +0100 Subject: Forum? In-Reply-To: <3E879609-2FE9-4C99-B9FE-216298EB4F13@mac.com> References: <3E879609-2FE9-4C99-B9FE-216298EB4F13@mac.com> Message-ID: <740C340D-EDE4-4024-8857-588867B2E96E@gmail.com> I?m with Richmond. I have had nothing since 13th, except for this thread. Cheers David G > On 15 Jun 2021, at 11:41 am, Keith Martin via use-livecode wrote: > >> On 15 Jun 2021, at 09:58, Richmond Mathewson via use-livecode wrote: >> >> Has the Forum gone bottom up? > > It?s a little quieter than normal I think, but there are posts there from as recent as 20 minutes ago. > > k > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Jun 15 07:02:57 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 15 Jun 2021 13:02:57 +0200 Subject: Forum? In-Reply-To: <740C340D-EDE4-4024-8857-588867B2E96E@gmail.com> References: <3E879609-2FE9-4C99-B9FE-216298EB4F13@mac.com> <740C340D-EDE4-4024-8857-588867B2E96E@gmail.com> Message-ID: Hi friends, > Am 15.06.2021 um 12:45 schrieb David V Glasgow via use-livecode : > > I?m with Richmond. I have had nothing since 13th, except for this thread. just made a little test, forum is up and running! > Cheers > > David G Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From toolbook at kestner.de Tue Jun 15 09:19:24 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Tue, 15 Jun 2021 15:19:24 +0200 Subject: building standalone FAILS with German Umlaute in app name Message-ID: <004b01d761e9$0fa31820$2ee94860$@kestner.de> Hello, macOS 11.2.3, LC 9.6.1 and 9.6.2 when the app name has German Umlaute, building a standalone fails with the error: ?Adding ad-hoc signature failed. Too many open files in subcomponent my?App.app/Contents/MacOS/my?App.app? This was working for the last years without any problem. I don?t know, since which version it failed. When replacing the Umlaut, everything works fine. Since I have to build shortly an update to an existing app with an Umlaut in its name, this is pretty annoying! Any workaround? Any help? Tiemo From bobsneidar at iotecdigital.com Tue Jun 15 11:19:15 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 15 Jun 2021 15:19:15 +0000 Subject: Forum? In-Reply-To: References: Message-ID: <2D3C0B7C-B1D4-4033-B65D-995879CC69F3@iotecdigital.com> Seems quiet too. :-) Bob S > On Jun 15, 2021, at 01:58 , Richmond Mathewson via use-livecode wrote: > > Has the Forum gone bottom up? > > Certainly seems quiescent just now. > > Richmond. From bobsneidar at iotecdigital.com Tue Jun 15 11:21:33 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 15 Jun 2021 15:21:33 +0000 Subject: building standalone FAILS with German Umlaute in app name In-Reply-To: <004b01d761e9$0fa31820$2ee94860$@kestner.de> References: <004b01d761e9$0fa31820$2ee94860$@kestner.de> Message-ID: <9D08B688-264D-4B8A-95CA-B2B66E91BC65@iotecdigital.com> A man went to see hist doctor for a problem with his shoulder. He told the doctor, "When I move my arm like this, my shoulder really hurts!" They doctor replied, "Well, don't do that!" :-) Bob S > On Jun 15, 2021, at 06:19 , Tiemo via use-livecode wrote: > > Hello, > > > > macOS 11.2.3, LC 9.6.1 and 9.6.2 > > > > when the app name has German Umlaute, building a standalone fails with the > error: > > "Adding ad-hoc signature failed. . Too many open files in subcomponent > my?App.app/Contents/MacOS/my?App.app" > > > > This was working for the last years without any problem. I don't know, since > which version it failed. > > When replacing the Umlaut, everything works fine. > > Since I have to build shortly an update to an existing app with an Umlaut in > its name, this is pretty annoying! > > > > Any workaround? Any help? > > > > Tiemo From marksmithhfx at gmail.com Tue Jun 15 11:48:37 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 15 Jun 2021 16:48:37 +0100 Subject: building standalone FAILS with German Umlaute in app name In-Reply-To: <9D08B688-264D-4B8A-95CA-B2B66E91BC65@iotecdigital.com> References: <004b01d761e9$0fa31820$2ee94860$@kestner.de> <9D08B688-264D-4B8A-95CA-B2B66E91BC65@iotecdigital.com> Message-ID: <5B97BAF5-79D0-40CF-83FF-7F6B31A13B71@gmail.com> It sounds funny but that is the advice given for people with adhesive capsulitis aka ?frozen shoulder?. Best thing to do is just leave it alone and don?t irritate it. It will resolve itself over a period of months or years ? > On Jun 15, 2021, at 4:21 PM, Bob Sneidar via use-livecode wrote: > > A man went to see hist doctor for a problem with his shoulder. He told the doctor, "When I move my arm like this, my shoulder really hurts!" They doctor replied, "Well, don't do that!" > > :-) > > Bob S > > >> On Jun 15, 2021, at 06:19 , Tiemo via use-livecode wrote: >> >> Hello, >> >> >> >> macOS 11.2.3, LC 9.6.1 and 9.6.2 >> >> >> >> when the app name has German Umlaute, building a standalone fails with the >> error: >> >> "Adding ad-hoc signature failed. . Too many open files in subcomponent >> my?App.app/Contents/MacOS/my?App.app" >> >> >> >> This was working for the last years without any problem. I don't know, since >> which version it failed. >> >> When replacing the Umlaut, everything works fine. >> >> Since I have to build shortly an update to an existing app with an Umlaut in >> its name, this is pretty annoying! >> >> >> >> Any workaround? Any help? >> >> >> >> Tiemo > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 15 12:05:22 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Tue, 15 Jun 2021 18:05:22 +0200 Subject: AW: building standalone FAILS with German Umlaute in app name In-Reply-To: <9D08B688-264D-4B8A-95CA-B2B66E91BC65@iotecdigital.com> References: <004b01d761e9$0fa31820$2ee94860$@kestner.de> <9D08B688-264D-4B8A-95CA-B2B66E91BC65@iotecdigital.com> Message-ID: <005801d76200$3f7fef70$be7fce50$@kestner.de> Easy to tell, living in a country with such a small char set ? Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode Im Auftrag von Bob Sneidar via use-livecode Gesendet: Dienstag, 15. Juni 2021 17:22 An: How to use LiveCode Cc: Bob Sneidar Betreff: Re: building standalone FAILS with German Umlaute in app name A man went to see hist doctor for a problem with his shoulder. He told the doctor, "When I move my arm like this, my shoulder really hurts!" They doctor replied, "Well, don't do that!" :-) Bob S > On Jun 15, 2021, at 06:19 , Tiemo via use-livecode wrote: > > Hello, > > > > macOS 11.2.3, LC 9.6.1 and 9.6.2 > > > > when the app name has German Umlaute, building a standalone fails with > the > error: > > "Adding ad-hoc signature failed. . Too many open files in subcomponent > my?App.app/Contents/MacOS/my?App.app" > > > > This was working for the last years without any problem. I don't know, > since which version it failed. > > When replacing the Umlaut, everything works fine. > > Since I have to build shortly an update to an existing app with an > Umlaut in its name, this is pretty annoying! > > > > Any workaround? Any help? > > > > Tiemo _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue Jun 15 14:29:51 2021 From: dochawk at gmail.com (doc hawk) Date: Tue, 15 Jun 2021 11:29:51 -0700 Subject: building standalone FAILS with German Umlaute in app name In-Reply-To: <5B97BAF5-79D0-40CF-83FF-7F6B31A13B71@gmail.com> References: <004b01d761e9$0fa31820$2ee94860$@kestner.de> <9D08B688-264D-4B8A-95CA-B2B66E91BC65@iotecdigital.com> <5B97BAF5-79D0-40CF-83FF-7F6B31A13B71@gmail.com> Message-ID: <1A62378E-3E55-4A25-AD67-CE6651D366BD@gmail.com> mark muttered, > It sounds funny but that is the advice given for people with adhesive capsulitis aka ?frozen shoulder?. I was given this advice for wines. We eventually figured out that those headaches came the night after sharing a bottle of inexpensive white with my wife, or even a single glass of chilean red. I mentioned it to my quack, and his response was, ?Oh, we?ve seen that before. Just don?t drink those ones.? By chance, we found that it is probably histamines?because I took antihistamines for something eolse one morning. (And it?s a sinus headache, the length of those tissues). Oh, and cheap to mid-range distilled liquor; upper mid- and beyond isn?t an issue. Anyway, walking out of the office that day, I realized, ?I have Groucho Marx?s physician!? From thatkeith at mac.com Tue Jun 15 15:03:16 2021 From: thatkeith at mac.com (Keith Martin) Date: Tue, 15 Jun 2021 20:03:16 +0100 Subject: building standalone FAILS with German Umlaute in app name In-Reply-To: <5B97BAF5-79D0-40CF-83FF-7F6B31A13B71@gmail.com> References: <5B97BAF5-79D0-40CF-83FF-7F6B31A13B71@gmail.com> Message-ID: <669B2912-7321-42EE-B197-9B7020B479AB@mac.com> OT: Fortunately (in a sense) when I got a frozen shoulder four years ago I had surgery to release it. Because I'd also dislocated and fractured it. Longboard injury. Anyway, it worked well. But I hope the solution for this problem is faster and less painful! Keith Keith Martin 360 media specialist http://PanoramaPhotographer.com Contact and info http://thatkeith.com +44 (0)7909541365 > On Jun 15, 2021, at 4:50 PM, Mark Smith via use-livecode wrote: > > ?It sounds funny but that is the advice given for people with adhesive capsulitis aka ?frozen shoulder?. Best thing to do is just leave it alone and don?t irritate it. It will resolve itself over a period of months or years ? > >> On Jun 15, 2021, at 4:21 PM, Bob Sneidar via use-livecode wrote: >> >> A man went to see hist doctor for a problem with his shoulder. He told the doctor, "When I move my arm like this, my shoulder really hurts!" They doctor replied, "Well, don't do that!" >> >> :-) >> >> Bob S >> >> >>>> On Jun 15, 2021, at 06:19 , Tiemo via use-livecode wrote: >>> >>> Hello, >>> >>> >>> >>> macOS 11.2.3, LC 9.6.1 and 9.6.2 >>> >>> >>> >>> when the app name has German Umlaute, building a standalone fails with the >>> error: >>> >>> "Adding ad-hoc signature failed. . Too many open files in subcomponent >>> my?App.app/Contents/MacOS/my?App.app" >>> >>> >>> >>> This was working for the last years without any problem. I don't know, since >>> which version it failed. >>> >>> When replacing the Umlaut, everything works fine. >>> >>> Since I have to build shortly an update to an existing app with an Umlaut in >>> its name, this is pretty annoying! >>> >>> >>> >>> Any workaround? Any help? >>> >>> >>> >>> Tiemo >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Wed Jun 16 00:11:14 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 16 Jun 2021 04:11:14 +0000 Subject: What happened to mobilePickDate ?? Message-ID: <53EC8DC3-B276-45FE-A65E-E5166A67EE59@clearvisiontech.com> Has anyone tried mobilePickDate in LC 9.6.2? On both a phone and tablet, you don't get a picker! It popups a dialog that contains the date (or time). Then you have to tap the date/time and then you get the most tiny date (or time) editor. Is this the new Apple Guidline for picking a date/time?? Can't be! This must be a bug. And, on an iPhone, it's so far to the bottom of the screen, it's barely usable! Anyone have any insight on this? -Dan From richmondmathewson at gmail.com Wed Jun 16 01:06:38 2021 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 16 Jun 2021 08:06:38 +0300 Subject: building standalone FAILS with German Umlaute in app name In-Reply-To: <1A62378E-3E55-4A25-AD67-CE6651D366BD@gmail.com> References: <004b01d761e9$0fa31820$2ee94860$@kestner.de> <9D08B688-264D-4B8A-95CA-B2B66E91BC65@iotecdigital.com> <5B97BAF5-79D0-40CF-83FF-7F6B31A13B71@gmail.com> <1A62378E-3E55-4A25-AD67-CE6651D366BD@gmail.com> Message-ID: <5f8c0fd1-5bb3-23c8-408d-7f85e23205db@gmail.com> Dunno . . . I had peri-arthritis in my right shoulder about 2 years ago and had to have 2 very painful injections of non-cortico-steroids there, right into the inflamed capsule. Did the trick. I have never had any problems with my umlauts. :) Richmond On 15.06.21 21:29, doc hawk via use-livecode wrote: > mark muttered, > >> It sounds funny but that is the advice given for people with adhesive capsulitis aka ?frozen shoulder?. > I was given this advice for wines. We eventually figured out that those headaches came the night after sharing a bottle of inexpensive white with my wife, or even a single glass of chilean red. > > I mentioned it to my quack, and his response was, ?Oh, we?ve seen that before. Just don?t drink those ones.? > > By chance, we found that it is probably histamines?because I took antihistamines for something eolse one morning. (And it?s a sinus headache, the length of those tissues). > > Oh, and cheap to mid-range distilled liquor; upper mid- and beyond isn?t an issue. > > Anyway, walking out of the office that day, I realized, ?I have Groucho Marx?s physician!? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Jun 16 01:15:50 2021 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Wed, 16 Jun 2021 07:15:50 +0200 Subject: building standalone FAILS with German Umlaute in app name In-Reply-To: <004b01d761e9$0fa31820$2ee94860$@kestner.de> References: <004b01d761e9$0fa31820$2ee94860$@kestner.de> Message-ID: <2120FC55-1280-4C34-876B-2381AB47C982@laposte.net> > Le 15 juin 2021 ? 15:19, Tiemo via use-livecode a ?crit : > > Hello, > > > > macOS 11.2.3, LC 9.6.1 and 9.6.2 > > > > when the app name has German Umlaute, building a standalone fails with the > error: > > ?Adding ad-hoc signature failed. ? Too many open files in subcomponent > my?App.app/Contents/MacOS/my?App.app? > > > > This was working for the last years without any problem. I don?t know, since > which version it failed. > > When replacing the Umlaut, everything works fine. > > Since I have to build shortly an update to an existing app with an Umlaut in > its name, this is pretty annoying! > > > > Any workaround? Any help? > Seem it?s the same bug : https://quality.livecode.com/show_bug.cgi?id=22791 Workaround : rename the app after building it Ludovic From richmondmathewson at gmail.com Wed Jun 16 01:18:24 2021 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 16 Jun 2021 08:18:24 +0300 Subject: building standalone FAILS with German Umlaute in app name In-Reply-To: <669B2912-7321-42EE-B197-9B7020B479AB@mac.com> References: <5B97BAF5-79D0-40CF-83FF-7F6B31A13B71@gmail.com> <669B2912-7321-42EE-B197-9B7020B479AB@mac.com> Message-ID: <09b001ae-518c-f693-1bad-6f22a6b190c4@gmail.com> All I can do, unfortunately, is confirm this: I built a stack called "U?nterweg" (sorry, people, my German consists of half a dozen street signs) and attempted to build a standalone macOS 11.5 beta 2 and got the guff about an ad-hoc signature failure and some interesting nonsense about "Too many open files in subcomponent" and what is odd is that it refers to the incipient standalone as "U??nterweg" Richmond On 15.06.21 22:03, Keith Martin via use-livecode wrote: > OT: Fortunately (in a sense) when I got a frozen shoulder four years ago I had surgery to release it. Because I'd also dislocated and fractured it. Longboard injury. Anyway, it worked well. But I hope the solution for this problem is faster and less painful! > > Keith > > Keith Martin > 360 media specialist http://PanoramaPhotographer.com > Contact and info http://thatkeith.com > +44 (0)7909541365 > > > >> On Jun 15, 2021, at 4:50 PM, Mark Smith via use-livecode wrote: >> >> ?It sounds funny but that is the advice given for people with adhesive capsulitis aka ?frozen shoulder?. Best thing to do is just leave it alone and don?t irritate it. It will resolve itself over a period of months or years ? >> >>> On Jun 15, 2021, at 4:21 PM, Bob Sneidar via use-livecode wrote: >>> >>> A man went to see hist doctor for a problem with his shoulder. He told the doctor, "When I move my arm like this, my shoulder really hurts!" They doctor replied, "Well, don't do that!" >>> >>> :-) >>> >>> Bob S >>> >>> >>>>> On Jun 15, 2021, at 06:19 , Tiemo via use-livecode wrote: >>>> Hello, >>>> >>>> >>>> >>>> macOS 11.2.3, LC 9.6.1 and 9.6.2 >>>> >>>> >>>> >>>> when the app name has German Umlaute, building a standalone fails with the >>>> error: >>>> >>>> "Adding ad-hoc signature failed. . Too many open files in subcomponent >>>> my?App.app/Contents/MacOS/my?App.app" >>>> >>>> >>>> >>>> This was working for the last years without any problem. I don't know, since >>>> which version it failed. >>>> >>>> When replacing the Umlaut, everything works fine. >>>> >>>> Since I have to build shortly an update to an existing app with an Umlaut in >>>> its name, this is pretty annoying! >>>> >>>> >>>> >>>> Any workaround? Any help? >>>> >>>> >>>> >>>> Tiemo >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 16 02:19:12 2021 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 16 Jun 2021 09:19:12 +0300 Subject: building standalone FAILS with German Umlaute in app name In-Reply-To: <09b001ae-518c-f693-1bad-6f22a6b190c4@gmail.com> References: <5B97BAF5-79D0-40CF-83FF-7F6B31A13B71@gmail.com> <669B2912-7321-42EE-B197-9B7020B479AB@mac.com> <09b001ae-518c-f693-1bad-6f22a6b190c4@gmail.com> Message-ID: <1666d0b4-0426-1800-4ef3-54323b8a1e58@gmail.com> Oddly enough, trying to make standalones from a stack called "????" worked perfectly well. Richmond. On 16.06.21 8:18, Richmond wrote: > > > Richmond > > > > On 15.06.21 22:03, Keith Martin via use-livecode wrote: >> OT: Fortunately (in a sense) when I got a frozen shoulder four years >> ago I had surgery to release it. Because I'd also dislocated and >> fractured it. Longboard injury. Anyway, it worked well. But I hope >> the solution for this problem is faster and less painful! >> >> Keith >> >> Keith Martin >> 360 media specialist http://PanoramaPhotographer.com >> Contact and info http://thatkeith.com >> +44 (0)7909541365 >> >> >> >>> On Jun 15, 2021, at 4:50 PM, Mark Smith via use-livecode >>> wrote: >>> >>> ?It sounds funny but that is the advice given for people with >>> adhesive capsulitis aka ?frozen shoulder?. Best thing to do is just >>> leave it alone and don?t irritate it. It will resolve itself over a >>> period of months or years ? >>> >>>> On Jun 15, 2021, at 4:21 PM, Bob Sneidar via use-livecode >>>> wrote: >>>> >>>> A man went to see hist doctor for a problem with his shoulder. He >>>> told the doctor, "When I move my arm like this, my shoulder really >>>> hurts!" They doctor replied, "Well, don't do that!" >>>> >>>> :-) >>>> >>>> Bob S >>>> >>>> >>>>>> On Jun 15, 2021, at 06:19 , Tiemo via use-livecode >>>>>> wrote: >>>>> Hello, >>>>> >>>>> >>>>> >>>>> macOS 11.2.3, LC 9.6.1 and 9.6.2 >>>>> >>>>> >>>>> >>>>> when the app name has German Umlaute, building a standalone fails >>>>> with the >>>>> error: >>>>> >>>>> "Adding ad-hoc signature failed. . Too many open files in >>>>> subcomponent >>>>> my?App.app/Contents/MacOS/my?App.app" >>>>> >>>>> >>>>> >>>>> This was working for the last years without any problem. I don't >>>>> know, since >>>>> which version it failed. >>>>> >>>>> When replacing the Umlaut, everything works fine. >>>>> >>>>> Since I have to build shortly an update to an existing app with an >>>>> Umlaut in >>>>> its name, this is pretty annoying! >>>>> >>>>> >>>>> >>>>> Any workaround? Any help? >>>>> >>>>> >>>>> >>>>> Tiemo >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at elementarysoftware.com Wed Jun 16 02:58:10 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 15 Jun 2021 23:58:10 -0700 Subject: What happened to mobilePickDate ?? In-Reply-To: <53EC8DC3-B276-45FE-A65E-E5166A67EE59@clearvisiontech.com> References: <53EC8DC3-B276-45FE-A65E-E5166A67EE59@clearvisiontech.com> Message-ID: <4930C138-2A68-4E04-9DDC-22ABE7F030A6@elementarysoftware.com> On my iPhone 12 the initial date/time appears so far at the bottom of the screen it is partially covered by the Home Indicator. Agreed that this position? or needing to tap the tiny date/time at the bottom of the screen at all, is now incorrect. I wonder if this is caused by a recent change in iOS that LC hasn?t adapted to yet. -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 mobile 360-920-0715 ------------------------------------------------------ > On Jun 15, 2021, at 9:11 PM, Dan Friedman via use-livecode wrote: > > Has anyone tried mobilePickDate in LC 9.6.2? On both a phone and tablet, you don't get a picker! It popups a dialog that contains the date (or time). Then you have to tap the date/time and then you get the most tiny date (or time) editor. Is this the new Apple Guidline for picking a date/time?? Can't be! This must be a bug. And, on an iPhone, it's so far to the bottom of the screen, it's barely usable! Anyone have any insight on this? > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Wed Jun 16 03:05:58 2021 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Wed, 16 Jun 2021 00:05:58 -0700 Subject: What happened to mobilePickDate ?? In-Reply-To: <53EC8DC3-B276-45FE-A65E-E5166A67EE59@clearvisiontech.com> References: <53EC8DC3-B276-45FE-A65E-E5166A67EE59@clearvisiontech.com> Message-ID: <80597907-F3ED-457B-8F53-96395ECB28FF@elementarysoftware.com> I forgot to include this link to a brief discussion of the changed date picker in iOS 14 https://blog.prototypr.io/dear-product-designers-this-is-new-in-ios-14-e70035083cc -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-360-734-4701 ??????????????????????????? > On Jun 15, 2021, at 9:11 PM, Dan Friedman via use-livecode wrote: > > Has anyone tried mobilePickDate in LC 9.6.2? On both a phone and tablet, you don't get a picker! It popups a dialog that contains the date (or time). Then you have to tap the date/time and then you get the most tiny date (or time) editor. Is this the new Apple Guidline for picking a date/time?? Can't be! This must be a bug. And, on an iPhone, it's so far to the bottom of the screen, it's barely usable! Anyone have any insight on this? > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Wed Jun 16 03:51:45 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Wed, 16 Jun 2021 09:51:45 +0200 Subject: AW: building standalone FAILS with German Umlaute in app name In-Reply-To: <2120FC55-1280-4C34-876B-2381AB47C982@laposte.net> References: <004b01d761e9$0fa31820$2ee94860$@kestner.de> <2120FC55-1280-4C34-876B-2381AB47C982@laposte.net> Message-ID: <001d01d76284$7573fde0$605bf9a0$@kestner.de> Hello Ludovic, thank you for your idea! I didn't dare to just rename the app because I don't know what the consequences might be. Can I really just rename the app and leave all other places in the bundle where the name of the app occurs (plist, etc.) as it is without any problems, or do I have to rename the app name in every place I find? Any experiences? Thanks Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode Im Auftrag von Ludovic THEBAULT via use-livecode Gesendet: Mittwoch, 16. Juni 2021 07:16 An: How to use LiveCode Cc: Ludovic THEBAULT Betreff: Re: building standalone FAILS with German Umlaute in app name > Le 15 juin 2021 ? 15:19, Tiemo via use-livecode a ?crit : > > Hello, > > > > macOS 11.2.3, LC 9.6.1 and 9.6.2 > > > > when the app name has German Umlaute, building a standalone fails with > the > error: > > ?Adding ad-hoc signature failed. ? Too many open files in subcomponent > my?App.app/Contents/MacOS/my?App.app? > > > > This was working for the last years without any problem. I don?t know, > since which version it failed. > > When replacing the Umlaut, everything works fine. > > Since I have to build shortly an update to an existing app with an > Umlaut in its name, this is pretty annoying! > > > > Any workaround? Any help? > Seem it?s the same bug : https://quality.livecode.com/show_bug.cgi?id=22791 Workaround : rename the app after building it 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 jbv at souslelogo.com Wed Jun 16 06:56:43 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 16 Jun 2021 06:56:43 -0400 Subject: Resizing images Message-ID: Hi list, I need to resize hundreds of jpg and png images. Most images have different initial width and height, and the resizing needs to be done according to data in an xml file, therefore most resizing are quite unique. I was wondering : what is the best way to do it ? 1- with a LC script using export snapshot 2- or in php using a library such as Image magik ? The main point is not how to do it, for I can code both options, but rather : which option will ensure the best image quality after resizing ? Thanks in advance. jbv From paul at researchware.com Wed Jun 16 07:56:52 2021 From: paul at researchware.com (Paul Dupuis) Date: Wed, 16 Jun 2021 07:56:52 -0400 Subject: building standalone FAILS with German Umlaute in app name In-Reply-To: <1666d0b4-0426-1800-4ef3-54323b8a1e58@gmail.com> References: <5B97BAF5-79D0-40CF-83FF-7F6B31A13B71@gmail.com> <669B2912-7321-42EE-B197-9B7020B479AB@mac.com> <09b001ae-518c-f693-1bad-6f22a6b190c4@gmail.com> <1666d0b4-0426-1800-4ef3-54323b8a1e58@gmail.com> Message-ID: <02e7b23c-b406-18e7-9129-84585091293f@researchware.com> So this is clearly a bug in the standalone builder. Has anyone files a bug report yet? On 6/16/2021 2:19 AM, Richmond via use-livecode wrote: > Oddly enough, trying to make standalones from a stack called "????" > worked perfectly well. > > Richmond. > > On 16.06.21 8:18, Richmond wrote: >> >> >> Richmond >> >> >> >> On 15.06.21 22:03, Keith Martin via use-livecode wrote: >>> OT: Fortunately (in a sense) when I got a frozen shoulder four years >>> ago I had surgery to release it. Because I'd also dislocated and >>> fractured it. Longboard injury. Anyway, it worked well. But I hope >>> the solution for this problem is faster and less painful! >>> >>> Keith >>> >>> Keith Martin >>> 360 media specialist http://PanoramaPhotographer.com >>> Contact and info http://thatkeith.com >>> +44 (0)7909541365 >>> >>> >>> >>>> On Jun 15, 2021, at 4:50 PM, Mark Smith via use-livecode >>>> wrote: >>>> >>>> ?It sounds funny but that is the advice given for people with >>>> adhesive capsulitis aka ?frozen shoulder?. Best thing to do is just >>>> leave it alone and don?t irritate it. It will resolve itself over a >>>> period of months or years ? >>>> >>>>> On Jun 15, 2021, at 4:21 PM, Bob Sneidar via use-livecode >>>>> wrote: >>>>> >>>>> A man went to see hist doctor for a problem with his shoulder. He >>>>> told the doctor, "When I move my arm like this, my shoulder really >>>>> hurts!" They doctor replied, "Well, don't do that!" >>>>> >>>>> :-) >>>>> >>>>> Bob S >>>>> >>>>> >>>>>>> On Jun 15, 2021, at 06:19 , Tiemo via use-livecode >>>>>>> wrote: >>>>>> Hello, >>>>>> >>>>>> >>>>>> >>>>>> macOS 11.2.3, LC 9.6.1 and 9.6.2 >>>>>> >>>>>> >>>>>> >>>>>> when the app name has German Umlaute, building a standalone fails >>>>>> with the >>>>>> error: >>>>>> >>>>>> "Adding ad-hoc signature failed. . Too many open files in >>>>>> subcomponent >>>>>> my?App.app/Contents/MacOS/my?App.app" >>>>>> >>>>>> >>>>>> >>>>>> This was working for the last years without any problem. I don't >>>>>> know, since >>>>>> which version it failed. >>>>>> >>>>>> When replacing the Umlaut, everything works fine. >>>>>> >>>>>> Since I have to build shortly an update to an existing app with >>>>>> an Umlaut in >>>>>> its name, this is pretty annoying! >>>>>> >>>>>> >>>>>> >>>>>> Any workaround? Any help? >>>>>> >>>>>> >>>>>> >>>>>> Tiemo >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 16 08:48:30 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Wed, 16 Jun 2021 14:48:30 +0200 Subject: AW: building standalone FAILS with German Umlaute in app name In-Reply-To: <02e7b23c-b406-18e7-9129-84585091293f@researchware.com> References: <5B97BAF5-79D0-40CF-83FF-7F6B31A13B71@gmail.com> <669B2912-7321-42EE-B197-9B7020B479AB@mac.com> <09b001ae-518c-f693-1bad-6f22a6b190c4@gmail.com> <1666d0b4-0426-1800-4ef3-54323b8a1e58@gmail.com> <02e7b23c-b406-18e7-9129-84585091293f@researchware.com> Message-ID: <005401d762ad$e9ebadc0$bdc30940$@kestner.de> Yes, I did -----Urspr?ngliche Nachricht----- Von: use-livecode Im Auftrag von Paul Dupuis via use-livecode Gesendet: Mittwoch, 16. Juni 2021 13:57 An: use-livecode at lists.runrev.com Cc: Paul Dupuis Betreff: Re: building standalone FAILS with German Umlaute in app name So this is clearly a bug in the standalone builder. Has anyone files a bug report yet? On 6/16/2021 2:19 AM, Richmond via use-livecode wrote: > Oddly enough, trying to make standalones from a stack called "????" > worked perfectly well. > > Richmond. > > On 16.06.21 8:18, Richmond wrote: >> >> >> Richmond >> >> >> >> On 15.06.21 22:03, Keith Martin via use-livecode wrote: >>> OT: Fortunately (in a sense) when I got a frozen shoulder four years >>> ago I had surgery to release it. Because I'd also dislocated and >>> fractured it. Longboard injury. Anyway, it worked well. But I hope >>> the solution for this problem is faster and less painful! >>> >>> Keith >>> >>> Keith Martin >>> 360 media specialist http://PanoramaPhotographer.com >>> Contact and info http://thatkeith.com >>> +44 (0)7909541365 >>> >>> >>> >>>> On Jun 15, 2021, at 4:50 PM, Mark Smith via use-livecode >>>> wrote: >>>> >>>> ?It sounds funny but that is the advice given for people with >>>> adhesive capsulitis aka ?frozen shoulder?. Best thing to do is just >>>> leave it alone and don?t irritate it. It will resolve itself over a >>>> period of months or years ? >>>> >>>>> On Jun 15, 2021, at 4:21 PM, Bob Sneidar via use-livecode >>>>> wrote: >>>>> >>>>> A man went to see hist doctor for a problem with his shoulder. He >>>>> told the doctor, "When I move my arm like this, my shoulder really >>>>> hurts!" They doctor replied, "Well, don't do that!" >>>>> >>>>> :-) >>>>> >>>>> Bob S >>>>> >>>>> >>>>>>> On Jun 15, 2021, at 06:19 , Tiemo via use-livecode >>>>>>> wrote: >>>>>> Hello, >>>>>> >>>>>> >>>>>> >>>>>> macOS 11.2.3, LC 9.6.1 and 9.6.2 >>>>>> >>>>>> >>>>>> >>>>>> when the app name has German Umlaute, building a standalone fails >>>>>> with the >>>>>> error: >>>>>> >>>>>> "Adding ad-hoc signature failed. . Too many open files in >>>>>> subcomponent >>>>>> my?App.app/Contents/MacOS/my?App.app" >>>>>> >>>>>> >>>>>> >>>>>> This was working for the last years without any problem. I don't >>>>>> know, since >>>>>> which version it failed. >>>>>> >>>>>> When replacing the Umlaut, everything works fine. >>>>>> >>>>>> Since I have to build shortly an update to an existing app with >>>>>> an Umlaut in >>>>>> its name, this is pretty annoying! >>>>>> >>>>>> >>>>>> >>>>>> Any workaround? Any help? >>>>>> >>>>>> >>>>>> >>>>>> Tiemo >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Jun 16 11:15:30 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Jun 2021 15:15:30 +0000 Subject: building standalone FAILS with German Umlaute in app name In-Reply-To: <001d01d76284$7573fde0$605bf9a0$@kestner.de> References: <004b01d761e9$0fa31820$2ee94860$@kestner.de> <2120FC55-1280-4C34-876B-2381AB47C982@laposte.net> <001d01d76284$7573fde0$605bf9a0$@kestner.de> Message-ID: I think he is saying name the stack without the umlat before building, then rename the resulting app bundle after the build. There should be no consequences for that. Also in the Standalone Settings, you should be able to provide a different name than the mainstack for the resulting app. Bob S > On Jun 16, 2021, at 24:51 , Tiemo via use-livecode wrote: > > Hello Ludovic, > > thank you for your idea! > > I didn't dare to just rename the app because I don't know what the consequences might be. Can I really just rename the app and leave all other places in the bundle where the name of the app occurs (plist, etc.) as it is without any problems, or do I have to rename the app name in every place I find? > > Any experiences? > > Thanks > Tiemo > > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode Im Auftrag von Ludovic THEBAULT via use-livecode > Gesendet: Mittwoch, 16. Juni 2021 07:16 > An: How to use LiveCode > Cc: Ludovic THEBAULT > Betreff: Re: building standalone FAILS with German Umlaute in app name > > > >> Le 15 juin 2021 ? 15:19, Tiemo via use-livecode a ?crit : >> >> Hello, >> >> >> >> macOS 11.2.3, LC 9.6.1 and 9.6.2 >> >> >> >> when the app name has German Umlaute, building a standalone fails with >> the >> error: >> >> ?Adding ad-hoc signature failed. ? Too many open files in subcomponent >> my?App.app/Contents/MacOS/my?App.app? >> >> >> >> This was working for the last years without any problem. I don?t know, >> since which version it failed. >> >> When replacing the Umlaut, everything works fine. >> >> Since I have to build shortly an update to an existing app with an >> Umlaut in its name, this is pretty annoying! >> >> >> >> Any workaround? Any help? >> > > > Seem it?s the same bug : https://quality.livecode.com/show_bug.cgi?id=22791 > > Workaround : rename the app after building it > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jun 16 11:26:20 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 16 Jun 2021 15:26:20 +0000 Subject: building standalone FAILS with German Umlaute in app name In-Reply-To: References: <004b01d761e9$0fa31820$2ee94860$@kestner.de> <2120FC55-1280-4C34-876B-2381AB47C982@laposte.net> <001d01d76284$7573fde0$605bf9a0$@kestner.de> Message-ID: <7572A16B-43FE-41DE-81CF-2B6E5053CF7A@iotecdigital.com> If you have code that refers to the stack name literally, what I do is I have a function called homeStack() that returns the name of the mainstack, so you can change it and your code will always work, and will be portable in that regard. Bob S > On Jun 16, 2021, at 08:15 , Bob Sneidar via use-livecode wrote: > > I think he is saying name the stack without the umlat before building, then rename the resulting app bundle after the build. There should be no consequences for that. Also in the Standalone Settings, you should be able to provide a different name than the mainstack for the resulting app. > > Bob S From toolbook at kestner.de Wed Jun 16 11:28:28 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Wed, 16 Jun 2021 17:28:28 +0200 Subject: codesigning FAILS with Umlaute Message-ID: <007401d762c4$41e8b200$c5ba1600$@kestner.de> Hello, My Umlaut problem seems to be getting worse. I could build a standalone of my umlaut app with LC Version 9.5 (9.6.1 and 9.6.2 failed, see my last post). But now trying to codesign fails. First I tried to codesign with Matthias helper stack (as in the past) and the process fails with the message "invalid or unsupported format for signature in subcomponent: /./tsNet.bundle. The display of my app name in the status report window shows a broken name (hieroglyphs instead of the umlaut). Same fail, when codesigning manually via terminal. I think the problem is the umlaut in the app name and not tsNet.bundle, because another app which also includes tsNet.bundle, but has no umlaut, can be signed fine. Since this is a ten year old app, which has been codesigned for years, it must have something to do with Big Sure or Xcode and not LC, because of the problem appears also in the termial. Any idea? please no stories about your doctor experiences . Thanks Tiemo From toolbook at kestner.de Wed Jun 16 11:34:55 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Wed, 16 Jun 2021 17:34:55 +0200 Subject: AW: building standalone FAILS with German Umlaute in app name In-Reply-To: References: <004b01d761e9$0fa31820$2ee94860$@kestner.de> <2120FC55-1280-4C34-876B-2381AB47C982@laposte.net> <001d01d76284$7573fde0$605bf9a0$@kestner.de> Message-ID: <007901d762c5$28affae0$7a0ff0a0$@kestner.de> Hi Bob, yes I provided a different name without umlaute in the standalone settings with success. But my question was what happens, if I rename the standalone after the build whilst the build name is also used inside the bundle at different places (plist, content,...). Will macOS accept those difference? And now with my last post, I think, renaming after codesigning will break the codesign and notarization. Or am I wrong and that doesen't matter? Thanks for your ideas Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode Im Auftrag von Bob Sneidar via use-livecode Gesendet: Mittwoch, 16. Juni 2021 17:16 An: How to use LiveCode Cc: Bob Sneidar Betreff: Re: building standalone FAILS with German Umlaute in app name I think he is saying name the stack without the umlat before building, then rename the resulting app bundle after the build. There should be no consequences for that. Also in the Standalone Settings, you should be able to provide a different name than the mainstack for the resulting app. Bob S > On Jun 16, 2021, at 24:51 , Tiemo via use-livecode wrote: > > Hello Ludovic, > > thank you for your idea! > > I didn't dare to just rename the app because I don't know what the consequences might be. Can I really just rename the app and leave all other places in the bundle where the name of the app occurs (plist, etc.) as it is without any problems, or do I have to rename the app name in every place I find? > > Any experiences? > > Thanks > Tiemo > > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode Im Auftrag > von Ludovic THEBAULT via use-livecode > Gesendet: Mittwoch, 16. Juni 2021 07:16 > An: How to use LiveCode > Cc: Ludovic THEBAULT > Betreff: Re: building standalone FAILS with German Umlaute in app name > > > >> Le 15 juin 2021 ? 15:19, Tiemo via use-livecode a ?crit : >> >> Hello, >> >> >> >> macOS 11.2.3, LC 9.6.1 and 9.6.2 >> >> >> >> when the app name has German Umlaute, building a standalone fails >> with the >> error: >> >> ?Adding ad-hoc signature failed. ? Too many open files in >> subcomponent my?App.app/Contents/MacOS/my?App.app? >> >> >> >> This was working for the last years without any problem. I don?t >> know, since which version it failed. >> >> When replacing the Umlaut, everything works fine. >> >> Since I have to build shortly an update to an existing app with an >> Umlaut in its name, this is pretty annoying! >> >> >> >> Any workaround? Any help? >> > > > Seem it?s the same bug : > https://quality.livecode.com/show_bug.cgi?id=22791 > > > Workaround : rename the app after building it > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Jun 16 11:53:24 2021 From: mark at livecode.com (Mark Waddingham) Date: Wed, 16 Jun 2021 16:53:24 +0100 Subject: codesigning FAILS with Umlaute In-Reply-To: <007401d762c4$41e8b200$c5ba1600$@kestner.de> References: <007401d762c4$41e8b200$c5ba1600$@kestner.de> Message-ID: <89a431315e2f79877d3f7ea7b1bb3fbb@livecode.com> On 2021-06-16 16:28, Tiemo via use-livecode wrote: > Any idea? please no stories about your doctor experiences . > So I asked Ian to have a look into this - my first thought was that we were missing an appropriate textEncode when building the shell command in the S/B to do the codesigning... (The S/B since 9.6.1 does an 'ad-hoc' codesign on standalones as otherwise Catalina+ can complain) However, it would appear that 'codesign' does not like the executable name (the bit in Contents/MacOS) having accented chars. So I think you'll have to tweak the app name in the S/B mac options to remove the umlaut - then the internal exe will be fine; then after you've built - just rename the app bundle to be the one with the umlaut. This shouldn't affect verification of the signed app at all as its everything *inside* the .app folder which is signed (the internals are - the plist contains a ref to the actual executable name, and plist is used to generate the code signature, along with the other stuff in the app). Hope this helps! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From andrew at midwestcoastmedia.com Wed Jun 16 12:39:42 2021 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Wed, 16 Jun 2021 12:39:42 -0400 Subject: What happened to mobilePickDate ?? In-Reply-To: References: Message-ID: <935ABF0D-4C53-48B6-A53A-7762A647D096@midwestcoastmedia.com> This has been reported and patched in a yet to be released build. https://quality.livecode.com/show_bug.cgi?id=23130 --Andrew Bell > Subject: What happened to mobilePickDate ?? > Message-ID: <53EC8DC3-B276-45FE-A65E-E5166A67EE59 at clearvisiontech.com> > Content-Type: text/plain; charset="utf-8" > > Has anyone tried mobilePickDate in LC 9.6.2? On both a phone and tablet, you don't get a picker! It popups a dialog that contains the date (or time). Then you have to tap the date/time and then you get the most tiny date (or time) editor. Is this the new Apple Guidline for picking a date/time?? Can't be! This must be a bug. And, on an iPhone, it's so far to the bottom of the screen, it's barely usable! Anyone have any insight on this? > > -Dan From dan at clearvisiontech.com Wed Jun 16 12:42:24 2021 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 16 Jun 2021 16:42:24 +0000 Subject: Missing Private Key Woes Message-ID: I am reaching out for some assistance while I have 1 hair left in my head! Can't build standalone for iOS in LC... get this message: "There was an error while saving the standalone application - could not find a valid identity to use for the selected profile." I look in XCode > Preferences > Accounts and I see the Signing certificate says "Missing Private Key". Is this the issue? Does anyone have any advice on this? With much gratitude, -Dan From tom at makeshyft.com Wed Jun 16 19:18:55 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 16 Jun 2021 19:18:55 -0400 Subject: Resizing images In-Reply-To: References: Message-ID: I think if you set the resizequality to "best" before the export snapshop, the quality will USUALLY be the same as any other solution, to the eye anyway. But it all depends on the image and the edges that are within it. Image magic gives you other resampling options ..... so in that sense, maybe it is the better solution because you can test the different sampling options. especially when UPscaling also, export lossless as png or jpeg 100 ,,,, to maintain all the image data. Let us know how it turns out On Wed, Jun 16, 2021 at 6:58 AM jbv via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi list, > I need to resize hundreds of jpg and png images. > Most images have different initial width and height, > and the resizing needs to be done according to data > in an xml file, therefore most resizing are quite > unique. > I was wondering : what is the best way to do it ? > 1- with a LC script using export snapshot > 2- or in php using a library such as Image magik ? > > The main point is not how to do it, for I can code > both options, but rather : which option will ensure > the best image quality after resizing ? > > Thanks in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From toolbook at kestner.de Thu Jun 17 03:02:27 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Thu, 17 Jun 2021 09:02:27 +0200 Subject: AW: codesigning FAILS with Umlaute In-Reply-To: <89a431315e2f79877d3f7ea7b1bb3fbb@livecode.com> References: <007401d762c4$41e8b200$c5ba1600$@kestner.de> <89a431315e2f79877d3f7ea7b1bb3fbb@livecode.com> Message-ID: <001f01d76346$bbd1d330$33757990$@kestner.de> Hello Mark, thank you for jumping in with your expertise - it works! I appreciate your efforts very much! I never would have dared to rename an app after signing and notarization. I am so glad, you found a solution. My app is named since 12 years "DGS-W?rterbuch", because the German spelling of "dictionary" is "W?rterbuch" - with an Umlaut and nothing else. Every other spelling wouldn't look very professional for a German. So probably the other issue of my first post (fail on building a standalone with Umlaut) is related to the new ad-hoc signing feature of LC 9.6. and is based on the same codesign bug of xCode (it worked for years without problems). I will send a bug report to Apple. Thank you again! Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode Im Auftrag von Mark Waddingham via use-livecode Gesendet: Mittwoch, 16. Juni 2021 17:53 An: How to use LiveCode Cc: Mark Waddingham Betreff: Re: codesigning FAILS with Umlaute On 2021-06-16 16:28, Tiemo via use-livecode wrote: > Any idea? please no stories about your doctor experiences . > So I asked Ian to have a look into this - my first thought was that we were missing an appropriate textEncode when building the shell command in the S/B to do the codesigning... (The S/B since 9.6.1 does an 'ad-hoc' codesign on standalones as otherwise Catalina+ can complain) However, it would appear that 'codesign' does not like the executable name (the bit in Contents/MacOS) having accented chars. So I think you'll have to tweak the app name in the S/B mac options to remove the umlaut - then the internal exe will be fine; then after you've built - just rename the app bundle to be the one with the umlaut. This shouldn't affect verification of the signed app at all as its everything *inside* the .app folder which is signed (the internals are - the plist contains a ref to the actual executable name, and plist is used to generate the code signature, along with the other stuff in the app). Hope this helps! 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 paul at researchware.com Thu Jun 17 07:42:19 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 17 Jun 2021 07:42:19 -0400 Subject: AW: codesigning FAILS with Umlaute In-Reply-To: <001f01d76346$bbd1d330$33757990$@kestner.de> References: <007401d762c4$41e8b200$c5ba1600$@kestner.de> <89a431315e2f79877d3f7ea7b1bb3fbb@livecode.com> <001f01d76346$bbd1d330$33757990$@kestner.de> Message-ID: <559250a1-5ef7-c245-91a6-4301a62b3d4e@researchware.com> My guess (and it is just a guess) is that this failure has noting to do with Apple's codesigning. If, since 9.6.1, LiveCode does an ad-hoc code signing, I suspect it is doing that via a call to the "shell" command to issue the same codesign command you would do through Terminal under macOS. If so, the bug is in the engine's "shell" command, in that Shell does not support Unicode. See https://quality.livecode.com/show_bug.cgi?id=22334 Perhaps this will be incentive for LC to fix this bug. On 6/17/2021 3:02 AM, Tiemo via use-livecode wrote: > Hello Mark, > > thank you for jumping in with your expertise - it works! I appreciate your > efforts very much! > I never would have dared to rename an app after signing and notarization. > > I am so glad, you found a solution. My app is named since 12 years > "DGS-W?rterbuch", because the German spelling of "dictionary" is > "W?rterbuch" - with an Umlaut and nothing else. Every other spelling > wouldn't look very professional for a German. > > So probably the other issue of my first post (fail on building a standalone > with Umlaut) is related to the new ad-hoc signing feature of LC 9.6. and is > based on the same codesign bug of xCode (it worked for years without > problems). I will send a bug report to Apple. > > Thank you again! > Tiemo > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode Im Auftrag von > Mark Waddingham via use-livecode > Gesendet: Mittwoch, 16. Juni 2021 17:53 > An: How to use LiveCode > Cc: Mark Waddingham > Betreff: Re: codesigning FAILS with Umlaute > > On 2021-06-16 16:28, Tiemo via use-livecode wrote: >> Any idea? please no stories about your doctor experiences . >> > So I asked Ian to have a look into this - my first thought was that we were > missing an appropriate textEncode when building the shell command in the S/B > to do the codesigning... > > (The S/B since 9.6.1 does an 'ad-hoc' codesign on standalones as otherwise > Catalina+ can complain) > > However, it would appear that 'codesign' does not like the executable name > (the bit in Contents/MacOS) having accented chars. > > So I think you'll have to tweak the app name in the S/B mac options to > remove the umlaut - then the internal exe will be fine; then after you've > built - just rename the app bundle to be the one with the umlaut. > > This shouldn't affect verification of the signed app at all as its > everything *inside* the .app folder which is signed (the internals are - the > plist contains a ref to the actual executable name, and plist is used to > generate the code signature, along with the other stuff in the app). > > Hope this helps! > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Jun 17 09:04:20 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Thu, 17 Jun 2021 15:04:20 +0200 Subject: AW: AW: codesigning FAILS with Umlaute In-Reply-To: <559250a1-5ef7-c245-91a6-4301a62b3d4e@researchware.com> References: <007401d762c4$41e8b200$c5ba1600$@kestner.de> <89a431315e2f79877d3f7ea7b1bb3fbb@livecode.com> <001f01d76346$bbd1d330$33757990$@kestner.de> <559250a1-5ef7-c245-91a6-4301a62b3d4e@researchware.com> Message-ID: <005501d76379$49cd4160$dd67c420$@kestner.de> If it is codesign or the shell, the weird thing is, that Apple broke it. Codesigning worked for me in the terminal for years with my Umlaut app. The times of the 90th, when there was nothing more compatible as a Mac are gone forever. I love Windows! Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode Im Auftrag von Paul Dupuis via use-livecode Gesendet: Donnerstag, 17. Juni 2021 13:42 An: use-livecode at lists.runrev.com Cc: Paul Dupuis Betreff: Re: AW: codesigning FAILS with Umlaute My guess (and it is just a guess) is that this failure has noting to do with Apple's codesigning. If, since 9.6.1, LiveCode does an ad-hoc code signing, I suspect it is doing that via a call to the "shell" command to issue the same codesign command you would do through Terminal under macOS. If so, the bug is in the engine's "shell" command, in that Shell does not support Unicode. See https://quality.livecode.com/show_bug.cgi?id=22334 Perhaps this will be incentive for LC to fix this bug. On 6/17/2021 3:02 AM, Tiemo via use-livecode wrote: > Hello Mark, > > thank you for jumping in with your expertise - it works! I appreciate > your efforts very much! > I never would have dared to rename an app after signing and notarization. > > I am so glad, you found a solution. My app is named since 12 years > "DGS-W?rterbuch", because the German spelling of "dictionary" is > "W?rterbuch" - with an Umlaut and nothing else. Every other spelling > wouldn't look very professional for a German. > > So probably the other issue of my first post (fail on building a > standalone with Umlaut) is related to the new ad-hoc signing feature > of LC 9.6. and is based on the same codesign bug of xCode (it worked > for years without problems). I will send a bug report to Apple. > > Thank you again! > Tiemo > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode Im Auftrag > von Mark Waddingham via use-livecode > Gesendet: Mittwoch, 16. Juni 2021 17:53 > An: How to use LiveCode > Cc: Mark Waddingham > Betreff: Re: codesigning FAILS with Umlaute > > On 2021-06-16 16:28, Tiemo via use-livecode wrote: >> Any idea? please no stories about your doctor experiences . >> > So I asked Ian to have a look into this - my first thought was that we > were missing an appropriate textEncode when building the shell command > in the S/B to do the codesigning... > > (The S/B since 9.6.1 does an 'ad-hoc' codesign on standalones as > otherwise > Catalina+ can complain) > > However, it would appear that 'codesign' does not like the executable > name (the bit in Contents/MacOS) having accented chars. > > So I think you'll have to tweak the app name in the S/B mac options to > remove the umlaut - then the internal exe will be fine; then after > you've built - just rename the app bundle to be the one with the umlaut. > > This shouldn't affect verification of the signed app at all as its > everything *inside* the .app folder which is signed (the internals are > - the plist contains a ref to the actual executable name, and plist is > used to generate the code signature, along with the other stuff in the app). > > Hope this helps! > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Jun 17 12:39:59 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 17 Jun 2021 16:39:59 +0000 Subject: codesigning FAILS with Umlaute In-Reply-To: <001f01d76346$bbd1d330$33757990$@kestner.de> References: <007401d762c4$41e8b200$c5ba1600$@kestner.de> <89a431315e2f79877d3f7ea7b1bb3fbb@livecode.com> <001f01d76346$bbd1d330$33757990$@kestner.de> Message-ID: <5A2DFDC5-3EB5-4D84-ABAB-75A316B25890@iotecdigital.com> That is what I said! :-) Bob S > On Jun 17, 2021, at 24:02 , Tiemo via use-livecode wrote: > > So I think you'll have to tweak the app name in the S/B mac options to > remove the umlaut - then the internal exe will be fine; then after you've > built - just rename the app bundle to be the one with the umlaut. From paul at researchware.com Thu Jun 17 12:55:42 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 17 Jun 2021 12:55:42 -0400 Subject: Double cursor appearing Message-ID: Hello hivemind, I have a customer running our Windows app in a virtual machine under Linux and they are seeing a "double cursor". See screen shot here: http://www.researchware.com/livecode/uselist/doublecursor.jpeg Has anyone else seen anything like this and have any idea what it may be? My Linux skills are horribly rusty. I don't even have Linux (any flavor) setup on any computer currently. I am really hoping someone has an idea what the root cause is here? From bobsneidar at iotecdigital.com Thu Jun 17 14:21:08 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 17 Jun 2021 18:21:08 +0000 Subject: Double cursor appearing In-Reply-To: References: Message-ID: <5C05DE37-C9A7-42F6-8F9D-34BA451F5A69@iotecdigital.com> Usually with VMs, there are special drivers or "tools" you need to install that among other things "sync" the local session cursor position and the VM cursor position. Have they installed those tools for their VM client software? Bob S > On Jun 17, 2021, at 09:55 , Paul Dupuis via use-livecode wrote: > > Hello hivemind, > > I have a customer running our Windows app in a virtual machine under Linux and they are seeing a "double cursor". > > See screen shot here: http://www.researchware.com/livecode/uselist/doublecursor.jpeg > > Has anyone else seen anything like this and have any idea what it may be? > > My Linux skills are horribly rusty. I don't even have Linux (any flavor) setup on any computer currently. I am really hoping someone has an idea what the root cause is here? From curry at pair.com Fri Jun 18 04:27:37 2021 From: curry at pair.com (Curry Kenworthy) Date: Fri, 18 Jun 2021 04:27:37 -0400 Subject: Choose your LC Fate: Crash or Hang? Message-ID: <68cf8576-fc84-c7fb-d91e-c6a487bea001@pair.com> Here's a test stack and Word document to either Crash or Hang LC 9.6.2. This will be the first in my "Crash or Hang" LC Bug Report series! Two bug reports, which use the same test stack: https://quality.livecode.com/show_bug.cgi?id=23238 https://quality.livecode.com/show_bug.cgi?id=23239 Careful! This stack will Crash or Hang LC. Save your work first. Probably these two bugs only affect Windows. (But Mac reports are coming, as are non-Word reports.) I'll post more LC Bug reports to this "series" between client projects. I will also share some workarounds when I have a little time. Test code is optimized for recipe, and may vary from original use-case. BTW, it seems there is a history of similar LC clipboard issues: https://quality.livecode.com/show_bug.cgi?id=10853 https://quality.livecode.com/show_bug.cgi?id=20310 https://quality.livecode.com/show_bug.cgi?id=21906 Pasting is a fairly common activity for end users. They tend to assume that it will be accurate and robust. This series of reports and workarounds will help achieve that. Back to work/lurk mode; busy week! I'll comment on other threads later. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From toolbook at kestner.de Fri Jun 18 06:47:18 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Fri, 18 Jun 2021 12:47:18 +0200 Subject: AW: AW: codesigning FAILS with Umlaute In-Reply-To: <005501d76379$49cd4160$dd67c420$@kestner.de> References: <007401d762c4$41e8b200$c5ba1600$@kestner.de> <89a431315e2f79877d3f7ea7b1bb3fbb@livecode.com> <001f01d76346$bbd1d330$33757990$@kestner.de> <559250a1-5ef7-c245-91a6-4301a62b3d4e@researchware.com> <005501d76379$49cd4160$dd67c420$@kestner.de> Message-ID: <003e01d7642f$4f8ead30$eeac0790$@kestner.de> Strangely enough, codesigning and notarizing a package with umlauts still works and is verified by Apple. Since codesigning a package has to be done with "productsign" and not "codesign" it looks as "codesign" is broken and not the shell. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode Im Auftrag von Tiemo via use-livecode Gesendet: Donnerstag, 17. Juni 2021 15:04 An: 'How to use LiveCode' Cc: toolbook at kestner.de Betreff: AW: AW: codesigning FAILS with Umlaute If it is codesign or the shell, the weird thing is, that Apple broke it. Codesigning worked for me in the terminal for years with my Umlaut app. The times of the 90th, when there was nothing more compatible as a Mac are gone forever. I love Windows! Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode Im Auftrag von Paul Dupuis via use-livecode Gesendet: Donnerstag, 17. Juni 2021 13:42 An: use-livecode at lists.runrev.com Cc: Paul Dupuis Betreff: Re: AW: codesigning FAILS with Umlaute My guess (and it is just a guess) is that this failure has noting to do with Apple's codesigning. If, since 9.6.1, LiveCode does an ad-hoc code signing, I suspect it is doing that via a call to the "shell" command to issue the same codesign command you would do through Terminal under macOS. If so, the bug is in the engine's "shell" command, in that Shell does not support Unicode. See https://quality.livecode.com/show_bug.cgi?id=22334 Perhaps this will be incentive for LC to fix this bug. On 6/17/2021 3:02 AM, Tiemo via use-livecode wrote: > Hello Mark, > > thank you for jumping in with your expertise - it works! I appreciate > your efforts very much! > I never would have dared to rename an app after signing and notarization. > > I am so glad, you found a solution. My app is named since 12 years > "DGS-W?rterbuch", because the German spelling of "dictionary" is > "W?rterbuch" - with an Umlaut and nothing else. Every other spelling > wouldn't look very professional for a German. > > So probably the other issue of my first post (fail on building a > standalone with Umlaut) is related to the new ad-hoc signing feature > of LC 9.6. and is based on the same codesign bug of xCode (it worked > for years without problems). I will send a bug report to Apple. > > Thank you again! > Tiemo > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode Im Auftrag > von Mark Waddingham via use-livecode > Gesendet: Mittwoch, 16. Juni 2021 17:53 > An: How to use LiveCode > Cc: Mark Waddingham > Betreff: Re: codesigning FAILS with Umlaute > > On 2021-06-16 16:28, Tiemo via use-livecode wrote: >> Any idea? please no stories about your doctor experiences . >> > So I asked Ian to have a look into this - my first thought was that we > were missing an appropriate textEncode when building the shell command > in the S/B to do the codesigning... > > (The S/B since 9.6.1 does an 'ad-hoc' codesign on standalones as > otherwise > Catalina+ can complain) > > However, it would appear that 'codesign' does not like the executable > name (the bit in Contents/MacOS) having accented chars. > > So I think you'll have to tweak the app name in the S/B mac options to > remove the umlaut - then the internal exe will be fine; then after > you've built - just rename the app bundle to be the one with the umlaut. > > This shouldn't affect verification of the signed app at all as its > everything *inside* the .app folder which is signed (the internals are > - the plist contains a ref to the actual executable name, and plist is > used to generate the code signature, along with the other stuff in the app). > > Hope this helps! > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Fri Jun 18 08:05:17 2021 From: mark at livecode.com (Mark Waddingham) Date: Fri, 18 Jun 2021 13:05:17 +0100 Subject: AW: AW: codesigning FAILS with Umlaute In-Reply-To: <003e01d7642f$4f8ead30$eeac0790$@kestner.de> References: <007401d762c4$41e8b200$c5ba1600$@kestner.de> <89a431315e2f79877d3f7ea7b1bb3fbb@livecode.com> <001f01d76346$bbd1d330$33757990$@kestner.de> <559250a1-5ef7-c245-91a6-4301a62b3d4e@researchware.com> <005501d76379$49cd4160$dd67c420$@kestner.de> <003e01d7642f$4f8ead30$eeac0790$@kestner.de> Message-ID: <8125c71612a0cbd234daf786b8d19ea7@livecode.com> On 2021-06-18 11:47, Tiemo via use-livecode wrote: > Strangely enough, codesigning and notarizing a package with umlauts > still works and is verified by Apple. > Since codesigning a package has to be done with "productsign" and not > "codesign" it looks as "codesign" is broken and not the shell. > Tiemo So Ian dug into this further - we think its the name of the executable in the plist which is the problem... Codesign expects this to be in 'decomposed' unicode form - so instead of the (combined) u-umlaut character, it needs to be u,combining-umlaut. Presumably this is because filenames in Apple FS's are always stored in decomposed unicode form, and codesign and friends expect exact byte equivalence between the entry in the plist, and that of the executable filename. Anyway, a little bit of a subtle issue, but one which will hopefully be fixed by using the normalizeText function appropriately in the S/B where it sorts out the plist :) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From toolbook at kestner.de Fri Jun 18 08:37:14 2021 From: toolbook at kestner.de (toolbook at kestner.de) Date: Fri, 18 Jun 2021 14:37:14 +0200 Subject: AW: AW: AW: codesigning FAILS with Umlaute In-Reply-To: <8125c71612a0cbd234daf786b8d19ea7@livecode.com> References: <007401d762c4$41e8b200$c5ba1600$@kestner.de> <89a431315e2f79877d3f7ea7b1bb3fbb@livecode.com> <001f01d76346$bbd1d330$33757990$@kestner.de> <559250a1-5ef7-c245-91a6-4301a62b3d4e@researchware.com> <005501d76379$49cd4160$dd67c420$@kestner.de> <003e01d7642f$4f8ead30$eeac0790$@kestner.de> <8125c71612a0cbd234daf786b8d19ea7@livecode.com> Message-ID: <005201d7643e$ac02bed0$04083c70$@kestner.de> Hi Mark, anyhow, Apple has broken it in one of its latest releases. I have signed this same executable with umlaut for the last years successfully... Have a nice WE Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode Im Auftrag von Mark Waddingham via use-livecode Gesendet: Freitag, 18. Juni 2021 14:05 An: How to use LiveCode Cc: Mark Waddingham Betreff: Re: AW: AW: codesigning FAILS with Umlaute On 2021-06-18 11:47, Tiemo via use-livecode wrote: > Strangely enough, codesigning and notarizing a package with umlauts > still works and is verified by Apple. > Since codesigning a package has to be done with "productsign" and not > "codesign" it looks as "codesign" is broken and not the shell. > Tiemo So Ian dug into this further - we think its the name of the executable in the plist which is the problem... Codesign expects this to be in 'decomposed' unicode form - so instead of the (combined) u-umlaut character, it needs to be u,combining-umlaut. Presumably this is because filenames in Apple FS's are always stored in decomposed unicode form, and codesign and friends expect exact byte equivalence between the entry in the plist, and that of the executable filename. Anyway, a little bit of a subtle issue, but one which will hopefully be fixed by using the normalizeText function appropriately in the S/B where it sorts out the plist :) 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 tom at makeshyft.com Fri Jun 18 14:50:48 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 18 Jun 2021 14:50:48 -0400 Subject: Mobile Scroller Message-ID: Hi Folks, I implemented a MobileControl "Scroller" to scroll a group. Works great. However when I change the orientation, it no longer works correctly. - I tried to just update the properties relating to the rect - deleting / recreating mobileControlSet "CardContentScroller","visible",true mobileControlSet "CardContentScroller","rect",the rect of *group* "Card Content" of this card of me *put* 0,0,the width of *group* "Card Content" of this card of me,the formattedHeight of *group* "Card Content" of this card of me into tContentRect mobileControlSet "CardContentScroller","contentRect",tContentRect mobileControlSet "CardContentScroller","vIndicator",true but it still isn't updating properly. Not sure what i'm doing wrong. The code runs on the orientationChanged message Please help. Thanks, -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From rdimola at evergreeninfo.net Fri Jun 18 15:04:26 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 18 Jun 2021 15:04:26 -0400 Subject: Mobile Scroller In-Reply-To: References: Message-ID: <005401d76474$c4eadff0$4ec09fd0$@net> Tom, What handler are you doing this in? 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 Tom Glod via use-livecode Sent: Friday, June 18, 2021 2:51 PM To: How to use LiveCode Cc: Tom Glod Subject: Mobile Scroller Hi Folks, I implemented a MobileControl "Scroller" to scroll a group. Works great. However when I change the orientation, it no longer works correctly. - I tried to just update the properties relating to the rect - deleting / recreating mobileControlSet "CardContentScroller","visible",true mobileControlSet "CardContentScroller","rect",the rect of *group* "Card Content" of this card of me *put* 0,0,the width of *group* "Card Content" of this card of me,the formattedHeight of *group* "Card Content" of this card of me into tContentRect mobileControlSet "CardContentScroller","contentRect",tContentRect mobileControlSet "CardContentScroller","vIndicator",true but it still isn't updating properly. Not sure what i'm doing wrong. The code runs on the orientationChanged message Please help. Thanks, -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Fri Jun 18 16:16:54 2021 From: brian at milby7.com (Brian Milby) Date: Fri, 18 Jun 2021 16:16:54 -0400 Subject: Mobile Scroller In-Reply-To: <005401d76474$c4eadff0$4ec09fd0$@net> References: <005401d76474$c4eadff0$4ec09fd0$@net> Message-ID: <00E50C65-BF64-4717-9030-A5C99A58D1EF@milby7.com> I have this working in SivaSiva for the stories module on Android. It locks up on iOS so I have rotation disabled for now. In my use case, the group is essentially the full screen with an image that is being moved around. I?ll try to find the specific scripts tonight. Thanks, Brian Sent from my iPhone > On Jun 18, 2021, at 3:06 PM, Ralph DiMola via use-livecode wrote: > > ?Tom, > > What handler are you doing this in? > > 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 Tom Glod via use-livecode > Sent: Friday, June 18, 2021 2:51 PM > To: How to use LiveCode > Cc: Tom Glod > Subject: Mobile Scroller > > Hi Folks, > > I implemented a MobileControl "Scroller" to scroll a group. Works great. > However when I change the orientation, it no longer works correctly. > > > - I tried to just update the properties relating to the rect > - deleting / recreating > > > mobileControlSet "CardContentScroller","visible",true > > mobileControlSet "CardContentScroller","rect",the rect of *group* "Card > Content" of this card of me > > *put* 0,0,the width of *group* "Card Content" of this card of me,the > formattedHeight of *group* "Card Content" of this card of me into > tContentRect > > mobileControlSet "CardContentScroller","contentRect",tContentRect > > mobileControlSet "CardContentScroller","vIndicator",true > > > but it still isn't updating properly. > Not sure what i'm doing wrong. > > The code runs on the orientationChanged message > > Please help. > > Thanks, > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Fri Jun 18 21:22:40 2021 From: tom at makeshyft.com (Tom Glod) Date: Fri, 18 Jun 2021 21:22:40 -0400 Subject: Mobile Scroller In-Reply-To: <00E50C65-BF64-4717-9030-A5C99A58D1EF@milby7.com> References: <005401d76474$c4eadff0$4ec09fd0$@net> <00E50C65-BF64-4717-9030-A5C99A58D1EF@milby7.com> Message-ID: Ralph, it's in the orientationchanged handler.... Brian.... Thanks..... !!! On Fri, Jun 18, 2021, 4:18 PM Brian Milby via use-livecode, < use-livecode at lists.runrev.com> wrote: > I have this working in SivaSiva for the stories module on Android. It > locks up on iOS so I have rotation disabled for now. In my use case, the > group is essentially the full screen with an image that is being moved > around. I?ll try to find the specific scripts tonight. > > Thanks, > Brian > > Sent from my iPhone > > > On Jun 18, 2021, at 3:06 PM, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?Tom, > > > > What handler are you doing this in? > > > > 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 Tom Glod via use-livecode > > Sent: Friday, June 18, 2021 2:51 PM > > To: How to use LiveCode > > Cc: Tom Glod > > Subject: Mobile Scroller > > > > Hi Folks, > > > > I implemented a MobileControl "Scroller" to scroll a group. Works great. > > However when I change the orientation, it no longer works correctly. > > > > > > - I tried to just update the properties relating to the rect > > - deleting / recreating > > > > > > mobileControlSet "CardContentScroller","visible",true > > > > mobileControlSet "CardContentScroller","rect",the rect of *group* "Card > > Content" of this card of me > > > > *put* 0,0,the width of *group* "Card Content" of this card of me,the > > formattedHeight of *group* "Card Content" of this card of me into > > tContentRect > > > > mobileControlSet "CardContentScroller","contentRect",tContentRect > > > > mobileControlSet "CardContentScroller","vIndicator",true > > > > > > but it still isn't updating properly. > > Not sure what i'm doing wrong. > > > > The code runs on the orientationChanged message > > > > Please help. > > > > Thanks, > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Fri Jun 18 22:21:08 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 18 Jun 2021 22:21:08 -0400 Subject: Mobile Scroller In-Reply-To: References: <005401d76474$c4eadff0$4ec09fd0$@net> <00E50C65-BF64-4717-9030-A5C99A58D1EF@milby7.com> Message-ID: <000001d764b1$c7244170$556cc450$@net> Tom, Orientationchanged happens before the screen is actually rotated. This is why your scroll regions are not correct. Put your code in the resizestack handler. I delete and recreate the scroller, I don't remember if that is needed or I just started doing it that way. Scrollers work for me on both iOS and Android. If you are able to come up with your magic numbers that will make it scroll to the same place you must do a send in time for the 2 "mobileControlSet"s for both vScroll and hScroll. I use 100ms That being said although all my apps support both portrait and landscape I use Orientationchanged very very rarely but when you need it it's invaluable. 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 Tom Glod via use-livecode Sent: Friday, June 18, 2021 9:23 PM To: How to use LiveCode Cc: Tom Glod Subject: Re: Mobile Scroller Ralph, it's in the orientationchanged handler.... Brian.... Thanks..... !!! On Fri, Jun 18, 2021, 4:18 PM Brian Milby via use-livecode, < use-livecode at lists.runrev.com> wrote: > I have this working in SivaSiva for the stories module on Android. It > locks up on iOS so I have rotation disabled for now. In my use case, > the group is essentially the full screen with an image that is being > moved around. I?ll try to find the specific scripts tonight. > > Thanks, > Brian > > Sent from my iPhone > > > On Jun 18, 2021, at 3:06 PM, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > ?Tom, > > > > What handler are you doing this in? > > > > 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 Tom Glod via use-livecode > > Sent: Friday, June 18, 2021 2:51 PM > > To: How to use LiveCode > > Cc: Tom Glod > > Subject: Mobile Scroller > > > > Hi Folks, > > > > I implemented a MobileControl "Scroller" to scroll a group. Works great. > > However when I change the orientation, it no longer works correctly. > > > > > > - I tried to just update the properties relating to the rect > > - deleting / recreating > > > > > > mobileControlSet "CardContentScroller","visible",true > > > > mobileControlSet "CardContentScroller","rect",the rect of *group* > > "Card Content" of this card of me > > > > *put* 0,0,the width of *group* "Card Content" of this card of me,the > > formattedHeight of *group* "Card Content" of this card of me into > > tContentRect > > > > mobileControlSet "CardContentScroller","contentRect",tContentRect > > > > mobileControlSet "CardContentScroller","vIndicator",true > > > > > > but it still isn't updating properly. > > Not sure what i'm doing wrong. > > > > The code runs on the orientationChanged message > > > > Please help. > > > > Thanks, > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Sat Jun 19 14:48:07 2021 From: paul at researchware.com (Paul Dupuis) Date: Sat, 19 Jun 2021 14:48:07 -0400 Subject: Open a folder on the desktop from a LiveCode app Message-ID: What is the "best" way (or any way) to open a folder on the Windows desktop from a Livecode script. For example: on openFolder pPath -- where pPath is the path and name to a document (file) ? set itemDel to slash ? delete last item of pPath -- leaves the the path to the folder containing the document ? -- now, how do I open this on the desktop (i.e in Explorer)? end openFolder From martyknappster at gmail.com Sat Jun 19 15:12:44 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Sat, 19 Jun 2021 12:12:44 -0700 Subject: Open a folder on the desktop from a LiveCode app In-Reply-To: References: Message-ID: I use: launch url ("file:" & tPathToFolder) ?Marty > On Jun 19, 2021, at 11:48 AM, Paul Dupuis via use-livecode wrote: > > What is the "best" way (or any way) to open a folder on the Windows desktop from a Livecode script. > > For example: > > on openFolder pPath -- where pPath is the path and name to a document (file) > set itemDel to slash > delete last item of pPath -- leaves the the path to the folder containing the document > -- now, how do I open this on the desktop (i.e in Explorer)? > > > end openFolder > From matthias_livecode_150811 at m-r-d.de Sat Jun 19 15:25:48 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 19 Jun 2021 21:25:48 +0200 Subject: Open a folder on the desktop from a LiveCode app In-Reply-To: References: Message-ID: <0C77F063-99BC-412B-BD52-FD98F58E7BCA@m-r-d.de> launch document tPathToFolder would also work Regards Matthias > Am 19.06.2021 um 20:48 schrieb Paul Dupuis via use-livecode : > > What is the "best" way (or any way) to open a folder on the Windows desktop from a Livecode script. > > For example: > > on openFolder pPath -- where pPath is the path and name to a document (file) > set itemDel to slash > delete last item of pPath -- leaves the the path to the folder containing the document > -- now, how do I open this on the desktop (i.e in Explorer)? > > > end openFolder > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Jun 19 15:48:42 2021 From: paul at researchware.com (Paul Dupuis) Date: Sat, 19 Jun 2021 15:48:42 -0400 Subject: AW: Open a folder on the desktop from a LiveCode app In-Reply-To: References: Message-ID: Thank you Marty and Mathias I figured there was a simple way, but must have missed anything about folders under the Launch command in the dictionary. All set! On 6/19/2021 2:48 PM, Paul Dupuis via use-livecode wrote: > What is the "best" way (or any way) to open a folder on the Windows > desktop from a Livecode script. > > For example: > > on openFolder pPath -- where pPath is the path and name to a document > (file) > ? set itemDel to slash > ? delete last item of pPath -- leaves the the path to the folder > containing the document > ? -- now, how do I open this on the desktop (i.e in Explorer)? > > > end openFolder > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat Jun 19 15:50:28 2021 From: klaus at major-k.de (Klaus major-k) Date: Sat, 19 Jun 2021 21:50:28 +0200 Subject: Open a folder on the desktop from a LiveCode app In-Reply-To: References: Message-ID: <10A2C3B9-F4F8-4BC9-A855-4ADDD2A5ED61@major-k.de> Hi Paul, > Am 19.06.2021 um 20:48 schrieb Paul Dupuis via use-livecode : > > What is the "best" way (or any way) to open a folder on the Windows desktop from a Livecode script. > > For example: > > on openFolder pPath -- where pPath is the path and name to a document (file) > set itemDel to slash > delete last item of pPath -- leaves the the path to the folder containing the document > -- now, how do I open this on the desktop (i.e in Explorer)? launch document pPath ## :-) > end openFolder Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tom at makeshyft.com Sat Jun 19 22:43:53 2021 From: tom at makeshyft.com (Tom Glod) Date: Sat, 19 Jun 2021 22:43:53 -0400 Subject: Mobile Scroller In-Reply-To: <000001d764b1$c7244170$556cc450$@net> References: <005401d76474$c4eadff0$4ec09fd0$@net> <00E50C65-BF64-4717-9030-A5C99A58D1EF@milby7.com> <000001d764b1$c7244170$556cc450$@net> Message-ID: Hi Ralph... Thanks for those tips.... I will test to see if I can make it work. On Fri, Jun 18, 2021, 10:23 PM Ralph DiMola via use-livecode, < use-livecode at lists.runrev.com> wrote: > Tom, > > Orientationchanged happens before the screen is actually rotated. This is > why your scroll regions are not correct. Put your code in the resizestack > handler. I delete and recreate the scroller, I don't remember if that is > needed or I just started doing it that way. Scrollers work for me on both > iOS and Android. If you are able to come up with your magic numbers that > will make it scroll to the same place you must do a send in time for the 2 > "mobileControlSet"s for both vScroll and hScroll. I use 100ms > > That being said although all my apps support both portrait and landscape I > use Orientationchanged very very rarely but when you need it it's > invaluable. > > > 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 Tom Glod via use-livecode > Sent: Friday, June 18, 2021 9:23 PM > To: How to use LiveCode > Cc: Tom Glod > Subject: Re: Mobile Scroller > > Ralph, it's in the orientationchanged handler.... > > Brian.... Thanks..... !!! > > > On Fri, Jun 18, 2021, 4:18 PM Brian Milby via use-livecode, < > use-livecode at lists.runrev.com> wrote: > > > I have this working in SivaSiva for the stories module on Android. It > > locks up on iOS so I have rotation disabled for now. In my use case, > > the group is essentially the full screen with an image that is being > > moved around. I?ll try to find the specific scripts tonight. > > > > Thanks, > > Brian > > > > Sent from my iPhone > > > > > On Jun 18, 2021, at 3:06 PM, Ralph DiMola via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > ?Tom, > > > > > > What handler are you doing this in? > > > > > > 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 Tom Glod via use-livecode > > > Sent: Friday, June 18, 2021 2:51 PM > > > To: How to use LiveCode > > > Cc: Tom Glod > > > Subject: Mobile Scroller > > > > > > Hi Folks, > > > > > > I implemented a MobileControl "Scroller" to scroll a group. Works > great. > > > However when I change the orientation, it no longer works correctly. > > > > > > > > > - I tried to just update the properties relating to the rect > > > - deleting / recreating > > > > > > > > > mobileControlSet "CardContentScroller","visible",true > > > > > > mobileControlSet "CardContentScroller","rect",the rect of *group* > > > "Card Content" of this card of me > > > > > > *put* 0,0,the width of *group* "Card Content" of this card of me,the > > > formattedHeight of *group* "Card Content" of this card of me into > > > tContentRect > > > > > > mobileControlSet "CardContentScroller","contentRect",tContentRect > > > > > > mobileControlSet "CardContentScroller","vIndicator",true > > > > > > > > > but it still isn't updating properly. > > > Not sure what i'm doing wrong. > > > > > > The code runs on the orientationChanged message > > > > > > Please help. > > > > > > Thanks, > > > > > > -- > > > Tom Glod > > > Founder & Developer > > > MakeShyft R.D.A (www.makeshyft.com) > > > Mobile:647.562.9411 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > > preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From panos.merakos at livecode.com Mon Jun 21 12:54:20 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 21 Jun 2021 19:54:20 +0300 Subject: [ANN] This Week in LiveCode 269 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 #269 here: https://bit.ly/3dhOg8L 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 your 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 david.bovill at gmail.com Mon Jun 21 15:30:35 2021 From: david.bovill at gmail.com (David Bovill) Date: Mon, 21 Jun 2021 20:30:35 +0100 Subject: Regular crash: Dictionary (API) In-Reply-To: <6cd161e3-d0f2-4e00-85b0-f8842ea89f63@Spark> References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> <6cd161e3-d0f2-4e00-85b0-f8842ea89f63@Spark> Message-ID: Anyone point me too an alternative Dictionary??- too many regular crashes using the built in one? ?? ??Schedule a call with me On 11 Jun 2021, 19:46 +0100, David Bovill , wrote: > For several years I have a regular crash when opening the `Dictionary (API)` - wondering the cause. Everything else works as normal - latest MacOs and Livecode - spinning coloured ball and now dictionary stack displayed??- requires force quit. Doing that now. Third time today. > > ?? ??Schedule a call with me From david.bovill at gmail.com Mon Jun 21 15:33:28 2021 From: david.bovill at gmail.com (David Bovill) Date: Mon, 21 Jun 2021 20:33:28 +0100 Subject: Levure Dataview: adding a scrolling background In-Reply-To: References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> Message-ID: <94be68c3-2f96-47ff-847a-cdf5df2f3e93@Spark> I?d like to add an image background to a Dataview, so that is scrolls alongside the rows. Any pointers? ?? ??Schedule a call with me On 11 Jun 2021, 18:01 +0100, David Bovill , wrote: > So I got visual feedback from drag-and-drop using the Levure DataView following instructions at: > > ? https://github.com/trevordevore/levurehelper-dataview > > I add the following code to the DataView: > > quote_type > > on dragStart > > ?set the dvDragImageRow of me to item 1 of the dvHilitedRows of me > > ?set the dvTrackDragReorder[the dvHilitedRows of me] of me to true > > ?set the dragData["private"] to the dvHilitedRows of me # dragdata has to be set to something. > > end dragStart > > > > on ValidateRowDrop pDraggingInfoA, pProposedRow, pProposedDropOperation > > ?put "Dragging" && pProposedRow && pProposedDropOperation > > ?return true > > end ValidateRowDrop > > > > on AcceptRowDrop pDraggingInfoA, pRow, pDropOperation > > ?put "Dropped" && pRow && pDropOperation > > end AcceptRowDrop > > > But the ValidateRowDrop message does not get sent, also I don?t get any visual feedback with a "drop indicator" (the line that shows you where the drop will occur) - any idea? > > ?? ??Schedule a call with me > On 11 Jun 2021, 16:03 +0100, David Bovill , wrote: > > Yeah sorry about the typo - sent from mobile. I meant Levure -??as Trevor is the main man with the drag stuff and having differenr styles for rows is a must. > > > > NB on the typo front I have a distant memory that aeons ago when I first got an iPhone I said yes to the spelling ?fir?.??Ever since then all my devices seem to love this word - anyone have an idea how to correct this auto typing flaw? > > > > ?? ??Schedule a call with me > > On 11 Jun 2021, 15:05 +0100, Klaus major-k via use-livecode , wrote: > > > Hi David, > > > > > > > Am 11.06.2021 um 15:58 schrieb David Bovill via use-livecode : > > > > > > > > Is there a simple demo out there that shows how drag-reordering of rows in a dataview works? Is this feature experimental? Got a deadline fir Monday considering taking the plunge? > > > > > > Levite Dataview? 8-) > > > Sure you do not mean LC datagrid? > > > > > > > ? Schedule a call with me > > > > > > No. :-D > > > > > > > > > Best > > > > > > Klaus > > > -- > > > Klaus Major > > > https://www.major-k.de > > > https://www.major-k.de/bass > > > klaus at major-k.de > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Mon Jun 21 16:22:05 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 21 Jun 2021 13:22:05 -0700 Subject: Regular crash: Dictionary (API) In-Reply-To: References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> <6cd161e3-d0f2-4e00-85b0-f8842ea89f63@Spark> Message-ID: On 6/21/21 12:30 PM, David Bovill via use-livecode wrote: > Anyone point me too an alternative Dictionary??- too many regular crashes using the built in one? TinyDictionary -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Mon Jun 21 22:13:51 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Tue, 22 Jun 2021 03:13:51 +0100 Subject: Levure Dataview: adding a scrolling background In-Reply-To: <94be68c3-2f96-47ff-847a-cdf5df2f3e93@Spark> References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> <94be68c3-2f96-47ff-847a-cdf5df2f3e93@Spark> Message-ID: Hi David, iOS 'fir' / 'for' issue. I don't know if this already got answered elsewhere in the thread. There are two easy fixes for this. 1. In Notes, type 'Fir always' then select the word 'Fir' and from the pop-up menu select 'replace...' then replace with 'For'. Delete the line of text and repeat nine times. Now repeat this whole thing but use the phrase 'Once fir all'. If this corrects to 'for' right away then it is already fixed. Otherwise, continue using this phrase replacing 'fir' with 'for'. 2. If this still does not fix it, in Settings>General>Keyboard>TextReplacement>, add 'fir' with the replacement 'for'. (3. Or, go to Settings>General>Reset>ResetKeyboardDictionary, but that is the last resort.) All the best Sean On Mon, 21 Jun 2021 at 20:33, David Bovill via use-livecode < use-livecode at lists.runrev.com> wrote: > I?d like to add an image background to a Dataview, so that is scrolls > alongside the rows. > > Any pointers? > > ? Schedule a call with me > On 11 Jun 2021, 18:01 +0100, David Bovill , wrote: > > So I got visual feedback from drag-and-drop using the Levure DataView > following instructions at: > > > > ? https://github.com/trevordevore/levurehelper-dataview > > > > I add the following code to the DataView: > > > quote_type > > > on dragStart > > > set the dvDragImageRow of me to item 1 of the dvHilitedRows of me > > > set the dvTrackDragReorder[the dvHilitedRows of me] of me to true > > > set the dragData["private"] to the dvHilitedRows of me # dragdata has > to be set to something. > > > end dragStart > > > > > > on ValidateRowDrop pDraggingInfoA, pProposedRow, pProposedDropOperation > > > put "Dragging" && pProposedRow && pProposedDropOperation > > > return true > > > end ValidateRowDrop > > > > > > on AcceptRowDrop pDraggingInfoA, pRow, pDropOperation > > > put "Dropped" && pRow && pDropOperation > > > end AcceptRowDrop > > > > > But the ValidateRowDrop message does not get sent, also I don?t get any > visual feedback with a "drop indicator" (the line that shows you where the > drop will occur) - any idea? > > > > ? Schedule a call with me > > On 11 Jun 2021, 16:03 +0100, David Bovill , > wrote: > > > Yeah sorry about the typo - sent from mobile. I meant Levure - as > Trevor is the main man with the drag stuff and having differenr styles for > rows is a must. > > > > > > NB on the typo front I have a distant memory that aeons ago when I > first got an iPhone I said yes to the spelling ?fir?. Ever since then all > my devices seem to love this word - anyone have an idea how to correct this > auto typing flaw? > > > > > > ? Schedule a call with me > > > On 11 Jun 2021, 15:05 +0100, Klaus major-k via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > > > Hi David, > > > > > > > > > Am 11.06.2021 um 15:58 schrieb David Bovill via use-livecode < > use-livecode at lists.runrev.com>: > > > > > > > > > > Is there a simple demo out there that shows how drag-reordering of > rows in a dataview works? Is this feature experimental? Got a deadline fir > Monday considering taking the plunge? > > > > > > > > Levite Dataview? 8-) > > > > Sure you do not mean LC datagrid? > > > > > > > > > ? Schedule a call with me > > > > > > > > No. :-D > > > > > > > > > > > > Best > > > > > > > > Klaus > > > > -- > > > > Klaus Major > > > > https://www.major-k.de > > > > https://www.major-k.de/bass > > > > klaus at major-k.de > > > > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david.bovill at gmail.com Tue Jun 22 00:08:34 2021 From: david.bovill at gmail.com (David Bovill) Date: Tue, 22 Jun 2021 05:08:34 +0100 Subject: Levure Dataview: adding a scrolling background In-Reply-To: References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> <94be68c3-2f96-47ff-847a-cdf5df2f3e93@Spark> Message-ID: <47cb32fa-90d0-40cd-b4ec-77f2d8891417@Spark> Hah - hey thanks for that Sean. The recipe feels a bit like going to the government and filling in forms in triplicate to get your life back :) ?? ??Schedule a call with me On 22 Jun 2021, 03:15 +0100, Sean Cole (Pi) via use-livecode , wrote: > Hi David, > > iOS 'fir' / 'for' issue. > > I don't know if this already got answered elsewhere in the thread. There > are two easy fixes for this. > > 1. In Notes, type 'Fir always' then select the word 'Fir' and from the > pop-up menu select 'replace...' then replace with 'For'. Delete the line of > text and repeat nine times. > Now repeat this whole thing but use the phrase 'Once fir all'. If this > corrects to 'for' right away then it is already fixed. Otherwise, continue > using this phrase replacing 'fir' with 'for'. > > 2. If this still does not fix it, in > Settings>General>Keyboard>TextReplacement>, add 'fir' with the replacement > 'for'. > > (3. Or, go to Settings>General>Reset>ResetKeyboardDictionary, but that is > the last resort.) > > All the best > > Sean > > > On Mon, 21 Jun 2021 at 20:33, David Bovill via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I?d like to add an image background to a Dataview, so that is scrolls > > alongside the rows. > > > > Any pointers? > > > > ? Schedule a call with me > > On 11 Jun 2021, 18:01 +0100, David Bovill , wrote: > > > So I got visual feedback from drag-and-drop using the Levure DataView > > following instructions at: > > > > > > ? https://github.com/trevordevore/levurehelper-dataview > > > > > > I add the following code to the DataView: > > > > quote_type > > > > on dragStart > > > > set the dvDragImageRow of me to item 1 of the dvHilitedRows of me > > > > set the dvTrackDragReorder[the dvHilitedRows of me] of me to true > > > > set the dragData["private"] to the dvHilitedRows of me # dragdata has > > to be set to something. > > > > end dragStart > > > > > > > > on ValidateRowDrop pDraggingInfoA, pProposedRow, pProposedDropOperation > > > > put "Dragging" && pProposedRow && pProposedDropOperation > > > > return true > > > > end ValidateRowDrop > > > > > > > > on AcceptRowDrop pDraggingInfoA, pRow, pDropOperation > > > > put "Dropped" && pRow && pDropOperation > > > > end AcceptRowDrop > > > > > > > But the ValidateRowDrop message does not get sent, also I don?t get any > > visual feedback with a "drop indicator" (the line that shows you where the > > drop will occur) - any idea? > > > > > > ? Schedule a call with me > > > On 11 Jun 2021, 16:03 +0100, David Bovill , > > wrote: > > > > Yeah sorry about the typo - sent from mobile. I meant Levure - as > > Trevor is the main man with the drag stuff and having differenr styles for > > rows is a must. > > > > > > > > NB on the typo front I have a distant memory that aeons ago when I > > first got an iPhone I said yes to the spelling ?fir?. Ever since then all > > my devices seem to love this word - anyone have an idea how to correct this > > auto typing flaw? > > > > > > > > ? Schedule a call with me > > > > On 11 Jun 2021, 15:05 +0100, Klaus major-k via use-livecode < > > use-livecode at lists.runrev.com>, wrote: > > > > > Hi David, > > > > > > > > > > > Am 11.06.2021 um 15:58 schrieb David Bovill via use-livecode < > > use-livecode at lists.runrev.com>: > > > > > > > > > > > > Is there a simple demo out there that shows how drag-reordering of > > rows in a dataview works? Is this feature experimental? Got a deadline fir > > Monday considering taking the plunge? > > > > > > > > > > Levite Dataview? 8-) > > > > > Sure you do not mean LC datagrid? > > > > > > > > > > > ? Schedule a call with me > > > > > > > > > > No. :-D > > > > > > > > > > > > > > > Best > > > > > > > > > > Klaus > > > > > -- > > > > > Klaus Major > > > > > https://www.major-k.de > > > > > https://www.major-k.de/bass > > > > > klaus at major-k.de > > > > > > > > > > > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode at lists.runrev.com > > > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Tue Jun 22 01:52:14 2021 From: david.bovill at gmail.com (David Bovill) Date: Tue, 22 Jun 2021 06:52:14 +0100 Subject: SVG Library In-Reply-To: <2aeccce2-06b2-4ee1-93cd-154c62cad7a1@Spark> References: <2aeccce2-06b2-4ee1-93cd-154c62cad7a1@Spark> Message-ID: <3a096d41-939a-4832-8d2a-d494c48b8184@Spark> I?d like to be able to construct SVG?s easily that work with DrawingSvgCompile. Any thoughts? ?? ??Schedule a call with me From bleiler at buffalo.edu Tue Jun 22 09:09:37 2021 From: bleiler at buffalo.edu (Bleiler, Timothy) Date: Tue, 22 Jun 2021 13:09:37 +0000 Subject: SVG Library In-Reply-To: <3a096d41-939a-4832-8d2a-d494c48b8184@Spark> References: <2aeccce2-06b2-4ee1-93cd-154c62cad7a1@Spark> <3a096d41-939a-4832-8d2a-d494c48b8184@Spark> Message-ID: <19ECCCC4-3383-484C-B38F-C20B56A3F712@buffalo.edu> I?d like to do the same thing David. I ran into the following problems on MacOS 11.3 with all versions of Livecode 9. I tried using Pixelmator and Inkscape. Pixelmator Pro worked ok but most of its effects don?t export to SVG. I haven?t been able to get Inkscape to work. There is a confirmed bug (https://quality.livecode.com/show_bug.cgi?id=23216) in Livecode 9 that cause linear and radial gradients to fail to render. Livecode has no support for any SVG effects filters but simpler SVG files work well. I?m hoping the bug is fixed soon and then at least basic SVG will be supported again. The SVG files do look much better when scaled up than .png or .jpg. and you can avoid having to store all the different sizes of files when trying to minimize the scaling problem. Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo On Jun 22, 2021, at 1:52 AM, David Bovill via use-livecode > wrote: I?d like to be able to construct SVG?s easily that work with DrawingSvgCompile. Any thoughts? ? Schedule a call with me _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Tue Jun 22 15:32:25 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 22 Jun 2021 15:32:25 -0400 Subject: [OT] PHP Developer wanted for small job Message-ID: I am looking for a PHP developer familiar with current releases of PHP (7.4 specifically) I have two PHP scripts, one @ 150 lines (including comments) and one @ 192 lines (including comments), written for PHP 5.6 and earlier. Both basically get some posted parameters. One inserts the posted data into a mySQL database and returns OK or an error. The other uses a different set of posted data to look up a record in a mySQL database and return a value from the matching record or an error. My problem is my hosting provider is moving everything to PHP 7.4 and the scripts use PHP 5.6 mySQL functions (like $dblink = mysql_connect(...); or $result = mysql_query ($SQLstmt); which are deprecated in newer versions of PHP, so I need to update them. My PHP skills ended when PHP when object oriented. I could do this (by teaching myself the new SQL calls), but it would probably take me longer than for someone more familiar with current PHP syntax. If you have the current PHP knowledge and are interested, contact me directly, off-list. From paul at researchware.com Tue Jun 22 15:36:24 2021 From: paul at researchware.com (Paul Dupuis) Date: Tue, 22 Jun 2021 15:36:24 -0400 Subject: [OT] PHP Developer wanted for small job In-Reply-To: References: Message-ID: <9a965bf5-ec52-406b-bf7a-64b46812ea87@researchware.com> Um, NEVER MIND. I just did a quick Google search and found this https://www.w3schools.com/php/php_mysql_insert.asp Easy enough for me to tackle. Sorry. On 6/22/2021 3:32 PM, Paul Dupuis via use-livecode wrote: > I am looking for a PHP developer familiar with current releases of PHP > (7.4 specifically) > > I have two PHP scripts, one @ 150 lines (including comments) and one @ > 192 lines (including comments), written for PHP 5.6 and earlier. > > Both basically get some posted parameters. One inserts the posted data > into a mySQL database and returns OK or an error. The other uses a > different set of posted data to look up a record in a mySQL database > and return a value from the matching record or an error. > > My problem is my hosting provider is moving everything to PHP 7.4 and > the scripts use PHP 5.6 mySQL functions (like $dblink = > mysql_connect(...); or $result = mysql_query ($SQLstmt); which are > deprecated in newer versions of PHP, so I need to update them. My PHP > skills ended when PHP when object oriented. > > I could do this (by teaching myself the new SQL calls), but it would > probably take me longer than for someone more familiar with current > PHP syntax. > > If you have the current PHP knowledge and are interested, contact me > directly, off-list. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeejeestudio at gmail.com Tue Jun 22 16:46:08 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Tue, 22 Jun 2021 22:46:08 +0200 Subject: [OT] PHP Developer wanted for small job In-Reply-To: <9a965bf5-ec52-406b-bf7a-64b46812ea87@researchware.com> References: <9a965bf5-ec52-406b-bf7a-64b46812ea87@researchware.com> Message-ID: a very very very very very good one is https://phpdelusions.net Try to switch over to use PDO for database connections and query's, it supports almost all types of databases, and prevent injections. You can also check this to have an idea: https://forums.livecode.com/viewtopic.php?f=12&t=27521 Op 22-6-2021 om 21:36 schreef Paul Dupuis via use-livecode: > Um, NEVER MIND. > > I just did a quick Google search and found this > https://www.w3schools.com/php/php_mysql_insert.asp > > Easy enough for me to tackle. Sorry. > > > > On 6/22/2021 3:32 PM, Paul Dupuis via use-livecode wrote: >> I am looking for a PHP developer familiar with current releases of >> PHP (7.4 specifically) >> >> I have two PHP scripts, one @ 150 lines (including comments) and one >> @ 192 lines (including comments), written for PHP 5.6 and earlier. >> >> Both basically get some posted parameters. One inserts the posted >> data into a mySQL database and returns OK or an error. The other uses >> a different set of posted data to look up a record in a mySQL >> database and return a value from the matching record or an error. >> >> My problem is my hosting provider is moving everything to PHP 7.4 and >> the scripts use PHP 5.6 mySQL functions (like $dblink = >> mysql_connect(...); or $result = mysql_query ($SQLstmt); which are >> deprecated in newer versions of PHP, so I need to update them. My PHP >> skills ended when PHP when object oriented. >> >> I could do this (by teaching myself the new SQL calls), but it would >> probably take me longer than for someone more familiar with current >> PHP syntax. >> >> If you have the current PHP knowledge and are interested, contact me >> directly, off-list. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ilola.antti at gmail.com Wed Jun 23 06:01:43 2021 From: ilola.antti at gmail.com (Antti Ilola) Date: Wed, 23 Jun 2021 13:01:43 +0300 Subject: [OT] PHP Developer wanted for small job In-Reply-To: References: <9a965bf5-ec52-406b-bf7a-64b46812ea87@researchware.com> Message-ID: Try change mysql_ to mysqli_ . It works for me. Antti ti 22. kes?k. 2021 klo 23.47 JeeJeeStudio via use-livecode ( use-livecode at lists.runrev.com) kirjoitti: > a very very very very very good one is https://phpdelusions.net > > Try to switch over to use PDO for database connections and query's, it > supports almost all types of databases, and prevent injections. > > You can also check this to have an idea: > https://forums.livecode.com/viewtopic.php?f=12&t=27521 > > > Op 22-6-2021 om 21:36 schreef Paul Dupuis via use-livecode: > > Um, NEVER MIND. > > > > I just did a quick Google search and found this > > https://www.w3schools.com/php/php_mysql_insert.asp > > > > Easy enough for me to tackle. Sorry. > > > > > > > > On 6/22/2021 3:32 PM, Paul Dupuis via use-livecode wrote: > >> I am looking for a PHP developer familiar with current releases of > >> PHP (7.4 specifically) > >> > >> I have two PHP scripts, one @ 150 lines (including comments) and one > >> @ 192 lines (including comments), written for PHP 5.6 and earlier. > >> > >> Both basically get some posted parameters. One inserts the posted > >> data into a mySQL database and returns OK or an error. The other uses > >> a different set of posted data to look up a record in a mySQL > >> database and return a value from the matching record or an error. > >> > >> My problem is my hosting provider is moving everything to PHP 7.4 and > >> the scripts use PHP 5.6 mySQL functions (like $dblink = > >> mysql_connect(...); or $result = mysql_query ($SQLstmt); which are > >> deprecated in newer versions of PHP, so I need to update them. My PHP > >> skills ended when PHP when object oriented. > >> > >> I could do this (by teaching myself the new SQL calls), but it would > >> probably take me longer than for someone more familiar with current > >> PHP syntax. > >> > >> If you have the current PHP knowledge and are interested, contact me > >> directly, off-list. > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Wed Jun 23 14:43:11 2021 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Wed, 23 Jun 2021 18:43:11 +0000 Subject: Open a folder on the desktop from a LiveCode app In-Reply-To: <10A2C3B9-F4F8-4BC9-A855-4ADDD2A5ED61@major-k.de> References: , <10A2C3B9-F4F8-4BC9-A855-4ADDD2A5ED61@major-k.de> Message-ID: I like to use the full path to the file and use the /SELECT switch. This opens the folder AND selects the file. on mouseUp set the hideConsoleWindows to true get shell("explorer.exe /SELECT," & quote & tPathToFile & quote) end mouseUp ~Roger ________________________________ From: use-livecode on behalf of Klaus major-k via use-livecode Sent: Saturday, June 19, 2021 3:50 PM To: How to use LiveCode Cc: Klaus major-k Subject: Re: Open a folder on the desktop from a LiveCode app CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Hi Paul, > Am 19.06.2021 um 20:48 schrieb Paul Dupuis via use-livecode : > > What is the "best" way (or any way) to open a folder on the Windows desktop from a Livecode script. > > For example: > > on openFolder pPath -- where pPath is the path and name to a document (file) > set itemDel to slash > delete last item of pPath -- leaves the the path to the folder containing the document > -- now, how do I open this on the desktop (i.e in Explorer)? launch document pPath ## :-) > end openFolder Best Klaus From bobsneidar at iotecdigital.com Wed Jun 23 16:58:36 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 23 Jun 2021 20:58:36 +0000 Subject: Open a folder on the desktop from a LiveCode app In-Reply-To: References: <10A2C3B9-F4F8-4BC9-A855-4ADDD2A5ED61@major-k.de> Message-ID: Oooh nice. I have a use for that. Bob S > On Jun 23, 2021, at 11:43 , Eller, Roger via use-livecode wrote: > > I like to use the full path to the file and use the /SELECT switch. This opens the folder AND selects the file. > > > on mouseUp > > set the hideConsoleWindows to true > > get shell("explorer.exe /SELECT," & quote & tPathToFile & quote) > > end mouseUp > > ~Roger From waprothero at gmail.com Wed Jun 23 17:27:22 2021 From: waprothero at gmail.com (William Prothero) Date: Wed, 23 Jun 2021 14:27:22 -0700 Subject: Open a folder on the desktop from a LiveCode app In-Reply-To: <10A2C3B9-F4F8-4BC9-A855-4ADDD2A5ED61@major-k.de> References: <10A2C3B9-F4F8-4BC9-A855-4ADDD2A5ED61@major-k.de> Message-ID: <5182C1C8-F1BF-4A90-876F-FB9F4DF8785A@gmail.com> Klaus and others: I love it! I can use this too. Bill Prothero > On Jun 19, 2021, at 12:50 PM, Klaus major-k via use-livecode wrote: > > Hi Paul, > >> Am 19.06.2021 um 20:48 schrieb Paul Dupuis via use-livecode : >> >> What is the "best" way (or any way) to open a folder on the Windows desktop from a Livecode script. >> >> For example: >> >> on openFolder pPath -- where pPath is the path and name to a document (file) >> set itemDel to slash >> delete last item of pPath -- leaves the the path to the folder containing the document >> -- now, how do I open this on the desktop (i.e in Explorer)? > > launch document pPath > ## :-) > >> end openFolder > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ From david.bovill at gmail.com Thu Jun 24 07:39:03 2021 From: david.bovill at gmail.com (David Bovill) Date: Thu, 24 Jun 2021 12:39:03 +0100 Subject: SVG Library In-Reply-To: <19ECCCC4-3383-484C-B38F-C20B56A3F712@buffalo.edu> References: <2aeccce2-06b2-4ee1-93cd-154c62cad7a1@Spark> <3a096d41-939a-4832-8d2a-d494c48b8184@Spark> <19ECCCC4-3383-484C-B38F-C20B56A3F712@buffalo.edu> Message-ID: <58f5b6f0-a88b-4732-b382-55989c2479f7@Spark> Thanks for the info. Until now I?ve been displaying SVGs in the browser widget - you might want to try that for more advanced SVGs? I was thinking more of creating svgs using LiveCode. My use case is multiple coloured lines - I don?t want to use too many graphic controls so I thought I?d create a single SVG. I want D3 for LiveCode :) ?? ??Schedule a call with me On 22 Jun 2021, 14:11 +0100, Bleiler, Timothy via use-livecode , wrote: > I?d like to do the same thing David. I ran into the following problems on MacOS 11.3 with all versions of Livecode 9. > > I tried using Pixelmator and Inkscape. Pixelmator Pro worked ok but most of its effects don?t export to SVG. I haven?t been able to get Inkscape to work. > > There is a confirmed bug (https://quality.livecode.com/show_bug.cgi?id=23216) in Livecode 9 that cause linear and radial gradients to fail to render. > > Livecode has no support for any SVG effects filters but simpler SVG files work well. > > I?m hoping the bug is fixed soon and then at least basic SVG will be supported again. The SVG files do look much better when scaled up than .png or .jpg. and you can avoid having to store all the different sizes of files when trying to minimize the scaling problem. > > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > On Jun 22, 2021, at 1:52 AM, David Bovill via use-livecode > wrote: > > I?d like to be able to construct SVG?s easily that work with DrawingSvgCompile. Any thoughts? > > ? Schedule a call with me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david.bovill at gmail.com Thu Jun 24 07:46:18 2021 From: david.bovill at gmail.com (David Bovill) Date: Thu, 24 Jun 2021 12:46:18 +0100 Subject: Levure Dataview: hiding rows In-Reply-To: <47cb32fa-90d0-40cd-b4ec-77f2d8891417@Spark> References: <68DB6018-0C01-44DD-9805-C0853B6F8F12@prestodigital.net> <61B5D5E3-86F2-4147-97D6-FDCB971314F6@major-k.de> <0f1616fc-f758-4ee5-851c-22dc3deee760@Spark> <94be68c3-2f96-47ff-847a-cdf5df2f3e93@Spark> <47cb32fa-90d0-40cd-b4ec-77f2d8891417@Spark> Message-ID: <2fbb9ec3-3ca4-4f04-b01c-625114d7e0b2@Spark> Im exploring how to hide a row in Levure Dataview. I can delete the row and reset the dvData - but that seems overkill. On GitHub there is a mention of HideRowControl? I?m running into the limits of the documentation for Dataview. Any ideas? ?? ??Schedule a call with me On 22 Jun 2021, 05:08 +0100, David Bovill , wrote: > Hah - hey thanks for that Sean. The recipe feels a bit like going to the government and filling in forms in triplicate to get your life back :) > > ?? ??Schedule a call with me > On 22 Jun 2021, 03:15 +0100, Sean Cole (Pi) via use-livecode , wrote: > > Hi David, > > > > iOS 'fir' / 'for' issue. > > > > I don't know if this already got answered elsewhere in the thread. There > > are two easy fixes for this. > > > > 1. In Notes, type 'Fir always' then select the word 'Fir' and from the > > pop-up menu select 'replace...' then replace with 'For'. Delete the line of > > text and repeat nine times. > > Now repeat this whole thing but use the phrase 'Once fir all'. If this > > corrects to 'for' right away then it is already fixed. Otherwise, continue > > using this phrase replacing 'fir' with 'for'. > > > > 2. If this still does not fix it, in > > Settings>General>Keyboard>TextReplacement>, add 'fir' with the replacement > > 'for'. > > > > (3. Or, go to Settings>General>Reset>ResetKeyboardDictionary, but that is > > the last resort.) > > > > All the best > > > > Sean > > > > > > On Mon, 21 Jun 2021 at 20:33, David Bovill via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I?d like to add an image background to a Dataview, so that is scrolls > > > alongside the rows. > > > > > > Any pointers? > > > > > > ? Schedule a call with me > > > On 11 Jun 2021, 18:01 +0100, David Bovill , wrote: > > > > So I got visual feedback from drag-and-drop using the Levure DataView > > > following instructions at: > > > > > > > > ? https://github.com/trevordevore/levurehelper-dataview > > > > > > > > I add the following code to the DataView: > > > > > quote_type > > > > > on dragStart > > > > > set the dvDragImageRow of me to item 1 of the dvHilitedRows of me > > > > > set the dvTrackDragReorder[the dvHilitedRows of me] of me to true > > > > > set the dragData["private"] to the dvHilitedRows of me # dragdata has > > > to be set to something. > > > > > end dragStart > > > > > > > > > > on ValidateRowDrop pDraggingInfoA, pProposedRow, pProposedDropOperation > > > > > put "Dragging" && pProposedRow && pProposedDropOperation > > > > > return true > > > > > end ValidateRowDrop > > > > > > > > > > on AcceptRowDrop pDraggingInfoA, pRow, pDropOperation > > > > > put "Dropped" && pRow && pDropOperation > > > > > end AcceptRowDrop > > > > > > > > > But the ValidateRowDrop message does not get sent, also I don?t get any > > > visual feedback with a "drop indicator" (the line that shows you where the > > > drop will occur) - any idea? > > > > > > > > ? Schedule a call with me > > > > On 11 Jun 2021, 16:03 +0100, David Bovill , > > > wrote: > > > > > Yeah sorry about the typo - sent from mobile. I meant Levure - as > > > Trevor is the main man with the drag stuff and having differenr styles for > > > rows is a must. > > > > > > > > > > NB on the typo front I have a distant memory that aeons ago when I > > > first got an iPhone I said yes to the spelling ?fir?. Ever since then all > > > my devices seem to love this word - anyone have an idea how to correct this > > > auto typing flaw? > > > > > > > > > > ? Schedule a call with me > > > > > On 11 Jun 2021, 15:05 +0100, Klaus major-k via use-livecode < > > > use-livecode at lists.runrev.com>, wrote: > > > > > > Hi David, > > > > > > > > > > > > > Am 11.06.2021 um 15:58 schrieb David Bovill via use-livecode < > > > use-livecode at lists.runrev.com>: > > > > > > > > > > > > > > Is there a simple demo out there that shows how drag-reordering of > > > rows in a dataview works? Is this feature experimental? Got a deadline fir > > > Monday considering taking the plunge? > > > > > > > > > > > > Levite Dataview? 8-) > > > > > > Sure you do not mean LC datagrid? > > > > > > > > > > > > > ? Schedule a call with me > > > > > > > > > > > > No. :-D > > > > > > > > > > > > > > > > > > Best > > > > > > > > > > > > Klaus > > > > > > -- > > > > > > Klaus Major > > > > > > https://www.major-k.de > > > > > > https://www.major-k.de/bass > > > > > > klaus at major-k.de > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > use-livecode mailing list > > > > > > use-livecode at lists.runrev.com > > > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Sat Jun 26 13:19:21 2021 From: paul at researchware.com (Paul Dupuis) Date: Sat, 26 Jun 2021 13:19:21 -0400 Subject: scripted find and find again... Message-ID: <5ad8e684-3001-3bdc-2b87-2387173e8cc3@researchware.com> I suspect may of us on this list have coded their own Find and Find Again (or Find Next) commands. Some may use the Livecode "find" command (find [form] textToFind [in field]), but I suspect most (as even the Dictionary entry for Find recommends this) use offset or matchText.. Either approach, using "Find"or using "offset: (or equivalent) let you do Forward searches without jumping through hoops. Many typical applications (MS-Word for example) support searching in either direction, forward or backwards. It appears Livecode's language has no support for Backwards searching. I found this positively ancient enhancement request: https://quality.livecode.com/show_bug.cgi?id=946 (from 2003!!!) So, I have the following questions: 1) Has anyone scripted? text search (of a field or variable content)? that support forward and backwards searching? 1.1) As the equivalent of Find and Find Again 1.2) With hints, so it shows you snippets of the matches for you to jump to one rather then advancing sequentially through them? 2) I know the mother ship does not generally comment about future features, bit is any enhancement to scripted searching planned for LiveCode 10 or soon after? From curry at pair.com Sun Jun 27 04:46:02 2021 From: curry at pair.com (Curry Kenworthy) Date: Sun, 27 Jun 2021 04:46:02 -0400 Subject: scripted find and find again... In-Reply-To: <5ad8e684-3001-3bdc-2b87-2387173e8cc3@researchware.com> References: <5ad8e684-3001-3bdc-2b87-2387173e8cc3@researchware.com> Message-ID: Paul: > It appears Livecode's language has no support for Backwards searching. These days, for a one-off backward sequential find with no hints, I'd be tempted to use a "last item of" calculation; short and simple. > With hints, so it shows you snippets of the matches for you to jump > to one rather then advancing sequentially through them? To compile a complete list of matches, just search from the beginning. You're providing random access to results, along with Next/Previous, but the actual search is done in normal "forward" mode. (And yes, I've done that once or twice.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From jacque at hyperactivesw.com Sun Jun 27 15:49:13 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 27 Jun 2021 14:49:13 -0500 Subject: scripted find and find again... In-Reply-To: <5ad8e684-3001-3bdc-2b87-2387173e8cc3@researchware.com> References: <5ad8e684-3001-3bdc-2b87-2387173e8cc3@researchware.com> Message-ID: <17a4f04cac0.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I've never tried it but I know it's possible because the script editor does it. I haven't looked at the scripts in the editor but if you're ambitious you could. If I had to do this myself from a cold start, I think I'd use offset with its skip parameter to sequentially find occurances of the search term in the text, and keep a list of the offsets as I go. You could do it two ways. 1. Find the first instance and record its offset. Record each subsequent instance as the user repeats the search. The list would grow incrementally, and to go backward, the previous instance would just be the line before the current one. 2. Find all offset instances and record them whenever the search term changes to get a complete list. You'd need to keep track of which line is the current instance so you can calculate the one before it as per above. This method is probably what you'd need to do if you want the search to start at the bottom of the text or to wrap around to the bottom when going backwards. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 26, 2021 12:21:57 PM Paul Dupuis via use-livecode wrote: > I suspect may of us on this list have coded their own Find and Find > Again (or Find Next) commands. > > Some may use the Livecode "find" command (find [form] textToFind [in > field]), but I suspect most (as even the Dictionary entry for Find > recommends this) use offset or matchText.. Either approach, using > "Find"or using "offset: (or equivalent) let you do Forward searches > without jumping through hoops. > > Many typical applications (MS-Word for example) support searching in > either direction, forward or backwards. It appears Livecode's language > has no support for Backwards searching. I found this positively ancient > enhancement request: > > https://quality.livecode.com/show_bug.cgi?id=946 (from 2003!!!) > > So, I have the following questions: > > 1) Has anyone scripted text search (of a field or variable content) > that support forward and backwards searching? > > 1.1) As the equivalent of Find and Find Again > > 1.2) With hints, so it shows you snippets of the matches for you to jump > to one rather then advancing sequentially through them? > > 2) I know the mother ship does not generally comment about future > features, bit is any enhancement to scripted searching planned for > LiveCode 10 or soon after? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Mon Jun 28 11:43:38 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 28 Jun 2021 18:43:38 +0300 Subject: [ANN] This Week in LiveCode 270 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 #270 here: https://bit.ly/35UTPWx 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 your 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 martyknappster at gmail.com Mon Jun 28 15:28:06 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 28 Jun 2021 12:28:06 -0700 Subject: iOS clipboard? Message-ID: <18215404-2773-4595-907C-1E9ABB6BBE2C@gmail.com> Does anyone have a suggestion for LC?s lack of support for clipboardData in iOS? I?ve implemented my customer database as an iOS app so I can do tech support when I?m away from the office and not have to lug along a laptop. Typically when I need to look up an order number or email (received by email) - I either try to memorize it or I write it down on a piece of paper and then type it into my database. Very clunk to say the least. It seems kinda crazy that I can?t copy the email address from the customer email and then paste that into my iOS app? Or did I miss something? Marty From brian at milby7.com Mon Jun 28 15:34:05 2021 From: brian at milby7.com (Brian Milby) Date: Mon, 28 Jun 2021 15:34:05 -0400 Subject: iOS clipboard? In-Reply-To: <18215404-2773-4595-907C-1E9ABB6BBE2C@gmail.com> References: <18215404-2773-4595-907C-1E9ABB6BBE2C@gmail.com> Message-ID: Need to use native fields to enable copy/paste functionality. On Mon, Jun 28, 2021 at 3:29 PM Marty Knapp via use-livecode < use-livecode at lists.runrev.com> wrote: > Does anyone have a suggestion for LC?s lack of support for clipboardData > in iOS? I?ve implemented my customer database as an iOS app so I can do > tech support when I?m away from the office and not have to lug along a > laptop. Typically when I need to look up an order number or email (received > by email) - I either try to memorize it or I write it down on a piece of > paper and then type it into my database. Very clunk to say the least. It > seems kinda crazy that I can?t copy the email address from the customer > email and then paste that into my iOS app? Or did I miss something? > > Marty > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From martyknappster at gmail.com Tue Jun 29 12:15:25 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Tue, 29 Jun 2021 09:15:25 -0700 Subject: iOS clipboard? In-Reply-To: References: <18215404-2773-4595-907C-1E9ABB6BBE2C@gmail.com> Message-ID: <885F7D56-FFC0-4731-8F6F-EBA1306311EA@gmail.com> Thanks. I don?t see a native iOS field available in the toolbar - I see one for Mac and Android? but I do see there?s an online lesson to implement this: https://lessons.livecode.com/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile Marty > On Jun 28, 2021, at 12:34 PM, Brian Milby via use-livecode wrote: > > Need to use native fields to enable copy/paste functionality. > > On Mon, Jun 28, 2021 at 3:29 PM Marty Knapp via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Does anyone have a suggestion for LC?s lack of support for clipboardData >> in iOS? I?ve implemented my customer database as an iOS app so I can do >> tech support when I?m away from the office and not have to lug along a >> laptop. Typically when I need to look up an order number or email (received >> by email) - I either try to memorize it or I write it down on a piece of >> paper and then type it into my database. Very clunk to say the least. It >> seems kinda crazy that I can?t copy the email address from the customer >> email and then paste that into my iOS app? Or did I miss something? From bobsneidar at iotecdigital.com Tue Jun 29 12:22:00 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 29 Jun 2021 16:22:00 +0000 Subject: iOS clipboard? In-Reply-To: <885F7D56-FFC0-4731-8F6F-EBA1306311EA@gmail.com> References: <18215404-2773-4595-907C-1E9ABB6BBE2C@gmail.com> <885F7D56-FFC0-4731-8F6F-EBA1306311EA@gmail.com> Message-ID: There is a Mac Native Single Line Field. I wonder if that is the iOS field? Bob S > On Jun 29, 2021, at 09:15 , Marty Knapp via use-livecode wrote: > > Thanks. I don?t see a native iOS field available in the toolbar - I see one for Mac and Android? but I do see there?s an online lesson to implement this: > > https://lessons.livecode.com/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile > > Marty > >> On Jun 28, 2021, at 12:34 PM, Brian Milby via use-livecode wrote: >> >> Need to use native fields to enable copy/paste functionality. >> >> On Mon, Jun 28, 2021 at 3:29 PM Marty Knapp via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Does anyone have a suggestion for LC?s lack of support for clipboardData >>> in iOS? I?ve implemented my customer database as an iOS app so I can do >>> tech support when I?m away from the office and not have to lug along a >>> laptop. Typically when I need to look up an order number or email (received >>> by email) - I either try to memorize it or I write it down on a piece of >>> paper and then type it into my database. Very clunk to say the least. It >>> seems kinda crazy that I can?t copy the email address from the customer >>> email and then paste that into my iOS app? Or did I miss something? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Jun 29 12:28:22 2021 From: klaus at major-k.de (Klaus major-k) Date: Tue, 29 Jun 2021 18:28:22 +0200 Subject: iOS clipboard? In-Reply-To: References: <18215404-2773-4595-907C-1E9ABB6BBE2C@gmail.com> <885F7D56-FFC0-4731-8F6F-EBA1306311EA@gmail.com> Message-ID: <85149618-5319-4240-BEA3-AF313924F986@major-k.de> Hi Bob, > Am 29.06.2021 um 18:22 schrieb Bob Sneidar via use-livecode : > > There is a Mac Native Single Line Field. I wonder if that is the iOS field? no it isn't, it is what the name says! 8-) Currently there are no iOS field widgets in the TOOLS palette, just a native iOS button, you need to -> mobilecontrolcreate a native field by yourself. > Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From tom at makeshyft.com Wed Jun 30 14:16:37 2021 From: tom at makeshyft.com (Tom Glod) Date: Wed, 30 Jun 2021 14:16:37 -0400 Subject: Mobile Scroller In-Reply-To: References: <005401d76474$c4eadff0$4ec09fd0$@net> <00E50C65-BF64-4717-9030-A5C99A58D1EF@milby7.com> <000001d764b1$c7244170$556cc450$@net> Message-ID: Just confirming that this has been solved, putting the mobilescroller commands in the resizestack handler is the solution. What I did was I put "resizestack" to be called from "orientationchanged", which for some reason it seemed like a good idea at the time :/ Thanks Ralph. Tom On Sat, Jun 19, 2021 at 10:43 PM Tom Glod wrote: > Hi Ralph... Thanks for those tips.... I will test to see if I can make it > work. > > On Fri, Jun 18, 2021, 10:23 PM Ralph DiMola via use-livecode, < > use-livecode at lists.runrev.com> wrote: > >> Tom, >> >> Orientationchanged happens before the screen is actually rotated. This is >> why your scroll regions are not correct. Put your code in the resizestack >> handler. I delete and recreate the scroller, I don't remember if that is >> needed or I just started doing it that way. Scrollers work for me on both >> iOS and Android. If you are able to come up with your magic numbers that >> will make it scroll to the same place you must do a send in time for the 2 >> "mobileControlSet"s for both vScroll and hScroll. I use 100ms >> >> That being said although all my apps support both portrait and landscape >> I use Orientationchanged very very rarely but when you need it it's >> invaluable. >> >> >> 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 Tom Glod via use-livecode >> Sent: Friday, June 18, 2021 9:23 PM >> To: How to use LiveCode >> Cc: Tom Glod >> Subject: Re: Mobile Scroller >> >> Ralph, it's in the orientationchanged handler.... >> >> Brian.... Thanks..... !!! >> >> >> On Fri, Jun 18, 2021, 4:18 PM Brian Milby via use-livecode, < >> use-livecode at lists.runrev.com> wrote: >> >> > I have this working in SivaSiva for the stories module on Android. It >> > locks up on iOS so I have rotation disabled for now. In my use case, >> > the group is essentially the full screen with an image that is being >> > moved around. I?ll try to find the specific scripts tonight. >> > >> > Thanks, >> > Brian >> > >> > Sent from my iPhone >> > >> > > On Jun 18, 2021, at 3:06 PM, Ralph DiMola via use-livecode < >> > use-livecode at lists.runrev.com> wrote: >> > > >> > > ?Tom, >> > > >> > > What handler are you doing this in? >> > > >> > > 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 Tom Glod via use-livecode >> > > Sent: Friday, June 18, 2021 2:51 PM >> > > To: How to use LiveCode >> > > Cc: Tom Glod >> > > Subject: Mobile Scroller >> > > >> > > Hi Folks, >> > > >> > > I implemented a MobileControl "Scroller" to scroll a group. Works >> great. >> > > However when I change the orientation, it no longer works correctly. >> > > >> > > >> > > - I tried to just update the properties relating to the rect >> > > - deleting / recreating >> > > >> > > >> > > mobileControlSet "CardContentScroller","visible",true >> > > >> > > mobileControlSet "CardContentScroller","rect",the rect of *group* >> > > "Card Content" of this card of me >> > > >> > > *put* 0,0,the width of *group* "Card Content" of this card of me,the >> > > formattedHeight of *group* "Card Content" of this card of me into >> > > tContentRect >> > > >> > > mobileControlSet "CardContentScroller","contentRect",tContentRect >> > > >> > > mobileControlSet "CardContentScroller","vIndicator",true >> > > >> > > >> > > but it still isn't updating properly. >> > > Not sure what i'm doing wrong. >> > > >> > > The code runs on the orientationChanged message >> > > >> > > Please help. >> > > >> > > Thanks, >> > > >> > > -- >> > > Tom Glod >> > > Founder & Developer >> > > MakeShyft R.D.A (www.makeshyft.com) >> > > Mobile:647.562.9411 >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > subscription >> > > preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411