From jjs at krutt.org Wed Jan 1 04:19:46 2020 From: jjs at krutt.org (Jjs) Date: Wed, 01 Jan 2020 10:19:46 +0100 Subject: Happy New Year! In-Reply-To: References: Message-ID: <0DCB9D0E-D414-400E-B797-FA34FCD51185@krutt.org> Wishing everyone a healthy and fantastic new year! Make it great! Happy coding! Regards, Sphere Sannyasin Brahmanathaswami via use-livecode schreef op 31 december 2019 20:39:36 CET: >I would like to import an SVG that has multiple paths and which two >colors. Using Illustrator or Inkscape, merge compound path make them >all the same color > >class="cls-3" >d="M73.6,129.2c-.3,10.9-.5,27.4-.5,49.3V180c-1.7.1-4.3.2-7.8.2l-2-.2v-2.2c0-.1.1-8.5.2-25.3.2-10.1.1-18.5-.2-25.2a16.43,16.43,0,0,1,6-1l4.4.1v2.8Z"/>class="cls-3" >d="M112.1,180H101.6a272.79,272.79,0,0,1-19.9-52.3l9.4-1.9c4.4,18.5,9.7,33.3,15.7,44.3,6.1-11,11.3-25.8,15.7-44.3l9.4,1.9A262.07,262.07,0,0,1,112.1,180Z"/>class="cls-3" >d="M169.9,180.8c-.7-4.3-1.7-8.7-2.9-13.3H141.2c-1.2,4.6-2.1,9-2.8,13.3l-10.3-1.6a95.11,95.11,0,0,1,3.2-11.6c-.4,0-1.3-.1-2.7-.2l.2-8.3h5.1a164,164,0,0,1,6.9-16c2.7-5.4,5.4-10.7,8.1-16.2l10.3-.5,8.4,17.1a150.36,150.36,0,0,1,7.2,17.7c.9,2.8,1.8,5.6,2.8,8.4a92.94,92.94,0,0,1 >,2.5,9.7Zm-15.7-43.5A142.72,142.72,0,0,0,144,159c7.3.2,14.1.2,20.3.2-2-5-3.5-8.6-4.6-10.8A104.39,104.39,0,0,0,154.2,137.3Z"/>class="cls-4" >d="M23.8,72.3a26.31,26.31,0,0,0,12.4,3.3c6,0,9.3-2.8,9.3-7,0-3.9-2.6-6.2-9.1-8.5-8.4-3-13.8-7.5-13.8-14.9,0-8.4,7-14.7,18.1-14.7A26.52,26.52,0,0,1,53,33.1l-2.3,7.5a21.56,21.56,0,0,0-10.2-2.4c-5.9,0-8.5,3.2-8.5,6.2,0,4,3,5.8,9.8,8.4C50.7,56.1,55,60.6,55,68c0,8.2-6.2,15.4-19.5,15.4-5.4,0-11-1.5-13.8-3.2Zm29.6-55L41.9,26.4H34.3L43,17.3Z"/>class="cls-4" >d="M74.9,31.9c-.4,11-.5,27.4-.5,49.4v1.5c-1.7.1-4.3.2-7.8.2l-2-.2V80.6c0-.1.1-8.5.2-25.3.2-10.1.1-18.5-.2-25.2a16.43,16.43,0,0,1,6-1l4.4.1v2.7Z"/>class="cls-4" >d="M113.5,82.7H103A272.79,272.79,0,0,1,83.1,30.4l9.4-1.9c4.4,18.5,9.7,33.3,15.7,44.3q9.15-16.5,15.7-44.3l9.4,1.9A263.57,263.57,0,0,1,113.5,82.7Z"/>class="cls-4" >d="M171.2,83.5c-.7-4.3-1.7-8.7-2.9-13.3H142.5c-1.2,4.6-2.1,9-2.8,13.3l-10.3-1.6a95.11,95.11,0,0,1,3.2-11.6c-.4,0-1.3-.1-2.7-.2l.2-8.3h5.1a164,164,0,0,1,6.9-16c2. >7-5.4,5.4-10.7,8.1-16.2l10.3-.5,8.4,17.1a150.36,150.36,0,0,1,7.2,17.7c.9,2.8,1.8,5.6,2.8,8.4a92.94,92.94,0,0,1,2.5,9.7ZM155.6,40a142.72,142.72,0,0,0-10.2,21.7c7.3.2,14.1.2,20.3.2-2-5-3.5-8.6-4.6-10.8C159.1,46.7,157.2,43,155.6,40Z"/> > >But the following SVG imports fine as an image in LC and has multiple >colors. Granted they are all circles, but can't the above by turned >into this format? > >fill-rule="evenodd"> > > >fill-opacity="0.364182692" fill="#000000" cx="31.46" cy="31.46" >r="31.46"> > >r="4.62825"> >r="4.62825"> >r="4.62825"> >r="4.62825"> >r="4.62825"> >r="4.62825"> >r="4.62825"> > > > > > >BR >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From rdimola at evergreeninfo.net Wed Jan 1 11:34:19 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 1 Jan 2020 11:34:19 -0500 Subject: Happy New Year! In-Reply-To: <0DCB9D0E-D414-400E-B797-FA34FCD51185@krutt.org> References: <0DCB9D0E-D414-400E-B797-FA34FCD51185@krutt.org> Message-ID: <001601d5c0c1$53ce0750$fb6a15f0$@net> Back at you and the entire LC community! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Jjs via use-livecode Sent: Wednesday, January 01, 2020 4:20 AM To: How to use LiveCode Cc: Jjs Subject: Happy New Year! Wishing everyone a healthy and fantastic new year! Make it great! Happy coding! Regards, Sphere Sannyasin Brahmanathaswami via use-livecode schreef op 31 december 2019 20:39:36 CET: >I would like to import an SVG that has multiple paths and which two >colors. Using Illustrator or Inkscape, merge compound path make them >all the same color > >class="cls-3" >d="M73.6,129.2c-.3,10.9-.5,27.4-.5,49.3V180c-1.7.1-4.3.2-7.8.2l-2-.2v-2 >.2c0-.1.1-8.5.2-25.3.2-10.1.1-18.5-.2-25.2a16.43,16.43,0,0,1,6-1l4.4.1v >2.8Z"/>class="cls-3" >d="M112.1,180H101.6a272.79,272.79,0,0,1-19.9-52.3l9.4-1.9c4.4,18.5,9.7, >33.3,15.7,44.3,6.1-11,11.3-25.8,15.7-44.3l9.4,1.9A262.07,262.07,0,0,1,1 >12.1,180Z"/>class="cls-3" >d="M169.9,180.8c-.7-4.3-1.7-8.7-2.9-13.3H141.2c-1.2,4.6-2.1,9-2.8,13.3l >-10.3-1.6a95.11,95.11,0,0,1,3.2-11.6c-.4,0-1.3-.1-2.7-.2l.2-8.3h5.1a164 >,164,0,0,1,6.9-16c2.7-5.4,5.4-10.7,8.1-16.2l10.3-.5,8.4,17.1a150.36,150 >.36,0,0,1,7.2,17.7c.9,2.8,1.8,5.6,2.8,8.4a92.94,92.94,0,0,1 >,2.5,9.7Zm-15.7-43.5A142.72,142.72,0,0,0,144,159c7.3.2,14.1.2,20.3.2-2- >5-3.5-8.6-4.6-10.8A104.39,104.39,0,0,0,154.2,137.3Z"/>class="cls-4" >d="M23.8,72.3a26.31,26.31,0,0,0,12.4,3.3c6,0,9.3-2.8,9.3-7,0-3.9-2.6-6. >2-9.1-8.5-8.4-3-13.8-7.5-13.8-14.9,0-8.4,7-14.7,18.1-14.7A26.52,26.52,0 >,0,1,53,33.1l-2.3,7.5a21.56,21.56,0,0,0-10.2-2.4c-5.9,0-8.5,3.2-8.5,6.2 >,0,4,3,5.8,9.8,8.4C50.7,56.1,55,60.6,55,68c0,8.2-6.2,15.4-19.5,15.4-5.4 >,0-11-1.5-13.8-3.2Zm29.6-55L41.9,26.4H34.3L43,17.3Z"/>class="cls-4" >d="M74.9,31.9c-.4,11-.5,27.4-.5,49.4v1.5c-1.7.1-4.3.2-7.8.2l-2-.2V80.6c >0-.1.1-8.5.2-25.3.2-10.1.1-18.5-.2-25.2a16.43,16.43,0,0,1,6-1l4.4.1v2.7 >Z"/>class="cls-4" >d="M113.5,82.7H103A272.79,272.79,0,0,1,83.1,30.4l9.4-1.9c4.4,18.5,9.7,3 >3.3,15.7,44.3q9.15-16.5,15.7-44.3l9.4,1.9A263.57,263.57,0,0,1,113.5,82. >7Z"/>class="cls-4" >d="M171.2,83.5c-.7-4.3-1.7-8.7-2.9-13.3H142.5c-1.2,4.6-2.1,9-2.8,13.3l-10.3 -1.6a95.11,95.11,0,0,1,3.2-11.6c-.4,0-1.3-.1-2.7-.2l.2-8.3h5.1a164,164,0,0,1 ,6.9-16c2. >7-5.4,5.4-10.7,8.1-16.2l10.3-.5,8.4,17.1a150.36,150.36,0,0,1,7.2,17.7c. >9,2.8,1.8,5.6,2.8,8.4a92.94,92.94,0,0,1,2.5,9.7ZM155.6,40a142.72,142.72 >,0,0,0-10.2,21.7c7.3.2,14.1.2,20.3.2-2-5-3.5-8.6-4.6-10.8C159.1,46.7,15 >7.2,43,155.6,40Z"/> > >But the following SVG imports fine as an image in LC and has multiple >colors. Granted they are all circles, but can't the above by turned >into this format? > >fill-rule="evenodd"> > > >fill-opacity="0.364182692" fill="#000000" cx="31.46" cy="31.46" >r="31.46"> > >r="4.62825"> >r="4.62825"> >r="4.62825"> >r="4.62825"> >r="4.62825"> >r="4.62825"> >r="4.62825"> > > > > > >BR >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Jan 1 19:48:20 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 1 Jan 2020 16:48:20 -0800 Subject: LiveCode won't recognize my stack In-Reply-To: <84191B7C-AE47-4647-AAF2-B2815A7EACE8@mac.com> References: <84191B7C-AE47-4647-AAF2-B2815A7EACE8@mac.com> Message-ID: <8547edb2-7750-a945-469d-6f9d31d91dae@fourthworld.com> Bill Vlahos wrote: > Richard, > > I?m running the different versions of LiveCode on the same Mac and looking at the same file so I don?t think the OS is affecting this. > > I?m just asking if there is a stack with the correct name and getting ?false? as the answer if using LC 9.5.1. > If I ask for ?file? and not ?stack? then the result is ?true?. > > The path to the LicenseKey.IW file is correct at: /Volumes/HP c310w/InfoWallet 1.4/Info Files > > Here is the error message: > Executing at 4:47:43 PM on Tuesday, December 31, 2019 > Type: Chunk: can't find stack > Object: stack '/Volumes/HP c310w/InfoWallet 1.4/Info Files/InfoWallet.app/Contents/MacOS/InfoWallet' > Line Num: 26 > Hint: populateFileList > > Comments: > > > I think LC must have changed how they are validating ?stack? in version 8 compared to version 7. Maybe, but if so it's happening in a way not even Mark Waddingham is aware of (see his earlier post), and in ways I've never seen (and I do some weird things with stack files). Most interesting here is that "is a file" returns true while "is a stack" returns false. Were both of those tests run in the standalone? MacOS changed some aspects of how apps are allowed to address contents of its internal bundle folders a while back, but I would be surprised if those come into play only when testing "is a stack" but not "is a file". Is the stack file openable in the IDE? -- 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 brian at milby7.com Wed Jan 1 19:58:35 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 1 Jan 2020 19:58:35 -0500 Subject: LiveCode won't recognize my stack In-Reply-To: <8547edb2-7750-a945-469d-6f9d31d91dae@fourthworld.com> References: <84191B7C-AE47-4647-AAF2-B2815A7EACE8@mac.com> <8547edb2-7750-a945-469d-6f9d31d91dae@fourthworld.com> Message-ID: <82d55da7-8835-4e4c-b390-c8cf29104d3f@Spark> Have you tried addressing it via the full path? put the uProperty of stack ?/fullPathToFile/actualFileName? into tVar Thanks, Brian From jiml at netrin.com Wed Jan 1 23:19:15 2020 From: jiml at netrin.com (Jim Lambert) Date: Wed, 1 Jan 2020 20:19:15 -0800 Subject: Happy 2020! In-Reply-To: References: Message-ID: Have a Happy LiveCode New Year! Jim Lambert From tom at makeshyft.com Wed Jan 1 23:35:46 2020 From: tom at makeshyft.com (Tom Glod) Date: Wed, 1 Jan 2020 23:35:46 -0500 Subject: Happy 2020! In-Reply-To: References: Message-ID: Hey Jim, thanks and same to you! On Wed, Jan 1, 2020 at 11:19 PM Jim Lambert via use-livecode < use-livecode at lists.runrev.com> wrote: > Have a Happy LiveCode New Year! > > Jim Lambert > > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From tom at makeshyft.com Wed Jan 1 23:36:14 2020 From: tom at makeshyft.com (Tom Glod) Date: Wed, 1 Jan 2020 23:36:14 -0500 Subject: Happy 2020! In-Reply-To: References: Message-ID: And everyone else on the mailing list. Happy 2020!!! On Wed, Jan 1, 2020 at 11:35 PM Tom Glod wrote: > Hey Jim, thanks and same to you! > > On Wed, Jan 1, 2020 at 11:19 PM Jim Lambert via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Have a Happy LiveCode New Year! >> >> Jim Lambert >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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) > Office:226-706-9339 > Mobile:226-706-9793 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 From dev at digifilm.com Thu Jan 2 00:12:00 2020 From: dev at digifilm.com (dev) Date: Wed, 1 Jan 2020 21:12:00 -0800 Subject: Import SVG with Multi-Path and Two colors In-Reply-To: References: Message-ID: <508985F2-B77D-4848-97AE-BA20839B7DAF@digifilm.com> Aloha Swami, Does this work for you? ???????Code------------------ ???????????End-Code?????????? Cheers, Debdoot > On Dec 31, 2019, at 11:39 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > > I would like to import an SVG that has multiple paths and which two colors. Using Illustrator or Inkscape, merge compound path make them all the same color > > > > But the following SVG imports fine as an image in LC and has multiple colors. Granted they are all circles, but can't the above by turned into this format? > > > > > > > > > > > > > > > > > > > BR > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dev at digifilm.com Thu Jan 2 00:21:48 2020 From: dev at digifilm.com (dev) Date: Wed, 1 Jan 2020 21:21:48 -0800 Subject: Import SVG with Multi-Path and Two colors In-Reply-To: <508985F2-B77D-4848-97AE-BA20839B7DAF@digifilm.com> References: <508985F2-B77D-4848-97AE-BA20839B7DAF@digifilm.com> Message-ID: <717CCFEC-46E2-4618-868C-E44545666F7F@digifilm.com> Aloha Swami, Noticed a bit of garbage in the previous code. This one?s better. Cheers -dd ??????????? From bobsneidar at iotecdigital.com Thu Jan 2 12:04:02 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Jan 2020 17:04:02 +0000 Subject: Can't launch URL anymore Message-ID: <065B903D-B7E4-4682-8388-196874928D80@iotecdigital.com> Hi all. I have a Google Maps button that builds a URL of a goole map with the origin and destination. In the past this has worked on the Mac without issue. Now it is failing. I also noted that it is failing in terminal as well, but I am thinking that perhaps launch url is using the terminal to do it's thing, or else the same library that the terminal uses, which means it's a distinction without a difference. I'm using 10.14.6. All browsers have the issue (Firefix, Chrome, Safari.) Another user upgraded to 10.15 and does NOT have the issue! Any ideas? Bob S From ambassador at fourthworld.com Thu Jan 2 12:55:36 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 2 Jan 2020 09:55:36 -0800 Subject: Can't launch URL anymore In-Reply-To: <065B903D-B7E4-4682-8388-196874928D80@iotecdigital.com> References: <065B903D-B7E4-4682-8388-196874928D80@iotecdigital.com> Message-ID: <24418c4f-b2b6-23e7-6770-ebab3cf65a3b@fourthworld.com> Bob Sneidar wrote: > I have a Google Maps button that builds a URL of a goole map with the > origin and destination. In the past this has worked on the Mac without > issue. Now it is failing. I also noted that it is failing in terminal > as well, but I am thinking that perhaps launch url is using the > terminal to do it's thing, or else the same library that the terminal > uses, which means it's a distinction without a difference. > > I'm using 10.14.6. All browsers have the issue (Firefix, Chrome, > Safari.) Another user upgraded to 10.15 and does NOT have the issue! > > Any ideas? Does it fail when pasting the URL directly into a browser's address field? If so you've narrowed down the root cause. I've seen some articles about Google changing its auth requirements and pricing structure. Depending on what you're doing with the Maps API you may or may not be affected by those changes. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Thu Jan 2 15:12:15 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Jan 2020 20:12:15 +0000 Subject: Can't launch URL anymore In-Reply-To: <24418c4f-b2b6-23e7-6770-ebab3cf65a3b@fourthworld.com> References: <065B903D-B7E4-4682-8388-196874928D80@iotecdigital.com> <24418c4f-b2b6-23e7-6770-ebab3cf65a3b@fourthworld.com> Message-ID: <119B2BE2-B376-42A5-ADAB-8E6B6F6935E9@iotecdigital.com> No pasting the assembled URL works. And it also fails in other apps too. Not an LC issue. Bob S > On Jan 2, 2020, at 09:55 , Richard Gaskin via use-livecode wrote: > > Bob Sneidar wrote: > > > I have a Google Maps button that builds a URL of a goole map with the > > origin and destination. In the past this has worked on the Mac without > > issue. Now it is failing. I also noted that it is failing in terminal > > as well, but I am thinking that perhaps launch url is using the > > terminal to do it's thing, or else the same library that the terminal > > uses, which means it's a distinction without a difference. > > > > I'm using 10.14.6. All browsers have the issue (Firefix, Chrome, > > Safari.) Another user upgraded to 10.15 and does NOT have the issue! > > > > Any ideas? > > Does it fail when pasting the URL directly into a browser's address field? > > If so you've narrowed down the root cause. > > I've seen some articles about Google changing its auth requirements and pricing structure. Depending on what you're doing with the Maps API you may or may not be affected by those changes. > > -- > Richard Gaskin From brahma at hindu.org Thu Jan 2 15:51:24 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 2 Jan 2020 20:51:24 +0000 Subject: Import SVG with Multi-Path and Two colors In-Reply-To: <717CCFEC-46E2-4618-868C-E44545666F7F@digifilm.com> References: <508985F2-B77D-4848-97AE-BA20839B7DAF@digifilm.com> <717CCFEC-46E2-4618-868C-E44545666F7F@digifilm.com> Message-ID: <0683F1FD-6578-4D52-9E60-BA70886D179D@hindu.org> Sorry, that doesn?t work, I just get a white box I needed the background to be opaque and was trying to do that in SVG widget Anyway, I had my designer send another opaque version from the output from Sketch Now, using Image As Control --> Image File [choose below in a file:} it works. But it is not possibly to put this in the Path field, of the SVG icon. So, Mark W. has done some magic in the engine for Import As Control, that is not possible in LCB/SVG widget. This "image" will do the job. it is scales with no lossy pixels! home-colors Created with Sketch. Aloha Swami, Noticed a bit of garbage in the previous code. This one?s better. Cheers -dd From klaus at major-k.de Thu Jan 2 16:02:28 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 2 Jan 2020 22:02:28 +0100 Subject: Import SVG with Multi-Path and Two colors In-Reply-To: <0683F1FD-6578-4D52-9E60-BA70886D179D@hindu.org> References: <508985F2-B77D-4848-97AE-BA20839B7DAF@digifilm.com> <717CCFEC-46E2-4618-868C-E44545666F7F@digifilm.com> <0683F1FD-6578-4D52-9E60-BA70886D179D@hindu.org> Message-ID: Hi all, > Am 02.01.2020 um 21:51 schrieb Sannyasin Brahmanathaswami via use-livecode : > > ... > Now, using Image As Control --> Image File [choose below in a file:} > it works. But it is not possibly to put this in the Path field, of the SVG icon. > So, Mark W. has done some magic in the engine for Import As Control, that is not possible in LCB/SVG widget. > This "image" will do the job. it is scales with no lossy pixels! yes, very cool! After importing that SVG file, it IS in fact an image object and we can use it immediatley as an icon in a button. But that raises the (naive?) question: Why do we have to convert a SVG widget with "drawingSvgCompile" to be able to use a SVG as an Icon in a button? > > > > home-colors > Created with Sketch. > > > > > > > > > > > > > > > > > Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Thu Jan 2 19:50:17 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Jan 2020 00:50:17 +0000 Subject: Import SVG with Multi-Path and Two colors In-Reply-To: References: <508985F2-B77D-4848-97AE-BA20839B7DAF@digifilm.com> <717CCFEC-46E2-4618-868C-E44545666F7F@digifilm.com> <0683F1FD-6578-4D52-9E60-BA70886D179D@hindu.org> Message-ID: An even better questions is, why can't an imported image have a file path property as well as a button? This is really where the file path SHOULD be. Think of it. We import an image. We create a button. We tell the button to use the imported image as an icon. We then tell the BUTTON where the IMAGE file path is! Wha??? As I have moaned about before, this has the effect of delinking any buttons copied from one stack to the other. Even when the image is ALSO coied, it gets a new ID, so the button link breaks. This makes groups of objects very non-portable. It may be better for me to not use buttons, and just use images, but there are reasons why buttons are better. For one, a button can have a different image assigned for different states eg. enabled, disabled etc. I'll check the feature requests to see if this one has been put up. I am almost certain I have requested this in the past. Bob S > On Jan 2, 2020, at 13:02 , Klaus major-k via use-livecode wrote: > > Hi all, > >> Am 02.01.2020 um 21:51 schrieb Sannyasin Brahmanathaswami via use-livecode : >> >> ... >> Now, using Image As Control --> Image File [choose below in a file:} >> it works. But it is not possibly to put this in the Path field, of the SVG icon. >> So, Mark W. has done some magic in the engine for Import As Control, that is not possible in LCB/SVG widget. >> This "image" will do the job. it is scales with no lossy pixels! > > yes, very cool! > > After importing that SVG file, it IS in fact an image object and we can use > it immediatley as an icon in a button. > > But that raises the (naive?) question: > Why do we have to convert a SVG widget with "drawingSvgCompile" > to be able to use a SVG as an Icon in a button? From sundown at pacifier.com Fri Jan 3 13:19:20 2020 From: sundown at pacifier.com (JB) Date: Fri, 3 Jan 2020 10:19:20 -0800 Subject: empty variable Message-ID: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> What if I have secure info like a password stored in a local variable and then I clear that info by putting empty into that local variable. How secure is that procedure? I understand a local variable does not retain the info after the code finishes but I am concerned about any info left in memory. In the c language to clear the memory you set all of the blocks to null. That is because it is more secure than doing something like putting empty into the variable. So the question is when I put empty into a local variable I know when you access that variable it will return empty but if it has not been set to null then is it possible for someone to read the blocks of memory and get anything back. In c if you set all of the blocks to null and not just the first block then you have eliminated the chance of someone recovering the info. Is there a secure way to clear a variable in Livecode? JB From tom at makeshyft.com Fri Jan 3 13:55:42 2020 From: tom at makeshyft.com (Tom Glod) Date: Fri, 3 Jan 2020 13:55:42 -0500 Subject: empty variable In-Reply-To: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> References: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> Message-ID: A memory dump can reveal everything stored in memory for a particular process. the delete variable command is what you are looking for. https://livecode.fandom.com/wiki/Delete_variable On Fri, Jan 3, 2020 at 1:22 PM JB via use-livecode < use-livecode at lists.runrev.com> wrote: > What if I have secure info like a password stored > in a local variable and then I clear that info by > putting empty into that local variable. > > How secure is that procedure? I understand a > local variable does not retain the info after the > code finishes but I am concerned about any > info left in memory. > > In the c language to clear the memory you set > all of the blocks to null. That is because it is > more secure than doing something like putting > empty into the variable. > > So the question is when I put empty into a local > variable I know when you access that variable it > will return empty but if it has not been set to null > then is it possible for someone to read the blocks > of memory and get anything back. In c if you set > all of the blocks to null and not just the first block > then you have eliminated the chance of someone > recovering the info. Is there a secure way to clear > a variable in Livecode? > > JB > > > _______________________________________________ > use-livecode mailing list > use-livecode 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) Office:226-706-9339 Mobile:226-706-9793 From sundown at pacifier.com Fri Jan 3 14:04:02 2020 From: sundown at pacifier.com (JB) Date: Fri, 3 Jan 2020 11:04:02 -0800 Subject: empty variable In-Reply-To: References: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> Message-ID: Hi Tom, Thanks for the fast reply & info! That was an interesting link. Here are a few lines from the link, ---------- The delete variable command not only removes the contents of the variable, but deletes it entirely from memory. If you delete a key from an array variable, that element of the array no longer exists as part of the variable. Local variables that are used within a handler are automatically deleted when the handler in which they are used exits. You can't delete local or global variables, using delete you just put the value empty in them. ---------- So it sounds to me from the last line above that putting empty into the variable is secure. JB > On Jan 3, 2020, at 10:55 AM, Tom Glod via use-livecode wrote: > > A memory dump can reveal everything stored in memory for a particular > process. > > the delete variable command is what you are looking for. > > https://livecode.fandom.com/wiki/Delete_variable > > > > On Fri, Jan 3, 2020 at 1:22 PM JB via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> What if I have secure info like a password stored >> in a local variable and then I clear that info by >> putting empty into that local variable. >> >> How secure is that procedure? I understand a >> local variable does not retain the info after the >> code finishes but I am concerned about any >> info left in memory. >> >> In the c language to clear the memory you set >> all of the blocks to null. That is because it is >> more secure than doing something like putting >> empty into the variable. >> >> So the question is when I put empty into a local >> variable I know when you access that variable it >> will return empty but if it has not been set to null >> then is it possible for someone to read the blocks >> of memory and get anything back. In c if you set >> all of the blocks to null and not just the first block >> then you have eliminated the chance of someone >> recovering the info. Is there a secure way to clear >> a variable in Livecode? >> >> JB >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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) > Office:226-706-9339 > Mobile:226-706-9793 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 3 14:09:49 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Jan 2020 19:09:49 +0000 Subject: empty variable In-Reply-To: References: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> Message-ID: <3A9AE02F-364E-4519-98FE-A5A5AA3B22AC@iotecdigital.com> I'm not sure what this means. When you use delete variable on a script local, it clears the contents of the variable, but the variable still exists, that is if you can use the Script Editor variable watcher as any kind of irrefutable evidence. Bob S > On Jan 3, 2020, at 11:04 , JB via use-livecode wrote: > > You can't delete local or global variables, using delete you just put the value empty in them. > ---------- > > So it sounds to me from the last line above that putting empty into the variable is secure. > > JB From sundown at pacifier.com Fri Jan 3 14:11:35 2020 From: sundown at pacifier.com (JB) Date: Fri, 3 Jan 2020 11:11:35 -0800 Subject: empty variable In-Reply-To: <3A9AE02F-364E-4519-98FE-A5A5AA3B22AC@iotecdigital.com> References: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> <3A9AE02F-364E-4519-98FE-A5A5AA3B22AC@iotecdigital.com> Message-ID: <6FF0326B-55FB-449E-9F08-79C5C05A03BC@pacifier.com> Hi Bob, yeah, I am not sure exactly what it means either. Different ways of doing the same thing? JB > On Jan 3, 2020, at 11:09 AM, Bob Sneidar via use-livecode wrote: > > I'm not sure what this means. When you use delete variable on a script local, it clears the contents of the variable, but the variable still exists, that is if you can use the Script Editor variable watcher as any kind of irrefutable evidence. > > Bob S > > >> On Jan 3, 2020, at 11:04 , JB via use-livecode wrote: >> >> You can't delete local or global variables, using delete you just put the value empty in them. >> ---------- >> >> So it sounds to me from the last line above that putting empty into the variable is secure. >> >> JB > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 3 14:15:16 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Jan 2020 19:15:16 +0000 Subject: empty variable In-Reply-To: <6FF0326B-55FB-449E-9F08-79C5C05A03BC@pacifier.com> References: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> <3A9AE02F-364E-4519-98FE-A5A5AA3B22AC@iotecdigital.com> <6FF0326B-55FB-449E-9F08-79C5C05A03BC@pacifier.com> Message-ID: <8F53801D-09F6-476E-B24C-387B39D20689@iotecdigital.com> I think a memory dump and search of the contents is about the only thing you can do to be sure. Bob S > On Jan 3, 2020, at 11:11 , JB via use-livecode wrote: > > Hi Bob, > > yeah, I am not sure exactly what it means either. > Different ways of doing the same thing? > > JB From sundown at pacifier.com Fri Jan 3 14:27:16 2020 From: sundown at pacifier.com (JB) Date: Fri, 3 Jan 2020 11:27:16 -0800 Subject: empty variable In-Reply-To: <8F53801D-09F6-476E-B24C-387B39D20689@iotecdigital.com> References: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> <3A9AE02F-364E-4519-98FE-A5A5AA3B22AC@iotecdigital.com> <6FF0326B-55FB-449E-9F08-79C5C05A03BC@pacifier.com> <8F53801D-09F6-476E-B24C-387B39D20689@iotecdigital.com> Message-ID: Is there a easy way to do a memory dump in Livecode? Can I read the blocks of only memory for that variable? In c the blocks are a array numbered from 0 to the size of the variable which would be the length of the variable in Livecode and you can access individual blocks and that is how you write a null character to each block. If you need to dump all of the memory on your machine that might help but it would be better to dump only the memory you want to look at. Another thing to consider about dumping the memory is the result are not always predictable. If you did not write a null character to each block of that memory when you dump the memory it may not show up one time but will be there in another dump. That is why in c if you want to put empty into a variable you can set the first block to null and when you check the variable it will be empty but in a memory dump the memory may be empty and it may have some or all of the info in that block range except the first block which is the one you set to null. So the secure method you use bzero or a similar way to set every block to null. JB > On Jan 3, 2020, at 11:15 AM, Bob Sneidar via use-livecode wrote: > > I think a memory dump and search of the contents is about the only thing you can do to be sure. > > Bob S > > >> On Jan 3, 2020, at 11:11 , JB via use-livecode wrote: >> >> Hi Bob, >> >> yeah, I am not sure exactly what it means either. >> Different ways of doing the same thing? >> >> JB > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Fri Jan 3 14:58:07 2020 From: sundown at pacifier.com (JB) Date: Fri, 3 Jan 2020 11:58:07 -0800 Subject: empty variable In-Reply-To: <8F53801D-09F6-476E-B24C-387B39D20689@iotecdigital.com> References: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> <3A9AE02F-364E-4519-98FE-A5A5AA3B22AC@iotecdigital.com> <6FF0326B-55FB-449E-9F08-79C5C05A03BC@pacifier.com> <8F53801D-09F6-476E-B24C-387B39D20689@iotecdigital.com> Message-ID: I have it figured out. You use it to delete each element of the array and that is the same as writing null to each element of the variable. I think they mean if you do not delete each element using this method all you are doing is putting empty into the variable and that would be the same as if you only write a null to the first element of the array. In other words putting empty into the variable is not secure. JB > On Jan 3, 2020, at 11:15 AM, Bob Sneidar via use-livecode wrote: > > I think a memory dump and search of the contents is about the only thing you can do to be sure. > > Bob S > > >> On Jan 3, 2020, at 11:11 , JB via use-livecode wrote: >> >> Hi Bob, >> >> yeah, I am not sure exactly what it means either. >> Different ways of doing the same thing? >> >> JB > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 3 15:58:52 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Jan 2020 20:58:52 +0000 Subject: empty variable In-Reply-To: References: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> <3A9AE02F-364E-4519-98FE-A5A5AA3B22AC@iotecdigital.com> <6FF0326B-55FB-449E-9F08-79C5C05A03BC@pacifier.com> <8F53801D-09F6-476E-B24C-387B39D20689@iotecdigital.com> Message-ID: <646C09C8-1F9E-49EB-B420-6BB69D3BB8A7@iotecdigital.com> Well its really about what is going on under the hood. Memory dump for Macs is not trivial from what I read. Apparently it involves turning off system integrity and then booting into a special mode. At that point I stopped reading. Not something I care to do with a production system. Bob S > On Jan 3, 2020, at 11:58 , JB via use-livecode wrote: > > I have it figured out. > > You use it to delete each element of the array and > that is the same as writing null to each element of > the variable. > > I think they mean if you do not delete each element > using this method all you are doing is putting empty > into the variable and that would be the same as if > you only write a null to the first element of the array. > > In other words putting empty into the variable is not > secure. > > JB From bobsneidar at iotecdigital.com Fri Jan 3 16:02:45 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Jan 2020 21:02:45 +0000 Subject: empty variable In-Reply-To: <646C09C8-1F9E-49EB-B420-6BB69D3BB8A7@iotecdigital.com> References: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> <3A9AE02F-364E-4519-98FE-A5A5AA3B22AC@iotecdigital.com> <6FF0326B-55FB-449E-9F08-79C5C05A03BC@pacifier.com> <8F53801D-09F6-476E-B24C-387B39D20689@iotecdigital.com> <646C09C8-1F9E-49EB-B420-6BB69D3BB8A7@iotecdigital.com> Message-ID: <058BACC2-0419-4F34-8464-D824D788B808@iotecdigital.com> I was going to say also that unless the script was in a protected stack, it WOULD be very trivial to install Livecode, put a breakpoint just before where you delete the variable, then do a memory dump at that point. Bob S > On Jan 3, 2020, at 12:58 , Bob Sneidar via use-livecode wrote: > > Well its really about what is going on under the hood. Memory dump for Macs is not trivial from what I read. Apparently it involves turning off system integrity and then booting into a special mode. At that point I stopped reading. Not something I care to do with a production system. > > Bob S > > >> On Jan 3, 2020, at 11:58 , JB via use-livecode wrote: >> >> I have it figured out. >> >> You use it to delete each element of the array and >> that is the same as writing null to each element of >> the variable. >> >> I think they mean if you do not delete each element >> using this method all you are doing is putting empty >> into the variable and that would be the same as if >> you only write a null to the first element of the array. >> >> In other words putting empty into the variable is not >> secure. >> >> JB > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Fri Jan 3 16:05:15 2020 From: sundown at pacifier.com (JB) Date: Fri, 3 Jan 2020 13:05:15 -0800 Subject: empty variable In-Reply-To: <646C09C8-1F9E-49EB-B420-6BB69D3BB8A7@iotecdigital.com> References: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> <3A9AE02F-364E-4519-98FE-A5A5AA3B22AC@iotecdigital.com> <6FF0326B-55FB-449E-9F08-79C5C05A03BC@pacifier.com> <8F53801D-09F6-476E-B24C-387B39D20689@iotecdigital.com> <646C09C8-1F9E-49EB-B420-6BB69D3BB8A7@iotecdigital.com> Message-ID: <0FB55B9A-39C9-4037-8DE0-C9672BCD56A3@pacifier.com> It seems I really do not need to worry too much because if I understood it correctly the memory of the variable at the end of the execution of that code is not only released but it is also deleted. Since the variable I am concerned about is used at the end of the code it does not exist after I use it because the code is finished and the memory is automatically freed and deleted. JB > On Jan 3, 2020, at 12:58 PM, Bob Sneidar via use-livecode wrote: > > Well its really about what is going on under the hood. Memory dump for Macs is not trivial from what I read. Apparently it involves turning off system integrity and then booting into a special mode. At that point I stopped reading. Not something I care to do with a production system. > > Bob S > > >> On Jan 3, 2020, at 11:58 , JB via use-livecode wrote: >> >> I have it figured out. >> >> You use it to delete each element of the array and >> that is the same as writing null to each element of >> the variable. >> >> I think they mean if you do not delete each element >> using this method all you are doing is putting empty >> into the variable and that would be the same as if >> you only write a null to the first element of the array. >> >> In other words putting empty into the variable is not >> secure. >> >> JB > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Jan 3 16:29:11 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 3 Jan 2020 13:29:11 -0800 Subject: empty variable In-Reply-To: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> References: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> Message-ID: <1570b693-ef7d-8055-d791-83b0dbc68685@fourthworld.com> How does the password come into the variable? -- Richard Gaskin Fourth World Systems JB wrote: > What if I have secure info like a password stored > in a local variable and then I clear that info by > putting empty into that local variable. > > How secure is that procedure? I understand a > local variable does not retain the info after the > code finishes but I am concerned about any > info left in memory. > > In the c language to clear the memory you set > all of the blocks to null. That is because it is > more secure than doing something like putting > empty into the variable. > > So the question is when I put empty into a local > variable I know when you access that variable it > will return empty but if it has not been set to null > then is it possible for someone to read the blocks > of memory and get anything back. In c if you set > all of the blocks to null and not just the first block > then you have eliminated the chance of someone > recovering the info. Is there a secure way to clear > a variable in Livecode? > > JB From sundown at pacifier.com Fri Jan 3 16:36:19 2020 From: sundown at pacifier.com (JB) Date: Fri, 3 Jan 2020 13:36:19 -0800 Subject: empty variable In-Reply-To: <1570b693-ef7d-8055-d791-83b0dbc68685@fourthworld.com> References: <085C5D4A-FDE7-4C40-97DA-77D2DCC12353@pacifier.com> <1570b693-ef7d-8055-d791-83b0dbc68685@fourthworld.com> Message-ID: That is a very interesting question! If the user enters the password or did I hardcode a password so what follows can only be executed if it included the text I put into the variable. I am in this case hardcoding it in myself. This could be text that is encrypted but it is still there even before it is put into the variable and that means it is in memory. Any suggestions to make it as secure as possible? JB > On Jan 3, 2020, at 1:29 PM, Richard Gaskin via use-livecode wrote: > > How does the password come into the variable? > > -- > Richard Gaskin > Fourth World Systems > > JB wrote: >> What if I have secure info like a password stored >> in a local variable and then I clear that info by >> putting empty into that local variable. >> How secure is that procedure? I understand a >> local variable does not retain the info after the >> code finishes but I am concerned about any >> info left in memory. >> In the c language to clear the memory you set >> all of the blocks to null. That is because it is >> more secure than doing something like putting >> empty into the variable. >> So the question is when I put empty into a local >> variable I know when you access that variable it >> will return empty but if it has not been set to null >> then is it possible for someone to read the blocks >> of memory and get anything back. In c if you set >> all of the blocks to null and not just the first block >> then you have eliminated the chance of someone >> recovering the info. Is there a secure way to clear >> a variable in Livecode? >> JB > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Jan 3 16:59:19 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 3 Jan 2020 13:59:19 -0800 Subject: empty variable In-Reply-To: References: Message-ID: <176929df-a0ca-0c05-14b5-bced2b94345f@fourthworld.com> Inputs often pose a bigger risk than core dumps. Where you ask: "Any suggestions to make it as secure as possible?" ...we might instead ask: "Any suggestions to make it as secure as *practical*?" ...or even: "Any suggestions to make it as secure as *cost-effective*?" There are always ways to make things more secure. The hard part is defining an appropriate level of effort relative to the importance of the secret. Consider this scale of 1 to 5, in terms of how hard people work to keep things secret: 1. My app's reg code 2. A user-defined password 3. A user's social security number 4. Nuclear secrets 5. Trump's tax returns If it's #1 I wouldn't spend more than half an hour thinking about it, for so many reasons covered in this list before. #2 is worth spending some time on, but better hashed than encrypted. #3 or above will require an understanding of the system to provide useful guidance. -- Richard Gaskin Fourth World Systems JB wrote: > That is a very interesting question! > > If the user enters the password or did I hardcode a password > so what follows can only be executed if it included the text I > put into the variable. > > I am in this case hardcoding it in myself. This could be text > that is encrypted but it is still there even before it is put into > the variable and that means it is in memory. > > Any suggestions to make it as secure as possible? > > JB > > >> On Jan 3, 2020, at 1:29 PM, Richard Gaskin via use-livecode wrote: >> >> How does the password come into the variable? >> >> -- >> Richard Gaskin >> Fourth World Systems >> >> JB wrote: >>> What if I have secure info like a password stored >>> in a local variable and then I clear that info by >>> putting empty into that local variable. >>> How secure is that procedure? I understand a >>> local variable does not retain the info after the >>> code finishes but I am concerned about any >>> info left in memory. >>> In the c language to clear the memory you set >>> all of the blocks to null. That is because it is >>> more secure than doing something like putting >>> empty into the variable. >>> So the question is when I put empty into a local >>> variable I know when you access that variable it >>> will return empty but if it has not been set to null >>> then is it possible for someone to read the blocks >>> of memory and get anything back. In c if you set >>> all of the blocks to null and not just the first block >>> then you have eliminated the chance of someone >>> recovering the info. Is there a secure way to clear >>> a variable in Livecode? >>> JB >> From klaus at major-k.de Sun Jan 5 11:17:13 2020 From: klaus at major-k.de (Klaus major-k) Date: Sun, 5 Jan 2020 17:17:13 +0100 Subject: Display PDF on Android Message-ID: <35CA6E88-9C03-4F61-9149-E8D76CACC93A@major-k.de> Hi all, I just filed an enhancement request to give us a way to display (local) PFDs on Android! I think in 2020 it IS about time for this, especially since we will finally be able to "print to PDF" in LC 9.6! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Mon Jan 6 10:52:04 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Jan 2020 15:52:04 +0000 Subject: empty variable In-Reply-To: <176929df-a0ca-0c05-14b5-bced2b94345f@fourthworld.com> References: <176929df-a0ca-0c05-14b5-bced2b94345f@fourthworld.com> Message-ID: I agree. It's easy to imagine that one can acheive absolute security, but in practice it is impossible by nature. Just someone standing over your shoulder or putting a spy camera in place is all that would be needed. The idea then is to make it as difficult and impractical as possible given the resources you have. Bob S > On Jan 3, 2020, at 13:59 , Richard Gaskin via use-livecode wrote: > > Inputs often pose a bigger risk than core dumps. > > Where you ask: > "Any suggestions to make it as secure as possible?" > > ...we might instead ask: > "Any suggestions to make it as secure as *practical*?" > > ...or even: > "Any suggestions to make it as secure as *cost-effective*?" > > There are always ways to make things more secure. The hard part is defining an appropriate level of effort relative to the importance of the secret. > > Consider this scale of 1 to 5, in terms of how hard people work to keep things secret: > > 1. My app's reg code > 2. A user-defined password > 3. A user's social security number > 4. Nuclear secrets > 5. Trump's tax returns > > If it's #1 I wouldn't spend more than half an hour thinking about it, for so many reasons covered in this list before. > > #2 is worth spending some time on, but better hashed than encrypted. > > #3 or above will require an understanding of the system to provide useful guidance. > > -- > Richard Gaskin > Fourth World Systems From paul at researchware.com Mon Jan 6 11:02:09 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 6 Jan 2020 11:02:09 -0500 Subject: Display PDF on Android In-Reply-To: <35CA6E88-9C03-4F61-9149-E8D76CACC93A@major-k.de> References: <35CA6E88-9C03-4F61-9149-E8D76CACC93A@major-k.de> Message-ID: <081c64d1-1093-cd74-4f50-63d53dfd6721@researchware.com> I though the XPDF widget works on all platforms, including Android? You just need to have the appropriate licensed version of LC. Check with LiveCode, Ltd. On 1/5/2020 11:17 AM, Klaus major-k via use-livecode wrote: > Hi all, > > I just filed an enhancement request to give us a way to display (local) PFDs on Android! > > > I think in 2020 it IS about time for this, especially since we will finally be able to > "print to PDF" in LC 9.6! > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > 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 Mon Jan 6 11:28:13 2020 From: klaus at major-k.de (Klaus major-k) Date: Mon, 6 Jan 2020 17:28:13 +0100 Subject: Display PDF on Android In-Reply-To: <081c64d1-1093-cd74-4f50-63d53dfd6721@researchware.com> References: <35CA6E88-9C03-4F61-9149-E8D76CACC93A@major-k.de> <081c64d1-1093-cd74-4f50-63d53dfd6721@researchware.com> Message-ID: Hi Paul, > Am 06.01.2020 um 17:02 schrieb Paul Dupuis via use-livecode : > > I though the XPDF widget works on all platforms, including Android? It probably does, but see below... > You just need to have the appropriate licensed version of LC. Check with LiveCode, Ltd. This widget only comes with LC BUSINESS, not Indy! > On 1/5/2020 11:17 AM, Klaus major-k via use-livecode wrote: >> Hi all, >> >> I just filed an enhancement request to give us a way to display (local) PFDs on Android! >> >> >> I think in 2020 it IS about time for this, especially since we will finally be able to >> "print to PDF" in LC 9.6! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From paul at researchware.com Mon Jan 6 12:06:34 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 6 Jan 2020 12:06:34 -0500 Subject: Display PDF on Android In-Reply-To: References: <35CA6E88-9C03-4F61-9149-E8D76CACC93A@major-k.de> <081c64d1-1093-cd74-4f50-63d53dfd6721@researchware.com> Message-ID: On 1/6/2020 11:28 AM, Klaus major-k via use-livecode wrote: > > You just need to have the appropriate licensed version of LC. Check with LiveCode, Ltd. > This widget only comes with LC BUSINESS, not Indy! > > Okay, then this (https://quality.livecode.com/show_bug.cgi?id=22521) is not a really a technical enhancement request. I would expect LC to have to spend time reviewing the Bugzilla entry to then just make it as RESOLVED since XPDF widget is available for anyone who pays for it. Making this an technical enhancement request just doesn'tseem like the place for a licensing issue. You would just like the XPDF widget for a lower cost (Indy pricing vs Business pricing). That is entirely a licensing issue to discuss with LiveCode, LTD. Ask them for a discount or a special package or something. Not trying to be an A$$hole or anything, I just think you'd have more success negotiating some way you can afford to use the XPDF widget. From matthias_livecode_150811 at m-r-d.de Mon Jan 6 12:15:56 2020 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 6 Jan 2020 18:15:56 +0100 Subject: Display PDF on Android In-Reply-To: References: <35CA6E88-9C03-4F61-9149-E8D76CACC93A@major-k.de> <081c64d1-1093-cd74-4f50-63d53dfd6721@researchware.com> Message-ID: <307C1AFF-F3E7-420B-AB1F-BB50ECA0AA48@m-r-d.de> I don?t think that Klaus was just asking for himself, but for all developers with a lower license type than Business. As long as the Android Browser does not support displaying PDF files, i think that request is a legitimate one. But you are correct, that this is not a feature request. Matthias Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 06.01.2020 um 18:06 schrieb Paul Dupuis via use-livecode >: > > On 1/6/2020 11:28 AM, Klaus major-k via use-livecode wrote: >> >> You just need to have the appropriate licensed version of LC. Check with LiveCode, Ltd. >> This widget only comes with LC BUSINESS, not Indy! >> >> > > Okay, then this (https://quality.livecode.com/show_bug.cgi?id=22521 ) is not a really a technical enhancement request. > > I would expect LC to have to spend time reviewing the Bugzilla entry to then just make it as RESOLVED since XPDF widget is available for anyone who pays for it. Making this an technical enhancement request just doesn'tseem like the place for a licensing issue. > > You would just like the XPDF widget for a lower cost (Indy pricing vs Business pricing). That is entirely a licensing issue to discuss with LiveCode, LTD. Ask them for a discount or a special package or something. > > Not trying to be an A$$hole or anything, I just think you'd have more success negotiating some way you can afford to use the XPDF widget. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 6 12:17:23 2020 From: klaus at major-k.de (Klaus major-k) Date: Mon, 6 Jan 2020 18:17:23 +0100 Subject: Display PDF on Android In-Reply-To: References: <35CA6E88-9C03-4F61-9149-E8D76CACC93A@major-k.de> <081c64d1-1093-cd74-4f50-63d53dfd6721@researchware.com> Message-ID: <979F80B0-915B-4F3F-9D5C-3E8F873591BF@major-k.de> Hi Paul, > Am 06.01.2020 um 18:06 schrieb Paul Dupuis via use-livecode : > > On 1/6/2020 11:28 AM, Klaus major-k via use-livecode wrote: >> >> You just need to have the appropriate licensed version of LC. Check with LiveCode, Ltd. >> This widget only comes with LC BUSINESS, not Indy! > Okay, then this (https://quality.livecode.com/show_bug.cgi?id=22521) is not a really a technical enhancement request. OK, maybe, but the message should be clear. > I would expect LC to have to spend time reviewing the Bugzilla entry to then just make it as RESOLVED since XPDF widget is available for anyone who pays for it. Making this an technical enhancement request just doesn'tseem like the place for a licensing issue. > > You would just like the XPDF widget for a lower cost (Indy pricing vs Business pricing). That is entirely a licensing issue to discuss with LiveCode, LTD. Ask them for a discount or a special package or something. > > Not trying to be an A$$hole or anything, I just think you'd have more success negotiating some way you can afford to use the XPDF widget. I personally do not need this widget, I don't own any mobile device, be it a cellphone or table, and I am not developing for the mobile platform. :-) I am just interested in an adequate user experience for everyone using the mobile paltform! some of the folks I am mentoring actually need this. Right now some of them are maintaining two version of the app (HAVE TO!): One for iOS, where we can print to and display PDF with build-in means, but the Android version can not print to PDF, we need to use a PNG, same for displaying data. I don't this this does look very professional in 2020. And I think it is paradox that we can print to PDF on Android in LC 9.6 but still cannot display the generated PDF file! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From panos.merakos at livecode.com Mon Jan 6 12:18:41 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 6 Jan 2020 19:18:41 +0200 Subject: [ANN] This Week in LiveCode 207 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 #207 here: http://bit.ly/2tuYLkR This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From rdimola at evergreeninfo.net Mon Jan 6 12:24:12 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 6 Jan 2020 12:24:12 -0500 Subject: Display PDF on Android In-Reply-To: References: <35CA6E88-9C03-4F61-9149-E8D76CACC93A@major-k.de> <081c64d1-1093-cd74-4f50-63d53dfd6721@researchware.com> Message-ID: <006001d5c4b6$205bd980$61138c80$@net> Before the PDF Widget was available I used pdfjs(github) with the browser widget. It's a decent PDF viewer. It does not work directly in the IDE because one can't open local files on a desktop browser. This is NOT a restriction on Android so pdfjs works on mobile(including iOS). I used a local web server for testing in the IDE using pdfjs before the browser widget was released. The other problem is that the Android OS does not open PDFs natively. I see this as an Android not an LC issue. If you browse to a PDF in say... Chrome, the PDF is downloaded and then Android user must supply a PDF reader. In 2020 I find this ridicules. To get around this in LC one must intercept the PDF URL and download it to the local storage and the display using either pdfjs or the PDF Widget. Fun and Games! 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 Paul Dupuis via use-livecode Sent: Monday, January 06, 2020 12:07 PM To: use-livecode at lists.runrev.com Cc: Paul Dupuis Subject: Re: Display PDF on Android On 1/6/2020 11:28 AM, Klaus major-k via use-livecode wrote: > > You just need to have the appropriate licensed version of LC. Check with LiveCode, Ltd. > This widget only comes with LC BUSINESS, not Indy! > > Okay, then this (https://quality.livecode.com/show_bug.cgi?id=22521) is not a really a technical enhancement request. I would expect LC to have to spend time reviewing the Bugzilla entry to then just make it as RESOLVED since XPDF widget is available for anyone who pays for it. Making this an technical enhancement request just doesn'tseem like the place for a licensing issue. You would just like the XPDF widget for a lower cost (Indy pricing vs Business pricing). That is entirely a licensing issue to discuss with LiveCode, LTD. Ask them for a discount or a special package or something. Not trying to be an A$$hole or anything, I just think you'd have more success negotiating some way you can afford to use the XPDF widget. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Mon Jan 6 13:40:14 2020 From: sundown at pacifier.com (JB) Date: Mon, 6 Jan 2020 10:40:14 -0800 Subject: empty variable In-Reply-To: References: <176929df-a0ca-0c05-14b5-bced2b94345f@fourthworld.com> Message-ID: <4508FDDF-594C-4016-9B08-0890DF9B91BC@pacifier.com> One of the problems with #3 and above is the people who want your code will probably spend more money and time figuring out a way to steal the uncompiled code than they would spend trying to hack the code. And they most likely have a lot of corrupt connections and money to spend. JB > On Jan 6, 2020, at 7:52 AM, Bob Sneidar via use-livecode wrote: > > I agree. It's easy to imagine that one can acheive absolute security, but in practice it is impossible by nature. Just someone standing over your shoulder or putting a spy camera in place is all that would be needed. The idea then is to make it as difficult and impractical as possible given the resources you have. > > Bob S > > >> On Jan 3, 2020, at 13:59 , Richard Gaskin via use-livecode wrote: >> >> Inputs often pose a bigger risk than core dumps. >> >> Where you ask: >> "Any suggestions to make it as secure as possible?" >> >> ...we might instead ask: >> "Any suggestions to make it as secure as *practical*?" >> >> ...or even: >> "Any suggestions to make it as secure as *cost-effective*?" >> >> There are always ways to make things more secure. The hard part is defining an appropriate level of effort relative to the importance of the secret. >> >> Consider this scale of 1 to 5, in terms of how hard people work to keep things secret: >> >> 1. My app's reg code >> 2. A user-defined password >> 3. A user's social security number >> 4. Nuclear secrets >> 5. Trump's tax returns >> >> If it's #1 I wouldn't spend more than half an hour thinking about it, for so many reasons covered in this list before. >> >> #2 is worth spending some time on, but better hashed than encrypted. >> >> #3 or above will require an understanding of the system to provide useful guidance. >> >> -- >> Richard Gaskin >> Fourth World Systems > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Mon Jan 6 14:53:39 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Jan 2020 11:53:39 -0800 Subject: Display PDF on Android In-Reply-To: <006001d5c4b6$205bd980$61138c80$@net> References: <006001d5c4b6$205bd980$61138c80$@net> Message-ID: <80a5e761-0f0a-aafd-7c68-a0e5bb4916e4@fourthworld.com> Ralph DiMola wrote: > ...because one can't open local files on a desktop browser. Oh? Most browsers except Firefox won't execute JavaScript from local files, but PFDs open in Firefox and Chrome here just fine. -- 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 rdimola at evergreeninfo.net Mon Jan 6 15:57:38 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 6 Jan 2020 15:57:38 -0500 Subject: Display PDF on Android In-Reply-To: <80a5e761-0f0a-aafd-7c68-a0e5bb4916e4@fourthworld.com> References: <006001d5c4b6$205bd980$61138c80$@net> <80a5e761-0f0a-aafd-7c68-a0e5bb4916e4@fourthworld.com> Message-ID: <008201d5c4d3$f0e6aa90$d2b3ffb0$@net> Correct, I misspoke. Running the JavaScript is the limitation on most desktop browsers. The reason for setting up the local web server is to be able to test pdfjs in the IDE. The browser widget is a Chromium codebase. This way one can tweak pdfjs and test in the IDE before deploying to Android. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin via use-livecode Sent: Monday, January 06, 2020 2:54 PM To: use-livecode at lists.runrev.com Cc: Richard Gaskin Subject: Re: Display PDF on Android Ralph DiMola wrote: > ...because one can't open local files on a desktop browser. Oh? Most browsers except Firefox won't execute JavaScript from local files, but PFDs open in Firefox and Chrome here just fine. -- 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 bvlahos at mac.com Mon Jan 6 19:01:40 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 6 Jan 2020 16:01:40 -0800 Subject: LiveCode won't recognize my stack In-Reply-To: <8547edb2-7750-a945-469d-6f9d31d91dae@fourthworld.com> References: <84191B7C-AE47-4647-AAF2-B2815A7EACE8@mac.com> <8547edb2-7750-a945-469d-6f9d31d91dae@fourthworld.com> Message-ID: <280C4E53-9B38-4754-8164-CB37B2AC0BED@mac.com> Richard and Brian, I think you guys are on to something. The LiveCode open dialog filter is a different issue than actually being able to open the file as a stack. Thanks. For some reason my OpenStack handler in the Card script isn?t being triggered. This is causing a number of issues including failing to ?start using?? some library stacks and the one I reported here. I?m looking into that now. Thanks, Bill Vlahos > Have you tried addressing it via the full path? > > put the uProperty of stack ?/fullPathToFile/actualFileName? into tVar > > Thanks, > Brian > On Jan 1, 2020, at 4:48 PM, Richard Gaskin via use-livecode wrote: > > Bill Vlahos wrote: >> Richard, >> I?m running the different versions of LiveCode on the same Mac and looking at the same file so I don?t think the OS is affecting this. >> I?m just asking if there is a stack with the correct name and getting ?false? as the answer if using LC 9.5.1. >> If I ask for ?file? and not ?stack? then the result is ?true?. >> The path to the LicenseKey.IW file is correct at: /Volumes/HP c310w/InfoWallet 1.4/Info Files >> Here is the error message: >> Executing at 4:47:43 PM on Tuesday, December 31, 2019 >> Type: Chunk: can't find stack >> Object: stack '/Volumes/HP c310w/InfoWallet 1.4/Info Files/InfoWallet.app/Contents/MacOS/InfoWallet' >> Line Num: 26 >> Hint: populateFileList >> Comments: I think LC must have changed how they are validating ?stack? in version 8 compared to version 7. > > > Maybe, but if so it's happening in a way not even Mark Waddingham is aware of (see his earlier post), and in ways I've never seen (and I do some weird things with stack files). > > Most interesting here is that "is a file" returns true while "is a stack" returns false. > > Were both of those tests run in the standalone? MacOS changed some aspects of how apps are allowed to address contents of its internal bundle folders a while back, but I would be surprised if those come into play only when testing "is a stack" but not "is a file". > > Is the stack file openable in the IDE? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Jan 6 19:23:32 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Jan 2020 18:23:32 -0600 Subject: Start using font Message-ID: <16f7d629ba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The dictionary says that fonts can only be embedded on desktop apps but I have a dim memory we could do it on mobile too. Has anyone done that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Mon Jan 6 20:21:51 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 6 Jan 2020 20:21:51 -0500 Subject: Start using font In-Reply-To: <16f7d629ba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16f7d629ba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <009701d5c4f8$da46e370$8ed4aa50$@net> I have a folder "Fonts" that I include in the "copy files" pane of the standalone settings. I put my fonts there. I don't think that the folder name matters. The fonts are automatically available. 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 J. Landman Gay via use-livecode Sent: Monday, January 06, 2020 7:24 PM To: LiveCode Mailing List Cc: J. Landman Gay Subject: Start using font The dictionary says that fonts can only be embedded on desktop apps but I have a dim memory we could do it on mobile too. Has anyone done that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Jan 6 22:17:23 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 6 Jan 2020 21:17:23 -0600 Subject: Start using font In-Reply-To: <009701d5c4f8$da46e370$8ed4aa50$@net> References: <16f7d629ba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <009701d5c4f8$da46e370$8ed4aa50$@net> Message-ID: Thanks, I was hoping that was the case. So it's a dictionary error. Good. On 1/6/20 7:21 PM, Ralph DiMola via use-livecode wrote: > I have a folder "Fonts" that I include in the "copy files" pane of the > standalone settings. I put my fonts there. I don't think that the folder > name matters. The fonts are automatically available. > > 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 J. Landman Gay via use-livecode > Sent: Monday, January 06, 2020 7:24 PM > To: LiveCode Mailing List > Cc: J. Landman Gay > Subject: Start using font > > The dictionary says that fonts can only be embedded on desktop apps but I > have a dim memory we could do it on mobile too. Has anyone done that? > -- > 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 brahma at hindu.org Tue Jan 7 09:48:47 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 7 Jan 2020 14:48:47 +0000 Subject: Start using font In-Reply-To: References: <16f7d629ba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <009701d5c4f8$da46e370$8ed4aa50$@net> Message-ID: <6BD1F00C-0615-47ED-8687-C459172427AD@hindu.org> Does that you don't have to "code/script" to access the fonts? Just putting them there (copy files) makes them available? Thanks, I was hoping that was the case. So it's a dictionary error. Good. On 1/6/20 7:21 PM, Ralph DiMola via use-livecode wrote: > I have a folder "Fonts" that I include in the "copy files" pane of the > standalone settings. I put my fonts there. I don't think that the folder > name matters. The fonts are automatically available. From brahma at hindu.org Tue Jan 7 10:18:44 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 7 Jan 2020 15:18:44 +0000 Subject: Parent Group of the Target Message-ID: <633BAB22-C235-4C2D-A455-63C6CD169C20@hindu.org> I could have sworn we passed way before, but I can't find it anywhere on the list what is the most efficient was to get the name of the "Parent Group" of the target? Do we really have to parse this? widget id 67388 of group id 67392 of card id 8169 of stack "/Users/brahmanathaswami/Documents/_Siva-Siva-App/Siva-Siva-Portal.livecode" To get the name of "group id 67392" ? BR From dvglasgow at gmail.com Tue Jan 7 10:24:10 2020 From: dvglasgow at gmail.com (David V Glasgow) Date: Tue, 7 Jan 2020 15:24:10 +0000 Subject: Parent Group of the Target In-Reply-To: <633BAB22-C235-4C2D-A455-63C6CD169C20@hindu.org> References: <633BAB22-C235-4C2D-A455-63C6CD169C20@hindu.org> Message-ID: <8C6D8668-74E9-43DA-8621-C455C6DC9CF8@gmail.com> The wonderful ?Owner? is the property you?re after, I think. Hope that is useful. If it is, possibly my first time! Best wishes, David Glasgow > On 7 Jan 2020, at 3:18 pm, Sannyasin Brahmanathaswami via use-livecode wrote: > > I could have sworn we passed way before, but I can't find it anywhere on the list > > what is the most efficient was to get the name of the "Parent Group" of the target? > > Do we really have to parse this? > > widget id 67388 of group id 67392 of card id 8169 of stack "/Users/brahmanathaswami/Documents/_Siva-Siva-App/Siva-Siva-Portal.livecode" > > To get the name of "group id 67392" > > ? > > BR > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Tue Jan 7 10:25:47 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 7 Jan 2020 15:25:47 +0000 Subject: Parent Group of the Target In-Reply-To: <633BAB22-C235-4C2D-A455-63C6CD169C20@hindu.org> References: <633BAB22-C235-4C2D-A455-63C6CD169C20@hindu.org> Message-ID: BR, Try "the owner of the target". Or, the long id of the owner of the target. Hope that helps. -Dan ?On 1/7/20, 7:20 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: I could have sworn we passed way before, but I can't find it anywhere on the list what is the most efficient was to get the name of the "Parent Group" of the target? Do we really have to parse this? widget id 67388 of group id 67392 of card id 8169 of stack "/Users/brahmanathaswami/Documents/_Siva-Siva-App/Siva-Siva-Portal.livecode" To get the name of "group id 67392" ? BR _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From kaveh at rivervalleytechnologies.com Tue Jan 7 10:31:29 2020 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Tue, 7 Jan 2020 15:31:29 +0000 Subject: Parent Group of the Target In-Reply-To: References: <633BAB22-C235-4C2D-A455-63C6CD169C20@hindu.org> Message-ID: And for multiple groupings, .... the owner of the owner of the owner of.... On Tue, 7 Jan 2020 at 15:26, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > BR, > > Try "the owner of the target". Or, the long id of the owner of the > target. Hope that helps. > > -Dan > > > ?On 1/7/20, 7:20 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami > via use-livecode" use-livecode at lists.runrev.com> wrote: > > I could have sworn we passed way before, but I can't find it anywhere > on the list > > what is the most efficient was to get the name of the "Parent Group" > of the target? > > Do we really have to parse this? > > widget id 67388 of group id 67392 of card id 8169 of stack > "/Users/brahmanathaswami/Documents/_Siva-Siva-App/Siva-Siva-Portal.livecode" > > To get the name of "group id 67392" > > ? > > BR > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn From rdimola at evergreeninfo.net Tue Jan 7 11:13:14 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 7 Jan 2020 11:13:14 -0500 Subject: Start using font In-Reply-To: <6BD1F00C-0615-47ED-8687-C459172427AD@hindu.org> References: <16f7d629ba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <009701d5c4f8$da46e370$8ed4aa50$@net> <6BD1F00C-0615-47ED-8687-C459172427AD@hindu.org> Message-ID: <003301d5c575$61006900$23013b00$@net> Yes. There are some lingering font issues from the 1990's (unbelievable). Sometimes a font families are combined sometime not. And sometimes the name is slightly different. Here's a function to enumerate all fonts and their styles. function FontInfo local fnames,fstyles,tlist put the fontnames into fnames sort fnames repeat for each line tfnt in fnames put "*"&tfnt&cr after tlist put the fontstyles(tfnt,0) into fstyles repeat for each line tsty in fstyles put space & tsty & cr after tlist end repeat end repeat delete char -1 in tlist return tlist end FontInfo Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Sannyasin Brahmanathaswami via use-livecode Sent: Tuesday, January 07, 2020 9:49 AM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: Start using font Does that you don't have to "code/script" to access the fonts? Just putting them there (copy files) makes them available? Thanks, I was hoping that was the case. So it's a dictionary error. Good. On 1/6/20 7:21 PM, Ralph DiMola via use-livecode wrote: > I have a folder "Fonts" that I include in the "copy files" pane of the > standalone settings. I put my fonts there. I don't think that the > folder name matters. The fonts are automatically available. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Tue Jan 7 12:44:38 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 7 Jan 2020 17:44:38 +0000 Subject: Parent Group of the Target In-Reply-To: References: <633BAB22-C235-4C2D-A455-63C6CD169C20@hindu.org> Message-ID: aha! I was searching for "parent" Yes, "owner" is it. And for multiple groupings, .... the owner of the owner of the owner of.... From prothero at earthlearningsolutions.org Tue Jan 7 13:46:18 2020 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Tue, 7 Jan 2020 10:46:18 -0800 Subject: Parent Group of the Target In-Reply-To: References: Message-ID: <80C118D1-9278-4E66-8A29-55CED4F8587A@earthlearningsolutions.org> Folks, It would be very nice if there was a compilation of the various keywords and what each refers to. I know I?ve had to scratch my head to find words like the element, the target, the owner, the parent, etc. The names seem intuitive at some level, but each meaning is very specific and, for me at least, I wouldn?t think to call the group an object is in ?the owner?. Best, Bill William Prothero http://es.earthednet.org > On Jan 7, 2020, at 9:46 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > > ?aha! I was searching for "parent" Yes, "owner" is it. > > And for multiple groupings, > > .... the owner of the owner of the owner of.... > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Tue Jan 7 14:06:43 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 7 Jan 2020 19:06:43 +0000 Subject: Parent Group of the Target In-Reply-To: References: <633BAB22-C235-4C2D-A455-63C6CD169C20@hindu.org> Message-ID: <477E394A-CAED-4546-B75E-34C47DEDEE47@hindu.org> @Bill P. ditto that "if there was a compilation of the various keywords and what each refers to". on mouseup put the short name of the owner of the target # where all you want it the "immediate" owner and not the card, stack end mouseUp # that was easy! And for multiple groupings, .... the owner of the owner of the owner of.... I suppose we could create function that uses " of " as a delimiter and turn this in an array... @ Kaveh wrote multiple groupings... may be good for visualization:" the target the target's owner the owner of target's owner From m.schonewille at economy-x-talk.com Tue Jan 7 14:23:10 2020 From: m.schonewille at economy-x-talk.com (Drs Mark Schonewille) Date: Tue, 7 Jan 2020 20:23:10 +0100 Subject: Keep trying Message-ID: <23f4ec1b-7c0e-6149-8469-59a6b8d47a05@economy-x-talk.com> Trying to send a message from my (blocked?) IP address. -- Mark Schonewille Economy-x-Talk https://ecxtalk.nl https://www.nt2.nu Programming LiveCode for the Real Beginner http://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-real-beginner From m.schonewille at economy-x-talk.com Tue Jan 7 14:25:57 2020 From: m.schonewille at economy-x-talk.com (Drs Mark Schonewille) Date: Tue, 7 Jan 2020 20:25:57 +0100 Subject: Keep trying In-Reply-To: <23f4ec1b-7c0e-6149-8469-59a6b8d47a05@economy-x-talk.com> References: <23f4ec1b-7c0e-6149-8469-59a6b8d47a05@economy-x-talk.com> Message-ID: It worked :-) Sorry for the white noise. Mark Schonewille Economy-x-Talk https://ecxtalk.nl https://www.nt2.nu Programming LiveCode for the Real Beginner http://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-real-beginner Op 1/7/2020 om 8:23 PM schreef Drs Mark Schonewille via use-livecode: > Trying to send a message from my (blocked?) IP address. > From sean at pidigital.co.uk Tue Jan 7 16:00:58 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 7 Jan 2020 21:00:58 +0000 Subject: Keep trying In-Reply-To: References: Message-ID: <1BA7ACF6-EE39-4343-B610-A120F8132CF9@pidigital.co.uk> Forgiven :-D Sean Cole Pi Digital Prod Ltd > On 7 Jan 2020, at 19:25, Drs Mark Schonewille via use-livecode wrote: > > ?It worked :-) Sorry for the white noise. > > Mark Schonewille > Economy-x-Talk > https://ecxtalk.nl > https://www.nt2.nu > > Programming LiveCode for the Real Beginner > http://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-real-beginner > > Op 1/7/2020 om 8:23 PM schreef Drs Mark Schonewille via use-livecode: >> Trying to send a message from my (blocked?) IP address. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Jan 7 16:11:32 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 7 Jan 2020 16:11:32 -0500 Subject: Keep trying In-Reply-To: References: <23f4ec1b-7c0e-6149-8469-59a6b8d47a05@economy-x-talk.com> Message-ID: <005201d5c59f$0cb973d0$262c5b70$@net> Why didn't I get a trigger warning? 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 Drs Mark Schonewille via use-livecode Sent: Tuesday, January 07, 2020 2:26 PM To: Drs Mark Schonewille via use-livecode Cc: Drs Mark Schonewille Subject: Re: Keep trying It worked :-) Sorry for the white noise. Mark Schonewille Economy-x-Talk https://ecxtalk.nl https://www.nt2.nu Programming LiveCode for the Real Beginner http://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-re al-beginner Op 1/7/2020 om 8:23 PM schreef Drs Mark Schonewille via use-livecode: > Trying to send a message from my (blocked?) IP address. > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From livecode at pink.guru Tue Jan 7 21:25:07 2020 From: livecode at pink.guru (Greg (Pink) Miller) Date: Tue, 7 Jan 2020 21:25:07 -0500 Subject: Changing extention on script only stack Message-ID: I have a script only stack that is the behavior of a stack that i wish to compile. When I compile it for Windows, I have a .livecodescript file in the folder. Is it possible to change that extension to .lcs So far all the shots at this I've taken end up appending .livecode to the end. Can this be changed somewhere? From ambassador at fourthworld.com Tue Jan 7 21:41:08 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 7 Jan 2020 18:41:08 -0800 Subject: Changing extention on script only stack In-Reply-To: References: Message-ID: <05eadc3f-fe92-2c70-b8a1-67ff303a99ed@fourthworld.com> Greg (Pink) Miller wrote: > I have a script only stack that is the behavior of a stack that > i wish to compile. When I compile it for Windows, I have a .livecodescript file in the folder. Is it possible to change that > extension to .lcs > > So far all the shots at this I've taken end up appending .livecode to > the end. > > Can this be changed somewhere? In the file manager. But I'm guessing you knew that. So I'm guessing I don't understand the question. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Wed Jan 8 01:24:28 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Jan 2020 00:24:28 -0600 Subject: Start using font In-Reply-To: <009701d5c4f8$da46e370$8ed4aa50$@net> References: <16f7d629ba0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <009701d5c4f8$da46e370$8ed4aa50$@net> Message-ID: <53e66e4c-a98c-c0a3-c7fa-912f013be75b@hyperactivesw.com> I think I see where I got misguided. "Start using font" is for desktop. The fontnames dictionary entry explains how to include fonts in the Copy Files pane in standalone settings. So if the fonts are included in the build, I don't need to "start using", they're available automatically. Which makes me wonder why I'd ever need "start using" at all. On 1/6/20 7:21 PM, Ralph DiMola via use-livecode wrote: > I have a folder "Fonts" that I include in the "copy files" pane of the > standalone settings. I put my fonts there. I don't think that the folder > name matters. The fonts are automatically available. > > 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 J. Landman Gay via use-livecode > Sent: Monday, January 06, 2020 7:24 PM > To: LiveCode Mailing List > Cc: J. Landman Gay > Subject: Start using font > > The dictionary says that fonts can only be embedded on desktop apps but I > have a dim memory we could do it on mobile too. Has anyone done that? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | > http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From williamdesmet at gmail.com Wed Jan 8 06:07:26 2020 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 8 Jan 2020 12:07:26 +0100 Subject: Requirements for private distribution on Apple Business Manager? Message-ID: Hi there, Is it possible with an Indy License to publish apps that are 'Available for private distribution to specific organizations on Apple Business Manager' ? Any other requirements? greetings, William From livecode at pink.guru Wed Jan 8 10:50:58 2020 From: livecode at pink.guru (Greg (Pink) Miller) Date: Wed, 8 Jan 2020 10:50:58 -0500 Subject: Changing extention on script only stack Message-ID: I have my main stack "PanelManager.livecode" with a behavior script with a file name "panamana.lcs" Upon compiling for Windows, the script file gets included in the folder with the program but is renamed "panamana.lcs.livecode" I would prefer not to have ".livecode" appended onto it. > I have a script only stack that is the behavior of a stack that > i wish to compile. When I compile it for Windows, I have a .livecodescript file in the folder. Is it possible to change that > extension to .lcs > > So far all the shots at this I've taken end up appending .livecode to > the end. > > Can this be changed somewhere? In the file manager. But I'm guessing you knew that. So I'm guessing I don't understand the question. -- From livecode at pink.guru Wed Jan 8 10:54:49 2020 From: livecode at pink.guru (Greg (Pink) Miller) Date: Wed, 8 Jan 2020 10:54:49 -0500 Subject: Mad Pink's Ultra Deluxe Control Panel Uber-Widget Message-ID: I've been meaning to share this with the community for a while, but life and work have been getting in the way. I haven't been able to work on it in a while I've been working on this widget for a while and it needs more work and testing. Actually, this started off as a group of individual widgets, but there was so much code overlap among them I decided to combine into one. There are a number of fixes I still need to take care of and a number of features I am still planning on adding. I am, however, already adding it to programs with success. Going forward, I am working hard not to make property or control changes that will break existing implementations (as we've all done in the past), I already have a few systems in place to prevent property calamities, so feel free to stat using if you like it. Releasing under CC BY-SA 4.0 license. This widget is a panel which can hold a variety of different kinds of controls, each individually customizable. Any number of controls can be added to the panel. Control types to date are: -Button bar/grid: groups of buttons that can be used as action buttons (posting a message), single selects (like radio buttons) or multiple selects (similar to checkboxes) -Button wheel: circular wheel with buttons and capabilities similar to the button bar -Switches: clicks a value true or false, animation pending, currently just looks like a checkbox -Sliders: you know, they slide and change a value -Progress bars: essentially sliders with a handle to grasp -Dialog/text box: one of those pesky little text displays telling you stuff -Numeric Up/Down Adjusters: a value with 2 buttons that increment or decrement said value There are default properties for each control that will be used, however each control (e.g. button, switch etc..) can be configured with its own colors, icons, fonts and such. Other features: -"Bottom buttons" (a group of up to 3 buttons at the bottom of the widget which can be used for "OK," "Cancel," and "Reset" type features. These buttons post a message to be scripted by the user) -Form backdrop (essentially a set of labels on which you can add fields) -Overlay mode (draws a box of a set size and then the rest of the widget is transparent/translucent... when stretched across the entire card it forces user input before anything else can be touched) -Controls, color schemes and properties can be saved and loaded as "sets" to allow one widget to quickly change what controls you are viewing -SVG paths can be stored for use in controls There are a plethora of other things I am working to add and enhance including: -allowing for a mix of control types in the same panel -control pages with tabs to navigate through them -Output display box, which can present some form of text, number, calculation etc.. when there is interaction on the control panel -need to find ways to optimize the code some more, especially in redrawing The widget can be found here: https://github.com/madpink/mp-livecode-controls In addition to the source code, I have a packaged extension file and added a "Control Test" stack which I've found helpful for trying to break things. There is a wiki with instructions which I would also love feedback on. I've already got a list of issues piling up as you will see. I have a planning board that is full of my own idiosyncrasies and may not be intelligible to normal people, so view at your own risk. So far I have only tested this widget in MacOS and Windows applications, I have not tried it out in Linux, Android or iOS apps. You can find my https://madpink.plutio.com/p/sgjnnwx7q7etcwpfg From bobsneidar at iotecdigital.com Wed Jan 8 10:57:34 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Jan 2020 15:57:34 +0000 Subject: Changing extention on script only stack In-Reply-To: References: Message-ID: <554CAFEB-2333-4B64-BAF7-157AC9EA1155@iotecdigital.com> Get the properties of the file and change them there. The issue is that you have extensions hidden so Windows always assumes you want the default extension appended to whatever you type. In the MacOS it asks you if you want to change the dot extension. Bob S > On Jan 7, 2020, at 18:25 , Greg (Pink) Miller via use-livecode wrote: > > I have a script only stack that is the behavior of a stack that i wish to > compile. When I compile it for Windows, I have a .livecodescript file in > the folder. Is it possible to change that extension to .lcs > > So far all the shots at this I've taken end up appending .livecode to the > end. > > Can this be changed somewhere? From brian at milby7.com Wed Jan 8 10:58:03 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 8 Jan 2020 10:58:03 -0500 Subject: Changing extention on script only stack In-Reply-To: References: Message-ID: <2be7fe3b-4142-46b7-af5a-7338c6db69c5@Spark> One option to eliminate the external file altogether would be to make it a substack prior to building. Thanks, Brian On Jan 8, 2020, 10:52 AM -0500, Greg (Pink) Miller via use-livecode , wrote: > I have my main stack "PanelManager.livecode" with a behavior script with a > file name "panamana.lcs" > > Upon compiling for Windows, the script file gets included in the folder > with the program but is renamed "panamana.lcs.livecode" > > I would prefer not to have ".livecode" appended onto it. > > > I have a script only stack that is the behavior of a stack that > > i wish to compile. When I compile it for Windows, I have a > .livecodescript file in the folder. Is it possible to change that > > extension to .lcs > > > > So far all the shots at this I've taken end up appending .livecode to > > the end. > > > > Can this be changed somewhere? > > In the file manager. But I'm guessing you knew that. So I'm guessing I > don't understand the question. > > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From thatkeith at mac.com Wed Jan 8 13:09:23 2020 From: thatkeith at mac.com (Keith Martin) Date: Wed, 8 Jan 2020 18:09:23 +0000 Subject: Start using font In-Reply-To: <53e66e4c-a98c-c0a3-c7fa-912f013be75b@hyperactivesw.com> References: <53e66e4c-a98c-c0a3-c7fa-912f013be75b@hyperactivesw.com> Message-ID: <2CE19122-423A-4834-9F5B-CD5EFCA27806@mac.com> Personally, I?ve used it to make a font management tool for dealing with large font libraries. It?s not something ?fit for prime time? as it looks abysmal at the moment but it works. :) Keith Keith Martin Senior Lecturer, LCC (University of the Arts London) 360 media specialist http://PanoramaPhotographer.com Contact and info http://thatkeith.com +44 (0)7909541365 > On 8 Jan 2020, at 06:25, J. Landman Gay via use-livecode wrote: > > ?I think I see where I got misguided. "Start using font" is for desktop. The fontnames dictionary entry explains how to include fonts in the Copy Files pane in standalone settings. So if the fonts are included in the build, I don't need to "start using", they're available automatically. > > Which makes me wonder why I'd ever need "start using" at all. > >> On 1/6/20 7:21 PM, Ralph DiMola via use-livecode wrote: >> I have a folder "Fonts" that I include in the "copy files" pane of the >> standalone settings. I put my fonts there. I don't think that the folder >> name matters. The fonts are automatically available. >> 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 J. Landman Gay via use-livecode >> Sent: Monday, January 06, 2020 7:24 PM >> To: LiveCode Mailing List >> Cc: J. Landman Gay >> Subject: Start using font >> The dictionary says that fonts can only be embedded on desktop apps but I >> have a dim memory we could do it on mobile too. Has anyone done that? >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | >> http://www.hyperactivesw.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Jan 8 13:26:53 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 8 Jan 2020 10:26:53 -0800 Subject: Changing extention on script only stack In-Reply-To: <2be7fe3b-4142-46b7-af5a-7338c6db69c5@Spark> References: <2be7fe3b-4142-46b7-af5a-7338c6db69c5@Spark> Message-ID: On 1/8/20 7:58 AM, Brian Milby via use-livecode wrote: > One option to eliminate the external file altogether would be to make it a substack prior to building. I have a PR in progress to allow script-only stacks to be substacks. It's currently partially working. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Jan 8 13:37:37 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Jan 2020 12:37:37 -0600 Subject: Changing extention on script only stack In-Reply-To: References: <2be7fe3b-4142-46b7-af5a-7338c6db69c5@Spark> Message-ID: <16f86723408.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Is there a reason not to just put the script into a button and set the stack behavior to that? That's what I do when I don't want extra files in my build. Sometimes the old ways are best. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 8, 2020 12:28:44 PM Mark Wieder via use-livecode wrote: > On 1/8/20 7:58 AM, Brian Milby via use-livecode wrote: >> One option to eliminate the external file altogether would be to make it a >> substack prior to building. > > I have a PR in progress to allow script-only stacks to be substacks. > It's currently partially working. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Wed Jan 8 14:17:43 2020 From: mkoob at rogers.com (Martin Koob) Date: Wed, 8 Jan 2020 14:17:43 -0500 Subject: Mad Pink's Ultra Deluxe Control Panel Uber-Widget In-Reply-To: References: Message-ID: Hi Greg This sounds great! It could be something I could use so I wanted to try it out. I downloaded the files and tried to install the packaged widget pink.mad.controlpanelbeta.0.9.57.lce It appeared to be installed in the tools palette but I can?t drag the widget to a stack nor install it with the menu item Object > New Widget > MPUberControlPanel? I tried the stack ?Control Test? to see if that would load the widget or give an error saying it can?t find the widget. The stack opened but clicking on the buttons on the left side of the stack only seem to open the script editor. Perhaps I have not installed this correctly. Are there other files that have to be installed or included? Thanks Martin > On Jan 8, 2020, at 10:54 AM, Greg (Pink) Miller via use-livecode wrote: > > The widget can be found here: > https://github.com/madpink/mp-livecode-controls > > In addition to the source code, I have a packaged extension file and added > a "Control Test" stack which I've found helpful for trying to break things. From bobsneidar at iotecdigital.com Wed Jan 8 14:46:48 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Jan 2020 19:46:48 +0000 Subject: Changing extention on script only stack In-Reply-To: <16f86723408.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <2be7fe3b-4142-46b7-af5a-7338c6db69c5@Spark> <16f86723408.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: +1 from an old guy. :-) Bob S > On Jan 8, 2020, at 10:37 , J. Landman Gay via use-livecode wrote: > > Is there a reason not to just put the script into a button and set the stack behavior to that? That's what I do when I don't want extra files in my build. > > Sometimes the old ways are best. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From livecode at pink.guru Wed Jan 8 14:58:05 2020 From: livecode at pink.guru (Greg (Pink) Miller) Date: Wed, 8 Jan 2020 14:58:05 -0500 Subject: Mad Pink's Ultra Deluxe Control Panel Uber-Widget In-Reply-To: References: Message-ID: > > That is interesting. I use PowerTools instead of the built-in tool bar so > I had never noticed that. (It works with PowerTools, a highly recommended > plugin.) When I switch to the built-in toolbar, it does not drag over. For > me, going through the New Widget menu did work on both Mac and Windoze. > > The ControlTester stack is used in conjunction with the extension builder. > It looks for and configures the widget from the builder's test window. (I > should probably write that in somewhere). > > I added a stack "Test After Installation.livecode" to Github which > contains the widget, and has the same name as the builder test window, so > it will work in conjunction with ControlTester for tinkering. Please let me > know if that doesn't work in the meantime while I try and figure out the > rest. > > Does anyone know why a widget wouldn't be draggable onto a stack from the > toolbar? > > On Wed, Jan 8, 2020 at 2:17 PM Martin Koob > wrote: > >> Hi Greg >> >> This sounds great! It could be something I could use so I wanted to >> try it out. I downloaded the files and tried to install the packaged widget >> pink.mad.controlpanelbeta.0.9.57.lce >> >> It appeared to be installed in the tools palette but I can?t drag the >> widget to a stack nor install it with the menu item Object > New Widget > >> MPUberControlPanel? >> >> I tried the stack ?Control Test? to see if that would load the widget or >> give an error saying it can?t find the widget. The stack opened but >> clicking on the buttons on the left side of the stack only seem to open the >> script editor. >> >> Perhaps I have not installed this correctly. Are there other files that >> have to be installed or included? >> >> >> Thanks >> >> Martin >> >> >> >> >> > From livecode at pink.guru Wed Jan 8 15:16:30 2020 From: livecode at pink.guru (Greg (Pink) Miller) Date: Wed, 8 Jan 2020 15:16:30 -0500 Subject: Changing extention on script only stack In-Reply-To: <16f86723408.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <2be7fe3b-4142-46b7-af5a-7338c6db69c5@Spark> <16f86723408.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I could just copy the script into the stack script at build time, but I was hoping not to. Here's the story... this particular program is being developed on a painfully old and slow machine. Livecode's script editor works horribly on this machine, there is a horrible lag in typing and cutting, copying and pasting are at best hit or miss. Using an external program to edit the main script is the only productive way to edit. I was hoping not to have to switch around too much at compile time, especially if I have to undo it when going back to editing. Being able to change the extension for script in the built version would be the best option. On Wed, Jan 8, 2020 at 1:37 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Is there a reason not to just put the script into a button and set the > stack behavior to that? That's what I do when I don't want extra files in > my build. > > Sometimes the old ways are best. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 8, 2020 12:28:44 PM Mark Wieder via use-livecode > wrote: > > > On 1/8/20 7:58 AM, Brian Milby via use-livecode wrote: > >> One option to eliminate the external file altogether would be to make > it a > >> substack prior to building. > > > > I have a PR in progress to allow script-only stacks to be substacks. > > It's currently partially working. > > > > -- > > Mark Wieder > > ahsoftware at gmail.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mail at richard-hillen.de Wed Jan 8 15:54:58 2020 From: mail at richard-hillen.de (Hillen Richard) Date: Wed, 8 Jan 2020 21:54:58 +0100 Subject: Livecode 9.5, BrowserWidget, Community Edition Message-ID: <0B98DADC-842E-410A-934E-9D4747E0AB5C@richard-hillen.de> Hello, I want to show a .pdf with url httpAdress, so I got a fresh widget named ?Browser? and did a button with the script on mouseup put "https://programmausdruck.br.de/radio/br-klassik/programmkalender/br-klassik120.jsp?day=2020-01-09" into httpAdress set the url of widget "Browser" to httpAdress end mouseup After mouseup download starts, stops, but nothing is to see in the browser window. Why? May you help? Thank you, Richard. From klaus at major-k.de Wed Jan 8 16:04:38 2020 From: klaus at major-k.de (Klaus major-k) Date: Wed, 8 Jan 2020 22:04:38 +0100 Subject: Livecode 9.5, BrowserWidget, Community Edition In-Reply-To: <0B98DADC-842E-410A-934E-9D4747E0AB5C@richard-hillen.de> References: <0B98DADC-842E-410A-934E-9D4747E0AB5C@richard-hillen.de> Message-ID: Hi Richard, > Am 08.01.2020 um 21:54 schrieb Hillen Richard via use-livecode : > > Hello, > > I want to show a .pdf with url httpAdress, so I got a fresh widget named ?Browser? and did a button with the script > on mouseup > put "https://programmausdruck.br.de/radio/br-klassik/programmkalender/br-klassik120.jsp?day=2020-01-09" into httpAdress > set the url of widget "Browser" to httpAdress > end mouseup > After mouseup download starts, stops, but nothing is to see in the browser window. Why? > May you help? just tested the script with LC 9.5.1 (Indy) on my Mac and works as exspected: BR-Klassik - das Programm ... > Thank you, > Richard. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Wed Jan 8 16:26:58 2020 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 8 Jan 2020 22:26:58 +0100 Subject: Livecode 9.5, BrowserWidget, Community Edition In-Reply-To: <0B98DADC-842E-410A-934E-9D4747E0AB5C@richard-hillen.de> References: <0B98DADC-842E-410A-934E-9D4747E0AB5C@richard-hillen.de> Message-ID: Richard, I can confirm it here. Tried with LC 9.5.1 and 9.6.0 DP1 Business on Mac and i also do not see anything. But here it get?s even worse. As it seems the PDF is created on the fly in your link i tried to use "existing" PDFs. If i use an URL which links to a local file on my hard disk or to an existing PDF on a webserver then LC even crashes here completely. Tried with LC 8.1.7. With 8.1.7 your URL and also my local and remote URL work. So here at least i have a problem with LC 9.5x and 9.6.x Tried again after deleting my preference file but this does not solve it for 9.5/9.6. Hm....? Matthias Matthias Rebbe free tools for Livecoders: InstaMaker WinSignMaker Mac > Am 08.01.2020 um 21:54 schrieb Hillen Richard via use-livecode >: > > Hello, > > I want to show a .pdf with url httpAdress, so I got a fresh widget named ?Browser? and did a button with the script > > on mouseup > > put "https://programmausdruck.br.de/radio/br-klassik/programmkalender/br-klassik120.jsp?day=2020-01-09 " into httpAdress > > set the url of widget "Browser" to httpAdress > > end mouseup > > > After mouseup download starts, stops, but nothing is to see in the browser window. Why? > > May you help? > > Thank you, > Richard. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 8 18:33:31 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Jan 2020 17:33:31 -0600 Subject: Changing extention on script only stack In-Reply-To: References: <2be7fe3b-4142-46b7-af5a-7338c6db69c5@Spark> <16f86723408.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4584ce3e-67cf-9ba8-9244-e730c55ea1ee@hyperactivesw.com> Aha. You old edge-case, you. :) On 1/8/20 2:16 PM, Greg (Pink) Miller via use-livecode wrote: > I could just copy the script into the stack script at build time, but I was > hoping not to. > > Here's the story... this particular program is being developed on a > painfully old and slow machine. Livecode's script editor works horribly on > this machine, there is a horrible lag in typing and cutting, copying and > pasting are at best hit or miss. Using an external program to edit the main > script is the only productive way to edit. I was hoping not to have to > switch around too much at compile time, especially if I have to undo it > when going back to editing. > > Being able to change the extension for script in the built version would be > the best option. > > On Wed, Jan 8, 2020 at 1:37 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Is there a reason not to just put the script into a button and set the >> stack behavior to that? That's what I do when I don't want extra files in >> my build. >> >> Sometimes the old ways are best. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On January 8, 2020 12:28:44 PM Mark Wieder via use-livecode >> wrote: >> >>> On 1/8/20 7:58 AM, Brian Milby via use-livecode wrote: >>>> One option to eliminate the external file altogether would be to make >> it a >>>> substack prior to building. >>> >>> I have a PR in progress to allow script-only stacks to be substacks. >>> It's currently partially working. >>> >>> -- >>> Mark Wieder >>> ahsoftware at gmail.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mkoob at rogers.com Thu Jan 9 15:00:55 2020 From: mkoob at rogers.com (Martin Koob) Date: Thu, 9 Jan 2020 15:00:55 -0500 Subject: Mad Pink's Ultra Deluxe Control Panel Uber-Widget In-Reply-To: References: Message-ID: Hi Greg Thanks for the tester stack. Once I opened that then I could place widgets using the object menu > New Widget > MPUberControlPanel. I still can?t drag the icon from the built in tools palette to a stack yet. ( I have not tried with Power tools but thanks for that tip. I am going to try it out.) I have been poking around trying to figure out how it works. I am interested in the ?mixed controls? option with buttons sliders etc. to create a horizontal tool bar. I created a control with 5 columns and 5 controls but it seems that current all controls have to be the same size. Are you thinking of have a width key in the Controls array so you could set some controls as wider i.e. a slider would be wider than a button. I was trying to set the controls in the toolbar to have different icons with some success. But entering the name of a different icon in the control?s array can result in syntax errors and the controls disappearing. I know this is in beta state. If I have time at some point to poke around more I will see if I can create with this widget. Thanks for your work on this. Regards, Martin Koob > On Jan 8, 2020, at 2:58 PM, Greg (Pink) Miller via use-livecode wrote: > >> I added a stack "Test After Installation.livecode" to Github which >> contains the widget, and has the same name as the builder test window, so >> it will work in conjunction with ControlTester for tinkering. Please let me >> know if that doesn't work in the meantime while I try and figure out the >> rest. From livecode at pink.guru Thu Jan 9 16:36:25 2020 From: livecode at pink.guru (Greg (Pink) Miller) Date: Thu, 9 Jan 2020 16:36:25 -0500 Subject: Mad Pink's Ultra Deluxe Control Panel Uber-Widget In-Reply-To: References: Message-ID: the mixed control set is most definitely still in progress... even when configured correctly it has bugs in the way user input works I hadn't thought of a width property, but it's a good idea if you can give me a step by step of how you got errors with the icons, it would be helpful THANKS! On Thu, Jan 9, 2020 at 3:00 PM Martin Koob via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Greg > > Thanks for the tester stack. Once I opened that then I could place > widgets using the object menu > New Widget > MPUberControlPanel. > > I still can?t drag the icon from the built in tools palette to a stack > yet. ( I have not tried with Power tools but thanks for that tip. I am > going to try it out.) > > I have been poking around trying to figure out how it works. I am > interested in the ?mixed controls? option with buttons sliders etc. to > create a horizontal tool bar. I created a control with 5 columns and 5 > controls but it seems that current all controls have to be the same size. > Are you thinking of have a width key in the Controls array so you could > set some controls as wider i.e. a slider would be wider than a button. > > I was trying to set the controls in the toolbar to have different icons > with some success. But entering the name of a different icon in the > control?s array can result in syntax errors and the controls disappearing. > I know this is in beta state. If I have time at some point to poke around > more I will see if I can create with this widget. > > Thanks for your work on this. > > Regards, > > Martin Koob > > > > > > > On Jan 8, 2020, at 2:58 PM, Greg (Pink) Miller via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > >> I added a stack "Test After Installation.livecode" to Github which > >> contains the widget, and has the same name as the builder test window, > so > >> it will work in conjunction with ControlTester for tinkering. Please > let me > >> know if that doesn't work in the meantime while I try and figure out the > >> rest. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 10 14:35:59 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Jan 2020 20:35:59 +0100 Subject: Littel Arrows Message-ID: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> Hi friends, with "Litte Arrows" when you click the LOWER arrow, the "scrollbarLineInc" is sent. When you click the UPPER arrow, then the "scrollbarLineDec" message is sent. Does not seem logical to me. Shouldn't that be vice versa? Any insight appreciated, thank you! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From sundown at pacifier.com Fri Jan 10 14:39:44 2020 From: sundown at pacifier.com (JB) Date: Fri, 10 Jan 2020 11:39:44 -0800 Subject: Littel Arrows In-Reply-To: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> Message-ID: <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> I am not using the same version as you so I cannot see the arrows but when I consider a text field with a lower and upper arrow my first though is if I click the lower arrow it will increment the lines in the text field and if I click the upper arrow it will decrement the lines in the text field. Like I said I cannot see your arrows so this logic may be illogical in the situation you are using. JB > On Jan 10, 2020, at 11:35 AM, Klaus major-k via use-livecode wrote: > > Hi friends, > > with "Litte Arrows" when you click the LOWER arrow, > the "scrollbarLineInc" is sent. > > When you click the UPPER arrow, then the "scrollbarLineDec" > message is sent. > > Does not seem logical to me. Shouldn't that be vice versa? > > Any insight appreciated, thank you! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > 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 Jan 10 14:47:31 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Jan 2020 20:47:31 +0100 Subject: Littel Arrows In-Reply-To: <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> Message-ID: Hi JB, > Am 10.01.2020 um 20:39 schrieb JB via use-livecode : > > I am not using the same version as you so I cannot see > the arrows ??? This has been the case since version 1! > but when I consider a text field with a lower > and upper arrow my first though is if I click the lower > arrow it will increment the lines in the text field and if > I click the upper arrow it will decrement the lines in the > text field. Check the Inspector of any scrollbar to see a working example of what I mean. > Like I said I cannot see your arrows so this logic may > be illogical in the situation you are using. > > JB Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From sundown at pacifier.com Fri Jan 10 14:58:28 2020 From: sundown at pacifier.com (JB) Date: Fri, 10 Jan 2020 11:58:28 -0800 Subject: Littel Arrows In-Reply-To: References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> Message-ID: Hi Klaus, I just checked the little arrow scrollbar in version 4.6. If I add a field and then I add a little arrow scrollbar on the right side to advance through the text then my first thought is to click on the lower arrow to advance the lines of text and the upper arrow to move the lines of text towards line one. I must be confused on what you are saying so if it is not the same for you just ignore my response. Sorry about that. JB > On Jan 10, 2020, at 11:47 AM, Klaus major-k via use-livecode wrote: > > Hi JB, > >> Am 10.01.2020 um 20:39 schrieb JB via use-livecode : >> >> I am not using the same version as you so I cannot see >> the arrows > > ??? > > This has been the case since version 1! > >> but when I consider a text field with a lower >> and upper arrow my first though is if I click the lower >> arrow it will increment the lines in the text field and if >> I click the upper arrow it will decrement the lines in the >> text field. > > Check the Inspector of any scrollbar to see a working example > of what I mean. > >> Like I said I cannot see your arrows so this logic may >> be illogical in the situation you are using. >> >> JB > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > 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 jjs at krutt.org Fri Jan 10 15:03:34 2020 From: jjs at krutt.org (Jjs) Date: Fri, 10 Jan 2020 21:03:34 +0100 Subject: Littel Arrows In-Reply-To: References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> Message-ID: <8F9AD836-A982-43AD-938A-40B7499C7258@krutt.org> If you click the upper, the line goes down, so it looks like you are going up. And vice versa. In that way it makes sense. JB via use-livecode schreef op 10 januari 2020 20:58:28 CET: >Hi Klaus, > >I just checked the little arrow scrollbar in version 4.6. If I add a >field and then I add a little arrow scrollbar on the right side to >advance through the text then my first thought is to click on the >lower arrow to advance the lines of text and the upper arrow to >move the lines of text towards line one. > >I must be confused on what you are saying so if it is not the >same for you just ignore my response. Sorry about that. > >JB > > >> On Jan 10, 2020, at 11:47 AM, Klaus major-k via use-livecode > wrote: >> >> Hi JB, >> >>> Am 10.01.2020 um 20:39 schrieb JB via use-livecode >: >>> >>> I am not using the same version as you so I cannot see >>> the arrows >> >> ??? >> >> This has been the case since version 1! >> >>> but when I consider a text field with a lower >>> and upper arrow my first though is if I click the lower >>> arrow it will increment the lines in the text field and if >>> I click the upper arrow it will decrement the lines in the >>> text field. >> >> Check the Inspector of any scrollbar to see a working example >> of what I mean. >> >>> Like I said I cannot see your arrows so this logic may >>> be illogical in the situation you are using. >>> >>> JB >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> 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 -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From jacque at hyperactivesw.com Fri Jan 10 15:08:04 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Jan 2020 14:08:04 -0600 Subject: Littel Arrows In-Reply-To: References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> Message-ID: <2d0a6588-d5c1-68e7-a43f-811d80a8dc72@hyperactivesw.com> On 1/10/20 1:47 PM, Klaus major-k via use-livecode wrote: > This has been the case since version 1! Yes, back before Apple encouraged us to reverse the behavior to make Macs act more like iPhones. And I think on Windows and Linux it still acts as before. Imagine a scrolling field with its scroll set to zero. Click underneath the thumb, or if you're not on Mac, click the lower down arrow. The field scrolls one increment (page or line) and now its scroll is no longer zero, it has incremented by one lineheight or pageheight. Click the top arrow, or click above the thumb, and the field scroll decrements back to zero. When Apple decided to make us use fields like mobile apps do, the behavior reversed. I never did get used to that so I've kept my Mac scrollers the old way. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Fri Jan 10 15:18:58 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Jan 2020 21:18:58 +0100 Subject: Littel Arrows In-Reply-To: <2d0a6588-d5c1-68e7-a43f-811d80a8dc72@hyperactivesw.com> References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> <2d0a6588-d5c1-68e7-a43f-811d80a8dc72@hyperactivesw.com> Message-ID: <60B6F996-7977-4A86-898D-6D7138AB30BF@major-k.de> Hi all, > Am 10.01.2020 um 21:08 schrieb J. Landman Gay via use-livecode : > > On 1/10/20 1:47 PM, Klaus major-k via use-livecode wrote: >> This has been the case since version 1! > > Yes, back before Apple encouraged us to reverse the behavior to make Macs act more like iPhones. And I think on Windows and Linux it still acts as before. > > Imagine a scrolling field with its scroll set to zero. Click underneath the thumb, or if you're not on Mac, click the lower down arrow. The field scrolls one increment (page or line) and now its scroll is no longer zero, it has incremented by one lineheight or pageheight. > > Click the top arrow, or click above the thumb, and the field scroll decrements back to zero. > > When Apple decided to make us use fields like mobile apps do, the behavior reversed. I never did get used to that so I've kept my Mac scrollers the old way. "Little Arrows" work differently than a "normal" scrollbar. e.G. if you enter an ENDVALUE and STARVALUE in the inspector, the "littel Arrows" object gets DISABLED and does not work anymore and the possible parameter "pNewPosition" does not have any meaning with "Littel Arrows". Therefore one need to set these values back to 0 and script something like (for my ecamp0le to IN/DEcrease a field value by one): ------------------------------------------------------ on scrollbarLineInc if fld 2 > 1 then ## We canot go lower than 1 subtract 1 from fld 2 end if end scrollbarLineInc on scrollbarLineDec if fld 2 < 11 then ## We cannot go higher than 10 add 1 to fld 2 end if end scrollbarLineDec ## See the "swapped" scripting, which is neccessary for my example. -------------------------------------------------------- > Jacqueline Landman Gay Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From jerry at jhjensen.com Fri Jan 10 15:40:57 2020 From: jerry at jhjensen.com (Jerry Jensen) Date: Fri, 10 Jan 2020 12:40:57 -0800 Subject: Littel Arrows In-Reply-To: <2d0a6588-d5c1-68e7-a43f-811d80a8dc72@hyperactivesw.com> References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> <2d0a6588-d5c1-68e7-a43f-811d80a8dc72@hyperactivesw.com> Message-ID: <6978BE7B-B9BF-4CB8-B782-750CF7A5A43C@jhjensen.com> I?m with you on that one. Apple calls the new way ?Natural? (!). Not to me after 35 years of the old way. .Jerry > On Jan 10, 2020, at 12:08 PM, J. Landman Gay via use-livecode wrote: > > > When Apple decided to make us use fields like mobile apps do, the behavior reversed. I never did get used to that so I've kept my Mac scrollers the old way. From sundown at pacifier.com Fri Jan 10 15:56:23 2020 From: sundown at pacifier.com (JB) Date: Fri, 10 Jan 2020 12:56:23 -0800 Subject: Littel Arrows In-Reply-To: <6978BE7B-B9BF-4CB8-B782-750CF7A5A43C@jhjensen.com> References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> <2d0a6588-d5c1-68e7-a43f-811d80a8dc72@hyperactivesw.com> <6978BE7B-B9BF-4CB8-B782-750CF7A5A43C@jhjensen.com> Message-ID: <0A8F7A0F-C1F2-4574-8076-278BC9DAD73C@pacifier.com> Is the logic that if I touched on a line in a field and moved that line up the lines would increment but if I clicked on the upper arrow the lines would decrement? If so then the logic seems okay to me. I do not have a mobile device so my thinking could be completely wrong. JB > On Jan 10, 2020, at 12:40 PM, Jerry Jensen via use-livecode wrote: > > I?m with you on that one. Apple calls the new way ?Natural? (!). Not to me after 35 years of the old way. > .Jerry > >> On Jan 10, 2020, at 12:08 PM, J. Landman Gay via use-livecode wrote: >> >> >> When Apple decided to make us use fields like mobile apps do, the behavior reversed. I never did get used to that so I've kept my Mac scrollers the old way. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 10 16:03:06 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 Jan 2020 22:03:06 +0100 Subject: Littel Arrows In-Reply-To: <0A8F7A0F-C1F2-4574-8076-278BC9DAD73C@pacifier.com> References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> <2d0a6588-d5c1-68e7-a43f-811d80a8dc72@hyperactivesw.com> <6978BE7B-B9BF-4CB8-B782-750CF7A5A43C@jhjensen.com> <0A8F7A0F-C1F2-4574-8076-278BC9DAD73C@pacifier.com> Message-ID: <2E83984F-22D8-444C-B5D5-2DEE7379D97B@major-k.de> Hi JB, > Am 10.01.2020 um 21:56 schrieb JB via use-livecode : > > Is the logic that if I touched on a line in a field and moved > that line up the lines would increment but if I clicked on > the upper arrow the lines would decrement? If so then > the logic seems okay to me. > > I do not have a mobile device so my thinking could be > completely wrong. I also do not have any mobile devide, no cellphone or tablet, so no idea how that is supposed to work there. But since "Little Arrows" is just a variant of the "scrollbar" object, maybe that is in fact "correct" (for a SCROLLBAR) behavior. > JB Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From ahsoftware at sonic.net Fri Jan 10 16:22:32 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 10 Jan 2020 13:22:32 -0800 Subject: Littel Arrows In-Reply-To: <60B6F996-7977-4A86-898D-6D7138AB30BF@major-k.de> References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> <2d0a6588-d5c1-68e7-a43f-811d80a8dc72@hyperactivesw.com> <60B6F996-7977-4A86-898D-6D7138AB30BF@major-k.de> Message-ID: On 1/10/20 12:18 PM, Klaus major-k via use-livecode wrote: > "Little Arrows" work differently than a "normal" scrollbar. > e.G. if you enter an ENDVALUE and STARVALUE in the inspector, the "littel Arrows" > object gets DISABLED and does not work anymore and the possible parameter > "pNewPosition" does not have any meaning with "Littel Arrows". You really wanna get confused, try using the little arrows in the property inspector to adjust the location or dimensions of a control. -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Fri Jan 10 16:25:22 2020 From: brian at milby7.com (Brian Milby) Date: Fri, 10 Jan 2020 16:25:22 -0500 Subject: Littel Arrows In-Reply-To: <2E83984F-22D8-444C-B5D5-2DEE7379D97B@major-k.de> References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> <2d0a6588-d5c1-68e7-a43f-811d80a8dc72@hyperactivesw.com> <6978BE7B-B9BF-4CB8-B782-750CF7A5A43C@jhjensen.com> <0A8F7A0F-C1F2-4574-8076-278BC9DAD73C@pacifier.com> <2E83984F-22D8-444C-B5D5-2DEE7379D97B@major-k.de> Message-ID: <6fd94dd9-30c1-4e7c-a73c-0887dbcfd3e9@Spark> The disconnect is that on a mobile you touch the content and move it directly. ?If you grab the scroll bar and drag it, the content moves the opposite direction. ?On a computer?s touch device/scroll wheel, natural scrolling moves the content like mobile (think two finger swipe). ?The old way it would move the scroll bar and be ?backwards?. Thanks, Brian On Jan 10, 2020, 4:03 PM -0500, Klaus major-k via use-livecode , wrote: > Hi JB, > > > Am 10.01.2020 um 21:56 schrieb JB via use-livecode : > > > > Is the logic that if I touched on a line in a field and moved > > that line up the lines would increment but if I clicked on > > the upper arrow the lines would decrement? If so then > > the logic seems okay to me. > > > > I do not have a mobile device so my thinking could be > > completely wrong. > > I also do not have any mobile devide, no cellphone or tablet, so no > idea how that is supposed to work there. > > But since "Little Arrows" is just a variant of the "scrollbar" object, maybe > that is in fact "correct" (for a SCROLLBAR) behavior. > > > JB > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Jan 10 17:29:39 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 10 Jan 2020 17:29:39 -0500 Subject: NavBar Widget In-Reply-To: <6fd94dd9-30c1-4e7c-a73c-0887dbcfd3e9@Spark> References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> <2d0a6588-d5c1-68e7-a43f-811d80a8dc72@hyperactivesw.com> <6978BE7B-B9BF-4CB8-B782-750CF7A5A43C@jhjensen.com> <0A8F7A0F-C1F2-4574-8076-278BC9DAD73C@pacifier.com> <2E83984F-22D8-444C-B5D5-2DEE7379D97B@major-k.de> <6fd94dd9-30c1-4e7c-a73c-0887dbcfd3e9@Spark> Message-ID: <006101d5c805$74e82420$5eb86c60$@net> I made 4 changes to the navbar widget. 1) The hiliteditem can be set to zero so no item is hilited 2) The default is no item hilited (hiliteditem = 0) 3) The inspector allows you to decrement the select item index to zero. 4) If the label of an item is a single space then the icon is centered vertically. I will see how to add this feature more elegantly as a property. If you need any of these features the link to the lcb file is here ==> https://www.dropbox.com/s/3emxyjx487xp9j2/navbar.lcb?dl=0 Now I have to figure out how to change the docs and submit a pull request. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From jacque at hyperactivesw.com Fri Jan 10 17:35:12 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Jan 2020 16:35:12 -0600 Subject: Littel Arrows In-Reply-To: <60B6F996-7977-4A86-898D-6D7138AB30BF@major-k.de> References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> <2d0a6588-d5c1-68e7-a43f-811d80a8dc72@hyperactivesw.com> <60B6F996-7977-4A86-898D-6D7138AB30BF@major-k.de> Message-ID: <138df945-3e78-d1e0-ac6a-0bac400b0b04@hyperactivesw.com> On 1/10/20 2:18 PM, Klaus major-k via use-livecode wrote: > "Little Arrows" work differently than a "normal" scrollbar. > e.G. if you enter an ENDVALUE and STARVALUE in the inspector, the "littel Arrows" > object gets DISABLED and does not work anymore and the possible parameter > "pNewPosition" does not have any meaning with "Littel Arrows". I noticed that too, it seems to be a bug. If you use the little arrows (heh) in the Inspector then the values stick. I tried scripting the math to reverse the behavior so that the arrows didn't go "backwards" but wasn't able to wrap my head around it. So I looked at LC's object library to see how they did it, and they're using the same method you used in your forum reply -- they just add or subtract 1 from a field. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brian at milby7.com Fri Jan 10 17:47:18 2020 From: brian at milby7.com (Brian Milby) Date: Fri, 10 Jan 2020 17:47:18 -0500 Subject: NavBar Widget In-Reply-To: <006101d5c805$74e82420$5eb86c60$@net> References: <03846DE0-0C88-4989-9C01-A35FF42FCAA7@major-k.de> <0779FF5F-CFB4-4A9D-A59B-5D6E9E09CABF@pacifier.com> <2d0a6588-d5c1-68e7-a43f-811d80a8dc72@hyperactivesw.com> <6978BE7B-B9BF-4CB8-B782-750CF7A5A43C@jhjensen.com> <0A8F7A0F-C1F2-4574-8076-278BC9DAD73C@pacifier.com> <2E83984F-22D8-444C-B5D5-2DEE7379D97B@major-k.de> <6fd94dd9-30c1-4e7c-a73c-0887dbcfd3e9@Spark> <006101d5c805$74e82420$5eb86c60$@net> Message-ID: <7cd0f431-6f41-49fa-861f-1ee9fd8f4114@Spark> Item 1 is already submitted as a PR. I would avoid changing default behavior in the actual product though. Thanks, Brian On Jan 10, 2020, 5:27 PM -0500, Ralph DiMola via use-livecode , wrote: > I made 4 changes to the navbar widget. > > 1) The hiliteditem can be set to zero so no item is hilited > 2) The default is no item hilited (hiliteditem = 0) > 3) The inspector allows you to decrement the select item index to zero. > 4) If the label of an item is a single space then the icon is centered vertically. I will see how to add this feature more elegantly as a property. > > If you need any of these features the link to the lcb file is here ==> https://www.dropbox.com/s/3emxyjx487xp9j2/navbar.lcb?dl=0 > > Now I have to figure out how to change the docs and submit a pull request. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ludovic.thebault at laposte.net Sat Jan 11 09:38:42 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sat, 11 Jan 2020 15:38:42 +0100 Subject: Focus on customproperty inspector Message-ID: <6E11FB53-9550-4177-AC3D-250ECD3C539C@laposte.net> Hello, With livecode 9.6 I have a strange behavior, when the custom property inspector is open, and the script window is open too, the focus shifts from time to time to the property title (which I previously displayed). If I don't pay attention, I replace the property title with the script I'm writing! With LV 9.0, I didn't notice this behavior. I?m the only one with this bug ? Thanks (and Happy New year !) ! Ludovic From klaus at major-k.de Sat Jan 11 09:45:53 2020 From: klaus at major-k.de (Klaus major-k) Date: Sat, 11 Jan 2020 15:45:53 +0100 Subject: Focus on customproperty inspector In-Reply-To: <6E11FB53-9550-4177-AC3D-250ECD3C539C@laposte.net> References: <6E11FB53-9550-4177-AC3D-250ECD3C539C@laposte.net> Message-ID: <993F8A88-3985-4588-A777-141A4C2F9C91@major-k.de> Bonjour Ludovic, > Am 11.01.2020 um 15:38 schrieb Ludovic THEBAULT via use-livecode : > > Hello, > > With livecode 9.6 I have a strange behavior, when the custom property inspector is open, and the script window is open too, the focus shifts from time to time to the property title (which I previously displayed). If I don't pay attention, I replace the property title with the script I'm writing! > With LV 9.0, I didn't notice this behavior. > I?m the only one with this bug ? > > Thanks (and Happy New year !) ! this is a known bug (since LC 9.5.x?) and already reported. Happy new year to you, too! :-) > Ludovic Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Sat Jan 11 09:55:13 2020 From: klaus at major-k.de (Klaus major-k) Date: Sat, 11 Jan 2020 15:55:13 +0100 Subject: PDF widget for INDY Message-ID: <74A3346D-8CF5-44AB-9A6F-CC29C551A196@major-k.de> Hi all, just made an enhancement request to make the PDF widget (external?) avaiblable for INDY too, maybe for a reasonable (sic! :-) fee. Feel free to add a comment. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From ludovic.thebault at laposte.net Sat Jan 11 10:34:28 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sat, 11 Jan 2020 16:34:28 +0100 Subject: Focus on customproperty inspector In-Reply-To: <993F8A88-3985-4588-A777-141A4C2F9C91@major-k.de> References: <6E11FB53-9550-4177-AC3D-250ECD3C539C@laposte.net> <993F8A88-3985-4588-A777-141A4C2F9C91@major-k.de> Message-ID: > Le 11 janv. 2020 ? 15:45, Klaus major-k via use-livecode a ?crit : > > Bonjour Ludovic, > >> Am 11.01.2020 um 15:38 schrieb Ludovic THEBAULT via use-livecode : >> >> Hello, >> >> With livecode 9.6 I have a strange behavior, when the custom property inspector is open, and the script window is open too, the focus shifts from time to time to the property title (which I previously displayed). If I don't pay attention, I replace the property title with the script I'm writing! >> With LV 9.0, I didn't notice this behavior. >> I?m the only one with this bug ? >> >> Thanks (and Happy New year !) ! > > this is a known bug (since LC 9.5.x?) and already reported. > Thanks. From jjs at krutt.org Sat Jan 11 13:23:41 2020 From: jjs at krutt.org (Jjs) Date: Sat, 11 Jan 2020 19:23:41 +0100 Subject: Focus on customproperty inspector In-Reply-To: <6E11FB53-9550-4177-AC3D-250ECD3C539C@laposte.net> References: <6E11FB53-9550-4177-AC3D-250ECD3C539C@laposte.net> Message-ID: <10E3F37A-6B87-4C02-8992-57751FD3EC23@krutt.org> Happy new year! On which platform do you run the ide? Perhaps there is a difference on win or mac or linux Ludovic THEBAULT via use-livecode schreef op 11 januari 2020 15:38:42 CET: >Hello, > >With livecode 9.6 I have a strange behavior, when the custom property >inspector is open, and the script window is open too, the focus shifts >from time to time to the property title (which I previously displayed). >If I don't pay attention, I replace the property title with the script >I'm writing! > >With LV 9.0, I didn't notice this behavior. > >I?m the only one with this bug ? > >Thanks (and Happy New year !) ! > >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 -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From Bernd.Niggemann at uni-wh.de Sat Jan 11 16:02:04 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Sat, 11 Jan 2020 21:02:04 +0000 Subject: Focus on customproperty inspector In-Reply-To: References: Message-ID: <1B76FE80-EAFD-45B0-AF5B-225072A802AC@uni-wh.de> The bug is reported here: https://quality.livecode.com/show_bug.cgi?id=22199 the proposed bug fix is here: https://github.com/livecode/livecode-ide/pull/2079 Kind regards Bernd Hello, With livecode 9.6 I have a strange behavior, when the custom property inspector is open, and the script window is open too, the focus shifts from time to time to the property title (which I previously displayed). If I don't pay attention, I replace the property title with the script I'm writing! With LV 9.0, I didn't notice this behavior. I?m the only one with this bug ? Thanks (and Happy New year !) ! Ludovic From brahma at hindu.org Sat Jan 11 22:33:46 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 12 Jan 2020 03:33:46 +0000 Subject: Changing extention on script only stack In-Reply-To: <16f86723408.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <2be7fe3b-4142-46b7-af5a-7338c6db69c5@Spark> <16f86723408.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4527B04C-2ADE-4DCD-9997-DD68DB460E87@hindu.org> No revision control. For people working in a "1 human silo" Is there a reason not to just put the script into a button and set the stack behavior to that? That's what I do when I don't want extra files in my build. From brian at milby7.com Sat Jan 11 22:43:15 2020 From: brian at milby7.com (Brian Milby) Date: Sat, 11 Jan 2020 22:43:15 -0500 Subject: Changing extention on script only stack In-Reply-To: <4527B04C-2ADE-4DCD-9997-DD68DB460E87@hindu.org> References: <2be7fe3b-4142-46b7-af5a-7338c6db69c5@Spark> <16f86723408.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4527B04C-2ADE-4DCD-9997-DD68DB460E87@hindu.org> Message-ID: And if you want to edit scripts in an external editor, my tool may be useful to you: https://github.com/bwmilby/scriptTracker It would support putting the scripts themselves into a repository so you could track changes. ?It generates a consolidated diff every time it exports scripts. Thanks, Brian On Jan 11, 2020, 10:34 PM -0500, Sannyasin Brahmanathaswami via use-livecode , wrote: > No revision control. For people working in a "1 human silo" > > Is there a reason not to just put the script into a button and set the > stack behavior to that? That's what I do when I don't want extra files in > my build. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Sun Jan 12 13:04:32 2020 From: jjs at krutt.org (JJS) Date: Sun, 12 Jan 2020 19:04:32 +0100 Subject: search whole list on certain subject, searching for Admob integration Message-ID: Hi, how do i search the whole list to get info on some topics. For now i'm searching for a solution to use Admob. as i made a thread here: https://forums.livecode.com/viewtopic.php?f=53&t=33521 Certainly not everyone is using the forum. So maybe someone has info here on how to add Admob to an Android app. (if other dev tools can, we should too) Thanks. Regards, JJS From jjs at krutt.org Sun Jan 12 13:23:26 2020 From: jjs at krutt.org (JJS) Date: Sun, 12 Jan 2020 19:23:26 +0100 Subject: search whole list on certain subject, searching for Admob integration In-Reply-To: References: Message-ID: <401a22c6-0fc1-929d-fa02-c72e7ad09e0f@krutt.org> ok i can search on narkive.com, that's great. Reading this " With that being said, we are currently working on various widgets for LiveCode 8 and one that supports multiple ad platforms is currently in the pipeline." here https://forums.livecode.com/viewtopic.php?t=26794#p139662 looks promising but it is still not there. I even see threads from nearly a decade ago...2011. any hints on this? Op 12-1-2020 om 19:04 schreef JJS via use-livecode: > Hi, > > > how do i search the whole list to get info on some topics. > > For now i'm searching for a solution to use Admob. > > as i made a thread here: > https://forums.livecode.com/viewtopic.php?f=53&t=33521 > > Certainly not everyone is using the forum. > > So maybe someone has info here on how to add Admob to an Android app. > (if other dev tools can, we should too) > > > Thanks. > > > Regards, > > JJS > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mail at richard-hillen.de Sun Jan 12 14:53:21 2020 From: mail at richard-hillen.de (Hillen Richard) Date: Sun, 12 Jan 2020 20:53:21 +0100 Subject: shell() and pdftotext Message-ID: Hello, I want to extract .txt from a pdf-file using Livecode 9.5 on macOS Catalina. Therefore I installed from http://www.xpdfreader.com/ the xpdf-tools-mac-4.02 and using the Terminal with ?pdftotext /Users/hillen/Desktop/inter.pdf? I get a clean text-file inter.txt. Wonderful! So I hopefully wrote in Livecode: ?????? put "/users/hillen/Desktop/inter.pdf" into fn put "pdftotext " & fn into Kommando if there is not a file fn then answer ?no SourceFile!" exit to top end if get shell(quote & Kommando & quote) answer it & return & the result ?????? But extracting doesn?t work and I get the answer: /bin/sh: line 1: pdftotext /users ??pdf: No such file or directory and the result ist 127. Typing to Terminal ?pdftotext? I get a List with command-options. With get shell(?pdftotext?) with and without quotes I get the answer ?/bin/sh: line 1: pdftotext: command not found? What is wrong? May you please help? Richard. From brian at milby7.com Sun Jan 12 17:00:58 2020 From: brian at milby7.com (Brian Milby) Date: Sun, 12 Jan 2020 17:00:58 -0500 Subject: shell() and pdftotext In-Reply-To: References: Message-ID: <565b0e85-464e-4a5b-9227-c6ab100b64ca@Spark> My guess is that shell can?t find your executable. ?Try using full paths. Thanks, Brian On Jan 12, 2020, 2:54 PM -0500, Hillen Richard via use-livecode , wrote: > Hello, > > I want to extract .txt from a pdf-file using Livecode 9.5 on macOS Catalina. > > Therefore I installed from http://www.xpdfreader.com/ > the xpdf-tools-mac-4.02 > and using the Terminal with ?pdftotext /Users/hillen/Desktop/inter.pdf? > I get a clean text-file inter.txt. Wonderful! > > So I hopefully wrote in Livecode: > > ?????? > put "/users/hillen/Desktop/inter.pdf" into fn > put "pdftotext " & fn into Kommando > > if there is not a file fn then > answer ?no SourceFile!" > exit to top > end if > > get shell(quote & Kommando & quote) > > answer it & return & the result > ?????? > > But extracting doesn?t work and I get the answer: > > /bin/sh: line 1: pdftotext /users ??pdf: No such file or directory > > and the result ist 127. > > > > Typing to Terminal ?pdftotext? I get a List with command-options. > > With > get shell(?pdftotext?) with and without quotes > > I get the answer ?/bin/sh: line 1: pdftotext: command not found? > > > > What is wrong? May you please help? > > Richard. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sun Jan 12 20:39:56 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 13 Jan 2020 01:39:56 +0000 Subject: Scripting puzzle / challenge. Message-ID: <36cb6912-d53a-0e9b-63bc-61b065cdb9d8@tweedly.net> It's been a while since we had a puzzle challenge on here .... I came across this article https://medium.com/free-code-camp/bet-you-cant-solve-this-google-interview-question-4a6e5a4dc8ee and it seemed to me like an interesting puzzle. The article is interesting, but (IMHO) pretty flawed; don't be put off by how complex he makes it seem :-). Problem is simple: given a rectangular grid of squares, each square has a color and the task is to find the largest contiguous block of any single colour. We'll keep the problem size moderate - up to 100x100 squares in the grid, up to 8 colours. Any 2 squares are adjacent only if they share an edge - i.e. corner touches don't count. The input format is a file : each line is a row of the grid, each character is a square within that row, and the value of the char represents the colour of that square. (or simply generate the data internally in the same format). So an example would be rbbrbbrb rggggggr rgbbbbgr rgbbbbgr rgbbbbgr rggggggr rbbrbbrb which has a block of 18 'g' squares, so the result would be something like 2,2 3,2 4,2 5,2 6,2 7,2 2,3 7,3 2,4 7,4 2,5 7,5 2,6 3,6 4,6 5,6 7,6 I'll post my solution in a day or two - but if you are impatient you can download from https://www.tweedly.org/downloads/color_solver.livecodescript ??? - text file, script for the solution function only (< 100 lines) https://www.tweedly.org/downloads/ColoutCounter.livecode ??? - stack file, including display of the results, etc. and some sample data at ..../color_1.txt?? .../color_2.txt and .../color_3.txt -- Alex. From phil at pdslabs.net Sun Jan 12 20:48:09 2020 From: phil at pdslabs.net (Phil Davis) Date: Sun, 12 Jan 2020 17:48:09 -0800 Subject: shell() and pdftotext In-Reply-To: <565b0e85-464e-4a5b-9227-c6ab100b64ca@Spark> References: <565b0e85-464e-4a5b-9227-c6ab100b64ca@Spark> Message-ID: <5579e9a4-86c8-c8ed-defe-1e24422c5bdf@pdslabs.net> To find the full path, this may work - open Terminal and type: ??? which pdftotext and it should display the path to the copy of pdftotext that the OS runs when you type the 'pdftotext' command. Phil Davis On 1/12/20 2:00 PM, Brian Milby via use-livecode wrote: > My guess is that shell can?t find your executable. ?Try using full paths. > > Thanks, > Brian > On Jan 12, 2020, 2:54 PM -0500, Hillen Richard via use-livecode , wrote: >> Hello, >> >> I want to extract .txt from a pdf-file using Livecode 9.5 on macOS Catalina. >> >> Therefore I installed from http://www.xpdfreader.com/ >> the xpdf-tools-mac-4.02 >> and using the Terminal with ?pdftotext /Users/hillen/Desktop/inter.pdf? >> I get a clean text-file inter.txt. Wonderful! >> >> So I hopefully wrote in Livecode: >> >> ?????? >> put "/users/hillen/Desktop/inter.pdf" into fn >> put "pdftotext " & fn into Kommando >> >> if there is not a file fn then >> answer ?no SourceFile!" >> exit to top >> end if >> >> get shell(quote & Kommando & quote) >> >> answer it & return & the result >> ?????? >> >> But extracting doesn?t work and I get the answer: >> >> /bin/sh: line 1: pdftotext /users ??pdf: No such file or directory >> >> and the result ist 127. >> >> >> >> Typing to Terminal ?pdftotext? I get a List with command-options. >> >> With >> get shell(?pdftotext?) with and without quotes >> >> I get the answer ?/bin/sh: line 1: pdftotext: command not found? >> >> >> >> What is wrong? May you please help? >> >> Richard. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis 503-307-4363 From mail at richard-hillen.de Mon Jan 13 12:15:00 2020 From: mail at richard-hillen.de (Hillen Richard) Date: Mon, 13 Jan 2020 18:15:00 +0100 Subject: use-livecode Digest, Vol 196, Issue 13 In-Reply-To: References: Message-ID: <0E24ED3C-FA12-4F48-BC1E-929476EBEDB1@richard-hillen.de> Hello Brian, Hello Phil > Message: 4 > Date: Sun, 12 Jan 2020 17:00:58 -0500 > From: Brian Milby > To: How to use LiveCode > Subject: Re: shell() and pdftotext > Message-ID: <565b0e85-464e-4a5b-9227-c6ab100b64ca at Spark> > Content-Type: text/plain; charset="utf-8" > > My guess is that shell can?t find your executable. ?Try using full paths. > > Thanks, > Brian > Message: 6 > Date: Sun, 12 Jan 2020 17:48:09 -0800 > From: Phil Davis > To: Brian Milby via use-livecode > Subject: Re: shell() and pdftotext > Message-ID: <5579e9a4-86c8-c8ed-defe-1e24422c5bdf at pdslabs.net> > Content-Type: text/plain; charset=utf-8; format=flowed > > To find the full path, this may work - open Terminal and type: > > ??? which pdftotext > > and it should display the path to the copy of pdftotext that the OS runs > when you type the 'pdftotext' command. > > Phil Davis a) using the full path worked. b) asking for the path didn?t work, but see a) Thank you for your quick and usefull help! Richard. From dochawk at gmail.com Mon Jan 13 13:25:42 2020 From: dochawk at gmail.com (doc hawk) Date: Mon, 13 Jan 2020 10:25:42 -0800 Subject: shell() and pdftotext In-Reply-To: <5579e9a4-86c8-c8ed-defe-1e24422c5bdf@pdslabs.net> References: <565b0e85-464e-4a5b-9227-c6ab100b64ca@Spark> <5579e9a4-86c8-c8ed-defe-1e24422c5bdf@pdslabs.net> Message-ID: <63CEF980-1C34-489B-84CA-DC3DF40CDB83@gmail.com> To elaborate further, if you can use pdftotext from the command line, but this is failing, it is because the path declared for your login shell is not getting picked up, or a different shell is being used by livedcode. Come to think of it, I have *no* idea which shell livecode defaults to?I?d assume the system default, which sometimes varies over versions of a particular OS. So if you use tcsh, but your system defaults to bash, all of those customizations and variables that apply at the command line may not come into play. From klaus at major-k.de Mon Jan 13 14:03:52 2020 From: klaus at major-k.de (Klaus major-k) Date: Mon, 13 Jan 2020 20:03:52 +0100 Subject: SQL(ite) question Message-ID: <44B0C5B9-2960-4468-8CCD-7964501E64D9@major-k.de> Hi all, I searched the docs of SQLite but could not find a hint. Is it possible to create a "full text search" in SQL(ite) with ONE SQL command? Something like this (pseudocode): ... SELECT * from MyTable where ANY_COLUMN like "%mysearchtermhere%" ... If not, how can this be done? You get the picture, any hints appreciated, thank you. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From ahsoftware at sonic.net Mon Jan 13 14:39:03 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 13 Jan 2020 11:39:03 -0800 Subject: SQL(ite) question In-Reply-To: <44B0C5B9-2960-4468-8CCD-7964501E64D9@major-k.de> References: <44B0C5B9-2960-4468-8CCD-7964501E64D9@major-k.de> Message-ID: On 1/13/20 11:03 AM, Klaus major-k via use-livecode wrote: > Hi all, > > I searched the docs of SQLite but could not find a hint. > > Is it possible to create a "full text search" in SQL(ite) > with ONE SQL command? Something like this (pseudocode): > ... > SELECT * from MyTable where ANY_COLUMN like "%mysearchtermhere%" > ... > If not, how can this be done? > > You get the picture, any hints appreciated, thank you. Single command? No. But you can ahead of time create a virtual table to allow full-text searching without regard to whereness. The current LC version is linked with sqlite 3.28. -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Mon Jan 13 14:41:36 2020 From: klaus at major-k.de (Klaus major-k) Date: Mon, 13 Jan 2020 20:41:36 +0100 Subject: SQL(ite) question In-Reply-To: References: <44B0C5B9-2960-4468-8CCD-7964501E64D9@major-k.de> Message-ID: <2B5F6ADE-9A26-4AA6-B6E8-F93C9230B829@major-k.de> Hi Mark, > Am 13.01.2020 um 20:39 schrieb Mark Wieder via use-livecode : > > On 1/13/20 11:03 AM, Klaus major-k via use-livecode wrote: >> Hi all, >> I searched the docs of SQLite but could not find a hint. >> Is it possible to create a "full text search" in SQL(ite) >> with ONE SQL command? Something like this (pseudocode): >> ... >> SELECT * from MyTable where ANY_COLUMN like "%mysearchtermhere%" >> ... >> If not, how can this be done? >> You get the picture, any hints appreciated, thank you. > > Single command? No. well, I guessed. > But you can ahead of time create a virtual table to allow full-text searching without regard to whereness. The current LC version is linked with sqlite 3.28. Great, thanks a lot for this link! > -- > Mark Wieder Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Mon Jan 13 16:45:42 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Jan 2020 15:45:42 -0600 Subject: iOS launch screen dimensions Message-ID: The list of launch screen dimensions on the Apple developer site doesn't match the requirements in the standalone builder. Does that matter? Apple doesn't recommend that method anyway, they prefer a storyboard. Has anyone done that, and is it possible? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From panos.merakos at livecode.com Mon Jan 13 16:58:17 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 13 Jan 2020 23:58:17 +0200 Subject: [ANN] This Week in LiveCode 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 #208 here: http://bit.ly/2thhvV7 This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From merakosp at gmail.com Mon Jan 13 17:02:31 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 14 Jan 2020 00:02:31 +0200 Subject: iOS launch screen dimensions In-Reply-To: References: Message-ID: Hello Jacque, The requirements in the S/B should match Apple's requirements - if they don't then it looks like a bug. Which screen's dimensions do not match? Also could you post the link of the webpage you are referring to? Kind regards Panos -- PS: Using a storyboard is not supported in LC. I _think_ it is possible to do it though - if you tweak the IDE code that saves the iOS standalone. On Mon, 13 Jan 2020 at 23:46, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > The list of launch screen dimensions on the Apple developer site doesn't > match the requirements in the standalone builder. Does that matter? > > Apple doesn't recommend that method anyway, they prefer a storyboard. > Has anyone done that, and is it possible? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Jan 13 18:02:33 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Jan 2020 17:02:33 -0600 Subject: iOS launch screen dimensions In-Reply-To: References: Message-ID: Hi Panos, Here's the page with Apple's iOS launch screen sizes: Some of those are in the SB and some aren't, and vice versa. Here's what the SB asks for: 320x480 640x960 640x1136 750x1334 1242x2208 1125x2436 828x1792 1242x2688 768x1024 1536x2048 2048x2732 I only extracted the portrait sizes from the SB since that's all I'm using but of course the landscape ones are the same if you read them backwards. On 1/13/20 4:02 PM, panagiotis merakos via use-livecode wrote: > Hello Jacque, > > The requirements in the S/B should match Apple's requirements - if they > don't then it looks like a bug. > > Which screen's dimensions do not match? Also could you post the link of the > webpage you are referring to? > > Kind regards > Panos > -- > > PS: Using a storyboard is not supported in LC. I _think_ it is possible to > do it though - if you tweak the IDE code that saves the iOS standalone. > > On Mon, 13 Jan 2020 at 23:46, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> The list of launch screen dimensions on the Apple developer site doesn't >> match the requirements in the standalone builder. Does that matter? >> >> Apple doesn't recommend that method anyway, they prefer a storyboard. >> Has anyone done that, and is it possible? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Mon Jan 13 18:03:30 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 13 Jan 2020 23:03:30 +0000 Subject: SQL(ite) question In-Reply-To: <44B0C5B9-2960-4468-8CCD-7964501E64D9@major-k.de> References: <44B0C5B9-2960-4468-8CCD-7964501E64D9@major-k.de> Message-ID: Actually I do this all the time. SELECT * from MyTable where COLUMN1 like "%mysearchtermhere%" OR COLUMN2 like "%mysearchtermhere%" OR COLUMN3 like "%mysearchtermhere%" I loop through a list of columns I want to search to build the query. Bob S > On Jan 13, 2020, at 11:03 , Klaus major-k via use-livecode wrote: > > Hi all, > > I searched the docs of SQLite but could not find a hint. > > Is it possible to create a "full text search" in SQL(ite) > with ONE SQL command? Something like this (pseudocode): > ... > SELECT * from MyTable where ANY_COLUMN like "%mysearchtermhere%" > ... > If not, how can this be done? > > You get the picture, any hints appreciated, thank you. > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > 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 dochawk at gmail.com Mon Jan 13 18:03:34 2020 From: dochawk at gmail.com (doc hawk) Date: Mon, 13 Jan 2020 15:03:34 -0800 Subject: SQL(ite) question In-Reply-To: References: <44B0C5B9-2960-4468-8CCD-7964501E64D9@major-k.de> Message-ID: On Jan 13, 2020, at 11:39 AM, Mark Wieder via use-livecode wrote: > > Single command? No. Also, note that you *can* submit compound commands from LiveCode to SQLite and PostgreSQL, unlike with mySQL. (Or, maybe the interface to mySQL has changed in the years since I learned this the hard way). From sean at pidigital.co.uk Mon Jan 13 20:04:35 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 14 Jan 2020 01:04:35 +0000 Subject: SQL(ite) question In-Reply-To: References: Message-ID: Even easier: SELECT * FROM MyTable WHERE ((col1+col2+aCol1+aCol2) LIKE ?%mysearchtermhere%?) Sean Cole Pi Digital Prod Ltd >> On 13 Jan 2020, at 23:03, Bob Sneidar via use-livecode wrote: > ?Actually I do this all the time. > > SELECT * from MyTable where > COLUMN1 like "%mysearchtermhere%" OR > COLUMN2 like "%mysearchtermhere%" OR > COLUMN3 like "%mysearchtermhere%" > > I loop through a list of columns I want to search to build the query. > > Bob S > > >> On Jan 13, 2020, at 11:03 , Klaus major-k via use-livecode wrote: >> >> Hi all, >> >> I searched the docs of SQLite but could not find a hint. >> >> Is it possible to create a "full text search" in SQL(ite) >> with ONE SQL command? Something like this (pseudocode): >> ... >> SELECT * from MyTable where ANY_COLUMN like "%mysearchtermhere%" >> ... >> If not, how can this be done? >> >> You get the picture, any hints appreciated, thank you. >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> 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 ahsoftware at sonic.net Mon Jan 13 20:13:47 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 13 Jan 2020 17:13:47 -0800 Subject: SQL(ite) question In-Reply-To: References: <44B0C5B9-2960-4468-8CCD-7964501E64D9@major-k.de> Message-ID: On 1/13/20 3:03 PM, doc hawk via use-livecode wrote: > > On Jan 13, 2020, at 11:39 AM, Mark Wieder via use-livecode wrote: >> >> Single command? No. > > Also, note that you *can* submit compound commands from LiveCode to SQLite and PostgreSQL, unlike with mySQL. (Or, maybe the interface to mySQL has changed in the years since I learned this the hard way). Yes, but it would no doubt be overkill to generate a new virtual table for every search. -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Mon Jan 13 22:37:23 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 14 Jan 2020 03:37:23 +0000 Subject: shell() and pdftotext In-Reply-To: <63CEF980-1C34-489B-84CA-DC3DF40CDB83@gmail.com> References: <63CEF980-1C34-489B-84CA-DC3DF40CDB83@gmail.com> Message-ID: <6B787157-4709-4620-9562-90F261B447CF@pidigital.co.uk> Shell() always uses the default folder path. Example (mac/Linux): Set the defaultFolder to specialFolderPath(?home?) put shell(?ls?) Breakpoint Set the defaultFolder to specialFolderPath(?documents?) put shell(?ls?) Breakpoint I put any non native shell commands I want into my engine path, especially for standalones. Sean Cole Pi Digital Prod Ltd > On 13 Jan 2020, at 18:25, doc hawk via use-livecode wrote: > > ?To elaborate further, if you can use pdftotext from the command line, but this is failing, it is because the path declared for your login shell is not getting picked up, or a different shell is being used by livedcode. > > Come to think of it, I have *no* idea which shell livecode defaults to?I?d assume the system default, which sometimes varies over versions of a particular OS. > > So if you use tcsh, but your system defaults to bash, all of those customizations and variables that apply at the command line may not come into play. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 14 04:15:34 2020 From: klaus at major-k.de (Klaus major-k) Date: Tue, 14 Jan 2020 10:15:34 +0100 Subject: SQL(ite) question In-Reply-To: References: Message-ID: <4F70A3F9-89CA-40D3-A7BD-417A6A6504BC@major-k.de> Hi Sean, > Am 14.01.2020 um 02:04 schrieb Pi Digital via use-livecode : > > Even easier: > > SELECT * FROM MyTable WHERE ((col1+col2+aCol1+aCol2) LIKE ?%mysearchtermhere%?) aha, thank you very much, I had no idea this is possible! :-) > Sean Cole > Pi Digital Prod Ltd > >>> On 13 Jan 2020, at 23:03, Bob Sneidar via use-livecode wrote: >> ?Actually I do this all the time. >> SELECT * from MyTable where >> COLUMN1 like "%mysearchtermhere%" OR >> COLUMN2 like "%mysearchtermhere%" OR >> COLUMN3 like "%mysearchtermhere%" >> I loop through a list of columns I want to search to build the query. >> >> Bob S >> >>> On Jan 13, 2020, at 11:03 , Klaus major-k via use-livecode wrote: >>> >>> Hi all, >>> >>> I searched the docs of SQLite but could not find a hint. >>> >>> Is it possible to create a "full text search" in SQL(ite) >>> with ONE SQL command? Something like this (pseudocode): >>> ... >>> SELECT * from MyTable where ANY_COLUMN like "%mysearchtermhere%" >>> ... >>> ... Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From hh at hyperhh.de Tue Jan 14 06:06:50 2020 From: hh at hyperhh.de (hh) Date: Tue, 14 Jan 2020 12:06:50 +0100 Subject: shell() and pdftotext Message-ID: > Richard H. wrote: > Typing to Terminal ?pdftotext? I get a List with command-options. > With get shell(?pdftotext?) with and without quotes > I get the answer ?/bin/sh: line 1: pdftotext: command not found? > What is wrong? May you please help? (MacOS Catalina). You could add on startup /usr/local/bin to the LC environment variable $PATH: on startUp local ulb="/usr/local/bin" set itemdel to ":" if ulb is not among the items of $PATH then put ":"&ulb after $PATH end startUp From hh at hyperhh.de Tue Jan 14 06:17:09 2020 From: hh at hyperhh.de (hh) Date: Tue, 14 Jan 2020 12:17:09 +0100 Subject: Use-livecode author names Message-ID: <8592DFB7-FA51-4BD3-8205-F2BD828A6790@hyperhh.de> See the "statistics" here: http://forums.livecode.com/viewtopic.php?p=186723#p186723 From ambassador at fourthworld.com Tue Jan 14 10:52:20 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Jan 2020 07:52:20 -0800 Subject: encrypting script-only stacks Message-ID: Since script-only stacks contain only a script with no properties, they have no password property, and thus cannot be encrypted. I had thought that including them in the Stacks pane of the Standalone Builder might convert them to binary substacks, where the password could apply. No dice. Is it a bug that script-only stacks can't be imported into the stackfile to become binary substacks? -- 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 Jan 14 12:21:31 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Jan 2020 11:21:31 -0600 Subject: encrypting script-only stacks In-Reply-To: References: Message-ID: <16fa5131d78.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Wouldn't a binary script-only stack be the library stack we already have now? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 14, 2020 9:55:01 AM Richard Gaskin via use-livecode wrote: > Since script-only stacks contain only a script with no properties, they > have no password property, and thus cannot be encrypted. > > I had thought that including them in the Stacks pane of the Standalone > Builder might convert them to binary substacks, where the password could > apply. No dice. > > Is it a bug that script-only stacks can't be imported into the stackfile > to become binary substacks? > > -- > 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 Jan 14 12:30:00 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Jan 2020 09:30:00 -0800 Subject: encrypting script-only stacks In-Reply-To: <16fa5131d78.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16fa5131d78.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Sure, and with the extra benefit that you wouldn't have to expose your code to end-users. That is, unless there's a way to include SoS in a standalone that includes encryption, such as an automated method in the Standalone Builder. I couldn't find one, but it seems like such a pervasive issue for the class of devs most likely to use SoS (pros dependent on VCS) that I'm hoping I just missed something. -- Richard Gaskin Fourth World Systems Jacque wrote: > Wouldn't a binary script-only stack be the library stack we already > have now? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > > On January 14, 2020 9:55:01 AM Richard Gaskin wrote: > >> Since script-only stacks contain only a script with no properties, >> they have no password property, and thus cannot be encrypted. >> >> I had thought that including them in the Stacks pane of the >> Standalone Builder might convert them to binary substacks, where >> the password could apply. No dice. >> >> Is it a bug that script-only stacks can't be imported into the >> stackfile to become binary substacks? >> >> -- >> Richard Gaskin >> Fourth World Systems From kaveh at rivervalleytechnologies.com Tue Jan 14 12:36:01 2020 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Tue, 14 Jan 2020 17:36:01 +0000 Subject: encrypting script-only stacks In-Reply-To: References: <16fa5131d78.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: The benefits of SoS are so important that I would hate to have to go back to binary again. Nothing like having pure text files to version, back up etc. so I am also hoping for an elegant solution to encode these in standalone. On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Sure, and with the extra benefit that you wouldn't have to expose your > code to end-users. > > That is, unless there's a way to include SoS in a standalone that > includes encryption, such as an automated method in the Standalone Builder. > > I couldn't find one, but it seems like such a pervasive issue for the > class of devs most likely to use SoS (pros dependent on VCS) that I'm > hoping I just missed something. > > -- > Richard Gaskin > Fourth World Systems > > > Jacque wrote: > > > Wouldn't a binary script-only stack be the library stack we already > > have now? > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > > > On January 14, 2020 9:55:01 AM Richard Gaskin wrote: > > > >> Since script-only stacks contain only a script with no properties, > >> they have no password property, and thus cannot be encrypted. > >> > >> I had thought that including them in the Stacks pane of the > >> Standalone Builder might convert them to binary substacks, where > >> the password could apply. No dice. > >> > >> Is it a bug that script-only stacks can't be imported into the > >> stackfile to become binary substacks? > >> > >> -- > >> Richard Gaskin > >> Fourth World Systems > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn From ambassador at fourthworld.com Tue Jan 14 12:46:36 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Jan 2020 09:46:36 -0800 Subject: encrypting script-only stacks In-Reply-To: References: Message-ID: <42af491f-8f94-9342-74a4-25c5daf9afc0@fourthworld.com> I use Nextcloud with my work folders, so backup with versions is automatic, and it keeps everything synced across my Mac, Linux, and Win boxes along with it. But my needs are modest. Because I rarely work in teams larger than three to five developers, and we assign tasks by skill focus so we rarely need to have two devs working on the same stack file at the same time, we rarely need automated merge assistance. In the few cases where we have needed a merge, a prop diff and tossed-together script-diff have been sufficient. I will be using Git more in 2020, though, for open source work, likely on Github (though I'm still considering Gitlab since it's open source itself). Help me motivate to move my Git transition forward sooner: Beyond backup across versions (since that's widely available in most cloud storage for even binary files), that Git features do you find most valuable? -- Richard Gaskin Fourth World Systems Kaveh Bazargan wrote: > The benefits of SoS are so important that I would hate to have to go > back to binary again. Nothing like having pure text files to version, > back up etc. so I am also hoping for an elegant solution to encode > these in standalone. > > On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Sure, and with the extra benefit that you wouldn't have to expose >> your code to end-users. >> >> That is, unless there's a way to include SoS in a standalone that >> includes encryption, such as an automated method in the Standalone >> Builder. >> >> I couldn't find one, but it seems like such a pervasive issue for the >> class of devs most likely to use SoS (pros dependent on VCS) that I'm >> hoping I just missed something. >> >> -- >> Richard Gaskin >> Fourth World Systems From klaus at major-k.de Tue Jan 14 12:55:33 2020 From: klaus at major-k.de (Klaus major-k) Date: Tue, 14 Jan 2020 18:55:33 +0100 Subject: Embarrasssing old bugs Message-ID: <4D49478A-64D3-4829-8B47-95AFB4B2D852@major-k.de> Hi all, hi mothership, a customer of mine asked me to help him, he needs to deliver an update to his existing app. I hade been mentoring him, a complete newbie, about two years ago and after a couple of months he had an app in the iOS store and in the Google Paly store (or what this is called). Not too bad. :-) And now I have to tell him that after 5 (FIVE!) years we still do not have "system date" etc. on Android!? As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. And that we still have no (LC typically easy) way of displaying a PDF on Android. How embarrassing is this in 2020? If we want to get an even higher ranking than 36 on TIOBE, this should be fixed as soon as possible. This is of course only my "not humble at all" opinion! :-) Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Tue Jan 14 12:56:43 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 14 Jan 2020 18:56:43 +0100 Subject: FYI: Cause found for LC crashing to desktop when Browser widget opens PDF Message-ID: <2F2113EE-3F78-4219-9E79-62202326473B@m-r-d.de> Hi, maybe this is of use for the one or the other. in any case LC crashes on Mac to desktop when opening a PDF in the Browser Widget and your are getting crazy because of that, then check if Acrobat software is installed on your system. A few days ago i mentionend in an answer to an other post, that LC 9.5/9.6 and also standalones created with that versions, but not LC8, crash to desktop when one opens a PDF in the Browser Widget. I contacted support, as i was pretty sure that this worked in the past. As this only happened on my iMac, but not on my Macbook, i decided to completely erase the hard disk of my iMac and reinstall the OS and all needed LC stuff, because i had to finish some important work and waiting for an answer from support or continuing on the Macbook was not an option for me. I planned to install the other software one after the other when i needed it. All went well and the problem with the PDF in the widget did not happen anymore. Today i needed to install Acrobat DC for some tasks. An hour later or so i received an answer from support and one question from Dev team was if by any chance Acrobat software is/was installed on my machine. I tried again in LC and the crash happened again. After uninstalling Acrobat DC the crashes did not happen anymore. I reported this back to support. Of course not using Acrobat DC anymore is no final solution, but for the moment it?s a workaround and hopefully the Dev team finds out what exactly is going wrong with. Matthias From bobsneidar at iotecdigital.com Tue Jan 14 13:00:06 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Jan 2020 18:00:06 +0000 Subject: SQL(ite) question In-Reply-To: <4F70A3F9-89CA-40D3-A7BD-417A6A6504BC@major-k.de> References: <4F70A3F9-89CA-40D3-A7BD-417A6A6504BC@major-k.de> Message-ID: The only problem I see here is that it is possible to get a match with the last part of one column and the first part of the next, especially with numerical data, which would be a false positive. Bob S > On Jan 14, 2020, at 01:15 , Klaus major-k via use-livecode wrote: > > Hi Sean, > >> Am 14.01.2020 um 02:04 schrieb Pi Digital via use-livecode : >> >> Even easier: >> >> SELECT * FROM MyTable WHERE ((col1+col2+aCol1+aCol2) LIKE ?%mysearchtermhere%?) > > aha, thank you very much, I had no idea this is possible! :-) > >> Sean Cole >> Pi Digital Prod Ltd >> >>>> On 13 Jan 2020, at 23:03, Bob Sneidar via use-livecode wrote: >>> ?Actually I do this all the time. >>> SELECT * from MyTable where >>> COLUMN1 like "%mysearchtermhere%" OR >>> COLUMN2 like "%mysearchtermhere%" OR >>> COLUMN3 like "%mysearchtermhere%" >>> I loop through a list of columns I want to search to build the query. >>> >>> Bob S >>> > From bobsneidar at iotecdigital.com Tue Jan 14 13:04:03 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Jan 2020 18:04:03 +0000 Subject: Embarrasssing old bugs In-Reply-To: <4D49478A-64D3-4829-8B47-95AFB4B2D852@major-k.de> References: <4D49478A-64D3-4829-8B47-95AFB4B2D852@major-k.de> Message-ID: <844BD184-2C38-4B85-AA78-61F878D7B9F3@iotecdigital.com> This is why I always convert dates to what I call SQL datetime (YY:MM:DD HH:MM:SS). For display purposes I format as needed. Not sure this would help on an Android though. Bob S > On Jan 14, 2020, at 09:55 , Klaus major-k via use-livecode wrote: > > And now I have to tell him that after 5 (FIVE!) years we still do not have > "system date" etc. on Android!? > > As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. From klaus at major-k.de Tue Jan 14 13:05:29 2020 From: klaus at major-k.de (Klaus major-k) Date: Tue, 14 Jan 2020 19:05:29 +0100 Subject: SQL(ite) question In-Reply-To: References: <4F70A3F9-89CA-40D3-A7BD-417A6A6504BC@major-k.de> Message-ID: Hi Bob, > Am 14.01.2020 um 19:00 schrieb Bob Sneidar via use-livecode : > > The only problem I see here is that it is possible to get a match with the last part of one column and the first part of the next, especially with numerical data, which would be a false positive. AHA, so SQL treats this: ... WHERE ((col1+col2+aCol1+aCol2) ...) Like this in LC: ... WHERE ((col1 & col2 & aCol1 &aCol2) ...) ? > Bob S > ... >>> Even easier: >>> SELECT * FROM MyTable WHERE ((col1+col2+aCol1+aCol2) LIKE ?%mysearchtermhere%?) >> aha, thank you very much, I had no idea this is possible! :-) >>> Sean Cole >>> Pi Digital Prod Ltd >>>>> On 13 Jan 2020, at 23:03, Bob Sneidar via use-livecode wrote: >>>> ?Actually I do this all the time. >>>> SELECT * from MyTable where >>>> COLUMN1 like "%mysearchtermhere%" OR >>>> COLUMN2 like "%mysearchtermhere%" OR >>>> COLUMN3 like "%mysearchtermhere%" >>>> I loop through a list of columns I want to search to build the query. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Tue Jan 14 13:07:03 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Jan 2020 18:07:03 +0000 Subject: SQL(ite) question In-Reply-To: References: <4F70A3F9-89CA-40D3-A7BD-417A6A6504BC@major-k.de> Message-ID: <4C4CB887-DAF8-432C-A82C-19D9E06F9B2D@iotecdigital.com> Pretty sure + means concatenate, otherwise that SQL statement would not work in any I can imagine. Bob S > On Jan 14, 2020, at 10:05 , Klaus major-k via use-livecode wrote: > > Hi Bob, > >> Am 14.01.2020 um 19:00 schrieb Bob Sneidar via use-livecode : >> >> The only problem I see here is that it is possible to get a match with the last part of one column and the first part of the next, especially with numerical data, which would be a false positive. > > AHA, so SQL treats this: > ... WHERE ((col1+col2+aCol1+aCol2) ...) > > Like this in LC: > ... WHERE ((col1 & col2 & aCol1 &aCol2) ...) > ? > >> Bob S From klaus at major-k.de Tue Jan 14 13:07:59 2020 From: klaus at major-k.de (Klaus major-k) Date: Tue, 14 Jan 2020 19:07:59 +0100 Subject: Embarrasssing old bugs In-Reply-To: <844BD184-2C38-4B85-AA78-61F878D7B9F3@iotecdigital.com> References: <4D49478A-64D3-4829-8B47-95AFB4B2D852@major-k.de> <844BD184-2C38-4B85-AA78-61F878D7B9F3@iotecdigital.com> Message-ID: <939D4592-643B-4EE2-979C-DAB965573189@major-k.de> Hi Bob, > Am 14.01.2020 um 19:04 schrieb Bob Sneidar via use-livecode : > This is why I always convert dates to what I call SQL datetime (YY:MM:DD HH:MM:SS). For display purposes I format as needed. sure, that's what we do in the moment, but something like this is not easily worked around: -> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. > Not sure this would help on an Android though. Not really. :-) > Bob S > >> On Jan 14, 2020, at 09:55 , Klaus major-k via use-livecode wrote: >> And now I have to tell him that after 5 (FIVE!) years we still do not have >> "system date" etc. on Android!? >> >> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From jjs at krutt.org Tue Jan 14 13:09:29 2020 From: jjs at krutt.org (Jjs) Date: Tue, 14 Jan 2020 19:09:29 +0100 Subject: Embarrasssing old bugs In-Reply-To: <4D49478A-64D3-4829-8B47-95AFB4B2D852@major-k.de> References: <4D49478A-64D3-4829-8B47-95AFB4B2D852@major-k.de> Message-ID: There are more things which are still not possible in LC concerning mobile. It goes back to 2011 and that is get ads in your app. Or decent touch possibilities like TUIO for all desktop platforms. Klaus major-k via use-livecode schreef op 14 januari 2020 18:55:33 CET: >Hi all, hi mothership, > >a customer of mine asked me to help him, he needs to deliver an >update to his existing app. > >I hade been mentoring him, a complete newbie, about two years ago >and after a couple of months he had an app in the iOS store and in >the Google Paly store (or what this is called). Not too bad. :-) > >And now I have to tell him that after 5 (FIVE!) years we still do not >have >"system date" etc. on Android!? > >As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. > >And that we still have no (LC typically easy) way of displaying a PDF >on Android. > >How embarrassing is this in 2020? >If we want to get an even higher ranking than 36 on TIOBE, this should >be fixed as >soon as possible. > >This is of course only my "not humble at all" opinion! :-) > > >Best > >Klaus > >-- >Klaus Major >https://www.major-k.de >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 -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From livecode at pink.guru Tue Jan 14 13:26:30 2020 From: livecode at pink.guru (Greg (Pink) Miller) Date: Tue, 14 Jan 2020 13:26:30 -0500 Subject: Changing extention on script only stack In-Reply-To: References: <2be7fe3b-4142-46b7-af5a-7338c6db69c5@Spark> <16f86723408.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4527B04C-2ADE-4DCD-9997-DD68DB460E87@hindu.org> Message-ID: ScriptTracker was definitely the tool I needed. I didn't need an external script for any reason other than faster editing. On Sat, Jan 11, 2020 at 10:43 PM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > And if you want to edit scripts in an external editor, my tool may be > useful to you: > https://github.com/bwmilby/scriptTracker > > It would support putting the scripts themselves into a repository so you > could track changes. It generates a consolidated diff every time it > exports scripts. > > Thanks, > Brian > On Jan 11, 2020, 10:34 PM -0500, Sannyasin Brahmanathaswami via > use-livecode , wrote: > > No revision control. For people working in a "1 human silo" > > > > Is there a reason not to just put the script into a button and set the > > stack behavior to that? That's what I do when I don't want extra files in > > my build. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 14 13:29:12 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Jan 2020 12:29:12 -0600 Subject: encrypting script-only stacks In-Reply-To: References: <16fa5131d78.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <16fa55114c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> My thought was that you'd use the text files during development and then save them as binary with encryption for the final build. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 14, 2020 11:38:06 AM Kaveh Bazargan via use-livecode wrote: > The benefits of SoS are so important that I would hate to have to go back > to binary again. Nothing like having pure text files to version, back up > etc. so I am also hoping for an elegant solution to encode these in > standalone. > > On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Sure, and with the extra benefit that you wouldn't have to expose your >> code to end-users. >> >> That is, unless there's a way to include SoS in a standalone that >> includes encryption, such as an automated method in the Standalone Builder. >> >> I couldn't find one, but it seems like such a pervasive issue for the >> class of devs most likely to use SoS (pros dependent on VCS) that I'm >> hoping I just missed something. >> >> -- >> Richard Gaskin >> Fourth World Systems >> >> >> Jacque wrote: >> >> > Wouldn't a binary script-only stack be the library stack we already >> > have now? >> > -- >> > Jacqueline Landman Gay | jacque at hyperactivesw.com >> > >> > On January 14, 2020 9:55:01 AM Richard Gaskin wrote: >> > >> >> Since script-only stacks contain only a script with no properties, >> >> they have no password property, and thus cannot be encrypted. >> >> >> >> I had thought that including them in the Stacks pane of the >> >> Standalone Builder might convert them to binary substacks, where >> >> the password could apply. No dice. >> >> >> >> Is it a bug that script-only stacks can't be imported into the >> >> stackfile to become binary substacks? >> >> >> >> -- >> >> Richard Gaskin >> >> Fourth World Systems >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Kaveh Bazargan PhD > Director > River Valley Technologies ? Twitter > ? LinkedIn > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kaveh at rivervalleytechnologies.com Tue Jan 14 13:55:37 2020 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Tue, 14 Jan 2020 18:55:37 +0000 Subject: encrypting script-only stacks In-Reply-To: <16fa55114c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16fa5131d78.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16fa55114c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: That?s a great idea. :-) On Tue, 14 Jan 2020 at 18:30, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > My thought was that you'd use the text files during development and then > save them as binary with encryption for the final build. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 14, 2020 11:38:06 AM Kaveh Bazargan via use-livecode > wrote: > > > The benefits of SoS are so important that I would hate to have to go back > > to binary again. Nothing like having pure text files to version, back up > > etc. so I am also hoping for an elegant solution to encode these in > > standalone. > > > > On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Sure, and with the extra benefit that you wouldn't have to expose your > >> code to end-users. > >> > >> That is, unless there's a way to include SoS in a standalone that > >> includes encryption, such as an automated method in the Standalone > Builder. > >> > >> I couldn't find one, but it seems like such a pervasive issue for the > >> class of devs most likely to use SoS (pros dependent on VCS) that I'm > >> hoping I just missed something. > >> > >> -- > >> Richard Gaskin > >> Fourth World Systems > >> > >> > >> Jacque wrote: > >> > >> > Wouldn't a binary script-only stack be the library stack we already > >> > have now? > >> > -- > >> > Jacqueline Landman Gay | jacque at hyperactivesw.com > >> > > >> > On January 14, 2020 9:55:01 AM Richard Gaskin wrote: > >> > > >> >> Since script-only stacks contain only a script with no properties, > >> >> they have no password property, and thus cannot be encrypted. > >> >> > >> >> I had thought that including them in the Stacks pane of the > >> >> Standalone Builder might convert them to binary substacks, where > >> >> the password could apply. No dice. > >> >> > >> >> Is it a bug that script-only stacks can't be imported into the > >> >> stackfile to become binary substacks? > >> >> > >> >> -- > >> >> Richard Gaskin > >> >> Fourth World Systems > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > -- > > Kaveh Bazargan PhD > > Director > > River Valley Technologies ? > Twitter > > ? LinkedIn > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Sent from MetroMail From ambassador at fourthworld.com Tue Jan 14 14:12:20 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Jan 2020 11:12:20 -0800 Subject: encrypting script-only stacks In-Reply-To: <16fa55114c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16fa55114c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <33015fb4-a659-ea6a-f315-fe0313cec7c5@fourthworld.com> Exactly. I was hoping the Standalone Builder would do that if you choose to include external SoS in the standalone. What I found instead is that it doesn't being them into the standalone stack file as substacks, nor even convert them to binary stack files in place. It just refuses to allow a password to be set. For apps making rich use of SoS, it would seem tedious to do that conversion by hand, or to expect every developer to write the same pair of handlers to automate that before and after building the standalone. How do folks who use SoS frequently protect those SoS scripts? -- Richard Gaskin Fourth World Systems J. Landman Gay wrote: > My thought was that you'd use the text files during development and then > save them as binary with encryption for the final build. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 14, 2020 11:38:06 AM Kaveh Bazargan via use-livecode > wrote: > >> The benefits of SoS are so important that I would hate to have to go back >> to binary again. Nothing like having pure text files to version, back up >> etc. so I am also hoping for an elegant solution to encode these in >> standalone. >> >> On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Sure, and with the extra benefit that you wouldn't have to expose your >>> code to end-users. >>> >>> That is, unless there's a way to include SoS in a standalone that >>> includes encryption, such as an automated method in the Standalone Builder. >>> >>> I couldn't find one, but it seems like such a pervasive issue for the >>> class of devs most likely to use SoS (pros dependent on VCS) that I'm >>> hoping I just missed something. >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems From ambassador at fourthworld.com Tue Jan 14 14:14:19 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Jan 2020 11:14:19 -0800 Subject: Changing extention on script only stack In-Reply-To: References: Message-ID: <83634d17-4eee-7a38-2402-6a221e3a925a@fourthworld.com> Greg (Pink) Miller wrote: > ScriptTracker was definitely the tool I needed. I didn't need an external > script for any reason other than faster editing. If people are use SoS solely to get away from performance issues in the Script Editor, rather than add a pile of other tools to make SoS development simpler it would seem prudent to review and optimize the Script Editor. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Jan 14 14:16:01 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Jan 2020 11:16:01 -0800 Subject: SQL(ite) question In-Reply-To: References: Message-ID: <9943928d-2b20-490a-69da-6186b520b04e@fourthworld.com> Bob Sneidar wrote: > Actually I do this all the time. > > SELECT * from MyTable where > COLUMN1 like "%mysearchtermhere%" OR > COLUMN2 like "%mysearchtermhere%" OR > COLUMN3 like "%mysearchtermhere%" > > I loop through a list of columns I want to search to build the query. Wouldn't that be a brute-force search rather than the efficiency of SQLite's FTS index? -- 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 brahma at hindu.org Tue Jan 14 14:53:16 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 14 Jan 2020 19:53:16 +0000 Subject: Embarrasssing old bugs In-Reply-To: <4D49478A-64D3-4829-8B47-95AFB4B2D852@major-k.de> References: <4D49478A-64D3-4829-8B47-95AFB4B2D852@major-k.de> Message-ID: <0B0C945A-D600-4CB1-B92B-EE7FB24C1B5F@hindu.org> Klaus wrote "How embarrassing is this in 2020? If we want to get an even higher ranking than 36 on TIOBE, this should be fixed as? soon as possible." It is: embarrassing. The fact that the LC engine cannot does not produce ISO-8601 standard dates https://www.iso.org/iso-8601-date-and-time-format.html is one testimony of why the "Livecode Project" "regresses" as much as it tries to "proceed forward" https://quality.livecode.com/show_bug.cgi?id=7833 https://quality.livecode.com/show_bug.cgi?id=4636 There are several "convert date" libraries knocking around. That would help you?. BR From brian at milby7.com Tue Jan 14 14:55:28 2020 From: brian at milby7.com (Brian Milby) Date: Tue, 14 Jan 2020 14:55:28 -0500 Subject: Changing extention on script only stack In-Reply-To: <83634d17-4eee-7a38-2402-6a221e3a925a@fourthworld.com> References: <83634d17-4eee-7a38-2402-6a221e3a925a@fourthworld.com> Message-ID: <02bedf9e-edae-4491-a748-67ae206806dd@Spark> I would offer a clarification for ScriptTracker: ?while the files it exports could be used as-is for SoS behaviors, that is not the goal of the tool. ?One goal is to allow editing of scripts in external editors (performance is one reason, but there are others too). ?A larger goal is to allow Git to be used on a binary stack but have the key piece of information (the code) extracted in such a way to facilitate tracking the changes. ?A third goal goes hand in hand with that. ?This goal is to allow review of code online without having to download the actual stack. ?If you look at all of my public repositories you can review any code that is inside my binary stacks natively on GitHub. If a stack makes sense to distribute as a binary stack file (and not built as an application), then this makes the tracking easy. ?I also think it is better for the end user of the stack. ?Trevor does something the other way around with Baker?s Assistant. ?He develops with behaviors but then assembles everything into a single binary stack for distribution. ?I?ve done something similar with Navigator for my own use. Thanks, Brian On Jan 14, 2020, 2:15 PM -0500, Richard Gaskin via use-livecode , wrote: > Greg (Pink) Miller wrote: > > ScriptTracker was definitely the tool I needed. I didn't need an external > > script for any reason other than faster editing. > > If people are use SoS solely to get away from performance issues in the > Script Editor, rather than add a pile of other tools to make SoS > development simpler it would seem prudent to review and optimize the > Script Editor. > > -- > 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 Jan 14 15:04:45 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Jan 2020 12:04:45 -0800 Subject: Changing extention on script only stack In-Reply-To: <02bedf9e-edae-4491-a748-67ae206806dd@Spark> References: <02bedf9e-edae-4491-a748-67ae206806dd@Spark> Message-ID: Brian Milby wrote: > I would offer a clarification for ScriptTracker... I didn't mean to imply your fine tool's only purpose was to help people get around a slow Script Editor. It is indeed very useful for its intended purposes. But when we start using tools intended for all sorts of things to hobble together alternatives that allow us to avoid LC's Script Editor, I begin to wonder: Isn't it possible to build an efficient, enjoyable text editor in LC? I believe it is. I'd do it if someone would pay my bills for a month. -- 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 kaveh at rivervalleytechnologies.com Tue Jan 14 15:09:03 2020 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Tue, 14 Jan 2020 20:09:03 +0000 Subject: Changing extention on script only stack In-Reply-To: References: <02bedf9e-edae-4491-a748-67ae206806dd@Spark> Message-ID: The slow editing in LiveCode is a big drawback for me. It is slow, spacing is usually off till you hit tab, and generally not efficient. On Tue, 14 Jan 2020 at 20:06, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Brian Milby wrote: > > I would offer a clarification for ScriptTracker... > > I didn't mean to imply your fine tool's only purpose was to help people > get around a slow Script Editor. It is indeed very useful for its > intended purposes. > > But when we start using tools intended for all sorts of things to hobble > together alternatives that allow us to avoid LC's Script Editor, I begin > to wonder: > > Isn't it possible to build an efficient, enjoyable text editor in LC? > > I believe it is. > > I'd do it if someone would pay my bills for a month. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn From lists at mangomultimedia.com Tue Jan 14 15:23:38 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 14 Jan 2020 14:23:38 -0600 Subject: encrypting script-only stacks In-Reply-To: <33015fb4-a659-ea6a-f315-fe0313cec7c5@fourthworld.com> References: <16fa55114c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <33015fb4-a659-ea6a-f315-fe0313cec7c5@fourthworld.com> Message-ID: On Tue, Jan 14, 2020 at 1:13 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Exactly. I was hoping the Standalone Builder would do that if you > choose to include external SoS in the standalone. > > What I found instead is that it doesn't being them into the standalone > stack file as substacks, nor even convert them to binary stack files in > place. It just refuses to allow a password to be set. > > For apps making rich use of SoS, it would seem tedious to do that > conversion by hand, or to expect every developer to write the same pair > of handlers to automate that before and after building the standalone. > > How do folks who use SoS frequently protect those SoS scripts? > I use SoS extensively but I had never tried using the SB to encrypt them as I use Levure. The Levure packaging library automatically encrypts script only stacks for you during the packaging process. While Levure uses the SB to create the standalone, encrypting the stacks is handled in the Levure packaging library, not the SB. I agree that the SB should handle this for you though. -- Trevor DeVore ScreenSteps www.screensteps.com From jacque at hyperactivesw.com Tue Jan 14 15:25:33 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 Jan 2020 14:25:33 -0600 Subject: iOS launch screen dimensions In-Reply-To: References: Message-ID: I just went through a comparison and it looks like most of the actually do match. The SB is missing only these two: 11" iPad Pro 1668px ? 2388px 10.5" iPad Pro 1668px ? 2224px I used a couple of online image generators to get the full range of launch images, and they produced many other dimensions that aren't in the SB, and didn't include some that are. Maybe they were producing images for other things, storyboards maybe? On 1/13/20 4:02 PM, panagiotis merakos via use-livecode wrote: > Hello Jacque, > > The requirements in the S/B should match Apple's requirements - if they > don't then it looks like a bug. > > Which screen's dimensions do not match? Also could you post the link of the > webpage you are referring to? > > Kind regards > Panos > -- > > PS: Using a storyboard is not supported in LC. I _think_ it is possible to > do it though - if you tweak the IDE code that saves the iOS standalone. > > On Mon, 13 Jan 2020 at 23:46, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> The list of launch screen dimensions on the Apple developer site doesn't >> match the requirements in the standalone builder. Does that matter? >> >> Apple doesn't recommend that method anyway, they prefer a storyboard. >> Has anyone done that, and is it possible? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Jan 14 15:34:25 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Jan 2020 12:34:25 -0800 Subject: encrypting script-only stacks In-Reply-To: References: Message-ID: <7a167793-5245-0f54-898a-54f6e08e12ce@fourthworld.com> Trevor DeVore wrote: > On Tue, Jan 14, 2020 at 1:13 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Exactly. I was hoping the Standalone Builder would do that if you >> choose to include external SoS in the standalone. >> >> What I found instead is that it doesn't being them into the standalone >> stack file as substacks, nor even convert them to binary stack files in >> place. It just refuses to allow a password to be set. >> >> For apps making rich use of SoS, it would seem tedious to do that >> conversion by hand, or to expect every developer to write the same pair >> of handlers to automate that before and after building the standalone. >> >> How do folks who use SoS frequently protect those SoS scripts? >> > > I use SoS extensively but I had never tried using the SB to encrypt them as > I use Levure. The Levure packaging library automatically encrypts script > only stacks for you during the packaging process. While Levure uses the SB > to create the standalone, encrypting the stacks is handled in the Levure > packaging library, not the SB. I'm assuming Levure does this by converting a copy of the SoS stack files to binary stack files, yes? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Tue Jan 14 15:41:17 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Jan 2020 20:41:17 +0000 Subject: SQL(ite) question In-Reply-To: <9943928d-2b20-490a-69da-6186b520b04e@fourthworld.com> References: <9943928d-2b20-490a-69da-6186b520b04e@fourthworld.com> Message-ID: <3064842E-19FF-45C7-864B-AF56229C97ED@iotecdigital.com> Yes, but the original question was about whether or not it could be done with a single statement. Also I am not a big fan of full text searches the way they are implemented typically. For instance, on our copier vendor's websites they of course have searches, but what I end up with are 10,000 hits and almost none of them relevant. This is because they are not ranked, and the ranking makes all the difference in the world. My method does not rank of course, but it is a quick one liner that gets the job done (unless you have to build the query on the fly in a repeat loop). Bob S > On Jan 14, 2020, at 11:16 , Richard Gaskin via use-livecode wrote: > > Bob Sneidar wrote: >> Actually I do this all the time. SELECT * from MyTable where >> COLUMN1 like "%mysearchtermhere%" OR COLUMN2 like "%mysearchtermhere%" OR COLUMN3 like "%mysearchtermhere%" I loop through a list of columns I want to search to build the query. > > Wouldn't that be a brute-force search rather than the efficiency of SQLite's FTS index? > > -- > Richard Gaskin From bobsneidar at iotecdigital.com Tue Jan 14 15:44:33 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Jan 2020 20:44:33 +0000 Subject: Changing extention on script only stack In-Reply-To: References: <02bedf9e-edae-4491-a748-67ae206806dd@Spark> Message-ID: <37A55DE0-F703-4E05-8A19-45EF13B79EE8@iotecdigital.com> Let's remember this is just Windows we are talking about. I have no issues whatsoever with the OS X version of LC Script Editor, but the few times I really needed to code and debug in Windows it was like scratching my eyes out with a toothpick. Bob S > On Jan 14, 2020, at 12:09 , Kaveh Bazargan via use-livecode wrote: > > The slow editing in LiveCode is a big drawback for me. It is slow, spacing > is usually off till you hit tab, and generally not efficient. From alex at tweedly.net Tue Jan 14 15:46:32 2020 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 14 Jan 2020 20:46:32 +0000 Subject: Use-livecode author names In-Reply-To: <8592DFB7-FA51-4BD3-8205-F2BD828A6790@hyperhh.de> References: <8592DFB7-FA51-4BD3-8205-F2BD828A6790@hyperhh.de> Message-ID: I'm slightly unsure of those numbers. My email outbox has over 1000 messages to the list - and although a few of them were rejected :-), I would have thought I should still appear in that 'frequent-sender' list (even if I did split my posts between a couple of authornames). Alex. On 14/01/2020 11:17, hh via use-livecode wrote: > See the "statistics" here: > http://forums.livecode.com/viewtopic.php?p=186723#p186723 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Tue Jan 14 15:48:45 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 14 Jan 2020 14:48:45 -0600 Subject: encrypting script-only stacks In-Reply-To: <42af491f-8f94-9342-74a4-25c5daf9afc0@fourthworld.com> References: <42af491f-8f94-9342-74a4-25c5daf9afc0@fourthworld.com> Message-ID: On Tue, Jan 14, 2020 at 11:47 AM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > ... > > Help me motivate to move my Git transition forward sooner: > > Beyond backup across versions (since that's widely available in most > cloud storage for even binary files), that Git features do you find most > valuable? > Hi Richard - One way I use Git is to develop multiple features in tandem without affecting the version I distribute of my app that I distribute to customers. I love how I can silo my own work on features as well as the flexibility to see detailed history of changes throughout the life of my application. I use the Git commit notes and the ease with which you can review changes in those commits a number of times when trying to track down at what point a bug was introduced. Here is an example of how I silo work I'm doing right now. If you looked at my Git repo earlier today you would see the following branches: - master - develop - tkd-htmltidy - tkd-remove-answer-types - tkd-mammoth - tkd-hires-annotations `master` always has the release version of the code. `develop` is code that has been developed, tested, and is ready to go into the next release. I will create builds from this branch to send to customers who want early access to a feature or bug fix. All other branches are features that are being worked on but which are not finished and require more testing. Some of those branches exist for an afternoon. Some last for a month or more. Today I merged in `tkd-htmltidy` and tkd-remove-answer-types` into `develop` as they were finished and are ready to send to customers who need early access. When I squashed and merged those branches in there were a number of changes which had been made in the develop branch since I had started `tkd-htmltidy`. Those changes were seamless blended together without any problem, even though there were changes changes made in some of the same files. In addition, because I squashed the merge, all of the changes that went into the addition of HTML Tidy are seen as one commit in my `develop` branch. I made dozens of commits during development but was able to make one clean commit when I was all done and ready to merge the changes with the main code branch. This makes for a clean history that is easier to review later on. I will continue to work on the tkd-hires-annotations and tkd-mammoth branches as they aren't done yet and require more revisions. But once they are ready I perform the same squash and merge. If I want an internal tester or a customer to test those features out before they are ready I can do that too. I can use the Git rebase feature to bring in all changes to `develop` that have been made since I created a particular branch. That means the tester is using the latest version of the app along with the new feature I'm working on. One last example. Let's say that a nasty bug turns up while I'm working on `develop` and need to get a release out to customers right away. I can go to master, create a new branch from that code, make the fix, and package up a new installer. I can merge that fix into `develop` as well so that it will be included in a future update. I think the scenarios I describe above are my favorite reasons for using Git as they make my daily development and management of the code easier. -- Trevor DeVore ScreenSteps www.screensteps.com From lists at mangomultimedia.com Tue Jan 14 15:50:55 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 14 Jan 2020 14:50:55 -0600 Subject: encrypting script-only stacks In-Reply-To: <7a167793-5245-0f54-898a-54f6e08e12ce@fourthworld.com> References: <7a167793-5245-0f54-898a-54f6e08e12ce@fourthworld.com> Message-ID: On Tue, Jan 14, 2020 at 2:35 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Trevor DeVore wrote: > > > I use SoS extensively but I had never tried using the SB to encrypt them > as > > I use Levure. The Levure packaging library automatically encrypts script > > only stacks for you during the packaging process. While Levure uses the > SB > > to create the standalone, encrypting the stacks is handled in the Levure > > packaging library, not the SB. > > I'm assuming Levure does this by converting a copy of the SoS stack > files to binary stack files, yes? > That is correct. The SoS is opened, the the scriptonly property of the stack is set to false, and then it is saved using the same filename. This is all done in a temporary directory so that the source file isn't modified at all. -- Trevor DeVore ScreenSteps www.screensteps.com From mail at richard-hillen.de Tue Jan 14 16:16:31 2020 From: mail at richard-hillen.de (Richard Hillen) Date: Tue, 14 Jan 2020 22:16:31 +0100 Subject: Cause found for LC crashing to desktop when Browser widget opens PDF In-Reply-To: References: Message-ID: <962D7E08-202B-4204-8456-1F5FF3E67079@richard-hillen.de> Hello Matthias, Macbook Pro with LC 9.5, Catalina, Acrobat DC, pdf on browser widget works in developer mode. Not tested as standalone. Richard. > Message: 6 > Date: Tue, 14 Jan 2020 18:56:43 +0100 > From: matthias_livecode_150811 at m-r-d.de > To: How to use LiveCode > Subject: FYI: Cause found for LC crashing to desktop when Browser > widget opens PDF > Message-ID: <2F2113EE-3F78-4219-9E79-62202326473B at m-r-d.de> > Content-Type: text/plain; charset=utf-8 > > Hi, > > maybe this is of use for the one or the other. > in any case LC crashes on Mac to desktop when opening a PDF in the Browser Widget and your are getting crazy because of that, then check if Acrobat software is installed on your system. > > ... > Matthias > > > > > > > ------------------------------ > > Message: 7 > Date: Tue, 14 Jan 2020 18:00:06 +0000 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: SQL(ite) question > Message-ID: > Content-Type: text/plain; charset="utf-8" > > The only problem I see here is that it is possible to get a match with the last part of one column and the first part of the next, especially with numerical data, which would be a false positive. > > Bob S > > >> On Jan 14, 2020, at 01:15 , Klaus major-k via use-livecode wrote: >> >> Hi Sean, >> >>>> Am 14.01.2020 um 02:04 schrieb Pi Digital via use-livecode : >>> >>> Even easier: >>> >>> SELECT * FROM MyTable WHERE ((col1+col2+aCol1+aCol2) LIKE ?%mysearchtermhere%?) >> >> aha, thank you very much, I had no idea this is possible! :-) >> >>> Sean Cole >>> Pi Digital Prod Ltd >>> >>>>> On 13 Jan 2020, at 23:03, Bob Sneidar via use-livecode wrote: >>>> ?Actually I do this all the time. >>>> SELECT * from MyTable where >>>> COLUMN1 like "%mysearchtermhere%" OR >>>> COLUMN2 like "%mysearchtermhere%" OR >>>> COLUMN3 like "%mysearchtermhere%" >>>> I loop through a list of columns I want to search to build the query. >>>> >>>> Bob S >>>> >> > > > ------------------------------ > > Message: 8 > Date: Tue, 14 Jan 2020 18:04:03 +0000 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: Embarrasssing old bugs > Message-ID: <844BD184-2C38-4B85-AA78-61F878D7B9F3 at iotecdigital.com> > Content-Type: text/plain; charset="us-ascii" > > This is why I always convert dates to what I call SQL datetime (YY:MM:DD HH:MM:SS). For display purposes I format as needed. Not sure this would help on an Android though. > > Bob S > > >> On Jan 14, 2020, at 09:55 , Klaus major-k via use-livecode wrote: >> >> And now I have to tell him that after 5 (FIVE!) years we still do not have >> "system date" etc. on Android!? >> >> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. > > > > > ------------------------------ > > Message: 9 > Date: Tue, 14 Jan 2020 19:05:29 +0100 > From: Klaus major-k > To: How to use LiveCode > Subject: Re: SQL(ite) question > Message-ID: > Content-Type: text/plain; charset=utf-8 > > Hi Bob, > >> Am 14.01.2020 um 19:00 schrieb Bob Sneidar via use-livecode : >> >> The only problem I see here is that it is possible to get a match with the last part of one column and the first part of the next, especially with numerical data, which would be a false positive. > > AHA, so SQL treats this: > ... WHERE ((col1+col2+aCol1+aCol2) ...) > > Like this in LC: > ... WHERE ((col1 & col2 & aCol1 &aCol2) ...) > ? > >> Bob S >> ... >>>> Even easier: >>>> SELECT * FROM MyTable WHERE ((col1+col2+aCol1+aCol2) LIKE ?%mysearchtermhere%?) >>> aha, thank you very much, I had no idea this is possible! :-) >>>> Sean Cole >>>> Pi Digital Prod Ltd >>>>>> On 13 Jan 2020, at 23:03, Bob Sneidar via use-livecode wrote: >>>>> ?Actually I do this all the time. >>>>> SELECT * from MyTable where >>>>> COLUMN1 like "%mysearchtermhere%" OR >>>>> COLUMN2 like "%mysearchtermhere%" OR >>>>> COLUMN3 like "%mysearchtermhere%" >>>>> I loop through a list of columns I want to search to build the query. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > > > ------------------------------ > > Message: 10 > Date: Tue, 14 Jan 2020 18:07:03 +0000 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: SQL(ite) question > Message-ID: <4C4CB887-DAF8-432C-A82C-19D9E06F9B2D at iotecdigital.com> > Content-Type: text/plain; charset="us-ascii" > > Pretty sure + means concatenate, otherwise that SQL statement would not work in any I can imagine. > > Bob S > > >> On Jan 14, 2020, at 10:05 , Klaus major-k via use-livecode wrote: >> >> Hi Bob, >> >>>> Am 14.01.2020 um 19:00 schrieb Bob Sneidar via use-livecode : >>> >>> The only problem I see here is that it is possible to get a match with the last part of one column and the first part of the next, especially with numerical data, which would be a false positive. >> >> AHA, so SQL treats this: >> ... WHERE ((col1+col2+aCol1+aCol2) ...) >> >> Like this in LC: >> ... WHERE ((col1 & col2 & aCol1 &aCol2) ...) >> ? >> >>> Bob S > > > > > ------------------------------ > > Message: 11 > Date: Tue, 14 Jan 2020 19:07:59 +0100 > From: Klaus major-k > To: How to use LiveCode > Subject: Re: Embarrasssing old bugs > Message-ID: <939D4592-643B-4EE2-979C-DAB965573189 at major-k.de> > Content-Type: text/plain; charset=us-ascii > > Hi Bob, > >> Am 14.01.2020 um 19:04 schrieb Bob Sneidar via use-livecode : >> This is why I always convert dates to what I call SQL datetime (YY:MM:DD HH:MM:SS). For display purposes I format as needed. > > sure, that's what we do in the moment, but something like this is not easily worked around: > -> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. > >> Not sure this would help on an Android though. > > Not really. :-) > >> Bob S >> >>>> On Jan 14, 2020, at 09:55 , Klaus major-k via use-livecode wrote: >>> And now I have to tell him that after 5 (FIVE!) years we still do not have >>> "system date" etc. on Android!? >>> >>> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > > > ------------------------------ > > Message: 12 > Date: Tue, 14 Jan 2020 19:09:29 +0100 > From: Jjs > To: How to use LiveCode , Klaus major-k > via use-livecode > Subject: Re: Embarrasssing old bugs > Message-ID: > Content-Type: text/plain; charset=utf-8 > > There are more things which are still not possible in LC concerning mobile. It goes back to 2011 and that is get ads in your app. Or decent touch possibilities like TUIO for all desktop platforms. > > Klaus major-k via use-livecode schreef op 14 januari 2020 18:55:33 CET: >> Hi all, hi mothership, >> >> a customer of mine asked me to help him, he needs to deliver an >> update to his existing app. >> >> I hade been mentoring him, a complete newbie, about two years ago >> and after a couple of months he had an app in the iOS store and in >> the Google Paly store (or what this is called). Not too bad. :-) >> >> And now I have to tell him that after 5 (FIVE!) years we still do not >> have >> "system date" etc. on Android!? >> >> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. >> >> And that we still have no (LC typically easy) way of displaying a PDF >> on Android. >> >> How embarrassing is this in 2020? >> If we want to get an even higher ranking than 36 on TIOBE, this should >> be fixed as >> soon as possible. >> >> This is of course only my "not humble at all" opinion! :-) >> >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> 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 > > -- > Verstuurd vanaf mijn Android apparaat met K-9 Mail. > > ------------------------------ > > Message: 13 > Date: Tue, 14 Jan 2020 13:26:30 -0500 > From: "Greg (Pink) Miller" > To: How to use LiveCode > Subject: Re: Changing extention on script only stack > Message-ID: > > Content-Type: text/plain; charset="UTF-8" > > ScriptTracker was definitely the tool I needed. I didn't need an external > script for any reason other than faster editing. > > On Sat, Jan 11, 2020 at 10:43 PM Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> And if you want to edit scripts in an external editor, my tool may be >> useful to you: >> https://github.com/bwmilby/scriptTracker >> >> It would support putting the scripts themselves into a repository so you >> could track changes. It generates a consolidated diff every time it >> exports scripts. >> >> Thanks, >> Brian >>> On Jan 11, 2020, 10:34 PM -0500, Sannyasin Brahmanathaswami via >>> use-livecode , wrote: >>> No revision control. For people working in a "1 human silo" >>> >>> Is there a reason not to just put the script into a button and set the >>> stack behavior to that? That's what I do when I don't want extra files in >>> my build. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > ------------------------------ > > Message: 14 > Date: Tue, 14 Jan 2020 12:29:12 -0600 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: encrypting script-only stacks > Message-ID: > <16fa55114c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9 at hyperactivesw.com> > Content-Type: text/plain; format=flowed; charset="UTF-8" > > My thought was that you'd use the text files during development and then > save them as binary with encryption for the final build. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 14, 2020 11:38:06 AM Kaveh Bazargan via use-livecode > wrote: > >> The benefits of SoS are so important that I would hate to have to go back >> to binary again. Nothing like having pure text files to version, back up >> etc. so I am also hoping for an elegant solution to encode these in >> standalone. >> >> On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Sure, and with the extra benefit that you wouldn't have to expose your >>> code to end-users. >>> >>> That is, unless there's a way to include SoS in a standalone that >>> includes encryption, such as an automated method in the Standalone Builder. >>> >>> I couldn't find one, but it seems like such a pervasive issue for the >>> class of devs most likely to use SoS (pros dependent on VCS) that I'm >>> hoping I just missed something. >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> >>> >>> Jacque wrote: >>> >>>> Wouldn't a binary script-only stack be the library stack we already >>>> have now? >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> >>>> On January 14, 2020 9:55:01 AM Richard Gaskin wrote: >>>> >>>>> Since script-only stacks contain only a script with no properties, >>>>> they have no password property, and thus cannot be encrypted. >>>>> >>>>> I had thought that including them in the Stacks pane of the >>>>> Standalone Builder might convert them to binary substacks, where >>>>> the password could apply. No dice. >>>>> >>>>> Is it a bug that script-only stacks can't be imported into the >>>>> stackfile to become binary substacks? >>>>> >>>>> -- >>>>> Richard Gaskin >>>>> Fourth World Systems >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> Kaveh Bazargan PhD >> Director >> River Valley Technologies ? Twitter >> ? LinkedIn >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > ------------------------------ > > Message: 15 > Date: Tue, 14 Jan 2020 18:55:37 +0000 > From: Kaveh Bazargan > To: How to use LiveCode > Subject: Re: encrypting script-only stacks > Message-ID: > > Content-Type: text/plain; charset="UTF-8" > > That?s a great idea. :-) > > On Tue, 14 Jan 2020 at 18:30, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> My thought was that you'd use the text files during development and then >> save them as binary with encryption for the final build. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On January 14, 2020 11:38:06 AM Kaveh Bazargan via use-livecode >> wrote: >> >>> The benefits of SoS are so important that I would hate to have to go back >>> to binary again. Nothing like having pure text files to version, back up >>> etc. so I am also hoping for an elegant solution to encode these in >>> standalone. >>> >>> On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Sure, and with the extra benefit that you wouldn't have to expose your >>>> code to end-users. >>>> >>>> That is, unless there's a way to include SoS in a standalone that >>>> includes encryption, such as an automated method in the Standalone >> Builder. >>>> >>>> I couldn't find one, but it seems like such a pervasive issue for the >>>> class of devs most likely to use SoS (pros dependent on VCS) that I'm >>>> hoping I just missed something. >>>> >>>> -- >>>> Richard Gaskin >>>> Fourth World Systems >>>> >>>> >>>> Jacque wrote: >>>> >>>>> Wouldn't a binary script-only stack be the library stack we already >>>>> have now? >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> >>>>> On January 14, 2020 9:55:01 AM Richard Gaskin wrote: >>>>> >>>>>> Since script-only stacks contain only a script with no properties, >>>>>> they have no password property, and thus cannot be encrypted. >>>>>> >>>>>> I had thought that including them in the Stacks pane of the >>>>>> Standalone Builder might convert them to binary substacks, where >>>>>> the password could apply. No dice. >>>>>> >>>>>> Is it a bug that script-only stacks can't be imported into the >>>>>> stackfile to become binary substacks? >>>>>> >>>>>> -- >>>>>> Richard Gaskin >>>>>> Fourth World Systems >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> -- >>> Kaveh Bazargan PhD >>> Director >>> River Valley Technologies ? >> Twitter >>> ? LinkedIn >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- > Sent from MetroMail > > > ------------------------------ > > Message: 16 > Date: Tue, 14 Jan 2020 11:12:20 -0800 > From: Richard Gaskin > To: use-livecode at lists.runrev.com > Subject: Re: encrypting script-only stacks > Message-ID: <33015fb4-a659-ea6a-f315-fe0313cec7c5 at fourthworld.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > Exactly. I was hoping the Standalone Builder would do that if you > choose to include external SoS in the standalone. > > What I found instead is that it doesn't being them into the standalone > stack file as substacks, nor even convert them to binary stack files in > place. It just refuses to allow a password to be set. > > For apps making rich use of SoS, it would seem tedious to do that > conversion by hand, or to expect every developer to write the same pair > of handlers to automate that before and after building the standalone. > > How do folks who use SoS frequently protect those SoS scripts? > > -- > Richard Gaskin > Fourth World Systems > > > J. Landman Gay wrote: >> My thought was that you'd use the text files during development and then >> save them as binary with encryption for the final build. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On January 14, 2020 11:38:06 AM Kaveh Bazargan via use-livecode >> wrote: >> >>> The benefits of SoS are so important that I would hate to have to go back >>> to binary again. Nothing like having pure text files to version, back up >>> etc. so I am also hoping for an elegant solution to encode these in >>> standalone. >>> >>> On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Sure, and with the extra benefit that you wouldn't have to expose your >>>> code to end-users. >>>> >>>> That is, unless there's a way to include SoS in a standalone that >>>> includes encryption, such as an automated method in the Standalone Builder. >>>> >>>> I couldn't find one, but it seems like such a pervasive issue for the >>>> class of devs most likely to use SoS (pros dependent on VCS) that I'm >>>> hoping I just missed something. >>>> >>>> -- >>>> Richard Gaskin >>>> Fourth World Systems > > > > > ------------------------------ > > Message: 17 > Date: Tue, 14 Jan 2020 11:14:19 -0800 > From: Richard Gaskin > To: use-livecode at lists.runrev.com > Subject: Re: Changing extention on script only stack > Message-ID: <83634d17-4eee-7a38-2402-6a221e3a925a at fourthworld.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > Greg (Pink) Miller wrote: >> ScriptTracker was definitely the tool I needed. I didn't need an external >> script for any reason other than faster editing. > > If people are use SoS solely to get away from performance issues in the > Script Editor, rather than add a pile of other tools to make SoS > development simpler it would seem prudent to review and optimize the > Script Editor. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > ------------------------------ > > Message: 18 > Date: Tue, 14 Jan 2020 11:16:01 -0800 > From: Richard Gaskin > To: use-livecode at lists.runrev.com > Subject: Re: SQL(ite) question > Message-ID: <9943928d-2b20-490a-69da-6186b520b04e at fourthworld.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > Bob Sneidar wrote: >> Actually I do this all the time. >> >> SELECT * from MyTable where >> COLUMN1 like "%mysearchtermhere%" OR >> COLUMN2 like "%mysearchtermhere%" OR >> COLUMN3 like "%mysearchtermhere%" >> >> I loop through a list of columns I want to search to build the query. > > Wouldn't that be a brute-force search rather than the efficiency of > SQLite's FTS index? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > ------------------------------ > > Message: 19 > Date: Tue, 14 Jan 2020 19:53:16 +0000 > From: Sannyasin Brahmanathaswami > To: How to use LiveCode > Subject: Re: Embarrasssing old bugs > Message-ID: <0B0C945A-D600-4CB1-B92B-EE7FB24C1B5F at hindu.org> > Content-Type: text/plain; charset="utf-8" > > Klaus wrote > "How embarrassing is this in 2020? If we want to get an even higher ranking than 36 on TIOBE, this should be fixed as? > soon as possible." > > It is: embarrassing. The fact that the LC engine cannot does not produce > > ISO-8601 standard dates > > https://www.iso.org/iso-8601-date-and-time-format.html > > is one testimony of why the "Livecode Project" "regresses" as much as it tries to "proceed forward" > > https://quality.livecode.com/show_bug.cgi?id=7833 > > https://quality.livecode.com/show_bug.cgi?id=4636 > > > There are several "convert date" libraries knocking around. That would help you?. > > BR > > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ------------------------------ > > End of use-livecode Digest, Vol 196, Issue 15 > ********************************************* From ambassador at fourthworld.com Tue Jan 14 17:05:23 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Jan 2020 14:05:23 -0800 Subject: SQL(ite) question In-Reply-To: <3064842E-19FF-45C7-864B-AF56229C97ED@iotecdigital.com> References: <3064842E-19FF-45C7-864B-AF56229C97ED@iotecdigital.com> Message-ID: <7d51f093-3193-86b7-8be1-04a22d960206@fourthworld.com> Bob Sneidar wrote: > Yes, but the original question was about whether or not it could be > done with a single statement. Also I am not a big fan of full text > searches the way they are implemented typically. For instance, on our > copier vendor's websites they of course have searches, but what I end > up with are 10,000 hits and almost none of them relevant. This is > because they are not ranked, and the ranking makes all the difference > in the world. > > My method does not rank of course, but it is a quick one liner that > gets the job done (unless you have to build the query on the fly in a > repeat loop). SQLite's FTS is described as providing ranking. Maybe they were using an older version, or not using the full API? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Jan 14 17:08:28 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Jan 2020 14:08:28 -0800 Subject: Changing extention on script only stack In-Reply-To: <37A55DE0-F703-4E05-8A19-45EF13B79EE8@iotecdigital.com> References: <37A55DE0-F703-4E05-8A19-45EF13B79EE8@iotecdigital.com> Message-ID: <362a642b-9db5-ba45-0e8f-c020ca0211f5@fourthworld.com> Bob Sneidar wrote: > Let's remember this is just Windows we are talking about. I have no > issues whatsoever with the OS X version of LC Script Editor... While performance issues are most evident on Windows, there's some noticeable lag on Mac too. Most who use external editors here are on Mac. And then there are oddities that affect all platforms, like the line numbers getting out of sync with the text when scrolling. > ...but the few times I really needed to code and debug in Windows > it was like scratching my eyes out with a toothpick. Yeah, that. I'll throw in a debugger for free if someone takes me up on by editor offer. -- 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 matthias_livecode_150811 at m-r-d.de Tue Jan 14 17:13:35 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 14 Jan 2020 23:13:35 +0100 Subject: Cause found for LC crashing to desktop when Browser widget opens PDF In-Reply-To: <962D7E08-202B-4204-8456-1F5FF3E67079@richard-hillen.de> References: <962D7E08-202B-4204-8456-1F5FF3E67079@richard-hillen.de> Message-ID: Hm, i am working with Mojave 10.14.6 and the most current version of Acrobat DC. Maybe this also depends on the os. Anyway i can replicate it on a newly installed Mac. We?ll see what LC?s Dev Team does say. > Am 14.01.2020 um 22:16 schrieb Richard Hillen via use-livecode : > > Hello Matthias, > > Macbook Pro with LC 9.5, Catalina, Acrobat DC, > pdf on browser widget works in developer mode. Not tested as standalone. > > Richard. > >> Message: 6 >> Date: Tue, 14 Jan 2020 18:56:43 +0100 >> From: matthias_livecode_150811 at m-r-d.de >> To: How to use LiveCode >> Subject: FYI: Cause found for LC crashing to desktop when Browser >> widget opens PDF >> Message-ID: <2F2113EE-3F78-4219-9E79-62202326473B at m-r-d.de> >> Content-Type: text/plain; charset=utf-8 >> >> Hi, >> >> maybe this is of use for the one or the other. >> in any case LC crashes on Mac to desktop when opening a PDF in the Browser Widget and your are getting crazy because of that, then check if Acrobat software is installed on your system. >> >> ... >> Matthias >> >> >> >> >> >> >> ------------------------------ >> >> Message: 7 >> Date: Tue, 14 Jan 2020 18:00:06 +0000 >> From: Bob Sneidar >> To: How to use LiveCode >> Subject: Re: SQL(ite) question >> Message-ID: >> Content-Type: text/plain; charset="utf-8" >> >> The only problem I see here is that it is possible to get a match with the last part of one column and the first part of the next, especially with numerical data, which would be a false positive. >> >> Bob S >> >> >>> On Jan 14, 2020, at 01:15 , Klaus major-k via use-livecode wrote: >>> >>> Hi Sean, >>> >>>>> Am 14.01.2020 um 02:04 schrieb Pi Digital via use-livecode : >>>> >>>> Even easier: >>>> >>>> SELECT * FROM MyTable WHERE ((col1+col2+aCol1+aCol2) LIKE ?%mysearchtermhere%?) >>> >>> aha, thank you very much, I had no idea this is possible! :-) >>> >>>> Sean Cole >>>> Pi Digital Prod Ltd >>>> >>>>>> On 13 Jan 2020, at 23:03, Bob Sneidar via use-livecode wrote: >>>>> ?Actually I do this all the time. >>>>> SELECT * from MyTable where >>>>> COLUMN1 like "%mysearchtermhere%" OR >>>>> COLUMN2 like "%mysearchtermhere%" OR >>>>> COLUMN3 like "%mysearchtermhere%" >>>>> I loop through a list of columns I want to search to build the query. >>>>> >>>>> Bob S >>>>> >>> >> >> >> ------------------------------ >> >> Message: 8 >> Date: Tue, 14 Jan 2020 18:04:03 +0000 >> From: Bob Sneidar >> To: How to use LiveCode >> Subject: Re: Embarrasssing old bugs >> Message-ID: <844BD184-2C38-4B85-AA78-61F878D7B9F3 at iotecdigital.com> >> Content-Type: text/plain; charset="us-ascii" >> >> This is why I always convert dates to what I call SQL datetime (YY:MM:DD HH:MM:SS). For display purposes I format as needed. Not sure this would help on an Android though. >> >> Bob S >> >> >>> On Jan 14, 2020, at 09:55 , Klaus major-k via use-livecode wrote: >>> >>> And now I have to tell him that after 5 (FIVE!) years we still do not have >>> "system date" etc. on Android!? >>> >>> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. >> >> >> >> >> ------------------------------ >> >> Message: 9 >> Date: Tue, 14 Jan 2020 19:05:29 +0100 >> From: Klaus major-k >> To: How to use LiveCode >> Subject: Re: SQL(ite) question >> Message-ID: >> Content-Type: text/plain; charset=utf-8 >> >> Hi Bob, >> >>> Am 14.01.2020 um 19:00 schrieb Bob Sneidar via use-livecode : >>> >>> The only problem I see here is that it is possible to get a match with the last part of one column and the first part of the next, especially with numerical data, which would be a false positive. >> >> AHA, so SQL treats this: >> ... WHERE ((col1+col2+aCol1+aCol2) ...) >> >> Like this in LC: >> ... WHERE ((col1 & col2 & aCol1 &aCol2) ...) >> ? >> >>> Bob S >>> ... >>>>> Even easier: >>>>> SELECT * FROM MyTable WHERE ((col1+col2+aCol1+aCol2) LIKE ?%mysearchtermhere%?) >>>> aha, thank you very much, I had no idea this is possible! :-) >>>>> Sean Cole >>>>> Pi Digital Prod Ltd >>>>>>> On 13 Jan 2020, at 23:03, Bob Sneidar via use-livecode wrote: >>>>>> ?Actually I do this all the time. >>>>>> SELECT * from MyTable where >>>>>> COLUMN1 like "%mysearchtermhere%" OR >>>>>> COLUMN2 like "%mysearchtermhere%" OR >>>>>> COLUMN3 like "%mysearchtermhere%" >>>>>> I loop through a list of columns I want to search to build the query. >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> >> >> ------------------------------ >> >> Message: 10 >> Date: Tue, 14 Jan 2020 18:07:03 +0000 >> From: Bob Sneidar >> To: How to use LiveCode >> Subject: Re: SQL(ite) question >> Message-ID: <4C4CB887-DAF8-432C-A82C-19D9E06F9B2D at iotecdigital.com> >> Content-Type: text/plain; charset="us-ascii" >> >> Pretty sure + means concatenate, otherwise that SQL statement would not work in any I can imagine. >> >> Bob S >> >> >>> On Jan 14, 2020, at 10:05 , Klaus major-k via use-livecode wrote: >>> >>> Hi Bob, >>> >>>>> Am 14.01.2020 um 19:00 schrieb Bob Sneidar via use-livecode : >>>> >>>> The only problem I see here is that it is possible to get a match with the last part of one column and the first part of the next, especially with numerical data, which would be a false positive. >>> >>> AHA, so SQL treats this: >>> ... WHERE ((col1+col2+aCol1+aCol2) ...) >>> >>> Like this in LC: >>> ... WHERE ((col1 & col2 & aCol1 &aCol2) ...) >>> ? >>> >>>> Bob S >> >> >> >> >> ------------------------------ >> >> Message: 11 >> Date: Tue, 14 Jan 2020 19:07:59 +0100 >> From: Klaus major-k >> To: How to use LiveCode >> Subject: Re: Embarrasssing old bugs >> Message-ID: <939D4592-643B-4EE2-979C-DAB965573189 at major-k.de> >> Content-Type: text/plain; charset=us-ascii >> >> Hi Bob, >> >>> Am 14.01.2020 um 19:04 schrieb Bob Sneidar via use-livecode : >>> This is why I always convert dates to what I call SQL datetime (YY:MM:DD HH:MM:SS). For display purposes I format as needed. >> >> sure, that's what we do in the moment, but something like this is not easily worked around: >> -> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. >> >>> Not sure this would help on an Android though. >> >> Not really. :-) >> >>> Bob S >>> >>>>> On Jan 14, 2020, at 09:55 , Klaus major-k via use-livecode wrote: >>>> And now I have to tell him that after 5 (FIVE!) years we still do not have >>>> "system date" etc. on Android!? >>>> >>>> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> >> >> ------------------------------ >> >> Message: 12 >> Date: Tue, 14 Jan 2020 19:09:29 +0100 >> From: Jjs >> To: How to use LiveCode , Klaus major-k >> via use-livecode >> Subject: Re: Embarrasssing old bugs >> Message-ID: >> Content-Type: text/plain; charset=utf-8 >> >> There are more things which are still not possible in LC concerning mobile. It goes back to 2011 and that is get ads in your app. Or decent touch possibilities like TUIO for all desktop platforms. >> >> Klaus major-k via use-livecode schreef op 14 januari 2020 18:55:33 CET: >>> Hi all, hi mothership, >>> >>> a customer of mine asked me to help him, he needs to deliver an >>> update to his existing app. >>> >>> I hade been mentoring him, a complete newbie, about two years ago >>> and after a couple of months he had an app in the iOS store and in >>> the Google Paly store (or what this is called). Not too bad. :-) >>> >>> And now I have to tell him that after 5 (FIVE!) years we still do not >>> have >>> "system date" etc. on Android!? >>> >>> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. >>> >>> And that we still have no (LC typically easy) way of displaying a PDF >>> on Android. >>> >>> How embarrassing is this in 2020? >>> If we want to get an even higher ranking than 36 on TIOBE, this should >>> be fixed as >>> soon as possible. >>> >>> This is of course only my "not humble at all" opinion! :-) >>> >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> 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 >> >> -- >> Verstuurd vanaf mijn Android apparaat met K-9 Mail. >> >> ------------------------------ >> >> Message: 13 >> Date: Tue, 14 Jan 2020 13:26:30 -0500 >> From: "Greg (Pink) Miller" >> To: How to use LiveCode >> Subject: Re: Changing extention on script only stack >> Message-ID: >> >> Content-Type: text/plain; charset="UTF-8" >> >> ScriptTracker was definitely the tool I needed. I didn't need an external >> script for any reason other than faster editing. >> >> On Sat, Jan 11, 2020 at 10:43 PM Brian Milby via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> And if you want to edit scripts in an external editor, my tool may be >>> useful to you: >>> https://github.com/bwmilby/scriptTracker >>> >>> It would support putting the scripts themselves into a repository so you >>> could track changes. It generates a consolidated diff every time it >>> exports scripts. >>> >>> Thanks, >>> Brian >>>> On Jan 11, 2020, 10:34 PM -0500, Sannyasin Brahmanathaswami via >>>> use-livecode , wrote: >>>> No revision control. For people working in a "1 human silo" >>>> >>>> Is there a reason not to just put the script into a button and set the >>>> stack behavior to that? That's what I do when I don't want extra files in >>>> my build. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> ------------------------------ >> >> Message: 14 >> Date: Tue, 14 Jan 2020 12:29:12 -0600 >> From: "J. Landman Gay" >> To: How to use LiveCode >> Subject: Re: encrypting script-only stacks >> Message-ID: >> <16fa55114c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9 at hyperactivesw.com> >> Content-Type: text/plain; format=flowed; charset="UTF-8" >> >> My thought was that you'd use the text files during development and then >> save them as binary with encryption for the final build. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On January 14, 2020 11:38:06 AM Kaveh Bazargan via use-livecode >> wrote: >> >>> The benefits of SoS are so important that I would hate to have to go back >>> to binary again. Nothing like having pure text files to version, back up >>> etc. so I am also hoping for an elegant solution to encode these in >>> standalone. >>> >>> On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Sure, and with the extra benefit that you wouldn't have to expose your >>>> code to end-users. >>>> >>>> That is, unless there's a way to include SoS in a standalone that >>>> includes encryption, such as an automated method in the Standalone Builder. >>>> >>>> I couldn't find one, but it seems like such a pervasive issue for the >>>> class of devs most likely to use SoS (pros dependent on VCS) that I'm >>>> hoping I just missed something. >>>> >>>> -- >>>> Richard Gaskin >>>> Fourth World Systems >>>> >>>> >>>> Jacque wrote: >>>> >>>>> Wouldn't a binary script-only stack be the library stack we already >>>>> have now? >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> >>>>> On January 14, 2020 9:55:01 AM Richard Gaskin wrote: >>>>> >>>>>> Since script-only stacks contain only a script with no properties, >>>>>> they have no password property, and thus cannot be encrypted. >>>>>> >>>>>> I had thought that including them in the Stacks pane of the >>>>>> Standalone Builder might convert them to binary substacks, where >>>>>> the password could apply. No dice. >>>>>> >>>>>> Is it a bug that script-only stacks can't be imported into the >>>>>> stackfile to become binary substacks? >>>>>> >>>>>> -- >>>>>> Richard Gaskin >>>>>> Fourth World Systems >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> -- >>> Kaveh Bazargan PhD >>> Director >>> River Valley Technologies ? Twitter >>> ? LinkedIn >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> >> >> ------------------------------ >> >> Message: 15 >> Date: Tue, 14 Jan 2020 18:55:37 +0000 >> From: Kaveh Bazargan >> To: How to use LiveCode >> Subject: Re: encrypting script-only stacks >> Message-ID: >> >> Content-Type: text/plain; charset="UTF-8" >> >> That?s a great idea. :-) >> >> On Tue, 14 Jan 2020 at 18:30, J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> My thought was that you'd use the text files during development and then >>> save them as binary with encryption for the final build. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On January 14, 2020 11:38:06 AM Kaveh Bazargan via use-livecode >>> wrote: >>> >>>> The benefits of SoS are so important that I would hate to have to go back >>>> to binary again. Nothing like having pure text files to version, back up >>>> etc. so I am also hoping for an elegant solution to encode these in >>>> standalone. >>>> >>>> On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Sure, and with the extra benefit that you wouldn't have to expose your >>>>> code to end-users. >>>>> >>>>> That is, unless there's a way to include SoS in a standalone that >>>>> includes encryption, such as an automated method in the Standalone >>> Builder. >>>>> >>>>> I couldn't find one, but it seems like such a pervasive issue for the >>>>> class of devs most likely to use SoS (pros dependent on VCS) that I'm >>>>> hoping I just missed something. >>>>> >>>>> -- >>>>> Richard Gaskin >>>>> Fourth World Systems >>>>> >>>>> >>>>> Jacque wrote: >>>>> >>>>>> Wouldn't a binary script-only stack be the library stack we already >>>>>> have now? >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> >>>>>> On January 14, 2020 9:55:01 AM Richard Gaskin wrote: >>>>>> >>>>>>> Since script-only stacks contain only a script with no properties, >>>>>>> they have no password property, and thus cannot be encrypted. >>>>>>> >>>>>>> I had thought that including them in the Stacks pane of the >>>>>>> Standalone Builder might convert them to binary substacks, where >>>>>>> the password could apply. No dice. >>>>>>> >>>>>>> Is it a bug that script-only stacks can't be imported into the >>>>>>> stackfile to become binary substacks? >>>>>>> >>>>>>> -- >>>>>>> Richard Gaskin >>>>>>> Fourth World Systems >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> -- >>>> Kaveh Bazargan PhD >>>> Director >>>> River Valley Technologies ? >>> Twitter >>>> ? LinkedIn >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> -- >> Sent from MetroMail >> >> >> ------------------------------ >> >> Message: 16 >> Date: Tue, 14 Jan 2020 11:12:20 -0800 >> From: Richard Gaskin >> To: use-livecode at lists.runrev.com >> Subject: Re: encrypting script-only stacks >> Message-ID: <33015fb4-a659-ea6a-f315-fe0313cec7c5 at fourthworld.com> >> Content-Type: text/plain; charset=utf-8; format=flowed >> >> Exactly. I was hoping the Standalone Builder would do that if you >> choose to include external SoS in the standalone. >> >> What I found instead is that it doesn't being them into the standalone >> stack file as substacks, nor even convert them to binary stack files in >> place. It just refuses to allow a password to be set. >> >> For apps making rich use of SoS, it would seem tedious to do that >> conversion by hand, or to expect every developer to write the same pair >> of handlers to automate that before and after building the standalone. >> >> How do folks who use SoS frequently protect those SoS scripts? >> >> -- >> Richard Gaskin >> Fourth World Systems >> >> >> J. Landman Gay wrote: >>> My thought was that you'd use the text files during development and then >>> save them as binary with encryption for the final build. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On January 14, 2020 11:38:06 AM Kaveh Bazargan via use-livecode >>> wrote: >>> >>>> The benefits of SoS are so important that I would hate to have to go back >>>> to binary again. Nothing like having pure text files to version, back up >>>> etc. so I am also hoping for an elegant solution to encode these in >>>> standalone. >>>> >>>> On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Sure, and with the extra benefit that you wouldn't have to expose your >>>>> code to end-users. >>>>> >>>>> That is, unless there's a way to include SoS in a standalone that >>>>> includes encryption, such as an automated method in the Standalone Builder. >>>>> >>>>> I couldn't find one, but it seems like such a pervasive issue for the >>>>> class of devs most likely to use SoS (pros dependent on VCS) that I'm >>>>> hoping I just missed something. >>>>> >>>>> -- >>>>> Richard Gaskin >>>>> Fourth World Systems >> >> >> >> >> ------------------------------ >> >> Message: 17 >> Date: Tue, 14 Jan 2020 11:14:19 -0800 >> From: Richard Gaskin >> To: use-livecode at lists.runrev.com >> Subject: Re: Changing extention on script only stack >> Message-ID: <83634d17-4eee-7a38-2402-6a221e3a925a at fourthworld.com> >> Content-Type: text/plain; charset=utf-8; format=flowed >> >> Greg (Pink) Miller wrote: >>> ScriptTracker was definitely the tool I needed. I didn't need an external >>> script for any reason other than faster editing. >> >> If people are use SoS solely to get away from performance issues in the >> Script Editor, rather than add a pile of other tools to make SoS >> development simpler it would seem prudent to review and optimize the >> Script Editor. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> >> >> ------------------------------ >> >> Message: 18 >> Date: Tue, 14 Jan 2020 11:16:01 -0800 >> From: Richard Gaskin >> To: use-livecode at lists.runrev.com >> Subject: Re: SQL(ite) question >> Message-ID: <9943928d-2b20-490a-69da-6186b520b04e at fourthworld.com> >> Content-Type: text/plain; charset=utf-8; format=flowed >> >> Bob Sneidar wrote: >>> Actually I do this all the time. >>> >>> SELECT * from MyTable where >>> COLUMN1 like "%mysearchtermhere%" OR >>> COLUMN2 like "%mysearchtermhere%" OR >>> COLUMN3 like "%mysearchtermhere%" >>> >>> I loop through a list of columns I want to search to build the query. >> >> Wouldn't that be a brute-force search rather than the efficiency of >> SQLite's FTS index? >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> >> >> ------------------------------ >> >> Message: 19 >> Date: Tue, 14 Jan 2020 19:53:16 +0000 >> From: Sannyasin Brahmanathaswami >> To: How to use LiveCode >> Subject: Re: Embarrasssing old bugs >> Message-ID: <0B0C945A-D600-4CB1-B92B-EE7FB24C1B5F at hindu.org> >> Content-Type: text/plain; charset="utf-8" >> >> Klaus wrote >> "How embarrassing is this in 2020? If we want to get an even higher ranking than 36 on TIOBE, this should be fixed as? >> soon as possible." >> >> It is: embarrassing. The fact that the LC engine cannot does not produce >> >> ISO-8601 standard dates >> >> https://www.iso.org/iso-8601-date-and-time-format.html >> >> is one testimony of why the "Livecode Project" "regresses" as much as it tries to "proceed forward" >> >> https://quality.livecode.com/show_bug.cgi?id=7833 >> >> https://quality.livecode.com/show_bug.cgi?id=4636 >> >> >> There are several "convert date" libraries knocking around. That would help you?. >> >> BR >> >> >> >> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> ------------------------------ >> >> End of use-livecode Digest, Vol 196, Issue 15 >> ********************************************* > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 14 17:13:59 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Jan 2020 14:13:59 -0800 Subject: encrypting script-only stacks In-Reply-To: References: Message-ID: <52694a1f-8cf6-9c44-aa49-82b884a23e2e@fourthworld.com> Thanks, Trevor. That's a helpful outline. I haven't had a business case to support so many branches, but I can see where it might be useful down the road. Any opinions on Github vs Gitlab? -- Richard Gaskin Fourth World Systems Trevor DeVore wrote: > On Tue, Jan 14, 2020 at 11:47 AM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> ... >> >> Help me motivate to move my Git transition forward sooner: >> >> Beyond backup across versions (since that's widely available in most >> cloud storage for even binary files), that Git features do you find most >> valuable? >> > > Hi Richard - > > One way I use Git is to develop multiple features in tandem without > affecting the version I distribute of my app that I distribute to > customers. I love how I can silo my own work on features as well as the > flexibility to see detailed history of changes throughout the life of my > application. I use the Git commit notes and the ease with which you can > review changes in those commits a number of times when trying to track down > at what point a bug was introduced. > > Here is an example of how I silo work I'm doing right now. If you looked at > my Git repo earlier today you would see the following branches: > > - master > - develop > - tkd-htmltidy > - tkd-remove-answer-types > - tkd-mammoth > - tkd-hires-annotations > > `master` always has the release version of the code. > > `develop` is code that has been developed, tested, and is ready to go into > the next release. I will create builds from this branch to send to > customers who want early access to a feature or bug fix. > > All other branches are features that are being worked on but which are not > finished and require more testing. Some of those branches exist for an > afternoon. Some last for a month or more. > > Today I merged in `tkd-htmltidy` and tkd-remove-answer-types` into > `develop` as they were finished and are ready to send to customers who need > early access. When I squashed and merged those branches in there were a > number of changes which had been made in the develop branch since I had > started `tkd-htmltidy`. Those changes were seamless blended together > without any problem, even though there were changes changes made in some of > the same files. In addition, because I squashed the merge, all of the > changes that went into the addition of HTML Tidy are seen as one commit in > my `develop` branch. I made dozens of commits during development but was > able to make one clean commit when I was all done and ready to merge the > changes with the main code branch. This makes for a clean history that is > easier to review later on. > > I will continue to work on the tkd-hires-annotations and tkd-mammoth > branches as they aren't done yet and require more revisions. But once they > are ready I perform the same squash and merge. If I want an internal tester > or a customer to test those features out before they are ready I can do > that too. I can use the Git rebase feature to bring in all changes to > `develop` that have been made since I created a particular branch. That > means the tester is using the latest version of the app along with the new > feature I'm working on. > > One last example. Let's say that a nasty bug turns up while I'm working on > `develop` and need to get a release out to customers right away. I can go > to master, create a new branch from that code, make the fix, and package up > a new installer. I can merge that fix into `develop` as well so that it > will be included in a future update. > > I think the scenarios I describe above are my favorite reasons for using > Git as they make my daily development and management of the code easier. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com From klaus at major-k.de Tue Jan 14 17:23:50 2020 From: klaus at major-k.de (Klaus major-k) Date: Tue, 14 Jan 2020 23:23:50 +0100 Subject: Embarrasssing old bugs In-Reply-To: <0B0C945A-D600-4CB1-B92B-EE7FB24C1B5F@hindu.org> References: <4D49478A-64D3-4829-8B47-95AFB4B2D852@major-k.de> <0B0C945A-D600-4CB1-B92B-EE7FB24C1B5F@hindu.org> Message-ID: <4B16498E-08F4-4922-8C24-F91F7F84BCCD@major-k.de> Hi Swami, > Am 14.01.2020 um 20:53 schrieb Sannyasin Brahmanathaswami via use-livecode : > > Klaus wrote > "How embarrassing is this in 2020? If we want to get an even higher ranking than 36 on TIOBE, this should be fixed as > soon as possible." > It is: embarrassing. The fact that the LC engine cannot does not produce > ISO-8601 standard dates > https://www.iso.org/iso-8601-date-and-time-format.html > is one testimony of why the "Livecode Project" "regresses" as much as it tries to "proceed forward" > https://quality.livecode.com/show_bug.cgi?id=7833 > https://quality.livecode.com/show_bug.cgi?id=4636 Ouch! :-/ > There are several "convert date" libraries knocking around. That would help you?. Thank you, but after now more than 20 years using of MC/RR/R/LC I know how to do that. :-D > BR Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Tue Jan 14 17:42:23 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Jan 2020 22:42:23 +0000 Subject: Changing extention on script only stack In-Reply-To: <362a642b-9db5-ba45-0e8f-c020ca0211f5@fourthworld.com> References: <37A55DE0-F703-4E05-8A19-45EF13B79EE8@iotecdigital.com> <362a642b-9db5-ba45-0e8f-c020ca0211f5@fourthworld.com> Message-ID: <7EEBBA22-BE2C-4328-8F7F-00AFA00CAE0D@iotecdigital.com> I'll pitch in for lunch but I can't fund the whole project. Bob S > On Jan 14, 2020, at 14:08 , Richard Gaskin via use-livecode wrote: > > Bob Sneidar wrote: > > > Let's remember this is just Windows we are talking about. I have no > > issues whatsoever with the OS X version of LC Script Editor... > > While performance issues are most evident on Windows, there's some noticeable lag on Mac too. Most who use external editors here are on Mac. > > And then there are oddities that affect all platforms, like the line numbers getting out of sync with the text when scrolling. > > > > ...but the few times I really needed to code and debug in Windows > > it was like scratching my eyes out with a toothpick. > > Yeah, that. > > I'll throw in a debugger for free if someone takes me up on by editor offer. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web From rdimola at evergreeninfo.net Tue Jan 14 18:30:39 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 14 Jan 2020 18:30:39 -0500 Subject: Cause found for LC crashing to desktop when Browser widget opens PDF In-Reply-To: References: <962D7E08-202B-4204-8456-1F5FF3E67079@richard-hillen.de> Message-ID: <009501d5cb32$a422b900$ec682b00$@net> FYI: I'm not seeing this. PDF display OK. 1) New stack 2) Create Browser widget 3) Put https URL to a PDF into the Property inspector. LC 9.5.1 LC 9.6dp2 Win 10 1709 Acrobat DC 2019.021.20061 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Matthias Rebbe via use-livecode Sent: Tuesday, January 14, 2020 5:14 PM To: How to use LiveCode Cc: matthias_livecode_150811 at m-r-d.de Subject: Re: Cause found for LC crashing to desktop when Browser widget opens PDF Hm, i am working with Mojave 10.14.6 and the most current version of Acrobat DC. Maybe this also depends on the os. Anyway i can replicate it on a newly installed Mac. We?ll see what LC?s Dev Team does say. > Am 14.01.2020 um 22:16 schrieb Richard Hillen via use-livecode : > > Hello Matthias, > > Macbook Pro with LC 9.5, Catalina, Acrobat DC, pdf on browser widget > works in developer mode. Not tested as standalone. > > Richard. > >> Message: 6 >> Date: Tue, 14 Jan 2020 18:56:43 +0100 >> From: matthias_livecode_150811 at m-r-d.de >> To: How to use LiveCode >> Subject: FYI: Cause found for LC crashing to desktop when Browser >> widget opens PDF >> Message-ID: <2F2113EE-3F78-4219-9E79-62202326473B at m-r-d.de> >> Content-Type: text/plain; charset=utf-8 >> >> Hi, >> >> maybe this is of use for the one or the other. >> in any case LC crashes on Mac to desktop when opening a PDF in the Browser Widget and your are getting crazy because of that, then check if Acrobat software is installed on your system. >> >> ... >> Matthias >> >> >> >> >> >> >> ------------------------------ >> >> Message: 7 >> Date: Tue, 14 Jan 2020 18:00:06 +0000 >> From: Bob Sneidar >> To: How to use LiveCode >> Subject: Re: SQL(ite) question >> Message-ID: >> Content-Type: text/plain; charset="utf-8" >> >> The only problem I see here is that it is possible to get a match with the last part of one column and the first part of the next, especially with numerical data, which would be a false positive. >> >> Bob S >> >> >>> On Jan 14, 2020, at 01:15 , Klaus major-k via use-livecode wrote: >>> >>> Hi Sean, >>> >>>>> Am 14.01.2020 um 02:04 schrieb Pi Digital via use-livecode : >>>> >>>> Even easier: >>>> >>>> SELECT * FROM MyTable WHERE ((col1+col2+aCol1+aCol2) LIKE >>>> ?%mysearchtermhere%?) >>> >>> aha, thank you very much, I had no idea this is possible! :-) >>> >>>> Sean Cole >>>> Pi Digital Prod Ltd >>>> >>>>>> On 13 Jan 2020, at 23:03, Bob Sneidar via use-livecode wrote: >>>>> ?Actually I do this all the time. >>>>> SELECT * from MyTable where >>>>> COLUMN1 like "%mysearchtermhere%" OR >>>>> COLUMN2 like "%mysearchtermhere%" OR >>>>> COLUMN3 like "%mysearchtermhere%" >>>>> I loop through a list of columns I want to search to build the query. >>>>> >>>>> Bob S >>>>> >>> >> >> >> ------------------------------ >> >> Message: 8 >> Date: Tue, 14 Jan 2020 18:04:03 +0000 >> From: Bob Sneidar >> To: How to use LiveCode >> Subject: Re: Embarrasssing old bugs >> Message-ID: <844BD184-2C38-4B85-AA78-61F878D7B9F3 at iotecdigital.com> >> Content-Type: text/plain; charset="us-ascii" >> >> This is why I always convert dates to what I call SQL datetime (YY:MM:DD HH:MM:SS). For display purposes I format as needed. Not sure this would help on an Android though. >> >> Bob S >> >> >>> On Jan 14, 2020, at 09:55 , Klaus major-k via use-livecode wrote: >>> >>> And now I have to tell him that after 5 (FIVE!) years we still do >>> not have "system date" etc. on Android!? >>> >>> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. >> >> >> >> >> ------------------------------ >> >> Message: 9 >> Date: Tue, 14 Jan 2020 19:05:29 +0100 >> From: Klaus major-k >> To: How to use LiveCode >> Subject: Re: SQL(ite) question >> Message-ID: >> Content-Type: text/plain; charset=utf-8 >> >> Hi Bob, >> >>> Am 14.01.2020 um 19:00 schrieb Bob Sneidar via use-livecode : >>> >>> The only problem I see here is that it is possible to get a match with the last part of one column and the first part of the next, especially with numerical data, which would be a false positive. >> >> AHA, so SQL treats this: >> ... WHERE ((col1+col2+aCol1+aCol2) ...) >> >> Like this in LC: >> ... WHERE ((col1 & col2 & aCol1 &aCol2) ...) ? >> >>> Bob S >>> ... >>>>> Even easier: >>>>> SELECT * FROM MyTable WHERE ((col1+col2+aCol1+aCol2) LIKE >>>>> ?%mysearchtermhere%?) >>>> aha, thank you very much, I had no idea this is possible! :-) >>>>> Sean Cole >>>>> Pi Digital Prod Ltd >>>>>>> On 13 Jan 2020, at 23:03, Bob Sneidar via use-livecode wrote: >>>>>> ?Actually I do this all the time. >>>>>> SELECT * from MyTable where >>>>>> COLUMN1 like "%mysearchtermhere%" OR >>>>>> COLUMN2 like "%mysearchtermhere%" OR >>>>>> COLUMN3 like "%mysearchtermhere%" >>>>>> I loop through a list of columns I want to search to build the query. >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> >> >> ------------------------------ >> >> Message: 10 >> Date: Tue, 14 Jan 2020 18:07:03 +0000 >> From: Bob Sneidar >> To: How to use LiveCode >> Subject: Re: SQL(ite) question >> Message-ID: <4C4CB887-DAF8-432C-A82C-19D9E06F9B2D at iotecdigital.com> >> Content-Type: text/plain; charset="us-ascii" >> >> Pretty sure + means concatenate, otherwise that SQL statement would not work in any I can imagine. >> >> Bob S >> >> >>> On Jan 14, 2020, at 10:05 , Klaus major-k via use-livecode wrote: >>> >>> Hi Bob, >>> >>>>> Am 14.01.2020 um 19:00 schrieb Bob Sneidar via use-livecode : >>>> >>>> The only problem I see here is that it is possible to get a match with the last part of one column and the first part of the next, especially with numerical data, which would be a false positive. >>> >>> AHA, so SQL treats this: >>> ... WHERE ((col1+col2+aCol1+aCol2) ...) >>> >>> Like this in LC: >>> ... WHERE ((col1 & col2 & aCol1 &aCol2) ...) ? >>> >>>> Bob S >> >> >> >> >> ------------------------------ >> >> Message: 11 >> Date: Tue, 14 Jan 2020 19:07:59 +0100 >> From: Klaus major-k >> To: How to use LiveCode >> Subject: Re: Embarrasssing old bugs >> Message-ID: <939D4592-643B-4EE2-979C-DAB965573189 at major-k.de> >> Content-Type: text/plain; charset=us-ascii >> >> Hi Bob, >> >>> Am 14.01.2020 um 19:04 schrieb Bob Sneidar via use-livecode : >>> This is why I always convert dates to what I call SQL datetime (YY:MM:DD HH:MM:SS). For display purposes I format as needed. >> >> sure, that's what we do in the moment, but something like this is not easily worked around: >> -> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. >> >>> Not sure this would help on an Android though. >> >> Not really. :-) >> >>> Bob S >>> >>>>> On Jan 14, 2020, at 09:55 , Klaus major-k via use-livecode wrote: >>>> And now I have to tell him that after 5 (FIVE!) years we still do >>>> not have "system date" etc. on Android!? >>>> >>>> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> >> >> ------------------------------ >> >> Message: 12 >> Date: Tue, 14 Jan 2020 19:09:29 +0100 >> From: Jjs >> To: How to use LiveCode , Klaus major-k >> via use-livecode >> Subject: Re: Embarrasssing old bugs >> Message-ID: >> Content-Type: text/plain; charset=utf-8 >> >> There are more things which are still not possible in LC concerning mobile. It goes back to 2011 and that is get ads in your app. Or decent touch possibilities like TUIO for all desktop platforms. >> >> Klaus major-k via use-livecode schreef op 14 januari 2020 18:55:33 CET: >>> Hi all, hi mothership, >>> >>> a customer of mine asked me to help him, he needs to deliver an >>> update to his existing app. >>> >>> I hade been mentoring him, a complete newbie, about two years ago >>> and after a couple of months he had an app in the iOS store and in >>> the Google Paly store (or what this is called). Not too bad. :-) >>> >>> And now I have to tell him that after 5 (FIVE!) years we still do >>> not have "system date" etc. on Android!? >>> >>> As a result we cannot e.g. sort a datagrid by "sytem datetime" etc. >>> >>> And that we still have no (LC typically easy) way of displaying a >>> PDF on Android. >>> >>> How embarrassing is this in 2020? >>> If we want to get an even higher ranking than 36 on TIOBE, this >>> should be fixed as soon as possible. >>> >>> This is of course only my "not humble at all" opinion! :-) >>> >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> https://www.major-k.de >>> 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 >> >> -- >> Verstuurd vanaf mijn Android apparaat met K-9 Mail. >> >> ------------------------------ >> >> Message: 13 >> Date: Tue, 14 Jan 2020 13:26:30 -0500 >> From: "Greg (Pink) Miller" >> To: How to use LiveCode >> Subject: Re: Changing extention on script only stack >> Message-ID: >> >> >> Content-Type: text/plain; charset="UTF-8" >> >> ScriptTracker was definitely the tool I needed. I didn't need an >> external script for any reason other than faster editing. >> >> On Sat, Jan 11, 2020 at 10:43 PM Brian Milby via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> And if you want to edit scripts in an external editor, my tool may >>> be useful to you: >>> https://github.com/bwmilby/scriptTracker >>> >>> It would support putting the scripts themselves into a repository so >>> you could track changes. It generates a consolidated diff every >>> time it exports scripts. >>> >>> Thanks, >>> Brian >>>> On Jan 11, 2020, 10:34 PM -0500, Sannyasin Brahmanathaswami via >>>> use-livecode , wrote: >>>> No revision control. For people working in a "1 human silo" >>>> >>>> Is there a reason not to just put the script into a button and set >>>> the stack behavior to that? That's what I do when I don't want >>>> extra files in my build. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> ------------------------------ >> >> Message: 14 >> Date: Tue, 14 Jan 2020 12:29:12 -0600 >> From: "J. Landman Gay" >> To: How to use LiveCode >> Subject: Re: encrypting script-only stacks >> Message-ID: >> >> <16fa55114c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9 at hyperactivesw.com> >> Content-Type: text/plain; format=flowed; charset="UTF-8" >> >> My thought was that you'd use the text files during development and >> then save them as binary with encryption for the final build. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive >> Software | http://www.hyperactivesw.com On January 14, 2020 11:38:06 >> AM Kaveh Bazargan via use-livecode >> wrote: >> >>> The benefits of SoS are so important that I would hate to have to go >>> back to binary again. Nothing like having pure text files to >>> version, back up etc. so I am also hoping for an elegant solution to >>> encode these in standalone. >>> >>> On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Sure, and with the extra benefit that you wouldn't have to expose >>>> your code to end-users. >>>> >>>> That is, unless there's a way to include SoS in a standalone that >>>> includes encryption, such as an automated method in the Standalone Builder. >>>> >>>> I couldn't find one, but it seems like such a pervasive issue for >>>> the class of devs most likely to use SoS (pros dependent on VCS) >>>> that I'm hoping I just missed something. >>>> >>>> -- >>>> Richard Gaskin >>>> Fourth World Systems >>>> >>>> >>>> Jacque wrote: >>>> >>>>> Wouldn't a binary script-only stack be the library stack we >>>>> already have now? >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> >>>>> On January 14, 2020 9:55:01 AM Richard Gaskin wrote: >>>>> >>>>>> Since script-only stacks contain only a script with no >>>>>> properties, they have no password property, and thus cannot be encrypted. >>>>>> >>>>>> I had thought that including them in the Stacks pane of the >>>>>> Standalone Builder might convert them to binary substacks, where >>>>>> the password could apply. No dice. >>>>>> >>>>>> Is it a bug that script-only stacks can't be imported into the >>>>>> stackfile to become binary substacks? >>>>>> >>>>>> -- >>>>>> Richard Gaskin >>>>>> Fourth World Systems >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> -- >>> Kaveh Bazargan PhD >>> Director >>> River Valley Technologies ? >>> Twitter ? LinkedIn >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> >> >> ------------------------------ >> >> Message: 15 >> Date: Tue, 14 Jan 2020 18:55:37 +0000 >> From: Kaveh Bazargan >> To: How to use LiveCode >> Subject: Re: encrypting script-only stacks >> Message-ID: >> >> >> Content-Type: text/plain; charset="UTF-8" >> >> That?s a great idea. :-) >> >> On Tue, 14 Jan 2020 at 18:30, J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> My thought was that you'd use the text files during development and >>> then save them as binary with encryption for the final build. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive >>> Software | http://www.hyperactivesw.com On January 14, 2020 11:38:06 >>> AM Kaveh Bazargan via use-livecode >>> wrote: >>> >>>> The benefits of SoS are so important that I would hate to have to >>>> go back to binary again. Nothing like having pure text files to >>>> version, back up etc. so I am also hoping for an elegant solution >>>> to encode these in standalone. >>>> >>>> On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Sure, and with the extra benefit that you wouldn't have to expose >>>>> your code to end-users. >>>>> >>>>> That is, unless there's a way to include SoS in a standalone that >>>>> includes encryption, such as an automated method in the Standalone >>> Builder. >>>>> >>>>> I couldn't find one, but it seems like such a pervasive issue for >>>>> the class of devs most likely to use SoS (pros dependent on VCS) >>>>> that I'm hoping I just missed something. >>>>> >>>>> -- >>>>> Richard Gaskin >>>>> Fourth World Systems >>>>> >>>>> >>>>> Jacque wrote: >>>>> >>>>>> Wouldn't a binary script-only stack be the library stack we >>>>>> already have now? >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> >>>>>> On January 14, 2020 9:55:01 AM Richard Gaskin wrote: >>>>>> >>>>>>> Since script-only stacks contain only a script with no >>>>>>> properties, they have no password property, and thus cannot be encrypted. >>>>>>> >>>>>>> I had thought that including them in the Stacks pane of the >>>>>>> Standalone Builder might convert them to binary substacks, where >>>>>>> the password could apply. No dice. >>>>>>> >>>>>>> Is it a bug that script-only stacks can't be imported into the >>>>>>> stackfile to become binary substacks? >>>>>>> >>>>>>> -- >>>>>>> Richard Gaskin >>>>>>> Fourth World Systems >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> -- >>>> Kaveh Bazargan PhD >>>> Director >>>> River Valley Technologies ? >>> Twitter >>>> ? LinkedIn >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> -- >> Sent from MetroMail >> >> >> ------------------------------ >> >> Message: 16 >> Date: Tue, 14 Jan 2020 11:12:20 -0800 >> From: Richard Gaskin >> To: use-livecode at lists.runrev.com >> Subject: Re: encrypting script-only stacks >> Message-ID: <33015fb4-a659-ea6a-f315-fe0313cec7c5 at fourthworld.com> >> Content-Type: text/plain; charset=utf-8; format=flowed >> >> Exactly. I was hoping the Standalone Builder would do that if you >> choose to include external SoS in the standalone. >> >> What I found instead is that it doesn't being them into the >> standalone stack file as substacks, nor even convert them to binary >> stack files in place. It just refuses to allow a password to be set. >> >> For apps making rich use of SoS, it would seem tedious to do that >> conversion by hand, or to expect every developer to write the same >> pair of handlers to automate that before and after building the standalone. >> >> How do folks who use SoS frequently protect those SoS scripts? >> >> -- >> Richard Gaskin >> Fourth World Systems >> >> >> J. Landman Gay wrote: >>> My thought was that you'd use the text files during development and >>> then save them as binary with encryption for the final build. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive >>> Software | http://www.hyperactivesw.com On January 14, 2020 11:38:06 >>> AM Kaveh Bazargan via use-livecode >> lists.runrev.com> wrote: >>> >>>> The benefits of SoS are so important that I would hate to have to >>>> go back to binary again. Nothing like having pure text files to >>>> version, back up etc. so I am also hoping for an elegant solution >>>> to encode these in standalone. >>>> >>>> On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Sure, and with the extra benefit that you wouldn't have to expose >>>>> your code to end-users. >>>>> >>>>> That is, unless there's a way to include SoS in a standalone that >>>>> includes encryption, such as an automated method in the Standalone Builder. >>>>> >>>>> I couldn't find one, but it seems like such a pervasive issue for >>>>> the class of devs most likely to use SoS (pros dependent on VCS) >>>>> that I'm hoping I just missed something. >>>>> >>>>> -- >>>>> Richard Gaskin >>>>> Fourth World Systems >> >> >> >> >> ------------------------------ >> >> Message: 17 >> Date: Tue, 14 Jan 2020 11:14:19 -0800 >> From: Richard Gaskin >> To: use-livecode at lists.runrev.com >> Subject: Re: Changing extention on script only stack >> Message-ID: <83634d17-4eee-7a38-2402-6a221e3a925a at fourthworld.com> >> Content-Type: text/plain; charset=utf-8; format=flowed >> >> Greg (Pink) Miller wrote: >>> ScriptTracker was definitely the tool I needed. I didn't need an >>> external script for any reason other than faster editing. >> >> If people are use SoS solely to get away from performance issues in >> the Script Editor, rather than add a pile of other tools to make SoS >> development simpler it would seem prudent to review and optimize the >> Script Editor. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> >> >> ------------------------------ >> >> Message: 18 >> Date: Tue, 14 Jan 2020 11:16:01 -0800 >> From: Richard Gaskin >> To: use-livecode at lists.runrev.com >> Subject: Re: SQL(ite) question >> Message-ID: <9943928d-2b20-490a-69da-6186b520b04e at fourthworld.com> >> Content-Type: text/plain; charset=utf-8; format=flowed >> >> Bob Sneidar wrote: >>> Actually I do this all the time. >>> >>> SELECT * from MyTable where >>> COLUMN1 like "%mysearchtermhere%" OR >>> COLUMN2 like "%mysearchtermhere%" OR >>> COLUMN3 like "%mysearchtermhere%" >>> >>> I loop through a list of columns I want to search to build the query. >> >> Wouldn't that be a brute-force search rather than the efficiency of >> SQLite's FTS index? >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> >> >> ------------------------------ >> >> Message: 19 >> Date: Tue, 14 Jan 2020 19:53:16 +0000 >> From: Sannyasin Brahmanathaswami >> To: How to use LiveCode >> Subject: Re: Embarrasssing old bugs >> Message-ID: <0B0C945A-D600-4CB1-B92B-EE7FB24C1B5F at hindu.org> >> Content-Type: text/plain; charset="utf-8" >> >> Klaus wrote >> "How embarrassing is this in 2020? If we want to get an even higher ranking than 36 on TIOBE, this should be fixed as? >> soon as possible." >> >> It is: embarrassing. The fact that the LC engine cannot does not >> produce >> >> ISO-8601 standard dates >> >> https://www.iso.org/iso-8601-date-and-time-format.html >> >> is one testimony of why the "Livecode Project" "regresses" as much as it tries to "proceed forward" >> >> https://quality.livecode.com/show_bug.cgi?id=7833 >> >> https://quality.livecode.com/show_bug.cgi?id=4636 >> >> >> There are several "convert date" libraries knocking around. That would help you?. >> >> BR >> >> >> >> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> ------------------------------ >> >> End of use-livecode Digest, Vol 196, Issue 15 >> ********************************************* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Jan 14 19:29:46 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Jan 2020 16:29:46 -0800 Subject: Embarrasssing old bugs In-Reply-To: <4B16498E-08F4-4922-8C24-F91F7F84BCCD@major-k.de> References: <4B16498E-08F4-4922-8C24-F91F7F84BCCD@major-k.de> Message-ID: Kalus major-k wrote: >> Am 14.01.2020 um 20:53 schrieb Sannyasin Brahmanathaswami via use-livecode : >> There are several "convert date" libraries knocking around. That would help you?. > > Thank you, but after now more than 20 years using of MC/RR/R/LC I know how to do that. :-D The irony here is that in the DB file itself the date is stored as an integer, which LC could hand off to it quite easily, were it not for the SQL interface that demands a specific textual representation. -- 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 brahma at hindu.org Tue Jan 14 20:43:59 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 15 Jan 2020 01:43:59 +0000 Subject: Embarrasssing old bugs In-Reply-To: <4B16498E-08F4-4922-8C24-F91F7F84BCCD@major-k.de> References: <4D49478A-64D3-4829-8B47-95AFB4B2D852@major-k.de> <0B0C945A-D600-4CB1-B92B-EE7FB24C1B5F@hindu.org> <4B16498E-08F4-4922-8C24-F91F7F84BCCD@major-k.de> Message-ID: <8D339FE9-80AE-4C1A-B931-C0C8370FE762@hindu.org> https://quality.livecode.com/show_bug.cgi?id=4636 Klaus: Ouch! :-/ > There are several "convert date" libraries knocking around. That would help you?. Thank you, but after now more than 20 years using of MC/RR/R/LC I know how to do that. __ ------------ HA! Maybe would can add comments to that "enhancement" And thus we have a 13 year old feature request __ Well, are least in says something for Livecode Longevity/Stability. Meanwhile I know an "associate" who jumps for Angular, to React, to Gatsby and finally settles for (you won't believe this) for Word Press. There's something to be said for "now more than 20 years using of MC/RR/R/LC I know how to do that." From ahsoftware at sonic.net Tue Jan 14 23:27:50 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 14 Jan 2020 20:27:50 -0800 Subject: encrypting script-only stacks In-Reply-To: References: Message-ID: <4d14e2cb-9eaa-f7cd-aaf6-e79cf80155fe@sonic.net> On 1/14/20 7:52 AM, Richard Gaskin via use-livecode wrote: > Is it a bug that script-only stacks can't be imported into the stackfile > to become binary substacks? > They can, but it's a one-way operation. Once you've done that the substack and the script-only text file are two different entities. Editing one won't affect the other. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Tue Jan 14 23:36:08 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 14 Jan 2020 20:36:08 -0800 Subject: encrypting script-only stacks In-Reply-To: <42af491f-8f94-9342-74a4-25c5daf9afc0@fourthworld.com> References: <42af491f-8f94-9342-74a4-25c5daf9afc0@fourthworld.com> Message-ID: <9664134c-2806-9e69-ce4d-8b83f8ce6e42@sonic.net> On 1/14/20 9:46 AM, Richard Gaskin via use-livecode wrote: > Beyond backup across versions (since that's widely available in most > cloud storage for even binary files), that Git features do you find most > valuable? > As in Trevor's description, the advantage of being able to create new branches for experimental work can't be overstated. Consider: you have a working project and want to try making some changes that may or may not work. And that may or may not stop existing things from working. Or maybe you just want to try some A-B testing and be able to create two different versions. Or create a new version and be able to do some performance benchmarking. All without messing with your existing product code. If it works you can merge the branch into the main code. If not then just dump the branch and you haven't lost anything except some time. I also use tagging in git to set release values, so that I can easily see what's changed from one release to the next. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Tue Jan 14 23:38:30 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 14 Jan 2020 20:38:30 -0800 Subject: encrypting script-only stacks In-Reply-To: <52694a1f-8cf6-9c44-aa49-82b884a23e2e@fourthworld.com> References: <52694a1f-8cf6-9c44-aa49-82b884a23e2e@fourthworld.com> Message-ID: On 1/14/20 2:13 PM, Richard Gaskin via use-livecode wrote: > Any opinions on Github vs Gitlab? > SCaLE is coming up soon. Gitlab always has a table set up. They're good at answering the hard questions. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Tue Jan 14 23:54:42 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Jan 2020 20:54:42 -0800 Subject: encrypting script-only stacks In-Reply-To: <4d14e2cb-9eaa-f7cd-aaf6-e79cf80155fe@sonic.net> References: <4d14e2cb-9eaa-f7cd-aaf6-e79cf80155fe@sonic.net> Message-ID: <1cf18902-069f-a9f0-70db-ef8007d56cdb@fourthworld.com> Mark Wieder wrote: > On 1/14/20 7:52 AM, Richard Gaskin via use-livecode wrote: > >> Is it a bug that script-only stacks can't be imported into the >> stackfile to become binary substacks? >> > > They can, but it's a one-way operation. Once you've done that the > substack and the script-only text file are two different entities. > Editing one won't affect the other. For building standalones that would be fine. Is that in the Standalone Builder, or something every one of us needs to write our own script for? -- 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 lists at mangomultimedia.com Wed Jan 15 00:25:53 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 14 Jan 2020 23:25:53 -0600 Subject: encrypting script-only stacks In-Reply-To: <52694a1f-8cf6-9c44-aa49-82b884a23e2e@fourthworld.com> References: <52694a1f-8cf6-9c44-aa49-82b884a23e2e@fourthworld.com> Message-ID: On Tue, Jan 14, 2020 at 4:14 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks, Trevor. That's a helpful outline. > > I haven't had a business case to support so many branches, but I can see > where it might be useful down the road. > > Any opinions on Github vs Gitlab? > I've only used Github so I can't offer up a comparison. I've been happy with Github for the most part and my company has been working with it for a number of years. -- Trevor DeVore ScreenSteps www.screensteps.com From lists at mangomultimedia.com Wed Jan 15 00:30:42 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 14 Jan 2020 23:30:42 -0600 Subject: encrypting script-only stacks In-Reply-To: <9664134c-2806-9e69-ce4d-8b83f8ce6e42@sonic.net> References: <42af491f-8f94-9342-74a4-25c5daf9afc0@fourthworld.com> <9664134c-2806-9e69-ce4d-8b83f8ce6e42@sonic.net> Message-ID: On Tue, Jan 14, 2020 at 10:36 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 1/14/20 9:46 AM, Richard Gaskin via use-livecode wrote: > > > Beyond backup across versions (since that's widely available in most > > cloud storage for even binary files), that Git features do you find most > > valuable? > > > > As in Trevor's description, the advantage of being able to create new > branches for experimental work can't be overstated. > > Consider: you have a working project and want to try making some changes > that may or may not work. And that may or may not stop existing things > from working. Or maybe you just want to try some A-B testing and be able > to create two different versions. Or create a new version and be able to > do some performance benchmarking. > > All without messing with your existing product code. > > If it works you can merge the branch into the main code. If not then > just dump the branch and you haven't lost anything except some time. > > I also use tagging in git to set release values, so that I can easily > see what's changed from one release to the next. > I'll toss in an amen to both of these points (testing optimizations, etc. and tagging releases). I use Tower as my Git GUI with Kaleidoscope for diffs. I can easily see a diff of all files that have changed between two releases because I tag the commit that was current at release time of each version. -- Trevor DeVore ScreenSteps www.screensteps.com From bobsneidar at iotecdigital.com Wed Jan 15 11:24:24 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 15 Jan 2020 16:24:24 +0000 Subject: encrypting script-only stacks In-Reply-To: <9664134c-2806-9e69-ce4d-8b83f8ce6e42@sonic.net> References: <42af491f-8f94-9342-74a4-25c5daf9afc0@fourthworld.com> <9664134c-2806-9e69-ce4d-8b83f8ce6e42@sonic.net> Message-ID: I REALLY need to start using GIT. I am running into that constantly. Are database schema changes gitable, or would I need to create a separate schema? Bob S > On Jan 14, 2020, at 20:36 , Mark Wieder via use-livecode wrote: > > On 1/14/20 9:46 AM, Richard Gaskin via use-livecode wrote: > >> Beyond backup across versions (since that's widely available in most cloud storage for even binary files), that Git features do you find most valuable? > > As in Trevor's description, the advantage of being able to create new branches for experimental work can't be overstated. > > Consider: you have a working project and want to try making some changes that may or may not work. And that may or may not stop existing things from working. Or maybe you just want to try some A-B testing and be able to create two different versions. Or create a new version and be able to do some performance benchmarking. > > All without messing with your existing product code. > > If it works you can merge the branch into the main code. If not then just dump the branch and you haven't lost anything except some time. > > I also use tagging in git to set release values, so that I can easily see what's changed from one release to the next. > > -- > Mark Wieder > ahsoftware at gmail.com From livecode at pink.guru Wed Jan 15 11:29:07 2020 From: livecode at pink.guru (Greg (Pink) Miller) Date: Wed, 15 Jan 2020 11:29:07 -0500 Subject: Changing extention on script only stack In-Reply-To: <362a642b-9db5-ba45-0e8f-c020ca0211f5@fourthworld.com> References: <37A55DE0-F703-4E05-8A19-45EF13B79EE8@iotecdigital.com> <362a642b-9db5-ba45-0e8f-c020ca0211f5@fourthworld.com> Message-ID: My need for external editors is mostly for Windows (again, the Windows machines I use are very very old). I also like reviewing and editing code on my iPad when I am on the go, so having external scripts is useful even when I don't have LC running. What else am I going to do at a red light? but I also have gotten used to using Atom and love it because it is highly customizable, I can just do a lot from within it that I can't do in the built-in editor, I can pull and push from Github, I can leave myself bookmarks and use macros... it's terrific... and faster the only reasons I ever use the built-in script editor is for watching variable values, debugging, breakpoints and stepping through scripts... and I hate when I have to do that because of its performance Honestly, instead of asking the LC team to beef up the built-in editor, I would rather they work on providing those debugging capabilities and other features with external editors. Ditch the built-in editor for a more seamless integration with Atom (I would argue it is the best option since it is cross-platform and free.) Heck maybe it just needs one single good Atom plugin to catch signals from Livecode similar to the remote debugger. Since I have no idea how it really works I am just assuming it would be easy to modify ;) And if I am making whoever is in charge of the built-in editor cry, you are still loved, and we'll try not to get rid of you On Tue, Jan 14, 2020 at 5:08 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Bob Sneidar wrote: > > > Let's remember this is just Windows we are talking about. I have no > > issues whatsoever with the OS X version of LC Script Editor... > > While performance issues are most evident on Windows, there's some > noticeable lag on Mac too. Most who use external editors here are on Mac. > > And then there are oddities that affect all platforms, like the line > numbers getting out of sync with the text when scrolling. > > > > ...but the few times I really needed to code and debug in Windows > > it was like scratching my eyes out with a toothpick. > > Yeah, that. > > I'll throw in a debugger for free if someone takes me up on by editor > offer. > > -- > 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 ahsoftware at sonic.net Wed Jan 15 11:38:53 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 15 Jan 2020 08:38:53 -0800 Subject: encrypting script-only stacks In-Reply-To: References: <42af491f-8f94-9342-74a4-25c5daf9afc0@fourthworld.com> <9664134c-2806-9e69-ce4d-8b83f8ce6e42@sonic.net> Message-ID: <897c451f-a854-47c5-4016-77fe51b2a46f@sonic.net> On 1/15/20 8:24 AM, Bob Sneidar via use-livecode wrote: > I REALLY need to start using GIT. I am running into that constantly. Are database schema changes gitable, or would I need to create a separate schema? Export the schema - it's a text file, so it's a good candidate for archiving. You won't want to archive binary files, as the git repository will grow alarmingly fast. We accidentally archived an instructional video in a repo some years ago, and eventually had to scrap the archive and start over. -- Mark Wieder ahsoftware at gmail.com From rdimola at evergreeninfo.net Wed Jan 15 11:44:26 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 15 Jan 2020 11:44:26 -0500 Subject: WEBP Image Format In-Reply-To: References: <37A55DE0-F703-4E05-8A19-45EF13B79EE8@iotecdigital.com> <362a642b-9db5-ba45-0e8f-c020ca0211f5@fourthworld.com> Message-ID: <000d01d5cbc3$0f1e4180$2d5ac480$@net> I have this link although its url is a .png apparently it's in webp format. This has broken my app. https://assets.weatherstack.com/images/wsymbols01_png_64/wsymbol_0007_fog.pn g How do I display this in LC? No shells please as this is a mobile app. Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From ahsoftware at sonic.net Wed Jan 15 11:42:40 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 15 Jan 2020 08:42:40 -0800 Subject: encrypting script-only stacks In-Reply-To: References: <52694a1f-8cf6-9c44-aa49-82b884a23e2e@fourthworld.com> Message-ID: <8a1fff59-efe6-1762-8080-2a2ff059e426@sonic.net> On 1/14/20 9:25 PM, Trevor DeVore via use-livecode wrote: > I've only used Github so I can't offer up a comparison. I've been happy > with Github for the most part and my company has been working with it for a > number of years. > Same here. We investigated moving some repos to gitlab some time ago in order to keep private repos local, but never made the jump. But that seems like a good use case for using an in-house gitlab server. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Wed Jan 15 11:48:06 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 15 Jan 2020 08:48:06 -0800 Subject: encrypting script-only stacks In-Reply-To: <1cf18902-069f-a9f0-70db-ef8007d56cdb@fourthworld.com> References: <4d14e2cb-9eaa-f7cd-aaf6-e79cf80155fe@sonic.net> <1cf18902-069f-a9f0-70db-ef8007d56cdb@fourthworld.com> Message-ID: On 1/14/20 8:54 PM, Richard Gaskin via use-livecode wrote: > Mark Wieder wrote: > > > On 1/14/20 7:52 AM, Richard Gaskin via use-livecode wrote: > > > >> Is it a bug that script-only stacks can't be imported into the > >> stackfile to become binary substacks? > >> > > > > They can, but it's a one-way operation. Once you've done that the > > substack and the script-only text file are two different entities. > > Editing one won't affect the other. > > For building standalones that would be fine.? Is that in the Standalone > Builder, or something every one of us needs to write our own script for? > I don't think the SB does that on its own, and I'm not sure it's something it should do automatically all the time. In the delivered app is there (or should there be) a difference between a substack and a stack file? But it's easy to do in the PI by changing the mainstack property of the script-only stack. -- Mark Wieder ahsoftware at gmail.com From kaveh at rivervalleytechnologies.com Wed Jan 15 11:56:23 2020 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Wed, 15 Jan 2020 16:56:23 +0000 Subject: encrypting script-only stacks In-Reply-To: References: <4d14e2cb-9eaa-f7cd-aaf6-e79cf80155fe@sonic.net> <1cf18902-069f-a9f0-70db-ef8007d56cdb@fourthworld.com> Message-ID: On Wed, 15 Jan 2020 at 16:49, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > > [...] > > I don't think the SB does that on its own, and I'm not sure it's > something it should do automatically all the time. In the delivered app > is there (or should there be) a difference between a substack and a > stack file? > > But it's easy to do in the PI by changing the mainstack property of the > script-only stack. > > > Mark, my problem is that I loved the idea of script only stacks so got them working (7 or more SoS's) that are loaded through the Files tab of Standalone Application builder. Obvious advantages are allowing me to use GitHub and to collaborate as discussed. I want to be able to build standalones often, and I cannot distribute the code. So from what I understand I have to convert these back into standard stacks every just before making a standalone, then load them thro the Stacks tab (not Files tab). This is quite labour intensive. I do hope there is an automated solution to be able to avoid this. I could use Levure and would love to, but it's one more thing to learn and I feel an overkill for me as all my scripts are now in SoS files. Kaveh -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn From harrison at all-auctions.com Wed Jan 15 13:10:49 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 15 Jan 2020 13:10:49 -0500 Subject: WEBP Image Format In-Reply-To: <000d01d5cbc3$0f1e4180$2d5ac480$@net> References: <37A55DE0-F703-4E05-8A19-45EF13B79EE8@iotecdigital.com> <362a642b-9db5-ba45-0e8f-c020ca0211f5@fourthworld.com> <000d01d5cbc3$0f1e4180$2d5ac480$@net> Message-ID: Hi Ralph, Webp format is a google image format. Can you convert the image to standard .png before using it or is this something google is forcing you to use? Rick > On Jan 15, 2020, at 11:44 AM, Ralph DiMola via use-livecode wrote: > > I have this link although its url is a .png apparently it's in webp format. > This has broken my app. > > https://assets.weatherstack.com/images/wsymbols01_png_64/wsymbol_0007_fog.pn > g > > How do I display this in LC? No shells please as this is a mobile app. > > Thanks > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Wed Jan 15 13:22:47 2020 From: tom at makeshyft.com (Tom Glod) Date: Wed, 15 Jan 2020 13:22:47 -0500 Subject: Buying a used apple to run ios simulator. Message-ID: Hi peeps, I need to run the ios simulator and build ios apps, so I have to buy an apple mac. I have 0 plans to use it for anything else, so I am buying refurbished. Will this system work? Can someone confirm for me? https://ca.refurb.io/collections/apple-laptops-ipads/products/apple-imac-a1311-21-5-all-in-one-intel-core-i5-4gb-ram-500gb-hdd-high-sierra-os-refurbished-b-grade I plan on using 9.05 and 9.5 on it. Thanks, Tom -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From rdimola at evergreeninfo.net Wed Jan 15 13:49:27 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 15 Jan 2020 13:49:27 -0500 Subject: WEBP Image Format In-Reply-To: References: <37A55DE0-F703-4E05-8A19-45EF13B79EE8@iotecdigital.com> <362a642b-9db5-ba45-0e8f-c020ca0211f5@fourthworld.com> <000d01d5cbc3$0f1e4180$2d5ac480$@net> Message-ID: <001d01d5cbd4$86897bc0$939c7340$@net> Hey Rick, Yes, I have no choice. This in one of many weather icon URLs that our weather provider delivers via their API. I don't know what the image is until it's downloaded and displayed. All of the images to date were/are PNGs. This one seems to be an outlier but I'm worried that more of these may come my way. I Can't open it up in any app(Windows) except for Chrome. I display these icons in the app using 24 of these images(one per hour) in a scrolling group. The browser widget opens the URL and displays the image. If I knew the size I guess I could do some convoluted procedure to resize/export the image from the browser widget to an image to display in a resizable image control. If the browser widget can open it then the open source library for webp must be available (conversion widget?). Headache.... 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 Rick Harrison via use-livecode Sent: Wednesday, January 15, 2020 1:11 PM To: How to use LiveCode Cc: Rick Harrison Subject: Re: WEBP Image Format Hi Ralph, Webp format is a google image format. Can you convert the image to standard .png before using it or is this something google is forcing you to use? Rick > On Jan 15, 2020, at 11:44 AM, Ralph DiMola via use-livecode wrote: > > I have this link although its url is a .png apparently it's in webp format. > This has broken my app. > > https://assets.weatherstack.com/images/wsymbols01_png_64/wsymbol_0007_ > fog.pn > g > > How do I display this in LC? No shells please as this is a mobile app. > > Thanks > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From livecode at pink.guru Wed Jan 15 13:46:26 2020 From: livecode at pink.guru (Greg (Pink) Miller) Date: Wed, 15 Jan 2020 13:46:26 -0500 Subject: Buying a used apple to run ios simulator. In-Reply-To: References: Message-ID: First, it is around 9 years old, it can't run Catalina and i am 90% sure it cannot run Mojave. Sometime in the near future you will no longer be able to upgrade to the latest version of XCode at which point you will need a new Mac. It is possible that you already cannot run it. So, if you want this to last a few years it may not be the best model. --------------------------------- Occam's Razor: other things being equal, simpler explanations are better than more complex ones Mad Pink's Blunt Object: complex, convoluted, and more entertaining explanations are better than simple, well-reasoned and boring ones On Wed, Jan 15, 2020 at 1:22 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi peeps, > > I need to run the ios simulator and build ios apps, so I have to buy an > apple mac. > > I have 0 plans to use it for anything else, so I am buying refurbished. > > Will this system work? Can someone confirm for me? > > > https://ca.refurb.io/collections/apple-laptops-ipads/products/apple-imac-a1311-21-5-all-in-one-intel-core-i5-4gb-ram-500gb-hdd-high-sierra-os-refurbished-b-grade > > I plan on using 9.05 and 9.5 on it. > > Thanks, > > Tom > > > > -- > 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 jerry at jhjensen.com Wed Jan 15 13:54:02 2020 From: jerry at jhjensen.com (Jerry Jensen) Date: Wed, 15 Jan 2020 10:54:02 -0800 Subject: Buying a used apple to run ios simulator. In-Reply-To: References: Message-ID: <4D1A45C7-82BC-46A0-9E80-9FEC88F26F7A@jhjensen.com> It could work, but its pretty long in the tooth. Its a 2011 model. 4GB RAM is not enough these days. It is user-upgradable. USB 2.0 ports are frustratingly slow and, shall I say, less reliable than 3.0 and above. That model is at is maximum OS support (10.13). That is also the oldest OS that is getting security updates, so next year it will probably cease. 10.15 is current. I don?t know the details of iOS and XCode support versions. Maybe newer XCode requires newer OS? .Jerry > On Jan 15, 2020, at 10:22 AM, Tom Glod via use-livecode wrote: > > Hi peeps, > > I need to run the ios simulator and build ios apps, so I have to buy an > apple mac. > > I have 0 plans to use it for anything else, so I am buying refurbished. > > Will this system work? Can someone confirm for me? > > https://ca.refurb.io/collections/apple-laptops-ipads/products/apple-imac-a1311-21-5-all-in-one-intel-core-i5-4gb-ram-500gb-hdd-high-sierra-os-refurbished-b-grade > > I plan on using 9.05 and 9.5 on it. > > Thanks, > > Tom > > > > -- > 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 jacque at hyperactivesw.com Wed Jan 15 14:26:27 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Jan 2020 13:26:27 -0600 Subject: encrypting script-only stacks In-Reply-To: References: <4d14e2cb-9eaa-f7cd-aaf6-e79cf80155fe@sonic.net> <1cf18902-069f-a9f0-70db-ef8007d56cdb@fourthworld.com> Message-ID: <96edf5e8-488a-0525-8bb8-e881b0f0ee61@hyperactivesw.com> On 1/15/20 10:56 AM, Kaveh Bazargan via use-livecode wrote: > I want to be able to build standalones often, and I cannot distribute the > code. So from what I understand I have to convert these back into standard > stacks every just before making a standalone, then load them thro the > Stacks tab (not Files tab). This is quite labour intensive. I do hope there > is an automated solution to be able to avoid this. This is off the top of my head and not tested at all, but here's the idea: on savingStandalone put "stack1,stack2,stack3...stackn" into tStackList repeat for each item i in tStackList set the mainstack of stack i to "myMainStack" set the password of stack i to "somePassword" end repeat end savingStandalone Since the above doesn't change the original mainstack I don't think you'll need a standaloneSaved handler to undo the changes but see what happens. Make backups first. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kaveh at rivervalleytechnologies.com Wed Jan 15 14:39:37 2020 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Wed, 15 Jan 2020 19:39:37 +0000 Subject: encrypting script-only stacks In-Reply-To: <96edf5e8-488a-0525-8bb8-e881b0f0ee61@hyperactivesw.com> References: <4d14e2cb-9eaa-f7cd-aaf6-e79cf80155fe@sonic.net> <1cf18902-069f-a9f0-70db-ef8007d56cdb@fourthworld.com> <96edf5e8-488a-0525-8bb8-e881b0f0ee61@hyperactivesw.com> Message-ID: On Wed, 15 Jan 2020 at 19:27, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 1/15/20 10:56 AM, Kaveh Bazargan via use-livecode wrote: > > I want to be able to build standalones often, and I cannot distribute the > > code. So from what I understand I have to convert these back into > standard > > stacks every just before making a standalone, then load them thro the > > Stacks tab (not Files tab). This is quite labour intensive. I do hope > there > > is an automated solution to be able to avoid this. > > This is off the top of my head and not tested at all, but here's the idea: > > on savingStandalone > put "stack1,stack2,stack3...stackn" into tStackList > repeat for each item i in tStackList > set the mainstack of stack i to "myMainStack" > set the password of stack i to "somePassword" > end repeat > end savingStandalone > > Since the above doesn't change the original mainstack I don't think > you'll need a standaloneSaved handler to undo the changes but see what > happens. Make backups first. > Sounds great Jacqueline. I will give it a go. :-) > > -- > 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 > -- Kaveh Bazargan PhD Director River Valley Technologies ? Twitter ? LinkedIn From richmondmathewson at gmail.com Wed Jan 15 15:45:12 2020 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 Jan 2020 22:45:12 +0200 Subject: Buying a used apple to run ios simulator. In-Reply-To: References: Message-ID: <2088fcd1-c989-865d-2c5b-1fb1221a071c@gmail.com> See if it sits within the models that can be upgraded to MacOS 10.15 . . . The A1311 was released in late 2011 and can only be updated to MacOS 10.13.6 ! If you can get your hands on a Late 2012 Mac mini that will upgrade to MacOS 10.15: https://www.kijiji.ca/v-ordinateurs-de-bureau/ville-de-montreal/liquidation-mac-mini-chez-lap-pro-seulement-249/1482471428?undefined Worth a look! On 15.01.20 20:22, Tom Glod via use-livecode wrote: > Hi peeps, > > I need to run the ios simulator and build ios apps, so I have to buy an > apple mac. > > I have 0 plans to use it for anything else, so I am buying refurbished. > > Will this system work? Can someone confirm for me? > > https://ca.refurb.io/collections/apple-laptops-ipads/products/apple-imac-a1311-21-5-all-in-one-intel-core-i5-4gb-ram-500gb-hdd-high-sierra-os-refurbished-b-grade > > I plan on using 9.05 and 9.5 on it. > > Thanks, > > Tom > > > From tom at makeshyft.com Wed Jan 15 16:00:42 2020 From: tom at makeshyft.com (Tom Glod) Date: Wed, 15 Jan 2020 16:00:42 -0500 Subject: Buying a used apple to run ios simulator. In-Reply-To: <2088fcd1-c989-865d-2c5b-1fb1221a071c@gmail.com> References: <2088fcd1-c989-865d-2c5b-1fb1221a071c@gmail.com> Message-ID: Thank you all for being so dependable and willing to help. Now I know what to look for...something that runs 10.15. On Wed, Jan 15, 2020 at 3:46 PM Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > See if it sits within the models that can be upgraded to MacOS 10.15 . . . > > The A1311 was released in late 2011 and can only be updated to MacOS > 10.13.6 ! > > If you can get your hands on a Late 2012 Mac mini that will upgrade to > MacOS 10.15: > > > https://www.kijiji.ca/v-ordinateurs-de-bureau/ville-de-montreal/liquidation-mac-mini-chez-lap-pro-seulement-249/1482471428?undefined > > Worth a look! > > > > On 15.01.20 20:22, Tom Glod via use-livecode wrote: > > Hi peeps, > > > > I need to run the ios simulator and build ios apps, so I have to buy an > > apple mac. > > > > I have 0 plans to use it for anything else, so I am buying refurbished. > > > > Will this system work? Can someone confirm for me? > > > > > https://ca.refurb.io/collections/apple-laptops-ipads/products/apple-imac-a1311-21-5-all-in-one-intel-core-i5-4gb-ram-500gb-hdd-high-sierra-os-refurbished-b-grade > > > > I plan on using 9.05 and 9.5 on it. > > > > Thanks, > > > > Tom > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jjs at krutt.org Wed Jan 15 16:01:40 2020 From: jjs at krutt.org (JJS) Date: Wed, 15 Jan 2020 22:01:40 +0100 Subject: Buying a used apple to run ios simulator. In-Reply-To: <2088fcd1-c989-865d-2c5b-1fb1221a071c@gmail.com> References: <2088fcd1-c989-865d-2c5b-1fb1221a071c@gmail.com> Message-ID: <40c02560-24ce-f249-8552-351a5b83438b@krutt.org> Alternative, if you have a decent PC, insert an extra HD or SDD and make it an Hackintosh and dualboot check details here: https://www.tonymacx86.com/ on how to do it You can nicely play with the iOs Simulator Op 15-1-2020 om 21:45 schreef Richmond via use-livecode: > See if it sits within the models that can be upgraded to MacOS 10.15 . > . . > > The A1311 was released in late 2011 and can only be updated to MacOS > 10.13.6 ! > > If you can get your hands on a Late 2012 Mac mini that will upgrade to > MacOS 10.15: > > https://www.kijiji.ca/v-ordinateurs-de-bureau/ville-de-montreal/liquidation-mac-mini-chez-lap-pro-seulement-249/1482471428?undefined > > > Worth a look! > > > > On 15.01.20 20:22, Tom Glod via use-livecode wrote: >> Hi peeps, >> >> I need to run the ios simulator and build ios apps, so I have to buy an >> apple mac. >> >> I have 0 plans to use it for anything else, so I am buying refurbished. >> >> Will this system work?? Can someone confirm for me? >> >> https://ca.refurb.io/collections/apple-laptops-ipads/products/apple-imac-a1311-21-5-all-in-one-intel-core-i5-4gb-ram-500gb-hdd-high-sierra-os-refurbished-b-grade >> >> >> I plan on using 9.05 and 9.5 on it. >> >> Thanks, >> >> Tom >> >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Wed Jan 15 16:03:59 2020 From: jjs at krutt.org (JJS) Date: Wed, 15 Jan 2020 22:03:59 +0100 Subject: Admob integration In-Reply-To: <401a22c6-0fc1-929d-fa02-c72e7ad09e0f@krutt.org> References: <401a22c6-0fc1-929d-fa02-c72e7ad09e0f@krutt.org> Message-ID: <23d00a2c-9008-36f4-7f64-11e43dc6ab6a@krutt.org> No one interested in putting ads in mobile apps to get some extra income? Op 12-1-2020 om 19:23 schreef JJS via use-livecode: > ok i can search on narkive.com, that's great. > > > Reading this " With that being said, we are currently working on > various widgets for LiveCode 8 and one that supports multiple ad > platforms is currently in the pipeline." here > https://forums.livecode.com/viewtopic.php?t=26794#p139662 looks > promising but it is still not there. > > I even see threads from nearly a decade ago...2011. > > any hints on this? > > > Op 12-1-2020 om 19:04 schreef JJS via use-livecode: >> Hi, >> >> >> how do i search the whole list to get info on some topics. >> >> For now i'm searching for a solution to use Admob. >> >> as i made a thread here: >> https://forums.livecode.com/viewtopic.php?f=53&t=33521 >> >> Certainly not everyone is using the forum. >> >> So maybe someone has info here on how to add Admob to an Android app. >> (if other dev tools can, we should too) >> >> >> Thanks. >> >> >> Regards, >> >> JJS >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Wed Jan 15 16:05:30 2020 From: tom at makeshyft.com (Tom Glod) Date: Wed, 15 Jan 2020 16:05:30 -0500 Subject: Buying a used apple to run ios simulator. In-Reply-To: <40c02560-24ce-f249-8552-351a5b83438b@krutt.org> References: <2088fcd1-c989-865d-2c5b-1fb1221a071c@gmail.com> <40c02560-24ce-f249-8552-351a5b83438b@krutt.org> Message-ID: Am I allowed to swear on this forum?....cuz F YES! that is what I want to do....dual boot. :D Thanks!! On Wed, Jan 15, 2020 at 4:01 PM JJS via use-livecode < use-livecode at lists.runrev.com> wrote: > Alternative, if you have a decent PC, insert an extra HD or SDD and make > it an Hackintosh and dualboot > > check details here: https://www.tonymacx86.com/ on how to do it > > You can nicely play with the iOs Simulator > > > Op 15-1-2020 om 21:45 schreef Richmond via use-livecode: > > See if it sits within the models that can be upgraded to MacOS 10.15 . > > . . > > > > The A1311 was released in late 2011 and can only be updated to MacOS > > 10.13.6 ! > > > > If you can get your hands on a Late 2012 Mac mini that will upgrade to > > MacOS 10.15: > > > > > https://www.kijiji.ca/v-ordinateurs-de-bureau/ville-de-montreal/liquidation-mac-mini-chez-lap-pro-seulement-249/1482471428?undefined > > > > > > Worth a look! > > > > > > > > On 15.01.20 20:22, Tom Glod via use-livecode wrote: > >> Hi peeps, > >> > >> I need to run the ios simulator and build ios apps, so I have to buy an > >> apple mac. > >> > >> I have 0 plans to use it for anything else, so I am buying refurbished. > >> > >> Will this system work? Can someone confirm for me? > >> > >> > https://ca.refurb.io/collections/apple-laptops-ipads/products/apple-imac-a1311-21-5-all-in-one-intel-core-i5-4gb-ram-500gb-hdd-high-sierra-os-refurbished-b-grade > >> > >> > >> I plan on using 9.05 and 9.5 on it. > >> > >> Thanks, > >> > >> Tom > >> > >> > >> > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dochawk at gmail.com Wed Jan 15 16:07:32 2020 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 15 Jan 2020 13:07:32 -0800 Subject: Admob integration In-Reply-To: <23d00a2c-9008-36f4-7f64-11e43dc6ab6a@krutt.org> References: <401a22c6-0fc1-929d-fa02-c72e7ad09e0f@krutt.org> <23d00a2c-9008-36f4-7f64-11e43dc6ab6a@krutt.org> Message-ID: <4672059C-946F-48CF-B1A9-26590C246B4A@gmail.com> On Jan 15, 2020, at 1:03 PM, JJS via use-livecode wrote: > > No one interested in putting ads in mobile apps to get some extra income? Oh, I?m interested, but I?ve given up. I have aa parta program on hold. I assume I?ll end up just writing it in swift. There is *supposedly* a partnership with an interface in the base distribution. The vendor for the ads, however, has no interest in dealing with anyone that hasn?t already shipped zillions of copies ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From jjs at krutt.org Wed Jan 15 16:42:56 2020 From: jjs at krutt.org (JJS) Date: Wed, 15 Jan 2020 22:42:56 +0100 Subject: Admob integration In-Reply-To: <4672059C-946F-48CF-B1A9-26590C246B4A@gmail.com> References: <401a22c6-0fc1-929d-fa02-c72e7ad09e0f@krutt.org> <23d00a2c-9008-36f4-7f64-11e43dc6ab6a@krutt.org> <4672059C-946F-48CF-B1A9-26590C246B4A@gmail.com> Message-ID: <1e8ff350-5584-6317-a9fc-4a72810d4e1f@krutt.org> If i knew how to create a library or widget for it i would do it too. My knowledge is to little for it,even after reading and trying out the examples from Git and the lessons. For Amazon one can download the sdk jar which perhaps can be loaded and connected with via LCB for Android For Google on Android the sdk is not downloadable anymore and goes via Google play api somewhat For iOs one can download the sdk from Google or from Ironsource the mediation sdk? to get perhaps a step further(maybe in swift indeed) But then what, i would not know how to proceed. As for Android Studio, Unity, Eclipse i see lots of examples. If one might have a reasonable app, you could get some extra income to extend the LC subscription which already would be a good reason for me at the moment Op 15-1-2020 om 22:07 schreef Dr. Hawkins via use-livecode: > On Jan 15, 2020, at 1:03 PM, JJS via use-livecode wrote: >> No one interested in putting ads in mobile apps to get some extra income? > > Oh, I?m interested, but I?ve given up. > > I have aa parta program on hold. I assume I?ll end up just writing it in swift. > > There is *supposedly* a partnership with an interface in the base distribution. The vendor for the ads, however, has no interest in dealing with anyone that hasn?t already shipped zillions of copies > > > ? > Richard E. Hawkins, Esq. > The Hawkins Law Firm > 3430 E. Flamingo Rd. > Suite 232 > Las Vegas, NV 89121 > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Wed Jan 15 16:48:14 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 15 Jan 2020 16:48:14 -0500 Subject: WEBP Image Format In-Reply-To: <001d01d5cbd4$86897bc0$939c7340$@net> References: <37A55DE0-F703-4E05-8A19-45EF13B79EE8@iotecdigital.com> <362a642b-9db5-ba45-0e8f-c020ca0211f5@fourthworld.com> <000d01d5cbc3$0f1e4180$2d5ac480$@net> <001d01d5cbd4$86897bc0$939c7340$@net> Message-ID: <56E18BC1-D944-4438-81C9-573E604391C8@all-auctions.com> Ralph, Sounds like you are stuck with it. I think you will have to play around with the browser widget or figure out how to take a screen shot of just the image so you can use it. It?s a headache and a PITA! Good luck! Rick > On Jan 15, 2020, at 1:49 PM, Ralph DiMola via use-livecode wrote: > > Hey Rick, > > Yes, I have no choice. This in one of many weather icon URLs that our > weather provider delivers via their API. I don't know what the image is > until it's downloaded and displayed. All of the images to date were/are > PNGs. This one seems to be an outlier but I'm worried that more of these may > come my way. I Can't open it up in any app(Windows) except for Chrome. I > display these icons in the app using 24 of these images(one per hour) in a > scrolling group. > The browser widget opens the URL and displays the image. If I knew the size > I guess I could do some convoluted procedure to resize/export the image from > the browser widget to an image to display in a resizable image control. > If the browser widget can open it then the open source library for webp must > be available (conversion widget?). > > Headache.... From mkoob at rogers.com Wed Jan 15 16:59:21 2020 From: mkoob at rogers.com (Martin Koob) Date: Wed, 15 Jan 2020 16:59:21 -0500 Subject: WEBP Image Format In-Reply-To: <56E18BC1-D944-4438-81C9-573E604391C8@all-auctions.com> References: <37A55DE0-F703-4E05-8A19-45EF13B79EE8@iotecdigital.com> <362a642b-9db5-ba45-0e8f-c020ca0211f5@fourthworld.com> <000d01d5cbc3$0f1e4180$2d5ac480$@net> <001d01d5cbd4$86897bc0$939c7340$@net> <56E18BC1-D944-4438-81C9-573E604391C8@all-auctions.com> Message-ID: <6283EFFA-BA4D-422B-960E-9AF58EDD2C80@rogers.com> Hi Not sure if this would work but in the following article https://www.howtogeek.com/325864/how-to-save-googles-webp-images-as-jpeg-or-png/ it says there are command line utilities to convert WebP images to PNG and other formats 'Google offers up the utilities to encode, decode, and view WebP on Linux, Windows, and Mac OS X.? C:\Path\To\dwebp.exe inputFile.webp -o outputFile I think you could use LiveCode?s shell() function to run this to convert any of the WebP images you are supplied to get PNG versions to server to your customers. Regards, Martin Koob > On Jan 15, 2020, at 4:48 PM, Rick Harrison via use-livecode wrote: > > Ralph, > > Sounds like you are stuck with it. > > I think you will have to play around with the browser widget > or figure out how to take a screen shot of just the image > so you can use it. > > It?s a headache and a PITA! > > Good luck! > > Rick > >> On Jan 15, 2020, at 1:49 PM, Ralph DiMola via use-livecode wrote: >> >> Hey Rick, >> >> Yes, I have no choice. This in one of many weather icon URLs that our >> weather provider delivers via their API. I don't know what the image is >> until it's downloaded and displayed. All of the images to date were/are >> PNGs. This one seems to be an outlier but I'm worried that more of these may >> come my way. I Can't open it up in any app(Windows) except for Chrome. I >> display these icons in the app using 24 of these images(one per hour) in a >> scrolling group. >> The browser widget opens the URL and displays the image. If I knew the size >> I guess I could do some convoluted procedure to resize/export the image from >> the browser widget to an image to display in a resizable image control. >> If the browser widget can open it then the open source library for webp must >> be available (conversion widget?). >> >> Headache.... > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Jan 15 17:37:49 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 15 Jan 2020 17:37:49 -0500 Subject: WEBP Image Format In-Reply-To: <6283EFFA-BA4D-422B-960E-9AF58EDD2C80@rogers.com> References: <37A55DE0-F703-4E05-8A19-45EF13B79EE8@iotecdigital.com> <362a642b-9db5-ba45-0e8f-c020ca0211f5@fourthworld.com> <000d01d5cbc3$0f1e4180$2d5ac480$@net> <001d01d5cbd4$86897bc0$939c7340$@net> <56E18BC1-D944-4438-81C9-573E604391C8@all-auctions.com> <6283EFFA-BA4D-422B-960E-9AF58EDD2C80@rogers.com> Message-ID: <003d01d5cbf4$6e51efe0$4af5cfa0$@net> Thanks for all the suggestions! This is a mobile app so shelling is not an option. I will look at the command line utility and make a web service API on my server. Update: I just converted a test webp file on Windows using this utility and it works. Now onto the on-rev server and Linux/web service. I guess I should file an enhancement request so we can deal with webp format in LC after I get past the current disaster. Continuing on with my headache... 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 Martin Koob via use-livecode Sent: Wednesday, January 15, 2020 4:59 PM To: How to use LiveCode Cc: Martin Koob Subject: Re: WEBP Image Format Hi Not sure if this would work but in the following article https://www.howtogeek.com/325864/how-to-save-googles-webp-images-as-jpeg-or-png/ it says there are command line utilities to convert WebP images to PNG and other formats 'Google offers up the utilities to encode, decode, and view WebP on Linux, Windows, and Mac OS X.? C:\Path\To\dwebp.exe inputFile.webp -o outputFile I think you could use LiveCode?s shell() function to run this to convert any of the WebP images you are supplied to get PNG versions to server to your customers. Regards, Martin Koob > On Jan 15, 2020, at 4:48 PM, Rick Harrison via use-livecode wrote: > > Ralph, > > Sounds like you are stuck with it. > > I think you will have to play around with the browser widget or figure > out how to take a screen shot of just the image so you can use it. > > It?s a headache and a PITA! > > Good luck! > > Rick > >> On Jan 15, 2020, at 1:49 PM, Ralph DiMola via use-livecode wrote: >> >> Hey Rick, >> >> Yes, I have no choice. This in one of many weather icon URLs that our >> weather provider delivers via their API. I don't know what the image >> is until it's downloaded and displayed. All of the images to date >> were/are PNGs. This one seems to be an outlier but I'm worried that >> more of these may come my way. I Can't open it up in any app(Windows) >> except for Chrome. I display these icons in the app using 24 of these >> images(one per hour) in a scrolling group. >> The browser widget opens the URL and displays the image. If I knew >> the size I guess I could do some convoluted procedure to >> resize/export the image from the browser widget to an image to display in a resizable image control. >> If the browser widget can open it then the open source library for >> webp must be available (conversion widget?). >> >> Headache.... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Jan 15 18:58:33 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 15 Jan 2020 23:58:33 +0000 Subject: Buying a used apple to run ios simulator. In-Reply-To: References: <2088fcd1-c989-865d-2c5b-1fb1221a071c@gmail.com> <40c02560-24ce-f249-8552-351a5b83438b@krutt.org> Message-ID: Get an Intel Nuc. By far the cheapest, easiest and fastest way to get a Hackintosh up and running. Lots of youtube about it and tonnes of helpful people with excellent advice. Works out better than an actual Mac Mini by far. And dual bootable for Linux and Windows too. Sean Cole *Pi Digital * On Wed, 15 Jan 2020 at 21:05, Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Am I allowed to swear on this forum?....cuz F YES! that is what I want to > do....dual boot. :D Thanks!! > > On Wed, Jan 15, 2020 at 4:01 PM JJS via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Alternative, if you have a decent PC, insert an extra HD or SDD and make > > it an Hackintosh and dualboot > > > > check details here: https://www.tonymacx86.com/ on how to do it > > > > You can nicely play with the iOs Simulator > > > > > > Op 15-1-2020 om 21:45 schreef Richmond via use-livecode: > > > See if it sits within the models that can be upgraded to MacOS 10.15 . > > > . . > > > > > > The A1311 was released in late 2011 and can only be updated to MacOS > > > 10.13.6 ! > > > > > > If you can get your hands on a Late 2012 Mac mini that will upgrade to > > > MacOS 10.15: > > > > > > > > > https://www.kijiji.ca/v-ordinateurs-de-bureau/ville-de-montreal/liquidation-mac-mini-chez-lap-pro-seulement-249/1482471428?undefined > > > > > > > > > Worth a look! > > > > > > > > > > > > On 15.01.20 20:22, Tom Glod via use-livecode wrote: > > >> Hi peeps, > > >> > > >> I need to run the ios simulator and build ios apps, so I have to buy > an > > >> apple mac. > > >> > > >> I have 0 plans to use it for anything else, so I am buying > refurbished. > > >> > > >> Will this system work? Can someone confirm for me? > > >> > > >> > > > https://ca.refurb.io/collections/apple-laptops-ipads/products/apple-imac-a1311-21-5-all-in-one-intel-core-i5-4gb-ram-500gb-hdd-high-sierra-os-refurbished-b-grade > > >> > > >> > > >> I plan on using 9.05 and 9.5 on it. > > >> > > >> Thanks, > > >> > > >> Tom > > >> > > >> > > >> > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Jan 15 19:24:34 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 15 Jan 2020 19:24:34 -0500 Subject: WEBP Image Format In-Reply-To: <6283EFFA-BA4D-422B-960E-9AF58EDD2C80@rogers.com> References: <37A55DE0-F703-4E05-8A19-45EF13B79EE8@iotecdigital.com> <362a642b-9db5-ba45-0e8f-c020ca0211f5@fourthworld.com> <000d01d5cbc3$0f1e4180$2d5ac480$@net> <001d01d5cbd4$86897bc0$939c7340$@net> <56E18BC1-D944-4438-81C9-573E604391C8@all-auctions.com> <6283EFFA-BA4D-422B-960E-9AF58EDD2C80@rogers.com> Message-ID: <004601d5cc03$56eae320$04c0a960$@net> Update 2: dwebp command line utility via my new web service API works like a charm. I now can put the webp image into a image control. LC server rocks for banging out these type of things. Thanks again for the info that made this happen! 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 Martin Koob via use-livecode Sent: Wednesday, January 15, 2020 4:59 PM To: How to use LiveCode Cc: Martin Koob Subject: Re: WEBP Image Format Hi Not sure if this would work but in the following article https://www.howtogeek.com/325864/how-to-save-googles-webp-images-as-jpeg-or-png/ it says there are command line utilities to convert WebP images to PNG and other formats 'Google offers up the utilities to encode, decode, and view WebP on Linux, Windows, and Mac OS X.? C:\Path\To\dwebp.exe inputFile.webp -o outputFile I think you could use LiveCode?s shell() function to run this to convert any of the WebP images you are supplied to get PNG versions to server to your customers. Regards, Martin Koob > On Jan 15, 2020, at 4:48 PM, Rick Harrison via use-livecode wrote: > > Ralph, > > Sounds like you are stuck with it. > > I think you will have to play around with the browser widget or figure > out how to take a screen shot of just the image so you can use it. > > It?s a headache and a PITA! > > Good luck! > > Rick > >> On Jan 15, 2020, at 1:49 PM, Ralph DiMola via use-livecode wrote: >> >> Hey Rick, >> >> Yes, I have no choice. This in one of many weather icon URLs that our >> weather provider delivers via their API. I don't know what the image >> is until it's downloaded and displayed. All of the images to date >> were/are PNGs. This one seems to be an outlier but I'm worried that >> more of these may come my way. I Can't open it up in any app(Windows) >> except for Chrome. I display these icons in the app using 24 of these >> images(one per hour) in a scrolling group. >> The browser widget opens the URL and displays the image. If I knew >> the size I guess I could do some convoluted procedure to >> resize/export the image from the browser widget to an image to display in a resizable image control. >> If the browser widget can open it then the open source library for >> webp must be available (conversion widget?). >> >> Headache.... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Jan 15 19:24:18 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 16 Jan 2020 00:24:18 +0000 Subject: WEBP Image Format In-Reply-To: <003d01d5cbf4$6e51efe0$4af5cfa0$@net> References: <37A55DE0-F703-4E05-8A19-45EF13B79EE8@iotecdigital.com> <362a642b-9db5-ba45-0e8f-c020ca0211f5@fourthworld.com> <000d01d5cbc3$0f1e4180$2d5ac480$@net> <001d01d5cbd4$86897bc0$939c7340$@net> <56E18BC1-D944-4438-81C9-573E604391C8@all-auctions.com> <6283EFFA-BA4D-422B-960E-9AF58EDD2C80@rogers.com> <003d01d5cbf4$6e51efe0$4af5cfa0$@net> Message-ID: If you want to build a decoder for it, here's a javascript demo you can convert. Scripts included. https://webmproject.github.io/libwebp-demo/webp_js/index.html you could even use the JS within an LC browser to do the conversion! just make it into your own library then :) Sean Cole *Pi Digital* On Wed, 15 Jan 2020 at 22:37, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks for all the suggestions! This is a mobile app so shelling is not an > option. I will look at the command line utility and make a web service API > on my server. > > Update: I just converted a test webp file on Windows using this utility > and it works. Now onto the on-rev server and Linux/web service. > > I guess I should file an enhancement request so we can deal with webp > format in LC after I get past the current disaster. > > Continuing on with my headache... > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > From sean at pidigital.co.uk Wed Jan 15 19:36:01 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 16 Jan 2020 00:36:01 +0000 Subject: Admob integration In-Reply-To: <1e8ff350-5584-6317-a9fc-4a72810d4e1f@krutt.org> References: <401a22c6-0fc1-929d-fa02-c72e7ad09e0f@krutt.org> <23d00a2c-9008-36f4-7f64-11e43dc6ab6a@krutt.org> <4672059C-946F-48CF-B1A9-26590C246B4A@gmail.com> <1e8ff350-5584-6317-a9fc-4a72810d4e1f@krutt.org> Message-ID: I created a widget for it a few years back after which Admob changed their whole approach to how to gain access/display the ads. At the time InfinityLC was not yet completed. By the time it had, I had lost interest -- and most of my clients! (Remember when LC said they would have iOS ObjC ready in just a few months but that ended up being about 2years instead) The key issue you will come across with trying to bind their API to LC via LC Builder is that their API will be expecting access to XCode (which it won't get). There is probably some way around it but it won't be easy to work out as their support will only be interested in helping those communicating from XCode directly. Perhaps the Android API/SDK would be easier to work from and perhaps even be usable from iOS too. Good luck Sean Cole *Pi Digital * On Wed, 15 Jan 2020 at 21:42, JJS via use-livecode < use-livecode at lists.runrev.com> wrote: > If i knew how to create a library or widget for it i would do it too. My > knowledge is to little for it,even after reading and trying out the > examples from Git and the lessons. > > For Amazon one can download the sdk jar which perhaps can be loaded and > connected with via LCB for Android > > For Google on Android the sdk is not downloadable anymore and goes via > Google play api somewhat > > For iOs one can download the sdk from Google or from Ironsource the > mediation sdk to get perhaps a step further(maybe in swift indeed) > > But then what, i would not know how to proceed. > > As for Android Studio, Unity, Eclipse i see lots of examples. > > If one might have a reasonable app, you could get some extra income to > extend the LC subscription which already would be a good reason for me > at the moment > > > Op 15-1-2020 om 22:07 schreef Dr. Hawkins via use-livecode: > > On Jan 15, 2020, at 1:03 PM, JJS via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> No one interested in putting ads in mobile apps to get some extra > income? > > > > Oh, I?m interested, but I?ve given up. > > > > I have aa parta program on hold. I assume I?ll end up just writing it > in swift. > > > > There is *supposedly* a partnership with an interface in the base > distribution. The vendor for the ads, however, has no interest in dealing > with anyone that hasn?t already shipped zillions of copies > > > > > > ? > > Richard E. Hawkins, Esq. > > The Hawkins Law Firm > > 3430 E. Flamingo Rd. > > Suite 232 > > Las Vegas, NV 89121 > > (702) 508-8462 > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cszasz at mac.com Wed Jan 15 20:03:11 2020 From: cszasz at mac.com (Charles Szasz) Date: Wed, 15 Jan 2020 18:03:11 -0700 Subject: LC 9.6.0 DP 2 Question Message-ID: <98F0205C-D202-4762-98EE-81F7CBF9EC76@mac.com> I just started using LC 9.6.0 DP 2. Since it is a developer preview, I save my changes by using Save As. When I used Save As with a different stack name, I get several options for the stack format. What is the recommended stack format so you can continue to use LC 9.6.0 DP 2. with the stacks? Please note that I am not trying to save the LC 9.6.0 DP 2 with Save As for stack compatibility with previous versions of LC. Sent from my iPad From ahsoftware at sonic.net Wed Jan 15 20:14:57 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 15 Jan 2020 17:14:57 -0800 Subject: LC 9.6.0 DP 2 Question In-Reply-To: <98F0205C-D202-4762-98EE-81F7CBF9EC76@mac.com> References: <98F0205C-D202-4762-98EE-81F7CBF9EC76@mac.com> Message-ID: <87b9b5b2-b274-dc33-f5ce-48f185f2ab66@sonic.net> On 1/15/20 5:03 PM, Charles Szasz via use-livecode wrote: > Please note that I am not trying to save the LC 9.6.0 DP 2 with Save As for stack compatibility with previous versions of LC. In that case, why would you select anything other than the default? -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Wed Jan 15 21:35:19 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 16 Jan 2020 02:35:19 +0000 Subject: LC 9.6.0 DP 2 Question In-Reply-To: <98F0205C-D202-4762-98EE-81F7CBF9EC76@mac.com> References: <98F0205C-D202-4762-98EE-81F7CBF9EC76@mac.com> Message-ID: Hi Charles Just use the default LiveCode Stack. The others are there for backwards compatibility to older versions of LC like LC6 or LC5.5. 2.2 is useful to be able to open in LC5 for example. To be able to open it in LC8.x.x or LC9.x.x, leave it as LiveCode Stack. All the best in DP2 Sean Cole Pi Digital Prod Ltd > On 16 Jan 2020, at 01:03, Charles Szasz via use-livecode wrote: > > ?I just started using LC 9.6.0 DP 2. Since it is a developer preview, I save my changes by using Save As. When I used Save As with a different stack name, I get several options for the stack format. What is the recommended stack format so you can continue to use LC 9.6.0 DP 2. with the stacks? Please note that I am not trying to save the LC 9.6.0 DP 2 with Save As for stack compatibility with previous versions of LC. > > Sent from my iPad > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 16 07:18:06 2020 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 16 Jan 2020 14:18:06 +0200 Subject: Buying a used apple to run ios simulator. In-Reply-To: References: <2088fcd1-c989-865d-2c5b-1fb1221a071c@gmail.com> <40c02560-24ce-f249-8552-351a5b83438b@krutt.org> Message-ID: My experience of dual boot machines has been distinctly negative: probably because of the way my mind works . . . I'll be merrily working along on one Operating system when some "clever" idea will occur to me about something on another operating system: but to try out that idea I have to shutdown my machine and boot into another OS. That's why I have a big rooms with 9 computers . . . On Thu, Jan 16, 2020 at 1:59 AM Sean Cole (Pi) via use-livecode < use-livecode at lists.runrev.com> wrote: > Get an Intel Nuc. By far the cheapest, easiest and fastest way to get a > Hackintosh up and running. Lots of youtube about it and tonnes of helpful > people with excellent advice. Works out better than an actual Mac Mini by > far. And dual bootable for Linux and Windows too. > > Sean Cole > *Pi Digital * > > > On Wed, 15 Jan 2020 at 21:05, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Am I allowed to swear on this forum?....cuz F YES! that is what I want to > > do....dual boot. :D Thanks!! > > > > On Wed, Jan 15, 2020 at 4:01 PM JJS via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Alternative, if you have a decent PC, insert an extra HD or SDD and > make > > > it an Hackintosh and dualboot > > > > > > check details here: https://www.tonymacx86.com/ on how to do it > > > > > > You can nicely play with the iOs Simulator > > > > > > > > > Op 15-1-2020 om 21:45 schreef Richmond via use-livecode: > > > > See if it sits within the models that can be upgraded to MacOS 10.15 > . > > > > . . > > > > > > > > The A1311 was released in late 2011 and can only be updated to MacOS > > > > 10.13.6 ! > > > > > > > > If you can get your hands on a Late 2012 Mac mini that will upgrade > to > > > > MacOS 10.15: > > > > > > > > > > > > > > https://www.kijiji.ca/v-ordinateurs-de-bureau/ville-de-montreal/liquidation-mac-mini-chez-lap-pro-seulement-249/1482471428?undefined > > > > > > > > > > > > Worth a look! > > > > > > > > > > > > > > > > On 15.01.20 20:22, Tom Glod via use-livecode wrote: > > > >> Hi peeps, > > > >> > > > >> I need to run the ios simulator and build ios apps, so I have to buy > > an > > > >> apple mac. > > > >> > > > >> I have 0 plans to use it for anything else, so I am buying > > refurbished. > > > >> > > > >> Will this system work? Can someone confirm for me? > > > >> > > > >> > > > > > > https://ca.refurb.io/collections/apple-laptops-ipads/products/apple-imac-a1311-21-5-all-in-one-intel-core-i5-4gb-ram-500gb-hdd-high-sierra-os-refurbished-b-grade > > > >> > > > >> > > > >> I plan on using 9.05 and 9.5 on it. > > > >> > > > >> Thanks, > > > >> > > > >> Tom > > > >> > > > >> > > > >> > > > > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 tom at makeshyft.com Thu Jan 16 11:47:41 2020 From: tom at makeshyft.com (Tom Glod) Date: Thu, 16 Jan 2020 11:47:41 -0500 Subject: Buying a used apple to run ios simulator. In-Reply-To: References: <2088fcd1-c989-865d-2c5b-1fb1221a071c@gmail.com> <40c02560-24ce-f249-8552-351a5b83438b@krutt.org> Message-ID: hahahah...richmond..i hear you. Sean, good advice with the NUC...looking into it On Thu, Jan 16, 2020 at 7:19 AM Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > My experience of dual boot machines has been distinctly negative: probably > because of the way my mind works . . . > > I'll be merrily working along on one Operating system when some "clever" > idea will occur to me about something > on another operating system: but to try out that idea I have to shutdown my > machine and boot into another OS. > > That's why I have a big rooms with 9 computers . . . > > On Thu, Jan 16, 2020 at 1:59 AM Sean Cole (Pi) via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Get an Intel Nuc. By far the cheapest, easiest and fastest way to get a > > Hackintosh up and running. Lots of youtube about it and tonnes of helpful > > people with excellent advice. Works out better than an actual Mac Mini by > > far. And dual bootable for Linux and Windows too. > > > > Sean Cole > > *Pi Digital * > > > > > > On Wed, 15 Jan 2020 at 21:05, Tom Glod via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Am I allowed to swear on this forum?....cuz F YES! that is what I want > to > > > do....dual boot. :D Thanks!! > > > > > > On Wed, Jan 15, 2020 at 4:01 PM JJS via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > Alternative, if you have a decent PC, insert an extra HD or SDD and > > make > > > > it an Hackintosh and dualboot > > > > > > > > check details here: https://www.tonymacx86.com/ on how to do it > > > > > > > > You can nicely play with the iOs Simulator > > > > > > > > > > > > Op 15-1-2020 om 21:45 schreef Richmond via use-livecode: > > > > > See if it sits within the models that can be upgraded to MacOS > 10.15 > > . > > > > > . . > > > > > > > > > > The A1311 was released in late 2011 and can only be updated to > MacOS > > > > > 10.13.6 ! > > > > > > > > > > If you can get your hands on a Late 2012 Mac mini that will upgrade > > to > > > > > MacOS 10.15: > > > > > > > > > > > > > > > > > > > > https://www.kijiji.ca/v-ordinateurs-de-bureau/ville-de-montreal/liquidation-mac-mini-chez-lap-pro-seulement-249/1482471428?undefined > > > > > > > > > > > > > > > Worth a look! > > > > > > > > > > > > > > > > > > > > On 15.01.20 20:22, Tom Glod via use-livecode wrote: > > > > >> Hi peeps, > > > > >> > > > > >> I need to run the ios simulator and build ios apps, so I have to > buy > > > an > > > > >> apple mac. > > > > >> > > > > >> I have 0 plans to use it for anything else, so I am buying > > > refurbished. > > > > >> > > > > >> Will this system work? Can someone confirm for me? > > > > >> > > > > >> > > > > > > > > > > https://ca.refurb.io/collections/apple-laptops-ipads/products/apple-imac-a1311-21-5-all-in-one-intel-core-i5-4gb-ram-500gb-hdd-high-sierra-os-refurbished-b-grade > > > > >> > > > > >> > > > > >> I plan on using 9.05 and 9.5 on it. > > > > >> > > > > >> Thanks, > > > > >> > > > > >> Tom > > > > >> > > > > >> > > > > >> > > > > > > > > > > > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode at lists.runrev.com > > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > > subscription preferences: > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode 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 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From ambassador at fourthworld.com Thu Jan 16 13:21:53 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 16 Jan 2020 10:21:53 -0800 Subject: Admob integration In-Reply-To: <23d00a2c-9008-36f4-7f64-11e43dc6ab6a@krutt.org> References: <23d00a2c-9008-36f4-7f64-11e43dc6ab6a@krutt.org> Message-ID: JJS wrote: > No one interested in putting ads in mobile apps to get some extra income? I'll bet many are. It would be interested to hear how people are doing that. Perhaps they've found REST/JS-based options. I'm surprised so many ad networks require low-level APIs, while the entire web is supported with simple JS inclusions. It would also be interesting to learn if anyone's been really happy with ad payouts from their mobile apps, given the low CPMs. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From tom at makeshyft.com Thu Jan 16 13:44:47 2020 From: tom at makeshyft.com (Tom Glod) Date: Thu, 16 Jan 2020 13:44:47 -0500 Subject: Buying a used apple to run ios simulator. In-Reply-To: References: <2088fcd1-c989-865d-2c5b-1fb1221a071c@gmail.com> <40c02560-24ce-f249-8552-351a5b83438b@krutt.org> Message-ID: I ended up going with this solution. https://www.xcodeclub.com/ On Thu, Jan 16, 2020 at 11:47 AM Tom Glod wrote: > hahahah...richmond..i hear you. > > Sean, good advice with the NUC...looking into it > > On Thu, Jan 16, 2020 at 7:19 AM Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> My experience of dual boot machines has been distinctly negative: probably >> because of the way my mind works . . . >> >> I'll be merrily working along on one Operating system when some "clever" >> idea will occur to me about something >> on another operating system: but to try out that idea I have to shutdown >> my >> machine and boot into another OS. >> >> That's why I have a big rooms with 9 computers . . . >> >> On Thu, Jan 16, 2020 at 1:59 AM Sean Cole (Pi) via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> > Get an Intel Nuc. By far the cheapest, easiest and fastest way to get a >> > Hackintosh up and running. Lots of youtube about it and tonnes of >> helpful >> > people with excellent advice. Works out better than an actual Mac Mini >> by >> > far. And dual bootable for Linux and Windows too. >> > >> > Sean Cole >> > *Pi Digital * >> > >> > >> > On Wed, 15 Jan 2020 at 21:05, Tom Glod via use-livecode < >> > use-livecode at lists.runrev.com> wrote: >> > >> > > Am I allowed to swear on this forum?....cuz F YES! that is what I >> want to >> > > do....dual boot. :D Thanks!! >> > > >> > > On Wed, Jan 15, 2020 at 4:01 PM JJS via use-livecode < >> > > use-livecode at lists.runrev.com> wrote: >> > > >> > > > Alternative, if you have a decent PC, insert an extra HD or SDD and >> > make >> > > > it an Hackintosh and dualboot >> > > > >> > > > check details here: https://www.tonymacx86.com/ on how to do it >> > > > >> > > > You can nicely play with the iOs Simulator >> > > > >> > > > >> > > > Op 15-1-2020 om 21:45 schreef Richmond via use-livecode: >> > > > > See if it sits within the models that can be upgraded to MacOS >> 10.15 >> > . >> > > > > . . >> > > > > >> > > > > The A1311 was released in late 2011 and can only be updated to >> MacOS >> > > > > 10.13.6 ! >> > > > > >> > > > > If you can get your hands on a Late 2012 Mac mini that will >> upgrade >> > to >> > > > > MacOS 10.15: >> > > > > >> > > > > >> > > > >> > > >> > >> https://www.kijiji.ca/v-ordinateurs-de-bureau/ville-de-montreal/liquidation-mac-mini-chez-lap-pro-seulement-249/1482471428?undefined >> > > > > >> > > > > >> > > > > Worth a look! >> > > > > >> > > > > >> > > > > >> > > > > On 15.01.20 20:22, Tom Glod via use-livecode wrote: >> > > > >> Hi peeps, >> > > > >> >> > > > >> I need to run the ios simulator and build ios apps, so I have to >> buy >> > > an >> > > > >> apple mac. >> > > > >> >> > > > >> I have 0 plans to use it for anything else, so I am buying >> > > refurbished. >> > > > >> >> > > > >> Will this system work? Can someone confirm for me? >> > > > >> >> > > > >> >> > > > >> > > >> > >> https://ca.refurb.io/collections/apple-laptops-ipads/products/apple-imac-a1311-21-5-all-in-one-intel-core-i5-4gb-ram-500gb-hdd-high-sierra-os-refurbished-b-grade >> > > > >> >> > > > >> >> > > > >> I plan on using 9.05 and 9.5 on it. >> > > > >> >> > > > >> Thanks, >> > > > >> >> > > > >> Tom >> > > > >> >> > > > >> >> > > > >> >> > > > > >> > > > > >> > > > > _______________________________________________ >> > > > > use-livecode mailing list >> > > > > use-livecode at lists.runrev.com >> > > > > Please visit this url to subscribe, unsubscribe and manage your >> > > > > subscription preferences: >> > > > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > >> > > > _______________________________________________ >> > > > use-livecode mailing list >> > > > use-livecode 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 >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode 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 >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From bobsneidar at iotecdigital.com Thu Jan 16 17:13:47 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 16 Jan 2020 22:13:47 +0000 Subject: Buying a used apple to run ios simulator. In-Reply-To: References: <2088fcd1-c989-865d-2c5b-1fb1221a071c@gmail.com> <40c02560-24ce-f249-8552-351a5b83438b@krutt.org> Message-ID: <9B3E5230-0209-4684-99F7-9CC8F167345B@iotecdigital.com> That is a great idea! Bob S > On Jan 16, 2020, at 10:44 , Tom Glod via use-livecode wrote: > > I ended up going with this solution. > > https://www.xcodeclub.com/ From irog at mac.com Thu Jan 16 21:42:01 2020 From: irog at mac.com (Roger Guay) Date: Thu, 16 Jan 2020 19:42:01 -0700 Subject: IP Camera Image in Browser Widget Message-ID: <5960D5A3-C63E-4839-AF85-C191DBC8199A@mac.com> I would like to build an app that displays various IP cameras I have operating around my home, but having no success. I can get the IP addresses and ports for each camera but the browser shows nothing. Mac Catalina and LC 9.5.1 Any hints/help greatly appreciated. Thanks, Roger From roger.e.eller at sealedair.com Fri Jan 17 09:40:34 2020 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Fri, 17 Jan 2020 14:40:34 +0000 Subject: IP Camera Image in Browser Widget In-Reply-To: <5960D5A3-C63E-4839-AF85-C191DBC8199A@mac.com> References: <5960D5A3-C63E-4839-AF85-C191DBC8199A@mac.com> Message-ID: Hi Roger, I don't have a suggestion. Just wanted to say that I too would value such an option, especially in an Android app. My use-case is to mount an IP camera on an RC Lawnmower, and using VR goggles, control it form a first-person point-of-view; Essentially, simulating a riding mower experience from inside the house where the air-conditioning is. ? That said, it may depend on the type of IP camera, and whether or not the vendor provides a web-view instead of their own proprietary software. ~Roger ________________________________ From: use-livecode on behalf of Roger Guay via use-livecode Sent: Thursday, January 16, 2020 9:42 PM To: use-livecode at lists.runrev.com Cc: Roger Guay Subject: IP Camera Image in Browser Widget 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. I would like to build an app that displays various IP cameras I have operating around my home, but having no success. I can get the IP addresses and ports for each camera but the browser shows nothing. Mac Catalina and LC 9.5.1 Any hints/help greatly appreciated. Thanks, Roger _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=02%7C01%7Croger.e.eller%40sealedair.com%7C9a4d621837b647ad649008d79af7015e%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C637148257994670666&sdata=eggpccfh%2FYTmrgi%2F5GifeIXcn8bUKiEVdAFJo8CIfa0%3D&reserved=0 From tom at makeshyft.com Fri Jan 17 10:37:56 2020 From: tom at makeshyft.com (Tom Glod) Date: Fri, 17 Jan 2020 10:37:56 -0500 Subject: IP Camera Image in Browser Widget In-Reply-To: References: <5960D5A3-C63E-4839-AF85-C191DBC8199A@mac.com> Message-ID: Roger, if in a normal browser the browser asks for permission to access the IP Cameras ...then the problem is that the LC Browser Widget is not asking for those permissions. I don't know the answer to that. If its not about the permission window, how are the IP cameras accessed normally outside of LC? On Fri, Jan 17, 2020 at 9:41 AM Eller, Roger via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Roger, > > I don't have a suggestion. Just wanted to say that I too would value such > an option, especially in an Android app. My use-case is to mount an IP > camera on an RC Lawnmower, and using VR goggles, control it form a > first-person point-of-view; Essentially, simulating a riding mower > experience from inside the house where the air-conditioning is. ? > > That said, it may depend on the type of IP camera, and whether or not the > vendor provides a web-view instead of their own proprietary software. > > > ~Roger > > ________________________________ > From: use-livecode on behalf of > Roger Guay via use-livecode > Sent: Thursday, January 16, 2020 9:42 PM > To: use-livecode at lists.runrev.com > Cc: Roger Guay > Subject: IP Camera Image in Browser Widget > > > 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. > > > I would like to build an app that displays various IP cameras I have > operating around my home, but having no success. I can get the IP addresses > and ports for each camera but the browser shows nothing. > > Mac Catalina and LC 9.5.1 > > Any hints/help greatly appreciated. > > Thanks, > > Roger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=02%7C01%7Croger.e.eller%40sealedair.com%7C9a4d621837b647ad649008d79af7015e%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C637148257994670666&sdata=eggpccfh%2FYTmrgi%2F5GifeIXcn8bUKiEVdAFJo8CIfa0%3D&reserved=0 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From klaus at major-k.de Fri Jan 17 10:46:06 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Jan 2020 16:46:06 +0100 Subject: strange problems with SEND Message-ID: HI all, I want to execute a handler in the future -> tomorrow at 8:00 AM So I scripted: ... put the date into tDatum convert tDatum from date to dateitems add 1 to item 3 of tDatum put 8 into item 4 of tDatum ## dateitems: # 1. the year # 2. the month number # 3. the day of the month # 4. the hour in 24-hour time # 5. the minute # 6. the second # 7. the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth convert tDatum from dateitems to seconds put tDatum - the seconds into tNeuesDatum send "checkabfrage" to me in tNeuesDatum secs put the result into checkabfrage_id ... Looks OK in the debugger, tNeuesdatum is something like 58000, which is correct. However, when I query "the pendingmessages" this message shows up as: 39440,3158550744.943945,onlinekursinfo,stack "/xxx.livecode" But 3158550744.943945 as "delivery" time resolves (convert) to: long system date -> Sonntag, 2. Februar 2070 long date -> Sunday, february 2, 2070? date -> 2/2/70 Is this broken somehow or am I missing something? Any insight appreciated! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Fri Jan 17 10:50:33 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Jan 2020 16:50:33 +0100 Subject: strange problems with SEND In-Reply-To: References: Message-ID: <17BB7815-3397-43BE-888F-9F774C271BE1@major-k.de> Hi all, this is on LC 9.5.1 on macOS 10.14.6. > Am 17.01.2020 um 16:46 schrieb Klaus major-k via use-livecode : > > HI all, > > I want to execute a handler in the future -> tomorrow at 8:00 AM > So I scripted: > ... > put the date into tDatum > convert tDatum from date to dateitems > add 1 to item 3 of tDatum > put 8 into item 4 of tDatum > > ## dateitems: > # 1. the year > # 2. the month number > # 3. the day of the month > # 4. the hour in 24-hour time > # 5. the minute > # 6. the second > # 7. the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth > > convert tDatum from dateitems to seconds > put tDatum - the seconds into tNeuesDatum > send "checkabfrage" to me in tNeuesDatum secs > put the result into checkabfrage_id > ... > Looks OK in the debugger, tNeuesdatum is something like 58000, which is correct. > > However, when I query "the pendingmessages" this message shows up as: > 39440,3158550744.943945,onlinekursinfo,stack "/xxx.livecode" > > But 3158550744.943945 as "delivery" time resolves (convert) to: > long system date -> Sonntag, 2. Februar 2070 > long date -> Sunday, february 2, 2070? > date -> 2/2/70 > > Is this broken somehow or am I missing something? > Any insight appreciated! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From irog at mac.com Fri Jan 17 10:53:22 2020 From: irog at mac.com (Roger Guay) Date: Fri, 17 Jan 2020 08:53:22 -0700 Subject: IP Camera Image in Browser Widget In-Reply-To: References: <5960D5A3-C63E-4839-AF85-C191DBC8199A@mac.com> Message-ID: <61893346-CBC0-4D3C-A69E-3430123877D9@mac.com> Hi Tom, I think you are correct about the permissions issue. Normally these cameras are accessed by their own dedicated iOS app. Roger, I love your remote lawnmower idea! Roger > On Jan 17, 2020, at 8:37 AM, Tom Glod via use-livecode wrote: > > Roger, if in a normal browser the browser asks for permission to access the > IP Cameras ...then the problem is that the LC Browser Widget is not asking > for those permissions. I don't know the answer to that. > > If its not about the permission window, how are the IP cameras accessed > normally outside of LC? > > On Fri, Jan 17, 2020 at 9:41 AM Eller, Roger via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Roger, >> >> I don't have a suggestion. Just wanted to say that I too would value such >> an option, especially in an Android app. My use-case is to mount an IP >> camera on an RC Lawnmower, and using VR goggles, control it form a >> first-person point-of-view; Essentially, simulating a riding mower >> experience from inside the house where the air-conditioning is. ? >> >> That said, it may depend on the type of IP camera, and whether or not the >> vendor provides a web-view instead of their own proprietary software. >> >> >> ~Roger >> >> ________________________________ >> From: use-livecode on behalf of >> Roger Guay via use-livecode >> Sent: Thursday, January 16, 2020 9:42 PM >> To: use-livecode at lists.runrev.com >> Cc: Roger Guay >> Subject: IP Camera Image in Browser Widget >> >> >> 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. >> >> >> I would like to build an app that displays various IP cameras I have >> operating around my home, but having no success. I can get the IP addresses >> and ports for each camera but the browser shows nothing. >> >> Mac Catalina and LC 9.5.1 >> >> Any hints/help greatly appreciated. >> >> Thanks, >> >> Roger >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> >> https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=02%7C01%7Croger.e.eller%40sealedair.com%7C9a4d621837b647ad649008d79af7015e%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C637148257994670666&sdata=eggpccfh%2FYTmrgi%2F5GifeIXcn8bUKiEVdAFJo8CIfa0%3D&reserved=0 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > 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 klaus at major-k.de Fri Jan 17 10:58:27 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Jan 2020 16:58:27 +0100 Subject: strange problems with SEND In-Reply-To: References: Message-ID: Just tested this in LC 5.02 and it worked as exspected! The pendingmessages show 1579330812.096689 as "delivery" time which resolves nicely to -> Saturday, January 18, 2020 Tested also in LC 9.05 and it works as exspected, too!? A new bug? :-/ > Am 17.01.2020 um 16:46 schrieb Klaus major-k via use-livecode : > > HI all, > > I want to execute a handler in the future -> tomorrow at 8:00 AM > So I scripted: > ... > put the date into tDatum > convert tDatum from date to dateitems > add 1 to item 3 of tDatum > put 8 into item 4 of tDatum > > ## dateitems: > # 1. the year > # 2. the month number > # 3. the day of the month > # 4. the hour in 24-hour time > # 5. the minute > # 6. the second > # 7. the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth > > convert tDatum from dateitems to seconds > put tDatum - the seconds into tNeuesDatum > send "checkabfrage" to me in tNeuesDatum secs > put the result into checkabfrage_id > ... > Looks OK in the debugger, tNeuesdatum is something like 58000, which is correct. > > However, when I query "the pendingmessages" this message shows up as: > 39440,3158550744.943945,onlinekursinfo,stack "/xxx.livecode" > > But 3158550744.943945 as "delivery" time resolves (convert) to: > long system date -> Sonntag, 2. Februar 2070 > long date -> Sunday, february 2, 2070? > date -> 2/2/70 > > Is this broken somehow or am I missing something? > Any insight appreciated! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > 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 -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Fri Jan 17 11:11:52 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Jan 2020 17:11:52 +0100 Subject: strange problems with SEND In-Reply-To: References: Message-ID: <4A172EC1-57CA-42FF-941D-0A0E2EEB45CA@major-k.de> Hi all, > Am 17.01.2020 um 16:58 schrieb Klaus major-k via use-livecode : > > Just tested this in LC 5.02 and it worked as exspected! > The pendingmessages show 1579330812.096689 as "delivery" time > which resolves nicely to -> Saturday, January 18, 2020 > > Tested also in LC 9.05 and it works as exspected, too!? > > A new bug? :-/ maybe this has to do with "centurycutoff"? But then this problem should also be in LC 5.02 and 9.05, right? >> Am 17.01.2020 um 16:46 schrieb Klaus major-k via use-livecode : >> >> HI all, >> >> I want to execute a handler in the future -> tomorrow at 8:00 AM >> So I scripted: >> ... >> put the date into tDatum >> convert tDatum from date to dateitems >> add 1 to item 3 of tDatum >> put 8 into item 4 of tDatum >> >> ## dateitems: >> # 1. the year >> # 2. the month number >> # 3. the day of the month >> # 4. the hour in 24-hour time >> # 5. the minute >> # 6. the second >> # 7. the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth >> >> convert tDatum from dateitems to seconds >> put tDatum - the seconds into tNeuesDatum >> send "checkabfrage" to me in tNeuesDatum secs >> put the result into checkabfrage_id >> ... >> Looks OK in the debugger, tNeuesdatum is something like 58000, which is correct. >> >> However, when I query "the pendingmessages" this message shows up as: >> 39440,3158550744.943945,onlinekursinfo,stack "/xxx.livecode" >> >> But 3158550744.943945 as "delivery" time resolves (convert) to: >> long system date -> Sonntag, 2. Februar 2070 >> long date -> Sunday, february 2, 2070? >> date -> 2/2/70 >> >> Is this broken somehow or am I missing something? >> Any insight appreciated! >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> 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 > > -- > Klaus Major > https://www.major-k.de > 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 -- Klaus Major https://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Fri Jan 17 11:21:41 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Jan 2020 16:21:41 +0000 Subject: strange problems with SEND In-Reply-To: <4A172EC1-57CA-42FF-941D-0A0E2EEB45CA@major-k.de> References: <4A172EC1-57CA-42FF-941D-0A0E2EEB45CA@major-k.de> Message-ID: This got me thinking, I've pondered a way to run scheduled tasks, and how I would go about it. I think what I would do is have a faceless standalone that once launched sent a command in time every second, or 5 seconds or whatever, and the handler would then check a list or a database for tasks whose datetime was prior to the current time, and were flagged pending. I would then probably through socket communication attempt to trigger the task to my actual application, and if successful mark the task as completed. If the socket comm failed, I would simply do nothing and issue another send in time. The advantage of using a dedicated app is that multiple applications could take advantage of it. A new app could simply register with the timer app again through sockets, and each task would store the name of the registered app in the task, so each app would only get it's own tasks. Probably more than what you want to do though. At the very least you could implement this in app. Bob S > On Jan 17, 2020, at 08:11 , Klaus major-k via use-livecode wrote: > > Hi all, > >> Am 17.01.2020 um 16:58 schrieb Klaus major-k via use-livecode : >> >> Just tested this in LC 5.02 and it worked as exspected! >> The pendingmessages show 1579330812.096689 as "delivery" time >> which resolves nicely to -> Saturday, January 18, 2020 >> >> Tested also in LC 9.05 and it works as exspected, too!? >> >> A new bug? :-/ > > maybe this has to do with "centurycutoff"? > But then this problem should also be in LC 5.02 and 9.05, right? > >>> Am 17.01.2020 um 16:46 schrieb Klaus major-k via use-livecode : >>> >>> HI all, >>> >>> I want to execute a handler in the future -> tomorrow at 8:00 AM >>> So I scripted: >>> ... >>> put the date into tDatum >>> convert tDatum from date to dateitems >>> add 1 to item 3 of tDatum >>> put 8 into item 4 of tDatum >>> >>> ## dateitems: >>> # 1. the year >>> # 2. the month number >>> # 3. the day of the month >>> # 4. the hour in 24-hour time >>> # 5. the minute >>> # 6. the second >>> # 7. the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth >>> >>> convert tDatum from dateitems to seconds >>> put tDatum - the seconds into tNeuesDatum >>> send "checkabfrage" to me in tNeuesDatum secs >>> put the result into checkabfrage_id >>> ... >>> Looks OK in the debugger, tNeuesdatum is something like 58000, which is correct. >>> >>> However, when I query "the pendingmessages" this message shows up as: >>> 39440,3158550744.943945,onlinekursinfo,stack "/xxx.livecode" >>> >>> But 3158550744.943945 as "delivery" time resolves (convert) to: >>> long system date -> Sonntag, 2. Februar 2070 >>> long date -> Sunday, february 2, 2070? >>> date -> 2/2/70 >>> >>> Is this broken somehow or am I missing something? >>> Any insight appreciated! >>> >>> >>> Best >>> >>> Klaus >>> -- >>> Klaus Major >>> https://www.major-k.de >>> 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 >> >> -- >> Klaus Major >> https://www.major-k.de >> 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 > > -- > Klaus Major > https://www.major-k.de > 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 Jan 17 11:26:12 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Jan 2020 17:26:12 +0100 Subject: strange problems with SEND In-Reply-To: References: <4A172EC1-57CA-42FF-941D-0A0E2EEB45CA@major-k.de> Message-ID: Hi Bob, > Am 17.01.2020 um 17:21 schrieb Bob Sneidar via use-livecode : > > This got me thinking, I've pondered a way to run scheduled tasks, and how I would go about it. I think what I would do is have a faceless standalone that once launched sent a command in time every second, or 5 seconds or whatever, and the handler would then check a list or a database for tasks whose datetime was prior to the current time, and were flagged pending. > > I would then probably through socket communication attempt to trigger the task to my actual application, and if successful mark the task as completed. If the socket comm failed, I would simply do nothing and issue another send in time. > > The advantage of using a dedicated app is that multiple applications could take advantage of it. A new app could simply register with the timer app again through sockets, and each task would store the name of the registered app in the task, so each app would only get it's own tasks. > > Probably more than what you want to do though. At the very least you could implement this in app. this seems to be an unneccessary big workaround for something that used to work right out of the box. 8-) Remember this works fine in LC 5.02 and 9.05, so this must be a bug. > Bob S Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Fri Jan 17 11:28:09 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 17 Jan 2020 17:28:09 +0100 Subject: strange problems with SEND In-Reply-To: <4A172EC1-57CA-42FF-941D-0A0E2EEB45CA@major-k.de> References: <4A172EC1-57CA-42FF-941D-0A0E2EEB45CA@major-k.de> Message-ID: Tested here with LC 9.51 and 9.6.0DP2 and both were successfull. I?ve extended your script, so it also checks/show the delivery time. on mouseup put the date into tDatum convert tDatum from date to dateitems add 1 to item 8 of tDatum put 8 into item 4 of tDatum ## dateitems: # 1. the year # 2. the month number # 3. the day of the month # 4. the hour in 24-hour time # 5. the minute # 6. the second # 7. the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth convert tDatum from dateitems to seconds put tDatum - the seconds into tNeuesDatum send "test" to me in tNeuesDatum seconds put the pendingmessages into tpendingM filter tPendingM with "*test*" put item 2 of tPendingM into tDate convert tDate from seconds to dateitems put tDate end mouseup - Matthias Rebbe Life Is Too Short For Boring Code > Am 17.01.2020 um 17:11 schrieb Klaus major-k via use-livecode : > > Hi all, > >> Am 17.01.2020 um 16:58 schrieb Klaus major-k via use-livecode >: >> >> Just tested this in LC 5.02 and it worked as exspected! >> The pendingmessages show 1579330812.096689 as "delivery" time >> which resolves nicely to -> Saturday, January 18, 2020 >> >> Tested also in LC 9.05 and it works as exspected, too!? >> >> A new bug? :-/ > > maybe this has to do with "centurycutoff"? > But then this problem should also be in LC 5.02 and 9.05, right? > >>> Am 17.01.2020 um 16:46 schrieb Klaus major-k via use-livecode : >>> >>> HI all, >>> >>> I want to execute a handler in the future -> tomorrow at 8:00 AM >>> So I scripted: >>> ... >>> put the date into tDatum >>> convert tDatum from date to dateitems >>> add 1 to item 3 of tDatum >>> put 8 into item 4 of tDatum >>> >>> ## dateitems: >>> # 1. the year >>> # 2. the month number >>> # 3. the day of the month >>> # 4. the hour in 24-hour time >>> # 5. the minute >>> # 6. the second >>> # 7. the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth >>> >>> convert tDatum from dateitems to seconds >>> put tDatum - the seconds into tNeuesDatum >>> send "checkabfrage" to me in tNeuesDatum secs >>> put the result into checkabfrage_id >>> ... >>> Looks OK in the debugger, tNeuesdatum is something like 58000, which is correct. >>> >>> However, when I query "the pendingmessages" this message shows up as: >>> 39440,3158550744.943945,onlinekursinfo,stack "/xxx.livecode" >>> >>> But 3158550744.943945 as "delivery" time resolves (convert) to: >>> long system date -> Sonntag, 2. Februar 2070 >>> long date -> Sunday, february 2, 2070? >>> date -> 2/2/70 >>> >>> Is this broken somehow or am I missing something? >>> Any insight appreciated! >>> >>> >>> Best >>> >>> Klaus >>> -- >>> Klaus Major >>> https://www.major-k.de >>> 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 >> >> -- >> Klaus Major >> https://www.major-k.de >> 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 > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Fri Jan 17 11:29:21 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 17 Jan 2020 16:29:21 +0000 Subject: strange problems with SEND In-Reply-To: References: Message-ID: Double check your pending messages after the send - the line you quoted doesn?t match the name of the handler in send... Warmest Regards, Mark. Sent from my iPhone > On 17 Jan 2020, at 15:46, Klaus major-k via use-livecode wrote: > > ?HI all, > > I want to execute a handler in the future -> tomorrow at 8:00 AM > So I scripted: > ... > put the date into tDatum > convert tDatum from date to dateitems > add 1 to item 3 of tDatum > put 8 into item 4 of tDatum > > ## dateitems: > # 1. the year > # 2. the month number > # 3. the day of the month > # 4. the hour in 24-hour time > # 5. the minute > # 6. the second > # 7. the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth > > convert tDatum from dateitems to seconds > put tDatum - the seconds into tNeuesDatum > send "checkabfrage" to me in tNeuesDatum secs > put the result into checkabfrage_id > ... > Looks OK in the debugger, tNeuesdatum is something like 58000, which is correct. > > However, when I query "the pendingmessages" this message shows up as: > 39440,3158550744.943945,onlinekursinfo,stack "/xxx.livecode" > > But 3158550744.943945 as "delivery" time resolves (convert) to: > long system date -> Sonntag, 2. Februar 2070 > long date -> Sunday, february 2, 2070? > date -> 2/2/70 > > Is this broken somehow or am I missing something? > Any insight appreciated! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > 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 Jan 17 12:24:07 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Jan 2020 18:24:07 +0100 Subject: strange problems with SEND In-Reply-To: References: Message-ID: Hi Mark, > Am 17.01.2020 um 17:29 schrieb Mark Waddingham via use-livecode : > > Double check your pending messages after the send - the line you quoted doesn?t match the name of the handler in send... ouch, sorry, TRUE! :-/ However the other message "onlinekursinfo" is also from me and I have no idea why it should be delivered on: Sunday, February 2, 2070, I did not script that!? THAT script also looked fine in the debugger. Will check again, but 2070 is definitevely WRONG in whatever pending message! > Warmest Regards, > > Mark. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Fri Jan 17 12:25:50 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Jan 2020 18:25:50 +0100 Subject: strange problems with SEND In-Reply-To: References: <4A172EC1-57CA-42FF-941D-0A0E2EEB45CA@major-k.de> Message-ID: <5E60FA4B-9442-4D44-AB64-EB7FD830FE35@major-k.de> Hi Matthias, > Am 17.01.2020 um 17:28 schrieb Matthias Rebbe via use-livecode : > > Tested here with LC 9.51 and 9.6.0DP2 and both were successfull. yes, error on my side, THIS pending message is correct. It is another handler that I will have to check again. Thanks! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From mark at livecode.com Fri Jan 17 12:31:13 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 17 Jan 2020 17:31:13 +0000 Subject: strange problems with SEND In-Reply-To: References: Message-ID: On 2020-01-17 17:24, Klaus major-k via use-livecode wrote: > ouch, sorry, TRUE! :-/ > > However the other message "onlinekursinfo" is also from me and I have > no idea why it should be delivered on: > Sunday, February 2, 2070, I did not script that!? I think you did ... Accidentally... > THAT script also looked fine in the debugger. > Will check again, but 2070 is definitevely WRONG in whatever pending > message! Remember that pending messages are not deleted by the engine until they fire or you issue a cancel command. This code essentially computes the 'future time' the message you were sending would fire: put the date into tDatum convert tDatum from date to dateitems add 1 to item 3 of tDatum put 8 into item 4 of tDatum convert tDatum from dateitems to seconds put tDatum - the seconds into tNeuesDatum add the seconds to tNeuesDatum -- essentially what 'in time' does convert tNeuesDatum from seconds to long system date put tNeuesDatum Now try removing `- the seconds` from the 6th line and see what date you get... (My theory is in some iteration of your code, you missed that out but ran the script leaving you with a far future pending message!) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From klaus at major-k.de Fri Jan 17 12:38:59 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Jan 2020 18:38:59 +0100 Subject: strange problems with SEND In-Reply-To: References: Message-ID: Hi Mark, > Am 17.01.2020 um 18:31 schrieb Mark Waddingham via use-livecode : > > On 2020-01-17 17:24, Klaus major-k via use-livecode wrote: >> ouch, sorry, TRUE! :-/ >> However the other message "onlinekursinfo" is also from me and I have >> no idea why it should be delivered on: >> Sunday, February 2, 2070, I did not script that!? > > I think you did ... Accidentally... probably! 8-) >> THAT script also looked fine in the debugger. >> Will check again, but 2070 is definitevely WRONG in whatever pending message! > > Remember that pending messages are not deleted by the engine until they fire > or you issue a cancel command. yes. > This code essentially computes the 'future time' the message you were sending > would fire: > > put the date into tDatum > convert tDatum from date to dateitems > add 1 to item 3 of tDatum > put 8 into item 4 of tDatum > convert tDatum from dateitems to seconds > put tDatum - the seconds into tNeuesDatum > add the seconds to tNeuesDatum -- essentially what 'in time' does > convert tNeuesDatum from seconds to long system date > put tNeuesDatum > > Now try removing `- the seconds` from the 6th line and see what date you get... > > (My theory is in some iteration of your code, you missed that out but ran the > script leaving you with a far future pending message!) The problem handler is another one, this one does work as exspected! Will doublecheck the ahndler in question! > Warmest Regards, > > Mark. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From klaus at major-k.de Fri Jan 17 13:01:08 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Jan 2020 19:01:08 +0100 Subject: strange problems with SEND: SOLVED In-Reply-To: References: Message-ID: Hi all, DIY problems are the best, right? 8-) OK, everything works as advertized when you substitute the CORRECT variable for X in for "send... in X secs". I was adding "the seconds" which explains the resulting year 2070! :-D Sorry for the false alarm and thanks for the feedback and hints! I will better take a rest now... Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From tom at makeshyft.com Fri Jan 17 13:57:06 2020 From: tom at makeshyft.com (Tom Glod) Date: Fri, 17 Jan 2020 13:57:06 -0500 Subject: IP Camera Image in Browser Widget In-Reply-To: <61893346-CBC0-4D3C-A69E-3430123877D9@mac.com> References: <5960D5A3-C63E-4839-AF85-C191DBC8199A@mac.com> <61893346-CBC0-4D3C-A69E-3430123877D9@mac.com> Message-ID: Yeah...I ran into this problem years ago when trying ot do webchat in Browser widget. I'm not sure what the answer is, but its worth reaching out to the team to ask if the CEF can be built with a flag that enables this. Thanks. Tom On Fri, Jan 17, 2020 at 10:54 AM Roger Guay via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Tom, > > I think you are correct about the permissions issue. Normally these > cameras are accessed by their own dedicated iOS app. > > Roger, I love your remote lawnmower idea! > > Roger > > > On Jan 17, 2020, at 8:37 AM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Roger, if in a normal browser the browser asks for permission to access > the > > IP Cameras ...then the problem is that the LC Browser Widget is not > asking > > for those permissions. I don't know the answer to that. > > > > If its not about the permission window, how are the IP cameras accessed > > normally outside of LC? > > > > On Fri, Jan 17, 2020 at 9:41 AM Eller, Roger via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Hi Roger, > >> > >> I don't have a suggestion. Just wanted to say that I too would value > such > >> an option, especially in an Android app. My use-case is to mount an IP > >> camera on an RC Lawnmower, and using VR goggles, control it form a > >> first-person point-of-view; Essentially, simulating a riding mower > >> experience from inside the house where the air-conditioning is. ? > >> > >> That said, it may depend on the type of IP camera, and whether or not > the > >> vendor provides a web-view instead of their own proprietary software. > >> > >> > >> ~Roger > >> > >> ________________________________ > >> From: use-livecode on behalf of > >> Roger Guay via use-livecode > >> Sent: Thursday, January 16, 2020 9:42 PM > >> To: use-livecode at lists.runrev.com > >> Cc: Roger Guay > >> Subject: IP Camera Image in Browser Widget > >> > >> > >> 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. > >> > >> > >> I would like to build an app that displays various IP cameras I have > >> operating around my home, but having no success. I can get the IP > addresses > >> and ports for each camera but the browser shows nothing. > >> > >> Mac Catalina and LC 9.5.1 > >> > >> Any hints/help greatly appreciated. > >> > >> Thanks, > >> > >> Roger > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> > >> > https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=02%7C01%7Croger.e.eller%40sealedair.com%7C9a4d621837b647ad649008d79af7015e%7C2691a2514c384643af0b0c0982f197bd%7C0%7C0%7C637148257994670666&sdata=eggpccfh%2FYTmrgi%2F5GifeIXcn8bUKiEVdAFJo8CIfa0%3D&reserved=0 > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > -- > > 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 bobsneidar at iotecdigital.com Fri Jan 17 14:37:38 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Jan 2020 19:37:38 +0000 Subject: Can't add substack Message-ID: Hi all. I have 2 stacks open: Forms Generator and Time Calculator. I get the properties of stack Time Calculator and set the Main Stack property to Forms Generator. I save both stacks. I check the properties again, it didn't take. Ideas?? Bob S From bobsneidar at iotecdigital.com Fri Jan 17 14:40:44 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Jan 2020 19:40:44 +0000 Subject: Can't add substack In-Reply-To: References: Message-ID: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> Further, when I try this from the message box, I get: Message execution error: Error description: Stack: can't set mainStack (has substacks?) Hint: I get the substacks of Time Calculator, and the onlt substack it is using is it's own Data Grid Templates. Bob S > On Jan 17, 2020, at 11:37 , Bob Sneidar via use-livecode wrote: > > Hi all. > > I have 2 stacks open: Forms Generator and Time Calculator. I get the properties of stack Time Calculator and set the Main Stack property to Forms Generator. I save both stacks. I check the properties again, it didn't take. Ideas?? > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Jan 17 14:45:23 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Jan 2020 20:45:23 +0100 Subject: Can't add substack In-Reply-To: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> References: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> Message-ID: Hi Bob, > Am 17.01.2020 um 20:40 schrieb Bob Sneidar via use-livecode : > > Further, when I try this from the message box, I get: > > Message execution error: > Error description: Stack: can't set mainStack (has substacks?) > Hint: > I get the substacks of Time Calculator, and the onlt substack it is using is it's own Data Grid Templates. well, template or not, substack = substack! Bad luck, mate... > Bob S Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Fri Jan 17 14:46:24 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Jan 2020 19:46:24 +0000 Subject: Can't add substack In-Reply-To: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> References: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> Message-ID: <6F3C4CA1-970E-4015-9295-62484F51A1B9@iotecdigital.com> Okay, I tricked it. I cut the datagrid, deleted the template when it asked, set the mainStack property, and pasted the datagrid. Still, how odd? If this is not happening to anyone else, it is possible that my customization to the datagrid library that allows for cascading behaviors might be causing this. Bob S > On Jan 17, 2020, at 11:40 , Bob Sneidar via use-livecode wrote: > > Further, when I try this from the message box, I get: > > Message execution error: > Error description: Stack: can't set mainStack (has substacks?) > Hint: > > I get the substacks of Time Calculator, and the onlt substack it is using is it's own Data Grid Templates. > > Bob S From bobsneidar at iotecdigital.com Fri Jan 17 14:47:54 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Jan 2020 19:47:54 +0000 Subject: Can't add substack In-Reply-To: References: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> Message-ID: yes, but that would mean anyone who has added a datagrid to a stack wil not be able to make another stack it's mainStack! That can't be the expected behavior. Bob S > On Jan 17, 2020, at 11:45 , Klaus major-k via use-livecode wrote: > > Hi Bob, > >> Am 17.01.2020 um 20:40 schrieb Bob Sneidar via use-livecode : >> >> Further, when I try this from the message box, I get: >> >> Message execution error: >> Error description: Stack: can't set mainStack (has substacks?) >> Hint: >> I get the substacks of Time Calculator, and the onlt substack it is using is it's own Data Grid Templates. > > well, template or not, substack = substack! > Bad luck, mate... > >> Bob S > > Best > > Klaus > > -- > Klaus Major From klaus at major-k.de Fri Jan 17 14:50:50 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Jan 2020 20:50:50 +0100 Subject: Can't add substack In-Reply-To: References: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> Message-ID: <912A2DB9-A44F-49FC-AF84-6372CFDAB5F4@major-k.de> Hi Bob, > Am 17.01.2020 um 20:47 schrieb Bob Sneidar via use-livecode : > > yes, but that would mean anyone who has added a datagrid to a stack wil not be able to make another stack it's mainStack! true. > That can't be the expected behavior. It is for me. :-) But let the mothership decide if this really is. > Bob S > >> On Jan 17, 2020, at 11:45 , Klaus major-k via use-livecode wrote: >> ... >>> >>> Message execution error: >>> Error description: Stack: can't set mainStack (has substacks?) >>> Hint: >>> I get the substacks of Time Calculator, and the onlt substack it is using is it's own Data Grid Templates. >> well, template or not, substack = substack! >> Bad luck, mate... Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From brahma at hindu.org Fri Jan 17 14:53:32 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 17 Jan 2020 19:53:32 +0000 Subject: YAML Libraries Message-ID: I am finding the constraints of JSON to be a bit, well, "constraining" , for use in small "data serializations". e.g. a list of 20 stories with various parameter, that you don't want to put in a database (for now, maybe later once the dBase design clarifies itself and the number of "stories" start to scale-up) Looking at YAML, seems the perfect fit. But there are no "YamlToArray" or "ArrayToYaml" plug ins in the "inclusions" @Trevor DeVore I am not ready to "levurize" SivaSiva. (although it seems a good fit, I don't know what I getting into.. a bit "scary" ) But perhaps you have the libraries someone would need? BR From bobsneidar at iotecdigital.com Fri Jan 17 15:02:08 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Jan 2020 20:02:08 +0000 Subject: Can't add substack In-Reply-To: <912A2DB9-A44F-49FC-AF84-6372CFDAB5F4@major-k.de> References: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> <912A2DB9-A44F-49FC-AF84-6372CFDAB5F4@major-k.de> Message-ID: <93C981EB-6B18-4F5E-A675-A951BD3CED1C@iotecdigital.com> Also of note, as I just discovered to my chagrin, is that a substack cannot have it's own stackFiles. That means any behaviors in the independent stack have to be reassociated once it becomes a sub stack. So I think those who intend to create substacks need to take all this into account. The reason it is a big deal for me is I have a series of utility stacks that I may add to any project, the time calculator being one of them. I develop these independently from any other stack, then add them as a substack later. I have done this many times in the past and never had an issue, but I think this was before the datagrid library was moved to a script only stack. Having a single behavior I can use in multiple substacks is huge especially as I add a utility stack to more and more projects. Bob S > On Jan 17, 2020, at 11:50 , Klaus major-k via use-livecode wrote: > > Hi Bob, > >> Am 17.01.2020 um 20:47 schrieb Bob Sneidar via use-livecode : >> >> yes, but that would mean anyone who has added a datagrid to a stack wil not be able to make another stack it's mainStack! > > true. > >> That can't be the expected behavior. > > It is for me. :-) > But let the mothership decide if this really is. > >> Bob S From brahma at hindu.org Fri Jan 17 15:18:33 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 17 Jan 2020 20:18:33 +0000 Subject: YAML Libraries In-Reply-To: References: Message-ID: I found the handler ## Monte's YAMLToArray command constant kMultiLineModeNone = 0 constant kMultiLineModeLiteral = 1 constant kMultiLineModeFolded = 2 command YAMLToArray pYaml [snip] in the levure initialization behavior. I think that's it. There is no "ArrayToYaml" but that is not needed. BR @Trevor DeVore I am not ready to "levurize" SivaSiva. (although it seems a good fit, I don't know what I getting into.. a bit "scary" ) But perhaps you have the libraries someone would need? From ahsoftware at sonic.net Fri Jan 17 15:36:17 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 17 Jan 2020 12:36:17 -0800 Subject: Can't add substack In-Reply-To: <912A2DB9-A44F-49FC-AF84-6372CFDAB5F4@major-k.de> References: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> <912A2DB9-A44F-49FC-AF84-6372CFDAB5F4@major-k.de> Message-ID: On 1/17/20 11:50 AM, Klaus major-k via use-livecode wrote: > Hi Bob, > >> Am 17.01.2020 um 20:47 schrieb Bob Sneidar via use-livecode : >> >> yes, but that would mean anyone who has added a datagrid to a stack wil not be able to make another stack it's mainStack! > > true. > >> That can't be the expected behavior. > > It is for me. :-) > But let the mothership decide if this really is. It has ever been thus. Substacks can't have substacks. It's an unfortunate feature of the architecture and would require some er... fixing... to change that. -- Mark Wieder ahsoftware at gmail.com From paul at researchware.com Fri Jan 17 16:35:27 2020 From: paul at researchware.com (Paul Dupuis) Date: Fri, 17 Jan 2020 16:35:27 -0500 Subject: Can't add substack In-Reply-To: References: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> <912A2DB9-A44F-49FC-AF84-6372CFDAB5F4@major-k.de> Message-ID: On 1/17/2020 3:36 PM, Mark Wieder via use-livecode wrote: > It has ever been thus. Substacks can't have substacks. > It's an unfortunate feature of the architecture and would require some > er... fixing... to change that. > This is one enhancement - allowing nested stacks - that I would very much welcome. In our Apps stacks often represent windows, but windows may often have dialogs (other stacks) associated with them. It would be nice to be able to structure this accordingly other than by a naming convention for the stacks. Mainstack ? - Substack (window) ???? - Substack (custom dialog for this window) ?????? - Substack (icon, image, and media resources for the dialog) ?? - Substack (another window) ??? - Substack (custom dialog for this window) ??? - Substack (floating tool palette for this window) etc. From ambassador at fourthworld.com Fri Jan 17 23:51:07 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Jan 2020 20:51:07 -0800 Subject: Can't add substack In-Reply-To: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> References: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> Message-ID: Bob Sneidar wrote: > Further, when I try this from the message box, I get: > > Message execution error: > Error description: Stack: can't set mainStack (has substacks?) > Hint: > > I get the substacks of Time Calculator, and the onlt substack it is > using is it's own Data Grid Templates. Move the template substack first, then when its old mainstack no longer has any substacks it can be moved too. -- 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 michael-kristensen at dsa-net.dk Sat Jan 18 04:26:32 2020 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Sat, 18 Jan 2020 10:26:32 +0100 Subject: Thumbnail on txt file? Message-ID: Hi there Im using a simple txt file for storing data. I want to stick a preview thumbnail onto it when I save it. Can I do that? Mac High Sierra Thanks Michael From richmondmathewson at gmail.com Sat Jan 18 05:16:49 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 18 Jan 2020 12:16:49 +0200 Subject: Thumbnail on txt file? In-Reply-To: References: Message-ID: <492a6ff7-7a25-5a4d-bc05-fd79fb1d9a92@gmail.com> Surely that is something that is done by the operating system or its desktop/windowing manager and not by LiveCode. On 18.01.20 11:26, Michael Kristensen via use-livecode wrote: > Hi there > > Im using a simple txt file for storing data. > > I want to stick a preview thumbnail onto it when I save it. > > Can I do that? > > Mac High Sierra > > > Thanks > > Michael > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 18 05:24:34 2020 From: klaus at major-k.de (Klaus major-k) Date: Sat, 18 Jan 2020 11:24:34 +0100 Subject: Thumbnail on txt file? In-Reply-To: <492a6ff7-7a25-5a4d-bc05-fd79fb1d9a92@gmail.com> References: <492a6ff7-7a25-5a4d-bc05-fd79fb1d9a92@gmail.com> Message-ID: <4FDD4CF3-5E93-4B3B-89DA-E0FFBF3563CC@major-k.de> Hi Michael, > Am 18.01.2020 um 11:16 schrieb Richmond via use-livecode : > Surely that is something that is done by the operating system or its desktop/windowing manager and not by LiveCode. > > On 18.01.20 11:26, Michael Kristensen via use-livecode wrote: >> Hi there >> >> Im using a simple txt file for storing data. >> I want to stick a preview thumbnail onto it when I save it. >> Can I do that? >> Mac High Sierra >> >> Thanks >> Michael I am sure this can be done somehow with AppleScript. Search the web for some example scripts. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Sat Jan 18 05:53:00 2020 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 18 Jan 2020 11:53:00 +0100 Subject: Thumbnail on txt file? In-Reply-To: References: Message-ID: <0A747D26-C063-4A9B-85D3-8AD8D469D8B4@m-r-d.de> Maybe this is of help. https://apple.stackexchange.com/questions/6901/how-can-i-change-a-file-or-folder-icon-using-the-terminal - Matthias Rebbe Life Is Too Short For Boring Code > Am 18.01.2020 um 10:27 schrieb Michael Kristensen via use-livecode : > > ?Hi there > > Im using a simple txt file for storing data. > > I want to stick a preview thumbnail onto it when I save it. > > Can I do that? > > Mac High Sierra > > > Thanks > > Michael > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 18 05:56:27 2020 From: klaus at major-k.de (Klaus major-k) Date: Sat, 18 Jan 2020 11:56:27 +0100 Subject: Thumbnail on txt file? In-Reply-To: <0A747D26-C063-4A9B-85D3-8AD8D469D8B4@m-r-d.de> References: <0A747D26-C063-4A9B-85D3-8AD8D469D8B4@m-r-d.de> Message-ID: <27F91A29-2FBC-499D-BF03-C1A5774F1623@major-k.de> Hi Matthias, > Am 18.01.2020 um 11:53 schrieb Matthias Rebbe via use-livecode : > Maybe this is of help. > https://apple.stackexchange.com/questions/6901/how-can-i-change-a-file-or-folder-icon-using-the-terminal ah, a terminal solution, even better than a clumsy AppleScript. :-) > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 18.01.2020 um 10:27 schrieb Michael Kristensen via use-livecode : >> ?Hi there >> >> Im using a simple txt file for storing data. >> I want to stick a preview thumbnail onto it when I save it. >> Can I do that? Mac High Sierra >> >> Thanks >> Michael Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From michael-kristensen at dsa-net.dk Sat Jan 18 08:15:43 2020 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Sat, 18 Jan 2020 14:15:43 +0100 Subject: Thumbnail on txt file? In-Reply-To: References: Message-ID: <7CFD540D-51F9-48F8-A81A-38D9B7B0ED61@dsa-net.dk> Thanks for the answer, Richmond I just want to describe a little more what I want I Livecode I want to take a snapshot of part of the screen, and that snapshot I want to use as thumbnail for the txt file. In that way I can see what the txt file represent. Does that change anything? Mic > Subject: Re: Thumbnail on txt file? > Message-ID: <492a6ff7-7a25-5a4d-bc05-fd79fb1d9a92 at gmail.com > > Content-Type: text/plain; charset=utf-8; format=flowed > > Surely that is something that is done by the operating system or its > desktop/windowing manager and not by LiveCode. > > On 18.01.20 11:26, Michael Kristensen via use-livecode wrote: >> Hi there >> >> Im using a simple txt file for storing data. >> >> I want to stick a preview thumbnail onto it when I save it. >> >> Can I do that? >> >> Mac High Sierra >> >> >> Thanks >> >> Michael >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Jan 18 08:49:40 2020 From: klaus at major-k.de (Klaus major-k) Date: Sat, 18 Jan 2020 14:49:40 +0100 Subject: mailto: string with attachment Message-ID: <25FAA53D-19A2-40F9-A7A3-99288EDA0289@major-k.de> Hi all, did someone successfully create a "mailto:" string with attachment on a Mac? And did it work when using: ... launch url (the_mailto_string) ... If yes, what is the exact syntax? I tried gazillion variations of the basic string: mailto:me at example.com?subject=Test&body=Body%20text&attachment-url=file:///full/path/to/file.xyz mailto:me at example.com?subject=Test&body=Body%20text&attachment=full/path/to/file.xyz etc... no dice... But maybe attachments in a "mailto:" url are prohibited on the Mac for security reasons? Thanks in advance for any hints! Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Sat Jan 18 10:25:47 2020 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 18 Jan 2020 16:25:47 +0100 Subject: mailto: string with attachment In-Reply-To: <25FAA53D-19A2-40F9-A7A3-99288EDA0289@major-k.de> References: <25FAA53D-19A2-40F9-A7A3-99288EDA0289@major-k.de> Message-ID: <5BD335FE-41A1-4969-8610-D27453FAE4F3@m-r-d.de> Are you sure, that mailto: supports attachments at all? At least under Windows this is not possible. And i think on Mac OS it?s also not supported. I suspect you have to go the AppleScript way. http://hints.macworld.com/article.php?story=20031114170053338 Von meinem iPad gesendet > Am 18.01.2020 um 14:49 schrieb Klaus major-k via use-livecode : > > ?Hi all, > > did someone successfully create a "mailto:" string > with attachment on a Mac? And did it work when using: > ... > launch url (the_mailto_string) > ... > > If yes, what is the exact syntax? > > I tried gazillion variations of the basic string: > mailto:me at example.com?subject=Test&body=Body%20text&attachment-url=file:///full/path/to/file.xyz > mailto:me at example.com?subject=Test&body=Body%20text&attachment=full/path/to/file.xyz > etc... no dice... > > But maybe attachments in a "mailto:" url are prohibited on the Mac for security reasons? > > Thanks in advance for any hints! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > 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 prothero at earthlearningsolutions.org Sat Jan 18 10:57:04 2020 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Sat, 18 Jan 2020 07:57:04 -0800 Subject: Thumbnail on txt file? In-Reply-To: <7CFD540D-51F9-48F8-A81A-38D9B7B0ED61@dsa-net.dk> References: <7CFD540D-51F9-48F8-A81A-38D9B7B0ED61@dsa-net.dk> Message-ID: <4FF14FE1-A64D-4C8D-972F-C084E1F71AC6@earthlearningsolutions.org> Mic, An issue is how to efficiently maintain the association between the text file and its image. The easiest way is probably to just add something, like ?-tn? to the name of the text file, for the name of the image. That way you can just test for the existence of file mytextfilename&?-tn? load it and display it wherever you want. One concern comes to mind, though. If you capture an image of text, then display it at a reduced size, it may quickly become unreadable. Bill William Prothero http://es.earthednet.org > On Jan 18, 2020, at 5:17 AM, Michael Kristensen via use-livecode wrote: > > ?Thanks for the answer, Richmond > > I just want to describe a little more what I want > > I Livecode I want to take a snapshot of part of the screen, and that snapshot I want to use as thumbnail for the txt file. > > In that way I can see what the txt file represent. > > Does that change anything? > > Mic > >> Subject: Re: Thumbnail on txt file? >> Message-ID: <492a6ff7-7a25-5a4d-bc05-fd79fb1d9a92 at gmail.com > >> Content-Type: text/plain; charset=utf-8; format=flowed >> >> Surely that is something that is done by the operating system or its >> desktop/windowing manager and not by LiveCode. >> >>> On 18.01.20 11:26, Michael Kristensen via use-livecode wrote: >>> Hi there >>> >>> Im using a simple txt file for storing data. >>> >>> I want to stick a preview thumbnail onto it when I save it. >>> >>> Can I do that? >>> >>> Mac High Sierra >>> >>> >>> Thanks >>> >>> Michael >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Sat Jan 18 11:03:56 2020 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Sat, 18 Jan 2020 08:03:56 -0800 Subject: Thumbnail on txt file? In-Reply-To: <4FF14FE1-A64D-4C8D-972F-C084E1F71AC6@earthlearningsolutions.org> References: <4FF14FE1-A64D-4C8D-972F-C084E1F71AC6@earthlearningsolutions.org> Message-ID: <75F342AA-FE43-47B8-95AB-7DF8F69EBBA5@earthlearningsolutions.org> Mic, My response assumed you will display the thumbnail in a livecode application and that you are not trying to change the icon of the text file for viewing on the desktop. Bill William Prothero http://es.earthednet.org > On Jan 18, 2020, at 7:58 AM, "prothero at earthlearningsolutions.org" wrote: > > ?Mic, > An issue is how to efficiently maintain the association between the text file and its image. The easiest way is probably to just add something, like ?-tn? to the name of the text file, for the name of the image. That way you can just test for the existence of file mytextfilename&?-tn? load it and display it wherever you want. > > One concern comes to mind, though. If you capture an image of text, then display it at a reduced size, it may quickly become unreadable. > > Bill > > William Prothero > http://es.earthednet.org > >> On Jan 18, 2020, at 5:17 AM, Michael Kristensen via use-livecode wrote: >> >> ?Thanks for the answer, Richmond >> >> I just want to describe a little more what I want >> >> I Livecode I want to take a snapshot of part of the screen, and that snapshot I want to use as thumbnail for the txt file. >> >> In that way I can see what the txt file represent. >> >> Does that change anything? >> >> Mic >> >>> Subject: Re: Thumbnail on txt file? >>> Message-ID: <492a6ff7-7a25-5a4d-bc05-fd79fb1d9a92 at gmail.com > >>> Content-Type: text/plain; charset=utf-8; format=flowed >>> >>> Surely that is something that is done by the operating system or its >>> desktop/windowing manager and not by LiveCode. >>> >>>> On 18.01.20 11:26, Michael Kristensen via use-livecode wrote: >>>> Hi there >>>> >>>> Im using a simple txt file for storing data. >>>> >>>> I want to stick a preview thumbnail onto it when I save it. >>>> >>>> Can I do that? >>>> >>>> Mac High Sierra >>>> >>>> >>>> Thanks >>>> >>>> Michael >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Sat Jan 18 11:31:40 2020 From: jjs at krutt.org (JJS) Date: Sat, 18 Jan 2020 17:31:40 +0100 Subject: Admob integration In-Reply-To: References: <401a22c6-0fc1-929d-fa02-c72e7ad09e0f@krutt.org> <23d00a2c-9008-36f4-7f64-11e43dc6ab6a@krutt.org> <4672059C-946F-48CF-B1A9-26590C246B4A@gmail.com> <1e8ff350-5584-6317-a9fc-4a72810d4e1f@krutt.org> Message-ID: Thank you for response Sean. Hopefully there will be some kind of solution. I'm going to explore some more sites as i see also on stack overflow that more people having similair issue who do not use one of the supported IDE's (don't know why but this message was multiple times not delivered) Op 16-1-2020 om 01:36 schreef Sean Cole (Pi) via use-livecode: > I created a widget for it a few years back after which Admob changed their > whole approach to how to gain access/display the ads. At the time > InfinityLC was not yet completed. By the time it had, I had lost interest > -- and most of my clients! (Remember when LC said they would have iOS ObjC > ready in just a few months but that ended up being about 2years instead) > > The key issue you will come across with trying to bind their API to LC via > LC Builder is that their API will be expecting access to XCode (which it > won't get). There is probably some way around it but it won't be easy to > work out as their support will only be interested in helping those > communicating from XCode directly. Perhaps the Android API/SDK would be > easier to work from and perhaps even be usable from iOS too. > > Good luck > > Sean Cole > *Pi Digital * > > > On Wed, 15 Jan 2020 at 21:42, JJS via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> If i knew how to create a library or widget for it i would do it too. My >> knowledge is to little for it,even after reading and trying out the >> examples from Git and the lessons. >> >> For Amazon one can download the sdk jar which perhaps can be loaded and >> connected with via LCB for Android >> >> For Google on Android the sdk is not downloadable anymore and goes via >> Google play api somewhat >> >> For iOs one can download the sdk from Google or from Ironsource the >> mediation sdk to get perhaps a step further(maybe in swift indeed) >> >> But then what, i would not know how to proceed. >> >> As for Android Studio, Unity, Eclipse i see lots of examples. >> >> If one might have a reasonable app, you could get some extra income to >> extend the LC subscription which already would be a good reason for me >> at the moment >> >> >> Op 15-1-2020 om 22:07 schreef Dr. Hawkins via use-livecode: >>> On Jan 15, 2020, at 1:03 PM, JJS via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> No one interested in putting ads in mobile apps to get some extra >> income? >>> Oh, I?m interested, but I?ve given up. >>> >>> I have aa parta program on hold. I assume I?ll end up just writing it >> in swift. >>> There is *supposedly* a partnership with an interface in the base >> distribution. The vendor for the ads, however, has no interest in dealing >> with anyone that hasn?t already shipped zillions of copies >>> >>> ? >>> Richard E. Hawkins, Esq. >>> The Hawkins Law Firm >>> 3430 E. Flamingo Rd. >>> Suite 232 >>> Las Vegas, NV 89121 >>> (702) 508-8462 >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Sat Jan 18 12:01:28 2020 From: jjs at krutt.org (JJS) Date: Sat, 18 Jan 2020 18:01:28 +0100 Subject: mailto: string with attachment In-Reply-To: <25FAA53D-19A2-40F9-A7A3-99288EDA0289@major-k.de> References: <25FAA53D-19A2-40F9-A7A3-99288EDA0289@major-k.de> Message-ID: almost, it fires up my email client (on windows) but no attachment yet in the email on mouseUp pMouseButton ?? put "mailto:me at example.com?subject=hallo&body=blabla&attachment=url"e&file:/Users/Jerry/Documents/anicedocument.pdf"e" into tT ?? launch url tT ???????? end mouseUp Op 18-1-2020 om 14:49 schreef Klaus major-k via use-livecode: > Hi all, > > did someone successfully create a "mailto:" string > with attachment on a Mac? And did it work when using: > ... > launch url (the_mailto_string) > ... > > If yes, what is the exact syntax? > > I tried gazillion variations of the basic string: > mailto:me at example.com?subject=Test&body=Body%20text&attachment-url=file:///full/path/to/file.xyz > mailto:me at example.com?subject=Test&body=Body%20text&attachment=full/path/to/file.xyz > etc... no dice... > > But maybe attachments in a "mailto:" url are prohibited on the Mac for security reasons? > > Thanks in advance for any hints! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > 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 ludovic.thebault at laposte.net Sat Jan 18 12:18:50 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sat, 18 Jan 2020 18:18:50 +0100 Subject: Missing icon on iOS app Message-ID: <0539FA91-2BE8-4732-8BAC-FC620A461628@laposte.net> Hello, After creating an iOS application with Livecode 9.6dp2, the icons are missing in the bundle (and also their reference in info.plist). So, I?ve tested with Livecode 9.04, and it?s the same ! I am on macOS 10.14. Xcode uptodate (maybe the guilty ?) Strange, no ? I am the only one ? Ludovic From ludovic.thebault at laposte.net Sat Jan 18 14:44:09 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sat, 18 Jan 2020 20:44:09 +0100 Subject: Missing icon on iOS app In-Reply-To: <0539FA91-2BE8-4732-8BAC-FC620A461628@laposte.net> References: <0539FA91-2BE8-4732-8BAC-FC620A461628@laposte.net> Message-ID: <645DAC43-2DF3-45E0-AAAA-643047341399@laposte.net> > Le 18 janv. 2020 ? 18:18, Ludovic THEBAULT via use-livecode a ?crit : > > Hello, > > After creating an iOS application with Livecode 9.6dp2, the icons are missing in the bundle (and also their reference in info.plist). > > So, I?ve tested with Livecode 9.04, and it?s the same ! > > I am on macOS 10.14. Xcode uptodate (maybe the guilty ?) > > Strange, no ? I am the only one ? > So, I?ve set Xcode?s preferences to use the 10.3 command line tool, and icons are back ! From jjs at krutt.org Sat Jan 18 16:02:02 2020 From: jjs at krutt.org (JJS) Date: Sat, 18 Jan 2020 22:02:02 +0100 Subject: mailto: string with attachment In-Reply-To: <5BD335FE-41A1-4969-8610-D27453FAE4F3@m-r-d.de> References: <25FAA53D-19A2-40F9-A7A3-99288EDA0289@major-k.de> <5BD335FE-41A1-4969-8610-D27453FAE4F3@m-r-d.de> Message-ID: <44f25162-34a1-7a56-3ce3-8f80511d32fe@krutt.org> I think Matthias is correct, i see several topics on the web that using attachments is not possible with mailto: There is a little solution here: https://stackoverflow.com/questions/1195111/c-sharp-mailto-with-attachment but for windows using MAPI32.dll, so not for mac Op 18-1-2020 om 16:25 schreef Matthias Rebbe via use-livecode: > Are you sure, that mailto: supports attachments at all? > > At least under Windows this is not possible. And i think on Mac OS it?s also not supported. > I suspect you have to go the AppleScript way. > > http://hints.macworld.com/article.php?story=20031114170053338 > > > > > > Von meinem iPad gesendet > >> Am 18.01.2020 um 14:49 schrieb Klaus major-k via use-livecode : >> >> ?Hi all, >> >> did someone successfully create a "mailto:" string >> with attachment on a Mac? And did it work when using: >> ... >> launch url (the_mailto_string) >> ... >> >> If yes, what is the exact syntax? >> >> I tried gazillion variations of the basic string: >> mailto:me at example.com?subject=Test&body=Body%20text&attachment-url=file:///full/path/to/file.xyz >> mailto:me at example.com?subject=Test&body=Body%20text&attachment=full/path/to/file.xyz >> etc... no dice... >> >> But maybe attachments in a "mailto:" url are prohibited on the Mac for security reasons? >> >> Thanks in advance for any hints! >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> 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 jjs at krutt.org Sat Jan 18 16:10:02 2020 From: jjs at krutt.org (JJS) Date: Sat, 18 Jan 2020 22:10:02 +0100 Subject: mailto: string with attachment In-Reply-To: <44f25162-34a1-7a56-3ce3-8f80511d32fe@krutt.org> References: <25FAA53D-19A2-40F9-A7A3-99288EDA0289@major-k.de> <5BD335FE-41A1-4969-8610-D27453FAE4F3@m-r-d.de> <44f25162-34a1-7a56-3ce3-8f80511d32fe@krutt.org> Message-ID: <0fc43ce8-631d-1041-f1b8-11974a6e8a3f@krutt.org> http://lessons.livecode.com/m/4071/l/13198-how-do-i-attach-a-file-to-an-e-mail by the way there is an option for mobile, but since you don't have a mobile... Groetjes Op 18-1-2020 om 22:02 schreef JJS via use-livecode: > I think Matthias is correct, i see several topics on the web that > using attachments is not possible with mailto: > > There is a little solution here: > https://stackoverflow.com/questions/1195111/c-sharp-mailto-with-attachment > but for windows using MAPI32.dll, so not for mac > > Op 18-1-2020 om 16:25 schreef Matthias Rebbe via use-livecode: >> Are you sure, that mailto: supports attachments at all? >> >> At least under Windows this is not possible. And i think on Mac OS >> it?s also not supported. >> I suspect you have to go the AppleScript way. >> >> http://hints.macworld.com/article.php?story=20031114170053338 >> >> >> >> >> >> Von meinem iPad gesendet >> >>> Am 18.01.2020 um 14:49 schrieb Klaus major-k via use-livecode >>> : >>> >>> ?Hi all, >>> >>> did someone successfully create a "mailto:" string >>> with attachment on a Mac? And did it work when using: >>> ... >>> launch url (the_mailto_string) >>> ... >>> >>> If yes, what is the exact syntax? >>> >>> I tried gazillion variations of the basic string: >>> mailto:me at example.com?subject=Test&body=Body%20text&attachment-url=file:///full/path/to/file.xyz >>> >>> mailto:me at example.com?subject=Test&body=Body%20text&attachment=full/path/to/file.xyz >>> >>> etc... no dice... >>> >>> But maybe attachments in a "mailto:" url are prohibited on the Mac >>> for security reasons? >>> >>> Thanks in advance for any hints! >>> >>> >>> Best >>> >>> Klaus >>> -- >>> Klaus Major >>> https://www.major-k.de >>> 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 lists at mangomultimedia.com Sun Jan 19 09:45:33 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 19 Jan 2020 08:45:33 -0600 Subject: YAML Libraries In-Reply-To: References: Message-ID: On Fri, Jan 17, 2020 at 2:19 PM Sannyasin Brahmanathaswami via use-livecode wrote: > I found the handler > > ## Monte's YAMLToArray command > constant kMultiLineModeNone = 0 > constant kMultiLineModeLiteral = 1 > constant kMultiLineModeFolded = 2 > > command YAMLToArray pYaml > > [snip] in the levure initialization behavior. > > I think that's it. There is no "ArrayToYaml" but that is not needed. > BR - I'm glad you were able to locate the handler you need in the source code. Here is a handler I use for printing out arrays as YAML when I'm debugging or logging. It most likely could use some improvements but works well for what I do with it. -- Trevor DeVore ScreenSteps www.screensteps.com /** Summary: Prints an array using YAML. Returns: YAML string */ function printArray pArray local tKeys, tKey, tYAML put the keys of pArray into tKeys sort tKeys numeric repeat for each line tKey in tKeys put _outputKeyAsYAML(pArray, tKey, 1) & cr after tYAML end repeat delete the last char of tYAML return tYAML end printArray private function _outputKeyAsYAML pArrayA, pKey, pLevel local tIndent, tKey, tStr, i repeat with i = 1 to pLevel-1 put space & space after tIndent end repeat put tIndent after tStr put pKey & ": " after tStr if pArrayA[pKey] is an array then put cr after tStr repeat for each key tKey in pArrayA[pKey] put _outputKeyAsYAML(pArrayA[pKey], tKey, pLevel+1) & cr after tStr end repeat else if pArrayA[pKey] contains CR then put space & space after tIndent put "|+" & cr & tIndent after tStr replace CR with CR & tIndent in pArrayA[pKey] end if if pArrayA[pKey] contains "'" then replace "'" with "''" in pArrayA[pKey] put "'" & pArrayA[pKey] & "'" & cr after tStr else put pArrayA[pKey] & cr after tStr end if end if delete the last char of tStr return tStr end _outputKeyAsYAML From jacque at hyperactivesw.com Sun Jan 19 15:23:53 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 19 Jan 2020 14:23:53 -0600 Subject: IOS scroller Message-ID: <16fbf79b898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm using a native scroller for both Android and iOS. I track the mouseDown position and the mouseUp position to see if the swipe is vertical or horizontal. Vertical causes a scroll, horizontal is a swipe. This works on Android. On iOS the mouseDown isn't registered fast enough and swiping doesn't work unless you hold down for a second before continuing the swipe. I think this must be related to the iOS-only properties delayTouches and/or canCancelTouches but I've tried combinations of both without success. To complicate matters I also need to track long presses but I don't think that's related, and it's working. Does anyone have an example of an iOS scroller handler that both scrolls and swipes smoothly? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sun Jan 19 19:43:26 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 19 Jan 2020 16:43:26 -0800 Subject: Thumbnail on txt file? In-Reply-To: <7CFD540D-51F9-48F8-A81A-38D9B7B0ED61@dsa-net.dk> References: <7CFD540D-51F9-48F8-A81A-38D9B7B0ED61@dsa-net.dk> Message-ID: <3d2e5306-1ba6-52a1-0157-7e4365d57539@fourthworld.com> Michael Kristensen wrote: > I Livecode I want to take a snapshot of part of the screen, and > that snapshot I want to use as thumbnail for the txt file. > > In that way I can see what the txt file represent. Does the file have to be a text file specifically? How will it be used? If your app is the only one that will be using it, you could use an array to represent the data, with one key for the text and another for the thumbnail. Then again, Bill Prothero raised a good point when he noted that thumbnail of text is often too small to give any indication of the content. If that's the case here, perhaps whatever needs these small representations could display the first X number of words of the text to give the user some idea about what the text contains. But all of this is just guessing. It would be most helpful to know how these files will be used. -- Richard Gaskin Fourth World Systems From panos.merakos at livecode.com Mon Jan 20 09:53:05 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 20 Jan 2020 16:53:05 +0200 Subject: [ANN] This Week in LiveCode 209 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 #209 here: http://bit.ly/2NGrM4s This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From matthias_livecode_150811 at m-r-d.de Mon Jan 20 10:20:29 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 20 Jan 2020 16:20:29 +0100 Subject: FYI: Cause found for LC crashing to desktop when Browser widget opens PDF In-Reply-To: <2F2113EE-3F78-4219-9E79-62202326473B@m-r-d.de> References: <2F2113EE-3F78-4219-9E79-62202326473B@m-r-d.de> Message-ID: <7BFD6353-9F41-478D-AA29-0070EC4F72E9@m-r-d.de> Just want to let you know that Livecode Dev Team confirmed that this is a bug https://quality.livecode.com/show_bug.cgi?id=22534 - Matthias Rebbe Life Is Too Short For Boring Code > Am 14.01.2020 um 18:56 schrieb Matthias Rebbe via use-livecode : > > Hi, > > maybe this is of use for the one or the other. > in any case LC crashes on Mac to desktop when opening a PDF in the Browser Widget and your are getting crazy because of that, then check if Acrobat software is installed on your system. > > A few days ago i mentionend in an answer to an other post, that LC 9.5/9.6 and also standalones created with that versions, but not LC8, crash to desktop when one opens a PDF in the Browser Widget. > > I contacted support, as i was pretty sure that this worked in the past. > > As this only happened on my iMac, but not on my Macbook, i decided to completely erase the hard disk of my iMac and reinstall the OS and all needed LC stuff, because i had to finish some important work and waiting for an answer from support or continuing on the Macbook was not an option for me. > > I planned to install the other software one after the other when i needed it. > > All went well and the problem with the PDF in the widget did not happen anymore. Today i needed to install Acrobat DC for some tasks. > An hour later or so i received an answer from support and one question from Dev team was if by any chance Acrobat software is/was installed on my machine. > > I tried again in LC and the crash happened again. After uninstalling Acrobat DC the crashes did not happen anymore. > > I reported this back to support. > > Of course not using Acrobat DC anymore is no final solution, but for the moment it?s a workaround and hopefully the Dev team finds out what exactly is going wrong with. > > Matthias > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Mon Jan 20 10:41:14 2020 From: mark at livecode.com (Mark Waddingham) Date: Mon, 20 Jan 2020 15:41:14 +0000 Subject: FYI: Cause found for LC crashing to desktop when Browser widget opens PDF In-Reply-To: <7BFD6353-9F41-478D-AA29-0070EC4F72E9@m-r-d.de> References: <2F2113EE-3F78-4219-9E79-62202326473B@m-r-d.de> <7BFD6353-9F41-478D-AA29-0070EC4F72E9@m-r-d.de> Message-ID: <2db9900fc942d8b6b275d52f8fc8151c@livecode.com> On 2020-01-20 15:20, Matthias Rebbe via use-livecode wrote: > Just want to let you know that Livecode Dev Team confirmed that this is > a bug > > https://quality.livecode.com/show_bug.cgi?id=22534 Well, we confirmed it crashed ;) Whether it is a bug in LC or Adobe DC or not is another matter. There was a similar issue a very long time ago with Adobe's PDF plugin - it would cause the browser external to crash if used (we used the system webview back then as we do now)... The Adobe plugin was doing things it shouldn't (I can't recall if we managed to come up with a hack in the browser external to stop it or not; or whether Adobe eventually cleaned up their plugin!) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From matthias_livecode_150811 at m-r-d.de Mon Jan 20 10:48:14 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 20 Jan 2020 16:48:14 +0100 Subject: FYI: Cause found for LC crashing to desktop when Browser widget opens PDF In-Reply-To: <2db9900fc942d8b6b275d52f8fc8151c@livecode.com> References: <2F2113EE-3F78-4219-9E79-62202326473B@m-r-d.de> <7BFD6353-9F41-478D-AA29-0070EC4F72E9@m-r-d.de> <2db9900fc942d8b6b275d52f8fc8151c@livecode.com> Message-ID: <5F3AB006-535B-41F5-92EC-B57CF50FC43D@m-r-d.de> Yes, you are right. I am sorry. I should have written that LC Dev Team confirmed that there is a incompatibility between LC 9 and Adobe Acrobt. But at least, it?s confirmed. ;) - Matthias Rebbe Life Is Too Short For Boring Code > Am 20.01.2020 um 16:41 schrieb Mark Waddingham via use-livecode : > > On 2020-01-20 15:20, Matthias Rebbe via use-livecode wrote: >> Just want to let you know that Livecode Dev Team confirmed that this is a bug >> https://quality.livecode.com/show_bug.cgi?id=22534 > > Well, we confirmed it crashed ;) Whether it is a bug in LC or Adobe DC or not > is another matter. > > There was a similar issue a very long time ago with Adobe's PDF plugin - it would > cause the browser external to crash if used (we used the system webview back then > as we do now)... The Adobe plugin was doing things it shouldn't (I can't recall > if we managed to come up with a hack in the browser external to stop it or not; or > whether Adobe eventually cleaned up their plugin!) > > 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 richmondmathewson at gmail.com Mon Jan 20 14:22:35 2020 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 20 Jan 2020 21:22:35 +0200 Subject: Odd thing . . . Message-ID: On Macupdate they have just announced the release of the Community edition of LiveCode 9.6.0.15511 . . . i.e. the second Developer Preview of 9.6.0. https://www.macupdate.com/app/mac/7149/livecode-community-edition This was made available on LiveCode's own download page on 18 December 2020. There is no mention of the fact that this is beta software, and is in fact the first time I have ever seen LiveCode on Macupdate. This has made me lose quite a bit of faith in Macupdate. Richmond. From ahsoftware at sonic.net Mon Jan 20 14:42:25 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 20 Jan 2020 11:42:25 -0800 Subject: Odd thing . . . In-Reply-To: References: Message-ID: <18725c56-6dbf-de10-fed1-c8b327c211db@sonic.net> On 1/20/20 11:22 AM, Richmond via use-livecode wrote: > On Macupdate they have just announced the release of the Community > edition of > LiveCode 9.6.0.15511 . . . i.e. the second Developer Preview of 9.6.0. > > https://www.macupdate.com/app/mac/7149/livecode-community-edition > > This was made available on LiveCode's own download page on 18 December > 2020. > > There is no mention of the fact that this is beta software, and is in > fact the first time > I have ever seen LiveCode on Macupdate. > > This has made me lose quite a bit of faith in Macupdate. Additionally, macupdate seems to have their own download link for the dmg file instead of directing you to the proper site. I'd immediately flag that as suspicious. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Mon Jan 20 15:41:02 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Jan 2020 14:41:02 -0600 Subject: iOS browser local URLs Message-ID: I can't load a local html file into a brwoser widget on iOS: set the url of widget "browser" to "file://" & specialFolderPath("documents") & "/folder/myFile.html#1234" I've tried "file:" with no slashes, one or two slashes, and omitting the "file:" designation entirely. The above works fine on Mac and Android (though it produces three slashes in the final URL.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jan 20 16:05:12 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Jan 2020 15:05:12 -0600 Subject: iOS browser local URLs In-Reply-To: References: Message-ID: <7f3b6611-9ca3-efb0-6479-9c3f163dc729@hyperactivesw.com> On 1/20/20 2:41 PM, J. Landman Gay via use-livecode wrote: > I can't load a local html file into a brwoser widget on iOS: > > set the url of widget "browser" to "file://" & > specialFolderPath("documents") & "/folder/myFile.html#1234" > > I've tried "file:" with no slashes, one or two slashes, and omitting the > "file:" designation entirely. The above works fine on Mac and Android > (though it produces three slashes in the final URL.) > An update on this. The first time I load a URL it works. All subsequent URLs with the same structure fail. Setting the URL of the widget to empty and then setting the URL to the new one still fails. Any ideas? I need this pretty soon. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jan 20 17:19:53 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Jan 2020 16:19:53 -0600 Subject: iOS background execution Message-ID: <310d2697-b309-94c3-4f02-0d14950f0c05@hyperactivesw.com> I seem to be hitting zero for zero but here's another iOS question. I thought all apps run in the background by default now on iOS. That isn't happening. Switching to another app and then back to mine causes the app to restart. I want the user to pick up where they left off. Do we still need to select the "background execution" requirement in standalone settings? In spite of the scary warning? Does it work? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknappster at gmail.com Mon Jan 20 17:27:31 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 20 Jan 2020 14:27:31 -0800 Subject: iOS background execution In-Reply-To: <310d2697-b309-94c3-4f02-0d14950f0c05@hyperactivesw.com> References: <310d2697-b309-94c3-4f02-0d14950f0c05@hyperactivesw.com> Message-ID: <5A61B1C4-03B5-434F-BAFC-CE9C4F819557@gmail.com> I used "background execution? in my first and only iOS app and it works for me (it?s a very simple app). Haven?t had any unexpected behavior. Marty > On Jan 20, 2020, at 2:19 PM, J. Landman Gay via use-livecode wrote: > > I seem to be hitting zero for zero but here's another iOS question. > > I thought all apps run in the background by default now on iOS. That isn't happening. Switching to another app and then back to mine causes the app to restart. I want the user to pick up where they left off. > > Do we still need to select the "background execution" requirement in standalone settings? In spite of the scary warning? Does it work? > > -- > 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 rdimola at evergreeninfo.net Mon Jan 20 17:35:00 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 20 Jan 2020 17:35:00 -0500 Subject: iOS background execution In-Reply-To: <310d2697-b309-94c3-4f02-0d14950f0c05@hyperactivesw.com> References: <310d2697-b309-94c3-4f02-0d14950f0c05@hyperactivesw.com> Message-ID: <003a01d5cfe1$dccc1090$966431b0$@net> This is one of the things I documented in bug report| 22149. The default "background execution" is only for newer versions of iOS. I keep this key in(despite the warning) so pre iOS 13(I think it's 13) installs still run in the background. 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 J. Landman Gay via use-livecode Sent: Monday, January 20, 2020 5:20 PM To: LiveCode Mailing List Cc: J. Landman Gay Subject: iOS background execution I seem to be hitting zero for zero but here's another iOS question. I thought all apps run in the background by default now on iOS. That isn't happening. Switching to another app and then back to mine causes the app to restart. I want the user to pick up where they left off. Do we still need to select the "background execution" requirement in standalone settings? In spite of the scary warning? Does it work? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Jan 20 18:15:51 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Jan 2020 17:15:51 -0600 Subject: iOS background execution In-Reply-To: <003a01d5cfe1$dccc1090$966431b0$@net> References: <310d2697-b309-94c3-4f02-0d14950f0c05@hyperactivesw.com> <003a01d5cfe1$dccc1090$966431b0$@net> Message-ID: <007aada9-184c-5792-5f56-23654b3d8559@hyperactivesw.com> Thanks guys. It does seem to work. My husband's iPhone 6s (my test device) is running the latest OS 13.3 and I thought background execution should just work. But it didn't. On 1/20/20 4:35 PM, Ralph DiMola via use-livecode wrote: > This is one of the things I documented in bug report| 22149. The default > "background execution" is only for newer versions of iOS. I keep this key > in(despite the warning) so pre iOS 13(I think it's 13) installs still run in > the background. > > 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 J. Landman Gay via use-livecode > Sent: Monday, January 20, 2020 5:20 PM > To: LiveCode Mailing List > Cc: J. Landman Gay > Subject: iOS background execution > > I seem to be hitting zero for zero but here's another iOS question. > > I thought all apps run in the background by default now on iOS. That isn't > happening. Switching to another app and then back to mine causes the app to > restart. I want the user to pick up where they left off. > > Do we still need to select the "background execution" requirement in > standalone settings? In spite of the scary warning? Does it work? > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jan 20 18:19:00 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Jan 2020 17:19:00 -0600 Subject: iOS browser local URLs In-Reply-To: <7f3b6611-9ca3-efb0-6479-9c3f163dc729@hyperactivesw.com> References: <7f3b6611-9ca3-efb0-6479-9c3f163dc729@hyperactivesw.com> Message-ID: On 1/20/20 3:05 PM, J. Landman Gay via use-livecode wrote: > On 1/20/20 2:41 PM, J. Landman Gay via use-livecode wrote: >> I can't load a local html file into a brwoser widget on iOS: >> >> set the url of widget "browser" to "file://" & >> specialFolderPath("documents") & "/folder/myFile.html#1234" >> >> I've tried "file:" with no slashes, one or two slashes, and omitting >> the "file:" designation entirely. The above works fine on Mac and >> Android (though it produces three slashes in the final URL.) >> > > An update on this. The first time I load a URL it works. All subsequent > URLs with the same structure fail. Setting the URL of the widget to > empty and then setting the URL to the new one still fails. > More info: It doesn't seem to be my URLs. First time after reloading the app the URL works. But if I go to another card and then back again by linking to the same, identical URL it fails. That tells me that the widget itself doesn't want to update its own URL setting. I get a blank browser widget with no text. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Mon Jan 20 18:26:19 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 20 Jan 2020 18:26:19 -0500 Subject: iOS browser local URLs In-Reply-To: References: <7f3b6611-9ca3-efb0-6479-9c3f163dc729@hyperactivesw.com> Message-ID: <003b01d5cfe9$079fa410$16deec30$@net> 2 ideas here. 1) Don't reload the URL. It should still be displayed. 2) Delete and recreate the widget. Just spit balling, throwing darts, guessing... 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 J. Landman Gay via use-livecode Sent: Monday, January 20, 2020 6:19 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: iOS browser local URLs On 1/20/20 3:05 PM, J. Landman Gay via use-livecode wrote: > On 1/20/20 2:41 PM, J. Landman Gay via use-livecode wrote: >> I can't load a local html file into a brwoser widget on iOS: >> >> set the url of widget "browser" to "file://" & >> specialFolderPath("documents") & "/folder/myFile.html#1234" >> >> I've tried "file:" with no slashes, one or two slashes, and omitting >> the "file:" designation entirely. The above works fine on Mac and >> Android (though it produces three slashes in the final URL.) >> > > An update on this. The first time I load a URL it works. All > subsequent URLs with the same structure fail. Setting the URL of the > widget to empty and then setting the URL to the new one still fails. > More info: It doesn't seem to be my URLs. First time after reloading the app the URL works. But if I go to another card and then back again by linking to the same, identical URL it fails. That tells me that the widget itself doesn't want to update its own URL setting. I get a blank browser widget with no text. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Jan 20 18:23:15 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Jan 2020 17:23:15 -0600 Subject: IOS scroller In-Reply-To: <16fbf79b898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16fbf79b898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 1/19/20 2:23 PM, J. Landman Gay via use-livecode wrote: > I'm using a native scroller for both Android and iOS. I track the > mouseDown position and the mouseUp position to see if the swipe is > vertical or horizontal. Vertical causes a scroll, horizontal is a swipe. > This works on Android. > > On iOS the mouseDown isn't registered fast enough and swiping doesn't > work unless you hold down for a second before continuing the swipe. I > think this must be related to the iOS-only properties delayTouches > and/or canCancelTouches but I've tried combinations of both without > success. Plodding through my own issues today: the above is marginally inaccurate. Swiping horizontally does work but only if the scroller is absolutely still. If you swipe even slightly upward (but mostly horizontal) it acts like a vertical scroll. One of those scroller properties I mentioned should be preventing that, right? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terry.judd at unimelb.edu.au Mon Jan 20 18:44:26 2020 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 20 Jan 2020 23:44:26 +0000 Subject: IOS scroller In-Reply-To: References: <16fbf79b898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I spent a lot of time trying to do this on iOS and gave up (I was working with a per day calendar style scrolling object that you would swipe to change days). It worked some/most of the time but like you say, scrolling seems to override everything else. I even tried disabling scrolling until you had worked out whether you were scrolling or swiping but that was a dead end as well. Sorry - that's not very helpful though. Terry... ?On 21/1/20, 10:24 am, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: On 1/19/20 2:23 PM, J. Landman Gay via use-livecode wrote: > I'm using a native scroller for both Android and iOS. I track the > mouseDown position and the mouseUp position to see if the swipe is > vertical or horizontal. Vertical causes a scroll, horizontal is a swipe. > This works on Android. > > On iOS the mouseDown isn't registered fast enough and swiping doesn't > work unless you hold down for a second before continuing the swipe. I > think this must be related to the iOS-only properties delayTouches > and/or canCancelTouches but I've tried combinations of both without > success. Plodding through my own issues today: the above is marginally inaccurate. Swiping horizontally does work but only if the scroller is absolutely still. If you swipe even slightly upward (but mostly horizontal) it acts like a vertical scroll. One of those scroller properties I mentioned should be preventing that, right? -- 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 brian at milby7.com Mon Jan 20 19:05:03 2020 From: brian at milby7.com (Brian Milby) Date: Mon, 20 Jan 2020 19:05:03 -0500 Subject: IOS scroller In-Reply-To: References: <16fbf79b898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Have you looked at the new data grid code? ?They had to tackle the same problem. Thanks, Brian On Jan 20, 2020, 6:45 PM -0500, Terry Judd via use-livecode , wrote: > I spent a lot of time trying to do this on iOS and gave up (I was working with a per day calendar style scrolling object that you would swipe to change days). It worked some/most of the time but like you say, scrolling seems to override everything else. I even tried disabling scrolling until you had worked out whether you were scrolling or swiping but that was a dead end as well. Sorry - that's not very helpful though. > > Terry... > > On 21/1/20, 10:24 am, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: > > On 1/19/20 2:23 PM, J. Landman Gay via use-livecode wrote: > > I'm using a native scroller for both Android and iOS. I track the > > mouseDown position and the mouseUp position to see if the swipe is > > vertical or horizontal. Vertical causes a scroll, horizontal is a swipe. > > This works on Android. > > > > On iOS the mouseDown isn't registered fast enough and swiping doesn't > > work unless you hold down for a second before continuing the swipe. I > > think this must be related to the iOS-only properties delayTouches > > and/or canCancelTouches but I've tried combinations of both without > > success. > > Plodding through my own issues today: the above is marginally > inaccurate. Swiping horizontally does work but only if the scroller is > absolutely still. If you swipe even slightly upward (but mostly > horizontal) it acts like a vertical scroll. One of those scroller > properties I mentioned should be preventing that, right? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Mon Jan 20 19:14:24 2020 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 21 Jan 2020 00:14:24 +0000 Subject: IOS scroller In-Reply-To: References: <16fbf79b898.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <38FBBD8C-70E7-4ECD-A9C6-307C606A8C4A@unimelb.edu.au> No, but thanks for pointing us in the right direction Brian. Best regards, Terry... ?On 21/1/20, 11:06 am, "use-livecode on behalf of Brian Milby via use-livecode" wrote: Have you looked at the new data grid code? They had to tackle the same problem. Thanks, Brian On Jan 20, 2020, 6:45 PM -0500, Terry Judd via use-livecode , wrote: > I spent a lot of time trying to do this on iOS and gave up (I was working with a per day calendar style scrolling object that you would swipe to change days). It worked some/most of the time but like you say, scrolling seems to override everything else. I even tried disabling scrolling until you had worked out whether you were scrolling or swiping but that was a dead end as well. Sorry - that's not very helpful though. > > Terry... > > On 21/1/20, 10:24 am, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: > > On 1/19/20 2:23 PM, J. Landman Gay via use-livecode wrote: > > I'm using a native scroller for both Android and iOS. I track the > > mouseDown position and the mouseUp position to see if the swipe is > > vertical or horizontal. Vertical causes a scroll, horizontal is a swipe. > > This works on Android. > > > > On iOS the mouseDown isn't registered fast enough and swiping doesn't > > work unless you hold down for a second before continuing the swipe. I > > think this must be related to the iOS-only properties delayTouches > > and/or canCancelTouches but I've tried combinations of both without > > success. > > Plodding through my own issues today: the above is marginally > inaccurate. Swiping horizontally does work but only if the scroller is > absolutely still. If you swipe even slightly upward (but mostly > horizontal) it acts like a vertical scroll. One of those scroller > properties I mentioned should be preventing that, right? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Jan 20 21:56:09 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Jan 2020 20:56:09 -0600 Subject: iOS browser local URLs In-Reply-To: <003b01d5cfe9$079fa410$16deec30$@net> References: <7f3b6611-9ca3-efb0-6479-9c3f163dc729@hyperactivesw.com> <003b01d5cfe9$079fa410$16deec30$@net> Message-ID: <16fc6075d28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Reloading the same URL was just a test. The URL can be any one of several dozen saved files. I had thought about recreating the widget. I don't think I should have to but it may come down to that. I was pretty sure this behavior didn't happen before. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 20, 2020 5:25:03 PM Ralph DiMola via use-livecode wrote: > 2 ideas here. 1) Don't reload the URL. It should still be displayed. 2) > Delete and recreate the widget. > Just spit balling, throwing darts, guessing... > > 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 J. Landman Gay via use-livecode > Sent: Monday, January 20, 2020 6:19 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: iOS browser local URLs > > On 1/20/20 3:05 PM, J. Landman Gay via use-livecode wrote: >> On 1/20/20 2:41 PM, J. Landman Gay via use-livecode wrote: >>> I can't load a local html file into a brwoser widget on iOS: >>> >>> set the url of widget "browser" to "file://" & >>> specialFolderPath("documents") & "/folder/myFile.html#1234" >>> >>> I've tried "file:" with no slashes, one or two slashes, and omitting >>> the "file:" designation entirely. The above works fine on Mac and >>> Android (though it produces three slashes in the final URL.) >>> >> >> An update on this. The first time I load a URL it works. All >> subsequent URLs with the same structure fail. Setting the URL of the >> widget to empty and then setting the URL to the new one still fails. >> > > More info: It doesn't seem to be my URLs. First time after reloading the app > the URL works. But if I go to another card and then back again by linking to > the same, identical URL it fails. That tells me that the widget itself > doesn't want to update its own URL setting. I get a blank browser widget > with no text. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Tue Jan 21 02:26:51 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 21 Jan 2020 09:26:51 +0200 Subject: iOS browser local URLs In-Reply-To: <16fc6075d28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <7f3b6611-9ca3-efb0-6479-9c3f163dc729@hyperactivesw.com> <003b01d5cfe9$079fa410$16deec30$@net> <16fc6075d28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi all, Setting the URL should just work - if not, then it might be a recent regression since we replaced the WebView that the browser widget used on iOS @Jacque if you could file a report with a recipe that includes the URL(s) you are using, we will try to fix this in the upcoming 9.6 DP-3 Kind regards, Panos -- On Tue, 21 Jan 2020 at 04:57, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Reloading the same URL was just a test. The URL can be any one of several > dozen saved files. > > I had thought about recreating the widget. I don't think I should have to > but it may come down to that. I was pretty sure this behavior didn't > happen > before. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 20, 2020 5:25:03 PM Ralph DiMola via use-livecode > wrote: > > > 2 ideas here. 1) Don't reload the URL. It should still be displayed. 2) > > Delete and recreate the widget. > > Just spit balling, throwing darts, guessing... > > > > 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 J. Landman Gay via use-livecode > > Sent: Monday, January 20, 2020 6:19 PM > > To: How to use LiveCode > > Cc: J. Landman Gay > > Subject: Re: iOS browser local URLs > > > > On 1/20/20 3:05 PM, J. Landman Gay via use-livecode wrote: > >> On 1/20/20 2:41 PM, J. Landman Gay via use-livecode wrote: > >>> I can't load a local html file into a brwoser widget on iOS: > >>> > >>> set the url of widget "browser" to "file://" & > >>> specialFolderPath("documents") & "/folder/myFile.html#1234" > >>> > >>> I've tried "file:" with no slashes, one or two slashes, and omitting > >>> the "file:" designation entirely. The above works fine on Mac and > >>> Android (though it produces three slashes in the final URL.) > >>> > >> > >> An update on this. The first time I load a URL it works. All > >> subsequent URLs with the same structure fail. Setting the URL of the > >> widget to empty and then setting the URL to the new one still fails. > >> > > > > More info: It doesn't seem to be my URLs. First time after reloading the > app > > the URL works. But if I go to another card and then back again by > linking to > > the same, identical URL it fails. That tells me that the widget itself > > doesn't want to update its own URL setting. I get a blank browser widget > > with no text. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Tue Jan 21 08:48:02 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 21 Jan 2020 13:48:02 +0000 Subject: iOS browser local URLs In-Reply-To: References: <7f3b6611-9ca3-efb0-6479-9c3f163dc729@hyperactivesw.com> <003b01d5cfe9$079fa410$16deec30$@net> <16fc6075d28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5F136440-2CBE-45D5-BF16-157C77D12EB0@hindu.org> I am pretty sure it is a regression. I have a business support request to test the Andre's "htmt5" Lexicon on iOS built in 9.5 (comes packaged inside the SivaSiva app) I can't test myself because of upgrading to Catalina?. It was working 9.5 but not on 9.6DP2. Works fine on android. I had to issue a update to the AppStore, with it removed from the app. Otherwise hangs the app. My symptom is, you get a white screen. BR Hi all, Setting the URL should just work - if not, then it might be a recent regression since we replaced the WebView that the browser widget used on iOS @Jacque if you could file a report with a recipe that includes the URL(s) you are using, we will try to fix this in the upcoming 9.6 DP-3 Kind regards, Panos -- From brahma at hindu.org Tue Jan 21 09:11:33 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 21 Jan 2020 14:11:33 +0000 Subject: closeControl -- "switchable" ? Message-ID: Using text only script behavior files has advantages and disadvantages. One "con" is the possibility of "rapid profileration" of text scripts (behavior, model, libraries etc.) Your app could easily become like some horrendous-humongous PHP or JS framework with 100's of "dependencies." I am trying control this by working with my "stories" module/stack, by just using two script model_Story.livecodescript # always "on" like a library/backscript, get stuff of disk behavior_Story.livecodescript # which is assigned to the stack, handled the UI/UX for stack This approach requires a lot "Switch cases" as you may be targeting the UI/UX of many different groups on the card or different cards. So far I am happy that I am having to debug just two scripts to manage "everything" But I have question on "closeControl" for which there may be many groups on a single card is it "Switchable?" and can we use it in a single behavior that "looks at" many groups on one card? on closeControl pControl switch pControl case "homeStory" setPref "preferences/modules/portal/story/storyTitle", pStoryTitle setPref "preferences/modules/portal/story/storyScene/", sLastScene case "storyMenu" put empty into fld "storyMenuFld" end switch end closeControl Of I can hack around and find out if it works. But I am thinking over otherd have "been here, done that". an have some advice... We might as well use "on closeCard" any thoughts? From merakosp at gmail.com Tue Jan 21 09:20:28 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 21 Jan 2020 16:20:28 +0200 Subject: iOS browser local URLs In-Reply-To: <5F136440-2CBE-45D5-BF16-157C77D12EB0@hindu.org> References: <7f3b6611-9ca3-efb0-6479-9c3f163dc729@hyperactivesw.com> <003b01d5cfe9$079fa410$16deec30$@net> <16fc6075d28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5F136440-2CBE-45D5-BF16-157C77D12EB0@hindu.org> Message-ID: Hello all, I did a quick test with a browser widget and 2 buttons, where each one of them sets the URL of the browser widget to a different URL, and it works fine for me. Since both Jacque and Brahmanathaswami are affected, there must be something going on. So please do submit a recipe asap - the sooner we have a recipe - the sooner we will fix it :) Kind regards, Panos -- On Tue, 21 Jan 2020 at 15:49, Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > I am pretty sure it is a regression. > > I have a business support request to test the Andre's "htmt5" Lexicon on > iOS built in 9.5 > (comes packaged inside the SivaSiva app) I can't test myself because of > upgrading to Catalina?. > > It was working 9.5 but not on 9.6DP2. Works fine on android. > > I had to issue a update to the AppStore, with it removed from the app. > Otherwise hangs the app. My symptom is, you get a white screen. > > BR > > Hi all, > > Setting the URL should just work - if not, then it might be a recent > regression since we replaced the WebView that the browser widget used on > iOS > > @Jacque > if you could file a report with a recipe that includes the URL(s) you are > using, we will try to fix this in the upcoming 9.6 DP-3 > > Kind regards, > Panos > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Tue Jan 21 09:34:25 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 21 Jan 2020 14:34:25 +0000 (UTC) Subject: closeControl -- "switchable" ? In-Reply-To: References: Message-ID: <1500675736.9842448.1579617265105@mail.yahoo.com> Hi. "SetControl" doesn't take a parameter, as far as I know, so a switch control structure would have to be managed by hand, perhaps looping through all the groups (or other controls of interest) on the card that one just navigated away from. Craig -----Original Message----- From: Sannyasin Brahmanathaswami via use-livecode To: How LiveCode Cc: Sannyasin Brahmanathaswami Sent: Tue, Jan 21, 2020 9:12 am Subject: closeControl -- "switchable" ? Using text only script behavior files has advantages and disadvantages. One "con" is the possibility of "rapid profileration" of text scripts (behavior, model, libraries etc.) Your app could easily become like some horrendous-humongous PHP or JS framework with 100's of "dependencies." I am trying control this by working with my "stories" module/stack, by just using two script model_Story.livecodescript ??? ??? ??? # always "on" like a library/backscript, get stuff of disk behavior_Story.livecodescript ??? ??? # which is assigned to the stack, handled the UI/UX for stack This approach requires a lot "Switch cases" as you may be targeting the UI/UX of many different groups? on the card or different cards. So far I am happy that I am having to? debug? just two scripts to manage "everything" But I have question on "closeControl" for which there may be many groups on a single card is it "Switchable?"? and can we use it in a single behavior that "looks at"? many groups on one card? on closeControl pControl ??? switch pControl ??? ??? case "homeStory" ??? ??? ??? setPref "preferences/modules/portal/story/storyTitle", pStoryTitle ??? ??? ??? setPref "preferences/modules/portal/story/storyScene/", sLastScene ??? ??? case "storyMenu" ??? ??? ??? put empty into fld "storyMenuFld" ??? ??? end switch end closeControl Of I can hack around and find out if it works. But I am thinking over otherd have "been here, done that". an have some advice... We might as well use "on closeCard" any thoughts? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Jan 21 09:35:14 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 21 Jan 2020 14:35:14 +0000 (UTC) Subject: closeControl -- "switchable" ? In-Reply-To: References: Message-ID: <707785243.9843106.1579617314455@mail.yahoo.com> Sorry, I meant "closeControl". Craig -----Original Message----- From: Sannyasin Brahmanathaswami via use-livecode To: How LiveCode Cc: Sannyasin Brahmanathaswami Sent: Tue, Jan 21, 2020 9:12 am Subject: closeControl -- "switchable" ? Using text only script behavior files has advantages and disadvantages. One "con" is the possibility of "rapid profileration" of text scripts (behavior, model, libraries etc.) Your app could easily become like some horrendous-humongous PHP or JS framework with 100's of "dependencies." I am trying control this by working with my "stories" module/stack, by just using two script model_Story.livecodescript ??? ??? ??? # always "on" like a library/backscript, get stuff of disk behavior_Story.livecodescript ??? ??? # which is assigned to the stack, handled the UI/UX for stack This approach requires a lot "Switch cases" as you may be targeting the UI/UX of many different groups? on the card or different cards. So far I am happy that I am having to? debug? just two scripts to manage "everything" But I have question on "closeControl" for which there may be many groups on a single card is it "Switchable?"? and can we use it in a single behavior that "looks at"? many groups on one card? on closeControl pControl ??? switch pControl ??? ??? case "homeStory" ??? ??? ??? setPref "preferences/modules/portal/story/storyTitle", pStoryTitle ??? ??? ??? setPref "preferences/modules/portal/story/storyScene/", sLastScene ??? ??? case "storyMenu" ??? ??? ??? put empty into fld "storyMenuFld" ??? ??? end switch end closeControl Of I can hack around and find out if it works. But I am thinking over otherd have "been here, done that". an have some advice... We might as well use "on closeCard" any thoughts? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ckelly5430 at gmail.com Tue Jan 21 09:43:29 2020 From: ckelly5430 at gmail.com (Colin Kelly) Date: Tue, 21 Jan 2020 14:43:29 +0000 Subject: Apple Mac menubar? Message-ID: Does anyone know if it?s possible with livecode to add an icon and click options to a Mac menubar (the mac menubar at the top of the screen when no applications have focus)? -- Colin Kelly From dunbarx at aol.com Tue Jan 21 10:10:52 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 21 Jan 2020 15:10:52 +0000 (UTC) Subject: Apple Mac menubar? In-Reply-To: References: Message-ID: <537834286.9877174.1579619452221@mail.yahoo.com> Hi. The menubar is fully configurable when LC is in front, but I do not believe it can be so modified when not. Are you just asking if LC is the right tool for such a thing? There must be other gadgets that perform this task. Craig -----Original Message----- From: Colin Kelly via use-livecode To: use-livecode at lists.runrev.com Cc: Colin Kelly Sent: Tue, Jan 21, 2020 9:44 am Subject: Apple Mac menubar? Does anyone know if it?s possible with livecode to add an icon and click options to a Mac menubar (the mac menubar at the top of the screen when no applications have focus)? -- Colin Kelly _______________________________________________ use-livecode mailing list use-livecode at 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 Jan 21 11:14:25 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 21 Jan 2020 10:14:25 -0600 Subject: iOS browser local URLs In-Reply-To: References: <7f3b6611-9ca3-efb0-6479-9c3f163dc729@hyperactivesw.com> <003b01d5cfe9$079fa410$16deec30$@net> <16fc6075d28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <16fc8e232e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks Panos, I was hoping you'd check in. I'll open a report and send you some files in private mail later today. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 21, 2020 1:29:20 AM panagiotis merakos via use-livecode wrote: > Hi all, > > Setting the URL should just work - if not, then it might be a recent > regression since we replaced the WebView that the browser widget used on iOS > > @Jacque > if you could file a report with a recipe that includes the URL(s) you are > using, we will try to fix this in the upcoming 9.6 DP-3 > > Kind regards, > Panos > -- > > > On Tue, 21 Jan 2020 at 04:57, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Reloading the same URL was just a test. The URL can be any one of several >> dozen saved files. >> >> I had thought about recreating the widget. I don't think I should have to >> but it may come down to that. I was pretty sure this behavior didn't >> happen >> before. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On January 20, 2020 5:25:03 PM Ralph DiMola via use-livecode >> wrote: >> >> > 2 ideas here. 1) Don't reload the URL. It should still be displayed. 2) >> > Delete and recreate the widget. >> > Just spit balling, throwing darts, guessing... >> > >> > 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 J. Landman Gay via use-livecode >> > Sent: Monday, January 20, 2020 6:19 PM >> > To: How to use LiveCode >> > Cc: J. Landman Gay >> > Subject: Re: iOS browser local URLs >> > >> > On 1/20/20 3:05 PM, J. Landman Gay via use-livecode wrote: >> >> On 1/20/20 2:41 PM, J. Landman Gay via use-livecode wrote: >> >>> I can't load a local html file into a brwoser widget on iOS: >> >>> >> >>> set the url of widget "browser" to "file://" & >> >>> specialFolderPath("documents") & "/folder/myFile.html#1234" >> >>> >> >>> I've tried "file:" with no slashes, one or two slashes, and omitting >> >>> the "file:" designation entirely. The above works fine on Mac and >> >>> Android (though it produces three slashes in the final URL.) >> >>> >> >> >> >> An update on this. The first time I load a URL it works. All >> >> subsequent URLs with the same structure fail. Setting the URL of the >> >> widget to empty and then setting the URL to the new one still fails. >> >> >> > >> > More info: It doesn't seem to be my URLs. First time after reloading the >> app >> > the URL works. But if I go to another card and then back again by >> linking to >> > the same, identical URL it fails. That tells me that the widget itself >> > doesn't want to update its own URL setting. I get a blank browser widget >> > with no text. >> > >> > -- >> > Jacqueline Landman Gay | jacque at hyperactivesw.com >> > HyperActive Software | http://www.hyperactivesw.com >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription >> > preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Jan 21 11:27:42 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 21 Jan 2020 08:27:42 -0800 Subject: Apple Mac menubar? In-Reply-To: <537834286.9877174.1579619452221@mail.yahoo.com> References: <537834286.9877174.1579619452221@mail.yahoo.com> Message-ID: <3070827a-9ff8-baec-4885-825e25e9cb60@fourthworld.com> dunbarx wrote: > The menubar is fully configurable when LC is in front, but I do not > believe it can be so modified when not. > Are you just asking if LC is the right tool for such a thing? There > must be other gadgets that perform this task. LC added an experimental feature for this several versions back, but searching the Dictionary for "menu" yielding nothing useful. Anyone here remember the relevant keywords? -- 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 sean at pidigital.co.uk Tue Jan 21 11:38:18 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 21 Jan 2020 16:38:18 +0000 Subject: Apple Mac menubar? In-Reply-To: <3070827a-9ff8-baec-4885-825e25e9cb60@fourthworld.com> References: <3070827a-9ff8-baec-4885-825e25e9cb60@fourthworld.com> Message-ID: <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> Do you possibly mean the System Menu Extensions found on the right of the menu bar? If so then that is not currently possible from LiveCode. Sean Cole Pi Digital Prod Ltd > On 21 Jan 2020, at 16:27, Richard Gaskin via use-livecode wrote: > > ?dunbarx wrote: > > > The menubar is fully configurable when LC is in front, but I do not > > believe it can be so modified when not. > > Are you just asking if LC is the right tool for such a thing? There > > must be other gadgets that perform this task. > > LC added an experimental feature for this several versions back, but searching the Dictionary for "menu" yielding nothing useful. > > Anyone here remember the relevant keywords? > > -- > 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 ckelly5430 at gmail.com Tue Jan 21 11:41:20 2020 From: ckelly5430 at gmail.com (Colin Kelly) Date: Tue, 21 Jan 2020 16:41:20 +0000 Subject: Apple Mac menubar? In-Reply-To: <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> References: <3070827a-9ff8-baec-4885-825e25e9cb60@fourthworld.com> <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> Message-ID: Thanks Sean, that's exactly the info I was looking for. ?On 21/01/2020, 16:39, "use-livecode on behalf of Pi Digital via use-livecode" wrote: Do you possibly mean the System Menu Extensions found on the right of the menu bar? If so then that is not currently possible from LiveCode. Sean Cole Pi Digital Prod Ltd > On 21 Jan 2020, at 16:27, Richard Gaskin via use-livecode wrote: > > ?dunbarx wrote: > > > The menubar is fully configurable when LC is in front, but I do not > > believe it can be so modified when not. > > Are you just asking if LC is the right tool for such a thing? There > > must be other gadgets that perform this task. > > LC added an experimental feature for this several versions back, but searching the Dictionary for "menu" yielding nothing useful. > > Anyone here remember the relevant keywords? > > -- > 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 _______________________________________________ use-livecode mailing list use-livecode at 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 Jan 21 11:54:38 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 21 Jan 2020 08:54:38 -0800 Subject: Apple Mac menubar? In-Reply-To: <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> References: <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> Message-ID: Correct. The experimental feature I was thinking of us the iconMenu global property, for adding a menu to the Dock icon, described on p19 here: https://downloads.livecode.com/livecode/4_5_3/LiveCodeNotes-4_5_3.pdf The OS hooks needed for running a System Menu from LC could be done with LiveCode Builder. -- Richard Gaskin Fourth World Systems Pi Digital wrote: > Do you possibly mean the System Menu Extensions found on the right of the menu bar? If so then that is not currently possible from LiveCode. > > Sean Cole > Pi Digital Prod Ltd > >> On 21 Jan 2020, at 16:27, Richard Gaskin via use-livecode wrote: >> >> ?dunbarx wrote: >> >> > The menubar is fully configurable when LC is in front, but I do not >> > believe it can be so modified when not. >> > Are you just asking if LC is the right tool for such a thing? There >> > must be other gadgets that perform this task. >> >> LC added an experimental feature for this several versions back, but searching the Dictionary for "menu" yielding nothing useful. >> >> Anyone here remember the relevant keywords? >> From bobsneidar at iotecdigital.com Tue Jan 21 12:00:42 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 Jan 2020 17:00:42 +0000 Subject: FYI: Cause found for LC crashing to desktop when Browser widget opens PDF In-Reply-To: <7BFD6353-9F41-478D-AA29-0070EC4F72E9@m-r-d.de> References: <2F2113EE-3F78-4219-9E79-62202326473B@m-r-d.de> <7BFD6353-9F41-478D-AA29-0070EC4F72E9@m-r-d.de> Message-ID: <622040DA-3890-4532-BAA4-2B14A056DFA5@iotecdigital.com> Great sleuthing Matthias. Bob S > On Jan 20, 2020, at 07:20 , Matthias Rebbe via use-livecode wrote: > > Just want to let you know that Livecode Dev Team confirmed that this is a bug > > https://quality.livecode.com/show_bug.cgi?id=22534 > > > - > Matthias Rebbe > Life Is Too Short For Boring Code From bobsneidar at iotecdigital.com Tue Jan 21 12:01:51 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 Jan 2020 17:01:51 +0000 Subject: FYI: Cause found for LC crashing to desktop when Browser widget opens PDF In-Reply-To: <2db9900fc942d8b6b275d52f8fc8151c@livecode.com> References: <2F2113EE-3F78-4219-9E79-62202326473B@m-r-d.de> <7BFD6353-9F41-478D-AA29-0070EC4F72E9@m-r-d.de> <2db9900fc942d8b6b275d52f8fc8151c@livecode.com> Message-ID: Adobe developers doing things they shouldn't??? Whoever heard of such a t'ing!!! ;-P Bob S > On Jan 20, 2020, at 07:41 , Mark Waddingham via use-livecode wrote: > > On 2020-01-20 15:20, Matthias Rebbe via use-livecode wrote: >> Just want to let you know that Livecode Dev Team confirmed that this is a bug >> https://quality.livecode.com/show_bug.cgi?id=22534 > > Well, we confirmed it crashed ;) Whether it is a bug in LC or Adobe DC or not > is another matter. > > There was a similar issue a very long time ago with Adobe's PDF plugin - it would > cause the browser external to crash if used (we used the system webview back then > as we do now)... The Adobe plugin was doing things it shouldn't (I can't recall > if we managed to come up with a hack in the browser external to stop it or not; or > whether Adobe eventually cleaned up their plugin!) > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps From bobsneidar at iotecdigital.com Tue Jan 21 12:05:42 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 Jan 2020 17:05:42 +0000 Subject: YAML Libraries In-Reply-To: References: Message-ID: Trevor, I'm curious what the significance is in using /** as the begin comment indicator? Is it something you use internally? Bob S > On Jan 19, 2020, at 06:45 , Trevor DeVore via use-livecode wrote: > > /** From bobsneidar at iotecdigital.com Tue Jan 21 12:10:29 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 Jan 2020 17:10:29 +0000 Subject: mailto: string with attachment In-Reply-To: <5BD335FE-41A1-4969-8610-D27453FAE4F3@m-r-d.de> References: <25FAA53D-19A2-40F9-A7A3-99288EDA0289@major-k.de> <5BD335FE-41A1-4969-8610-D27453FAE4F3@m-r-d.de> Message-ID: <1F42EC9F-D105-4BA1-96BF-2F4D967F3E4D@iotecdigital.com> Thank you! I needed this 3 years ago! My app sends emails detailing the service events for the day, but I have to send it as text and format it using a sans serif font to get text columns to line up. If I can create a small PDF and send that, it will be revolutionary! Also when I cannot print at a customer site, due to security or software controlling access to copiers, the alternative would be to email the customer the forms and have them sign them digitally and email them back to me. This can dramatically increase the usefulness of my app. Bob S > On Jan 18, 2020, at 07:25 , Matthias Rebbe via use-livecode wrote: > > Are you sure, that mailto: supports attachments at all? > > At least under Windows this is not possible. And i think on Mac OS it?s also not supported. > I suspect you have to go the AppleScript way. > > http://hints.macworld.com/article.php?story=20031114170053338 > > > > > > Von meinem iPad gesendet > >> Am 18.01.2020 um 14:49 schrieb Klaus major-k via use-livecode : >> >> ?Hi all, >> >> did someone successfully create a "mailto:" string >> with attachment on a Mac? And did it work when using: >> ... >> launch url (the_mailto_string) >> ... >> >> If yes, what is the exact syntax? >> >> I tried gazillion variations of the basic string: >> mailto:me at example.com?subject=Test&body=Body%20text&attachment-url=file:///full/path/to/file.xyz >> mailto:me at example.com?subject=Test&body=Body%20text&attachment=full/path/to/file.xyz >> etc... no dice... >> >> But maybe attachments in a "mailto:" url are prohibited on the Mac for security reasons? >> >> Thanks in advance for any hints! >> >> >> Best >> >> Klaus >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de From mark at livecode.com Tue Jan 21 12:11:58 2020 From: mark at livecode.com (Mark Waddingham) Date: Tue, 21 Jan 2020 17:11:58 +0000 Subject: Apple Mac menubar? In-Reply-To: References: <3070827a-9ff8-baec-4885-825e25e9cb60@fourthworld.com> <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> Message-ID: On 2020-01-21 16:41, Colin Kelly via use-livecode wrote: > Thanks Sean, that's exactly the info I was looking for. Search for 'Mac Status Menu' in the dictionary - I think that is what you are looking for (Cocoa calls those little widgets NSStatusMenu's, hence the name of the extension). Warmest Regards, Mark. P.S. @FourthWorld - it is indeed an LCB library: -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From bobsneidar at iotecdigital.com Tue Jan 21 12:14:49 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 Jan 2020 17:14:49 +0000 Subject: Thumbnail on txt file? In-Reply-To: <27F91A29-2FBC-499D-BF03-C1A5774F1623@major-k.de> References: <0A747D26-C063-4A9B-85D3-8AD8D469D8B4@m-r-d.de> <27F91A29-2FBC-499D-BF03-C1A5774F1623@major-k.de> Message-ID: Applescript is not clumsy. It's obscure and very poorly documented. Application Dictionaries are especially bad. Typically no examples of usage, which means hours of frustrating trial and error, leading eventually to abandonment. And then you are dependent on vendor software and OS developer support not changing or excluding IAC support. Bob S > On Jan 18, 2020, at 02:56 , Klaus major-k via use-livecode wrote: > > Hi Matthias, > >> Am 18.01.2020 um 11:53 schrieb Matthias Rebbe via use-livecode : >> Maybe this is of help. >> https://apple.stackexchange.com/questions/6901/how-can-i-change-a-file-or-folder-icon-using-the-terminal > > ah, a terminal solution, even better than a clumsy AppleScript. :-) > >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code From bobsneidar at iotecdigital.com Tue Jan 21 12:19:14 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 Jan 2020 17:19:14 +0000 Subject: Can't add substack In-Reply-To: References: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> Message-ID: <18F2459F-79C4-40C9-A4A1-A2A572FB9DF3@iotecdigital.com> Thanks Richard. Like I mentioned, I deleted the datagrid (thankfully there was only one) and it's template, set the mainStack of the (soon to be) sub stack, then pasted the datagrid. But this should be fairly easy to account for in whatever routine that makes an independent stack a substack of another. I'll dig in to try to find the relevant code when I get a little time. Bob S > On Jan 17, 2020, at 20:51 , Richard Gaskin via use-livecode wrote: > > Bob Sneidar wrote: > > > Further, when I try this from the message box, I get: > > > > Message execution error: > > Error description: Stack: can't set mainStack (has substacks?) > > Hint: > > > > I get the substacks of Time Calculator, and the onlt substack it is > > using is it's own Data Grid Templates. > > Move the template substack first, then when its old mainstack no longer has any substacks it can be moved too. > > -- > Richard Gaskin From lists at mangomultimedia.com Tue Jan 21 12:20:30 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 21 Jan 2020 11:20:30 -0600 Subject: YAML Libraries In-Reply-To: References: Message-ID: On Tue, Jan 21, 2020 at 11:06 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Trevor, I'm curious what the significance is in using /** as the begin > comment indicator? Is it something you use internally? The comment syntax I use before a handler is the documentation syntax used by LiveCode to create docs from scripts. -- Trevor DeVore ScreenSteps > From bobsneidar at iotecdigital.com Tue Jan 21 12:20:42 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 Jan 2020 17:20:42 +0000 Subject: Can't add substack In-Reply-To: <18F2459F-79C4-40C9-A4A1-A2A572FB9DF3@iotecdigital.com> References: <40782CC0-4790-47DD-9856-75752D0DA5A3@iotecdigital.com> <18F2459F-79C4-40C9-A4A1-A2A572FB9DF3@iotecdigital.com> Message-ID: <32734649-402E-4B89-ABB0-A3FDCCF25A34@iotecdigital.com> I should have said CUT the datagrid. Bob S > On Jan 21, 2020, at 09:19 , Bob Sneidar via use-livecode wrote: > > Thanks Richard. Like I mentioned, I deleted the datagrid (thankfully there was only one) and it's template, set the mainStack of the (soon to be) sub stack, then pasted the datagrid. But this should be fairly easy to account for in whatever routine that makes an independent stack a substack of another. I'll dig in to try to find the relevant code when I get a little time. > > Bob S From dunbarx at aol.com Tue Jan 21 12:22:56 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 21 Jan 2020 17:22:56 +0000 (UTC) Subject: Apple Mac menubar? In-Reply-To: <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> References: <3070827a-9ff8-baec-4885-825e25e9cb60@fourthworld.com> <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> Message-ID: <1340240090.9919515.1579627376322@mail.yahoo.com> @Sean What are the "system menu extensions" on the right side of the menubar? @Mark W. What is a "Mac Status Menu"? Craig -----Original Message----- From: Pi Digital via use-livecode To: How to use LiveCode Cc: Pi Digital Sent: Tue, Jan 21, 2020 11:39 am Subject: Re: Apple Mac menubar? Do you possibly mean the System Menu Extensions found on the right of the menu bar? If so then that is not currently possible from LiveCode. Sean Cole Pi Digital Prod Ltd > On 21 Jan 2020, at 16:27, Richard Gaskin via use-livecode wrote: > > ?dunbarx wrote: > > > The menubar is fully configurable when LC is in front, but I do not > > believe it can be so modified when not. > > Are you just asking if LC is the right tool for such a thing? There > > must be other gadgets that perform this task. > > LC added an experimental feature for this several versions back, but searching the Dictionary for "menu" yielding nothing useful. > > Anyone here remember the relevant keywords? > > -- > 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 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Tue Jan 21 12:26:32 2020 From: mark at livecode.com (Mark Waddingham) Date: Tue, 21 Jan 2020 17:26:32 +0000 Subject: Apple Mac menubar? In-Reply-To: <1340240090.9919515.1579627376322@mail.yahoo.com> References: <3070827a-9ff8-baec-4885-825e25e9cb60@fourthworld.com> <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> <1340240090.9919515.1579627376322@mail.yahoo.com> Message-ID: <76396ca042d2f3d05faea9366d7a71f8@livecode.com> On 2020-01-21 17:22, dunbarx--- via use-livecode wrote: > @Sean > What are the "system menu extensions" on the right side of the menubar? > @Mark W. > What is a "Mac Status Menu"? They are the little icons which appear on the right hand-side of the mac menubar - things like the keyboard selector, bluetooth status, battery life indicator, wifi status etc. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From bobsneidar at iotecdigital.com Tue Jan 21 12:44:49 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 21 Jan 2020 17:44:49 +0000 Subject: Apple Mac menubar? In-Reply-To: <76396ca042d2f3d05faea9366d7a71f8@livecode.com> References: <3070827a-9ff8-baec-4885-825e25e9cb60@fourthworld.com> <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> <1340240090.9919515.1579627376322@mail.yahoo.com> <76396ca042d2f3d05faea9366d7a71f8@livecode.com> Message-ID: <0B1D1F9E-3BD0-4682-81E4-6CA4862DAFFE@iotecdigital.com> I thought they were called Diddly Buggers? Bob S > On Jan 21, 2020, at 09:26 , Mark Waddingham via use-livecode wrote: > > On 2020-01-21 17:22, dunbarx--- via use-livecode wrote: >> @Sean >> What are the "system menu extensions" on the right side of the menubar? >> @Mark W. >> What is a "Mac Status Menu"? > > They are the little icons which appear on the right hand-side of the mac > menubar - things like the keyboard selector, bluetooth status, > battery life indicator, wifi status etc. > > Warmest Regards, > > Mark. From hakan at exformedia.se Tue Jan 21 12:58:26 2020 From: hakan at exformedia.se (hakan at exformedia.se) Date: Tue, 21 Jan 2020 18:58:26 +0100 Subject: Apple Mac menubar? In-Reply-To: <0B1D1F9E-3BD0-4682-81E4-6CA4862DAFFE@iotecdigital.com> References: <3070827a-9ff8-baec-4885-825e25e9cb60@fourthworld.com> <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> <1340240090.9919515.1579627376322@mail.yahoo.com> <76396ca042d2f3d05faea9366d7a71f8@livecode.com> <0B1D1F9E-3BD0-4682-81E4-6CA4862DAFFE@iotecdigital.com> Message-ID: <1b016108-e643-4200-8d97-4eb3157bb166@Spark> I this is already created by our hero Trevor Devore. Take a look at his github page: github.com/trevordevore/lc-macos-toolset what you are looking for is the nssystem-status-bar.lcb On 21 Jan 2020, 18:45 +0100, Bob Sneidar via use-livecode , wrote: > I thought they were called Diddly Buggers? > > Bob S > > > > On Jan 21, 2020, at 09:26 , Mark Waddingham via use-livecode wrote: > > > > On 2020-01-21 17:22, dunbarx--- via use-livecode wrote: > > > @Sean > > > What are the "system menu extensions" on the right side of the menubar? > > > @Mark W. > > > What is a "Mac Status Menu"? > > > > They are the little icons which appear on the right hand-side of the mac > > menubar - things like the keyboard selector, bluetooth status, > > battery life indicator, wifi status etc. > > > > Warmest Regards, > > > > Mark. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Jan 21 13:13:33 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Tue, 21 Jan 2020 18:13:33 +0000 Subject: Apple Mac menubar? In-Reply-To: <1b016108-e643-4200-8d97-4eb3157bb166@Spark> References: <1b016108-e643-4200-8d97-4eb3157bb166@Spark> Message-ID: Legendary! Thanks H?gan https://github.com/trevordevore/lc-macos-toolset/blob/master/NSSystemStatusBar/nssystem-status-bar.lcb Sean Cole Pi Digital Prod Ltd > On 21 Jan 2020, at 17:58, H?kan Liljegren via use-livecode wrote: > > ?I this is already created by our hero Trevor Devore. Take a look at his github page: > > github.com/trevordevore/lc-macos-toolset > > what you are looking for is the nssystem-status-bar.lcb > > >> On 21 Jan 2020, 18:45 +0100, Bob Sneidar via use-livecode , wrote: >> I thought they were called Diddly Buggers? >> >> Bob S >> >> >>>> On Jan 21, 2020, at 09:26 , Mark Waddingham via use-livecode wrote: >>> >>> On 2020-01-21 17:22, dunbarx--- via use-livecode wrote: >>>> @Sean >>>> What are the "system menu extensions" on the right side of the menubar? >>>> @Mark W. >>>> What is a "Mac Status Menu"? >>> >>> They are the little icons which appear on the right hand-side of the mac >>> menubar - things like the keyboard selector, bluetooth status, >>> battery life indicator, wifi status etc. >>> >>> Warmest Regards, >>> >>> Mark. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 21 14:27:38 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 21 Jan 2020 13:27:38 -0600 Subject: iOS browser local URLs In-Reply-To: <16fc8e232e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <7f3b6611-9ca3-efb0-6479-9c3f163dc729@hyperactivesw.com> <003b01d5cfe9$079fa410$16deec30$@net> <16fc6075d28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16fc8e232e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <3e6550a6-0c23-c31d-0d5a-54f7ce5345b2@hyperactivesw.com> Bug report here: https://quality.livecode.com/show_bug.cgi?id=22543 On 1/21/20 10:14 AM, J. Landman Gay via use-livecode wrote: > Thanks Panos, I was hoping you'd check in. I'll open a report and send > you some files in private mail later today. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 21, 2020 1:29:20 AM panagiotis merakos via use-livecode > wrote: > >> Hi all, >> >> Setting the URL should just work - if not, then it might be a recent >> regression since we replaced the WebView that the browser widget used >> on iOS >> >> @Jacque >> if you could file a report with a recipe that includes the URL(s) you are >> using, we will try to fix this in the upcoming 9.6 DP-3 >> >> Kind regards, >> Panos >> -- >> >> >> On Tue, 21 Jan 2020 at 04:57, J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Reloading the same URL was just a test. The URL can be any one of >>> several >>> dozen saved files. >>> >>> I had thought about recreating the widget. I don't think I should >>> have to >>> but it may come down to that. I was pretty sure this behavior didn't >>> happen >>> before. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On January 20, 2020 5:25:03 PM Ralph DiMola via use-livecode >>> wrote: >>> >>> > 2 ideas here. 1) Don't reload the URL. It should still be >>> displayed. 2) >>> > Delete and recreate the widget. >>> > Just spit balling, throwing darts, guessing... >>> > >>> > 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 J. Landman Gay via use-livecode >>> > Sent: Monday, January 20, 2020 6:19 PM >>> > To: How to use LiveCode >>> > Cc: J. Landman Gay >>> > Subject: Re: iOS browser local URLs >>> > >>> > On 1/20/20 3:05 PM, J. Landman Gay via use-livecode wrote: >>> >> On 1/20/20 2:41 PM, J. Landman Gay via use-livecode wrote: >>> >>> I can't load a local html file into a brwoser widget on iOS: >>> >>> >>> >>> set the url of widget "browser" to "file://" & >>> >>> specialFolderPath("documents") & "/folder/myFile.html#1234" >>> >>> >>> >>> I've tried "file:" with no slashes, one or two slashes, and omitting >>> >>> the "file:" designation entirely. The above works fine on Mac and >>> >>> Android (though it produces three slashes in the final URL.) >>> >>> >>> >> >>> >> An update on this. The first time I load a URL it works. All >>> >> subsequent URLs with the same structure fail. Setting the URL of the >>> >> widget to empty and then setting the URL to the new one still fails. >>> >> >>> > >>> > More info: It doesn't seem to be my URLs. First time after >>> reloading the >>> app >>> > the URL works. But if I go to another card and then back again by >>> linking to >>> > the same, identical URL it fails. That tells me that the widget itself >>> > doesn't want to update its own URL setting. I get a blank browser >>> widget >>> > with no text. >>> > >>> > -- >>> > 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 dan at clearvisiontech.com Tue Jan 21 16:54:45 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 21 Jan 2020 21:54:45 +0000 Subject: Face/Touch ID Message-ID: <6A9B4483-B896-4B2A-86A1-C0F497CA0034@clearvisiontech.com> Greetings! If memory serves we can use mergLA for Touch ID. Is there a method for Face ID? Thanks! -Dan From dunbarx at aol.com Tue Jan 21 16:58:50 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 21 Jan 2020 21:58:50 +0000 (UTC) Subject: Apple Mac menubar? In-Reply-To: <76396ca042d2f3d05faea9366d7a71f8@livecode.com> References: <3070827a-9ff8-baec-4885-825e25e9cb60@fourthworld.com> <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> <1340240090.9919515.1579627376322@mail.yahoo.com> <76396ca042d2f3d05faea9366d7a71f8@livecode.com> Message-ID: <214558694.10012221.1579643930067@mail.yahoo.com> Mark. Ah. Never knew the name of those. Craig -----Original Message----- From: Mark Waddingham via use-livecode To: How to use LiveCode Cc: Mark Waddingham Sent: Tue, Jan 21, 2020 12:26 pm Subject: Re: Apple Mac menubar? On 2020-01-21 17:22, dunbarx--- via use-livecode wrote: > @Sean > What are the "system menu extensions" on the right side of the menubar? > @Mark W. > What is a "Mac Status Menu"? They are the little icons which appear on the right hand-side of the mac menubar - things like the keyboard selector, bluetooth status, battery life indicator, wifi status etc. 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 paulmcclernan at gmail.com Tue Jan 21 19:43:13 2020 From: paulmcclernan at gmail.com (Paul McClernan) Date: Tue, 21 Jan 2020 19:43:13 -0500 Subject: Apple Mac menubar? In-Reply-To: <214558694.10012221.1579643930067@mail.yahoo.com> References: <3070827a-9ff8-baec-4885-825e25e9cb60@fourthworld.com> <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> <1340240090.9919515.1579627376322@mail.yahoo.com> <76396ca042d2f3d05faea9366d7a71f8@livecode.com> <214558694.10012221.1579643930067@mail.yahoo.com> Message-ID: I'm not sure which is more complete updated, Trevor's nssystem-status-bar LCB or the LCB that comes with LC IDE, or are they the same code? A few years back I was able to combine an AppleScript (AppleScriptObjC) Applet with an LiveCode App living inside it's bundle and have them talk to each other via AppleScript/AppleEvents (that's when I noticed that AppleScript/dictionary bug in LC where it doesn't give your standalone an AppleScript dictionary). Anyway, It had some interesting differences / problems from doing a NSStatusMenu App the "proper" way. I haven't revisited the idea since now we have proper LCB module alternatives. If you're going to make an Status Menu bar ONLY app and you don't want the LC app icon to show in the macOS Dock, then there's a key that you have to add to your app's info.plist. The key is LSUIElement boolean YES From ambassador at fourthworld.com Tue Jan 21 20:32:01 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 21 Jan 2020 17:32:01 -0800 Subject: Raspberry Pi 4 Message-ID: Anyone here have a Raspberry Pi 4? With up to 4GB RAM, two displays, and other nifty enhancements it's quite a nice little computer: https://www.raspberrypi.org/products/raspberry-pi-4-model-b/ It would be good to know if anyone here has run LC on it. It would be ever better to know if anyone in our community would be interested in making a compile of v9.x for Rpi4. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Jan 21 20:35:55 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 21 Jan 2020 17:35:55 -0800 Subject: LC Server survey Message-ID: <59dbf22d-c350-9975-d3ec-f431932ccb53@fourthworld.com> I've been running a survey of LC Server use in the forums for some time now: https://forums.livecode.com/viewtopic.php?f=15&t=26772 If you haven't cast your vote it would be helpful if you could take a moment to do so. I've been thinking of making some tools for LC Server deployment and monitoring, but with just 76 total participants in that poll it's difficult to discern just how useful such things would be. Thanks in advance for helping to broaden all of our understanding of how LC Server is used. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From tom at makeshyft.com Tue Jan 21 22:05:25 2020 From: tom at makeshyft.com (Tom Glod) Date: Tue, 21 Jan 2020 22:05:25 -0500 Subject: Raspberry Pi 4 In-Reply-To: References: Message-ID: I might buy one. thanks. On Tue, Jan 21, 2020 at 8:33 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Anyone here have a Raspberry Pi 4? With up to 4GB RAM, two displays, and > other nifty enhancements it's quite a nice little computer: > https://www.raspberrypi.org/products/raspberry-pi-4-model-b/ > > It would be good to know if anyone here has run LC on it. > > It would be ever better to know if anyone in our community would be > interested in making a compile of v9.x for Rpi4. > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From lists at mangomultimedia.com Tue Jan 21 23:44:58 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 21 Jan 2020 22:44:58 -0600 Subject: Apple Mac menubar? In-Reply-To: <1b016108-e643-4200-8d97-4eb3157bb166@Spark> References: <3070827a-9ff8-baec-4885-825e25e9cb60@fourthworld.com> <98FCBD9F-9726-4351-A26B-25C5F9C5BA70@pidigital.co.uk> <1340240090.9919515.1579627376322@mail.yahoo.com> <76396ca042d2f3d05faea9366d7a71f8@livecode.com> <0B1D1F9E-3BD0-4682-81E4-6CA4862DAFFE@iotecdigital.com> <1b016108-e643-4200-8d97-4eb3157bb166@Spark> Message-ID: On Tue, Jan 21, 2020 at 11:59 AM H?kan Liljegren via use-livecode < use-livecode at lists.runrev.com> wrote: > I this is already created by our hero Trevor Devore. Take a look at his > github page: > > github.com/trevordevore/lc-macos-toolset > > what you are looking for is the nssystem-status-bar.lcb > Thanks for the kind words H?kan. I hope that repo is helpful to people who are exploring LCB. Folks - If you have access to Mac Status Menu in LC 9.6 (I don't know if it is available in Community or not) I would suggest using it. That is what i use in my applications and it works great. -- Trevor DeVore ScreenSteps www.screensteps.com From brahma at hindu.org Wed Jan 22 09:32:16 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 22 Jan 2020 14:32:16 +0000 Subject: iOS browser local URLs In-Reply-To: <3e6550a6-0c23-c31d-0d5a-54f7ce5345b2@hyperactivesw.com> References: <7f3b6611-9ca3-efb0-6479-9c3f163dc729@hyperactivesw.com> <003b01d5cfe9$079fa410$16deec30$@net> <16fc6075d28.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <16fc8e232e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <3e6550a6-0c23-c31d-0d5a-54f7ce5345b2@hyperactivesw.com> Message-ID: <03921B24-95E3-4ACB-ADC0-73DEECA4E15A@hindu.org> Jacque wrote: Bug report here: https://quality.livecode.com/show_bug.cgi?id=22543 ------------ added the case: SivaSiva/nightly branch which is even simpler: open stack Lexicon, Card 1 script, on preopencard if the environment is not "development" the set the url of widget "Browser" to (specialFolderPath("resources") & "/modules/lexicon/web/index.html") else set the url of widget "Browser" to (specialFolderPath("resources") & "/web/index.html") end if end preopencard # works in desktop, Android. # Fails on iOS 13.3 with a Cataline build, 9.6dp2 # white screen.... app hangs Possibly a path thing? On mobile, we are setting the index.html relative to stack location.... BR From harrison at all-auctions.com Wed Jan 22 11:33:59 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 22 Jan 2020 11:33:59 -0500 Subject: Raspberry Pi 4 In-Reply-To: References: Message-ID: I have an older Raspberry Pi 2. I had installed LC 6.x on it but found the processor and internet to be way too slow. I was considering getting a Pi 4, but noticed that no one has yet made a good LC installer for Pi so I haven?t pursued it. It?s good to hear that the Pi 4 is better. Thanks, Rick From bobsneidar at iotecdigital.com Wed Jan 22 13:00:28 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 22 Jan 2020 18:00:28 +0000 Subject: Handler to create Email with Attachments using AppleScript Message-ID: <5947A607-C85E-410A-AC70-2AC43413CCA7@iotecdigital.com> For your general consumption. No error checking, so send it good data. /** AppleScript Create Mail. Pass a comma delimited list of email addresses, a subject line, Body text and optionally a numbered array of file paths. Creates a new mail in the OS X Mail app. */ on asCreateEmail pAddressList, pSubject, pBody, aAttachments --create a new email put "tell application " & quote & "Mail" & quote & cr into tAppleScript put tab & \ "set newMessage to (a reference to (make new outgoing message))" & cr & cr after tAppleScript -- To: address put tab & "tell newMessage" & cr after tAppleScript put tab & tab & \ "make new recipient at beginning of to recipients" & numToChar(194) & cr after tAppleScript put tab & tab & tab & \ "with properties {address:" & quote & item 1 of pAddressList & quote & "}" & cr after tAppleScript -- Bcc: addresses (if more than one item in pAddressList if the number of items of pAddressList >1 then put tab & tab & \ "make new cc recipient at end of cc recipients " & numToChar(194) & cr after tAppleScript put tab & tab & tab & \ "with properties {address:" & quote after tAppleScript repeat with i = 2 to the number of items of pAddressList put item i of pAddressList & comma after tAppleScript end repeat put quote & "}" & cr & cr into last char of tAppleScript end if -- Subject put tab & tab & \ "set the subject to " & quote & pSubject & quote & cr after tAppleScript -- Content put tab & tab & \ "set the content to " & quote & pBody & cr & cr & quote & cr & cr after tAppleScript -- add attachments if aAttachments is an array then put the keys of aAttachments into tKeyList put tab & tab & tab & \ "tell content" & cr after tAppleScript repeat for each line tKey in tKeyList put tab & tab & tab & tab & \ "make new attachment " & numToChar(194) & cr after tAppleScript put tab & tab & tab & tab & \ "with properties {file name:" & quote after tAppleScript put aAttachments [tKey] & quote & "}" & cr after tAppleScript end repeat end if put tab & tab & \ "end tell" & cr after tAppleScript /* Unsure why using send sends the email before the attachments get attached -- put tab & tab & "send" & cr after tAppleScript */ put tab & tab & "set visible to true" & cr after tAppleScript -- displays email in Mail App -- close tells put tab & \ "end tell" & cr after tAppleScript -- tell newMessage put "end tell" & cr after tAppleScript -- tell application -- Send it! do tAppleScript as appleScript return the result -- returns empty if no errors end asCreateEmail From ambassador at fourthworld.com Wed Jan 22 13:17:56 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Jan 2020 10:17:56 -0800 Subject: directory tree -> array Message-ID: <90ee682b-2035-fb17-db99-3fbb2cee8d5f@fourthworld.com> I stumbled across a code challenge for y'all, one that seems seductively simple but I don't think it is: What is the simplest way to build an array that reflects the files and folders within a given folder? There's a discussion about this here: https://forums.livecode.com/viewtopic.php?f=7&t=33565 -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Wed Jan 22 13:21:45 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 22 Jan 2020 18:21:45 +0000 Subject: directory tree -> array In-Reply-To: <90ee682b-2035-fb17-db99-3fbb2cee8d5f@fourthworld.com> References: <90ee682b-2035-fb17-db99-3fbb2cee8d5f@fourthworld.com> Message-ID: I thought someone created a handler for this? It requires iteration. Bob S > On Jan 22, 2020, at 10:17 , Richard Gaskin via use-livecode wrote: > > I stumbled across a code challenge for y'all, one that seems seductively simple but I don't think it is: > > What is the simplest way to build an array that reflects the files and folders within a given folder? > > There's a discussion about this here: > > https://forums.livecode.com/viewtopic.php?f=7&t=33565 > > -- > Richard Gaskin From sean at pidigital.co.uk Wed Jan 22 13:24:48 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 22 Jan 2020 18:24:48 +0000 Subject: Apple Mac menubar? In-Reply-To: References: Message-ID: <6B895F6B-B2A1-423F-A7F4-1F7CD159C27D@pidigital.co.uk> Hi Trevor It?s so helpful to have these guides. What kind of things do you use nsSSB for? I totally see it?s benefits. It would be great to hear your personal uses as examples of usefulness. Sean Cole Pi Digital Prod Ltd > On 22 Jan 2020, at 04:44, Trevor DeVore via use-livecode wrote: > > ?On Tue, Jan 21, 2020 at 11:59 AM H?kan Liljegren via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I this is already created by our hero Trevor Devore. Take a look at his >> github page: >> >> github.com/trevordevore/lc-macos-toolset >> >> what you are looking for is the nssystem-status-bar.lcb >> > > Thanks for the kind words H?kan. I hope that repo is helpful to people who > are exploring LCB. > > Folks - If you have access to Mac Status Menu in LC 9.6 (I don't know if it > is available in Community or not) I would suggest using it. That is what i > use in my applications and it works great. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Jan 22 13:26:36 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Jan 2020 10:26:36 -0800 Subject: directory tree -> array In-Reply-To: References: Message-ID: <914c9d72-a6fc-5e82-346e-6171dff5724e@fourthworld.com> We have many handlers that deliver directory trees as lists, but arrays are a different beast. Because the depth is both unknowable and varied, I can't think of a way to do this without resorting to "do". -- Richard Gaskin Bob Sneidar wrote: > I thought someone created a handler for this? It requires iteration. > > On Jan 22, 2020, at 10:17 , Richard Gaskin wrote: > > I stumbled across a code challenge for y'all, one that seems > seductively simple but I don't think it is: > > What is the simplest way to build an array that reflects the files > and folders within a given folder? > > There's a discussion about this here: > > https://forums.livecode.com/viewtopic.php?f=7&t=33565 From bobsneidar at iotecdigital.com Wed Jan 22 13:34:24 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 22 Jan 2020 18:34:24 +0000 Subject: directory tree -> array In-Reply-To: References: <90ee682b-2035-fb17-db99-3fbb2cee8d5f@fourthworld.com> Message-ID: <58B76080-B94B-41B9-8BF1-E8849D8B0DE7@iotecdigital.com> The tree view widget has an array at it's core. I seem to remember someone creating a stack that uses the tree view widget to represent a folder structure. You should be able to simply extract the array from that. I'll poke around. Bob S > On Jan 22, 2020, at 10:21 , Bob Sneidar via use-livecode wrote: > > I thought someone created a handler for this? It requires iteration. > > Bob S > > >> On Jan 22, 2020, at 10:17 , Richard Gaskin via use-livecode wrote: >> >> I stumbled across a code challenge for y'all, one that seems seductively simple but I don't think it is: >> >> What is the simplest way to build an array that reflects the files and folders within a given folder? >> >> There's a discussion about this here: >> >> https://forums.livecode.com/viewtopic.php?f=7&t=33565 >> >> -- >> Richard Gaskin > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 22 13:38:51 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 22 Jan 2020 18:38:51 +0000 Subject: directory tree -> array In-Reply-To: <58B76080-B94B-41B9-8BF1-E8849D8B0DE7@iotecdigital.com> References: <90ee682b-2035-fb17-db99-3fbb2cee8d5f@fourthworld.com> <58B76080-B94B-41B9-8BF1-E8849D8B0DE7@iotecdigital.com> Message-ID: <8175B18F-4731-4879-B090-77A4D86090F1@iotecdigital.com> I found a populate directory demo with a tree widget, but it fails, almost certainly because the embedded widget is out of sync with the current tree widget. Here you go. > On Jan 22, 2020, at 10:34 , Bob Sneidar via use-livecode wrote: > > The tree view widget has an array at it's core. I seem to remember someone creating a stack that uses the tree view widget to represent a folder structure. You should be able to simply extract the array from that. I'll poke around. > > Bob S From bobsneidar at iotecdigital.com Wed Jan 22 13:42:17 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 22 Jan 2020 18:42:17 +0000 Subject: directory tree -> array In-Reply-To: <8175B18F-4731-4879-B090-77A4D86090F1@iotecdigital.com> References: <90ee682b-2035-fb17-db99-3fbb2cee8d5f@fourthworld.com> <58B76080-B94B-41B9-8BF1-E8849D8B0DE7@iotecdigital.com> <8175B18F-4731-4879-B090-77A4D86090F1@iotecdigital.com> Message-ID: Won't work. The behavior is missing. Bob S > On Jan 22, 2020, at 10:38 , Bob Sneidar via use-livecode wrote: > > I found a populate directory demo with a tree widget, but it fails, almost certainly because the embedded widget is out of sync with the current tree widget. Here you go. > > > >> On Jan 22, 2020, at 10:34 , Bob Sneidar via use-livecode wrote: >> >> The tree view widget has an array at it's core. I seem to remember someone creating a stack that uses the tree view widget to represent a folder structure. You should be able to simply extract the array from that. I'll poke around. >> >> 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 ambassador at fourthworld.com Wed Jan 22 13:58:07 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Jan 2020 10:58:07 -0800 Subject: directory tree -> array In-Reply-To: <8175B18F-4731-4879-B090-77A4D86090F1@iotecdigital.com> References: <8175B18F-4731-4879-B090-77A4D86090F1@iotecdigital.com> Message-ID: <64c7db80-8c51-643c-411d-d08aaffd01d8@fourthworld.com> Bob Sneidar wrote: > I found a populate directory demo with a tree widget, but it fails, > almost certainly because the embedded widget is out of sync with > the current tree widget. Here you go. If you turn one up it would be good to see the code. So widgets can embed other widgets? I did not know that. Does that use a reference, or a copy? -- 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 brian at milby7.com Wed Jan 22 14:04:01 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 22 Jan 2020 14:04:01 -0500 Subject: directory tree -> array In-Reply-To: <64c7db80-8c51-643c-411d-d08aaffd01d8@fourthworld.com> References: <8175B18F-4731-4879-B090-77A4D86090F1@iotecdigital.com> <64c7db80-8c51-643c-411d-d08aaffd01d8@fourthworld.com> Message-ID: <9c4e13db-677f-4675-81cd-9883706ea03b@Spark> Much of the needed work is already done in the standalone builder code. ?I don?t think it does a nested array, but it does handle things like processing links/shortcuts. ?I?ll try to take a look to see if a short recursive function could be easily built. Thanks, Brian On Jan 22, 2020, 1:59 PM -0500, Richard Gaskin via use-livecode , wrote: > Bob Sneidar wrote: > > > I found a populate directory demo with a tree widget, but it fails, > > almost certainly because the embedded widget is out of sync with > > the current tree widget. Here you go. > > If you turn one up it would be good to see the code. > > So widgets can embed other widgets? I did not know that. Does that use > a reference, or a copy? > > -- > 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 jjs at krutt.org Wed Jan 22 14:17:52 2020 From: jjs at krutt.org (JJS) Date: Wed, 22 Jan 2020 20:17:52 +0100 Subject: No support for 24bit/96kHz audio file? Message-ID: Hi, i imprted some short audiofiles 24bit/96kHz but it seems LC does some kind of downsampling or changes the frequency. As it plays now very looow. Is the max 16bit/44.1kHz ? Any idea? Thanks, Jerry From ambassador at fourthworld.com Wed Jan 22 14:20:17 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Jan 2020 11:20:17 -0800 Subject: directory tree -> array In-Reply-To: <9c4e13db-677f-4675-81cd-9883706ea03b@Spark> References: <9c4e13db-677f-4675-81cd-9883706ea03b@Spark> Message-ID: <95abdd45-726f-e1d2-bc7c-080811cb5983@fourthworld.com> Where is the tree widget used in the Standalone Builder? -- Richard Gaskin Fourth World Systems Brian Milby wrote: > Much of the needed work is already done in the standalone builder > code. I don?t think it does a nested array, but it does handle things > like processing links/shortcuts. I?ll try to take a look to see if a > short recursive function could be easily built. > > Thanks, > Brian > On Jan 22, 2020, 1:59 PM -0500, Richard Gaskin wrote: >> Bob Sneidar wrote: >> >> > I found a populate directory demo with a tree widget, but it fails, >> > almost certainly because the embedded widget is out of sync with >> > the current tree widget. Here you go. >> >> If you turn one up it would be good to see the code. >> >> So widgets can embed other widgets? I did not know that. Does that >> use a reference, or a copy? >> -- >> Richard Gaskin >> Fourth World Systems From brian at milby7.com Wed Jan 22 14:22:21 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 22 Jan 2020 14:22:21 -0500 Subject: directory tree -> array In-Reply-To: <95abdd45-726f-e1d2-bc7c-080811cb5983@fourthworld.com> References: <9c4e13db-677f-4675-81cd-9883706ea03b@Spark> <95abdd45-726f-e1d2-bc7c-080811cb5983@fourthworld.com> Message-ID: <4bb71e28-c84f-43f2-8197-98017f643459@Spark> Wasn?t talking about the widget but building the underlying array that it would display. Thanks, Brian On Jan 22, 2020, 2:21 PM -0500, Richard Gaskin via use-livecode , wrote: > Where is the tree widget used in the Standalone Builder? > > -- > Richard Gaskin > Fourth World Systems > > Brian Milby wrote: > > > Much of the needed work is already done in the standalone builder > > code. I don?t think it does a nested array, but it does handle things > > like processing links/shortcuts. I?ll try to take a look to see if a > > short recursive function could be easily built. > > > > Thanks, > > Brian > > On Jan 22, 2020, 1:59 PM -0500, Richard Gaskin wrote: > > > Bob Sneidar wrote: > > > > > > > I found a populate directory demo with a tree widget, but it fails, > > > > almost certainly because the embedded widget is out of sync with > > > > the current tree widget. Here you go. > > > > > > If you turn one up it would be good to see the code. > > > > > > So widgets can embed other widgets? I did not know that. Does that > > > use a reference, or a copy? > > > -- > > > Richard Gaskin > > > Fourth World Systems > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kevin at stallibrass.com Wed Jan 22 14:34:05 2020 From: kevin at stallibrass.com (Kevin) Date: Wed, 22 Jan 2020 19:34:05 +0000 Subject: Raspberry Pi 4 In-Reply-To: References: Message-ID: I?ve had my push notification server running on a Pi 3 for some years. Just bought a Pi 4, 4gb, will try installing live code on that. Always found the biggest overhead on the Pi is running the monitor. Seems quicker via VNC Regards Kevin Stallibrass Sent from my iPhone > On 22 Jan 2020, at 17:00, use-livecode-request at lists.runrev.com wrote: > > Raspberry Pi 4 From lists at mangomultimedia.com Wed Jan 22 14:47:58 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 22 Jan 2020 13:47:58 -0600 Subject: Apple Mac menubar? In-Reply-To: <6B895F6B-B2A1-423F-A7F4-1F7CD159C27D@pidigital.co.uk> References: <6B895F6B-B2A1-423F-A7F4-1F7CD159C27D@pidigital.co.uk> Message-ID: On Wed, Jan 22, 2020 at 12:25 PM Pi Digital via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Trevor > > It?s so helpful to have these guides. What kind of things do you use nsSSB > for? I totally see it?s benefits. It would be great to hear your personal > uses as examples of usefulness. > My application has a screen capture component and a user can trigger screen captures through the status bar menu, change some capture settings, and open/close some windows/palettes in the application. -- Trevor DeVore ScreenSteps www.screensteps.com From jjs at krutt.org Wed Jan 22 14:55:33 2020 From: jjs at krutt.org (JJS) Date: Wed, 22 Jan 2020 20:55:33 +0100 Subject: Raspberry Pi 4 In-Reply-To: References: Message-ID: NIce, i would like to know how you did it. And did you need any other service like FCM or GCM or another to get it out to browser or mobile devices? JErry Op 22-1-2020 om 20:34 schreef Kevin via use-livecode: > I?ve had my push notification server running on a Pi 3 for some years. > Just bought a Pi 4, 4gb, will try installing live code on that. > > Always found the biggest overhead on the Pi is running the monitor. Seems quicker via VNC > > > Regards > Kevin Stallibrass > Sent from my iPhone > >> On 22 Jan 2020, at 17:00, use-livecode-request at lists.runrev.com wrote: >> >> Raspberry Pi 4 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 22 16:35:49 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Jan 2020 15:35:49 -0600 Subject: iOS crashes Message-ID: My tester is getting a crash to the launcher on our iOS app (built with LC 9.5.1.) Is there a way to get a system report or a way to know what happened? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andrew at midwestcoastmedia.com Wed Jan 22 16:35:59 2020 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Wed, 22 Jan 2020 21:35:59 +0000 Subject: Face/Touch ID In-Reply-To: Message-ID: <20200122213559.Horde.zcypWeNdonvLB0aRjMdpUCw@oa.serversignin.com> mergLA will handle Face ID the same as Touch ID for iOS: no extra code needed. It would be REALLY cool if this would work on macOS too so you could use it on MacBook Pros since it's using the same calls. https://quality.livecode.com/show_bug.cgi?id=18742 --Andrew Bell > From: Dan Friedman > To: How to use LiveCode > Subject: Face/Touch ID > Message-ID: <6A9B4483-B896-4B2A-86A1-C0F497CA0034 at clearvisiontech.com> > Content-Type: text/plain; charset="utf-8" > > Greetings! > > If memory serves we can use mergLA for Touch ID. Is there a method > for Face ID? > > Thanks! > -Dan From paulmcclernan at gmail.com Wed Jan 22 17:23:37 2020 From: paulmcclernan at gmail.com (Paul McClernan) Date: Wed, 22 Jan 2020 17:23:37 -0500 Subject: FYI: Cause found for LC crashing to desktop when Browser widget opens PDF In-Reply-To: References: <2F2113EE-3F78-4219-9E79-62202326473B@m-r-d.de> <7BFD6353-9F41-478D-AA29-0070EC4F72E9@m-r-d.de> <2db9900fc942d8b6b275d52f8fc8151c@livecode.com> Message-ID: I believe 32bit run mode was the default for earlier versions of LiveCode but 9.x is 64bit by default. I bring that up out of curiosity because I had a problem with a browser plug-in (64/32bit) running inside a LiveCode Browser widget in the past. The plugin would crash running in 64bit, sometimes taking LiveCode Engine with it, but if it worked perfectly in LC in 32bit mode or earlier versions of LiveCode. Of course the plugin worked fine in Safari and on both 32bit and 64bit kernel machines. I've since replaced that plug-in with my own LCB Library that does most of what I need that fo (and also got rid of my 32bit laptop) so I didn't investigate further. > On Jan 20, 2020, at 07:41 , Mark Waddingham via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > On 2020-01-20 15:20, Matthias Rebbe via use-livecode wrote: > >> Just want to let you know that Livecode Dev Team confirmed that this is > a bug > >> https://quality.livecode.com/show_bug.cgi?id=22534 > > > > Well, we confirmed it crashed ;) Whether it is a bug in LC or Adobe DC > or not > > is another matter. > > > > There was a similar issue a very long time ago with Adobe's PDF plugin - > it would > > cause the browser external to crash if used (we used the system webview > back then > > as we do now)... The Adobe plugin was doing things it shouldn't (I can't > recall > > if we managed to come up with a hack in the browser external to stop it > or not; or > > whether Adobe eventually cleaned up their plugin!) > > > > Warmest Regards, > > > > Mark. > > > > -- > > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > > LiveCode: Everyone can create apps > > From rdimola at evergreeninfo.net Wed Jan 22 17:41:32 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 22 Jan 2020 17:41:32 -0500 Subject: iOS crashes In-Reply-To: References: Message-ID: <004f01d5d175$1ba2f1a0$52e8d4e0$@net> J, Settings ==>Privacy ==>Analytics ==> Analytic Data Crash logs can be found there. 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 J. Landman Gay via use-livecode Sent: Wednesday, January 22, 2020 4:36 PM To: LiveCode Mailing List Cc: J. Landman Gay Subject: iOS crashes My tester is getting a crash to the launcher on our iOS app (built with LC 9.5.1.) Is there a way to get a system report or a way to know what happened? -- 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 ambassador at fourthworld.com Wed Jan 22 18:06:35 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Jan 2020 15:06:35 -0800 Subject: Raspberry Pi 4 In-Reply-To: References: Message-ID: <57f0fef9-c675-4b5d-73b6-12b075712823@fourthworld.com> Seconded. It would be good to hear how you set that up, and even better if you have LC playing a role in that on the RPi. -- Richard Gaskin Fourth World Systems JJS wrote: > NIce, i would like to know how you did it. > > And did you need any other service like FCM or GCM or another to get it > out to browser or mobile devices? > > > JErry > > Op 22-1-2020 om 20:34 schreef Kevin via use-livecode: >> I?ve had my push notification server running on a Pi 3 for some years. >> Just bought a Pi 4, 4gb, will try installing live code on that. >> >> Always found the biggest overhead on the Pi is running the monitor. Seems quicker via VNC >> >> >> Regards >> Kevin Stallibrass >> Sent from my iPhone >> >>> On 22 Jan 2020, at 17:00, use-livecode-request at lists.runrev.com wrote: >>> >>> Raspberry Pi 4 From jacque at hyperactivesw.com Wed Jan 22 18:56:22 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 22 Jan 2020 17:56:22 -0600 Subject: iOS crashes In-Reply-To: <004f01d5d175$1ba2f1a0$52e8d4e0$@net> References: <004f01d5d175$1ba2f1a0$52e8d4e0$@net> Message-ID: <16fcfaf7888.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thank you! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 22, 2020 4:40:23 PM Ralph DiMola via use-livecode wrote: > J, > > Settings ==>Privacy ==>Analytics ==> Analytic Data > Crash logs can be found there. > > 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 J. Landman Gay via use-livecode > Sent: Wednesday, January 22, 2020 4:36 PM > To: LiveCode Mailing List > Cc: J. Landman Gay > Subject: iOS crashes > > My tester is getting a crash to the launcher on our iOS app (built with LC > 9.5.1.) Is there a way to get a system report or a way to know what > happened? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Jan 22 19:42:47 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 23 Jan 2020 00:42:47 +0000 Subject: No support for 24bit/96kHz audio file? In-Reply-To: References: Message-ID: <7C22A265-5FAB-45DC-942B-CC210739F4AE@hindu.org> aiff or wav? Hi, i imprted some short audiofiles 24bit/96kHz but it seems LC does some kind of downsampling or changes the frequency. As it plays now very looow. Is the max 16bit/44.1kHz ? Any idea? Thanks, Jerry From stephen at barncard.com Wed Jan 22 20:59:33 2020 From: stephen at barncard.com (Stephen Barncard) Date: Wed, 22 Jan 2020 17:59:33 -0800 Subject: No support for 24bit/96kHz audio file? In-Reply-To: <7C22A265-5FAB-45DC-942B-CC210739F4AE@hindu.org> References: <7C22A265-5FAB-45DC-942B-CC210739F4AE@hindu.org> Message-ID: No and my biggest gripe about live code right now. On Wed, Jan 22, 2020 at 16:43 Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > aiff or wav? > > Hi, > > i imprted some short audiofiles 24bit/96kHz but it seems LC does some > kind of downsampling or changes the frequency. > > As it plays now very looow. > > Is the max 16bit/44.1kHz ? > > Any idea? > > > Thanks, > > Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From mark at livecode.com Thu Jan 23 03:43:59 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 23 Jan 2020 08:43:59 +0000 Subject: No support for 24bit/96kHz audio file? In-Reply-To: References: Message-ID: On 2020-01-22 19:17, JJS via use-livecode wrote: > Hi, > > i imprted some short audiofiles 24bit/96kHz but it seems LC does some > kind of downsampling or changes the frequency. When you say 'import' do you mean as audioclips? I don't think audioclips (nor the APIs used to playback their sounds) support 24-bit audio. Have you tried using a player? Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From hakan at exformedia.se Thu Jan 23 03:44:09 2020 From: hakan at exformedia.se (hakan at exformedia.se) Date: Thu, 23 Jan 2020 09:44:09 +0100 Subject: No support for 24bit/96kHz audio file? In-Reply-To: References: <7C22A265-5FAB-45DC-942B-CC210739F4AE@hindu.org> Message-ID: <53425f1e-6379-4e1d-a377-5e866de6ad91@Spark> I kind of never use the built-in sound player other than small short sound effects and often not even at then, as the build in player is so limited. I instead use the player control. It can play kind of every file. (96kHz/ 24bit Flac among them). On top of that you can play several sounds at once, you can control the volume individually, you can keep the files external, etc. Would it be nice to have an overhaul of the built-in player? Yes, of course! Is it a big problem? For me it isn?t! :-H?kan On 23 Jan 2020, 03:00 +0100, Stephen Barncard via use-livecode , wrote: > No and my biggest gripe about live code right now. > > On Wed, Jan 22, 2020 at 16:43 Sannyasin Brahmanathaswami via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > aiff or wav? > > > > Hi, > > > > i imprted some short audiofiles 24bit/96kHz but it seems LC does some > > kind of downsampling or changes the frequency. > > > > As it plays now very looow. > > > > Is the max 16bit/44.1kHz ? > > > > Any idea? > > > > > > Thanks, > > > > Jerry > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephen at barncard.com Thu Jan 23 05:00:15 2020 From: stephen at barncard.com (Stephen Barncard) Date: Thu, 23 Jan 2020 02:00:15 -0800 Subject: No support for 24bit/96kHz audio file? In-Reply-To: <53425f1e-6379-4e1d-a377-5e866de6ad91@Spark> References: <7C22A265-5FAB-45DC-942B-CC210739F4AE@hindu.org> <53425f1e-6379-4e1d-a377-5e866de6ad91@Spark> Message-ID: Mark, My experience with the built in player in the past has been difficult and it never served files greater than 16 bit up to 48k. In 2006 I reverse engineered (hacked) the player object to EXPORT audio files and required a lot of convoluted code to reassemble as a wav or aiff file, building the binary jump table was a trip. I gave up after that. Has it ever really been improved? Player vs "Player control" ? It used to depend on Quicktime which is now doornail. sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, Jan 23, 2020 at 12:45 AM H?kan Liljegren via use-livecode < use-livecode at lists.runrev.com> wrote: > I kind of never use the built-in sound player other than small short sound > effects and often not even at then, as the build in player is so limited. I > instead use the player control. It can play kind of every file. (96kHz/ > 24bit Flac among them). On top of that you can play several sounds at once, > you can control the volume individually, you can keep the files external, > etc. > > Would it be nice to have an overhaul of the built-in player? Yes, of > course! Is it a big problem? For me it isn?t! > > :-H?kan > On 23 Jan 2020, 03:00 +0100, Stephen Barncard via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > No and my biggest gripe about live code right now. > > > > On Wed, Jan 22, 2020 at 16:43 Sannyasin Brahmanathaswami via > use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > aiff or wav? > > > > > > Hi, > > > > > > i imprted some short audiofiles 24bit/96kHz but it seems LC does some > > > kind of downsampling or changes the frequency. > > > > > > As it plays now very looow. > > > > > > Is the max 16bit/44.1kHz ? > > > > > > Any idea? > > > > > > > > > Thanks, > > > > > > Jerry > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > > -- > > Stephen Barncard - Sebastopol Ca. USA - > > mixstream.org > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Jan 23 05:27:08 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 23 Jan 2020 10:27:08 +0000 Subject: No support for 24bit/96kHz audio file? In-Reply-To: References: <7C22A265-5FAB-45DC-942B-CC210739F4AE@hindu.org> <53425f1e-6379-4e1d-a377-5e866de6ad91@Spark> Message-ID: <8d2bdc8eaf5cc72d4caedec850173db5@livecode.com> On 2020-01-23 10:00, Stephen Barncard via use-livecode wrote: > Mark, > My experience with the built in player in the past has been difficult > and > it never served files greater than 16 bit up to 48k. In 2006 I reverse > engineered (hacked) the player object to EXPORT audio files and > required a > lot of convoluted code to reassemble as a wav or aiff file, building > the > binary jump table was a trip. I gave up after that. Well it probably would have been easier just to use QT APIs direct and write an external to export the audio data from the file (not that that was ever necessarily easy, media frameworks tend to be skewed towards playback rather than authoring - and QT was never particularly well documented for anything other than playback!). > Has it ever really been improved? Player vs "Player control" ? > It used to depend on Quicktime which is now doornail. Audioclips have always been restricted in what they can do - they are essentially just simple raw audio storage/playback things. Players used QT on Mac/Win until QT died - now they use AVFoundation/DirectShow (for at least the last 2-3 years). The formats they support are what those frameworks support. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jjs at krutt.org Thu Jan 23 11:39:40 2020 From: jjs at krutt.org (Jjs) Date: Thu, 23 Jan 2020 17:39:40 +0100 Subject: No support for 24bit/96kHz audio file? In-Reply-To: <8d2bdc8eaf5cc72d4caedec850173db5@livecode.com> References: <7C22A265-5FAB-45DC-942B-CC210739F4AE@hindu.org> <53425f1e-6379-4e1d-a377-5e866de6ad91@Spark> <8d2bdc8eaf5cc72d4caedec850173db5@livecode.com> Message-ID: <4C46B6C5-8655-4250-90F4-8916E6C5C97B@krutt.org> I use wav and when i change it to 16bit/44.1kHz it plays ok. So for this usage it maybe is ok. But higher resolutions is better and more crisp. I'm building a drumpad for fun on mobile(Android for now) and use the play command. It has to respond fast so the player will be probably too slow, also ut just has to play quickly multiple samples without the player UI coming to front. Apart from this, when using music it would be nice to have Opus support (free codec and getting more popular on many platforms, see Wikipedia about it) and much higher resolutions. Mark Waddingham via use-livecode schreef op 23 januari 2020 11:27:08 CET: >On 2020-01-23 10:00, Stephen Barncard via use-livecode wrote: >> Mark, >> My experience with the built in player in the past has been difficult > >> and >> it never served files greater than 16 bit up to 48k. In 2006 I >reverse >> engineered (hacked) the player object to EXPORT audio files and >> required a >> lot of convoluted code to reassemble as a wav or aiff file, building >> the >> binary jump table was a trip. I gave up after that. > >Well it probably would have been easier just to use QT APIs direct and >write >an external to export the audio data from the file (not that that was >ever >necessarily easy, media frameworks tend to be skewed towards playback >rather >than authoring - and QT was never particularly well documented for >anything >other than playback!). > >> Has it ever really been improved? Player vs "Player control" ? >> It used to depend on Quicktime which is now doornail. > >Audioclips have always been restricted in what they can do - they are >essentially >just simple raw audio storage/playback things. > >Players used QT on Mac/Win until QT died - now they use >AVFoundation/DirectShow >(for at least the last 2-3 years). The formats they support are what >those >frameworks support. > >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 -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From jbv at souslelogo.com Thu Jan 23 14:21:50 2020 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Thu, 23 Jan 2020 14:21:50 -0500 Subject: Raspberry Pi 4 In-Reply-To: References: Message-ID: <617d4748934279922b2d561458abd15f@souslelogo.com> Hi, Did they fix the USB-C issue they had last summer on the first release of the Pi 4 ? Best, Le 2020-01-22 14:34, Kevin via use-livecode a ?crit?: > I?ve had my push notification server running on a Pi 3 for some years. > Just bought a Pi 4, 4gb, will try installing live code on that. > > Always found the biggest overhead on the Pi is running the monitor. > Seems quicker via VNC > > From bobsneidar at iotecdigital.com Thu Jan 23 14:50:09 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Jan 2020 19:50:09 +0000 Subject: Autofill Utility Message-ID: Hi all. These scripts may help you if you want to autofill text in a field from a list of prior values. The rawKeyUp handler goes in the field, and the autofill can go anywhere in the message path. You can see how simple this is. The prerequisite is to have a uniquevalues propery in the field. I have another handler if anyone is interested, which upon openCard queries a database for unique values for a list of fields, and then populates each field's uniquevalues property with the results, but I hesitate to put that handler here because it uses calls to sqlYoga, and some don't use that. Enjoy! Bob S ON rawKeyUp IF the text of me is not empty THEN autoFill the long id of me exit to top -- focus on me END IF pass rawKeyUp END rawKeyUp on autoFill pTargetID put the text of pTargetID into tText put the number of chars of tText into tCharCount put the uniqueValues of pTargetID into tValueList put lineOffset(tText, tValueList) into tOffset if tOffset = 0 then exit autoFill put line tOffset of tValueList into tNewValue if tText is tNewValue then exit autoFill -- in case we tabbed set the text of pTargetID to line tOffset of tValueList select char tCharCount +1 to -1 of pTargetID end autoFill From jacque at hyperactivesw.com Thu Jan 23 15:47:26 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 Jan 2020 14:47:26 -0600 Subject: iOS app crashes on launch Message-ID: <5117ee25-f75a-89b0-4451-0d5fb6351978@hyperactivesw.com> I can build a test app but it crashes on launch. I first built with 9.6dp2, it ran fine but there were other bugs. So I built with 9.5.1 and it worked fine too but crashes all over the place. Now I want to go back to 9.6dp2. I used Terminal to: sudo xcode-select -s The correct XCode is set in LC prefs and the square is green. The correct command line version is selected in XCode->Locations The app builds and crashes on launch. This shouldn't be so hard. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From quizzicaltimes20 at gmail.com Thu Jan 23 16:25:07 2020 From: quizzicaltimes20 at gmail.com (Tony Trivia) Date: Thu, 23 Jan 2020 15:25:07 -0600 Subject: Do Mac OS apps stop working if your Mac Developer ID Application cert expires? Message-ID: Hi, Anyone know what happens if you let a Mac Developer ID Application cert expire? (I'm thinking of apps that are NOT in the Mac app store, but are distributed directly to users.) I've heard if this cert is revoked, that can block any apps from running that were signed with that cert. Just wondering what the effect is if the cert just expires. Thanks. Tony From bobsneidar at iotecdigital.com Thu Jan 23 16:32:32 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Jan 2020 21:32:32 +0000 Subject: Autofill Utility In-Reply-To: References: Message-ID: Couple updates. I added a closeField handler to optionally add new entries to the uniqueValues property. Also rawKeyUp needs a delay so things like backspacing can work. on closeField put me into tValue put the uniqueValues of me into tUniqueValues if tValue is not among the lines of tUniqueValues then answer question "Add " & tValue & " to the Autofill list?" with "Cancel" or "Add" if it is "Add" then put cr & tValue after tUniqueValues sort lines of tUniqueValues set the uniqueValues of me to tUniqueValues end if end if end closeField ON rawKeyUp IF the text of me is not empty THEN wait 30 ticks with messages -- adjust to your liking autoFill the long id of me exit to top END IF pass rawKeyUp END rawKeyUp Bob S > On Jan 23, 2020, at 11:50 , Bob Sneidar wrote: > > Hi all. > > These scripts may help you if you want to autofill text in a field from a list of prior values. The rawKeyUp handler goes in the field, and the autofill can go anywhere in the message path. You can see how simple this is. > > The prerequisite is to have a uniquevalues propery in the field. I have another handler if anyone is interested, which upon openCard queries a database for unique values for a list of fields, and then populates each field's uniquevalues property with the results, but I hesitate to put that handler here because it uses calls to sqlYoga, and some don't use that. > > Enjoy! > > Bob S > > ON rawKeyUp > IF the text of me is not empty THEN > autoFill the long id of me > exit to top > -- focus on me > END IF > > pass rawKeyUp > END rawKeyUp > > on autoFill pTargetID > put the text of pTargetID into tText > put the number of chars of tText into tCharCount > put the uniqueValues of pTargetID into tValueList > put lineOffset(tText, tValueList) into tOffset > if tOffset = 0 then exit autoFill > put line tOffset of tValueList into tNewValue > if tText is tNewValue then exit autoFill -- in case we tabbed > set the text of pTargetID to line tOffset of tValueList > select char tCharCount +1 to -1 of pTargetID > end autoFill From jacque at hyperactivesw.com Thu Jan 23 16:36:04 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 Jan 2020 15:36:04 -0600 Subject: Do Mac OS apps stop working if your Mac Developer ID Application cert expires? In-Reply-To: References: Message-ID: It should keep running. You just can't build any new apps. On 1/23/20 3:25 PM, Tony Trivia via use-livecode wrote: > Hi, > > Anyone know what happens if you let a Mac Developer ID Application cert > expire? (I'm thinking of apps that are NOT in the Mac app store, but are > distributed directly to users.) > > I've heard if this cert is revoked, that can block any apps from running > that were signed with that cert. Just wondering what the effect is if the > cert just expires. > > Thanks. > Tony > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Thu Jan 23 17:01:16 2020 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 23 Jan 2020 22:01:16 +0000 Subject: Do Mac OS apps stop working if your Mac Developer ID Application cert expires? In-Reply-To: References: Message-ID: <2E045EF4-E0D9-41CD-8FCE-148B853370EB@byu.edu> I?ve done lots of test deployments to devices that are registered in my wildcard provisioning profile. After the cert expires the app no longer runs on the test devices. You have to renew the cert and provisioning profile, re-save and reinstall the app on the device if you want it to work again. I don?t know if it is different if you are distributing with an app-specific provisioning profile, since I haven?t tried that. Devin > On Jan 23, 2020, at 2:25 PM, Tony Trivia via use-livecode wrote: > > Hi, > > Anyone know what happens if you let a Mac Developer ID Application cert > expire? (I'm thinking of apps that are NOT in the Mac app store, but are > distributed directly to users.) > > I've heard if this cert is revoked, that can block any apps from running > that were signed with that cert. Just wondering what the effect is if the > cert just expires. > > Thanks. > Tony > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Thu Jan 23 17:44:18 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 Jan 2020 16:44:18 -0600 Subject: iOS app crashes on launch In-Reply-To: <5117ee25-f75a-89b0-4451-0d5fb6351978@hyperactivesw.com> References: <5117ee25-f75a-89b0-4451-0d5fb6351978@hyperactivesw.com> Message-ID: <9918e76e-ba6b-e6a5-6e82-ef3dfc5f857c@hyperactivesw.com> So I think I found my problem, I was testing on an ancient iPhone running iOS 10.x. When I borrow my husband's phone on iOS 13 the app works. So the new question is: does LC 9.6 have a minimum required iOS version? The dropdown goes all the way back to iOS 8 but that doesn't seem to be the case. Does anyone know? On 1/23/20 2:47 PM, J. Landman Gay via use-livecode wrote: > I can build a test app but it crashes on launch. > > I first built with 9.6dp2, it ran fine but there were other bugs. So I > built with 9.5.1 and it worked fine too but crashes all over the place. > > Now I want to go back to 9.6dp2. I used Terminal to: sudo xcode-select > -s > > The correct XCode is set in LC prefs and the square is green. > > The correct command line version is selected in XCode->Locations > > The app builds and crashes on launch. This shouldn't be so hard. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sean at pidigital.co.uk Thu Jan 23 17:54:55 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 23 Jan 2020 22:54:55 +0000 Subject: Do Mac OS apps stop working if your Mac Developer ID Application cert expires? In-Reply-To: <2E045EF4-E0D9-41CD-8FCE-148B853370EB@byu.edu> References: <2E045EF4-E0D9-41CD-8FCE-148B853370EB@byu.edu> Message-ID: If it is an enterprise app then it will run as long as the Profile is still valid (which is usually a year from its creation). If it is AdHoc test copy, again it will run as long as the profile is valid. From the store (I know that wasn?t your question) it runs out once the user removes it from their device or a device OS upgrade renders the app build inexecutable. When the certificate expires the app simply won?t load. For enterprise apps it will inform you that no relevant profile could be found. Sean Cole Pi Digital Prod Ltd > On 23 Jan 2020, at 22:01, Devin Asay via use-livecode wrote: > > ?I?ve done lots of test deployments to devices that are registered in my wildcard provisioning profile. After the cert expires the app no longer runs on the test devices. You have to renew the cert and provisioning profile, re-save and reinstall the app on the device if you want it to work again. > > I don?t know if it is different if you are distributing with an app-specific provisioning profile, since I haven?t tried that. > > Devin > >> On Jan 23, 2020, at 2:25 PM, Tony Trivia via use-livecode wrote: >> >> Hi, >> >> Anyone know what happens if you let a Mac Developer ID Application cert >> expire? (I'm thinking of apps that are NOT in the Mac app store, but are >> distributed directly to users.) >> >> I've heard if this cert is revoked, that can block any apps from running >> that were signed with that cert. Just wondering what the effect is if the >> cert just expires. >> >> Thanks. >> Tony >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 23 18:58:19 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 23 Jan 2020 23:58:19 +0000 Subject: Tab Button Colors Message-ID: <4C4A784E-2AEE-44A2-8A8D-31AB49428125@iotecdigital.com> Hi all. I n a tab button on a Mac, for some reason in the IDE, the text of the first tab is green and subsequent tabs are red. In a standalone, the text of the first button is YELLOW! No colors or effects are applied. Obviously not a show stopper, but people are asking me what the significance is. I have not found a property where I could change that (which might actually be cool!) Bob S From scott at elementarysoftware.com Thu Jan 23 20:11:32 2020 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 23 Jan 2020 17:11:32 -0800 Subject: Do Mac OS apps stop working if your Mac Developer ID Application cert expires? In-Reply-To: References: <2E045EF4-E0D9-41CD-8FCE-148B853370EB@byu.edu> Message-ID: <589519A0-C1BE-4A4F-9482-4792B30EC203@elementarysoftware.com> I was under the impression that the original post was about Mac desktop. In which case JLG?s answer seemed To the point. If it isn?t in the MacAppStore then my understanding is that you just can?t code sign new builds but that existing apps continue to work as usual. On mobile it is different as several have pointed out -- Scott Morrow > On Jan 23, 2020, at 2:54 PM, Pi Digital via use-livecode wrote: > > If it is an enterprise app then it will run as long as the Profile is still valid (which is usually a year from its creation). > > If it is AdHoc test copy, again it will run as long as the profile is valid. > > From the store (I know that wasn?t your question) it runs out once the user removes it from their device or a device OS upgrade renders the app build inexecutable. > > When the certificate expires the app simply won?t load. For enterprise apps it will inform you that no relevant profile could be found. > > Sean Cole > Pi Digital Prod Ltd > >> On 23 Jan 2020, at 22:01, Devin Asay via use-livecode wrote: >> >> ?I?ve done lots of test deployments to devices that are registered in my wildcard provisioning profile. After the cert expires the app no longer runs on the test devices. You have to renew the cert and provisioning profile, re-save and reinstall the app on the device if you want it to work again. >> >> I don?t know if it is different if you are distributing with an app-specific provisioning profile, since I haven?t tried that. >> >> Devin >> >>> On Jan 23, 2020, at 2:25 PM, Tony Trivia via use-livecode wrote: >>> >>> Hi, >>> >>> Anyone know what happens if you let a Mac Developer ID Application cert >>> expire? (I'm thinking of apps that are NOT in the Mac app store, but are >>> distributed directly to users.) >>> >>> I've heard if this cert is revoked, that can block any apps from running >>> that were signed with that cert. Just wondering what the effect is if the >>> cert just expires. >>> >>> Thanks. >>> Tony >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> Devin Asay >> Director >> Office of Digital Humanities >> Brigham Young University >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu Jan 23 20:19:33 2020 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 24 Jan 2020 01:19:33 +0000 Subject: LC Server survey In-Reply-To: <59dbf22d-c350-9975-d3ec-f431932ccb53@fourthworld.com> References: <59dbf22d-c350-9975-d3ec-f431932ccb53@fourthworld.com> Message-ID: <62549323-9105-cc90-9271-b99b43b8fca6@tweedly.net> OK, now I fell really dumb :-) How do I cast a vote ?? I'm not generally a forum user (don't have time or patience for that appalling UIX), so maybe I'm just missing the background info on how to cast votes in surveys. I wondered if I was supposed to simply post a reply, and then someone would add that in to the totals - but you have 84 responses, and only 59 pots - so that doesn't seem right. Anyway - I'm a ?- C2? - I run it on multiples shared servers and a ?- AB (intend to run it on dedicated server, but not done so yet :-) Alex. On 22/01/2020 01:35, Richard Gaskin via use-livecode wrote: > I've been running a survey of LC Server use in the forums for some > time now: > > https://forums.livecode.com/viewtopic.php?f=15&t=26772 > > If you haven't cast your vote it would be helpful if you could take a > moment to do so. > > I've been thinking of making some tools for LC Server deployment and > monitoring, but with just 76 total participants in that poll it's > difficult to discern just how useful such things would be. > > Thanks in advance for helping to broaden all of our understanding of > how LC Server is used. > > -- > ?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 rdimola at evergreeninfo.net Thu Jan 23 20:28:35 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 23 Jan 2020 20:28:35 -0500 Subject: LC Server survey In-Reply-To: <62549323-9105-cc90-9271-b99b43b8fca6@tweedly.net> References: <59dbf22d-c350-9975-d3ec-f431932ccb53@fourthworld.com> <62549323-9105-cc90-9271-b99b43b8fca6@tweedly.net> Message-ID: <004001d5d255$9cccfab0$d666f010$@net> When you sign in there are check boxes and a submit button. 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: Thursday, January 23, 2020 8:20 PM To: use-livecode at lists.runrev.com Cc: Alex Tweedly Subject: Re: LC Server survey OK, now I fell really dumb :-) How do I cast a vote ? I'm not generally a forum user (don't have time or patience for that appalling UIX), so maybe I'm just missing the background info on how to cast votes in surveys. I wondered if I was supposed to simply post a reply, and then someone would add that in to the totals - but you have 84 responses, and only 59 pots - so that doesn't seem right. Anyway - I'm a - C2 - I run it on multiples shared servers and a - AB (intend to run it on dedicated server, but not done so yet :-) Alex. On 22/01/2020 01:35, Richard Gaskin via use-livecode wrote: > I've been running a survey of LC Server use in the forums for some > time now: > > https://forums.livecode.com/viewtopic.php?f=15&t=26772 > > If you haven't cast your vote it would be helpful if you could take a > moment to do so. > > I've been thinking of making some tools for LC Server deployment and > monitoring, but with just 76 total participants in that poll it's > difficult to discern just how useful such things would be. > > Thanks in advance for helping to broaden all of our understanding of > how LC Server is used. > > -- > 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 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Jan 23 20:57:43 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Jan 2020 17:57:43 -0800 Subject: Autofill Utility In-Reply-To: References: Message-ID: <959f6192-9335-3e90-0d36-e30112963aa0@fourthworld.com> Nicely done, Bob. Thanks for posting that. -- Richard Gaskin Fourth World Systems Bob Sneidar wrote: > Hi all. > > These scripts may help you if you want to autofill text in a field from a list of prior values. The rawKeyUp handler goes in the field, and the autofill can go anywhere in the message path. You can see how simple this is. > > The prerequisite is to have a uniquevalues propery in the field. I have another handler if anyone is interested, which upon openCard queries a database for unique values for a list of fields, and then populates each field's uniquevalues property with the results, but I hesitate to put that handler here because it uses calls to sqlYoga, and some don't use that. > > Enjoy! > > Bob S > > ON rawKeyUp > IF the text of me is not empty THEN > autoFill the long id of me > exit to top > -- focus on me > END IF > > pass rawKeyUp > END rawKeyUp > > on autoFill pTargetID > put the text of pTargetID into tText > put the number of chars of tText into tCharCount > put the uniqueValues of pTargetID into tValueList > put lineOffset(tText, tValueList) into tOffset > if tOffset = 0 then exit autoFill > put line tOffset of tValueList into tNewValue > if tText is tNewValue then exit autoFill -- in case we tabbed > set the text of pTargetID to line tOffset of tValueList > select char tCharCount +1 to -1 of pTargetID > end autoFill From ambassador at fourthworld.com Thu Jan 23 21:00:40 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Jan 2020 18:00:40 -0800 Subject: LC Server survey In-Reply-To: <62549323-9105-cc90-9271-b99b43b8fca6@tweedly.net> References: <62549323-9105-cc90-9271-b99b43b8fca6@tweedly.net> Message-ID: <84439ac5-9046-a698-0a18-f7b9b38bee60@fourthworld.com> If you're signed in at the Forums the survey will show checkboxes next to the options. If you don't see them double-check that you're signed in. Thanks for helping to round out those survey results. -- Richard Gaskin Fourth World Systems Alex Tweedly wrote: > OK, now I fell really dumb :-) > > How do I cast a vote ? I'm not generally a forum user (don't have time > or patience for that appalling UIX), so maybe I'm just missing the > background info on how to cast votes in surveys. > > I wondered if I was supposed to simply post a reply, and then someone > would add that in to the totals - but you have 84 responses, and only 59 > pots - so that doesn't seem right. > > Anyway - I'm a > > - C2 - I run it on multiples shared servers > > and a > > - AB (intend to run it on dedicated server, but not done so yet :-) > > Alex. > > On 22/01/2020 01:35, Richard Gaskin via use-livecode wrote: >> I've been running a survey of LC Server use in the forums for some >> time now: >> >> https://forums.livecode.com/viewtopic.php?f=15&t=26772 >> >> If you haven't cast your vote it would be helpful if you could take a >> moment to do so. >> >> I've been thinking of making some tools for LC Server deployment and >> monitoring, but with just 76 total participants in that poll it's >> difficult to discern just how useful such things would be. >> >> Thanks in advance for helping to broaden all of our understanding of >> how LC Server is used. >> >> -- >> 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 rdimola at evergreeninfo.net Thu Jan 23 21:07:34 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 23 Jan 2020 21:07:34 -0500 Subject: iOS app crashes on launch In-Reply-To: <9918e76e-ba6b-e6a5-6e82-ef3dfc5f857c@hyperactivesw.com> References: <5117ee25-f75a-89b0-4451-0d5fb6351978@hyperactivesw.com> <9918e76e-ba6b-e6a5-6e82-ef3dfc5f857c@hyperactivesw.com> Message-ID: <004101d5d25b$0e5695b0$2b03c110$@net> J, High Sierra Xcode 10.1 build tools LC 9.6.0 dp2 Confirm crash on 9.3.6 Works fine on 12.4.2 LC 9.5.1 works OK on 9.3.6 I don't have an iOS 11 device to test but we now know that 9 and 10 CTD. Dinner is ready could you add this to QCC report? Thanks! 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 J. Landman Gay via use-livecode Sent: Thursday, January 23, 2020 5:44 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: iOS app crashes on launch So I think I found my problem, I was testing on an ancient iPhone running iOS 10.x. When I borrow my husband's phone on iOS 13 the app works. So the new question is: does LC 9.6 have a minimum required iOS version? The dropdown goes all the way back to iOS 8 but that doesn't seem to be the case. Does anyone know? On 1/23/20 2:47 PM, J. Landman Gay via use-livecode wrote: > I can build a test app but it crashes on launch. > > I first built with 9.6dp2, it ran fine but there were other bugs. So I > built with 9.5.1 and it worked fine too but crashes all over the place. > > Now I want to go back to 9.6dp2. I used Terminal to: sudo xcode-select > -s > > The correct XCode is set in LC prefs and the square is green. > > The correct command line version is selected in XCode->Locations > > The app builds and crashes on launch. This shouldn't be so hard. > -- 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 dunbarx at aol.com Thu Jan 23 22:47:56 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 24 Jan 2020 03:47:56 +0000 (UTC) Subject: Tab Button Colors In-Reply-To: <4C4A784E-2AEE-44A2-8A8D-31AB49428125@iotecdigital.com> References: <4C4A784E-2AEE-44A2-8A8D-31AB49428125@iotecdigital.com> Message-ID: <1037781934.10979538.1579837676793@mail.yahoo.com> Hi. If you set the foregroundColor to, say, red, and the backgroundColor to, say, yellow, the text of the tabs will show one or the other as each tab is "selected". Is this what you are seeing? Or did you mean that the entirety of the tab is colored? For me, each tab, when selected, is blue. Craig -----Original Message----- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Thu, Jan 23, 2020 6:59 pm Subject: Tab Button Colors Hi all. I n a tab button on a Mac, for some reason in the IDE, the text of the first tab is green and subsequent tabs are red. In a standalone, the text of the first button is YELLOW! No colors or effects are applied. Obviously not a show stopper, but people are asking me what the significance is. I have not found a property where I could change that (which might actually be cool!) 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 phil at pdslabs.net Fri Jan 24 02:59:27 2020 From: phil at pdslabs.net (Phil Davis) Date: Thu, 23 Jan 2020 23:59:27 -0800 Subject: TIFF support in the past? Message-ID: <7b077307-a6f1-9742-435f-6c9b47851936@pdslabs.net> I'm trying to find out if there was a time in the distant past when LC supported the TIFF image format. I found some TIFF image assets in some subfolders of a project from back then (maybe 10 or more years ago?) but can't run a copy of LC from that era to find out. Any memories? Thanks - Phil Davis -- Phil Davis 503-307-4363 From mark at livecode.com Fri Jan 24 03:14:23 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 24 Jan 2020 08:14:23 +0000 Subject: TIFF support in the past? In-Reply-To: <7b077307-a6f1-9742-435f-6c9b47851936@pdslabs.net> References: <7b077307-a6f1-9742-435f-6c9b47851936@pdslabs.net> Message-ID: <83FC7B63-09E5-4221-9BEE-0C9567B02E6A@livecode.com> I think the player object would show tiff files back when it was QT driven - the engine itself has never natively supported tiff. Warmest Regards, Mark Sent from my iPhone > On 24 Jan 2020, at 08:01, Phil Davis via use-livecode wrote: > > ?I'm trying to find out if there was a time in the distant past when LC supported the TIFF image format. I found some TIFF image assets in some subfolders of a project from back then (maybe 10 or more years ago?) but can't run a copy of LC from that era to find out. > > Any memories? > > Thanks - > Phil Davis > > -- > Phil Davis > 503-307-4363 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Fri Jan 24 03:27:52 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 24 Jan 2020 08:27:52 +0000 Subject: iOS app crashes on launch In-Reply-To: <004101d5d25b$0e5695b0$2b03c110$@net> References: <5117ee25-f75a-89b0-4451-0d5fb6351978@hyperactivesw.com> <9918e76e-ba6b-e6a5-6e82-ef3dfc5f857c@hyperactivesw.com> <004101d5d25b$0e5695b0$2b03c110$@net> Message-ID: On 2020-01-24 02:07, Ralph DiMola via use-livecode wrote: > J, > > High Sierra > Xcode 10.1 build tools > LC 9.6.0 dp2 > > Confirm crash on 9.3.6 > Works fine on 12.4.2 > > LC 9.5.1 works OK on 9.3.6 > > I don't have an iOS 11 device to test but we now know that 9 and 10 > CTD. Unfortunately both iOS 8 and iOS 9 builds will crash if a browser widget is included - these very old versions of iOS (whilst they have WKWebView) don't seem to like modern uses of it (they also have problems with the replacement player implementation!). We kept the min version to allow as low as 8 as apps not using the browser widget work fine (although I wonder if that actually provides false information in a way so might have been an error - perhaps we should just remove those options from the S/B). It could be that iOS 10 is suffering the same problem - @Jacque can you attach any crash logs you can get to a bug report so we can check? (And indeed try building and running an app which doesn't include the browser widget on the old device you have access to?). If it is confirmed that iOS 10 also has a problem with the new browser implementation on iOS then there isn't really much we can do there. Its probably worth mentioning that based on looking at few different stats sites on the matter - devices running iOS 10 and still attempting to run apps / fetch websites now makes up < 2% of all iOS OS usage and that's dropping by about 0.3% a month. iOS 9 usage is already < 0.5%, and iOS 8 is almost non-existent. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From phil at pdslabs.net Fri Jan 24 03:42:26 2020 From: phil at pdslabs.net (Phil Davis) Date: Fri, 24 Jan 2020 00:42:26 -0800 Subject: TIFF support in the past? In-Reply-To: <83FC7B63-09E5-4221-9BEE-0C9567B02E6A@livecode.com> References: <7b077307-a6f1-9742-435f-6c9b47851936@pdslabs.net> <83FC7B63-09E5-4221-9BEE-0C9567B02E6A@livecode.com> Message-ID: Thank you Mark! Phil On 1/24/20 12:14 AM, Mark Waddingham via use-livecode wrote: > I think the player object would show tiff files back when it was QT driven - the engine itself has never natively supported tiff. > > Warmest Regards, > > Mark > > Sent from my iPhone > >> On 24 Jan 2020, at 08:01, Phil Davis via use-livecode wrote: >> >> ?I'm trying to find out if there was a time in the distant past when LC supported the TIFF image format. I found some TIFF image assets in some subfolders of a project from back then (maybe 10 or more years ago?) but can't run a copy of LC from that era to find out. >> >> Any memories? >> >> Thanks - >> Phil Davis >> >> -- >> Phil Davis >> 503-307-4363 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis 503-307-4363 From richmondmathewson at gmail.com Fri Jan 24 04:28:36 2020 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 24 Jan 2020 11:28:36 +0200 Subject: TIFF support in the past? In-Reply-To: References: <7b077307-a6f1-9742-435f-6c9b47851936@pdslabs.net> <83FC7B63-09E5-4221-9BEE-0C9567B02E6A@livecode.com> Message-ID: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Import-Tiff-td3432308.html On Fri, Jan 24, 2020 at 10:43 AM Phil Davis via use-livecode < use-livecode at lists.runrev.com> wrote: > Thank you Mark! > Phil > > > On 1/24/20 12:14 AM, Mark Waddingham via use-livecode wrote: > > I think the player object would show tiff files back when it was QT > driven - the engine itself has never natively supported tiff. > > > > Warmest Regards, > > > > Mark > > > > Sent from my iPhone > > > >> On 24 Jan 2020, at 08:01, Phil Davis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> ?I'm trying to find out if there was a time in the distant past when LC > supported the TIFF image format. I found some TIFF image assets in some > subfolders of a project from back then (maybe 10 or more years ago?) but > can't run a copy of LC from that era to find out. > >> > >> Any memories? > >> > >> Thanks - > >> Phil Davis > >> > >> -- > >> Phil Davis > >> 503-307-4363 > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Phil Davis > 503-307-4363 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 phil at pdslabs.net Fri Jan 24 04:35:49 2020 From: phil at pdslabs.net (Phil Davis) Date: Fri, 24 Jan 2020 01:35:49 -0800 Subject: TIFF support in the past? In-Reply-To: References: <7b077307-a6f1-9742-435f-6c9b47851936@pdslabs.net> <83FC7B63-09E5-4221-9BEE-0C9567B02E6A@livecode.com> Message-ID: <58d56700-cfd0-7776-49d8-fe6a3e0cd9c0@pdslabs.net> Wow. How soon we (I) forget! Phil On 1/24/20 1:28 AM, Richmond Mathewson via use-livecode wrote: > http://runtime-revolution.278305.n4.nabble.com/LiveCode-Import-Tiff-td3432308.html > > On Fri, Jan 24, 2020 at 10:43 AM Phil Davis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Thank you Mark! >> Phil >> >> >> On 1/24/20 12:14 AM, Mark Waddingham via use-livecode wrote: >>> I think the player object would show tiff files back when it was QT >> driven - the engine itself has never natively supported tiff. >>> Warmest Regards, >>> >>> Mark >>> >>> Sent from my iPhone >>> >>>> On 24 Jan 2020, at 08:01, Phil Davis via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> ?I'm trying to find out if there was a time in the distant past when LC >> supported the TIFF image format. I found some TIFF image assets in some >> subfolders of a project from back then (maybe 10 or more years ago?) but >> can't run a copy of LC from that era to find out. >>>> Any memories? >>>> >>>> Thanks - >>>> Phil Davis >>>> >>>> -- >>>> Phil Davis >>>> 503-307-4363 >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> -- >> Phil Davis >> 503-307-4363 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- Phil Davis 503-307-4363 From iphonelagi at gmail.com Fri Jan 24 08:17:46 2020 From: iphonelagi at gmail.com (Lagi Pittas) Date: Fri, 24 Jan 2020 13:17:46 +0000 Subject: Submitting to the Google PLay store Message-ID: Hi, We have a major problem. Todd Submitted our App to Google Play and it was pulled as they only accept bundles now. He asked me to find out how to do this but i'm only finding stuff from may/june last year on the forums about this. Is it possible to point me to a 1,2,3 Dummies Guide of the simplest way to submit to Google Play now and also which is the best "Arm" code to build into the bundle - thanks. here is the closest i got but they still talk about APks Do we need to use Android studio as per that lesson and even then some help would be appreciated specifically about what to watch out for - realworld experience alwayss save LOTS of time. https://forums.livecode.com/viewtopic.php?t=32626 http://lessons.livecode.com/m/2571/l/62 ... oid-studio Kindest Regards Lagi From bobsneidar at iotecdigital.com Fri Jan 24 10:38:04 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Jan 2020 15:38:04 +0000 Subject: Tab Button Colors In-Reply-To: <1037781934.10979538.1579837676793@mail.yahoo.com> References: <4C4A784E-2AEE-44A2-8A8D-31AB49428125@iotecdigital.com> <1037781934.10979538.1579837676793@mail.yahoo.com> Message-ID: No I mean that with no foreground or background color set, the hilited tab background is blue and the text of the first tab is green when selected, and the other tabs the text is yellow when selected. Again, it's no big deal it just seems odd. Bob S > On Jan 23, 2020, at 19:47 , dunbarx--- via use-livecode wrote: > > Hi. > If you set the foregroundColor to, say, red, and the backgroundColor to, say, yellow, the text of the tabs will show one or the other as each tab is "selected". > Is this what you are seeing? Or did you mean that the entirety of the tab is colored? For me, each tab, when selected, is blue. > Craig From jjs at krutt.org Fri Jan 24 12:35:31 2020 From: jjs at krutt.org (Jjs) Date: Fri, 24 Jan 2020 18:35:31 +0100 Subject: Submitting to the Google PLay store In-Reply-To: References: Message-ID: <3751EDD8-DB7F-42DF-9AC0-9F2B96EE3AD1@krutt.org> As far as i know you can still upload unbundled. But for one project you need to upload an armv8 apk and an arm64 apk with each an increasing versioncode nr. So the armv8 is no1, the arm64 is no2. Next time armv8 is 3, arm64 is versioncode 4. Lagi Pittas via use-livecode schreef op 24 januari 2020 14:17:46 CET: >Hi, > >We have a major problem. > >Todd Submitted our App to Google Play and it was pulled as they only >accept >bundles now. >He asked me to find out how to do this but i'm only finding stuff from >may/june last year on the forums about this. >Is it possible to point me to a 1,2,3 Dummies Guide of the simplest way >to >submit to Google Play now >and also which is the best "Arm" code to build into the bundle - >thanks. > >here is the closest i got but they still talk about APks > >Do we need to use Android studio as per that lesson and even then some >help >would be appreciated specifically about >what to watch out for - realworld experience alwayss save LOTS of >time. > > >https://forums.livecode.com/viewtopic.php?t=32626 >http://lessons.livecode.com/m/2571/l/62 ... oid-studio > >Kindest Regards Lagi >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From quizzicaltimes20 at gmail.com Fri Jan 24 12:41:28 2020 From: quizzicaltimes20 at gmail.com (Tony Trivia) Date: Fri, 24 Jan 2020 11:41:28 -0600 Subject: Do Mac OS apps stop working if your Mac Developer ID Application cert expires? In-Reply-To: <589519A0-C1BE-4A4F-9482-4792B30EC203@elementarysoftware.com> References: <2E045EF4-E0D9-41CD-8FCE-148B853370EB@byu.edu> <589519A0-C1BE-4A4F-9482-4792B30EC203@elementarysoftware.com> Message-ID: Thanks to all who replied. The scope of my concern is strictly for MacOS standalone builds that are distributed outside of the App Store. Such builds are blissfully simple compared to mobile device builds. For years, I've been able to sign such apps without any provisioning certs. (Since Apple has virtually no role in the distribution, it is not involved in the beta testing or updating of the app.) All I've needed to build releases is the standard Developer ID Application cert, and those are typically good for five year spans. But, eventually I won't be here to renew the thing and I'd like any apps I make to carry on. So I hope JLG's prediction is correct! On Thu, Jan 23, 2020 at 7:12 PM Scott Morrow via use-livecode < use-livecode at lists.runrev.com> wrote: > I was under the impression that the original post was about Mac desktop. > In which case JLG?s answer seemed To the point. If it isn?t in the > MacAppStore then my understanding is that you just can?t code sign new > builds but that existing apps continue to work as usual. On mobile it is > different as several have pointed out > > -- > Scott Morrow > > > On Jan 23, 2020, at 2:54 PM, Pi Digital via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > If it is an enterprise app then it will run as long as the Profile is > still valid (which is usually a year from its creation). > > > > If it is AdHoc test copy, again it will run as long as the profile is > valid. > > > > From the store (I know that wasn?t your question) it runs out once the > user removes it from their device or a device OS upgrade renders the app > build inexecutable. > > > > When the certificate expires the app simply won?t load. For enterprise > apps it will inform you that no relevant profile could be found. > > > > Sean Cole > > Pi Digital Prod Ltd > > > >> On 23 Jan 2020, at 22:01, Devin Asay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> ?I?ve done lots of test deployments to devices that are registered in > my wildcard provisioning profile. After the cert expires the app no longer > runs on the test devices. You have to renew the cert and provisioning > profile, re-save and reinstall the app on the device if you want it to work > again. > >> > >> I don?t know if it is different if you are distributing with an > app-specific provisioning profile, since I haven?t tried that. > >> > >> Devin > >> > >>> On Jan 23, 2020, at 2:25 PM, Tony Trivia via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> Hi, > >>> > >>> Anyone know what happens if you let a Mac Developer ID Application cert > >>> expire? (I'm thinking of apps that are NOT in the Mac app store, but > are > >>> distributed directly to users.) > >>> > >>> I've heard if this cert is revoked, that can block any apps from > running > >>> that were signed with that cert. Just wondering what the effect is if > the > >>> cert just expires. > >>> > >>> Thanks. > >>> Tony > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> Devin Asay > >> Director > >> Office of Digital Humanities > >> Brigham Young University > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cszasz at mac.com Fri Jan 24 13:03:39 2020 From: cszasz at mac.com (Charles Szasz) Date: Fri, 24 Jan 2020 11:03:39 -0700 Subject: Unable to install "altool" Message-ID: <618E16D0-2EEB-41F2-9E12-DC5DF3BE328A@mac.com> For the past three days, I have been trying to install ?altool? for notarization. I am using a Mac with High Sierra installed and LC 9.6.0 DP2. I have Xcode 9.4.1 installed on my computer. I have also set up a two step authentication with my Apple Developer Account and the required App-Specific Password for the app. The notarization is for an app outside Apple App Store. I renewed my AppWrapper 3 subscription but it will not notarized my 64 bit app due to the error message in Console: unable to find utility ?altool? I have tried the following commands in Terminalwhere all unsuccessful: xcode-select-install xcode-select -install xcode-select -r I read Matthias? excellent lesson but there was no mention of how to install altool. I hope someone has a solution for this. Charles Szasz cszasz at me.com From jacque at hyperactivesw.com Fri Jan 24 13:08:00 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Jan 2020 12:08:00 -0600 Subject: Submitting to the Google PLay store In-Reply-To: <3751EDD8-DB7F-42DF-9AC0-9F2B96EE3AD1@krutt.org> References: <3751EDD8-DB7F-42DF-9AC0-9F2B96EE3AD1@krutt.org> Message-ID: <16fd8bd4400.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's what I did last week (two builds) and it's in the Play Store now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 24, 2020 11:37:44 AM Jjs via use-livecode wrote: > As far as i know you can still upload unbundled. But for one project you > need to upload an armv8 apk and an arm64 apk with each an increasing > versioncode nr. So the armv8 is no1, the arm64 is no2. Next time armv8 is > 3, arm64 is versioncode 4. > > Lagi Pittas via use-livecode schreef op 24 > januari 2020 14:17:46 CET: >> Hi, >> >> We have a major problem. >> >> Todd Submitted our App to Google Play and it was pulled as they only >> accept >> bundles now. >> He asked me to find out how to do this but i'm only finding stuff from >> may/june last year on the forums about this. >> Is it possible to point me to a 1,2,3 Dummies Guide of the simplest way >> to >> submit to Google Play now >> and also which is the best "Arm" code to build into the bundle - >> thanks. >> >> here is the closest i got but they still talk about APks >> >> Do we need to use Android studio as per that lesson and even then some >> help >> would be appreciated specifically about >> what to watch out for - realworld experience alwayss save LOTS of >> time. >> >> >> https://forums.livecode.com/viewtopic.php?t=32626 >> http://lessons.livecode.com/m/2571/l/62 ... oid-studio >> >> Kindest Regards Lagi >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Verstuurd vanaf mijn Android apparaat met K-9 Mail. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jan 24 13:12:10 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Jan 2020 12:12:10 -0600 Subject: Tab Button Colors In-Reply-To: References: <4C4A784E-2AEE-44A2-8A8D-31AB49428125@iotecdigital.com> <1037781934.10979538.1579837676793@mail.yahoo.com> Message-ID: <16fd8c11490.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It may be inheriting colors from the owner. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 24, 2020 9:40:31 AM Bob Sneidar via use-livecode wrote: > No I mean that with no foreground or background color set, the hilited tab > background is blue and the text of the first tab is green when selected, > and the other tabs the text is yellow when selected. Again, it's no big > deal it just seems odd. > > Bob S > > >> On Jan 23, 2020, at 19:47 , dunbarx--- via use-livecode >> wrote: >> >> Hi. >> If you set the foregroundColor to, say, red, and the backgroundColor to, >> say, yellow, the text of the tabs will show one or the other as each tab is >> "selected". >> Is this what you are seeing? Or did you mean that the entirety of the tab >> is colored? For me, each tab, when selected, is blue. >> Craig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Fri Jan 24 13:26:13 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 24 Jan 2020 18:26:13 +0000 (UTC) Subject: Tab Button Colors In-Reply-To: <16fd8c11490.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <4C4A784E-2AEE-44A2-8A8D-31AB49428125@iotecdigital.com> <1037781934.10979538.1579837676793@mail.yahoo.com> <16fd8c11490.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <160363956.11224212.1579890373148@mail.yahoo.com> Jacque. You mean from, say, ?the card? How would it know to set one or more colors in each tab? Craig -----Original Message----- From: J. Landman Gay via use-livecode To: How to use LiveCode Cc: J. Landman Gay Sent: Fri, Jan 24, 2020 1:13 pm Subject: Re: Tab Button Colors It may be inheriting colors from the owner. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 24, 2020 9:40:31 AM Bob Sneidar via use-livecode wrote: > No I mean that with no foreground or background color set, the hilited tab > background is blue and the text of the first tab is green when selected, > and the other tabs the text is yellow when selected. Again, it's no big > deal it just seems odd. > > Bob S > > >> On Jan 23, 2020, at 19:47 , dunbarx--- via use-livecode >> wrote: >> >> Hi. >> If you set the foregroundColor to, say, red, and the backgroundColor to, >> say, yellow, the text of the tabs will show one or the other as each tab is >> "selected". >> Is this what you are seeing? Or did you mean that the entirety of the tab >> is colored? For me, each tab, when selected, is blue. >> Craig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Jan 24 13:30:28 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 24 Jan 2020 18:30:28 +0000 Subject: Do Mac OS apps stop working if your Mac Developer ID Application cert expires? In-Reply-To: References: <2E045EF4-E0D9-41CD-8FCE-148B853370EB@byu.edu> <589519A0-C1BE-4A4F-9482-4792B30EC203@elementarysoftware.com> Message-ID: <09db3cfd9b26c70a1d7145a811445a10@livecode.com> On 2020-01-24 17:41, Tony Trivia via use-livecode wrote: > Thanks to all who replied. The scope of my concern is strictly for > MacOS > standalone builds that are distributed outside of the App Store. > Such builds are blissfully simple compared to mobile device builds. For > years, I've been able to sign such apps without any provisioning certs. > (Since Apple has virtually no role in the distribution, it is not > involved > in the beta testing or updating of the app.) All I've needed to build > releases is the standard Developer ID Application cert, and those are > typically good for five year spans. But, eventually I won't be here to > renew the thing and I'd like any apps I make to carry on. So I hope > JLG's > prediction is correct! I believe that as long as you sign, notarize and then staple the results of the notarization to your app (or DMG - if you distribute using that method) then expiry of your developer id / certificate (should that occur) will have no effect on them. Just signing is no longer sufficient for the OS to verify an app on Catalina (and it seems, to a certain degree, on recent versions of Mojave!). Notarizing but not stapling means the OS will always do a 'callback' to Apple's servers to check integrity. Stapling after notarization means the app is verifiable as it is. At least that is my interpretation of the recent changes... Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From bobsneidar at iotecdigital.com Fri Jan 24 13:37:00 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Jan 2020 18:37:00 +0000 Subject: iif function Message-ID: <4A7330B2-C98B-4682-8D42-F4F26264598D@iotecdigital.com> Not sure if I ever posted this before (might be in the Master Library) but it is a very simple function for nesting if statements in a single line command pretty much like the old dBase or Excel function. Enjoy: function iif pCondition, pstatement1, pStatement2 -- ex. iif(a=b, true, iif(a=c,true, false)) if pCondition then return value(pstatement1) else return value(pStatement2) end if end iif Bob S From bobsneidar at iotecdigital.com Fri Jan 24 13:44:37 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 24 Jan 2020 18:44:37 +0000 Subject: Tab Button Colors In-Reply-To: <16fd8c11490.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <4C4A784E-2AEE-44A2-8A8D-31AB49428125@iotecdigital.com> <1037781934.10979538.1579837676793@mail.yahoo.com> <16fd8c11490.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Good guess, but nada. All owners up to the mainstack have no colors of any kind assigned. What is weirder is that in a standalone, the unhilited tabs backgrounds are GREY! Not WHITE! I think this is just a wierd engine display bug. If no one can come up with a viable explanation, I will submit a bug report, although given the severity (or lack thereof) of the issue, I don't expect a quick resolution, although it seems a simple enough bug to fix. Bob S > On Jan 24, 2020, at 10:12 , J. Landman Gay via use-livecode wrote: > > It may be inheriting colors from the owner. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 24, 2020 9:40:31 AM Bob Sneidar via use-livecode wrote: > >> No I mean that with no foreground or background color set, the hilited tab background is blue and the text of the first tab is green when selected, and the other tabs the text is yellow when selected. Again, it's no big deal it just seems odd. >> >> Bob S >> >> >>> On Jan 23, 2020, at 19:47 , dunbarx--- via use-livecode wrote: >>> >>> Hi. >>> If you set the foregroundColor to, say, red, and the backgroundColor to, say, yellow, the text of the tabs will show one or the other as each tab is "selected". >>> Is this what you are seeing? Or did you mean that the entirety of the tab is colored? For me, each tab, when selected, is blue. >>> Craig >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From quizzicaltimes20 at gmail.com Fri Jan 24 13:47:21 2020 From: quizzicaltimes20 at gmail.com (Tony Trivia) Date: Fri, 24 Jan 2020 12:47:21 -0600 Subject: Do Mac OS apps stop working if your Mac Developer ID Application cert expires? In-Reply-To: <09db3cfd9b26c70a1d7145a811445a10@livecode.com> References: <2E045EF4-E0D9-41CD-8FCE-148B853370EB@byu.edu> <589519A0-C1BE-4A4F-9482-4792B30EC203@elementarysoftware.com> <09db3cfd9b26c70a1d7145a811445a10@livecode.com> Message-ID: Thanks for the insights, Mark. On Fri, Jan 24, 2020 at 12:30 PM Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2020-01-24 17:41, Tony Trivia via use-livecode wrote: > > Thanks to all who replied. The scope of my concern is strictly for > > MacOS > > standalone builds that are distributed outside of the App Store. > > Such builds are blissfully simple compared to mobile device builds. For > > years, I've been able to sign such apps without any provisioning certs. > > (Since Apple has virtually no role in the distribution, it is not > > involved > > in the beta testing or updating of the app.) All I've needed to build > > releases is the standard Developer ID Application cert, and those are > > typically good for five year spans. But, eventually I won't be here to > > renew the thing and I'd like any apps I make to carry on. So I hope > > JLG's > > prediction is correct! > > I believe that as long as you sign, notarize and then staple the results > of the notarization to your app (or DMG - if you distribute using that > method) then expiry of your developer id / certificate (should that > occur) > will have no effect on them. > > Just signing is no longer sufficient for the OS to verify an app on > Catalina > (and it seems, to a certain degree, on recent versions of Mojave!). > > Notarizing but not stapling means the OS will always do a 'callback' to > Apple's servers to check integrity. > > Stapling after notarization means the app is verifiable as it is. > > At least that is my interpretation of the recent changes... > > 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 matthias_livecode_150811 at m-r-d.de Fri Jan 24 14:14:06 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Fri, 24 Jan 2020 20:14:06 +0100 Subject: Unable to install "altool" In-Reply-To: <618E16D0-2EEB-41F2-9E12-DC5DF3BE328A@mac.com> References: <618E16D0-2EEB-41F2-9E12-DC5DF3BE328A@mac.com> Message-ID: <114BD77B-10A4-4693-AD90-065A89997D88@m-r-d.de> Charles, you?ll need at least Xcode 10.2 and the command line tools of Xcode 10.2 to be installed. Regards, Matthias > Am 24.01.2020 um 19:03 schrieb Charles Szasz via use-livecode : > > For the past three days, I have been trying to install ?altool? for notarization. I am using a Mac with High Sierra installed and LC 9.6.0 DP2. I have Xcode 9.4.1 installed on my computer. I have also set up a two step authentication with my Apple Developer Account and the required App-Specific Password for the app. > > The notarization is for an app outside Apple App Store. > > I renewed my AppWrapper 3 subscription but it will not notarized my 64 bit app due to the error message in Console: unable to find utility ?altool? > > I have tried the following commands in Terminalwhere all unsuccessful: > > > xcode-select-install > xcode-select -install > xcode-select -r > > I read Matthias? excellent lesson but there was no mention of how to install altool. > > I hope someone has a solution for this. > > > > Charles Szasz > cszasz at me.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 - Matthias Rebbe Life Is Too Short For Boring Code From cszasz at mac.com Fri Jan 24 14:31:28 2020 From: cszasz at mac.com (cszasz at mac.com) Date: Fri, 24 Jan 2020 13:31:28 -0600 (CST) Subject: Installing ltool Message-ID: <1483328853.185451.1579894288561.JavaMail.administrator@n4.nabble.com> Bob, can I use XCode 10 with High Sierra? _____________________________________ Sent from http://runtime-revolution.278305.n4.nabble.com From rdimola at evergreeninfo.net Fri Jan 24 14:41:19 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 24 Jan 2020 14:41:19 -0500 Subject: Installing ltool In-Reply-To: <1483328853.185451.1579894288561.JavaMail.administrator@n4.nabble.com> References: <1483328853.185451.1579894288561.JavaMail.administrator@n4.nabble.com> Message-ID: <003e01d5d2ee$43ba9b50$cb2fd1f0$@net> No higher than 10.1. 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 Charles Szasz via use-livecode Sent: Friday, January 24, 2020 2:31 PM To: use-livecode at lists.runrev.com Cc: cszasz at mac.com Subject: Installing ltool Bob, can I use XCode 10 with High Sierra? _____________________________________ Sent from http://runtime-revolution.278305.n4.nabble.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jan 24 15:10:23 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Jan 2020 14:10:23 -0600 Subject: iOS app crashes on launch In-Reply-To: References: <5117ee25-f75a-89b0-4451-0d5fb6351978@hyperactivesw.com> <9918e76e-ba6b-e6a5-6e82-ef3dfc5f857c@hyperactivesw.com> <004101d5d25b$0e5695b0$2b03c110$@net> Message-ID: <2b2a7008-477d-4534-d074-baeb814cfd40@hyperactivesw.com> Bug report #22548 with log enclosed. The app does use a browser widget. On 1/24/20 2:27 AM, Mark Waddingham via use-livecode wrote: > On 2020-01-24 02:07, Ralph DiMola via use-livecode wrote: >> J, >> >> High Sierra >> Xcode 10.1 build tools >> LC 9.6.0 dp2 >> >> Confirm crash on 9.3.6 >> Works fine on 12.4.2 >> >> LC 9.5.1 works OK on 9.3.6 >> >> I don't have an iOS 11 device to test but we now know that 9 and 10 CTD. > > Unfortunately both iOS 8 and iOS 9 builds will crash if a browser widget is > included - these very old versions of iOS (whilst they have WKWebView) > don't > seem to like modern uses of it (they also have problems with the > replacement > player implementation!). > > We kept the min version to allow as low as 8 as apps not using the browser > widget work fine (although I wonder if that actually provides false > information > in a way so might have been an error - perhaps we should just remove those > options from the S/B). > > It could be that iOS 10 is suffering the same problem - @Jacque can you > attach > any crash logs you can get to a bug report so we can check? (And indeed try > building and running an app which doesn't include the browser widget on the > old device you have access to?). > > If it is confirmed that iOS 10 also has a problem with the new browser > implementation on iOS then there isn't really much we can do there. > > Its probably worth mentioning that based on looking at few different stats > sites on the matter - devices running iOS 10 and still attempting to run > apps / fetch websites now makes up < 2% of all iOS OS usage and that's > dropping by about 0.3% a month. iOS 9 usage is already < 0.5%, and iOS 8 > is almost non-existent. > > Warmest Regards, > > Mark. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jan 24 15:10:44 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Jan 2020 14:10:44 -0600 Subject: iOS app crashes on launch In-Reply-To: References: <5117ee25-f75a-89b0-4451-0d5fb6351978@hyperactivesw.com> <9918e76e-ba6b-e6a5-6e82-ef3dfc5f857c@hyperactivesw.com> <004101d5d25b$0e5695b0$2b03c110$@net> Message-ID: <0b9d2f15-d19c-1787-75f3-e08590f41b36@hyperactivesw.com> Bug report #22548 with log enclosed. The app does use a browser widget. On 1/24/20 2:27 AM, Mark Waddingham via use-livecode wrote: > On 2020-01-24 02:07, Ralph DiMola via use-livecode wrote: >> J, >> >> High Sierra >> Xcode 10.1 build tools >> LC 9.6.0 dp2 >> >> Confirm crash on 9.3.6 >> Works fine on 12.4.2 >> >> LC 9.5.1 works OK on 9.3.6 >> >> I don't have an iOS 11 device to test but we now know that 9 and 10 CTD. > > Unfortunately both iOS 8 and iOS 9 builds will crash if a browser widget is > included - these very old versions of iOS (whilst they have WKWebView) > don't > seem to like modern uses of it (they also have problems with the > replacement > player implementation!). > > We kept the min version to allow as low as 8 as apps not using the browser > widget work fine (although I wonder if that actually provides false > information > in a way so might have been an error - perhaps we should just remove those > options from the S/B). > > It could be that iOS 10 is suffering the same problem - @Jacque can you > attach > any crash logs you can get to a bug report so we can check? (And indeed try > building and running an app which doesn't include the browser widget on the > old device you have access to?). > > If it is confirmed that iOS 10 also has a problem with the new browser > implementation on iOS then there isn't really much we can do there. > > Its probably worth mentioning that based on looking at few different stats > sites on the matter - devices running iOS 10 and still attempting to run > apps / fetch websites now makes up < 2% of all iOS OS usage and that's > dropping by about 0.3% a month. iOS 9 usage is already < 0.5%, and iOS 8 > is almost non-existent. > > Warmest Regards, > > Mark. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jan 24 15:12:08 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Jan 2020 14:12:08 -0600 Subject: iOS app crashes on launch In-Reply-To: <004101d5d25b$0e5695b0$2b03c110$@net> References: <5117ee25-f75a-89b0-4451-0d5fb6351978@hyperactivesw.com> <9918e76e-ba6b-e6a5-6e82-ef3dfc5f857c@hyperactivesw.com> <004101d5d25b$0e5695b0$2b03c110$@net> Message-ID: <2a64cb6c-7fa1-fb8e-59d1-52077d07c2e3@hyperactivesw.com> On 1/23/20 8:07 PM, Ralph DiMola via use-livecode wrote: > High Sierra > Xcode 10.1 build tools > LC 9.6.0 dp2 > > Confirm crash on 9.3.6 > Works fine on 12.4.2 > > LC 9.5.1 works OK on 9.3.6 > > I don't have an iOS 11 device to test but we now know that 9 and 10 CTD. > > Dinner is ready could you add this to QCC report? Mark is on it. I don't have an iOS 11 device either. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jan 24 15:15:58 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Jan 2020 14:15:58 -0600 Subject: Unable to install "altool" In-Reply-To: <618E16D0-2EEB-41F2-9E12-DC5DF3BE328A@mac.com> References: <618E16D0-2EEB-41F2-9E12-DC5DF3BE328A@mac.com> Message-ID: My understanding is that altool is part of XCode and should be available without installation. On 1/24/20 12:03 PM, Charles Szasz via use-livecode wrote: > For the past three days, I have been trying to install ?altool? for notarization. I am using a Mac with High Sierra installed and LC 9.6.0 DP2. I have Xcode 9.4.1 installed on my computer. I have also set up a two step authentication with my Apple Developer Account and the required App-Specific Password for the app. > > The notarization is for an app outside Apple App Store. > > I renewed my AppWrapper 3 subscription but it will not notarized my 64 bit app due to the error message in Console: unable to find utility ?altool? > > I have tried the following commands in Terminalwhere all unsuccessful: > > > xcode-select-install > xcode-select -install > xcode-select -r > > I read Matthias? excellent lesson but there was no mention of how to install altool. > > I hope someone has a solution for this. > > > > Charles Szasz > cszasz at me.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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jan 24 15:24:27 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Jan 2020 14:24:27 -0600 Subject: Tab Button Colors In-Reply-To: <160363956.11224212.1579890373148@mail.yahoo.com> References: <4C4A784E-2AEE-44A2-8A8D-31AB49428125@iotecdigital.com> <1037781934.10979538.1579837676793@mail.yahoo.com> <16fd8c11490.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <160363956.11224212.1579890373148@mail.yahoo.com> Message-ID: <765f1e10-f49c-c998-4627-461e72401d1e@hyperactivesw.com> Bob said it was the text that was affected and it's an inherited property. The foreground color is the unselected tab text color, and the background color is the selected tab text color. I set the colors on the card and the text of the tabs appears with those colors. The tab backgrounds appear to be set by the OS and on Mac they are blue. On 1/24/20 12:26 PM, dunbarx--- via use-livecode wrote: > Jacque. > You mean from, say, ?the card? How would it know to set one or more colors in each tab? > Craig > > > -----Original Message----- > From: J. Landman Gay via use-livecode > To: How to use LiveCode > Cc: J. Landman Gay > Sent: Fri, Jan 24, 2020 1:13 pm > Subject: Re: Tab Button Colors > > It may be inheriting colors from the owner. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 24, 2020 9:40:31 AM Bob Sneidar via use-livecode > wrote: > >> No I mean that with no foreground or background color set, the hilited tab >> background is blue and the text of the first tab is green when selected, >> and the other tabs the text is yellow when selected. Again, it's no big >> deal it just seems odd. >> >> Bob S >> >> >>> On Jan 23, 2020, at 19:47 , dunbarx--- via use-livecode >>> wrote: >>> >>> Hi. >>> If you set the foregroundColor to, say, red, and the backgroundColor to, >>> say, yellow, the text of the tabs will show one or the other as each tab is >>> "selected". >>> Is this what you are seeing? Or did you mean that the entirety of the tab >>> is colored? For me, each tab, when selected, is blue. >>> Craig >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From phil at pdslabs.net Fri Jan 24 16:48:35 2020 From: phil at pdslabs.net (Phil Davis) Date: Fri, 24 Jan 2020 13:48:35 -0800 Subject: does this PNG have transparency? Message-ID: <5fc476b8-3f42-7d06-a277-644789036527@pdslabs.net> I usually make things harder than they need to be, so I'm asking: Is there a simple way my LC code can determine if a PNG image is completely opaque or not? Thanks - Phil -- Phil Davis 503-307-4363 From phil at pdslabs.net Fri Jan 24 17:35:20 2020 From: phil at pdslabs.net (Phil Davis) Date: Fri, 24 Jan 2020 14:35:20 -0800 Subject: does this PNG have transparency? In-Reply-To: <5fc476b8-3f42-7d06-a277-644789036527@pdslabs.net> References: <5fc476b8-3f42-7d06-a277-644789036527@pdslabs.net> Message-ID: <93e38dff-1d0a-9efb-daee-ce1b85112c6c@pdslabs.net> Maybe this? It seems to work in my simple testing. Am I missing something? on mouseUp ??? answer file "Pick an image:" ??? if it is empty then exit to top ??? set the filename of img "my test" to it ??? put numtochar(0) into tZero ??? put (tZero is in the alphaData of img "my test") OR (tZero is in the maskData of img "my test") end mouseUp Phil On 1/24/20 1:48 PM, Phil Davis via use-livecode wrote: > I usually make things harder than they need to be, so I'm asking: Is > there a simple way my LC code can determine if a PNG image is > completely opaque or not? > > Thanks - > Phil > -- Phil Davis 503-307-4363 From jacque at hyperactivesw.com Sat Jan 25 17:56:28 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 25 Jan 2020 16:56:28 -0600 Subject: does this PNG have transparency? In-Reply-To: <93e38dff-1d0a-9efb-daee-ce1b85112c6c@pdslabs.net> References: <5fc476b8-3f42-7d06-a277-644789036527@pdslabs.net> <93e38dff-1d0a-9efb-daee-ce1b85112c6c@pdslabs.net> Message-ID: <16fdeebb578.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think that's pretty clever. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 24, 2020 4:37:20 PM Phil Davis via use-livecode wrote: > Maybe this? It seems to work in my simple testing. Am I missing something? > > on mouseUp > answer file "Pick an image:" > if it is empty then exit to top > set the filename of img "my test" to it > > put numtochar(0) into tZero > put (tZero is in the alphaData of img "my test") OR (tZero is in > the maskData of img "my test") > end mouseUp > > Phil > > > On 1/24/20 1:48 PM, Phil Davis via use-livecode wrote: >> I usually make things harder than they need to be, so I'm asking: Is >> there a simple way my LC code can determine if a PNG image is >> completely opaque or not? >> >> Thanks - >> Phil >> > > -- > Phil Davis > 503-307-4363 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at mac.com Sat Jan 25 22:42:26 2020 From: cszasz at mac.com (Charles Szasz) Date: Sat, 25 Jan 2020 20:42:26 -0700 Subject: Xcode 10.2 and High Sierra Message-ID: Matthias, Can I use XCode 10.2 on High Sierra? I don?t want to update to Mojave just yet. And I do want to use notarization with my apps. I am using LC 9.6.0 DP2. Sent from my iPad From cszasz at mac.com Sat Jan 25 22:44:40 2020 From: cszasz at mac.com (Charles Szasz) Date: Sat, 25 Jan 2020 20:44:40 -0700 Subject: Xcode 10.2 and High Sierra Message-ID: <9143B37B-33E5-4F0A-9A17-D78428FBCB14@mac.com> Matthias, Can I use XCode 10.2 on High Sierra? I don?t want to update to Mojave just yet. And I do want to use notarization with my apps. I am using LC 9.6.0 DP2. Sent from my iPad From jacque at hyperactivesw.com Sun Jan 26 01:31:03 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 26 Jan 2020 00:31:03 -0600 Subject: Xcode 10.2 and High Sierra In-Reply-To: References: Message-ID: <16fe08a6988.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I don't think so, but here's the complete compatibility list: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 25, 2020 9:44:43 PM Charles Szasz via use-livecode wrote: > Matthias, > > Can I use XCode 10.2 on High Sierra? I don?t want to update to Mojave just > yet. And I do want to use notarization with my apps. I am using LC 9.6.0 DP2. > > Sent from my iPad > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Jan 26 12:09:25 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 26 Jan 2020 18:09:25 +0100 Subject: Xcode 10.2 and High Sierra In-Reply-To: <9143B37B-33E5-4F0A-9A17-D78428FBCB14@mac.com> References: <9143B37B-33E5-4F0A-9A17-D78428FBCB14@mac.com> Message-ID: <2EEECB2F-4B6A-4BDC-A358-0BA0B4437060@m-r-d.de> Not officially. But there are reports that it will work with some tweaks This here is a post from stack overflow which describes how to get xCode 10.2 running under High Sierra https://stackoverflow.com/questions/55578496/update-xcode-10-1-to-10-2-on-high-sierra-10-13-6 -->> I am using Xcode10.2 on High Sierra 10.13.6, and can build several projects for my iPhone 5s and 6s Plus which working on iOS12.2. The process is similar to Damnum?s. Change the name of working Xcode like Xcode10.1. Download Xcode 10.2 and copy it into Applications folder. (The name is of course Xcode.) Edit Xcode.app/Contents/Info.plist and change the Minimum System Version to 10.13.6 with Xcode10.1 Edit Xcode.app/Contents/Applications/FileMerge/Contents/Info.plist and change the Minimum System Version to 10.13.6 with Xcode10.1 Edit Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/Info.plist and change the Minimum System Version to 10.13 with Xcode10.1 Launch Xcode (it is 10.2) and install the rest of items. Now you can use iOS12.2 features in the Xcode. I tested my own projects and several sample projects from iOS 12 App Development Essentials by Neil Smyth. All of them work fine on my devises including camera app. <<-- I did not test that tweaks, so i cannot confirm that this is working. But others confirmed that this will work. - Matthias Rebbe Life Is Too Short For Boring Code > Am 26.01.2020 um 04:44 schrieb Charles Szasz via use-livecode : > > Matthias, > > Can I use XCode 10.2 on High Sierra? I don?t want to update to Mojave just yet. And I do want to use notarization with my apps. I am using LC 9.6.0 DP2. > > Sent from my iPad > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at mac.com Sun Jan 26 16:01:16 2020 From: cszasz at mac.com (Charles Szasz) Date: Sun, 26 Jan 2020 14:01:16 -0700 Subject: Xcode 10.2 and High Sierra Message-ID: Matthias, What version of macOS did you use in your tutorial with Xcode 10.2. You must used Mojave since XCode 10.2 will not run on High Sierra. Has anyone successful use XCode 10.1 with High Sierra to notarize apps for Mojave and Catalina? Sent from my iPad From jjs at krutt.org Sun Jan 26 16:35:39 2020 From: jjs at krutt.org (JJS) Date: Sun, 26 Jan 2020 22:35:39 +0100 Subject: multitouch buttons on Android Message-ID: Hello, can 2 buttons be pressed simultanously on Android? Or do i need to change them to an Image? Although i use buttons, it seems not to be able to hold one button down and press another. They are in the same group, and the option only one button is off in the group settings Thanks for any insight. Cheers, Sphere From paul at researchware.com Mon Jan 27 10:31:25 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 27 Jan 2020 10:31:25 -0500 Subject: Tree Widget question... Message-ID: I need a hierarchical tree that looks like: 1 Top Level A 2 Top Level B ??? 1 Sub Level B 1 ??? 2 Sub Level B 2 3 Top Level C etc. With the Tree Widget in 9.6dp2, all I can seem to get is: 1 Top Level A 2 ??? 1 Sub Level B 1 ??? 2 Sub Level B 2 3 Top Level C i.e. is item 2 has sub levels, it can't seem to have a label?!? Am I missing something? Trees generally have labels for each level? From paul at researchware.com Mon Jan 27 10:40:39 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 27 Jan 2020 10:40:39 -0500 Subject: Tree Widget question... In-Reply-To: References: Message-ID: Also, just filed this bug for the Tree Widget: https://quality.livecode.com/show_bug.cgi?id=22551 In LC 9.6dp2 under Windows 10 at least, you can not edit the array data in the property inspector after entering some and browsing the widget and then going back to the inspector to try to edit the tree. On 1/27/2020 10:31 AM, Paul Dupuis via use-livecode wrote: > I need a hierarchical tree that looks like: > > 1 Top Level A > 2 Top Level B > ??? 1 Sub Level B 1 > ??? 2 Sub Level B 2 > 3 Top Level C > etc. > > > With the Tree Widget in 9.6dp2, all I can seem to get is: > > 1 Top Level A > 2 > ??? 1 Sub Level B 1 > ??? 2 Sub Level B 2 > 3 Top Level C > > i.e. is item 2 has sub levels, it can't seem to have a label?!? > > Am I missing something? Trees generally have labels for each level? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Mon Jan 27 10:45:41 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 27 Jan 2020 10:45:41 -0500 Subject: AW: Tree Widget question... In-Reply-To: References: Message-ID: <5f0dc109-d685-f2fb-83f2-f693a0dc5f09@researchware.com> Never mind. Answered my own question. You have to use the Keys, not the values, to get a true hierarchy. i.e. Top Level A Top Level B ??? Sub Level B 1 ??? Sub Level B 2 Top Level C On 1/27/2020 10:31 AM, Paul Dupuis via use-livecode wrote: > I need a hierarchical tree that looks like: > > 1 Top Level A > 2 Top Level B > ??? 1 Sub Level B 1 > ??? 2 Sub Level B 2 > 3 Top Level C > etc. > > > With the Tree Widget in 9.6dp2, all I can seem to get is: > > 1 Top Level A > 2 > ??? 1 Sub Level B 1 > ??? 2 Sub Level B 2 > 3 Top Level C > > i.e. is item 2 has sub levels, it can't seem to have a label?!? > > Am I missing something? Trees generally have labels for each level? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 27 10:47:05 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Jan 2020 15:47:05 +0000 Subject: Tab Button Colors In-Reply-To: <765f1e10-f49c-c998-4627-461e72401d1e@hyperactivesw.com> References: <4C4A784E-2AEE-44A2-8A8D-31AB49428125@iotecdigital.com> <1037781934.10979538.1579837676793@mail.yahoo.com> <16fd8c11490.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <160363956.11224212.1579890373148@mail.yahoo.com> <765f1e10-f49c-c998-4627-461e72401d1e@hyperactivesw.com> Message-ID: What color is the text of the first tab when selected? Mine is green. Card has no colors set, neither does the stack. I went through all the owners up to the stack. it's not in a group, so it's only the card and stack. Again, not a big deal but people have commented on what the significance of the green text is. They think it's a visual clue of some kind. :-) Bob S > On Jan 24, 2020, at 12:24 , J. Landman Gay via use-livecode wrote: > > Bob said it was the text that was affected and it's an inherited property. The foreground color is the unselected tab text color, and the background color is the selected tab text color. I set the colors on the card and the text of the tabs appears with those colors. > > The tab backgrounds appear to be set by the OS and on Mac they are blue. From bobsneidar at iotecdigital.com Mon Jan 27 10:53:17 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Jan 2020 15:53:17 +0000 Subject: does this PNG have transparency? In-Reply-To: <93e38dff-1d0a-9efb-daee-ce1b85112c6c@pdslabs.net> References: <5fc476b8-3f42-7d06-a277-644789036527@pdslabs.net> <93e38dff-1d0a-9efb-daee-ce1b85112c6c@pdslabs.net> Message-ID: Phil, Is img "my test" an existing image, or does setting the filename of img "my test" create the image on the fly? I'm trying to turn this into a function that returns true or false. Bob S > On Jan 24, 2020, at 14:35 , Phil Davis via use-livecode wrote: > > Maybe this? It seems to work in my simple testing. Am I missing something? > > on mouseUp > answer file "Pick an image:" > if it is empty then exit to top > set the filename of img "my test" to it > > put numtochar(0) into tZero > put (tZero is in the alphaData of img "my test") OR (tZero is in the maskData of img "my test") > end mouseUp > > Phil From panos.merakos at livecode.com Mon Jan 27 11:01:41 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 27 Jan 2020 18:01:41 +0200 Subject: [ANN] This Week in LiveCode 210 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 #210 here: http://bit.ly/2GvPbkM This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From paul at researchware.com Mon Jan 27 11:16:33 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 27 Jan 2020 11:16:33 -0500 Subject: does this PNG have transparency? In-Reply-To: References: <5fc476b8-3f42-7d06-a277-644789036527@pdslabs.net> <93e38dff-1d0a-9efb-daee-ce1b85112c6c@pdslabs.net> Message-ID: <00b49ebd-0237-bf7a-d15c-fb1e60126288@researchware.com> You should be able to use 'the templateImage' (see dictionary), and numToChar probably should be numToByte As in: on mouseUp answer file "Pick an image:" if it is empty then exit to top set the filename of the templateImage to it put numToByte(0) into tZero put (tZero is in the alphaData of the templateImage) OR (tZero is in the maskData of the templateImage) end mouseUp On 1/27/2020 10:53 AM, Bob Sneidar via use-livecode wrote: > Phil, > > Is img "my test" an existing image, or does setting the filename of img "my test" create the image on the fly? I'm trying to turn this into a function that returns true or false. > > Bob S > > >> On Jan 24, 2020, at 14:35 , Phil Davis via use-livecode wrote: >> >> Maybe this? It seems to work in my simple testing. Am I missing something? >> >> on mouseUp >> answer file "Pick an image:" >> if it is empty then exit to top >> set the filename of img "my test" to it >> >> put numtochar(0) into tZero >> put (tZero is in the alphaData of img "my test") OR (tZero is in the maskData of img "my test") >> end mouseUp >> >> Phil > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 27 11:21:24 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 27 Jan 2020 16:21:24 +0000 Subject: does this PNG have transparency? In-Reply-To: <00b49ebd-0237-bf7a-d15c-fb1e60126288@researchware.com> References: <5fc476b8-3f42-7d06-a277-644789036527@pdslabs.net> <93e38dff-1d0a-9efb-daee-ce1b85112c6c@pdslabs.net> <00b49ebd-0237-bf7a-d15c-fb1e60126288@researchware.com> Message-ID: <579912FD-B598-44C0-8E6F-DD51C19A61E8@iotecdigital.com> Voila! function pngIsTransparent pImageFile if not (there is a file pImageFile) then return "ERROR: Invalid file path!" set the filename of the templateImage to pImageFile put numtochar(0) into tZero return (tZero is in the alphaData of the templateImage) OR (tZero is in the maskData of the templateImage) end pngIsTransparent Another one for the masterLibrary Bob S > On Jan 27, 2020, at 08:16 , Paul Dupuis via use-livecode wrote: > > You should be able to use 'the templateImage' (see dictionary), and numToChar probably should be numToByte > > As in: > > on mouseUp > answer file "Pick an image:" > if it is empty then exit to top > set the filename of the templateImage to it > > put numToByte(0) into tZero > put (tZero is in the alphaData of the templateImage) OR (tZero is in the maskData of the templateImage) > end mouseUp From phil at pdslabs.net Mon Jan 27 11:53:08 2020 From: phil at pdslabs.net (Phil Davis) Date: Mon, 27 Jan 2020 08:53:08 -0800 Subject: does this PNG have transparency? In-Reply-To: <579912FD-B598-44C0-8E6F-DD51C19A61E8@iotecdigital.com> References: <5fc476b8-3f42-7d06-a277-644789036527@pdslabs.net> <93e38dff-1d0a-9efb-daee-ce1b85112c6c@pdslabs.net> <00b49ebd-0237-bf7a-d15c-fb1e60126288@researchware.com> <579912FD-B598-44C0-8E6F-DD51C19A61E8@iotecdigital.com> Message-ID: <7a8ca6de-069b-33a6-6414-6368d66e8998@pdslabs.net> I like it! Nice job. Phil On 1/27/20 8:21 AM, Bob Sneidar via use-livecode wrote: > Voila! > > function pngIsTransparent pImageFile > if not (there is a file pImageFile) then return "ERROR: Invalid file path!" > set the filename of the templateImage to pImageFile > put numtochar(0) into tZero > return (tZero is in the alphaData of the templateImage) OR (tZero is in the maskData of the templateImage) > end pngIsTransparent > > Another one for the masterLibrary > > Bob S > > >> On Jan 27, 2020, at 08:16 , Paul Dupuis via use-livecode wrote: >> >> You should be able to use 'the templateImage' (see dictionary), and numToChar probably should be numToByte >> >> As in: >> >> on mouseUp >> answer file "Pick an image:" >> if it is empty then exit to top >> set the filename of the templateImage to it >> >> put numToByte(0) into tZero >> put (tZero is in the alphaData of the templateImage) OR (tZero is in the maskData of the templateImage) >> 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 > -- Phil Davis 503-307-4363 From jacque at hyperactivesw.com Mon Jan 27 12:34:48 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Jan 2020 11:34:48 -0600 Subject: multitouch buttons on Android In-Reply-To: References: Message-ID: <16fe811f2c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I've never seen an interface like that on Android. Can you use checkboxes instead? What does the app need to do if two buttons are down? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 26, 2020 3:36:51 PM JJS via use-livecode wrote: > Hello, > > > can 2 buttons be pressed simultanously on Android? > > Or do i need to change them to an Image? > > > Although i use buttons, it seems not to be able to hold one button down > and press another. > > They are in the same group, and the option only one button is off in the > group settings > > > Thanks for any insight. > > > Cheers, > > Sphere > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Mon Jan 27 14:06:14 2020 From: jjs at krutt.org (JJS) Date: Mon, 27 Jan 2020 20:06:14 +0100 Subject: multitouch buttons on Android In-Reply-To: <16fe811f2c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16fe811f2c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <64534ff6-04fa-19ff-2e14-5d3d68d9b7be@krutt.org> one button is a drumpad which has multiple functions. if tap it, then you hear a sound like a snare or a bassdrum. But when you tap and hold another button then this same drumpad-button opens another group from which you can select another color or another sound for that same drumpad. Now in the ide this works, saying first i click the option button and then the drumpad-btn. (impossible of course with a mouse to do 2 clicks on 2 buttons) On mobile you have to hold it and then push any drumpad to open a color or sound select group, that's the idea. While having several touch points on Android, you can check via the developersmode, this seems not to work for buttons. an image with script and a button does not work. 2 images instead of buttons does also not work. So perhaps 2 simultaneous mouseclick(fingertaps) is not possible. Maybe i use the wrong commands, will try some with touchstart and touchend instead of mouseDown/mouseUp. Regards, Sphere Op 27-1-2020 om 18:34 schreef J. Landman Gay via use-livecode: > I've never seen an interface like that on Android. Can you use > checkboxes instead? What does the app need to do if two buttons are down? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 26, 2020 3:36:51 PM JJS via use-livecode > wrote: > >> Hello, >> >> >> can 2 buttons be pressed simultanously on Android? >> >> Or do i need to change them to an Image? >> >> >> Although i use buttons, it seems not to be able to hold one button down >> and press another. >> >> They are in the same group, and the option only one button is off in the >> group settings >> >> >> Thanks for any insight. >> >> >> Cheers, >> >> Sphere >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Mon Jan 27 16:04:57 2020 From: jjs at krutt.org (JJS) Date: Mon, 27 Jan 2020 22:04:57 +0100 Subject: multitouch buttons on Android In-Reply-To: <64534ff6-04fa-19ff-2e14-5d3d68d9b7be@krutt.org> References: <16fe811f2c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <64534ff6-04fa-19ff-2e14-5d3d68d9b7be@krutt.org> Message-ID: <416b6f9f-5b90-ab35-2b1c-d7b3ad9455cb@krutt.org> yes touchStart and touchEnd is what i need. Do you Jacque or anyone else knows if these functions conflict with mouseUp or mouseDown in the same control on mobile? Op 27-1-2020 om 20:06 schreef JJS via use-livecode: > one button is a drumpad which has multiple functions. if tap it, then > you hear a sound like a snare or a bassdrum. > > But when you tap and hold another button then this same drumpad-button > opens another group from which you can select another color or another > sound for that same drumpad. > > Now in the ide this works, saying first i click the option button and > then the drumpad-btn. (impossible of course with a mouse to do 2 > clicks on 2 buttons) > > On mobile you have to hold it and then push any drumpad to open a > color or sound select group, that's the idea. > > While having several touch points on Android, you can check via the > developersmode, this seems not to work for buttons. > > an image with script and a button does not work. > > 2 images instead of buttons does also not work. > > So perhaps 2 simultaneous mouseclick(fingertaps) is not possible. > > Maybe i use the wrong commands, will try some with touchstart and > touchend instead of mouseDown/mouseUp. > > > Regards, > > Sphere > > > > Op 27-1-2020 om 18:34 schreef J. Landman Gay via use-livecode: >> I've never seen an interface like that on Android. Can you use >> checkboxes instead? What does the app need to do if two buttons are >> down? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On January 26, 2020 3:36:51 PM JJS via use-livecode >> wrote: >> >>> Hello, >>> >>> >>> can 2 buttons be pressed simultanously on Android? >>> >>> Or do i need to change them to an Image? >>> >>> >>> Although i use buttons, it seems not to be able to hold one button down >>> and press another. >>> >>> They are in the same group, and the option only one button is off in >>> the >>> group settings >>> >>> >>> Thanks for any insight. >>> >>> >>> Cheers, >>> >>> Sphere >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jjs at krutt.org Mon Jan 27 16:33:22 2020 From: jjs at krutt.org (JJS) Date: Mon, 27 Jan 2020 22:33:22 +0100 Subject: Admob integration In-Reply-To: References: <401a22c6-0fc1-929d-fa02-c72e7ad09e0f@krutt.org> <23d00a2c-9008-36f4-7f64-11e43dc6ab6a@krutt.org> <4672059C-946F-48CF-B1A9-26590C246B4A@gmail.com> <1e8ff350-5584-6317-a9fc-4a72810d4e1f@krutt.org> Message-ID: <8b1dd1a4-9af7-ca3d-ff17-bcf79655fb90@krutt.org> All these mobilead commands which are still in the engine which work(ed) with inneractive are deprecated? Op 18-1-2020 om 17:31 schreef JJS via use-livecode: > Thank you for response Sean. > > Hopefully there will be some kind of solution. > > I'm going to explore some more sites as i see also on stack overflow > that more people having similair issue who do not use one of the > supported IDE's > > > (don't know why but this message was multiple times not delivered) > > > Op 16-1-2020 om 01:36 schreef Sean Cole (Pi) via use-livecode: >> I created a widget for it a few years back after which Admob changed >> their >> whole approach to how to gain access/display the ads. At the time >> InfinityLC was not yet completed. By the time it had, I had lost >> interest >> -- and most of my clients! (Remember when LC said they would have iOS >> ObjC >> ready in just a few months but that ended up being about 2years instead) >> >> The key issue you will come across with trying to bind their API to >> LC via >> LC Builder is that their API will be expecting access to XCode (which it >> won't get). There is probably some way around it but it won't be easy to >> work out as their support will only be interested in helping those >> communicating from XCode directly. Perhaps the Android API/SDK would be >> easier to work from and perhaps even be usable from iOS too. >> >> Good luck >> >> Sean Cole >> *Pi Digital * >> >> >> On Wed, 15 Jan 2020 at 21:42, JJS via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> If i knew how to create a library or widget for it i would do it >>> too. My >>> knowledge is to little for it,even after reading and trying out the >>> examples from Git and the lessons. >>> >>> For Amazon one can download the sdk jar which perhaps can be loaded and >>> connected with via LCB for Android >>> >>> For Google on Android the sdk is not downloadable anymore and goes via >>> Google play api somewhat >>> >>> For iOs one can download the sdk from Google or from Ironsource the >>> mediation sdk? to get perhaps a step further(maybe in swift indeed) >>> >>> But then what, i would not know how to proceed. >>> >>> As for Android Studio, Unity, Eclipse i see lots of examples. >>> >>> If one might have a reasonable app, you could get some extra income to >>> extend the LC subscription which already would be a good reason for me >>> at the moment >>> >>> >>> Op 15-1-2020 om 22:07 schreef Dr. Hawkins via use-livecode: >>>> On Jan 15, 2020, at 1:03 PM, JJS via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>>> No one interested in putting ads in mobile apps to get some extra >>> income? >>>> Oh, I?m interested, but I?ve given up. >>>> >>>> I have aa parta program on hold.? I assume I?ll end up just writing it >>> in swift. >>>> There is *supposedly* a partnership with an interface in the base >>> distribution.? The vendor for the ads, however, has no interest in >>> dealing >>> with anyone that hasn?t already shipped zillions of copies >>>> >>>> ? >>>> Richard E. Hawkins, Esq. >>>> The Hawkins Law Firm >>>> 3430 E. Flamingo Rd. >>>> Suite 232 >>>> Las Vegas, NV? 89121 >>>> (702) 508-8462 >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Jan 27 16:58:54 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Jan 2020 15:58:54 -0600 Subject: multitouch buttons on Android In-Reply-To: <416b6f9f-5b90-ab35-2b1c-d7b3ad9455cb@krutt.org> References: <16fe811f2c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <64534ff6-04fa-19ff-2e14-5d3d68d9b7be@krutt.org> <416b6f9f-5b90-ab35-2b1c-d7b3ad9455cb@krutt.org> Message-ID: I think you get both, touchStart first followed by mouseDown, and touchEnd followed by mouseUp. On 1/27/20 3:04 PM, JJS via use-livecode wrote: > yes touchStart and touchEnd is what i need. > > Do you Jacque or anyone else knows if these functions conflict with > mouseUp or mouseDown in the same control on mobile? > > > Op 27-1-2020 om 20:06 schreef JJS via use-livecode: >> one button is a drumpad which has multiple functions. if tap it, then >> you hear a sound like a snare or a bassdrum. >> >> But when you tap and hold another button then this same drumpad-button >> opens another group from which you can select another color or another >> sound for that same drumpad. >> >> Now in the ide this works, saying first i click the option button and >> then the drumpad-btn. (impossible of course with a mouse to do 2 >> clicks on 2 buttons) >> >> On mobile you have to hold it and then push any drumpad to open a >> color or sound select group, that's the idea. >> >> While having several touch points on Android, you can check via the >> developersmode, this seems not to work for buttons. >> >> an image with script and a button does not work. >> >> 2 images instead of buttons does also not work. >> >> So perhaps 2 simultaneous mouseclick(fingertaps) is not possible. >> >> Maybe i use the wrong commands, will try some with touchstart and >> touchend instead of mouseDown/mouseUp. >> >> >> Regards, >> >> Sphere >> >> >> >> Op 27-1-2020 om 18:34 schreef J. Landman Gay via use-livecode: >>> I've never seen an interface like that on Android. Can you use >>> checkboxes instead? What does the app need to do if two buttons are >>> down? >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On January 26, 2020 3:36:51 PM JJS via use-livecode >>> wrote: >>> >>>> Hello, >>>> >>>> >>>> can 2 buttons be pressed simultanously on Android? >>>> >>>> Or do i need to change them to an Image? >>>> >>>> >>>> Although i use buttons, it seems not to be able to hold one button down >>>> and press another. >>>> >>>> They are in the same group, and the option only one button is off in >>>> the >>>> group settings >>>> >>>> >>>> Thanks for any insight. >>>> >>>> >>>> Cheers, >>>> >>>> Sphere >>>> > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at elementarysoftware.com Mon Jan 27 20:10:55 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 27 Jan 2020 17:10:55 -0800 Subject: multitouch buttons on Android In-Reply-To: References: <16fe811f2c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <64534ff6-04fa-19ff-2e14-5d3d68d9b7be@krutt.org> <416b6f9f-5b90-ab35-2b1c-d7b3ad9455cb@krutt.org> Message-ID: <4F74A6AB-7006-48D7-9BDE-6293CAE43389@elementarysoftware.com> You can also script things like on mouseUp if the environment is "Development" then touchEnd 1 end if end mouseUp and put the script for both in touchEnd? or wherever Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Jan 27, 2020, at 1:58 PM, J. Landman Gay via use-livecode wrote: > > I think you get both, touchStart first followed by mouseDown, and touchEnd followed by mouseUp. > > On 1/27/20 3:04 PM, JJS via use-livecode wrote: >> yes touchStart and touchEnd is what i need. >> Do you Jacque or anyone else knows if these functions conflict with mouseUp or mouseDown in the same control on mobile? >> Op 27-1-2020 om 20:06 schreef JJS via use-livecode: >>> one button is a drumpad which has multiple functions. if tap it, then you hear a sound like a snare or a bassdrum. >>> >>> But when you tap and hold another button then this same drumpad-button opens another group from which you can select another color or another sound for that same drumpad. >>> >>> Now in the ide this works, saying first i click the option button and then the drumpad-btn. (impossible of course with a mouse to do 2 clicks on 2 buttons) >>> >>> On mobile you have to hold it and then push any drumpad to open a color or sound select group, that's the idea. >>> >>> While having several touch points on Android, you can check via the developersmode, this seems not to work for buttons. >>> >>> an image with script and a button does not work. >>> >>> 2 images instead of buttons does also not work. >>> >>> So perhaps 2 simultaneous mouseclick(fingertaps) is not possible. >>> >>> Maybe i use the wrong commands, will try some with touchstart and touchend instead of mouseDown/mouseUp. >>> >>> >>> Regards, >>> >>> Sphere >>> >>> >>> >>> Op 27-1-2020 om 18:34 schreef J. Landman Gay via use-livecode: >>>> I've never seen an interface like that on Android. Can you use checkboxes instead? What does the app need to do if two buttons are down? >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> On January 26, 2020 3:36:51 PM JJS via use-livecode wrote: >>>> >>>>> Hello, >>>>> >>>>> >>>>> can 2 buttons be pressed simultanously on Android? >>>>> >>>>> Or do i need to change them to an Image? >>>>> >>>>> >>>>> Although i use buttons, it seems not to be able to hold one button down >>>>> and press another. >>>>> >>>>> They are in the same group, and the option only one button is off in the >>>>> group settings >>>>> >>>>> >>>>> Thanks for any insight. >>>>> >>>>> >>>>> Cheers, >>>>> >>>>> Sphere >>>>> >> > > -- > 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 brian at milby7.com Mon Jan 27 22:46:26 2020 From: brian at milby7.com (Brian Milby) Date: Mon, 27 Jan 2020 22:46:26 -0500 Subject: AW: Tree Widget question... In-Reply-To: <5f0dc109-d685-f2fb-83f2-f693a0dc5f09@researchware.com> References: <5f0dc109-d685-f2fb-83f2-f693a0dc5f09@researchware.com> Message-ID: <396a0297-07ca-4d36-a6a5-e7cb0e8e3f89@Spark> That bug will be fixed in DP3. ?It is already merged into develop. Thanks, Brian On Jan 27, 2020, 10:46 AM -0500, Paul Dupuis via use-livecode , wrote: > Never mind. Answered my own question. You have to use the Keys, not the > values, to get a true hierarchy. i.e. > > Top Level A > Top Level B > ??? Sub Level B 1 > ??? Sub Level B 2 > Top Level C > > On 1/27/2020 10:31 AM, Paul Dupuis via use-livecode wrote: > > I need a hierarchical tree that looks like: > > > > 1 Top Level A > > 2 Top Level B > > ??? 1 Sub Level B 1 > > ??? 2 Sub Level B 2 > > 3 Top Level C > > etc. > > > > > > With the Tree Widget in 9.6dp2, all I can seem to get is: > > > > 1 Top Level A > > 2 > > ??? 1 Sub Level B 1 > > ??? 2 Sub Level B 2 > > 3 Top Level C > > > > i.e. is item 2 has sub levels, it can't seem to have a label?!? > > > > Am I missing something? Trees generally have labels for each level? > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From michael-kristensen at dsa-net.dk Tue Jan 28 07:55:40 2020 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Tue, 28 Jan 2020 13:55:40 +0100 Subject: Thumbnail on txt file? (Mac users) Message-ID: <3962636E-FEAF-4FC8-94F3-8ACD6EC85E97@dsa-net.dk> Hi again Thanks for the input on this topic to all! I have put a little file here to demonstrate how this could be done. If you have ideas for polish then I look forward to that. https://forums.livecode.com/viewtopic.php?f=8&t=33586 BTW Here is some key codes for applescript https://macbiblioblog.blogspot.com/2014/12/key-codes-for-function-and-special-keys.html Michael From jjs at krutt.org Tue Jan 28 08:30:57 2020 From: jjs at krutt.org (Jjs) Date: Tue, 28 Jan 2020 14:30:57 +0100 Subject: multitouch buttons on Android In-Reply-To: <4F74A6AB-7006-48D7-9BDE-6293CAE43389@elementarysoftware.com> References: <16fe811f2c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <64534ff6-04fa-19ff-2e14-5d3d68d9b7be@krutt.org> <416b6f9f-5b90-ab35-2b1c-d7b3ad9455cb@krutt.org> <4F74A6AB-7006-48D7-9BDE-6293CAE43389@elementarysoftware.com> Message-ID: <5C1CBEA4-5C64-4FFB-A024-938EFD1B85A1@krutt.org> Thanks Jaqcue. Thanks Scott, will play with that a bit. scott--- via use-livecode schreef op 28 januari 2020 02:10:55 CET: >You can also script things like > >on mouseUp > if the environment is "Development" then > touchEnd 1 > end if >end mouseUp > >and put the script for both in touchEnd? or wherever > >Scott Morrow > >Elementary Software >(Now with 20% less chalk dust!) >web https://elementarysoftware.com/ >email scott at elementarysoftware.com >booth 1-800-615-0867 >------------------------------------------------------ > >> On Jan 27, 2020, at 1:58 PM, J. Landman Gay via use-livecode > wrote: >> >> I think you get both, touchStart first followed by mouseDown, and >touchEnd followed by mouseUp. >> >> On 1/27/20 3:04 PM, JJS via use-livecode wrote: >>> yes touchStart and touchEnd is what i need. >>> Do you Jacque or anyone else knows if these functions conflict with >mouseUp or mouseDown in the same control on mobile? >>> Op 27-1-2020 om 20:06 schreef JJS via use-livecode: >>>> one button is a drumpad which has multiple functions. if tap it, >then you hear a sound like a snare or a bassdrum. >>>> >>>> But when you tap and hold another button then this same >drumpad-button opens another group from which you can select another >color or another sound for that same drumpad. >>>> >>>> Now in the ide this works, saying first i click the option button >and then the drumpad-btn. (impossible of course with a mouse to do 2 >clicks on 2 buttons) >>>> >>>> On mobile you have to hold it and then push any drumpad to open a >color or sound select group, that's the idea. >>>> >>>> While having several touch points on Android, you can check via the >developersmode, this seems not to work for buttons. >>>> >>>> an image with script and a button does not work. >>>> >>>> 2 images instead of buttons does also not work. >>>> >>>> So perhaps 2 simultaneous mouseclick(fingertaps) is not possible. >>>> >>>> Maybe i use the wrong commands, will try some with touchstart and >touchend instead of mouseDown/mouseUp. >>>> >>>> >>>> Regards, >>>> >>>> Sphere >>>> >>>> >>>> >>>> Op 27-1-2020 om 18:34 schreef J. Landman Gay via use-livecode: >>>>> I've never seen an interface like that on Android. Can you use >checkboxes instead? What does the app need to do if two buttons are >down? >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> On January 26, 2020 3:36:51 PM JJS via use-livecode > wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> >>>>>> can 2 buttons be pressed simultanously on Android? >>>>>> >>>>>> Or do i need to change them to an Image? >>>>>> >>>>>> >>>>>> Although i use buttons, it seems not to be able to hold one >button down >>>>>> and press another. >>>>>> >>>>>> They are in the same group, and the option only one button is off >in the >>>>>> group settings >>>>>> >>>>>> >>>>>> Thanks for any insight. >>>>>> >>>>>> >>>>>> Cheers, >>>>>> >>>>>> Sphere >>>>>> >>> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. From jjs at krutt.org Tue Jan 28 14:07:04 2020 From: jjs at krutt.org (JJS) Date: Tue, 28 Jan 2020 20:07:04 +0100 Subject: No support for 24bit/96kHz audio file? In-Reply-To: References: Message-ID: <9237cc3d-fc47-9be2-fbbf-bde7326ac1e0@krutt.org> Hi Mark, i did not try a player on windows, ultimately it has to work on Android which it does now with 16bit/44.1kHz. I can try if that will work with 24bit/96kHz. Regards, Jerry Op 23-1-2020 om 09:43 schreef Mark Waddingham via use-livecode: > On 2020-01-22 19:17, JJS via use-livecode wrote: >> Hi, >> >> i imprted some short audiofiles 24bit/96kHz but it seems LC does some >> kind of downsampling or changes the frequency. > > When you say 'import' do you mean as audioclips? > > I don't think audioclips (nor the APIs used to playback their sounds) > support > 24-bit audio. > > Have you tried using a player? > > Warmest Regards, > > Mark. > From bvlahos at mac.com Tue Jan 28 17:01:38 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 28 Jan 2020 14:01:38 -0800 Subject: Authentication questions Message-ID: LiveCode?s dictionary shows multiple authentication capabilities. However, I?m having trouble figuring out how to actually implement them working with our business phone system that uses CSTA authentication. The following link describes CSTA although I don?t see direct information regarding the authentication process. https://ecma-international.org/activities/Communications/TG11/faq.htm The authentication and communication uses TCP or TLS with a specific connection port (example 7777) and SSL Certificate encryption. In C++ Login code: int Login(const char* userName, const char* password, const char* type, const char* platform, const char* version, CSTALoginResponsePtr response ); int AsyncLogin(const char* userName, const char* password, const char* type, const char* platform, const char* version, CSTA_ASYNCRESPONSECALLBACK callback, void * userData); In C++ Logout code: int Logout(); int AsyncLogout( CSTA_ASYNCRESPONSECALLBACK callback, void * userData); XML request username password XML response success Login OK NOTE: Password must be encrypted using the SHA-1 format! The username and password is specified in the Configure\System Services. On an incoming call this would be the XML to retrieve the Caller ID info. 1 16 1335 1335 1333 1333 VM-ds_test1 ds_test1 ds_test ds_test ds_test ds_test alerting normal Can we do this authentication directly in LiveCode? What would the syntax look like? Thank you, Bill Vlahos From martyknappster at gmail.com Tue Jan 28 17:19:34 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Tue, 28 Jan 2020 14:19:34 -0800 Subject: Corrupted Stacks Message-ID: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> I have an app in which users create documents (stacks) that auto-save when they're closed. I have a a few customers who are getting corrupted stacks every once in a while. At least in a couple of cases they are saving to a network server or over an internet connection. In some cases it seems to occur when they quit with a stack open. I've attempted to script around this by checking for the tilde version of the file and if it exists to pause quitting. I would say the stack size varies between 1 to 5 mb in size. App build with LC 9.5.1 and a mix of Mac and Windows standalones. Does anyone have any input with my shutdown routine? Ways of making it more robust? Local sMyTildeFilename on shutDownRequest Global gOpenDocument,gLastDocumentOpen --gOpenDocument contains the name of a currently open stack (if any) --gLastDocumentOpen contains the fileName of the last open stack --in case it was closed before quitting if gOpenDocument is among the lines of the openStacks then put the fileName of stack gOpenDocument & "~" into sMyTildeFilename save stack gOpenDocument close stack gOpenDocument else put gLastDocumentOpen & "~" into sMyTildeFilename --Don't allow quit until the temp file is deleted: if there is a file sMyTildeFilename then send quit to me in 1 second else pass shutDownRequest --Lets it quit end shutDownRequest Marty From bobsneidar at iotecdigital.com Tue Jan 28 18:47:56 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 28 Jan 2020 23:47:56 +0000 Subject: Corrupted Stacks In-Reply-To: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> References: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> Message-ID: <48E63759-DAEF-4B2C-941A-B30E0D0067E0@iotecdigital.com> I'm wondering if save stack returns anything in the result so you can check for success? Bob S > On Jan 28, 2020, at 14:19 , Marty Knapp via use-livecode wrote: > > I have an app in which users create documents (stacks) that auto-save when they're closed. I have a a few customers who are getting corrupted stacks every once in a while. At least in a couple of cases they are saving to a network server or over an internet connection. In some cases it seems to occur when they quit with a stack open. I've attempted to script around this by checking for the tilde version of the file and if it exists to pause quitting. > > I would say the stack size varies between 1 to 5 mb in size. App build with LC 9.5.1 and a mix of Mac and Windows standalones. > > Does anyone have any input with my shutdown routine? Ways of making it more robust? From ambassador at fourthworld.com Tue Jan 28 21:12:45 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Jan 2020 18:12:45 -0800 Subject: Corrupted Stacks In-Reply-To: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> References: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> Message-ID: <41c643c0-a7a7-e181-b06d-ece986e34b82@fourthworld.com> Marty Knapp wrote: > I have an app in which users create documents (stacks) that auto-save > when they're closed. I have a a few customers who are getting > corrupted stacks every once in a while. At least in a couple of cases > they are saving to a network server or over an internet connection. ... > Does anyone have any input with my shutdown routine? Ways of making it > more robust? Save is save. One command triggers the engine's save routine. Hard to get leaner than that. As a general rule, I would not advise saving large live documents over a network, or to any folder managed by network sync (Dropbox, iCloud, Nextcloud, etc.). Tons of warnings from software vendors all over the web about things like that. Are the users able to recover from the "~" copy? -- Richard Gaskin Fourth World Systems From tom at makeshyft.com Wed Jan 29 12:30:22 2020 From: tom at makeshyft.com (Tom Glod) Date: Wed, 29 Jan 2020 12:30:22 -0500 Subject: Corrupted Stacks In-Reply-To: <41c643c0-a7a7-e181-b06d-ece986e34b82@fourthworld.com> References: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> <41c643c0-a7a7-e181-b06d-ece986e34b82@fourthworld.com> Message-ID: I would change your save routine to save locally first, then copy to network location. That should prevent those kinds of issues. On Tue, Jan 28, 2020 at 9:14 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Marty Knapp wrote: > > > I have an app in which users create documents (stacks) that auto-save > > when they're closed. I have a a few customers who are getting > > corrupted stacks every once in a while. At least in a couple of cases > > they are saving to a network server or over an internet connection. > ... > > Does anyone have any input with my shutdown routine? Ways of making it > > more robust? > > Save is save. One command triggers the engine's save routine. Hard to > get leaner than that. > > As a general rule, I would not advise saving large live documents over a > network, or to any folder managed by network sync (Dropbox, iCloud, > Nextcloud, etc.). Tons of warnings from software vendors all over the > web about things like that. > > Are the users able to recover from the "~" copy? > > -- > Richard Gaskin > Fourth World Systems > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 martyknappster at gmail.com Wed Jan 29 13:08:08 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 29 Jan 2020 10:08:08 -0800 Subject: Corrupted Stacks In-Reply-To: <41c643c0-a7a7-e181-b06d-ece986e34b82@fourthworld.com> References: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> <41c643c0-a7a7-e181-b06d-ece986e34b82@fourthworld.com> Message-ID: Thanks Richard. What would be considered a large file? In my case I would guess the average file is around 1mb though in some cases it could be up to 5mb. In some cases the user has been able to recover from the ?~? file but not always. But it?s disconcerting to them that they never know when it might happen again. And it?s amazing how many people don?t have a backup plan in place. Marty > On Jan 28, 2020, at 6:12 PM, Richard Gaskin via use-livecode wrote: > > Marty Knapp wrote: > > > I have an app in which users create documents (stacks) that auto-save > > when they're closed. I have a a few customers who are getting > > corrupted stacks every once in a while. At least in a couple of cases > > they are saving to a network server or over an internet connection. > ... > > Does anyone have any input with my shutdown routine? Ways of making it > > more robust? > > Save is save. One command triggers the engine's save routine. Hard to get leaner than that. > > As a general rule, I would not advise saving large live documents over a network, or to any folder managed by network sync (Dropbox, iCloud, Nextcloud, etc.). Tons of warnings from software vendors all over the web about things like that. > > Are the users able to recover from the "~" copy? > > -- > Richard Gaskin > Fourth World Systems > From matthias_livecode_150811 at m-r-d.de Wed Jan 29 14:48:13 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 29 Jan 2020 20:48:13 +0100 Subject: Corrupted Stacks In-Reply-To: References: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> <41c643c0-a7a7-e181-b06d-ece986e34b82@fourthworld.com> Message-ID: Hi, i?ve ran into a similar situation a few months ago. This is what i?ve done. I?ve saved the stack to the local temp folder and then used the revcopyfile command to copy it to the network drive. When opening the app and that stack i used revcopyfile to copy the stack from the network drive to the local temp folder and opened that copy of the stack. So always the stack in to the local temp folder is used, but a copy is made to the network drive everytime i save the stack. This takes some time, but it?s acceptable and it works pretty well. - Matthias Rebbe Life Is Too Short For Boring Code > Am 29.01.2020 um 19:08 schrieb Marty Knapp via use-livecode : > > Thanks Richard. What would be considered a large file? In my case I would guess the average file is around 1mb though in some cases it could be up to 5mb. > > In some cases the user has been able to recover from the ?~? file but not always. But it?s disconcerting to them that they never know when it might happen again. And it?s amazing how many people don?t have a backup plan in place. > > Marty > >> On Jan 28, 2020, at 6:12 PM, Richard Gaskin via use-livecode wrote: >> >> Marty Knapp wrote: >> >>> I have an app in which users create documents (stacks) that auto-save >>> when they're closed. I have a a few customers who are getting >>> corrupted stacks every once in a while. At least in a couple of cases >>> they are saving to a network server or over an internet connection. >> ... >>> Does anyone have any input with my shutdown routine? Ways of making it >>> more robust? >> >> Save is save. One command triggers the engine's save routine. Hard to get leaner than that. >> >> As a general rule, I would not advise saving large live documents over a network, or to any folder managed by network sync (Dropbox, iCloud, Nextcloud, etc.). Tons of warnings from software vendors all over the web about things like that. >> >> Are the users able to recover from the "~" copy? >> >> -- >> Richard Gaskin >> Fourth World Systems >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Jan 29 15:57:42 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 29 Jan 2020 12:57:42 -0800 Subject: Corrupted Stacks In-Reply-To: References: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> <41c643c0-a7a7-e181-b06d-ece986e34b82@fourthworld.com> Message-ID: <062DF34D-1B6C-410B-BB24-B4874150FF86@gmail.com> Thanks for your input Tom. If I'm not mistaken, isn't that what Dropbox does - saves to a local folder then makes a copy to the cloud? With Richard?s input that Dropbox and similar services are notorious for problems in this regard I can only surmise that it?s the trip over the internet that introduces the opportunity for corruption. But maybe I'm wrong on that. I was just on the phone with a customer who is periodically (once every 2-3 months) having this issue. He?s on a gigabit network and a 1mb file took about 5 seconds to save before the document closed and the tilde version of the file was deleted. That?s seems pretty slow for that size of file. Marty > On Jan 29, 2020, at 9:30 AM, Tom Glod via use-livecode wrote: > > I would change your save routine to save locally first, then copy to > network location. That should prevent those kinds of issues. > > On Tue, Jan 28, 2020 at 9:14 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Marty Knapp wrote: >> >>> I have an app in which users create documents (stacks) that auto-save >>> when they're closed. I have a a few customers who are getting >>> corrupted stacks every once in a while. At least in a couple of cases >>> they are saving to a network server or over an internet connection. >> ... >>> Does anyone have any input with my shutdown routine? Ways of making it >>> more robust? >> >> Save is save. One command triggers the engine's save routine. Hard to >> get leaner than that. >> >> As a general rule, I would not advise saving large live documents over a >> network, or to any folder managed by network sync (Dropbox, iCloud, >> Nextcloud, etc.). Tons of warnings from software vendors all over the >> web about things like that. >> >> Are the users able to recover from the "~" copy? >> >> -- >> Richard Gaskin >> Fourth World Systems From martyknappster at gmail.com Wed Jan 29 16:00:18 2020 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 29 Jan 2020 13:00:18 -0800 Subject: Corrupted Stacks In-Reply-To: References: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> <41c643c0-a7a7-e181-b06d-ece986e34b82@fourthworld.com> Message-ID: That?s an interesting approach Matthias. Most of my customers save locally to their Documents folder. It?s just a few people using filer servers or Dropbox (iCloud, etc). I wonder, is there a reliable way to ascertain if the file is on a server? Marty > On Jan 29, 2020, at 11:48 AM, Matthias Rebbe via use-livecode wrote: > > Hi, > i?ve ran into a similar situation a few months ago. This is what i?ve done. > > I?ve saved the stack to the local temp folder and then used the revcopyfile command to copy it to the network drive. > When opening the app and that stack i used revcopyfile to copy the stack from the network drive to the local temp folder and opened that copy of the stack. > So always the stack in to the local temp folder is used, but a copy is made to the network drive everytime i save the stack. > This takes some time, but it?s acceptable and it works pretty well. > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 29.01.2020 um 19:08 schrieb Marty Knapp via use-livecode : >> >> Thanks Richard. What would be considered a large file? In my case I would guess the average file is around 1mb though in some cases it could be up to 5mb. >> >> In some cases the user has been able to recover from the ?~? file but not always. But it?s disconcerting to them that they never know when it might happen again. And it?s amazing how many people don?t have a backup plan in place. >> >> Marty >> >>> On Jan 28, 2020, at 6:12 PM, Richard Gaskin via use-livecode wrote: >>> >>> Marty Knapp wrote: >>> >>>> I have an app in which users create documents (stacks) that auto-save >>>> when they're closed. I have a a few customers who are getting >>>> corrupted stacks every once in a while. At least in a couple of cases >>>> they are saving to a network server or over an internet connection. >>> ... >>>> Does anyone have any input with my shutdown routine? Ways of making it >>>> more robust? >>> >>> Save is save. One command triggers the engine's save routine. Hard to get leaner than that. >>> >>> As a general rule, I would not advise saving large live documents over a network, or to any folder managed by network sync (Dropbox, iCloud, Nextcloud, etc.). Tons of warnings from software vendors all over the web about things like that. >>> >>> Are the users able to recover from the "~" copy? >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems From ambassador at fourthworld.com Wed Jan 29 16:37:48 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Jan 2020 13:37:48 -0800 Subject: Corrupted Stacks In-Reply-To: References: Message-ID: <49d56d77-2b22-66b8-7ee6-a6276284ca9e@fourthworld.com> Marty Knapp wrote: > Thanks Richard. What would be considered a large file? In my case I > would guess the average file is around 1mb though in some cases it > could be up to 5mb. Hard to say what these cloud sync services may find problematic. Most of issues I've read about are with paging formats like SQLite, e.g.: https://stackoverflow.com/questions/7003336/how-enable-icloud-support-for-sqlite Since LC writes in one clean step I'm surprised it would have an issue, but while looking into this recently I stumbled across a lot of people who are having issues with Excel files corrupting in sync services. IIRC Dropbox uses - or at least once used - WebDAV, and Nextcloud and others still do. This makes the sync issue more vexing because WebDAV does whole-file transfers, as opposed to patching. So unfortunately I have little I can confidently convey on this, beyond having seen a lot of vendors using SQLite and other paging formats recommend not working directly in synced folder. > I was just on the phone with a customer who is periodically (once > every 2-3 months) having this issue. He?s on a gigabit network and > a 1mb file took about 5 seconds to save before the document closed > and the tilde version of the file was deleted. That?s seems pretty > slow for that size of file. The time between the engine's deletion of the "~" file and it's *apparent* deletion in a file manager may be quite different, as many file managers don't immediately re-render file listings in the UI, deferring it until a few ms after idle (or in the case of Windows, I've seen GUI file listing updates take a few seconds). This time may also be affected by the polling rate of any cloud sync service used with the folder. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From matthias_livecode_150811 at m-r-d.de Wed Jan 29 17:30:31 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 29 Jan 2020 23:30:31 +0100 Subject: Corrupted Stacks In-Reply-To: References: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> <41c643c0-a7a7-e181-b06d-ece986e34b82@fourthworld.com> Message-ID: <826E0B6E-7EB6-41C0-98F1-D91BB103DC1F@m-r-d.de> - Matthias Rebbe Life Is Too Short For Boring Code > Am 29.01.2020 um 22:00 schrieb Marty Knapp via use-livecode : > > That?s an interesting approach Matthias. Most of my customers save locally to their Documents folder. It?s just a few people using filer servers or Dropbox I?d never problems with Dropbox. I am saving all of my projects to my Dropbox account. I?ve never ran into any problem with saving the main stacks or any substacks. While you are mentioning iCloud. I?ve noticed that i have problems building and saving a standalone in the Desktop or Documents folder since i?ve setup iCloud drive to synchronize my Desktop and Documents folder. Sometimes it works and sometime the standalone is not creaed successfully. So maybe iCould Drive is working other than Dropbox. Since i save the standalones to a local volume i did not run into that problem anymore. > (iCloud, etc). I wonder, is there a reliable way to ascertain if the file is on a server? To find out if a Windows drive is mapped to network share you could see here https://devblogs.microsoft.com/scripting/how-can-i-determine-which-drives-are-mapped-to-network-shares/ On Mac OS you could use mount in Terminal. This command without any parameter lists you all mounted drives. The following is the result of mount on my Mac mattes:~ matthias$ mount /dev/disk3s1 on / (apfs, local, journaled) devfs on /dev (devfs, local, nobrowse) /dev/disk3s4 on /private/var/vm (apfs, local, noexec, journaled, noatime, nobrowse) map -hosts on /net (autofs, nosuid, automounted, nobrowse) map auto_home on /home (autofs, automounted, nobrowse) /dev/disk1s1 on /Volumes/CCC Backup iMac (hfs, local, nodev, nosuid, journaled, noowners) //matthias at 192.169.9.100/Syn%206%20TB on /Volumes/Syn 6 TB (afpfs, nodev, nosuid, mounted by matthias) The network drive is the one with the 2 leading / Matthias > > Marty > >> On Jan 29, 2020, at 11:48 AM, Matthias Rebbe via use-livecode wrote: >> >> Hi, >> i?ve ran into a similar situation a few months ago. This is what i?ve done. >> >> I?ve saved the stack to the local temp folder and then used the revcopyfile command to copy it to the network drive. >> When opening the app and that stack i used revcopyfile to copy the stack from the network drive to the local temp folder and opened that copy of the stack. >> So always the stack in to the local temp folder is used, but a copy is made to the network drive everytime i save the stack. >> This takes some time, but it?s acceptable and it works pretty well. >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 29.01.2020 um 19:08 schrieb Marty Knapp via use-livecode : >>> >>> Thanks Richard. What would be considered a large file? In my case I would guess the average file is around 1mb though in some cases it could be up to 5mb. >>> >>> In some cases the user has been able to recover from the ?~? file but not always. But it?s disconcerting to them that they never know when it might happen again. And it?s amazing how many people don?t have a backup plan in place. >>> >>> Marty >>> >>>> On Jan 28, 2020, at 6:12 PM, Richard Gaskin via use-livecode wrote: >>>> >>>> Marty Knapp wrote: >>>> >>>>> I have an app in which users create documents (stacks) that auto-save >>>>> when they're closed. I have a a few customers who are getting >>>>> corrupted stacks every once in a while. At least in a couple of cases >>>>> they are saving to a network server or over an internet connection. >>>> ... >>>>> Does anyone have any input with my shutdown routine? Ways of making it >>>>> more robust? >>>> >>>> Save is save. One command triggers the engine's save routine. Hard to get leaner than that. >>>> >>>> As a general rule, I would not advise saving large live documents over a network, or to any folder managed by network sync (Dropbox, iCloud, Nextcloud, etc.). Tons of warnings from software vendors all over the web about things like that. >>>> >>>> Are the users able to recover from the "~" copy? >>>> >>>> -- >>>> Richard Gaskin >>>> Fourth World Systems > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 29 17:50:47 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 29 Jan 2020 22:50:47 +0000 Subject: Corrupted Stacks In-Reply-To: <826E0B6E-7EB6-41C0-98F1-D91BB103DC1F@m-r-d.de> References: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> <41c643c0-a7a7-e181-b06d-ece986e34b82@fourthworld.com> <826E0B6E-7EB6-41C0-98F1-D91BB103DC1F@m-r-d.de> Message-ID: I have a sync program sync my projects folder to my iCloud drive. Bob S > On Jan 29, 2020, at 14:30 , Matthias Rebbe via use-livecode wrote: > > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 29.01.2020 um 22:00 schrieb Marty Knapp via use-livecode : >> >> That?s an interesting approach Matthias. Most of my customers save locally to their Documents folder. It?s just a few people using filer servers or Dropbox > I?d never problems with Dropbox. I am saving all of my projects to my Dropbox account. I?ve never ran into any problem with saving the main stacks or any substacks. > > While you are mentioning iCloud. I?ve noticed that i have problems building and saving a standalone in the Desktop or Documents folder since i?ve setup iCloud drive to synchronize my Desktop and Documents folder. Sometimes it works and sometime the standalone is not creaed successfully. So maybe iCould Drive is working other than Dropbox. Since i save the standalones to a local volume i did not run into that problem anymore. > > >> (iCloud, etc). I wonder, is there a reliable way to ascertain if the file is on a server? From matthias_livecode_150811 at m-r-d.de Wed Jan 29 18:26:34 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 30 Jan 2020 00:26:34 +0100 Subject: Corrupted Stacks In-Reply-To: References: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> <41c643c0-a7a7-e181-b06d-ece986e34b82@fourthworld.com> <826E0B6E-7EB6-41C0-98F1-D91BB103DC1F@m-r-d.de> Message-ID: <68647435-1CF3-4176-A8EA-EB0A99A00DD9@m-r-d.de> Which one are you using? - Matthias Rebbe Life Is Too Short For Boring Code > Am 29.01.2020 um 23:50 schrieb Bob Sneidar via use-livecode : > > I have a sync program sync my projects folder to my iCloud drive. > > Bob S > > >> On Jan 29, 2020, at 14:30 , Matthias Rebbe via use-livecode wrote: >> >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 29.01.2020 um 22:00 schrieb Marty Knapp via use-livecode : >>> >>> That?s an interesting approach Matthias. Most of my customers save locally to their Documents folder. It?s just a few people using filer servers or Dropbox >> I?d never problems with Dropbox. I am saving all of my projects to my Dropbox account. I?ve never ran into any problem with saving the main stacks or any substacks. >> >> While you are mentioning iCloud. I?ve noticed that i have problems building and saving a standalone in the Desktop or Documents folder since i?ve setup iCloud drive to synchronize my Desktop and Documents folder. Sometimes it works and sometime the standalone is not creaed successfully. So maybe iCould Drive is working other than Dropbox. Since i save the standalones to a local volume i did not run into that problem anymore. >> >> >>> (iCloud, etc). I wonder, is there a reliable way to ascertain if the file is on a server? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 29 19:00:56 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 30 Jan 2020 00:00:56 +0000 Subject: Corrupted Stacks In-Reply-To: <68647435-1CF3-4176-A8EA-EB0A99A00DD9@m-r-d.de> References: <63953EBE-A603-4170-8D0B-2045C8CA0CC7@gmail.com> <41c643c0-a7a7-e181-b06d-ece986e34b82@fourthworld.com> <826E0B6E-7EB6-41C0-98F1-D91BB103DC1F@m-r-d.de> <68647435-1CF3-4176-A8EA-EB0A99A00DD9@m-r-d.de> Message-ID: I use Chronosync. You can schedule them or run them manually. One way or two way syncs. Control over things I never even knew existed. Lifetime license. Bob S > On Jan 29, 2020, at 15:26 , Matthias Rebbe via use-livecode wrote: > > Which one are you using? > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 29.01.2020 um 23:50 schrieb Bob Sneidar via use-livecode : >> >> I have a sync program sync my projects folder to my iCloud drive. >> >> Bob S From hh at hyperhh.de Wed Jan 29 20:55:30 2020 From: hh at hyperhh.de (hh) Date: Thu, 30 Jan 2020 02:55:30 +0100 Subject: html5Player Message-ID: <7708599E-6E01-4206-BE5B-3C035C09D32F@hyperhh.de> HTML5: html5Player (v102 as of Jan 30, 2020) This is a HTML5 standalone (webApp in the new LC wording). https://hyperhh.de/html5/html5Player.html This is a "standalone-Plus" that is, it is extended by several javascript extensions for features that are not (yet) implemented in LC-HTML5 or not possible with LC. It can do among other the following. * Load (ordinary) local LC stacks by click or drag and drop. The stacks will run if they would compile and run with the HTML5 standalone builder (but you don't have to compile). The stacks MUST have one of the file endings .rev, .livecode or .livecodescript. * Load and display local or remote images (drag and drop images or copy/paste image urls is supported). * Load and display local audio/video (for cross-browser support use mp3 and mp4 only). Drag and drop file icons is supported. * Open a webview for videos, pdfs, audio streams and html pages. In such a webview you can safely run also HTML5 standalones that don't work in the html5Player because you inject javascript handlers/objects to the loading page. As the main page loads as https you can use https-Addresses only in the webview (especially for audio/video-streams). * Open one or several webcam views (works in newer Chrome, Safari, Brave, not in Firefox). All views are displayed in panels that are draggable and resizable (incl. minimize and maximize). HTML5: html5IDE (Inspector+Dictionary+ScriptEditor+Tools) The above html5Player will complete my experimental html5IDE that is close to "ready"". I can also meanwhile save edited stacks. But I don't publish newer versions than https://hyperhh.de/html5/html5IDE.html until LC does more in that field than renaming it to "WebApps". From ambassador at fourthworld.com Wed Jan 29 21:32:05 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Jan 2020 18:32:05 -0800 Subject: html5Player In-Reply-To: <7708599E-6E01-4206-BE5B-3C035C09D32F@hyperhh.de> References: <7708599E-6E01-4206-BE5B-3C035C09D32F@hyperhh.de> Message-ID: <66df1ab7-55d5-c0b7-24d2-395618ceb8e1@fourthworld.com> Great work, Hermann. Thanks for posting that. -- Richard Gaskin Fourth World Systems hh wrote: > HTML5: html5Player (v102 as of Jan 30, 2020) > > This is a HTML5 standalone (webApp in the new LC wording). > https://hyperhh.de/html5/html5Player.html > > This is a "standalone-Plus" that is, it is extended by several > javascript extensions for features that are not (yet) implemented > in LC-HTML5 or not possible with LC. > > It can do among other the following. > > * Load (ordinary) local LC stacks by click or drag and drop. > The stacks will run if they would compile and run with the HTML5 > standalone builder (but you don't have to compile). > The stacks MUST have one of the file endings .rev, .livecode or > .livecodescript. > > * Load and display local or remote images (drag and drop images > or copy/paste image urls is supported). > > * Load and display local audio/video (for cross-browser support > use mp3 and mp4 only). Drag and drop file icons is supported. > > * Open a webview for videos, pdfs, audio streams and html pages. > In such a webview you can safely run also HTML5 standalones that > don't work in the html5Player because you inject javascript > handlers/objects to the loading page. > As the main page loads as https you can use https-Addresses only > in the webview (especially for audio/video-streams). > > * Open one or several webcam views (works in newer Chrome, Safari, > Brave, not in Firefox). > > All views are displayed in panels that are draggable and resizable > (incl. minimize and maximize). > > HTML5: html5IDE > (Inspector+Dictionary+ScriptEditor+Tools) > > The above html5Player will complete my experimental html5IDE that > is close to "ready"". I can also meanwhile save edited stacks. But > I don't publish newer versions than > https://hyperhh.de/html5/html5IDE.html > until LC does more in that field than renaming it to "WebApps". From irog at mac.com Wed Jan 29 22:03:39 2020 From: irog at mac.com (Roger Guay) Date: Wed, 29 Jan 2020 20:03:39 -0700 Subject: html5Player In-Reply-To: <66df1ab7-55d5-c0b7-24d2-395618ceb8e1@fourthworld.com> References: <7708599E-6E01-4206-BE5B-3C035C09D32F@hyperhh.de> <66df1ab7-55d5-c0b7-24d2-395618ceb8e1@fourthworld.com> Message-ID: More amazing work from Hermann! As always with your contributions, I learn a lot. Thank you!! Roger From Bernd.Niggemann at uni-wh.de Thu Jan 30 07:30:36 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 30 Jan 2020 12:30:36 +0000 Subject: html5Player Message-ID: <0C6514AF-F494-436F-BFB5-1C7F63232DA8@uni-wh.de> Hermann, This is magic. I always have to remind myself that it is Livecode running in a browser. It feels like some dedicated app. I suggest that anybody who is interested in what is possible with Livecode HTML5 to have a look at Hermann's examples. https://hyperhh.de/html5/html5Player.html and https://hyperhh.de/html5/html5IDE.html Take a little time to explore the multitude of features. Thank you for making this available Kind regards Bernd From benr_mc at cogapp.com Thu Jan 30 08:20:32 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 30 Jan 2020 13:20:32 +0000 Subject: OMG text processing performance 6.7 - 9.5 Message-ID: <5da9a349-3fc2-d629-00ed-62c9fe2e514d@cogapp.com> I'm looking for a hints about where the speed has gone in the current (Unicode era) LiveCode text processing. I've been vaguely aware that text processing performance suffered in the transition, but haven't needed to focus on it before. The context is that I'm finally forced to replace an app that's been processing data for a client for well over a decade. To date the standalone has been built on LC 6.7.11; but now we need to put it on a new platform with 64-bit database drivers. The performance has gone through the floor, through the floors below, through the foundations, and is on its way to the centre of the earth. The first stage of the app - which retrieves a load of data from various databases and online sources, does minimal processing on it, and dumps it to cache files - is approx 2x slower. The main core of the app, which loads this data in and does a vast amount of processing on it to generate various output data and reports, has gone from 12 minutes to over *six hours*. (The server itself is different, and running Windows Server 2016 rather than Windows Server 2008, rather than but they're both VMs, quite likely on the same underlying hardware, and if anything I'd expect the new server to be more performant. Of course I assume that a new version of the OS will always be slower.... ) The coding is gnarly - the oldest parts are probably at least 15 years old - and I've no doubt it could be made more efficient; but we don't have time or budget to rewrite it all. So, are there known gotchas, functions which have taken a much greater hit than others, that I could concentrate on to get the most ROI in speeding this up? From brahma at hindu.org Thu Jan 30 08:44:38 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 30 Jan 2020 13:44:38 +0000 Subject: html5Player In-Reply-To: <0C6514AF-F494-436F-BFB5-1C7F63232DA8@uni-wh.de> References: <0C6514AF-F494-436F-BFB5-1C7F63232DA8@uni-wh.de> Message-ID: Herman: can you save anything from that view? I always have to remind myself that it is Livecode running in a browser. It feels like some dedicated app. I suggest that anybody who is interested in what is possible with Livecode HTML5 to have a look at Hermann's examples. From mark at livecode.com Thu Jan 30 09:04:24 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 30 Jan 2020 14:04:24 +0000 Subject: OMG text processing performance 6.7 - 9.5 In-Reply-To: <5da9a349-3fc2-d629-00ed-62c9fe2e514d@cogapp.com> References: <5da9a349-3fc2-d629-00ed-62c9fe2e514d@cogapp.com> Message-ID: <8af39f48bc67ebc2c91a69be7f9adf4b@livecode.com> On 2020-01-30 13:20, Ben Rubinstein via use-livecode wrote: > The context is that I'm finally forced to replace an app that's been > processing data for a client for well over a decade. To date the > standalone has been built on LC 6.7.11; but now we need to put it on a > new platform with 64-bit database drivers. The performance has gone > through the floor, through the floors below, through the foundations, > and is on its way to the centre of the earth. What's the need for 64-bit database drivers? i.e. What are you currently using to talk to the database and why can you not continue to use a 32-bit Windows standalone? > The first stage of the app - which retrieves a load of data from > various databases and online sources, does minimal processing on it, > and dumps it to cache files - is approx 2x slower. The main core of > the app, which loads this data in and does a vast amount of processing > on it to generate various output data and reports, has gone from 12 > minutes to over *six hours*. I suspect it is probably a couple of things which are being done uniformly causing the problem rather than lots of things all over the place... Where exactly is the data coming from? (at a high-level) what sorts of operations are being performed on it? what sort of I/O is being performed? The main one I can think of is implicit binary<->text conversions. In 6.7 and below binary data and text were the same thing - in 7+ they are distinct types which require a conversion operation. The functions which were always really returning/taking binary data now actually do. e.g. textEncode / Decode, compress / decompress, binaryEncode / binaryDecode, the byte chunk, repeat for each byte, numToByte Given the app is coming from 6.7 vintage, it is unlikely that any of the new unicode text codepaths would be hit (unless there's something odd going on somewhere) as binary data converts to native encoded text - unless of course the means by which the data is getting into the app is being taken as unicode strings (without knowing the exact I/O going on I can't really see how this could happen, but I can't rule it out). In general, native text processing (item detection, comparison, containment and such) is all as fast if not faster in the post-7 engines than 6.7 as I spent quite a while specializing a lot of lower level routines to make sure it was. I do know the word chunk has been somewhat adversely affected, however, as that was never optimized in the same way. > The coding is gnarly - the oldest parts are probably at least 15 years > old - and I've no doubt it could be made more efficient; but we don't > have time or budget to rewrite it all. So, are there known gotchas, > functions which have taken a much greater hit than others, that I > could concentrate on to get the most ROI in speeding this up? Given that you don't have time nor budget to really touch the code at all in any depth then it would best to not have to touch it at all and keep it in 6.7.11? i.e. Do you really need to move to 6? Could you split the app into the bit which does the database communication and caching (assuming that *really* needs to be 64-bit) and the bit which does the data processing (which could remain as 32-bit in 6.7.11). Note I should say that the reason I ask the above is not because of a lack of confidence in getting your code to run as fast as it did before but because of pure business reasoning - why spend time and money on something which isn't necessarily really needed? There's a difference between needing to update user-facing apps and true back-office server apps after all - banks and insurance companies still have software written on and running on machines which are decades old because they work and the cost of keeping them running is vastly less than the cost to rewrite and replace!). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From benr_mc at cogapp.com Thu Jan 30 09:38:16 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 30 Jan 2020 14:38:16 +0000 Subject: OMG text processing performance 6.7 - 9.5 In-Reply-To: <8af39f48bc67ebc2c91a69be7f9adf4b@livecode.com> References: <5da9a349-3fc2-d629-00ed-62c9fe2e514d@cogapp.com> <8af39f48bc67ebc2c91a69be7f9adf4b@livecode.com> Message-ID: <16ce9ebb-b95e-1af2-4dc8-37486747a533@cogapp.com> Hi Mark, Thanks for taking the time to reply! I'm indeed currently in the process of seeing whether I can persuade the client's IT department to install the 32-bit drivers on the new VM. I'm optimistic that will buy me some time, but it won't be a complete solution because they outsource support to a third company, which has warned that it doesn't intend to support the 32-bit drivers much longer (apparently they're just waiting for Crystal Reports to be updated!). And if that fails, one of my options is as you suggest to use the LC 9.5-built app to retrieve the data through the 64-bit drivers, and the the LC 6.7-built app to process and (probably) build it. It will be shonky. However, what you say certainly makes me feel more optimistic that something should be possible. There's really very little going on in the way of binary<->text conversion; there probably is a fair amount of word chunking - although half the work is about tracing cross-references etc, there's also a fair amount of processing of 'prose' and prose-like text. However, the nature of the text is that although 99% of it is probably ASCII, in any given table of text there will be just a few 'extended' characters - does that mean it all gets treated as four-byte data? I'll see how the negotiations with IT get on... Ben On 30/01/2020 14:04, Mark Waddingham via use-livecode wrote: > On 2020-01-30 13:20, Ben Rubinstein via use-livecode wrote: >> The context is that I'm finally forced to replace an app that's been >> processing data for a client for well over a decade. To date the >> standalone has been built on LC 6.7.11; but now we need to put it on a >> new platform with 64-bit database drivers. The performance has gone >> through the floor, through the floors below, through the foundations, >> and is on its way to the centre of the earth. > > What's the need for 64-bit database drivers? i.e. What are you currently > using to talk to the database and why can you not continue to use a 32-bit > Windows standalone? > >> The first stage of the app - which retrieves a load of data from >> various databases and online sources, does minimal processing on it, >> and dumps it to cache files - is approx 2x slower. The main core of >> the app, which loads this data in and does a vast amount of processing >> on it to generate various output data and reports, has gone from 12 >> minutes to over *six hours*. > > I suspect it is probably a couple of things which are being done uniformly > causing the problem rather than lots of things all over the place... > > Where exactly is the data coming from? (at a high-level) what sorts > of operations are being performed on it? what sort of I/O is being performed? > > The main one I can think of is implicit binary<->text conversions. In 6.7 > and below binary data and text were the same thing - in 7+ they are distinct > types which require a conversion operation. The functions which were always > really returning/taking binary data now actually do. > > e.g. textEncode / Decode, compress / decompress, binaryEncode / binaryDecode, > the byte chunk, repeat for each byte, numToByte > > Given the app is coming from 6.7 vintage, it is unlikely that any of the new > unicode text codepaths would be hit (unless there's something odd going on > somewhere) as binary data converts to native encoded text - unless of course > the means by which the data is getting into the app is being taken as unicode > strings (without knowing the exact I/O going on I can't really see how this > could happen, but I can't rule it out). > > In general, native text processing (item detection, comparison, containment > and such) is all as fast if not faster in the post-7 engines than 6.7 as I > spent quite a while specializing a lot of lower level routines to make sure > it was. > > I do know the word chunk has been somewhat adversely affected, however, as > that was never optimized in the same way. > >> The coding is gnarly - the oldest parts are probably at least 15 years >> old - and I've no doubt it could be made more efficient; but we don't >> have time or budget to rewrite it all. So, are there known gotchas, >> functions which have taken a much greater hit than others, that I >> could concentrate on to get the most ROI in speeding this up? > > Given that you don't have time nor budget to really touch the code at all > in any depth then it would best to not have to touch it at all and keep > it in 6.7.11? i.e. Do you really need to move to 6? > > Could you split the app into the bit which does the database communication > and caching (assuming that *really* needs to be 64-bit) and the bit which > does the data processing (which could remain as 32-bit in 6.7.11). > > Note I should say that the reason I ask the above is not because of a lack > of confidence in getting your code to run as fast as it did before but > because of pure business reasoning - why spend time and money on something > which isn't necessarily really needed? > > There's a difference between needing to update user-facing apps and true > back-office server apps after all - banks and insurance companies still have > software written on and running on machines which are decades old because > they work and the cost of keeping them running is vastly less than the cost > to rewrite and replace!). > > Warmest Regards, > > Mark. > From mark at livecode.com Thu Jan 30 10:03:05 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 30 Jan 2020 15:03:05 +0000 Subject: OMG text processing performance 6.7 - 9.5 In-Reply-To: <16ce9ebb-b95e-1af2-4dc8-37486747a533@cogapp.com> References: <5da9a349-3fc2-d629-00ed-62c9fe2e514d@cogapp.com> <8af39f48bc67ebc2c91a69be7f9adf4b@livecode.com> <16ce9ebb-b95e-1af2-4dc8-37486747a533@cogapp.com> Message-ID: <054122bf257fbf91d6d45c4d0977def4@livecode.com> On 2020-01-30 14:38, Ben Rubinstein via use-livecode wrote: > Hi Mark, > > Thanks for taking the time to reply! > > I'm indeed currently in the process of seeing whether I can persuade > the client's IT department to install the 32-bit drivers on the new > VM. I'm optimistic that will buy me some time, but it won't be a > complete solution because they outsource support to a third company, > which has warned that it doesn't intend to support the 32-bit drivers > much longer (apparently they're just waiting for Crystal Reports to be > updated!). Ah! From that I'm guessing you are using the ODBC revdb driver - which needs a third-party ODBC connector :) > And if that fails, one of my options is as you suggest to use the LC > 9.5-built app to retrieve the data through the 64-bit drivers, and the > the LC 6.7-built app to process and (probably) build it. It will be > shonky. It doesn't have to be 'shonky' - if the fetch-from-database part is already separated from the data-processing-part through cache-files (i.e. fetch writes to files on disk, data-process reads said files and processes) then you could build a 64-bit win standalone which is the fetch-from-database part, which is then called by the data-process part using shell (or open process). Of course, it would be slightly cleaner to all be one app :) > However, what you say certainly makes me feel more optimistic that > something should be possible. There's really very little going on in > the way of binary<->text conversion; there probably is a fair amount > of word chunking - although half the work is about tracing > cross-references etc, there's also a fair amount of processing of > 'prose' and prose-like text. However, the nature of the text is that > although 99% of it is probably ASCII, in any given table of text there > will be just a few 'extended' characters - does that mean it all gets > treated as four-byte data? Binary<->text can be quite subtle - as it isn't something you had to think about before 6.7. For example, if you are fetching using *b via revDB from the database, then *that* will now be binary data - not text. (Indeed, what accessors are you using to get the data?) Also, things like binfile and reading for binary (from a file) will also produce binary rather than text. You can test for binary data using 'is strictly a binary string'. Native encoding means (on Windows at least) anything which fits into Latin-1 so any text you are getting out of revDB from the database should come through as native strings. Native strings get converted to unicode internally when they are combined with a string which contains unicode and in two other places: 1) Using matchText / replaceText (because we use the utf-16 variant of PCRE) 2) When put into a field (because all text layout APIs on all platforms use UTF-16) What sort of text operations are you using for 'tracing cross-references etc' and 'processing of 'prose' and prose-like text'? > I'll see how the negotiations with IT get on... Good luck! Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From bobsneidar at iotecdigital.com Thu Jan 30 10:37:39 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 30 Jan 2020 15:37:39 +0000 Subject: html5Player In-Reply-To: <7708599E-6E01-4206-BE5B-3C035C09D32F@hyperhh.de> References: <7708599E-6E01-4206-BE5B-3C035C09D32F@hyperhh.de> Message-ID: Thanks Hermann. I probably misunderstand the use of this. I drug a simple stack into this but while it displays fine, it does not function. It is a simple Time Calculator where I enter the number of devices, a start and stop time with a lunch break and it divides the time "on the clock" between each device to the nearest minute. The Reset button which puts empty in all the data in the fields doesn't even do that. Bob S > On Jan 29, 2020, at 17:55 , hh via use-livecode wrote: > > HTML5: html5Player (v102 as of Jan 30, 2020) > > This is a HTML5 standalone (webApp in the new LC wording). > https://hyperhh.de/html5/html5Player.html > > This is a "standalone-Plus" that is, it is extended by several > javascript extensions for features that are not (yet) implemented > in LC-HTML5 or not possible with LC. From matthias_livecode_150811 at m-r-d.de Thu Jan 30 10:55:44 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 30 Jan 2020 16:55:44 +0100 Subject: OMG text processing performance 6.7 - 9.5 In-Reply-To: <5da9a349-3fc2-d629-00ed-62c9fe2e514d@cogapp.com> References: <5da9a349-3fc2-d629-00ed-62c9fe2e514d@cogapp.com> Message-ID: <5E4CC691-1E77-42E3-BAE3-E088AD95C044@m-r-d.de> Ben, what DB are you connecting to? We are running here a VM with Windows 2019 and MS SQL 2017. On a Windows 10 64bit VM we are using the 32 bit Microsoft ODBC Driver 11 for SQL Server to connect from our 32bit LC standalone to the MSSQL server, although 64bit ODBC Driver 11 is installed. But i cannot remember, if the 32bit driver was installed separately or was automatically installed when the 64bit ODBC Driver11 was installed. - Matthias Rebbe Life Is Too Short For Boring Code > Am 30.01.2020 um 14:20 schrieb Ben Rubinstein via use-livecode : > > I'm looking for a hints about where the speed has gone in the current (Unicode era) LiveCode text processing. I've been vaguely aware that text processing performance suffered in the transition, but haven't needed to focus on it before. > > The context is that I'm finally forced to replace an app that's been processing data for a client for well over a decade. To date the standalone has been built on LC 6.7.11; but now we need to put it on a new platform with 64-bit database drivers. The performance has gone through the floor, through the floors below, through the foundations, and is on its way to the centre of the earth. > > The first stage of the app - which retrieves a load of data from various databases and online sources, does minimal processing on it, and dumps it to cache files - is approx 2x slower. The main core of the app, which loads this data in and does a vast amount of processing on it to generate various output data and reports, has gone from 12 minutes to over *six hours*. > > (The server itself is different, and running Windows Server 2016 rather than Windows Server 2008, rather than but they're both VMs, quite likely on the same underlying hardware, and if anything I'd expect the new server to be more performant. Of course I assume that a new version of the OS will always be slower.... ) > > The coding is gnarly - the oldest parts are probably at least 15 years old - and I've no doubt it could be made more efficient; but we don't have time or budget to rewrite it all. So, are there known gotchas, functions which have taken a much greater hit than others, that I could concentrate on to get the most ROI in speeding this up? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode - Matthias Rebbe Life Is Too Short For Boring Code From alain.vezina at logilangue.com Thu Jan 30 11:06:12 2020 From: alain.vezina at logilangue.com (Alain Vezina) Date: Thu, 30 Jan 2020 11:06:12 -0500 Subject: html5Player In-Reply-To: <7708599E-6E01-4206-BE5B-3C035C09D32F@hyperhh.de> References: <7708599E-6E01-4206-BE5B-3C035C09D32F@hyperhh.de> Message-ID: <63AA4D07-9EBB-48A1-AB70-11BD55878D26@logilangue.com> Thanks a lot Herman for that work. It opens a lot of possibilities. Kind regards, Alain Vezina > Le 29 janv. 2020 ? 20:55, hh via use-livecode a ?crit : > > HTML5: html5Player (v102 as of Jan 30, 2020) > > This is a HTML5 standalone (webApp in the new LC wording). > https://hyperhh.de/html5/html5Player.html > > This is a "standalone-Plus" that is, it is extended by several > javascript extensions for features that are not (yet) implemented > in LC-HTML5 or not possible with LC. > > It can do among other the following. > > * Load (ordinary) local LC stacks by click or drag and drop. > The stacks will run if they would compile and run with the HTML5 > standalone builder (but you don't have to compile). > The stacks MUST have one of the file endings .rev, .livecode or > .livecodescript. > > * Load and display local or remote images (drag and drop images > or copy/paste image urls is supported). > > * Load and display local audio/video (for cross-browser support > use mp3 and mp4 only). Drag and drop file icons is supported. > > * Open a webview for videos, pdfs, audio streams and html pages. > In such a webview you can safely run also HTML5 standalones that > don't work in the html5Player because you inject javascript > handlers/objects to the loading page. > As the main page loads as https you can use https-Addresses only > in the webview (especially for audio/video-streams). > > * Open one or several webcam views (works in newer Chrome, Safari, > Brave, not in Firefox). > > All views are displayed in panels that are draggable and resizable > (incl. minimize and maximize). > > HTML5: html5IDE > (Inspector+Dictionary+ScriptEditor+Tools) > > The above html5Player will complete my experimental html5IDE that > is close to "ready"". I can also meanwhile save edited stacks. But > I don't publish newer versions than > https://hyperhh.de/html5/html5IDE.html > until LC does more in that field than renaming it to "WebApps". > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Thu Jan 30 13:00:59 2020 From: hh at hyperhh.de (hh) Date: Thu, 30 Jan 2020 19:00:59 +0100 Subject: html5Player Message-ID: <7ACE290C-252E-4EDA-99B8-354A5F9949B3@hyperhh.de> > BR wrote: can you save anything from that view? 1. Generally yes. But this needs ALWAYS, with all modern browsers, manual user interaction: click a button or select from a menu. Similarly user interaction (click, drag and drop) is needed to read in such objects. * STACKS Panels with an LC icon at top left are stacks: We can save them to the downloads folder (will be implemented in the webIDE), except the Player/IDE itself. Or we can save parts of it (images or text/scripts/prefs) to the downloads folder. * Image/Pdf/Text/Audio/Video Panels with an LC icon at top left are javascript extensions that use callbacks to the main engine: Saving is browser/server dependent. You have the browser interface available for actions with manual user interaction: For example rightClick a PDF to save it to your local filesystem or print it via your OS printing (if the pdf is set to allow this) or download a video/audio (if the audio/video is set to allow this). 2. For the LCPlayer ... ... saving stacks makes sense only for stacks that are downloaded from server and then changed in the LCPlayer, like stack "ImageView" that stores local images for display in a "gallery". But this stack is part of the LCPlayer and will not run correctly without the main stack. Of course you can let the user download stacks that are "modules" (e.g. in a zip) and then import such modules into the LCPlayer (via the "click/drop local stack"). This would work with LC 9-stacks even on every OS that runs the LCPlayer, even on a Raspi 3/4. From iphonelagi at gmail.com Thu Jan 30 13:04:26 2020 From: iphonelagi at gmail.com (Lagi Pittas) Date: Thu, 30 Jan 2020 18:04:26 +0000 Subject: html5Player In-Reply-To: <7708599E-6E01-4206-BE5B-3C035C09D32F@hyperhh.de> References: <7708599E-6E01-4206-BE5B-3C035C09D32F@hyperhh.de> Message-ID: Hermann strikes again. Brilliant stuff Hermann - and multiple stacks running at the same time too!! What could you do if you weren't in a straight jacket and blindfolded .(metaphorically speaking). >From memory, you have asked the team for a couple of "tweaks" that would mean you wouldn't have to jump through hoops and workarounds - hope they get some time soon to implement some of your suggestions. Hermann could you list here what is "missing" in a most important to less important list, to make the "webapps" more powerful and easier to "talk" to the DOM, Javascript etc? If you haven't got the time or the inclination I would understand - but maybe just maybe as they are nearing the end of the LCFM project they might look at this sooner rather than later. Regards Lagi On Thu, 30 Jan 2020 at 01:56, hh via use-livecode < use-livecode at lists.runrev.com> wrote: > HTML5: html5Player (v102 as of Jan 30, 2020) > > This is a HTML5 standalone (webApp in the new LC wording). > https://hyperhh.de/html5/html5Player.html > > This is a "standalone-Plus" that is, it is extended by several > javascript extensions for features that are not (yet) implemented > in LC-HTML5 or not possible with LC. > > It can do among other the following. > > * Load (ordinary) local LC stacks by click or drag and drop. > The stacks will run if they would compile and run with the HTML5 > standalone builder (but you don't have to compile). > The stacks MUST have one of the file endings .rev, .livecode or > .livecodescript. > > * Load and display local or remote images (drag and drop images > or copy/paste image urls is supported). > > * Load and display local audio/video (for cross-browser support > use mp3 and mp4 only). Drag and drop file icons is supported. > > * Open a webview for videos, pdfs, audio streams and html pages. > In such a webview you can safely run also HTML5 standalones that > don't work in the html5Player because you inject javascript > handlers/objects to the loading page. > As the main page loads as https you can use https-Addresses only > in the webview (especially for audio/video-streams). > > * Open one or several webcam views (works in newer Chrome, Safari, > Brave, not in Firefox). > > All views are displayed in panels that are draggable and resizable > (incl. minimize and maximize). > > HTML5: html5IDE > (Inspector+Dictionary+ScriptEditor+Tools) > > The above html5Player will complete my experimental html5IDE that > is close to "ready"". I can also meanwhile save edited stacks. But > I don't publish newer versions than > https://hyperhh.de/html5/html5IDE.html > until LC does more in that field than renaming it to "WebApps". > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at hyperhh.de Thu Jan 30 13:10:04 2020 From: hh at hyperhh.de (hh) Date: Thu, 30 Jan 2020 19:10:04 +0100 Subject: html5Player Message-ID: > Bob S. wrote: > I probably misunderstand the use of this. > I drug a simple stack into this but while it displays > fine, it does not function... Did you test it in the IDE? This is very simple in LC 9: Open the stack, select HTML5 (nothing else) in the standalone settings and hit the Test button. If it runs there it will run in the LCPlayer because it is the same engine. If it doesn't run then possibly you use wait (not supported in HTML5, use send in time instead). Or try to disable your preopenstack handler. In case you inject javascript handlers to the loading page then these may interfere with the main engine. You have to use a webview with the standalone from a (local) server instead. Known bug: The only bug I have seen until now with one of my > 100 tested LC 6/7/8/9 stacks (that don't use unsupported controls as players) is that a stack without titlebar doesn't 'slip' into a panel. One then has to do "close stack " or do "delete stack " from the LCPlayer-messageBox. From bobsneidar at iotecdigital.com Thu Jan 30 13:22:03 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 30 Jan 2020 18:22:03 +0000 Subject: html5Player In-Reply-To: References: Message-ID: Unnfortunately I only have the Community version and cannot test. Bob S > On Jan 30, 2020, at 10:10 , hh via use-livecode wrote: > >> Bob S. wrote: >> I probably misunderstand the use of this. >> I drug a simple stack into this but while it displays >> fine, it does not function... > > Did you test it in the IDE? This is very simple in LC 9: > > Open the stack, select HTML5 (nothing else) in the > standalone settings and hit the Test button. > > If it runs there it will run in the LCPlayer because it is > the same engine. > > If it doesn't run then possibly you use wait (not supported > in HTML5, use send in time instead). > Or try to disable your preopenstack handler. > > In case you inject javascript handlers to the loading page > then these may interfere with the main engine. You have to > use a webview with the standalone from a (local) server > instead. > > Known bug: > The only bug I have seen until now with one of my > 100 > tested LC 6/7/8/9 stacks (that don't use unsupported controls > as players) is that a stack without titlebar doesn't 'slip' > into a panel. > One then has to do "close stack " or do "delete stack > " from the LCPlayer-messageBox. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Thu Jan 30 13:31:34 2020 From: hh at hyperhh.de (hh) Date: Thu, 30 Jan 2020 19:31:34 +0100 Subject: Brave browser Message-ID: While testing intensively in the LC-HTML5 builder for cross-browser functionality of extensions I used Brave, Chrome, Firefox and Safari. My personal ranking in short: Safari is fastest with huge JS (the standalone engine), Firefox is slowest but has more special features, Chrome has most features (incl. caching technique). But the winner is the open-source browser Brave: Fast as Safari, features as Chrome and runs (close to the same on all OS) on MacOS, Windows, Linux, Android and iOS. https://brave.com/download/ (scroll down for mobile) From hh at hyperhh.de Thu Jan 30 13:52:12 2020 From: hh at hyperhh.de (hh) Date: Thu, 30 Jan 2020 19:52:12 +0100 Subject: html5Player Message-ID: <5CB08763-7743-4B0A-A4D5-676C9D6EB862@hyperhh.de> > Bob S. wrote: Unfortunately I only have the Community version > and cannot test. Works here with LC Community 9.5.1 (on MacOS 10.15.3): Open the stack, select HTML5 (nothing else) in the standalone settings and hit the Test button. You need a HTML5 license *only* for publishing standalones, just the same as you need an Indy license for publishing desktop standalones. [My html5Player is comparable to an Indy standalone that you can download to your OS and open and run local stacks with it. This will run stacks that would run in the IDE.] From ambassador at fourthworld.com Thu Jan 30 14:24:43 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Jan 2020 11:24:43 -0800 Subject: html5Player In-Reply-To: <5CB08763-7743-4B0A-A4D5-676C9D6EB862@hyperhh.de> References: <5CB08763-7743-4B0A-A4D5-676C9D6EB862@hyperhh.de> Message-ID: Hermann, do you know if would it be practical to run the generated LC-engine-as-JS file through a JS->WASM converter? If not, what would be needed to make that happen? -- 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 hh at hyperhh.de Thu Jan 30 15:11:38 2020 From: hh at hyperhh.de (hh) Date: Thu, 30 Jan 2020 21:11:38 +0100 Subject: html5Player Message-ID: <99DC39BA-5299-46C5-AF83-D0AD373BDC98@hyperhh.de> > Richard G. wrote: > do you know if would it be practical to run the generated > LC-engine-as-JS file through a JS->WASM converter? > If not, what would be needed to make that happen? AFAIK the current HTML5 standalone builder was made by Peter Brett in contact with Mark Waddingham. It uses Emscripten (only) to draw to a canvas. So, I don't know but I guess that the HTML5 standalone builder has to be (partially) rewritten to use Emscripten to compile LC source code into WebAssembly modules that run sandboxed together with regular JavaScript (having bindings especially to WebGL). One could omit controls/features that are/will soon be well done in HTML5, for example the audio/video/pdf/camera/img-webP parts. I guess this would run LC in a modern browser for some processes (especially graphics and image processing) much faster than in the current IDE. Who only can really answer (and do) that? Mark Waddingham and his team... From neville.smythe at optusnet.com.au Thu Jan 30 16:48:33 2020 From: neville.smythe at optusnet.com.au (Neville) Date: Fri, 31 Jan 2020 08:48:33 +1100 Subject: OMG text processing performance 6.7 - 9.5 Message-ID: Are you perchance using lineOffset searches? I have found that lineOffset performance on utf8 text degrades exponentially with the length of the file, presumably as it searches for line breaks. Use offset instead which remains fast (and much faster still if you can search on the raw text before textencoding, then utf8 encode the found chunks) From rdimola at evergreeninfo.net Thu Jan 30 17:41:04 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 30 Jan 2020 17:41:04 -0500 Subject: OMG text processing performance 6.7 - 9.5 In-Reply-To: References: Message-ID: <004601d5d7be$5eb2ec80$1c18c580$@net> I found this as well. Another thing, it's faster to truncate the string and search from the beginning than using a "start at" on the entire string when searching for all occurrences of a string . This was counter intuitive to me until Mark explained that skipping chars requires more work because repetitive skipping of Unicode chars is slower than many "memcpy"s on very long strings. 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 Neville via use-livecode Sent: Thursday, January 30, 2020 4:49 PM To: use-livecode at lists.runrev.com Cc: Neville Subject: Re: OMG text processing performance 6.7 - 9.5 Are you perchance using lineOffset searches? I have found that lineOffset performance on utf8 text degrades exponentially with the length of the file, presumably as it searches for line breaks. Use offset instead which remains fast (and much faster still if you can search on the raw text before textencoding, then utf8 encode the found chunks) _______________________________________________ use-livecode mailing list use-livecode at 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 Jan 30 20:01:34 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Jan 2020 01:01:34 +0000 Subject: OMG text processing performance 6.7 - 9.5 In-Reply-To: <8af39f48bc67ebc2c91a69be7f9adf4b@livecode.com> References: <5da9a349-3fc2-d629-00ed-62c9fe2e514d@cogapp.com> <8af39f48bc67ebc2c91a69be7f9adf4b@livecode.com> Message-ID: <115187A0-5A68-49CA-8F7E-D9C45FEB2C22@iotecdigital.com> Hi Mark. I have to chime in here that the difference between OS X apps accessing a sql database and Windows doing the same thing in the same app is substantial, and I cannot think why, unless it is Windows itself causing the problem. Querying my customer database for all my customer records takes 14 ticks on OSX. On Windows running in my Parallels it takes 59. On a server 2012 running in VMWare it takes 71! This has made my port to Windows almost unviable. If I had some kind of real answer as to what was causing this kind of lag, it would help. Bob S > On Jan 30, 2020, at 06:04 , Mark Waddingham via use-livecode wrote: > > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps From mark at livecode.com Fri Jan 31 06:06:59 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 31 Jan 2020 11:06:59 +0000 Subject: OMG text processing performance 6.7 - 9.5 In-Reply-To: <115187A0-5A68-49CA-8F7E-D9C45FEB2C22@iotecdigital.com> References: <115187A0-5A68-49CA-8F7E-D9C45FEB2C22@iotecdigital.com> Message-ID: <3DBFA734-2B04-418B-9BC4-EB91FAC3A8CF@livecode.com> That?s not comparing like-with-like though - you are comparing VMs running Windows on your Mac with your Mac by the sound of it... VMs introduce a fair bit of overhead for all I/O (and also for some code - depending on the age of your CPU and the virtualisation support it has). Mark Sent from my iPhone > On 31 Jan 2020, at 01:02, Bob Sneidar via use-livecode wrote: > > ?Hi Mark. > > I have to chime in here that the difference between OS X apps accessing a sql database and Windows doing the same thing in the same app is substantial, and I cannot think why, unless it is Windows itself causing the problem. Querying my customer database for all my customer records takes 14 ticks on OSX. On Windows running in my Parallels it takes 59. On a server 2012 running in VMWare it takes 71! > > This has made my port to Windows almost unviable. If I had some kind of real answer as to what was causing this kind of lag, it would help. > > Bob S > > > >> On Jan 30, 2020, at 06:04 , Mark Waddingham via use-livecode wrote: >> >> >> 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 benr_mc at cogapp.com Fri Jan 31 08:15:35 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 31 Jan 2020 13:15:35 -0000 Subject: OMG text processing performance 6.7 - 9.5 In-Reply-To: <004601d5d7be$5eb2ec80$1c18c580$@net> References: <004601d5d7be$5eb2ec80$1c18c580$@net> Message-ID: <10eefc3e-d7d5-3b8c-26bd-3eee580d4f9f@cogapp.com> Ooh, that's very likely to be a good tip. (I think the database stuff is a red herring, by the way: the bulk of the delay is in the processing stage, which is just reading text files in and out.) Thanks everyone for their input. I'll report back with what I can find (unless I can persuade IT to let me use the 32 bit drivers!) Ben On 30/01/2020 22:41, Ralph DiMola via use-livecode wrote: > I found this as well. Another thing, it's faster to truncate the string and > search from the beginning than using a "start at" on the entire string when > searching for all occurrences of a string . This was counter intuitive to me > until Mark explained that skipping chars requires more work because > repetitive skipping of Unicode chars is slower than many "memcpy"s on very > long strings. > > 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 Neville via use-livecode > Sent: Thursday, January 30, 2020 4:49 PM > To: use-livecode at lists.runrev.com > Cc: Neville > Subject: Re: OMG text processing performance 6.7 - 9.5 > > Are you perchance using lineOffset searches? I have found that lineOffset > performance on utf8 text degrades exponentially with the length of the file, > presumably as it searches for line breaks. Use offset instead which remains > fast (and much faster still if you can search on the raw text before > textencoding, then utf8 encode the found chunks) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Fri Jan 31 08:50:05 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 31 Jan 2020 13:50:05 +0000 Subject: Basic URL loading on Android - can't resolve host Message-ID: <2a13aab3-00bb-9d4f-702f-77ca72788f8f@cogapp.com> I've just started trying to create an Android app after a year or two. Restored Android studio etc, fine. The first thing I try to do is load a simple URL. But I get tsneterr:(6) Could not resolve host: google.com (or any other hostname from any other URL). Using the browser on the device to access the same URL works fine. Any URL I've tried has the same effect. I've tried on another Android device, running a different version of Android - same effect. I've tried de-selecting "automatic inclusion" and selected (among other things) Internet SSL & Encryption tsNet What am I doing wrong? TIA, Ben From Bernd.Niggemann at uni-wh.de Fri Jan 31 08:56:45 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Fri, 31 Jan 2020 13:56:45 +0000 Subject: OMG text processing performance 6.7 - 9.5 Message-ID: <86BEDC60-E7EE-41AA-B457-2DFBF3F0031C@uni-wh.de> Ben, If you have access to a business-license you could use "script profiling" on a small but representative sample of your data and see where the bottlenecks are. If you find any you could try to optimize that part. "script profiling" adds its own overhead to the processing time (roughly doubles it) but if you keep the sample small it is well worth it in my experience. Kind regards Bernd From merakosp at gmail.com Fri Jan 31 08:59:52 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 31 Jan 2020 15:59:52 +0200 Subject: Basic URL loading on Android - can't resolve host In-Reply-To: <2a13aab3-00bb-9d4f-702f-77ca72788f8f@cogapp.com> References: <2a13aab3-00bb-9d4f-702f-77ca72788f8f@cogapp.com> Message-ID: Hello Ben, Does checking the "Internet" permission in the Android Standalone Settings (not in the Inclusions) fix the problem? Kind regards, Panos -- On Fri, 31 Jan 2020 at 15:50, Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > I've just started trying to create an Android app after a year or two. > Restored Android studio etc, fine. > > The first thing I try to do is load a simple URL. But I get > tsneterr:(6) Could not resolve host: google.com > > (or any other hostname from any other URL). > > Using the browser on the device to access the same URL works fine. > > Any URL I've tried has the same effect. > > I've tried on another Android device, running a different version of > Android - > same effect. > > I've tried de-selecting "automatic inclusion" and selected (among other > things) > Internet > SSL & Encryption > tsNet > > What am I doing wrong? > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sean at pidigital.co.uk Fri Jan 31 09:16:47 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 31 Jan 2020 14:16:47 +0000 Subject: Brave browser In-Reply-To: References: Message-ID: Brave is a Chromium based browser too but without the ads so this stands to reason it would be faster and better. Unfortunately, most corporations IT depts are unlikely to veer from using Google Chrome to other chromium strains. And this is the market I think LC HTML5 is going to prosper in the most for the future. Harman, can you put together a priority list of items that need to be fixed in HTML5 deployment as I am currently adjusting the code. I mean things that should just work without running external JS workarounds like most of the key commands not working in a simple text field, etc. All the best Sean Cole Pi Digital Prod Ltd > On 30 Jan 2020, at 18:31, hh via use-livecode wrote: > > ?While testing intensively in the LC-HTML5 builder for > cross-browser functionality of extensions I used > Brave, Chrome, Firefox and Safari. > > My personal ranking in short: > > Safari is fastest with huge JS (the standalone engine), > Firefox is slowest but has more special features, > Chrome has most features (incl. caching technique). > > But the winner is the open-source browser Brave: > > Fast as Safari, features as Chrome and runs (close to > the same on all OS) on MacOS, Windows, Linux, Android > and iOS. > https://brave.com/download/ (scroll down for mobile) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Fri Jan 31 09:32:16 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 31 Jan 2020 14:32:16 +0000 Subject: Basic URL loading on Android - can't resolve host In-Reply-To: References: <2a13aab3-00bb-9d4f-702f-77ca72788f8f@cogapp.com> Message-ID: <623b9026-1624-5e69-48ca-91ea668dfe43@cogapp.com> Yes it does! Thanks Panos, Ben On 31/01/2020 13:59, panagiotis merakos via use-livecode wrote: > Hello Ben, > > Does checking the "Internet" permission in the Android Standalone Settings > (not in the Inclusions) fix the problem? > > Kind regards, > Panos > -- > > On Fri, 31 Jan 2020 at 15:50, Ben Rubinstein via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I've just started trying to create an Android app after a year or two. >> Restored Android studio etc, fine. >> >> The first thing I try to do is load a simple URL. But I get >> tsneterr:(6) Could not resolve host: google.com >> >> (or any other hostname from any other URL). >> >> Using the browser on the device to access the same URL works fine. >> >> Any URL I've tried has the same effect. >> >> I've tried on another Android device, running a different version of >> Android - >> same effect. >> >> I've tried de-selecting "automatic inclusion" and selected (among other >> things) >> Internet >> SSL & Encryption >> tsNet >> >> What am I doing wrong? >> >> TIA, >> >> Ben >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 31 10:47:05 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Jan 2020 15:47:05 +0000 Subject: OMG text processing performance 6.7 - 9.5 In-Reply-To: <3DBFA734-2B04-418B-9BC4-EB91FAC3A8CF@livecode.com> References: <115187A0-5A68-49CA-8F7E-D9C45FEB2C22@iotecdigital.com> <3DBFA734-2B04-418B-9BC4-EB91FAC3A8CF@livecode.com> Message-ID: <8097859F-9D94-444B-89A3-095833D45F77@iotecdigital.com> Not so fast. On a standalone workstation Windows 7 64bit 16gig memory and an SSD: 64 ticks. Compared with 14 ticks on my Mac OS X. My Parallels VM is outperforming a workstation. Oh, and the Windows workstation? It's the workstation running the mySQL instance!!! That's exactly my point. It is decidedly NOT like-with-like, but it has nothing to do with virtualization. The Windows LC is running very much slower than the Mac OS, and I'm not blaming LC. It may be Windows itself. I disabled my Antivirus. Got it down to 57 ticks. Bob S > On Jan 31, 2020, at 03:06 , Mark Waddingham via use-livecode wrote: > > That?s not comparing like-with-like though - you are comparing VMs running Windows on your Mac with your Mac by the sound of it... VMs introduce a fair bit of overhead for all I/O (and also for some code - depending on the age of your CPU and the virtualisation support it has). > > Mark > > Sent from my iPhone From bobsneidar at iotecdigital.com Fri Jan 31 10:54:03 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Jan 2020 15:54:03 +0000 Subject: OMG text processing performance 6.7 - 9.5 In-Reply-To: <8097859F-9D94-444B-89A3-095833D45F77@iotecdigital.com> References: <115187A0-5A68-49CA-8F7E-D9C45FEB2C22@iotecdigital.com> <3DBFA734-2B04-418B-9BC4-EB91FAC3A8CF@livecode.com> <8097859F-9D94-444B-89A3-095833D45F77@iotecdigital.com> Message-ID: I take that back it's a 32 bit Windows OS (dunno why I even still have this PC). But bitness is not going to affect a single network thread. Also the processor is an i3 running at 3.1. My mac is an i7 running at 2.3. Also my Mac is clamped to 100mb networking due to the nature of our VIOP phones. The Standalone Workstation is gigabit and as I mentioned IS the SQL server itself. Bob S > On Jan 31, 2020, at 07:47 , Bob Sneidar via use-livecode wrote: > > Not so fast. On a standalone workstation Windows 7 64bit 16gig memory and an SSD: 64 ticks. Compared with 14 ticks on my Mac OS X. My Parallels VM is outperforming a workstation. Oh, and the Windows workstation? It's the workstation running the mySQL instance!!! > > That's exactly my point. It is decidedly NOT like-with-like, but it has nothing to do with virtualization. The Windows LC is running very much slower than the Mac OS, and I'm not blaming LC. It may be Windows itself. I disabled my Antivirus. Got it down to 57 ticks. > > Bob S > > >> On Jan 31, 2020, at 03:06 , Mark Waddingham via use-livecode wrote: >> >> That?s not comparing like-with-like though - you are comparing VMs running Windows on your Mac with your Mac by the sound of it... VMs introduce a fair bit of overhead for all I/O (and also for some code - depending on the age of your CPU and the virtualisation support it has). >> >> Mark >> >> Sent from my iPhone From mark at livecode.com Fri Jan 31 12:02:07 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 31 Jan 2020 17:02:07 +0000 Subject: OMG text processing performance 6.7 - 9.5 In-Reply-To: References: Message-ID: <3C20806E-C6FF-421E-B023-AEC77AF45C45@livecode.com> I don?t think you read too much into differences of as little as 10ticks - the error in time measurement for a single run would be too high. It?s seems to make sense that vms would do the same task slower than the machine that they run on so I don?t think that?s a very interesting comparison. Your windows workstation is an i3 - I suspect it only has two cores - SSDs whilst fast can only do one thing at a time. When you are running the database and client on the same machine I suspect there?s more contention there then when client and server are separate machines... The code on the LC side is the same (engine and client drivers) so it?s almost certainly hardware / OS causing the difference. Warmest Regards, Mark Sent from my iPhone > On 31 Jan 2020, at 15:54, Bob Sneidar via use-livecode wrote: > > ?I take that back it's a 32 bit Windows OS (dunno why I even still have this PC). But bitness is not going to affect a single network thread. Also the processor is an i3 running at 3.1. My mac is an i7 running at 2.3. Also my Mac is clamped to 100mb networking due to the nature of our VIOP phones. The Standalone Workstation is gigabit and as I mentioned IS the SQL server itself. > > Bob S > > >> On Jan 31, 2020, at 07:47 , Bob Sneidar via use-livecode wrote: >> >> Not so fast. On a standalone workstation Windows 7 64bit 16gig memory and an SSD: 64 ticks. Compared with 14 ticks on my Mac OS X. My Parallels VM is outperforming a workstation. Oh, and the Windows workstation? It's the workstation running the mySQL instance!!! >> >> That's exactly my point. It is decidedly NOT like-with-like, but it has nothing to do with virtualization. The Windows LC is running very much slower than the Mac OS, and I'm not blaming LC. It may be Windows itself. I disabled my Antivirus. Got it down to 57 ticks. >> >> Bob S >> >> >>>> On Jan 31, 2020, at 03:06 , Mark Waddingham via use-livecode wrote: >>> >>> That?s not comparing like-with-like though - you are comparing VMs running Windows on your Mac with your Mac by the sound of it... VMs introduce a fair bit of overhead for all I/O (and also for some code - depending on the age of your CPU and the virtualisation support it has). >>> >>> Mark >>> >>> Sent from my iPhone > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 31 12:52:31 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 31 Jan 2020 17:52:31 +0000 Subject: OMG text processing performance 6.7 - 9.5 In-Reply-To: <3C20806E-C6FF-421E-B023-AEC77AF45C45@livecode.com> References: <3C20806E-C6FF-421E-B023-AEC77AF45C45@livecode.com> Message-ID: That's what Isuspect as well. Thanks. Bob S > On Jan 31, 2020, at 09:02 , Mark Waddingham via use-livecode wrote: > > The code on the LC side is the same (engine and client drivers) so it?s almost certainly hardware / OS causing the difference. > > Warmest Regards, > > Mark From ambassador at fourthworld.com Fri Jan 31 15:05:54 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Jan 2020 12:05:54 -0800 Subject: html5Player In-Reply-To: <99DC39BA-5299-46C5-AF83-D0AD373BDC98@hyperhh.de> References: <99DC39BA-5299-46C5-AF83-D0AD373BDC98@hyperhh.de> Message-ID: <1dc2ab07-a369-1c9b-0d73-44a61aa49e7e@fourthworld.com> hh wrote: >> Richard G. wrote: >> do you know if would it be practical to run the generated >> LC-engine-as-JS file through a JS->WASM converter? >> If not, what would be needed to make that happen? > > AFAIK the current HTML5 standalone builder was made by Peter > Brett in contact with Mark Waddingham. It uses Emscripten (only) > to draw to a canvas. > > So, I don't know but I guess that the HTML5 standalone builder > has to be (partially) rewritten to use Emscripten to compile LC > source code into WebAssembly modules that run sandboxed together > with regular JavaScript (having bindings especially to WebGL). > One could omit controls/features that are/will soon be well done > in HTML5, for example the audio/video/pdf/camera/img-webP parts. > > I guess this would run LC in a modern browser for some processes > (especially graphics and image processing) much faster than in > the current IDE. > > Who only can really answer (and do) that? > > Mark Waddingham and his team... I think my question is different, though it may be irrelevant if there's something about LC's Emscripten-generated JS lib that makes this unworkable: I'm seeing a growing number of JS->WASM converters out there, seemingly designed to replace a JS lib with a WASM version that is functionally identical, just smaller and faster. I'm wondering if anyone has tried this with the generated JS version of the LC engine. -- 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 hh at hyperhh.de Fri Jan 31 16:15:05 2020 From: hh at hyperhh.de (hh) Date: Fri, 31 Jan 2020 22:15:05 +0100 Subject: html5Player Message-ID: <991D697C-FD28-470E-9C01-4A79DD121F48@hyperhh.de> > Richard G. wrote: > I'm seeing a growing number of JS->WASM converters out there ... Where? Please cite some. > ... seemingly designed to replace a JS lib with a WASM version > that is functionally identical, just smaller and faster. > I'm wondering if anyone has tried this with the generated JS > version of the LC engine. Have you ever looked into that generated js file? It is extremely hard to adjust manually anything -- that's probably why LC has until now not even support for the modifier keys in HTML5 though that's very simple to get directly from js. So a "converter" that requires manual adjustments is useless. From hh at hyperhh.de Fri Jan 31 17:14:45 2020 From: hh at hyperhh.de (hh) Date: Fri, 31 Jan 2020 23:14:45 +0100 Subject: HTML5 deployment Message-ID: <9CA9A9A9-4CE2-4057-96FA-971598C80A86@hyperhh.de> > Sean C. wrote (in thread 'Brave'): > ... can you put together a priority list of items that need to > be fixed in HTML5 deployment as I am currently adjusting the code. > I mean things that should just work without running external > JS workarounds like most of the key commands not working in a > simple text field, etc. [Adjusting which code? If this is some part of the standalone builder I would like to see it.] My list is long. To avoid that minor things are solved instead of the major ones here the most important only (ordered by importance): 1. *Full* keyboard and mouse (incl. wheel) support. 2. Support for usual field shortcuts (selectAll, copy, cut, paste, undo) and rawkey handlers. 3. Improve the canvas generation: Currently LC generates canvases for stacks, tooltips and menus that are without querying windowIDs for all stacks undistinguishable. Often menus and tooltips are hidden by stacks: 3a. Menus need to have an own fixed (very high) z-level, 3b. Tooltips need to have an own fixed (very high) z-level, 3c. Stacks need an own class for easier access in DOM. 4. Add a draggable, resizable windowing system (adding titlebar, decorations) with automatic layering (z-levels). Using js workarounds I got 1.+2. by using native fields and 3.+4. by adjusting a panel-script of 350 lines (I tried 5 libs, only one worked with the LC-menu-canvases, see htmlPlayer). From preid at reidit.co.uk Fri Jan 31 19:18:22 2020 From: preid at reidit.co.uk (Peter Reid) Date: Sat, 1 Feb 2020 00:18:22 +0000 Subject: Automating User Input In-Reply-To: References: Message-ID: <83FCF902-1747-4A9C-A774-67F850224250@reidit.co.uk> I'm writing an app that needs to complete a couple of forms that are being displayed by a browser as if the user was doing it interactively. This is to save the user from having to enter complex medical terms. If the user were to interact directly with the browser, they could press the tab key repeatedly to move from file to field, checkbox to checkbox etc. I'd like my app to do the same tabbing etc. instead of my user who could sit back and watch the form being completed interactively! Any idea whether this is possible and if so how? Thanks. Peter -- Peter Reid Loughborough, UK From ambassador at fourthworld.com Fri Jan 31 22:13:29 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Jan 2020 19:13:29 -0800 Subject: html5Player In-Reply-To: <991D697C-FD28-470E-9C01-4A79DD121F48@hyperhh.de> References: <991D697C-FD28-470E-9C01-4A79DD121F48@hyperhh.de> Message-ID: hh wrote: >> Richard G. wrote: >> I'm seeing a growing number of JS->WASM converters out there ... > > Where? Please cite some. My bad: the pages I'd seen in listings turn out to be more, shall we say, aspirational. And the more I read about WASM the less it seems some sort of magic pony I'd imagined it to be, more complex to compile to and of more limited value than I'd thought. Apparently Emscripten has a WASM output option, but it's not as simple as flipping a checkbox. So I'm no longer in the Waiting for WASM camp; JIT compilation in both Firefox and Chrome is pretty good as-is, and WASM makes a fine sidecar for some tasks previously written in C++ but doesn't do much for JS work. >> ... seemingly designed to replace a JS lib with a WASM version >> that is functionally identical, just smaller and faster. >> I'm wondering if anyone has tried this with the generated JS >> version of the LC engine. > > Have you ever looked into that generated js file? > > It is extremely hard to adjust manually anything -- that's probably > why LC has until now not even support for the modifier keys in HTML5 > though that's very simple to get directly from js. > > So a "converter" that requires manual adjustments is useless. I certainly wasn't advocating manual work, just has an over-caffeinated moment of unwarranted optimism with regard to the state of WASM tools and its role. After my evening's reading I'm over it now. There is no magic pony. Thanks for the roadside sobriety check on the Information Superhighway. :) -- Richard Gaskin Fourth World Systems From sean at pidigital.co.uk Fri Jan 31 23:16:19 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sat, 1 Feb 2020 04:16:19 +0000 Subject: HTML5 deployment In-Reply-To: <9CA9A9A9-4CE2-4057-96FA-971598C80A86@hyperhh.de> References: <9CA9A9A9-4CE2-4057-96FA-971598C80A86@hyperhh.de> Message-ID: That's perfect, thank you. 1&2 were already at the top of my high priority list. 3 & 4 I fully appreciate. Certainly, 3a and 3b should be relatively easy to achieve. 3c and 4 slightly less so although I would be happy to hear your guidance on this. I'm assuming you already know where to find the current emscripten code base. https://github.com/livecode/livecode/tree/develop/engine/src and everything starting with 'em-'. em-event.js is the one for 1 & 2 causing the problem mainly because of its use of now deprecated event handlers. That's what I am working on right now. em-dc, em-nativeLayer and em-surface are what is likely to do with 3 & 4. Maybe also em-preamble-overlay.js. em-clipboard obviously may have some relevance to the clipboard issue but I'm working on the assumption first it is more likely just a keyboard/input event issue. Let me know if you see anything in there that stands out to you. Ian at LC Mothership helped me get set up for building and editing in Linux so I can test anything I change. So far its very promising. It would be great to have it ready for and included in LC9.7/10.0 Sean Cole *Pi Digital * On Fri, 31 Jan 2020 at 22:14, hh via use-livecode < use-livecode at lists.runrev.com> wrote: > > Sean C. wrote (in thread 'Brave'): > > ... can you put together a priority list of items that need to > > be fixed in HTML5 deployment as I am currently adjusting the code. > > I mean things that should just work without running external > > JS workarounds like most of the key commands not working in a > > simple text field, etc. > > [Adjusting which code? If this is some part of the standalone > builder I would like to see it.] > > My list is long. To avoid that minor things are solved instead of > the major ones here the most important only (ordered by importance): > > 1. *Full* keyboard and mouse (incl. wheel) support. > > 2. Support for usual field shortcuts (selectAll, copy, cut, paste, > undo) and rawkey handlers. > > 3. Improve the canvas generation: > > Currently LC generates canvases for stacks, tooltips and > menus that are without querying windowIDs for all stacks > undistinguishable. Often menus and tooltips are hidden by stacks: > > 3a. Menus need to have an own fixed (very high) z-level, > 3b. Tooltips need to have an own fixed (very high) z-level, > 3c. Stacks need an own class for easier access in DOM. > > 4. Add a draggable, resizable windowing system (adding titlebar, > decorations) with automatic layering (z-levels). > > Using js workarounds I got 1.+2. by using native fields and 3.+4. > by adjusting a panel-script of 350 lines (I tried 5 libs, only > one worked with the LC-menu-canvases, see htmlPlayer). > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode >