From panos.merakos at livecode.com Mon Apr 1 10:01:38 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 1 Apr 2019 17:01:38 +0300 Subject: [ANN] This Week in LiveCode 174 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 #174 here: https://goo.gl/8cKgtw 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 lists at mangomultimedia.com Mon Apr 1 10:37:45 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 1 Apr 2019 09:37:45 -0500 Subject: Levure Dataview Question In-Reply-To: References: <073301d4e649$6c234980$4469dc80$@themartinz.com> Message-ID: On Fri, Mar 29, 2019 at 1:41 PM David Bovill via use-livecode < use-livecode at lists.runrev.com> wrote: > Is there built in support for drag- reordering of rows? > There are some APIs for helping with drag reordering. They are not currently documented though. The following code will create a drag image from one of the rows and turn on tracking so that a horizontal bar appears within the DataView where the drop will occur. ``` on dragStart set the dvDragImageRow of me to item 1 of the dvHilitedRows of me set the dvTrackDragReorder[the dvHilitedRows of me] of me to true set the dragData["private"] to the dvHilitedRows of me # dragdata has to be set to something. end dragStart ``` The DataView will then send a `DragReorderRows` message when the drop occurs. Since the DataView doesn't know anything about your data source it is up to the developer to update the data source and refresh the view. The `DragReorderRows` handler looks like this: ``` command DragReorderRows pRowsBeingDragged, pMoveToRow, pDroppedAfterRow put "pRowsBeingDragged:" && pRowsBeingDragged & cr & \ "pMoveToRow:" && pMoveToRow & cr & \ "pDroppedAfterRow:" && pDroppedAfterRow end DragReorderRows ``` -- Trevor DeVore ScreenSteps www.screensteps.com From jacque at hyperactivesw.com Mon Apr 1 14:37:01 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 1 Apr 2019 13:37:01 -0500 Subject: Browser layering Message-ID: Okay, next up: I thought all widgets could be layered like any other control. Are browser widgets an exception? Mine always appears on top regardless of its layer. I know this was expected with the revBrowser implementation but was hoping it was different for the widget. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 1 15:18:45 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 1 Apr 2019 14:18:45 -0500 Subject: Anchor links in browser widget In-Reply-To: References: <4f4603ba-b959-ccdc-02c0-6c16fad0e55f@hyperactivesw.com> Message-ID: And...it broke again. Reloading the content causes scripted internal links to fail, even when using the dummy URL. Yesterday I was able to work around it by deleting and recreating the widget but today that doesn't work either. I may need to go back to the revBrowser implementation, since layering isn't working with the widget anyway and internal links aren't reliable. Does anyone have suggestions before I do that? On 3/31/19 10:21 PM, J. Landman Gay via use-livecode wrote: > Of course, I figured it out as soon as I posted, but who would have > guessed the link is: http://libbrowser_dummy_url/#1234 > > LibBrowserDummy. Right. > > On 3/31/19 10:00 PM, J. Landman Gay via use-livecode wrote: >> I have a browser widget that I'm loading with HTML from a variable, so >> it doesn't have a URL per se. The HTML contains anchor links to other >> parts of the page, which work when I click them. I also want to call >> these anchors from a script. What's the right syntax? >> >> These fail: >> set the url of widget "browser" to "#1234" >> set the url of widget "browser" to "" >> set the url of widget "browser" to "" >> > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brian at milby7.com Mon Apr 1 14:59:46 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 1 Apr 2019 14:59:46 -0400 Subject: Browser layering In-Reply-To: References: Message-ID: Any native control will layer adove everything generated by LC. ?So the portion of widgets that are native hover over everything non-native. ?You can layer native widgets, but not all work the same (browser seems to be on top of other native controls for example). Thanks, Brian On Apr 1, 2019, 2:38 PM -0400, J. Landman Gay via use-livecode , wrote: > Okay, next up: I thought all widgets could be layered like any other > control. Are browser widgets an exception? Mine always appears on top > regardless of its layer. > > I know this was expected with the revBrowser implementation but was > hoping it was different for the widget. > > -- > 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 hh at hyperhh.de Mon Apr 1 16:37:59 2019 From: hh at hyperhh.de (hh) Date: Mon, 1 Apr 2019 22:37:59 +0200 Subject: Anchor links in browser widget Message-ID: <3719C341-34D8-4C97-83C7-EE089400CA47@hyperhh.de> > JLG wrote: > I may need to go back to the revBrowser implementation, since > layering isn't working with the widget anyway and internal links > aren't reliable. The browser widget needs some time after a "reloading" (setting the htmltext in your case). set htmltext of widget "browser" to empty set htmltext of widget "browser" to htm wait 10 ticks with messages --> may need even more time on preopenstack set url of widget "browser" to "http://libbrowser_dummy_url/#1234" Moreover: = Canvas methods work with revbrowser on Mac only, nowhere else. = You can put a palette over a browser widget: http://forums.livecode.com/viewtopic.php?p=152773#p152773 = You can put a browser widget over a browser widget: http://forums.livecode.com/viewtopic.php?p=172789#p172789 From brahma at hindu.org Mon Apr 1 18:35:46 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 1 Apr 2019 22:35:46 +0000 Subject: Hit Box for widgets Message-ID: <7AF5C049-171E-4860-958B-84AF177A072B@hindu.org> On a back arrow widget (SVGFontAwesome), meant to act as a button? I thought the "toachable" hit box included the context/rect that the widget as placed in. Or so I thought in a previous version of < 9.0.4 rc2 But now in 9.0.4 RC2, I kept wondering why it did not work. But I got a stylus and even a touch just two pixels away from the widget, even inside the "rect" will not triggered. So here I was thinking?"wow performance is terrible, sometime it works sometimes not." *********************************************** * A touch here, ** * * is not "heard" ** * * by the engine ** * * ** * * * * * * * * * * * * * *********************************************** Is there some other way rather creating a group for every widget that is supposed to act as a button? BR From jacque at hyperactivesw.com Mon Apr 1 22:23:57 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Apr 2019 21:23:57 -0500 Subject: Hit Box for widgets In-Reply-To: <7AF5C049-171E-4860-958B-84AF177A072B@hindu.org> References: <7AF5C049-171E-4860-958B-84AF177A072B@hindu.org> Message-ID: <169dbdc3660.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The trick was just pointed out to me recently here on the list. You can now "import as control" an SVG and treat it like any other image. It's genius. Import the SVG, hide it, and assign its ID as the icon of a button. The icon will be the same size as you make the SVG and the button itself can be as large as you want. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 1, 2019 5:37:53 PM Sannyasin Brahmanathaswami via use-livecode wrote: > On a back arrow widget (SVGFontAwesome), meant to act as a button? > > I thought the "toachable" hit box included the context/rect that the widget > as placed in. Or so I thought in a previous version of < 9.0.4 rc2 > > But now in 9.0.4 RC2, I kept wondering why it did not work. But I got a > stylus and even a touch just two pixels away from the widget, even inside > the "rect" will not triggered. So here I was thinking?"wow performance is > terrible, sometime it works sometimes not." > > > *********************************************** > * A touch here, ** > * > * is not "heard" ** > * > * by the engine ** > * > * ** > * > * * * > * > * * * > * > * * * > * > *********************************************** > > Is there some other way rather creating a group for every widget that is > supposed to act as a button? > > 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 jacque at hyperactivesw.com Mon Apr 1 22:37:33 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 1 Apr 2019 21:37:33 -0500 Subject: Browser layering In-Reply-To: References: Message-ID: I see. Thanks. It looks like a redesign is in order. On 4/1/19 1:59 PM, Brian Milby via use-livecode wrote: > Any native control will layer adove everything generated by LC. ?So the portion of widgets that are native hover over everything non-native. ?You can layer native widgets, but not all work the same (browser seems to be on top of other native controls for example). > > Thanks, > Brian > On Apr 1, 2019, 2:38 PM -0400, J. Landman Gay via use-livecode , wrote: >> Okay, next up: I thought all widgets could be layered like any other >> control. Are browser widgets an exception? Mine always appears on top >> regardless of its layer. >> >> I know this was expected with the revBrowser implementation but was >> hoping it was different for the widget. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 1 22:59:46 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 1 Apr 2019 21:59:46 -0500 Subject: Anchor links in browser widget In-Reply-To: <3719C341-34D8-4C97-83C7-EE089400CA47@hyperhh.de> References: <3719C341-34D8-4C97-83C7-EE089400CA47@hyperhh.de> Message-ID: Thanks for the input, hh. I don't think load time is the problem since I waited several minutes while doing something else and it was still unresponsive. What I've gleaned from two days of fighting with it is that if you set the htmltext of a browser widget, it has no URL at all and so scripted references to anchor links fail. If you set the empty browser URL to "http://libbrowser_dummy_url/" and try to attach an anchor to that, it still fails. If you tap an existing anchor link in the browser, it will navigate to the linked text and sometimes the URL will change to ""http://libbrowser_dummy_url/" by itself, after which using that URL in a script will work. But sometimes it doesn't change, the URL remains empty, and I haven't figured out why. If you load the htmltext from a file on disk, the URL is set to the file path and it will respond to an anchor link sent via script. This is probably the most viable solution since I can write the text to disk first and then load it. Re: layering. I can't use palettes since this is a mobile app, but that's good to know in general. What I need is a slide-out panel with a tree view widget that appears over the html page. It looks like that isn't going to happen. On 4/1/19 3:37 PM, hh via use-livecode wrote: >> JLG wrote: >> I may need to go back to the revBrowser implementation, since >> layering isn't working with the widget anyway and internal links >> aren't reliable. > > The browser widget needs some time after a "reloading" (setting the > htmltext in your case). > > set htmltext of widget "browser" to empty > set htmltext of widget "browser" to htm > wait 10 ticks with messages --> may need even more time on preopenstack > set url of widget "browser" to "http://libbrowser_dummy_url/#1234" > > Moreover: > = Canvas methods work with revbrowser on Mac only, nowhere else. > = You can put a palette over a browser widget: > http://forums.livecode.com/viewtopic.php?p=152773#p152773 > = You can put a browser widget over a browser widget: > http://forums.livecode.com/viewtopic.php?p=172789#p172789 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 brian at milby7.com Mon Apr 1 23:24:44 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 1 Apr 2019 23:24:44 -0400 Subject: Anchor links in browser widget In-Reply-To: References: <3719C341-34D8-4C97-83C7-EE089400CA47@hyperhh.de> Message-ID: May be able to take a screen shot, show it, hide the real browser, show the tree widget. ?That does require that the browser contains something static and user can?t interact with the browser while the tree is visible. Thanks, Brian On Apr 1, 2019, 11:00 PM -0400, J. Landman Gay via use-livecode , wrote: > Thanks for the input, hh. I don't think load time is the problem since I > waited several minutes while doing something else and it was still > unresponsive. What I've gleaned from two days of fighting with it is > that if you set the htmltext of a browser widget, it has no URL at all > and so scripted references to anchor links fail. > > If you set the empty browser URL to "http://libbrowser_dummy_url/" and > try to attach an anchor to that, it still fails. > > If you tap an existing anchor link in the browser, it will navigate to > the linked text and sometimes the URL will change to > ""http://libbrowser_dummy_url/" by itself, after which using that URL in > a script will work. But sometimes it doesn't change, the URL remains > empty, and I haven't figured out why. > > If you load the htmltext from a file on disk, the URL is set to the file > path and it will respond to an anchor link sent via script. This is > probably the most viable solution since I can write the text to disk > first and then load it. > > Re: layering. I can't use palettes since this is a mobile app, but > that's good to know in general. What I need is a slide-out panel with a > tree view widget that appears over the html page. It looks like that > isn't going to happen. > > On 4/1/19 3:37 PM, hh via use-livecode wrote: > > > JLG wrote: > > > I may need to go back to the revBrowser implementation, since > > > layering isn't working with the widget anyway and internal links > > > aren't reliable. > > > > The browser widget needs some time after a "reloading" (setting the > > htmltext in your case). > > > > set htmltext of widget "browser" to empty > > set htmltext of widget "browser" to htm > > wait 10 ticks with messages --> may need even more time on preopenstack > > set url of widget "browser" to "http://libbrowser_dummy_url/#1234" > > > > Moreover: > > = Canvas methods work with revbrowser on Mac only, nowhere else. > > = You can put a palette over a browser widget: > > http://forums.livecode.com/viewtopic.php?p=152773#p152773 > > = You can put a browser widget over a browser widget: > > http://forums.livecode.com/viewtopic.php?p=172789#p172789 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 hh at hyperhh.de Tue Apr 2 01:32:34 2019 From: hh at hyperhh.de (hh) Date: Tue, 2 Apr 2019 07:32:34 +0200 Subject: Anchor links in browser widget Message-ID: <3960263D-66F4-459D-A7EC-0A8ED703F5F3@hyperhh.de> > JLG wrote: > If you load the htmltext from a file on disk, the URL is set to > the file path and it will respond to an anchor link sent via script. > This is probably the most viable solution since I can write the text > to disk first and then load it. The browser widget does the following (look at the source code). If you set the htmltext then its property URL is set to empty, if you set the URL then its property htmltext is set to empty. The pseudo-URL "http://libbrowser_dummy_url/" is set by libbrowser. And it works here on desktop Mac for reaching anchors by that. So the wrong behaviour may be special to mobile. Moreover anchor-syntax like Chapter 123 isn't supported in HTML5. Use instead the id attribute (or both): Chapter 123 > JLG wrote: > What I need is a slide-out panel with a tree view widget that > appears over the html page. It looks like that isn't going to happen. 1. Why not simply move/resize the browser widget instead of layering? 2. Or use HTML5(CSS/JS) for a slide-out menu instead of a tree view widget... From hh at hyperhh.de Tue Apr 2 01:53:06 2019 From: hh at hyperhh.de (hh) Date: Tue, 2 Apr 2019 07:53:06 +0200 Subject: Browser layering Message-ID: <67FF3990-5207-4561-9B87-A49C90AF28F9@hyperhh.de> > Brian M. wrote: > May be able to take a screen shot, show it, hide the real browser, > show the tree widget. That does require that the browser contains > something static and user can?t interact with the browser while the > tree is visible. This is probably the easiest solution. But problems may also arise because we can't take a "snapshot from widget browser" but only from its (global) rectangle. From brahma at hindu.org Tue Apr 2 03:34:15 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 2 Apr 2019 07:34:15 +0000 Subject: Hit Box for widgets In-Reply-To: <169dbdc3660.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <7AF5C049-171E-4860-958B-84AF177A072B@hindu.org>, <169dbdc3660.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Can you use SVG widget for that? Or do you have to get the svg widget from disk? Via mobile phone ________________________________ From: use-livecode on behalf of J. Landman Gay via use-livecode Sent: Monday, April 1, 2019 4:24 PM To: How to use LiveCode Cc: J Gay Subject: Re: Hit Box for widgets The trick was just pointed out to me recently here on the list. You can now "import as control" an SVG and treat it like any other image. It's genius. Import the SVG, hide it, and assign its ID as the icon of a button. The icon will be the same size as you make the SVG and the button itself can be as large as you want. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 1, 2019 5:37:53 PM Sannyasin Brahmanathaswami via use-livecode wrote: > On a back arrow widget (SVGFontAwesome), meant to act as a button? > > I thought the "toachable" hit box included the context/rect that the widget > as placed in. Or so I thought in a previous version of < 9.0.4 rc2 > > But now in 9.0.4 RC2, I kept wondering why it did not work. But I got a > stylus and even a touch just two pixels away from the widget, even inside > the "rect" will not triggered. So here I was thinking?"wow performance is > terrible, sometime it works sometimes not." > > > *********************************************** > * A touch here, ** > * > * is not "heard" ** > * > * by the engine ** > * > * ** > * > * * * > * > * * * > * > * * * > * > *********************************************** > > Is there some other way rather creating a group for every widget that is > supposed to act as a button? > > BR > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From michael-kristensen at dsa-net.dk Tue Apr 2 08:23:24 2019 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Tue, 2 Apr 2019 14:23:24 +0200 Subject: MouseMove less responsive in 9.0.4 Message-ID: <59C82EE1-160C-4365-AFF1-66F9547D0CCC@dsa-net.dk> Hi there There is a definite degradation of the moseMove responsiveness here Could you please investigate to determine if it also is true for you Thanks Michael From brahma at hindu.org Tue Apr 2 08:52:25 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 2 Apr 2019 12:52:25 +0000 Subject: Hit Box for widgets In-Reply-To: References: <7AF5C049-171E-4860-958B-84AF177A072B@hindu.org> <169dbdc3660.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0AFF9B2B-21EC-4380-88FA-87FEA7832151@hindu.org> Yes, that works, but "It's genius" I'm not sure. Not being able change color, which is available in LC SVG widgets is a pain. If your theme is "black" and you want "white" SVG, you don?t have control over the color in LC. You can set color in the svg text source. There are two ways, the only one accepted by LC import control as image is: References: <7AF5C049-171E-4860-958B-84AF177A072B@hindu.org> <169dbdc3660.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0AFF9B2B-21EC-4380-88FA-87FEA7832151@hindu.org> Message-ID: Isn't that the nature of every graphic object? Bob S > On Apr 2, 2019, at 05:52 , Sannyasin Brahmanathaswami via use-livecode wrote: > > Yes, that works, but "It's genius" I'm not sure. > > Not being able change color, which is available in LC SVG widgets is a pain. If your theme is "black" and you want "white" SVG, you don?t have control over the color in LC. You can set color in the svg text source. There are two ways, the only one accepted by LC import control as image is: > > > You are forced to change it in SVG text source, reimport the images and deal with new ID's for the icons of buttons. > > BR From matthias_livecode_150811 at m-r-d.de Tue Apr 2 12:24:47 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 2 Apr 2019 18:24:47 +0200 Subject: OT - Openlink SW Spring Sale until 30th April Message-ID: <2202FB0C-64AB-4E2F-9D35-4E16311CFEDB@m-r-d.de> Hi, maybe this is of interest for the one or other. Openlink Software started their Spring Sale and are offering for example their single tier ODBC Drivers (Mac/Win/Linux) for 99,- instead of 299USD. The license allows you to install it on any of those operating systems. Some month ago i?ve payed 99,- for an upgrade for only Mac OS X. Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From jacque at hyperactivesw.com Tue Apr 2 12:59:38 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Apr 2019 11:59:38 -0500 Subject: Hit Box for widgets In-Reply-To: <0AFF9B2B-21EC-4380-88FA-87FEA7832151@hindu.org> References: <7AF5C049-171E-4860-958B-84AF177A072B@hindu.org> <169dbdc3660.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0AFF9B2B-21EC-4380-88FA-87FEA7832151@hindu.org> Message-ID: <169defdf090.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> True, I spent much of last night tracking down some original SVG files so I could make a color change. Still, it was worth it to be able to have a flexible hit zone. Importing an SVG turns it into an image object, so you have the same constraints as with any image. That's why the original widgets won't work, they need the conversion. There are commands to do that but they won't account for a color change so you'd need to export them, make the changes in a text editor and reimport anyway. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 2, 2019 7:54:18 AM Sannyasin Brahmanathaswami via use-livecode wrote: > Yes, that works, but "It's genius" I'm not sure. > > Not being able change color, which is available in LC SVG widgets is a > pain. If your theme is "black" and you want "white" SVG, you don?t have > control over the color in LC. You can set color in the svg text source. > There are two ways, the only one accepted by LC import control as image is: > > bit darker." > > You are forced to change it in SVG text source, reimport the images and > deal with new ID's for the icons of buttons. > > BR > ------------ > ?Jacque wrote: > You can now "import as control" an SVG and treat it like any other image. > It's genius. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Apr 2 13:05:32 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 2 Apr 2019 20:05:32 +0300 Subject: Property Palette Message-ID: <11717df9-70f7-9e08-8a78-f3cae433d865@gmail.com> Oof: still coming up as squashed, squished or what-have-you in 9.0.4 RC-2: http://forums.livecode.com/viewtopic.php?f=5&t=32385&p=178345#p178345 Richmond. From prothero at earthlearningsolutions.org Tue Apr 2 13:15:20 2019 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Tue, 2 Apr 2019 10:15:20 -0700 Subject: hhDate gone? In-Reply-To: <67987860-CDF7-44E6-B9BC-0F24C1DAF019@m-r-d.de> References: <67987860-CDF7-44E6-B9BC-0F24C1DAF019@m-r-d.de> Message-ID: <734EBCA5-3D01-4D2A-BD7C-EF498CAFA37D@earthlearningsolutions.org> Folks/Hermann: I just opened a project I hadn?t opened for awhile and noticed that Hermann?s date widget is gone. Checked for it in the widgets list, not listed. Hermann, did you intend for it to disappear? I?m on LC 9.0.4 rc 2. It was very handy. Best, Bill William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ From tom at makeshyft.com Tue Apr 2 13:26:26 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 2 Apr 2019 13:26:26 -0400 Subject: Property Palette In-Reply-To: <11717df9-70f7-9e08-8a78-f3cae433d865@gmail.com> References: <11717df9-70f7-9e08-8a78-f3cae433d865@gmail.com> Message-ID: Rant warning..... This bug has been costing me time every #$%#$% ing day for over a year. Its presence is somehow indicative that no one at livecode is using livecode to produce anything otherwise they would be driven crazy by this bug like I have been. There has never been a bug more infuriating than this one. rant over. I've been assuming this is reported and that everyone who uses livecode 9 sees it.... maybe i should double check that. On Tue, Apr 2, 2019 at 1:05 PM Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > Oof: still coming up as squashed, squished or what-have-you in 9.0.4 RC-2: > > http://forums.livecode.com/viewtopic.php?f=5&t=32385&p=178345#p178345 > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Tue Apr 2 13:43:24 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 2 Apr 2019 20:43:24 +0300 Subject: Property Palette In-Reply-To: References: <11717df9-70f7-9e08-8a78-f3cae433d865@gmail.com> Message-ID: <17cabefb-8a84-1b1d-6a2e-0743c2baa395@gmail.com> The bug has been reported several time by several people, and "we" have been reassured that it is being dealt with . . . Not, frankly, that reassurances from LiveCode central have ever given me much comfort, as a bird in the hand is worth loads of reassurances in the bushes. Richmond. On 2.04.19 20:26, Tom Glod via use-livecode wrote: > Rant warning..... > > This bug has been costing me time every #$%#$% ing day for over a year. > > Its presence is somehow indicative that no one at livecode is using > livecode to produce anything otherwise they would be driven crazy by this > bug like I have been. There has never been a bug more infuriating than > this one. > > rant over. > > I've been assuming this is reported and that everyone who uses livecode 9 > sees it.... maybe i should double check that. > > > On Tue, Apr 2, 2019 at 1:05 PM Richmond via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Oof: still coming up as squashed, squished or what-have-you in 9.0.4 RC-2: >> >> http://forums.livecode.com/viewtopic.php?f=5&t=32385&p=178345#p178345 >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Apr 2 13:45:15 2019 From: hh at hyperhh.de (hh) Date: Tue, 2 Apr 2019 19:45:15 +0200 Subject: hhDate gone? Message-ID: <30805A68-6393-4BB1-B87E-7B9BDF6B06D9@hyperhh.de> Bill, nothing changed. And here it still works with the latest LC 9. http://livecodeshare.runrev.com/stack/903/DatePicker89_v108 Did you check that it is installed with the Extension Manager? From mark at livecode.com Tue Apr 2 13:52:30 2019 From: mark at livecode.com (Mark Waddingham) Date: Tue, 02 Apr 2019 19:52:30 +0200 Subject: Hit Box for widgets In-Reply-To: <0AFF9B2B-21EC-4380-88FA-87FEA7832151@hindu.org> References: <7AF5C049-171E-4860-958B-84AF177A072B@hindu.org> <169dbdc3660.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0AFF9B2B-21EC-4380-88FA-87FEA7832151@hindu.org> Message-ID: On 2019-04-02 14:52, Sannyasin Brahmanathaswami via use-livecode wrote: > Yes, that works, but "It's genius" I'm not sure. > > Not being able change color, which is available in LC SVG widgets is a > pain. If your theme is "black" and you want "white" SVG, you don?t > have control over the color in LC. You can set color in the svg text > source. There are two ways, the only one accepted by LC import control > as image is: > > *just* a bit darker." > > You are forced to change it in SVG text source, reimport the images > and deal with new ID's for the icons of buttons. You can just do what the 'Import Control...' feature does when given an SVG file from the message box (or even in a script in your stack you can run when updating the SVG files): set the text of image ... to drawingSvgCompileFile() We're adding support for 'currentColor' in SVG fill/stroke attributes in the next non-maintenance version - this will allow you to do: Then you will be able to set the backColor of the image object you import the SVG into to change the color of the fill or stroke attributes referencing it. 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 Tue Apr 2 13:54:34 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 2 Apr 2019 19:54:34 +0200 Subject: OT - Openlink SW Spring Sale until 30th April Message-ID: Hi, maybe this is of interest for the one or other. Openlink Software started their Spring Sale and are offering for example their single tier ODBC Drivers (Mac/Win/Linux) for 99,- instead of 299USD. The license allows you to install it on any of those operating systems. Some month ago i?ve payed 99,- for an upgrade for only Mac OS X. http://openlinksw.com Matthias From paul at researchware.com Tue Apr 2 13:54:33 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 2 Apr 2019 13:54:33 -0400 Subject: Property Palette In-Reply-To: <17cabefb-8a84-1b1d-6a2e-0743c2baa395@gmail.com> References: <11717df9-70f7-9e08-8a78-f3cae433d865@gmail.com> <17cabefb-8a84-1b1d-6a2e-0743c2baa395@gmail.com> Message-ID: On 4/2/2019 1:43 PM, Richmond via use-livecode wrote: > The bug has been reported several time by several people, and "we" > have been reassured that > it is being dealt with . . . What is the bug number? I'd like to CC myself on the bug to follow any progress. From paul at researchware.com Tue Apr 2 14:10:13 2019 From: paul at researchware.com (Paul Dupuis) Date: Tue, 2 Apr 2019 14:10:13 -0400 Subject: MouseMove less responsive in 9.0.4 In-Reply-To: <59C82EE1-160C-4365-AFF1-66F9547D0CCC@dsa-net.dk> References: <59C82EE1-160C-4365-AFF1-66F9547D0CCC@dsa-net.dk> Message-ID: On 4/2/2019 8:23 AM, Michael Kristensen via use-livecode wrote: > Hi there > > There is a definite degradation of the moseMove responsiveness here > > > Could you please investigate to determine if it also is true for you > I created a test stack with a 32px square button and the following card script: onmouseMove pNewMouseH, pNewMouseV putthelocofbtn "box" intotLoc -- h,v put(pNewMouseH - (item 1 oftLoc))/2 intotdh put(pNewMouseV - (item 2 oftLoc))/2 intotdv setthelocofbtn "box" to(item 1 oftLoc + tdH, item 2 oftLoc + tdv) endmouseMove Which just causes the box button to follow the mouse around the card. If low latency/lag, the box should stay close to the mouse pointer. If high latency/lag, the box should take longer to follow the faster you move the mouse since it closes on the mouse position by halving the distance between them. I can see no appreciable difference between 9.0.3 and 9.0.4 rc2 on an average Windows 10 laptop. From jacque at hyperactivesw.com Tue Apr 2 14:27:30 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 2 Apr 2019 13:27:30 -0500 Subject: Anchor links in browser widget In-Reply-To: References: <3719C341-34D8-4C97-83C7-EE089400CA47@hyperhh.de> Message-ID: <99f023f8-c8e2-5961-6d24-7958ca70ac5a@hyperactivesw.com> On 4/1/19 10:24 PM, Brian Milby via use-livecode wrote: > May be able to take a screen shot, show it, hide the real browser, show the tree widget. ?That does require that the browser contains something static and user can?t interact with the browser while the tree is visible. I'd considered that actually. I'll give it a go, since it's better than redoing the layout and changing the design principles we've already established. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From keith.clarke at me.com Tue Apr 2 15:43:02 2019 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 2 Apr 2019 20:43:02 +0100 Subject: LC Server on OSX Mojave - Local host & sites Message-ID: <73FC533D-2DD4-4914-9928-BDCDFDE42484@me.com> Hi Folks, Is there a recipe more recent than the LC Server on OSX lesson that covers the Mohave Apache environment setup to recognise Sites URLs in localhost - now that Apple has hidden point & click web sharing facilities? I have localhost working but get "The requested URL /keith/Sites/test.lc was not found on this server.? for http://localhost/keith/Sites/test.lc Any clues gratefully received. Best, Keith From brahma at hindu.org Tue Apr 2 23:19:14 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 3 Apr 2019 03:19:14 +0000 Subject: [ANN] Release 9.0.4 RC-1 In-Reply-To: <057501d4e5ac$372e8c00$a58ba400$@themartinz.com> References: <057501d4e5ac$372e8c00$a58ba400$@themartinz.com> Message-ID: <82A749FC-A62E-4BBD-B350-A7248D5730E2@hindu.org> Clarence, are you on Windows. For me 9.0.4 RC - 1 is a dream come true. All day long with the IDE and Navigator and creating objects, copy for one stack another, edit group, changing SVG widget to SVG buttons. Cutting out scripts to apply to new groups....you name it, fast as I can... Wow, not single crash! It like the "old days" with Livecode easy to work with again! OSX Mojave 10.14.3 Brahmanathaswami ? Clarence Martin wrote: I am preparing to file a bug report because of the lack of performance in LiveCode 9.0.4 RC - 1. From chipsm at themartinz.com Tue Apr 2 23:47:13 2019 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Tue, 2 Apr 2019 20:47:13 -0700 Subject: [ANN] Release 9.0.4 RC-1 In-Reply-To: <82A749FC-A62E-4BBD-B350-A7248D5730E2@hindu.org> References: <057501d4e5ac$372e8c00$a58ba400$@themartinz.com> <82A749FC-A62E-4BBD-B350-A7248D5730E2@hindu.org> Message-ID: <004001d4e9cf$ecce9290$c66bb7b0$@themartinz.com> Yes I am on Windows 10. And yes things are working well so far. I am cautiously optimistic for now and I hope things keep going well. Sincerely, Clarence Martin Email: chipsm at themartinz.com Phone: 636 6965561 -----Original Message----- From: use-livecode On Behalf Of Sannyasin Brahmanathaswami via use-livecode Sent: Tuesday, April 02, 2019 8:19 PM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami ; Janani Jananayagam Subject: Re: [ANN] Release 9.0.4 RC-1 Clarence, are you on Windows. For me 9.0.4 RC - 1 is a dream come true. All day long with the IDE and Navigator and creating objects, copy for one stack another, edit group, changing SVG widget to SVG buttons. Cutting out scripts to apply to new groups....you name it, fast as I can... Wow, not single crash! It like the "old days" with Livecode easy to work with again! OSX Mojave 10.14.3 Brahmanathaswami ? Clarence Martin wrote: I am preparing to file a bug report because of the lack of performance in LiveCode 9.0.4 RC - 1. _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 3 00:17:53 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Apr 2019 23:17:53 -0500 Subject: [ANN] Release 9.0.4 RC-1 In-Reply-To: <82A749FC-A62E-4BBD-B350-A7248D5730E2@hindu.org> References: <057501d4e5ac$372e8c00$a58ba400$@themartinz.com> <82A749FC-A62E-4BBD-B350-A7248D5730E2@hindu.org> Message-ID: <169e16ae568.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Same here. I've been debugging all day, which was usually when I got crashes, and it's been solid and steady without a single hitch. Layout, internet access, SVG, debugging, not a single problem except the ones I made for myself. (This is a talent I have.) Thank you team! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 2, 2019 10:21:12 PM Sannyasin Brahmanathaswami via use-livecode wrote: > Clarence, are you on Windows. > > For me 9.0.4 RC - 1 is a dream come true. All day long with the IDE and > Navigator and creating objects, copy for one stack another, edit group, > changing SVG widget to SVG buttons. Cutting out scripts to apply to new > groups....you name it, fast as I can... > > Wow, not single crash! It like the "old days" with Livecode easy to work > with again! > > OSX Mojave 10.14.3 > > Brahmanathaswami > > > ? Clarence Martin wrote: > > I am preparing to file a bug report because of the lack of performance in > LiveCode 9.0.4 RC - 1. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Wed Apr 3 00:54:21 2019 From: monte at appisle.net (Monte Goulding) Date: Wed, 3 Apr 2019 15:54:21 +1100 Subject: [ANN] Release 9.0.4 RC-1 In-Reply-To: <004001d4e9cf$ecce9290$c66bb7b0$@themartinz.com> References: <057501d4e5ac$372e8c00$a58ba400$@themartinz.com> <82A749FC-A62E-4BBD-B350-A7248D5730E2@hindu.org> <004001d4e9cf$ecce9290$c66bb7b0$@themartinz.com> Message-ID: Hi Clarence Did you download RC-2? There was a significant regression in RC-1 that we reverted for RC-2. Cheers Monte > On 3 Apr 2019, at 2:47 pm, Clarence Martin via use-livecode wrote: > > Yes I am on Windows 10. And yes things are working well so far. > I am cautiously optimistic for now and I hope things keep going well. > > Sincerely, > > Clarence Martin > Email: chipsm at themartinz.com > Phone: 636 6965561 > > -----Original Message----- > From: use-livecode On Behalf Of Sannyasin Brahmanathaswami via use-livecode > Sent: Tuesday, April 02, 2019 8:19 PM > To: How to use LiveCode > Cc: Sannyasin Brahmanathaswami ; Janani Jananayagam > Subject: Re: [ANN] Release 9.0.4 RC-1 > > Clarence, are you on Windows. > > For me 9.0.4 RC - 1 is a dream come true. All day long with the IDE and Navigator and creating objects, copy for one stack another, edit group, changing SVG widget to SVG buttons. Cutting out scripts to apply to new groups....you name it, fast as I can... > > Wow, not single crash! It like the "old days" with Livecode easy to work with again! > > OSX Mojave 10.14.3 > > Brahmanathaswami > > > ? Clarence Martin wrote: > > I am preparing to file a bug report because of the lack of performance in > LiveCode 9.0.4 RC - 1. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Apr 3 02:11:57 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 3 Apr 2019 09:11:57 +0300 Subject: Property Palette In-Reply-To: References: <11717df9-70f7-9e08-8a78-f3cae433d865@gmail.com> <17cabefb-8a84-1b1d-6a2e-0743c2baa395@gmail.com> Message-ID: <56fd9a63-cc74-2233-a258-7e1d5d5f5de7@gmail.com> 20701 Richmond. On 2.04.19 20:54, Paul Dupuis via use-livecode wrote: > On 4/2/2019 1:43 PM, Richmond via use-livecode wrote: >> The bug has been reported several time by several people, and "we" >> have been reassured that >> it is being dealt with . . . > > What is the bug number? I'd like to CC myself on the bug to follow any > progress. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Apr 3 07:43:37 2019 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Wed, 3 Apr 2019 13:43:37 +0200 Subject: MouseMove less responsive in 9.0.4 Message-ID: Thank you Paul for looking into it. There is a clear difference here and I have an 2017 iMac which is pretty fast. Yet, I might have jumped to conclusion to fast since I also have this mouseEnter handler (before a mouseDown and mouseMove handler): on mouseEnter if the tool is "Browse tool" then lock screen start editing grp ?Board? set the layer of me to top stop editing end if end mouseEnter ? so a delay might occur here. What I observe 9.0.3 The mousepointer and the object is rock solid together. 9.0.4 The mousepointer is way outside the object before the move catches on. Thanks again Michael From chipsm at themartinz.com Wed Apr 3 07:50:54 2019 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Wed, 3 Apr 2019 04:50:54 -0700 Subject: [ANN] Release 9.0.4 RC-1 In-Reply-To: References: <057501d4e5ac$372e8c00$a58ba400$@themartinz.com> <82A749FC-A62E-4BBD-B350-A7248D5730E2@hindu.org> <004001d4e9cf$ecce9290$c66bb7b0$@themartinz.com> Message-ID: <001e01d4ea13$7ecfc1d0$7c6f4570$@themartinz.com> Yes I am using the latest version, RC-2. So far, so good! Sincerely, Clarence Martin Email: chipsm at themartinz.com Phone: 636 6965561 -----Original Message----- From: use-livecode On Behalf Of Monte Goulding via use-livecode Sent: Tuesday, April 02, 2019 9:54 PM To: How to use LiveCode Cc: Monte Goulding Subject: Re: [ANN] Release 9.0.4 RC-1 Hi Clarence Did you download RC-2? There was a significant regression in RC-1 that we reverted for RC-2. Cheers Monte > On 3 Apr 2019, at 2:47 pm, Clarence Martin via use-livecode wrote: > > Yes I am on Windows 10. And yes things are working well so far. > I am cautiously optimistic for now and I hope things keep going well. > > Sincerely, > > Clarence Martin > Email: chipsm at themartinz.com > Phone: 636 6965561 > > -----Original Message----- > From: use-livecode On Behalf Of Sannyasin Brahmanathaswami via use-livecode > Sent: Tuesday, April 02, 2019 8:19 PM > To: How to use LiveCode > Cc: Sannyasin Brahmanathaswami ; Janani Jananayagam > Subject: Re: [ANN] Release 9.0.4 RC-1 > > Clarence, are you on Windows. > > For me 9.0.4 RC - 1 is a dream come true. All day long with the IDE and Navigator and creating objects, copy for one stack another, edit group, changing SVG widget to SVG buttons. Cutting out scripts to apply to new groups....you name it, fast as I can... > > Wow, not single crash! It like the "old days" with Livecode easy to work with again! > > OSX Mojave 10.14.3 > > Brahmanathaswami > > > ? Clarence Martin wrote: > > I am preparing to file a bug report because of the lack of performance in > LiveCode 9.0.4 RC - 1. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Wed Apr 3 08:39:04 2019 From: paul at researchware.com (Paul Dupuis) Date: Wed, 3 Apr 2019 08:39:04 -0400 Subject: Property Palette In-Reply-To: <56fd9a63-cc74-2233-a258-7e1d5d5f5de7@gmail.com> References: <11717df9-70f7-9e08-8a78-f3cae433d865@gmail.com> <17cabefb-8a84-1b1d-6a2e-0743c2baa395@gmail.com> <56fd9a63-cc74-2233-a258-7e1d5d5f5de7@gmail.com> Message-ID: <9a533ef8-ddc4-78b3-fbed-f5cfa4f6d8f0@researchware.com> Thank you. On 4/3/2019 2:11 AM, Richmond via use-livecode wrote: > 20701 > > Richmond. > > On 2.04.19 20:54, Paul Dupuis via use-livecode wrote: >> On 4/2/2019 1:43 PM, Richmond via use-livecode wrote: >>> The bug has been reported several time by several people, and "we" >>> have been reassured that >>> it is being dealt with . . . >> >> What is the bug number? I'd like to CC myself on the bug to follow >> any progress. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 3 10:09:58 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 3 Apr 2019 10:09:58 -0400 Subject: LC Server on OSX Mojave - Local host & sites In-Reply-To: <73FC533D-2DD4-4914-9928-BDCDFDE42484@me.com> References: <73FC533D-2DD4-4914-9928-BDCDFDE42484@me.com> Message-ID: Hi Keith, Unfortunately, Apple, Inc. has really screwed us over with the removal of website control in their newest version of macOS Server. All they gave us was the macOS-Server-Service-Migration-Guide.pdf which says very little about the most important things like SSL under Mojave. To quote: ?1. The virtual hosts won?t be behind a reverse proxy; they?ll be listening on standard HTTP ports unless configured otherwise. 2. The SSL certificates will reside in the System.keychain, not in the file system. 3. The SSL processing will be managed by Apple?s mod_secure_transport plug-in for Apache, not by mod_ssl.? They give very little in the way of instructions, and instead show a bunch of diff files that show the differences between the configuration files under old macOS Server and the way they should look for Mojave. I managed to work my way through the document making all the changes, and got LC Server to work too! (I thought that would be a the hard part. I was wrong to make that assumption.) When it was time to get my SSL I found I was unable to get it to work, so I thought I would hire an experienced Sectigo SSL guy to do it. Perhaps he would succeed where I had failed since they do these things all the time. The guy tried 3 times on 3 different days. He failed, and told me that I would have to call Apple Support about the matter. I tried to see if he would call them for me as this problem impacts their business more severely, but he wouldn?t do it. They did agree to refund my SSL Installation Service money, which I appreciated. When I called Apple, Inc. support, they bumped the problem up by three levels and then told me they would have to bump it up yet another level. They wanted $700 to work on the problem! This is a problem they have caused, and they expect me to pay that much for a fix? Really? I told them I would keep it in mind as a last resort. I tried to look for other solutions. I looked at VirtualHostX and thought I would try a letsencrypt.org SSL Certificate just in case there was something wrong with my Sectigo SSL Certificate. I was able to get my SSL working with that, but VirtualHostX sets up a Virtual Debian Linux computer inside of my Mac. Emulation slows down the computer and I thought there must still be a pure macOS solution out there. I decided to give MAMP Pro a try. That didn?t work either! When I contacted their support people they said: "MAMP PRO is mostly intended for local development mostly. You can use it as a live server if you would like, but we cannot provide support for this. At this time we don' have a how-to on setting up a letsencrypt ssl key. If you cannot get this working, and this is why you purchased MAMP PRO, to use it as a live server, then we can offer you a refund.? That has put me back to square one. If anyone can work through the SSL problem and get it working under macOS 10.14.4 Mojave, I would be happy to help out getting LC Server to work. Let me know if you have any suggestions. Thanks, Rick > On Apr 2, 2019, at 3:43 PM, Keith Clarke via use-livecode wrote: > > Hi Folks, > Is there a recipe more recent than the LC Server on OSX lesson that covers the Mohave Apache environment setup to recognise Sites URLs in localhost - now that Apple has hidden point & click web sharing facilities? > > I have localhost working but get "The requested URL /keith/Sites/test.lc was not found on this server.? for http://localhost/keith/Sites/test.lc > > Any clues gratefully received. > Best, > Keith > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 3 12:55:43 2019 From: jjs at krutt.org (JJS) Date: Wed, 3 Apr 2019 18:55:43 +0200 Subject: LC Server on OSX Mojave - Local host & sites In-Reply-To: References: <73FC533D-2DD4-4914-9928-BDCDFDE42484@me.com> Message-ID: Is this a local server you are using? because you are having localhost after http:// So it is not reachable by anyone else on the internet right? Op 3-4-2019 om 16:09 schreef Rick Harrison via use-livecode: > Hi Keith, > > Unfortunately, Apple, Inc. has really screwed us over with the removal of > website control in their newest version of macOS Server. All they gave us > was the macOS-Server-Service-Migration-Guide.pdf which says very little > about the most important things like SSL under Mojave. To quote: > > ?1. The virtual hosts won?t be behind a reverse proxy; they?ll be listening on > standard HTTP ports unless configured otherwise. > 2. The SSL certificates will reside in the System.keychain, not in the file system. > 3. The SSL processing will be managed by Apple?s mod_secure_transport > plug-in for Apache, not by mod_ssl.? > > They give very little in the way of instructions, and instead show a bunch of diff files > that show the differences between the configuration files under old macOS Server > and the way they should look for Mojave. > > I managed to work my way through the document making all the changes, and > got LC Server to work too! (I thought that would be a the hard part. I was > wrong to make that assumption.) > > When it was time to get my SSL I found I was unable to get it to work, so > I thought I would hire an experienced Sectigo SSL guy to do it. Perhaps > he would succeed where I had failed since they do these things all the time. > The guy tried 3 times on 3 different days. He failed, and told me that I would > have to call Apple Support about the matter. I tried to see if he would call > them for me as this problem impacts their business more severely, but he > wouldn?t do it. They did agree to refund my SSL Installation Service money, > which I appreciated. > > When I called Apple, Inc. support, they bumped the problem up by > three levels and then told me they would have to bump it up yet > another level. They wanted $700 to work on the problem! This is a > problem they have caused, and they expect me to pay that much > for a fix? Really? I told them I would keep it in mind as a last resort. > > I tried to look for other solutions. I looked at VirtualHostX and thought > I would try a letsencrypt.org SSL Certificate just in case there was > something wrong with my Sectigo SSL Certificate. I was able to > get my SSL working with that, but VirtualHostX sets up a Virtual Debian Linux > computer inside of my Mac. Emulation slows down the computer and > I thought there must still be a pure macOS solution out there. > > I decided to give MAMP Pro a try. That didn?t work either! When I contacted > their support people they said: > > "MAMP PRO is mostly intended for local development mostly. You can > use it as a live server if you would like, but we cannot provide support > for this. At this time we don' have a how-to on setting up a > letsencrypt ssl key. If you cannot get this working, and this is > why you purchased MAMP PRO, to use it as a live server, then we > can offer you a refund.? > > That has put me back to square one. > > If anyone can work through the SSL problem and get it working under > macOS 10.14.4 Mojave, I would be happy to help out getting LC > Server to work. > > Let me know if you have any suggestions. > > Thanks, > > Rick > > > >> On Apr 2, 2019, at 3:43 PM, Keith Clarke via use-livecode wrote: >> >> Hi Folks, >> Is there a recipe more recent than the LC Server on OSX lesson that covers the Mohave Apache environment setup to recognise Sites URLs in localhost - now that Apple has hidden point & click web sharing facilities? >> >> I have localhost working but get "The requested URL /keith/Sites/test.lc was not found on this server.? for http://localhost/keith/Sites/test.lc >> >> Any clues gratefully received. >> Best, >> Keith >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 3 13:04:26 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 3 Apr 2019 13:04:26 -0400 Subject: LC Server on OSX Mojave - Local host & sites In-Reply-To: References: <73FC533D-2DD4-4914-9928-BDCDFDE42484@me.com> Message-ID: <9A1384B6-1A88-4F0D-81CA-45DFE6926216@all-auctions.com> I am currently setting up a live internet server. Before that I was using localhost for my development and got it working with LC Server. Keith has his localhost working in general but doesn?t yet have the LC server responding to .lc inquiries. Rick > On Apr 3, 2019, at 12:55 PM, JJS via use-livecode wrote: > > Is this a local server you are using? because you are having localhost after http:// > > > So it is not reachable by anyone else on the internet right? > > > Op 3-4-2019 om 16:09 schreef Rick Harrison via use-livecode: >> Hi Keith, >> >> Unfortunately, Apple, Inc. has really screwed us over with the removal of >> website control in their newest version of macOS Server. All they gave us >> was the macOS-Server-Service-Migration-Guide.pdf which says very little >> about the most important things like SSL under Mojave. To quote: >> >> ?1. The virtual hosts won?t be behind a reverse proxy; they?ll be listening on >> standard HTTP ports unless configured otherwise. >> 2. The SSL certificates will reside in the System.keychain, not in the file system. >> 3. The SSL processing will be managed by Apple?s mod_secure_transport >> plug-in for Apache, not by mod_ssl.? >> >> They give very little in the way of instructions, and instead show a bunch of diff files >> that show the differences between the configuration files under old macOS Server >> and the way they should look for Mojave. >> >> I managed to work my way through the document making all the changes, and >> got LC Server to work too! (I thought that would be a the hard part. I was >> wrong to make that assumption.) >> >> When it was time to get my SSL I found I was unable to get it to work, so >> I thought I would hire an experienced Sectigo SSL guy to do it. Perhaps >> he would succeed where I had failed since they do these things all the time. >> The guy tried 3 times on 3 different days. He failed, and told me that I would >> have to call Apple Support about the matter. I tried to see if he would call >> them for me as this problem impacts their business more severely, but he >> wouldn?t do it. They did agree to refund my SSL Installation Service money, >> which I appreciated. >> >> When I called Apple, Inc. support, they bumped the problem up by >> three levels and then told me they would have to bump it up yet >> another level. They wanted $700 to work on the problem! This is a >> problem they have caused, and they expect me to pay that much >> for a fix? Really? I told them I would keep it in mind as a last resort. >> >> I tried to look for other solutions. I looked at VirtualHostX and thought >> I would try a letsencrypt.org SSL Certificate just in case there was >> something wrong with my Sectigo SSL Certificate. I was able to >> get my SSL working with that, but VirtualHostX sets up a Virtual Debian Linux >> computer inside of my Mac. Emulation slows down the computer and >> I thought there must still be a pure macOS solution out there. >> >> I decided to give MAMP Pro a try. That didn?t work either! When I contacted >> their support people they said: >> >> "MAMP PRO is mostly intended for local development mostly. You can >> use it as a live server if you would like, but we cannot provide support >> for this. At this time we don' have a how-to on setting up a >> letsencrypt ssl key. If you cannot get this working, and this is >> why you purchased MAMP PRO, to use it as a live server, then we >> can offer you a refund.? >> >> That has put me back to square one. >> >> If anyone can work through the SSL problem and get it working under >> macOS 10.14.4 Mojave, I would be happy to help out getting LC >> Server to work. >> >> Let me know if you have any suggestions. >> >> Thanks, >> >> Rick >> >> >> >>> On Apr 2, 2019, at 3:43 PM, Keith Clarke via use-livecode wrote: >>> >>> Hi Folks, >>> Is there a recipe more recent than the LC Server on OSX lesson that covers the Mohave Apache environment setup to recognise Sites URLs in localhost - now that Apple has hidden point & click web sharing facilities? >>> >>> I have localhost working but get "The requested URL /keith/Sites/test.lc was not found on this server.? for http://localhost/keith/Sites/test.lc >>> >>> Any clues gratefully received. >>> Best, >>> Keith >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Wed Apr 3 13:12:39 2019 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 3 Apr 2019 18:12:39 +0100 Subject: LC Server on OSX Mojave - Local host & sites In-Reply-To: References: <73FC533D-2DD4-4914-9928-BDCDFDE42484@me.com> Message-ID: <1E28DC74-6C29-4BDB-83D8-C3AFE3B5F9AA@me.com> Rick - thanks for sharing. That all sounds extremely frustrating and I was hoping to avoid opening the SSL can-of-worms for a desktop-based MALM (Mac-Apache-LiveCode-Maria) dev server installation! JJS - I?m just trying to recover the old Mac Sites web server functionality in Mojave to get back my desktop web-dev playground - but it?s failing before I get to testing LC Server. I have followed (pre-Mojave) online setup advice regarding httpd.conf, httpd-user.conf and keith.conf files that should recover this service and apachectl configtest passes OK, but I?m getting permission errors at any page URLs for http://localhost/keith/Sites and below. Best, Keith > On 3 Apr 2019, at 17:55, JJS via use-livecode wrote: > > Is this a local server you are using? because you are having localhost after http:// > > > So it is not reachable by anyone else on the internet right? > > > Op 3-4-2019 om 16:09 schreef Rick Harrison via use-livecode: >> Hi Keith, >> >> Unfortunately, Apple, Inc. has really screwed us over with the removal of >> website control in their newest version of macOS Server. All they gave us >> was the macOS-Server-Service-Migration-Guide.pdf which says very little >> about the most important things like SSL under Mojave. To quote: >> >> ?1. The virtual hosts won?t be behind a reverse proxy; they?ll be listening on >> standard HTTP ports unless configured otherwise. >> 2. The SSL certificates will reside in the System.keychain, not in the file system. >> 3. The SSL processing will be managed by Apple?s mod_secure_transport >> plug-in for Apache, not by mod_ssl.? >> >> They give very little in the way of instructions, and instead show a bunch of diff files >> that show the differences between the configuration files under old macOS Server >> and the way they should look for Mojave. >> >> I managed to work my way through the document making all the changes, and >> got LC Server to work too! (I thought that would be a the hard part. I was >> wrong to make that assumption.) >> >> When it was time to get my SSL I found I was unable to get it to work, so >> I thought I would hire an experienced Sectigo SSL guy to do it. Perhaps >> he would succeed where I had failed since they do these things all the time. >> The guy tried 3 times on 3 different days. He failed, and told me that I would >> have to call Apple Support about the matter. I tried to see if he would call >> them for me as this problem impacts their business more severely, but he >> wouldn?t do it. They did agree to refund my SSL Installation Service money, >> which I appreciated. >> >> When I called Apple, Inc. support, they bumped the problem up by >> three levels and then told me they would have to bump it up yet >> another level. They wanted $700 to work on the problem! This is a >> problem they have caused, and they expect me to pay that much >> for a fix? Really? I told them I would keep it in mind as a last resort. >> >> I tried to look for other solutions. I looked at VirtualHostX and thought >> I would try a letsencrypt.org SSL Certificate just in case there was >> something wrong with my Sectigo SSL Certificate. I was able to >> get my SSL working with that, but VirtualHostX sets up a Virtual Debian Linux >> computer inside of my Mac. Emulation slows down the computer and >> I thought there must still be a pure macOS solution out there. >> >> I decided to give MAMP Pro a try. That didn?t work either! When I contacted >> their support people they said: >> >> "MAMP PRO is mostly intended for local development mostly. You can >> use it as a live server if you would like, but we cannot provide support >> for this. At this time we don' have a how-to on setting up a >> letsencrypt ssl key. If you cannot get this working, and this is >> why you purchased MAMP PRO, to use it as a live server, then we >> can offer you a refund.? >> >> That has put me back to square one. >> >> If anyone can work through the SSL problem and get it working under >> macOS 10.14.4 Mojave, I would be happy to help out getting LC >> Server to work. >> >> Let me know if you have any suggestions. >> >> Thanks, >> >> Rick >> >> >> >>> On Apr 2, 2019, at 3:43 PM, Keith Clarke via use-livecode wrote: >>> >>> Hi Folks, >>> Is there a recipe more recent than the LC Server on OSX lesson that covers the Mohave Apache environment setup to recognise Sites URLs in localhost - now that Apple has hidden point & click web sharing facilities? >>> >>> I have localhost working but get "The requested URL /keith/Sites/test.lc was not found on this server.? for http://localhost/keith/Sites/test.lc >>> >>> Any clues gratefully received. >>> Best, >>> Keith >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Wed Apr 3 18:05:31 2019 From: monte at appisle.net (Monte Goulding) Date: Thu, 4 Apr 2019 09:05:31 +1100 Subject: MouseMove less responsive in 9.0.4 In-Reply-To: References: Message-ID: I?m not sure why there would be a change in speed for editing a group but I thought it might be helpful to suggest just using the relayer command here: on mouseEnter if the tool is ?browse tool? then relayer me to front of owner end if end mouseEnter > On 3 Apr 2019, at 10:43 pm, Michael Kristensen via use-livecode wrote: > > > > Thank you Paul for looking into it. > > There is a clear difference here and I have an 2017 iMac which is pretty fast. > > Yet, I might have jumped to conclusion to fast since I also have this mouseEnter handler (before a mouseDown and mouseMove handler): > > on mouseEnter > if the tool is "Browse tool" then > lock screen > start editing grp ?Board? > set the layer of me to top > stop editing > end if > end mouseEnter > > ? so a delay might occur here. > > > What I observe > 9.0.3 > The mousepointer and the object is rock solid together. > > 9.0.4 > The mousepointer is way outside the object before the move catches on. > > Thanks again > 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 rdimola at evergreeninfo.net Wed Apr 3 19:41:35 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 3 Apr 2019 19:41:35 -0400 Subject: [ANN] Release 9.0.4 RC-1 In-Reply-To: <169e16ae568.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <057501d4e5ac$372e8c00$a58ba400$@themartinz.com> <82A749FC-A62E-4BBD-B350-A7248D5730E2@hindu.org> <169e16ae568.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <008c01d4ea76$c92f7c80$5b8e7580$@net> I have to agree. The IDE is much more stable than previous 9s. I also noticed that I had LC open for hours(Win 10) doing rounds of coding/testing/debugging/mobile building and the IDE never went sideways or moved on any other axis. Nice work. Thanks LC dev team! 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, April 03, 2019 12:18 AM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: [ANN] Release 9.0.4 RC-1 Same here. I've been debugging all day, which was usually when I got crashes, and it's been solid and steady without a single hitch. Layout, internet access, SVG, debugging, not a single problem except the ones I made for myself. (This is a talent I have.) Thank you team! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 2, 2019 10:21:12 PM Sannyasin Brahmanathaswami via use-livecode wrote: > Clarence, are you on Windows. > > For me 9.0.4 RC - 1 is a dream come true. All day long with the IDE > and Navigator and creating objects, copy for one stack another, edit > group, changing SVG widget to SVG buttons. Cutting out scripts to > apply to new groups....you name it, fast as I can... > > Wow, not single crash! It like the "old days" with Livecode easy to > work with again! > > OSX Mojave 10.14.3 > > Brahmanathaswami > > > ? Clarence Martin wrote: > > I am preparing to file a bug report because of the lack of performance in > LiveCode 9.0.4 RC - 1. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Apr 3 22:56:12 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 4 Apr 2019 02:56:12 +0000 Subject: Confirm Bug in Button - iconGravity and margins Message-ID: Can anyone confirm? 9.0.4 RC2 set the iconGravity of Button "openGlobalNav" to bottom set the iconGravity of Button "openGlobalNav" to top. # sets it to the BOTTOM Set the margin to "10" and it actually to -10 -- icon falls 10 pixels below the rect of the bottom) These were with SVG icons: import as control --> image --> choose an svg icon from disk. BR From mark at livecode.com Thu Apr 4 01:20:38 2019 From: mark at livecode.com (Mark Waddingham) Date: Thu, 04 Apr 2019 07:20:38 +0200 Subject: MouseMove less responsive in 9.0.4 In-Reply-To: References: Message-ID: <16f9288bb21c3ddda96ceece5a0c10fa@livecode.com> On 2019-04-03 13:43, Michael Kristensen via use-livecode wrote: > Thank you Paul for looking into it. > > There is a clear difference here and I have an 2017 iMac which is > pretty fast. > > Yet, I might have jumped to conclusion to fast since I also have this > mouseEnter handler (before a mouseDown and mouseMove handler): > > on mouseEnter > if the tool is "Browse tool" then > lock screen > start editing grp ?Board? > set the layer of me to top > stop editing > end if > end mouseEnter On 2019-04-03 13:43, Michael Kristensen via use-livecode wrote: > on mouseEnter > if the tool is "Browse tool" then > lock screen > start editing grp ?Board? > set the layer of me to top > stop editing > end if > end mouseEnter There's no engine changes I can see in 9.0.4-rc-2 which could cause that so I suspect this will be due to a bug fix in the IDE - does it still happen if you Suspend Development Tools, or in a standalone? Regardless of the cause, Monte's suggestion of using the 'relayer' command instead is what you should do - we added it to allow you to much more easily relayer controls around and in and out of groups *without* having to use an editing feature or try and figure out the somewhat opaque rules about what layer numbers actually mean when relayerGroupedControls is true. Indeed, 'start editing group Foo' causes the engine to remove all cards and objects from a stack and store them somewhere self, create a new card and add the controls that were in the group as the new card's objects. Which is obviously a great deal more work than just moving a control somewhere else in the internal lists. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From bob at bobhall.net Thu Apr 4 06:29:15 2019 From: bob at bobhall.net (bob at bobhall.net) Date: Thu, 4 Apr 2019 06:29:15 -0400 Subject: LC Server on OSX Mojave - Local host & sites In-Reply-To: <1E28DC74-6C29-4BDB-83D8-C3AFE3B5F9AA@me.com> References: <73FC533D-2DD4-4914-9928-BDCDFDE42484@me.com> <1E28DC74-6C29-4BDB-83D8-C3AFE3B5F9AA@me.com> Message-ID: <1BCFB7DA-8608-4EBE-98B6-E14AE1B1B3BB@bobhall.net> There are changes in how things work in 10.14.x of Mac OS. When I setup my system for full stack dev (iMac 27? Late 2014) I did a mashup of the following 2 posts. Not sure that you should start right in with these but maybe there?s something in the text that will help you get the configuration you need. You will see that there?s a PHP focus in the setups. Once you are able to get the php info page working you should be good to get LC server running. The second link is a 3 part article. I?ve included a link to the first post. The Perfect Web Development Environment for Your New Mac (Not updated recently but a good reference) https://mallinson.ca/posts/5/the-perfect-web-development-environment-for-your-new-mac Part 1: macOS 10.14 Mojave Web Development Environment (updated as recently as Jan 2019) https://getgrav.org/blog/macos-mojave-apache-multiple-php-versions Hope this might help you, Bob H. From michael-kristensen at dsa-net.dk Thu Apr 4 09:49:01 2019 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Thu, 4 Apr 2019 15:49:01 +0200 Subject: MouseMove less responsive in 9.0.4 Message-ID: Thanks Monte and Mark RELAYER! Wow, I did not know about it. Everything works perfectly now. Life is wonderful and spring is here. Michael From jjs at krutt.org Thu Apr 4 11:39:20 2019 From: jjs at krutt.org (JJS) Date: Thu, 4 Apr 2019 17:39:20 +0200 Subject: [ANN] Release 9.0.4 RC-1 In-Reply-To: <008c01d4ea76$c92f7c80$5b8e7580$@net> References: <057501d4e5ac$372e8c00$a58ba400$@themartinz.com> <82A749FC-A62E-4BBD-B350-A7248D5730E2@hindu.org> <169e16ae568.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <008c01d4ea76$c92f7c80$5b8e7580$@net> Message-ID: <64aa0d98-b1ff-0909-a118-e33b07978224@krutt.org> Same here. It's super stable and not slowing down. And i did not even added it to windows defender to ignore. Thanks a lot! Op 4-4-2019 om 01:41 schreef Ralph DiMola via use-livecode: > I have to agree. The IDE is much more stable than previous 9s. I also > noticed that I had LC open for hours(Win 10) doing rounds of > coding/testing/debugging/mobile building and the IDE never went sideways or > moved on any other axis. > > Nice work. Thanks LC dev team! > > 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, April 03, 2019 12:18 AM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: [ANN] Release 9.0.4 RC-1 > > Same here. I've been debugging all day, which was usually when I got > crashes, and it's been solid and steady without a single hitch. Layout, > internet access, SVG, debugging, not a single problem except the ones I made > for myself. (This is a talent I have.) > > Thank you team! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | > http://www.hyperactivesw.com On April 2, 2019 10:21:12 PM Sannyasin > Brahmanathaswami via use-livecode wrote: > >> Clarence, are you on Windows. >> >> For me 9.0.4 RC - 1 is a dream come true. All day long with the IDE >> and Navigator and creating objects, copy for one stack another, edit >> group, changing SVG widget to SVG buttons. Cutting out scripts to >> apply to new groups....you name it, fast as I can... >> >> Wow, not single crash! It like the "old days" with Livecode easy to >> work with again! >> >> OSX Mojave 10.14.3 >> >> Brahmanathaswami >> >> >> ? Clarence Martin wrote: >> >> I am preparing to file a bug report because of the lack of performance > in >> LiveCode 9.0.4 RC - 1. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Apr 4 20:47:51 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 5 Apr 2019 00:47:51 +0000 Subject: Hit Box for widgets In-Reply-To: References: <7AF5C049-171E-4860-958B-84AF177A072B@hindu.org> <169dbdc3660.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0AFF9B2B-21EC-4380-88FA-87FEA7832151@hindu.org> Message-ID: Mark Waddingham wrote set the text of image ... to drawingSvgCompileFile() BR: Ahh... That takes care of the icon ID problem. It stays the same... We're adding support for 'currentColor' in SVG fill/stroke attributes in the next non-maintenance version - this will allow you to do: BR" Great, look forward to it! Mark, thanks to you for everything you do for all of us! From keith.clarke at me.com Fri Apr 5 03:35:23 2019 From: keith.clarke at me.com (Keith Clarke) Date: Fri, 5 Apr 2019 08:35:23 +0100 Subject: LC Server on OSX Mojave - Local host & sites In-Reply-To: <1BCFB7DA-8608-4EBE-98B6-E14AE1B1B3BB@bobhall.net> References: <73FC533D-2DD4-4914-9928-BDCDFDE42484@me.com> <1E28DC74-6C29-4BDB-83D8-C3AFE3B5F9AA@me.com> <1BCFB7DA-8608-4EBE-98B6-E14AE1B1B3BB@bobhall.net> Message-ID: Thanks Bob - those articles are much more recent than those I was referencing, so it looks like I have a weekend of experimentation lined up! Best Keith > On 4 Apr 2019, at 11:29, bob--- via use-livecode wrote: > > There are changes in how things work in 10.14.x of Mac OS. When I setup my system for full stack dev (iMac 27? Late 2014) I did a mashup of the following 2 posts. Not sure that you should start right in with these but maybe there?s something in the text that will help you get the configuration you need. > > You will see that there?s a PHP focus in the setups. Once you are able to get the php info page working you should be good to get LC server running. The second link is a 3 part article. I?ve included a link to the first post. > > The Perfect Web Development Environment for Your New Mac (Not updated recently but a good reference) > https://mallinson.ca/posts/5/the-perfect-web-development-environment-for-your-new-mac > > Part 1: macOS 10.14 Mojave Web Development Environment (updated as recently as Jan 2019) > https://getgrav.org/blog/macos-mojave-apache-multiple-php-versions > > Hope this might help you, > Bob H. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Apr 6 10:54:26 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 6 Apr 2019 10:54:26 -0400 Subject: LC Server on OSX Mojave - Local host & sites In-Reply-To: <1BCFB7DA-8608-4EBE-98B6-E14AE1B1B3BB@bobhall.net> References: <73FC533D-2DD4-4914-9928-BDCDFDE42484@me.com> <1E28DC74-6C29-4BDB-83D8-C3AFE3B5F9AA@me.com> <1BCFB7DA-8608-4EBE-98B6-E14AE1B1B3BB@bobhall.net> Message-ID: <4C174F96-E86B-4010-978F-B8A45A5F603C@all-auctions.com> Hi Bob and Keith, I found that Part 3, although it said for Mojave was really Sierra. When I tried to use their setup. I discovered that the paths were incorrect. Once I compensated for the wrong paths I found. the solution worked for setting up SSL fine. https://getgrav.org/blog/macos-mojave-apache-ssl The other problem I found with their setup was that it didn?t use Apple?s recommended mod_secure_transport plug-in but instead used mod_ssl. It works for now! I guess we will have to wait for someone to work out exactly how to use Apple?s mod_secure_transport plug-in before we can move onto using that. Any takers up to the challenge? Good luck, Rick > On Apr 4, 2019, at 6:29 AM, bob--- via use-livecode wrote: > > ... > Part 1: macOS 10.14 Mojave Web Development Environment (updated as recently as Jan 2019) > https://getgrav.org/blog/macos-mojave-apache-multiple-php-versions > > Hope this might help you, > Bob H. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gwjapp at gmail.com Sun Apr 7 11:18:48 2019 From: gwjapp at gmail.com (Gabe J) Date: Sun, 7 Apr 2019 10:18:48 -0500 Subject: LiveCode time doesn't change when changing time zones unless you restart LiveCode Message-ID: When the time zone changes on the computer (on MacOS, at least), the time in LiveCode does not update accordingly if LiveCode is not quit/reopened. Does anyone know of a way to force LiveCode to update its time zone/time-tracking value without needing to restart LiveCode? Thanks, Gabe From jacque at hyperactivesw.com Sun Apr 7 15:34:31 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 7 Apr 2019 14:34:31 -0500 Subject: Browser selections Message-ID: Is there a way to get/set selected text in a browser widget? I couldn't find anything. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Sun Apr 7 16:07:33 2019 From: tom at makeshyft.com (Tom Glod) Date: Sun, 7 Apr 2019 16:07:33 -0400 Subject: LiveCode time doesn't change when changing time zones unless you restart LiveCode In-Reply-To: References: Message-ID: hmmm...never thought about this myself but it could be problematic to my application as well. not that i know anything, but this sounds like a feature request that could happen pretty easily. On Sun, Apr 7, 2019 at 11:19 AM Gabe J via use-livecode < use-livecode at lists.runrev.com> wrote: > When the time zone changes on the computer (on MacOS, at least), the time > in LiveCode does not update accordingly if LiveCode is not quit/reopened. > > Does anyone know of a way to force LiveCode to update its time > zone/time-tracking value without needing to restart LiveCode? > > Thanks, > Gabe > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 7 18:28:48 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 8 Apr 2019 00:28:48 +0200 Subject: LiveCode time doesn't change when changing time zones unless you restart LiveCode In-Reply-To: References: Message-ID: <51B1252C-24E5-4B76-81A6-CAA072574220@m-r-d.de> I think this is a common behaviour of many Windows programs, maybe even on MacOSX. The programs read such settings among other settings like installed fonts, installed printers when the programs start. At least i noticed this behaviour here with many other programs like our ERP system, some graphic/design tools and so on. If it?s the best way, i do not know, but we learned to live with it and it?s not such a big problem for us. Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 07.04.2019 um 17:18 schrieb Gabe J via use-livecode >: > > When the time zone changes on the computer (on MacOS, at least), the time > in LiveCode does not update accordingly if LiveCode is not quit/reopened. > > Does anyone know of a way to force LiveCode to update its time > zone/time-tracking value without needing to restart LiveCode? > > Thanks, > Gabe > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Sun Apr 7 18:54:47 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 7 Apr 2019 22:54:47 +0000 Subject: Blank Screen (black) on Mobile Message-ID: <7392C7AD-7629-47D9-8FB4-766A197C6743@hindu.org> I just released to the stores SivaSiva app, 1.4. (waiting on apple so it will be some days) I optimized performance in so many other ways? It quite fast now. Only thing is, that producing the standalones for mobile in 9.0.2.RC. I get some blank, black screens. I think if found a bug or a regression. It come shortly before or after you lock screen/unlock screen (with or without effect) It not enough to keep from users frpom using it and I can't wait any longer to put out this release but it would be good confirm and put this is for a "hot fix". Can anyone else confirm? Bug 21962 - Lockscreen Screen Causing a Blank Screen on Mobile BR From rjearp99 at gmail.com Sun Apr 7 19:57:13 2019 From: rjearp99 at gmail.com (Robert J. Earp) Date: Sun, 7 Apr 2019 16:57:13 -0700 Subject: Saving a tab formatted field to a file and retaining its formatting Message-ID: Dear all, we have a field that is formatted nicely with tabs and want to save that as a file, retaining the tab formatting. The saved file format ideally should be .rtf but we may be able to use other formats such as .pdf Anybody got any ideas how to do this ? Thanks in advance for your suggestions. best, Bob? Bob Earp - White Rock, BC, Canada From irog at mac.com Sun Apr 7 20:05:49 2019 From: irog at mac.com (Roger Guay) Date: Sun, 7 Apr 2019 17:05:49 -0700 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: Message-ID: <5195D178-66D3-48CA-BB06-11E9783039E3@mac.com> I sent a similar message some time ago to no avail. Let?s see if you are more successful. R > On Apr 7, 2019, at 4:57 PM, Robert J. Earp via use-livecode wrote: > > Dear all, we have a field that is formatted nicely with tabs and want to save that as a file, retaining the tab formatting. The saved file format ideally should be .rtf but we may be able to use other formats such as .pdf > > Anybody got any ideas how to do this ? > > Thanks in advance for your suggestions. > > best, Bob? > > Bob Earp - White Rock, BC, Canada > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 7 21:00:21 2019 From: paul at researchware.com (Paul Dupuis) Date: Sun, 7 Apr 2019 21:00:21 -0400 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: Message-ID: I take it your have tried: put the rtfText of field "X" into URL ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") And then reading it back to a new field with: set the rtfText of field "Y" to URL ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") and the tab spacing is not preserved? On 4/7/2019 7:57 PM, Robert J. Earp via use-livecode wrote: > Dear all, we have a field that is formatted nicely with tabs and want to save that as a file, retaining the tab formatting. The saved file format ideally should be .rtf but we may be able to use other formats such as .pdf > > Anybody got any ideas how to do this ? > > Thanks in advance for your suggestions. > > best, Bob? > > Bob Earp - White Rock, BC, Canada > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at livecode.org Sun Apr 7 23:10:08 2019 From: paul at livecode.org (Paul Hibbert) Date: Sun, 7 Apr 2019 20:10:08 -0700 Subject: Confirm Bug in Button - iconGravity and margins In-Reply-To: References: Message-ID: Not seeing this behaviour here on Mac. Paul macOS Mojave 10.14.4 > On Apr 3, 2019, at 19:56, Sannyasin Brahmanathaswami via use-livecode wrote: > > Can anyone confirm? > > 9.0.4 RC2 > > set the iconGravity of Button "openGlobalNav" to bottom > > > set the iconGravity of Button "openGlobalNav" to top. > # sets it to the BOTTOM > > Set the margin to "10" and it actually to -10 -- icon falls 10 pixels below the rect of the bottom) > > These were with SVG icons: import as control --> image --> choose an svg icon from disk. > > 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 hh at hyperhh.de Mon Apr 8 03:38:17 2019 From: hh at hyperhh.de (hh) Date: Mon, 8 Apr 2019 09:38:17 +0200 Subject: Browser selections Message-ID: > Is there a way to get/set selected text in a browser widget? > I couldn't find anything. Why is the LC Builder forum not among your search places? With LC Script: No. With JavaScript. Yes. http://forums.livecode.com/viewtopic.php?p=174936#p174936 From hh at hyperhh.de Mon Apr 8 07:22:09 2019 From: hh at hyperhh.de (hh) Date: Mon, 8 Apr 2019 13:22:09 +0200 Subject: Browser selections Message-ID: <4F2D8865-AC20-4FB8-83DC-7F3C8D48877B@hyperhh.de> (Getting the selection of a browser widget: Aee my previous post). Setting the selection of a browser widget: Assume you have an element click me in your webpage. Then the following selects char 1 to 4 of the link text (= "clic"). on mouseUp put "var node = document.getElementById('jlg1').firstChild;" & \ "var range = document.createRange();" & \ "range.setStart(node, 0); range.setEnd(node, 3);" & \ "var selection = window.getSelection();" & \ "selection.removeAllRanges(); selection.addRange(range);" into js do js in widget "Browser" end mouseUp Note that setStart and setEnd are zero-based in counting chars. From dunbarx at aol.com Mon Apr 8 09:25:41 2019 From: dunbarx at aol.com (dunbarxx) Date: Mon, 8 Apr 2019 08:25:41 -0500 (CDT) Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: Message-ID: <1554729941432-0.post@n4.nabble.com> Hi. I am always missing something. Why is there an issue retaining tabs in a body of ordinary text? I have a table field with "A" & tab & "B" & tab & "C" in it. If I write that text into a file on my desktop and then load it back into the second line of that field: on mouseUp get fld 1 open file "/users/craignewman/desktop/xxx" for text write write it to file "/users/craignewman/desktop/xxx" close file "/users/craignewman/desktop/xxx" open file "/users/craignewman/desktop/xxx" for read read from file "/users/craignewman/desktop/xxx" until EOF close file "/users/craignewman/desktop/xxx" put it into line 2 of fld 1 end mouseUp The identical text is now in line 2, all tabs intact. No rtf stuff needed. I am always missing something. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From brian at milby7.com Mon Apr 8 09:48:59 2019 From: brian at milby7.com (Brian Milby) Date: Mon, 8 Apr 2019 09:48:59 -0400 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: <1554729941432-0.post@n4.nabble.com> References: <1554729941432-0.post@n4.nabble.com> Message-ID: I don?t think it is the tab character but rather the tab stops that are the problem. Brian On Apr 8, 2019, 9:26 AM -0400, dunbarxx via use-livecode , wrote: > Hi. > > I am always missing something. Why is there an issue retaining tabs in a > body of ordinary text? > > I have a table field with "A" & tab & "B" & tab & "C" in it. If I write that > text into a file on my desktop and then load it back into the second line of > that field: > > on mouseUp > get fld 1 > > open file "/users/craignewman/desktop/xxx" for text write > write it to file "/users/craignewman/desktop/xxx" > close file "/users/craignewman/desktop/xxx" > > open file "/users/craignewman/desktop/xxx" for read > read from file "/users/craignewman/desktop/xxx" until EOF > close file "/users/craignewman/desktop/xxx" > > put it into line 2 of fld 1 > end mouseUp > > The identical text is now in line 2, all tabs intact. No rtf stuff needed. > > I am always missing something. > > Craig Newman > > > > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Mon Apr 8 10:03:23 2019 From: dunbarx at aol.com (dunbarxx) Date: Mon, 8 Apr 2019 09:03:23 -0500 (CDT) Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: <1554729941432-0.post@n4.nabble.com> Message-ID: <1554732203415-0.post@n4.nabble.com> Aha. TabStops. Unless I am missing something, is it that the data in a tabStop formatted field is to be copied somehow, so that if loaded into a brand new field, the tabStops property is also "loaded" into that field? But that is a property of a field, not of text, and I do not think such information can be similarly "transmitted", regardless of how that text is formatted. I could be wrong. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From irog at mac.com Mon Apr 8 10:20:17 2019 From: irog at mac.com (Roger Guay) Date: Mon, 8 Apr 2019 07:20:17 -0700 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: <1554732203415-0.post@n4.nabble.com> References: <1554729941432-0.post@n4.nabble.com> <1554732203415-0.post@n4.nabble.com> Message-ID: That is a very clear explanation of what I think the problem is. Roger > On Apr 8, 2019, at 7:03 AM, dunbarxx via use-livecode wrote: > > But that is a property of a field, not of text, and I do not think such > information can be similarly "transmitted", regardless of how that text is > formatted. From brahma at hindu.org Mon Apr 8 10:21:22 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 8 Apr 2019 14:21:22 +0000 Subject: Confirm Bug in Button - iconGravity and margins In-Reply-To: References: Message-ID: <2403396D-6141-41D7-B25C-BBF5C07BE145@hindu.org> Strange, re-booted my Mac and Livecode... Set iconGravity is btn "hello" to top now works.. BR ? Paul Hibbert Not seeing this behaviour here on Mac. Paul macOS Mojave 10.14.4 From dunbarx at aol.com Mon Apr 8 10:42:17 2019 From: dunbarx at aol.com (dunbarxx) Date: Mon, 8 Apr 2019 09:42:17 -0500 (CDT) Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: <1554729941432-0.post@n4.nabble.com> <1554732203415-0.post@n4.nabble.com> Message-ID: <1554734537787-0.post@n4.nabble.com> I am usually very good at describing problems. I am not so good at describing solutions. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From paul at researchware.com Mon Apr 8 10:55:31 2019 From: paul at researchware.com (Paul Dupuis) Date: Mon, 8 Apr 2019 10:55:31 -0400 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: Message-ID: On 4/7/2019 9:00 PM, Paul Dupuis via use-livecode wrote: > I take it your have tried: > > put the rtfText of field "X" into URL > ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") > > And then reading it back to a new field with: > > set the rtfText of field "Y" to URL > ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") > > and the tab spacing is not preserved? > If the rtfText does nto preserve the tabstops, the htmlText should preserve the tabstops. See the dictionary entry for the htmlText property of a field. If neither the rtfText property of a field, nor the htmlText property of a field preserve the tabstops (again, not sure about rtfText, but the Dictionary implies htmlText does), you can use put the arralEncode(the styledText of field "X") into URL ("binfile:"&specialFolderPath("desktop")&slash&"savedfield.bin") And then reading it back to a new field with: put URL ("binfile:"&specialFolderPath("desktop")&slash&"savedfield.bin")into tFieldData set the styledText of field "Y" to arrayDecode(tFieldData) But this later approach does not produce an RTF or HTML file that can be opened in other software tools like Microsoft Word From bobsneidar at iotecdigital.com Mon Apr 8 11:39:46 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 8 Apr 2019 15:39:46 +0000 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: <1554729941432-0.post@n4.nabble.com> References: <1554729941432-0.post@n4.nabble.com> Message-ID: <1083265C-70CA-4CCD-98BA-1FDF5ACEC503@iotecdigital.com> Because the tab stops are not part of the data of any formatted text properties. You can test this by creating a table field, setting the tab stops to whatever you want, typing some information, setting the clipBoardData ["rtftext"] to the rtftext of the table field, then pasting into a word document as formatted text. Word retains it's own tab stops, because none of the tab stops set in the table field are in the rtf text copied to the clipboard. Bob S > On Apr 8, 2019, at 06:25 , dunbarxx via use-livecode wrote: > > Hi. > > I am always missing something. Why is there an issue retaining tabs in a > body of ordinary text? From bobsneidar at iotecdigital.com Mon Apr 8 11:42:28 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 8 Apr 2019 15:42:28 +0000 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: Message-ID: <0AF87507-E058-47C6-B0FA-2F8D3729A7CF@iotecdigital.com> I just tested with htmltext. Tab stops are NOT preserved. Bob S > On Apr 8, 2019, at 07:55 , Paul Dupuis via use-livecode wrote: > > On 4/7/2019 9:00 PM, Paul Dupuis via use-livecode wrote: >> I take it your have tried: >> >> put the rtfText of field "X" into URL ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") >> >> And then reading it back to a new field with: >> >> set the rtfText of field "Y" to URL ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") >> >> and the tab spacing is not preserved? >> > > If the rtfText does nto preserve the tabstops, the htmlText should preserve the tabstops. See the dictionary entry for the htmlText property of a field. From ambassador at fourthworld.com Mon Apr 8 11:56:22 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 8 Apr 2019 08:56:22 -0700 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: Message-ID: Robert J. Earp wrote: > Dear all, we have a field that is formatted nicely with tabs and want > to save that as a file, retaining the tab formatting. The saved file > format ideally should be .rtf but we may be able to use other formats > such as .pdf > > Anybody got any ideas how to do this ? Short answer: Not directly just yet, but with RTF being a text format you could write a function to add column widths to RTF on export. Longer answer: Exporting the contents of a field does not export the properties of a field object itself. But with the enhancements of v5.4 we now have MANY more paragraph-level properties. So we would expect that setting the tabStops (or the newer tabWidths, sometimes a more useful alternative) of each line within the field would produce rtFText that includes those column specifiers. But alas, I just tried it and it does not. If someone has time to catalog those RTF features that LC now supports with fields but does not include in rtfText it may be helpful to file an enhancement request to bring rtfText current with the full range of relevant text properties. RtfText is not designed to be able to reproduce an LC field with complete fidelity (that's htmlText's role), but should include all attributes common to both LC and RTF, and AFAIK did cover almost all of them until v5.4 introduced all the new paragraph and inline styling properties. For now, a workaround would be to write a function that walks through the rows and columns of a field, including column width specifiers as you go. Tedious, but doable. -- 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 Mon Apr 8 12:07:26 2019 From: hh at hyperhh.de (hh) Date: Mon, 8 Apr 2019 18:07:26 +0200 Subject: Saving a tab formatted field to a file and retaining its formatting Message-ID: <0B62D960-27BC-4F01-AA65-52131510A3DF@hyperhh.de> -- Converts a simple table field with tabstops to a html http://lists.runrev.com/pipermail/use-livecode/2019-March/253271.html From rjearp99 at gmail.com Mon Apr 8 12:24:41 2019 From: rjearp99 at gmail.com (Robert J. Earp) Date: Mon, 8 Apr 2019 09:24:41 -0700 Subject: Saving a tab formatted field to a file and retaining its formatting Message-ID: Thanks for the reply Paul. Yes, tried that but there are problems. It saves a .rtf file but when you open that in MSWord (OS X or Windows) the tabs are changed to underscores. If you open the file in OS X TextEdit it does have tabs but the position/spacing is not retained. I?ve created a sample/test stack if anybody wants to play ;-) Our project is supposed to create a formatted file that external to the LC project, gets assembled with other documents/files to make a presentable report. The other docs/files are .rtf (created in MSWord or Pages or TextEdit) and an .eps file. The final report will be a .pdf and Acrobat is likely what will get used to manually assemble the final report. To quote my valued colleague (RogerG) on this problem, and who has spent inordinate hours trying to find a solution, tabs have turned out to be tricky little devils in LC !! best, Bob... > From: Paul Dupuis > > To: use-livecode at lists.runrev.com > Subject: Re: Saving a tab formatted field to a file and retaining its > formatting > Message-ID: > > Content-Type: text/plain; charset=utf-8; format=flowed > > I take it your have tried: > > put the rtfText of field "X" into URL > ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") > > And then reading it back to a new field with: > > set the rtfText of field "Y" to URL > ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") > > and the tab spacing is not preserved? > > > > On 4/7/2019 7:57 PM, Robert J. Earp via use-livecode wrote: >> Dear all, we have a field that is formatted nicely with tabs and want to save that as a file, retaining the tab formatting. The saved file format ideally should be .rtf but we may be able to use other formats such as .pdf >> >> Anybody got any ideas how to do this ? >> >> Thanks in advance for your suggestions. >> >> best, Bob? >> >> Bob Earp - White Rock, BC, Canada From rdimola at evergreeninfo.net Mon Apr 8 12:27:59 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 8 Apr 2019 12:27:59 -0400 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: Message-ID: <003901d4ee28$0ae10a90$20a31fb0$@net> No tabstops using the styledText property either. This is the one I would have expected to include the tab stops/widths. 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, April 08, 2019 11:56 AM To: use-livecode at lists.runrev.com Cc: Richard Gaskin Subject: Re: Saving a tab formatted field to a file and retaining its formatting Robert J. Earp wrote: > Dear all, we have a field that is formatted nicely with tabs and want > to save that as a file, retaining the tab formatting. The saved file > format ideally should be .rtf but we may be able to use other formats > such as .pdf > > Anybody got any ideas how to do this ? Short answer: Not directly just yet, but with RTF being a text format you could write a function to add column widths to RTF on export. Longer answer: Exporting the contents of a field does not export the properties of a field object itself. But with the enhancements of v5.4 we now have MANY more paragraph-level properties. So we would expect that setting the tabStops (or the newer tabWidths, sometimes a more useful alternative) of each line within the field would produce rtFText that includes those column specifiers. But alas, I just tried it and it does not. If someone has time to catalog those RTF features that LC now supports with fields but does not include in rtfText it may be helpful to file an enhancement request to bring rtfText current with the full range of relevant text properties. RtfText is not designed to be able to reproduce an LC field with complete fidelity (that's htmlText's role), but should include all attributes common to both LC and RTF, and AFAIK did cover almost all of them until v5.4 introduced all the new paragraph and inline styling properties. For now, a workaround would be to write a function that walks through the rows and columns of a field, including column width specifiers as you go. Tedious, but doable. -- 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 bobsneidar at iotecdigital.com Mon Apr 8 12:30:58 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 8 Apr 2019 16:30:58 +0000 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: <0B62D960-27BC-4F01-AA65-52131510A3DF@hyperhh.de> References: <0B62D960-27BC-4F01-AA65-52131510A3DF@hyperhh.de> Message-ID: <33D30B43-25C4-4533-B1BC-662FA1AE485D@iotecdigital.com> This is a bit more useful. Pass the long id of the field object: function fieldToHTMLTable pFieldID if not there is a field pFieldID then return "ERROR: Field object does not exist!" put the htmltext of pFieldID into ht put the effective textSize of pFieldID into fs put the tabstops of pFieldID into tStops put the width of pFieldID into fw put empty into tabbs -- we need tabstops relative, not absolute put item 1 of tStops into tabbs[1] repeat with i=2 to the num of items of tStops put item i of tStops - item (i-1) of tStops into tabbs[i] end repeat set itemdel to ("&" & "#9;"); set linedel to "

" replace "

" with empty in ht put "
"into s0 repeat for each line L in ht put empty into s repeat with i=1 to the num of items of L put item i of L into II put "" after s end repeat if s is not empty then put cr&""&s&"" after s0 end repeat put "" & cr & \ "" & \ s0 & cr & "
" &II& "
" into htm return htm end fieldToHTMLTable Bob S > On Apr 8, 2019, at 09:07 , hh via use-livecode wrote: > > -- Converts a simple table field with tabstops to a html > http://lists.runrev.com/pipermail/use-livecode/2019-March/253271.html From mark at livecode.com Mon Apr 8 12:39:13 2019 From: mark at livecode.com (Mark Waddingham) Date: Mon, 08 Apr 2019 18:39:13 +0200 Subject: Saving a tab formatted field to a file and retaining =?UTF-8?Q?its=09formatting?= In-Reply-To: <003901d4ee28$0ae10a90$20a31fb0$@net> References: <003901d4ee28$0ae10a90$20a31fb0$@net> Message-ID: On 2019-04-08 18:27, Ralph DiMola via use-livecode wrote: > No tabstops using the styledText property either. This is the one I > would > have expected to include the tab stops/widths. Both styledText and htmlText representations do include the tabStops (and tabAlign) settings - however both those formats (by default) only encode the field content (e.g. paragraph styles, character styles and text). If you want the properties inherited into the field content (i.e. from all ancestor objects, including the field itself) then you can use the 'effective' adjective. In contrast, rtfText is always generated as if 'effective' is specified (as you can't encode the notion of inheritance of property values in RTF) - however, as has been noticed, it does not support the tabStops nor tabAlign properties). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From bobsneidar at iotecdigital.com Mon Apr 8 13:05:31 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 8 Apr 2019 17:05:31 +0000 Subject: LC 9.0.4 rc2 no longer hangs with modal dialogs! Message-ID: <2DE25482-55B5-4463-BA0B-49E6B1FE1B33@iotecdigital.com> Thanks to the LC dev team, building an app no longer hangs when a modal dialog is opened. While a minor nuisance, this did get a little annoying at times. Bob S From jjs at krutt.org Mon Apr 8 13:22:14 2019 From: jjs at krutt.org (JJS) Date: Mon, 8 Apr 2019 19:22:14 +0200 Subject: Browser selections In-Reply-To: References: Message-ID: you can use this: *put*thehtmlTextofwidget"browser"intotT i use this now for an api which redirects to a php file which echoes a line of text (as normally it would use the URL scheme, but this does not work with the widget) this way i could use the? browser widget and stay in the app(mobile) instead of using a external browser and retunring to the app afterwards which is an ugly thing and leaves the url open in an extenal browser. if the text in the browser is my text then it moves on(and i'm checking like 10 times) It works great! Op 7-4-2019 om 21:34 schreef J. Landman Gay via use-livecode: > Is there a way to get/set selected text in a browser widget? I > couldn't find anything. > From jacque at hyperactivesw.com Mon Apr 8 14:47:04 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 8 Apr 2019 13:47:04 -0500 Subject: Browser selections In-Reply-To: <4F2D8865-AC20-4FB8-83DC-7F3C8D48877B@hyperhh.de> References: <4F2D8865-AC20-4FB8-83DC-7F3C8D48877B@hyperhh.de> Message-ID: <35cf412c-7d13-35db-01e9-be896969c673@hyperactivesw.com> Thanks. I don't know JavaScript so it's a little over my head, but I'll try it. On 4/8/19 6:22 AM, hh via use-livecode wrote: > (Getting the selection of a browser widget: Aee my previous post). > > Setting the selection of a browser widget: > > Assume you have an element click me in your webpage. > Then the following selects char 1 to 4 of the link text (= "clic"). > > on mouseUp > put "var node = document.getElementById('jlg1').firstChild;" & \ > "var range = document.createRange();" & \ > "range.setStart(node, 0); range.setEnd(node, 3);" & \ > "var selection = window.getSelection();" & \ > "selection.removeAllRanges(); selection.addRange(range);" into js > do js in widget "Browser" > end mouseUp > > Note that setStart and setEnd are zero-based in counting chars. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Apr 8 14:52:31 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 8 Apr 2019 13:52:31 -0500 Subject: Browser selections In-Reply-To: References: Message-ID: <2b4cbd5a-f675-52d8-1a1a-e20defec9b4c@hyperactivesw.com> Actually, I need to hilite a portion of the text in the browser rather than just get the whole content. Are you doing that? Eventually I may need to get the user's drag-selection too, but not yet. On 4/8/19 12:22 PM, JJS via use-livecode wrote: > you can use this: > > *put*thehtmlTextofwidget"browser"intotT > > > i use this now for an api which redirects to a php file which echoes a > line of text (as normally it would use the URL scheme, but this does not > work with the widget) > > this way i could use the? browser widget and stay in the app(mobile) > instead of using a external browser and retunring to the app afterwards > which is an ugly thing and leaves the url open in an extenal browser. > > if the text in the browser is my text then it moves on(and i'm checking > like 10 times) > > It works great! > > > Op 7-4-2019 om 21:34 schreef J. Landman Gay via use-livecode: >> Is there a way to get/set selected text in a browser widget? I >> couldn't find anything. >> > > _______________________________________________ > use-livecode mailing list > use-livecode 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 brahma at hindu.org Mon Apr 8 18:30:13 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 8 Apr 2019 22:30:13 +0000 Subject: OT: ConcertWare Font Message-ID: Way off topic, but we have some old mac users here, many into music. I am looking for a music notation font called ConcertWare. A music/midi program circa 2000 made by Chad Mitchell, Great Wave Software, later owned by Jump! Software. Then went out of business, I have some old eps document that you the ConcertWare Fonts. BR From rmetzker at gmail.com Mon Apr 8 18:35:06 2019 From: rmetzker at gmail.com (Ron Metzker) Date: Mon, 8 Apr 2019 15:35:06 -0700 Subject: OT: ConcertWare Font In-Reply-To: References: Message-ID: <00CD8EB0-E401-4037-BB4F-F992D2362E10@gmail.com> BR, Here you go. You can get the font here for free. https://sightcreations.wordpress.com/2014/06/02/25-years-the-unsung-music-symbols-font/ Best Regards Ron > On Apr 8, 2019, at 3:30 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > Way off topic, but we have some old mac users here, many into music. > > I am looking for a music notation font called ConcertWare. > > A music/midi program circa 2000 made by Chad Mitchell, Great Wave Software, later owned by Jump! Software. Then went out of business, > > I have some old eps document that you the ConcertWare Fonts. > > > 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 andre at andregarzia.com Tue Apr 9 07:04:48 2019 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 9 Apr 2019 12:04:48 +0100 Subject: Notarizing applications for macOS Message-ID: <68d446eb-60fe-5b95-b7cd-104c933cbc7d@andregarzia.com> Hey friends, This info just passed through my inbox: https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution?language=objc Do we have a solution for this already? Can we notarize LC standalones? Cheers andre From stephen at barncard.com Tue Apr 9 10:09:46 2019 From: stephen at barncard.com (Stephen Barncard) Date: Tue, 9 Apr 2019 07:09:46 -0700 Subject: Notarizing applications for macOS In-Reply-To: <68d446eb-60fe-5b95-b7cd-104c933cbc7d@andregarzia.com> References: <68d446eb-60fe-5b95-b7cd-104c933cbc7d@andregarzia.com> Message-ID: And if you are not connected to the krell None of your stuff will work. All is hopeless. What a nightmare. On Tue, Apr 9, 2019 at 04:05 Andre Garzia via use-livecode < use-livecode at lists.runrev.com> wrote: > Hey friends, > > This info just passed through my inbox: > > https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution?language=objc > > Do we have a solution for this already? Can we notarize LC standalones? > > Cheers > > andre > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From brahma at hindu.org Tue Apr 9 10:55:38 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 9 Apr 2019 14:55:38 +0000 Subject: Notarizing applications for macOS In-Reply-To: References: <68d446eb-60fe-5b95-b7cd-104c933cbc7d@andregarzia.com> Message-ID: <9987B9E5-E206-4132-8DF8-E364CC3D8552@hindu.org> Stephen Barncard wrote: "not connected to the krell" ?? From rdimola at evergreeninfo.net Tue Apr 9 11:23:04 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 9 Apr 2019 11:23:04 -0400 Subject: Notarizing applications for macOS In-Reply-To: <9987B9E5-E206-4132-8DF8-E364CC3D8552@hindu.org> References: <68d446eb-60fe-5b95-b7cd-104c933cbc7d@andregarzia.com> <9987B9E5-E206-4132-8DF8-E364CC3D8552@hindu.org> Message-ID: <002b01d4eee8$23a50e30$6aef2a90$@net> Robby says: Ask Anne Francis... 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 Sannyasin Brahmanathaswami via use-livecode Sent: Tuesday, April 09, 2019 10:56 AM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: Notarizing applications for macOS Stephen Barncard wrote: "not connected to the krell" ?? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From kee.nethery at elloco.com Tue Apr 9 11:27:32 2019 From: kee.nethery at elloco.com (kee nethery) Date: Tue, 9 Apr 2019 08:27:32 -0700 Subject: Notarizing applications for macOS In-Reply-To: <68d446eb-60fe-5b95-b7cd-104c933cbc7d@andregarzia.com> References: <68d446eb-60fe-5b95-b7cd-104c933cbc7d@andregarzia.com> Message-ID: <9DFDDD2C-C6B4-4FDB-81F7-EA54302BEE4C@elloco.com> I have to admit, I?ve only read about this notarization thing but based upon my experience in getting an app approved for the macOS app store, my answer would be yes. Yes you can notarize LC standalones. My guess is that you just code sign the app with your apple developer ID certificates. My guess is that it does none of the security sandbox checks. The sandbox checks and various other app store specific tasks are a tad complicated with LiveCode and it is my understanding that notarization does none of that. Pretty sure this is: "I am code signing this bundle of bits to say that it really did come from me and so that the OS can checksum the bundle of bits to make sure they match what I signed and haven?t been altered by malware." Of course, data needs to be stored outside of the standalone but I kind of remember that is required anyway. Kee Nethery > On Apr 9, 2019, at 4:04 AM, Andre Garzia via use-livecode wrote: > > Hey friends, > > This info just passed through my inbox: https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution?language=objc > > Do we have a solution for this already? Can we notarize LC standalones? > > Cheers > > andre > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Apr 9 11:33:46 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 9 Apr 2019 08:33:46 -0700 Subject: Notarizing applications for macOS In-Reply-To: <002b01d4eee8$23a50e30$6aef2a90$@net> References: <68d446eb-60fe-5b95-b7cd-104c933cbc7d@andregarzia.com> <9987B9E5-E206-4132-8DF8-E364CC3D8552@hindu.org> <002b01d4eee8$23a50e30$6aef2a90$@net> Message-ID: On 4/9/19 8:23 AM, Ralph DiMola via use-livecode wrote: > Robby says: Ask Anne Francis... ...On Altair IV -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Tue Apr 9 11:47:19 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 9 Apr 2019 08:47:19 -0700 Subject: Notarizing applications for macOS In-Reply-To: <68d446eb-60fe-5b95-b7cd-104c933cbc7d@andregarzia.com> References: <68d446eb-60fe-5b95-b7cd-104c933cbc7d@andregarzia.com> Message-ID: <9b9eb12c-5858-0d5d-8122-94d7da2f36a1@sonic.net> On 4/9/19 4:04 AM, Andre Garzia via use-livecode wrote: > Hey friends, > > This info just passed through my inbox: > https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution?language=objc https://nicolas.perriault.net/code/2016/from-osx-to-ubuntu/ ...just sayin... -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Tue Apr 9 11:47:48 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 9 Apr 2019 15:47:48 +0000 Subject: Container for Multi-Media Narravites; SMIL Revisited Message-ID: Brainstorm: It a shame that SMIL was abandoned. Well maybe not... but working from ground zero is a challenge. We want Goal: Implementation: Input: Voluteers or staff can "build a narrative" by - write a script that fills the "text" nodes (below) - source (search for) for images, audio and video resources and times be referenced. Output: is it XML, Is it JSON? Is it YAML. Or something else? It has to be flexible but parseable. Does the below provide enough detail that the production or director or the developer can built it? Using whatever format or tools that he-she like? ---------------- Rough spec: -- A high level container for a multi-media narrative. -- It should have a structure; so, HTML would will not do (unstructured) -- It is "presentation" agnostic - you could give it to a film producer and it could serve as a "script" - you could built a KeyNote which would export to a video - Using to the build a "story" as HTML, as seen on "Medium" - use it to build small HTML5 scenes ala Tumult's "Hype 3" - you could bring in Livecode and a log scrolling group or "click for next scene" on a card. We take the model of a play, which has scenes. Each scene describes what happens before "the curtain drops" then next one Each scene has scenario, which happens while the curtain is up, but is distinct The container which we will call a "Narrative Script" has one or more scenes must have (at minimum) Narrative Script Scene ID Scenerio ID -- Node for text with attributes: - layer - title: Literal text: "Oh What a Day!" - Pull Quote - literal text entry: "We took a deep drive dive: - URI form some "locations" or function from which text can be retrieved (url http://someDomain/SomeBook/chap##/?name=###) - Quote - literal text entry: "We want for a long drive in...." - URI form some "locations" or function from which text can be retrieved (url http://someDomain/SomeBook/chap##/?name=###) - Variable length Text - long text entry: "Once open a time...." - URI form some "locations" or function from which text can be retrieved (url http://someDomain/SomeBook/chap##/?name=###) -- Node for image -- still -- motion/Gif -- optional Ken burn effect: - begin loc, ending loc, speed, ratio change -- node for video URI Attributes: beginning and ending point - node for audio URI Attributes: beginning and ending point --------------- Anything missing? From rjearp99 at gmail.com Tue Apr 9 12:00:12 2019 From: rjearp99 at gmail.com (Robert J. Earp) Date: Tue, 9 Apr 2019 09:00:12 -0700 Subject: Saving a tab formatted field to a file and retaining its formatting Message-ID: Many thanks for all of the great response and from such experts !! I?m not sure if the HTMLText solution will work for us as by default the output file would open in a browser and we need to get it into .pdf format to assemble (in Acrobat) with the other parts of the report. RogerG and I are currently mousing around creating a LC tool to output a fields content to .pdf It?s looking promising and we?ll let you know of our success or not !! best, Bob? Bob Earp - White Rock, BC > Our project is supposed to create a formatted file that external to the LC project, gets assembled with other documents/files to make a presentable report. The other docs/files are .rtf (created in MSWord or Pages or TextEdit) and an .eps file. The final report will be a .pdf and Acrobat is likely what will get used to manually assemble the final report. From ambassador at fourthworld.com Tue Apr 9 12:18:00 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 9 Apr 2019 09:18:00 -0700 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: Message-ID: Robert J. Earp wrote: > I?m not sure if the HTMLText solution will work for us as by default > the output file would open in a browser and we need to get it into > .pdf format to assemble (in Acrobat) with the other parts of the > report. > > RogerG and I are currently mousing around creating a LC tool to output > a fields content to .pdf It?s looking promising and we?ll let you > know of our success or not !! Would LC's built-in print to PDF support not be an option? -- 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 Apr 9 14:00:39 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 9 Apr 2019 18:00:39 +0000 Subject: Notarizing applications for macOS In-Reply-To: References: <68d446eb-60fe-5b95-b7cd-104c933cbc7d@andregarzia.com> <9987B9E5-E206-4132-8DF8-E364CC3D8552@hindu.org> <002b01d4eee8$23a50e30$6aef2a90$@net> Message-ID: Apple.com == "Krell is named after the advanced civilization that once inhabited the planet Altair IV in the classic 1956 science fiction movie 'Forbidden Planet.'" LOTF BR ?On 4/9/19, 5:44 AM, "use-livecode on behalf of Mark Wieder via use-livecode" wrote: ..On Altair IV From jjs at krutt.org Tue Apr 9 13:33:33 2019 From: jjs at krutt.org (JJS) Date: Tue, 9 Apr 2019 19:33:33 +0200 Subject: Browser selections In-Reply-To: <2b4cbd5a-f675-52d8-1a1a-e20defec9b4c@hyperactivesw.com> References: <2b4cbd5a-f675-52d8-1a1a-e20defec9b4c@hyperactivesw.com> Message-ID: Who are you referring to Jacque? hh or me? If it's me, then: i echo only one line of text with the php file which is called after the api routine succeeded. this way i can just look for that one sentence, it goes so fast you can't see it and the app switches to another card Op 8-4-2019 om 20:52 schreef J. Landman Gay via use-livecode: > Actually, I need to hilite a portion of the text in the browser rather > than just get the whole content. Are you doing that? > > Eventually I may need to get the user's drag-selection too, but not yet. > > > On 4/8/19 12:22 PM, JJS via use-livecode wrote: >> you can use this: >> >> *put*thehtmlTextofwidget"browser"intotT >> >> >> i use this now for an api which redirects to a php file which echoes >> a line of text (as normally it would use the URL scheme, but this >> does not work with the widget) >> >> this way i could use the? browser widget and stay in the app(mobile) >> instead of using a external browser and retunring to the app >> afterwards which is an ugly thing and leaves the url open in an >> extenal browser. >> >> if the text in the browser is my text then it moves on(and i'm >> checking like 10 times) >> >> It works great! >> >> >> Op 7-4-2019 om 21:34 schreef J. Landman Gay via use-livecode: >>> Is there a way to get/set selected text in a browser widget? I >>> couldn't find anything. >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > From richmondmathewson at gmail.com Tue Apr 9 17:01:08 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 10 Apr 2019 00:01:08 +0300 Subject: OT: ConcertWare Font In-Reply-To: <00CD8EB0-E401-4037-BB4F-F992D2362E10@gmail.com> References: <00CD8EB0-E401-4037-BB4F-F992D2362E10@gmail.com> Message-ID: That link gives you a link to download the font which is dead. But: https://www.macintoshrepository.org/2364-concertware- http://www.co-bw.com/Audio_notation.htm Richmond. On 9.04.19 1:35, Ron Metzker via use-livecode wrote: > BR, > > Here you go. You can get the font here for free. > https://sightcreations.wordpress.com/2014/06/02/25-years-the-unsung-music-symbols-font/ > > Best Regards > Ron > >> On Apr 8, 2019, at 3:30 PM, Sannyasin Brahmanathaswami via use-livecode wrote: >> >> Way off topic, but we have some old mac users here, many into music. >> >> I am looking for a music notation font called ConcertWare. >> >> A music/midi program circa 2000 made by Chad Mitchell, Great Wave Software, later owned by Jump! Software. Then went out of business, >> >> I have some old eps document that you the ConcertWare Fonts. >> >> >> BR >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Apr 9 17:34:51 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 9 Apr 2019 14:34:51 -0700 Subject: OT: ConcertWare Font In-Reply-To: References: <00CD8EB0-E401-4037-BB4F-F992D2362E10@gmail.com> Message-ID: <332c9a9b-5443-72d9-4d51-d9dd03471ef5@sonic.net> On 4/9/19 2:01 PM, Richmond via use-livecode wrote: > That link gives you a link to download the font which is dead. Nah... it's just got an extra dot. Change the .fxmahoney.com to fxmahoney.com and you're in. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Tue Apr 9 18:27:25 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 9 Apr 2019 15:27:25 -0700 Subject: Public Sans font Message-ID: The FOSS Public Sans font has been released under the SIL Open Font License, Version 1.1 https://public-sans.digital.gov/ https://github.com/uswds/public-sans https://github.com/uswds/public-sans/releases -- Mark Wieder ahsoftware at gmail.com From tariel at mac.com Tue Apr 9 22:27:57 2019 From: tariel at mac.com (Tariel Gogoberidze) Date: Tue, 9 Apr 2019 22:27:57 -0400 Subject: =?utf-8?Q?Upcoming_MacOS_14=2E5_with_software_=E2=80=9Cnotarizati?= =?utf-8?Q?on=E2=80=9D_requirements?= Message-ID: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> Hi It seems that as of MacOS 14.5 all new and updated apps would not run without been ?notarized? by Apple. https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution https://www.cultofmac.com/618378/apple-will-soon-require-all-macos-apps-to-be-notarized/ Anybody on the list who ?notarized? their Mac OS app or who knows what it takes ? regards Tariel From jacque at hyperactivesw.com Wed Apr 10 02:44:12 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Apr 2019 01:44:12 -0500 Subject: Browser selections In-Reply-To: References: <2b4cbd5a-f675-52d8-1a1a-e20defec9b4c@hyperactivesw.com> Message-ID: I was replying to you, JJS. I might be confused about how your method works. How does returning a line from the server allow hiliting text in the widget? On 4/9/19 12:33 PM, JJS via use-livecode wrote: > Who are you referring to Jacque? hh or me? > > > If it's me, then: > > i echo only one line of text with the php file which is called after the > api routine succeeded. > > this way i can just look for that one sentence, it goes so fast you > can't see it and the app switches to another card > > > Op 8-4-2019 om 20:52 schreef J. Landman Gay via use-livecode: >> Actually, I need to hilite a portion of the text in the browser rather >> than just get the whole content. Are you doing that? >> >> Eventually I may need to get the user's drag-selection too, but not yet. >> >> >> On 4/8/19 12:22 PM, JJS via use-livecode wrote: >>> you can use this: >>> >>> *put*thehtmlTextofwidget"browser"intotT >>> >>> >>> i use this now for an api which redirects to a php file which echoes >>> a line of text (as normally it would use the URL scheme, but this >>> does not work with the widget) >>> >>> this way i could use the? browser widget and stay in the app(mobile) >>> instead of using a external browser and retunring to the app >>> afterwards which is an ugly thing and leaves the url open in an >>> extenal browser. >>> >>> if the text in the browser is my text then it moves on(and i'm >>> checking like 10 times) >>> >>> It works great! >>> >>> >>> Op 7-4-2019 om 21:34 schreef J. Landman Gay via use-livecode: >>>> Is there a way to get/set selected text in a browser widget? I >>>> couldn't find anything. >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode 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 andre at andregarzia.com Wed Apr 10 06:15:52 2019 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 10 Apr 2019 11:15:52 +0100 Subject: Notarizing applications for macOS In-Reply-To: <9b9eb12c-5858-0d5d-8122-94d7da2f36a1@sonic.net> References: <68d446eb-60fe-5b95-b7cd-104c933cbc7d@andregarzia.com> <9b9eb12c-5858-0d5d-8122-94d7da2f36a1@sonic.net> Message-ID: On 09/04/2019 16:47, Mark Wieder via use-livecode wrote: > On 4/9/19 4:04 AM, Andre Garzia via use-livecode wrote: >> Hey friends, >> >> This info just passed through my inbox: >> https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution?language=objc > > > https://nicolas.perriault.net/code/2016/from-osx-to-ubuntu/ > > ...just sayin... > Just came back to macOS after some years with Windows. To be honest, macOS is worse than I remember. Heck, what Apple is doing?! Unfortunately can't migrate to Linux at the moment. If I was in the position to choose, I wish I could migrate to a BSD but that would involve me porting LC to BSD and I don't have infinite time or the required skills. From andre at andregarzia.com Wed Apr 10 06:17:25 2019 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 10 Apr 2019 11:17:25 +0100 Subject: Container for Multi-Media Narravites; SMIL Revisited In-Reply-To: References: Message-ID: <6bec3f34-a507-1ca2-7bc6-2d3c81631274@andregarzia.com> Swami, I think this was probably a message that was made for me and not for the list :-) I will get back to you on this soon. om om andre On 09/04/2019 16:47, Sannyasin Brahmanathaswami via use-livecode wrote: > Brainstorm: > > It a shame that SMIL was abandoned. Well maybe not... but working from ground zero is a challenge. > > We want > > Goal: Implementation: > > Input: Voluteers or staff can "build a narrative" by > - write a script that fills the "text" nodes (below) > - source (search for) for images, audio and video resources and times be referenced. > > Output: is it XML, Is it JSON? Is it YAML. Or something else? It has to be flexible but parseable. > > Does the below provide enough detail that the production or director or the developer can built it? Using whatever format or tools that he-she like? > > ---------------- > Rough spec: > > -- A high level container for a multi-media narrative. > -- It should have a structure; so, HTML would will not do (unstructured) > -- It is "presentation" agnostic > - you could give it to a film producer and it could serve as a "script" > - you could built a KeyNote which would export to a video > - Using to the build a "story" as HTML, as seen on "Medium" > - use it to build small HTML5 scenes ala Tumult's "Hype 3" > - you could bring in Livecode and a log scrolling group or "click for next scene" on a card. > > We take the model of a play, which has scenes. > Each scene describes what happens before "the curtain drops" then next one > Each scene has scenario, which happens while the curtain is up, but is distinct > > The container which we will call a "Narrative Script" has one or more scenes > > must have (at minimum) > > Narrative Script > > Scene ID > Scenerio ID > -- Node for text with attributes: > - layer > - title: Literal text: "Oh What a Day!" > - Pull Quote > - literal text entry: "We took a deep drive dive: > - URI form some "locations" or function from which text can be retrieved (url http://someDomain/SomeBook/chap##/?name=###) > - Quote > - literal text entry: "We want for a long drive in...." > - URI form some "locations" or function from which text can be retrieved (url http://someDomain/SomeBook/chap##/?name=###) > > - Variable length Text > - long text entry: "Once open a time...." > - URI form some "locations" or function from which text can be retrieved (url http://someDomain/SomeBook/chap##/?name=###) > > -- Node for image > -- still > -- motion/Gif > -- optional Ken burn effect: > - begin loc, ending loc, speed, ratio change > > -- node for video URI > Attributes: beginning and ending point > > - node for audio URI > Attributes: beginning and ending point > > --------------- > Anything missing? > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Apr 10 07:14:01 2019 From: paul at researchware.com (Paul Dupuis) Date: Wed, 10 Apr 2019 07:14:01 -0400 Subject: =?UTF-8?Q?Re=3a_Upcoming_MacOS_14=2e5_with_software_=e2=80=9cnotari?= =?UTF-8?Q?zation=e2=80=9d_requirements?= In-Reply-To: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> References: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> Message-ID: <621cbd40-dbff-08d5-947c-7cd6f133743d@researchware.com> From the first link to the Apple developer site: "Important Beginning in macOS 10.14.5, all new or updated kernel extensions and all software from developers new to distributing with Developer ID must be notarized in order to run. In a future version of macOS, notarization will be required by default for all software." It seems that this is the next step in the inevitable move by Apple to require all macOS applications to be sold through the Apple Store where they will take their desired 30% cut from your revenue. Notarization is the step that say all apps must go through Apple (automated) review. It is being sold under the guise of "security" and "trust", after all, who can argue with those. Notarized apps can still be sold and distributed as you like, but the next step after that (with OSX 10.15 or later) will surely be the move to unify OSX apps under sole Apple distributorship like iOS apps. Oh Joy! On 4/9/2019 10:27 PM, Tariel Gogoberidze via use-livecode wrote: > Hi > > It seems that as of MacOS 14.5 all new and updated apps would not run without been ?notarized? by Apple. > > https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution > > https://www.cultofmac.com/618378/apple-will-soon-require-all-macos-apps-to-be-notarized/ > > Anybody on the list who ?notarized? their Mac OS app or who knows what it takes ? > > regards > Tariel > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Apr 10 08:50:58 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 10 Apr 2019 15:50:58 +0300 Subject: =?UTF-8?Q?Re=3a_Upcoming_MacOS_14=2e5_with_software_=e2=80=9cnotari?= =?UTF-8?Q?zation=e2=80=9d_requirements?= In-Reply-To: <621cbd40-dbff-08d5-947c-7cd6f133743d@researchware.com> References: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> <621cbd40-dbff-08d5-947c-7cd6f133743d@researchware.com> Message-ID: <06659e9b-e754-b262-39a7-5a66614e45c7@gmail.com> Presumably this means that when/if one upgrades from macOS 10.14 to 10.15 ALL software currently installed is going to stop working as none of it is notarized. This also will mean that one cannot even test one's own standalones on any machines running macOS one has at home, and is probably going to kill freeware dead in the water. I suppose the first step is that LiveCode will have to notarize all IDEs to run on 10.15 and above . . . Running older Macs with earlier operating systems doesn't look quite as daft as it used to. Richmond. On 10.04.19 14:14, Paul Dupuis via use-livecode wrote: > From the first link to the Apple developer site: > > "Important > > Beginning in macOS 10.14.5, all new or updated kernel extensions and > all software from developers new to distributing with Developer ID > must be notarized in order to run. In a future version of macOS, > notarization will be required by default for all software." > > It seems that this is the next step in the inevitable move by Apple to > require all macOS applications to be sold through the Apple Store > where they will take their desired 30% cut from your revenue. > Notarization is the step that say all apps must go through Apple > (automated) review. It is being sold under the guise of "security" and > "trust", after all, who can argue with those. Notarized apps can still > be sold and distributed as you like, but the next step after that > (with OSX 10.15 or later) will surely be the move to unify OSX apps > under sole Apple distributorship like iOS apps. > > Oh Joy! > > > On 4/9/2019 10:27 PM, Tariel Gogoberidze via use-livecode wrote: >> Hi >> >> It seems that as of? MacOS 14.5 all new and updated apps? would not >> run without been ?notarized? by Apple. >> >> https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution >> >> >> >> https://www.cultofmac.com/618378/apple-will-soon-require-all-macos-apps-to-be-notarized/ >> >> >> >> Anybody on the list who ?notarized? their Mac OS app or who knows >> what it takes? ? >> >> regards >> Tariel >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Wed Apr 10 08:50:58 2019 From: curry at pair.com (Curry Kenworthy) Date: Wed, 10 Apr 2019 08:50:58 -0400 Subject: =?UTF-8?Q?Re=3a_Upcoming_MacOS_14=2e5_with_software_=e2=80=9cnotari?= =?UTF-8?Q?zation=e2=80=9d_requirements?= In-Reply-To: <621cbd40-dbff-08d5-947c-7cd6f133743d@researchware.com> References: <621cbd40-dbff-08d5-947c-7cd6f133743d@researchware.com> Message-ID: Paul: > the move to unify OSX apps under sole Apple > distributorship like iOS apps. Oh Joy! Andre: > Heck, what Apple is doing?! Perhaps a very slight adjustment to the old motto: "DON'T think different." Or else. :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From tfabacher at gmail.com Wed Apr 10 09:19:54 2019 From: tfabacher at gmail.com (Todd Fabacher) Date: Wed, 10 Apr 2019 14:19:54 +0100 Subject: mergZXing Android Barcode scanner library is not working. Message-ID: The Android Barcode scanner library is not working. I have a client who is going crazy. I native on iOS, but is there any solution available?? --Todd Fabacher From brahma at hindu.org Wed Apr 10 10:03:09 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 10 Apr 2019 14:03:09 +0000 Subject: Container for Multi-Media Narravites; SMIL Revisited In-Reply-To: <6bec3f34-a507-1ca2-7bc6-2d3c81631274@andregarzia.com> References: <6bec3f34-a507-1ca2-7bc6-2d3c81631274@andregarzia.com> Message-ID: <15F88AB6-8727-423C-A283-EE837475AFBC@hindu.org> No it was meant to "inspire" brain storming on list. But I don't think that it will because: People are more involved with "enterprise backend" or "widgets" to content format, but give little thought to high level tools for a team that is developing content "itself" BR ? Andre Garzia wrote: Swami, I think this was probably a message that was made for me and not for the list :-) I will get back to you on this soon. om om andre On 09/04/2019 16:47, Sannyasin Brahmanathaswami via use-livecode wrote: > Brainstorm: > > It a shame that SMIL was abandoned. Well maybe not... but working from ground zero is a challenge. > > We want > > Goal: Implementation: > > Input: Voluteers or staff can "build a narrative" by > - write a script that fills the "text" nodes (below) > - source (search for) for images, audio and video resources and times be referenced. > > Output: is it XML, Is it JSON? Is it YAML. Or something else? It has to be flexible but parseable. > > Does the below provide enough detail that the production or director or the developer can built it? Using whatever format or tools that he-she like? > > ---------------- > Rough spec: > > -- A high level container for a multi-media narrative. > -- It should have a structure; so, HTML would will not do (unstructured) > -- It is "presentation" agnostic > - you could give it to a film producer and it could serve as a "script" > - you could built a KeyNote which would export to a video > - Using to the build a "story" as HTML, as seen on "Medium" > - use it to build small HTML5 scenes ala Tumult's "Hype 3" > - you could bring in Livecode and a log scrolling group or "click for next scene" on a card. > > We take the model of a play, which has scenes. > Each scene describes what happens before "the curtain drops" then next one > Each scene has scenario, which happens while the curtain is up, but is distinct > > The container which we will call a "Narrative Script" has one or more scenes > > must have (at minimum) > > Narrative Script > > Scene ID > Scenerio ID > -- Node for text with attributes: > - layer > - title: Literal text: "Oh What a Day!" > - Pull Quote > - literal text entry: "We took a deep drive dive: > - URI form some "locations" or function from which text can be retrieved (url http://someDomain/SomeBook/chap##/?name=###) > - Quote > - literal text entry: "We want for a long drive in...." > - URI form some "locations" or function from which text can be retrieved (url http://someDomain/SomeBook/chap##/?name=###) > > - Variable length Text > - long text entry: "Once open a time...." > - URI form some "locations" or function from which text can be retrieved (url http://someDomain/SomeBook/chap##/?name=###) > > -- Node for image > -- still > -- motion/Gif > -- optional Ken burn effect: > - begin loc, ending loc, speed, ratio change > > -- node for video URI > Attributes: beginning and ending point > > - node for audio URI > Attributes: beginning and ending point > > --------------- > Anything missing? > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dalton.calford at gmail.com Wed Apr 10 11:21:31 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Wed, 10 Apr 2019 11:21:31 -0400 Subject: Panel/Form Widget Message-ID: Hi all, In other programming languages/environments that I have used, there is a normally a panel object. In livecode terms, it would act like a stack that is embedded inside another stack as a widget. With Delphi, it is a panel (tabbed; normal or repeating) while in MSAccess it is a form (repeating or not). My question is, does such a thing exist in livecode? best regards Dalton From jacque at hyperactivesw.com Wed Apr 10 12:22:42 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Apr 2019 11:22:42 -0500 Subject: =?UTF-8?B?UmU6IFVwY29taW5nIE1hY09TIDE0LjUgd2l0aCBzb2Z0d2FyZSDigJxub3Rhcml6YXRpb27igJ0gcmVxdWlyZW1lbnRz?= In-Reply-To: <621cbd40-dbff-08d5-947c-7cd6f133743d@researchware.com> References: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> <621cbd40-dbff-08d5-947c-7cd6f133743d@researchware.com> Message-ID: <16a080f0050.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> There's no review, it's an automated process that adds a security key to the files. It sounds a lot like the RSA public/private keys I added to my current project to verify that the files hadn't been tampered with. That's definitely a security thing. Gatekeeper will be updated to check that the keys match. If you plan to distribute in the App Store, the security keys must be in place before the app is submitted for normal review. If you will be distributing privately, users with newer versions of OSX may not be able to launch the app if is not secured. If you already have apps in the App Store they won't be affected. While I'm not happy with the general direction Apple is taking with OSX, their main PR lately has been how much more secure the OS is compared to most others. They've been caught recently with a few bad submissions their review missed, which may have triggered this new change. I'm not happy with this because the submission process was already bad enough, but I don't think it's some secret plan to take over all our software. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 10, 2019 6:15:45 AM Paul Dupuis via use-livecode wrote: > From the first link to the Apple developer site: > > "Important > > Beginning in macOS 10.14.5, all new or updated kernel extensions and all > software from developers new to distributing with Developer ID must be > notarized in order to run. In a future version of macOS, notarization > will be required by default for all software." > > It seems that this is the next step in the inevitable move by Apple to > require all macOS applications to be sold through the Apple Store where > they will take their desired 30% cut from your revenue. Notarization is > the step that say all apps must go through Apple (automated) review. It > is being sold under the guise of "security" and "trust", after all, who > can argue with those. Notarized apps can still be sold and distributed > as you like, but the next step after that (with OSX 10.15 or later) will > surely be the move to unify OSX apps under sole Apple distributorship > like iOS apps. > > Oh Joy! > > > On 4/9/2019 10:27 PM, Tariel Gogoberidze via use-livecode wrote: >> Hi >> >> It seems that as of MacOS 14.5 all new and updated apps would not run >> without been ?notarized? by Apple. >> >> https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution >> >> >> https://www.cultofmac.com/618378/apple-will-soon-require-all-macos-apps-to-be-notarized/ >> >> >> Anybody on the list who ?notarized? their Mac OS app or who knows what it >> takes ? >> >> regards >> Tariel >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 10 12:27:23 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Apr 2019 11:27:23 -0500 Subject: =?UTF-8?B?UmU6IFVwY29taW5nIE1hY09TIDE0LjUgd2l0aCBzb2Z0d2FyZSDigJxub3Rhcml6YXRpb27igJ0gcmVxdWlyZW1lbnRz?= In-Reply-To: <06659e9b-e754-b262-39a7-5a66614e45c7@gmail.com> References: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> <621cbd40-dbff-08d5-947c-7cd6f133743d@researchware.com> <06659e9b-e754-b262-39a7-5a66614e45c7@gmail.com> Message-ID: <16a081349f8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Existing software won't be affected if I understood their documentation right. They also provide information on how to test and debug during development. Really guys, go read the links. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 10, 2019 7:52:50 AM Richmond via use-livecode wrote: > Presumably this means that when/if one upgrades from macOS 10.14 to 10.15 > ALL software currently installed is going to stop working as none of it > is notarized. > > This also will mean that one cannot even test one's own standalones > on any machines running macOS one has at home, and is probably going to > kill freeware dead in the water. > > I suppose the first step is that LiveCode will have to notarize all IDEs > to run on 10.15 and above . . . > > Running older Macs with earlier operating systems doesn't look quite > as daft as it used to. > > Richmond. > > On 10.04.19 14:14, Paul Dupuis via use-livecode wrote: >> From the first link to the Apple developer site: >> >> "Important >> >> Beginning in macOS 10.14.5, all new or updated kernel extensions and >> all software from developers new to distributing with Developer ID >> must be notarized in order to run. In a future version of macOS, >> notarization will be required by default for all software." >> >> It seems that this is the next step in the inevitable move by Apple to >> require all macOS applications to be sold through the Apple Store >> where they will take their desired 30% cut from your revenue. >> Notarization is the step that say all apps must go through Apple >> (automated) review. It is being sold under the guise of "security" and >> "trust", after all, who can argue with those. Notarized apps can still >> be sold and distributed as you like, but the next step after that >> (with OSX 10.15 or later) will surely be the move to unify OSX apps >> under sole Apple distributorship like iOS apps. >> >> Oh Joy! >> >> >> On 4/9/2019 10:27 PM, Tariel Gogoberidze via use-livecode wrote: >>> Hi >>> >>> It seems that as of MacOS 14.5 all new and updated apps would not >>> run without been ?notarized? by Apple. >>> >>> https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution >>> >>> >>> >>> https://www.cultofmac.com/618378/apple-will-soon-require-all-macos-apps-to-be-notarized/ >>> >>> >>> >>> Anybody on the list who ?notarized? their Mac OS app or who knows >>> what it takes ? >>> >>> regards >>> Tariel >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rjearp99 at gmail.com Wed Apr 10 12:46:08 2019 From: rjearp99 at gmail.com (Robert J. Earp) Date: Wed, 10 Apr 2019 09:46:08 -0700 Subject: Saving a tab formatted field to a file and retaining its formatting Message-ID: <51721B26-368E-489C-B520-0D4EA727832B@gmail.com> Richard, many thanks for the thought. If you mean the built-in ?printing to pdf? then yes, but as far as I could see it only prints cards, not just field content. Is there other pdf support ? So, we?re having to mess around with creating a series of cards with a single field on each with their rects set to US Letter size, copying the desired field content into these and then printing to a pdf file. With the current project where the field to print remains roughly the same character count it?s not a biggy to get pagination right, but I was hoping to build a tool that could take any size of field content with whatever tabs and output that automatically to a .pdf of letter size that may be one or more pages. I haven?t got into controlling fonts yet, meaning does the ?printing to pdf? use the font attributes that are displayed in the field on the card or ? My simple test suggests yes. best, Bob... > Subject: Re: Saving a tab formatted field to a file and retaining its > formatting > > Robert J. Earp wrote: > >> I?m not sure if the HTMLText solution will work for us as by default >> the output file would open in a browser and we need to get it into >> .pdf format to assemble (in Acrobat) with the other parts of the >> report. >> >> RogerG and I are currently mousing around creating a LC tool to output >> a fields content to .pdf It?s looking promising and we?ll let you >> know of our success or not !! > > Would LC's built-in print to PDF support not be an option? > > -- > Richard Gaskin > Fourth World Systems From paul at researchware.com Wed Apr 10 13:23:50 2019 From: paul at researchware.com (Paul Dupuis) Date: Wed, 10 Apr 2019 13:23:50 -0400 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: <51721B26-368E-489C-B520-0D4EA727832B@gmail.com> References: <51721B26-368E-489C-B520-0D4EA727832B@gmail.com> Message-ID: <07dc08ab-bb95-6c22-c71d-c0cf1ef4ce7f@researchware.com> Look at "revPrintField" in the Dictionary. If I recall, I think this can be used with the open printing to pdf command On 4/10/2019 12:46 PM, Robert J. Earp via use-livecode wrote: > Richard, many thanks for the thought. If you mean the built-in ?printing to pdf? then yes, but as far as I could see it only prints cards, not just field content. Is there other pdf support ? > > So, we?re having to mess around with creating a series of cards with a single field on each with their rects set to US Letter size, copying the desired field content into these and then printing to a pdf file. With the current project where the field to print remains roughly the same character count it?s not a biggy to get pagination right, but I was hoping to build a tool that could take any size of field content with whatever tabs and output that automatically to a .pdf of letter size that may be one or more pages. > > I haven?t got into controlling fonts yet, meaning does the ?printing to pdf? use the font attributes that are displayed in the field on the card or ? My simple test suggests yes. > > best, Bob... > > > > >> Subject: Re: Saving a tab formatted field to a file and retaining its >> formatting >> >> Robert J. Earp wrote: >> >>> I?m not sure if the HTMLText solution will work for us as by default >>> the output file would open in a browser and we need to get it into >>> .pdf format to assemble (in Acrobat) with the other parts of the >>> report. >>> >>> RogerG and I are currently mousing around creating a LC tool to output >>> a fields content to .pdf It?s looking promising and we?ll let you >>> know of our success or not !! >> Would LC's built-in print to PDF support not be an option? >> >> -- >> 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 richmondmathewson at gmail.com Wed Apr 10 13:34:47 2019 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 10 Apr 2019 20:34:47 +0300 Subject: =?UTF-8?Q?Re=3a_Upcoming_MacOS_14=2e5_with_software_=e2=80=9cnotari?= =?UTF-8?Q?zation=e2=80=9d_requirements?= In-Reply-To: <16a080f0050.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> <621cbd40-dbff-08d5-947c-7cd6f133743d@researchware.com> <16a080f0050.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0218d712-d067-a530-a059-afc0582e47c3@gmail.com> I don't think it's some secret plan either, but I do think it will make things awkward for types like me who wish to distribute demo standalones without any "undue fuss" as I am able to at the moment via sites such as macUpdate and via direct download from DropBox. The problem, and it will always be a problem, is how to balance the requirements for system security against individual freedom. I, for one, do not want people to vet my reading list before I buy books! But, I'm an odd sort of person insofar as I won't hold it against the producers of an operating system if a piece of software I install on my computer hoses MY computer: anymore than I am likely to sue the makers of my underpants because a wasp bit my bottom when I sat on it. I am absolutely convinced that Apple's move is a direct result of the fact that fewer and fewer people are prepared to accept responsibility for their actions, and are always looking round for someone to blame for the results of their decisions. Richmond. On 10.04.19 19:22, J. Landman Gay via use-livecode wrote: > There's no review, it's an automated process that adds a security key > to the files. It sounds a lot like the RSA public/private keys I added > to my current project to verify that the files hadn't been tampered > with. That's definitely a security thing. Gatekeeper will be updated > to check that the keys match. > > > If you plan to distribute in the App Store, the security keys must be > in place before the app is submitted for normal review. If you will be > distributing privately, users with newer versions of OSX may not be > able to launch the app if is not secured. If you already have apps in > the App Store they won't be affected. > > > While I'm not happy with the general direction Apple is taking with > OSX, their main PR lately has been how much more secure the OS is > compared to most others. They've been caught recently with a few bad > submissions their review missed, which may have triggered this new > change. > > > I'm not happy with this because the submission process was already bad > enough, but I don't think it's some secret plan to take over all our > software. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 10, 2019 6:15:45 AM Paul Dupuis via use-livecode > wrote: > >> From the first link to the Apple developer site: >> >> "Important >> >> Beginning in macOS 10.14.5, all new or updated kernel extensions and all >> software from developers new to distributing with Developer ID must be >> notarized in order to run. In a future version of macOS, notarization >> will be required by default for all software." >> >> It seems that this is the next step in the inevitable move by Apple to >> require all macOS applications to be sold through the Apple Store where >> they will take their desired 30% cut from your revenue. Notarization is >> the step that say all apps must go through Apple (automated) review. It >> is being sold under the guise of "security" and "trust", after all, who >> can argue with those. Notarized apps can still be sold and distributed >> as you like, but the next step after that (with OSX 10.15 or later) will >> surely be the move to unify OSX apps under sole Apple distributorship >> like iOS apps. >> >> Oh Joy! >> >> >> On 4/9/2019 10:27 PM, Tariel Gogoberidze via use-livecode wrote: >>> Hi >>> >>> It seems that as of? MacOS 14.5 all new and updated apps would not >>> run without been ?notarized? by Apple. >>> >>> https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution >>> >>> >>> >>> https://www.cultofmac.com/618378/apple-will-soon-require-all-macos-apps-to-be-notarized/ >>> >>> >>> >>> Anybody on the list who ?notarized? their Mac OS app or who knows >>> what it takes? ? >>> >>> regards >>> Tariel >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 10 13:44:22 2019 From: jjs at krutt.org (JJS) Date: Wed, 10 Apr 2019 19:44:22 +0200 Subject: Browser selections In-Reply-To: References: <2b4cbd5a-f675-52d8-1a1a-e20defec9b4c@hyperactivesw.com> Message-ID: <05ecef8b-dc93-4ea2-fc40-4f386ca5c6c4@krutt.org> Jacque, what i do is echo only a single line as a webpage. The php file is only called by the API, because i send it with the data to the api as a return address. There is no hilited text. Before this php file would contain the URL scheme and reopen the app to continue where it was, but now i do this: in the php file: header ("Location:mysuperdeluxeapp://"); */ ?> then in LC in widget script i do: *on*browserDocumentLoadComplete pUrl *local*tT *put*thehtmlTextofwidget"awesomebrowser"intotT *repeat* for5times *if* tT contains"return to mysuperdeluxeapp"*then* *set*theurlofwidget"awesomebrowser"toempty *go*tocard"letsgoon" *exit* *repeat* *end* *if* *end* *repeat* *end*browserDocumentLoadComplete Op 10-4-2019 om 08:44 schreef J. Landman Gay via use-livecode: > I was replying to you, JJS. I might be confused about how your method > works. How does returning a line from the server allow hiliting text > in the widget? > > On 4/9/19 12:33 PM, JJS via use-livecode wrote: >> Who are you referring to Jacque? hh or me? >> >> >> If it's me, then: >> >> i echo only one line of text with the php file which is called after >> the api routine succeeded. >> >> this way i can just look for that one sentence, it goes so fast you >> can't see it and the app switches to another card >> >> >> Op 8-4-2019 om 20:52 schreef J. Landman Gay via use-livecode: >>> Actually, I need to hilite a portion of the text in the browser >>> rather than just get the whole content. Are you doing that? >>> >>> Eventually I may need to get the user's drag-selection too, but not >>> yet. >>> >>> >>> On 4/8/19 12:22 PM, JJS via use-livecode wrote: >>>> you can use this: >>>> >>>> *put*thehtmlTextofwidget"browser"intotT >>>> >>>> >>>> i use this now for an api which redirects to a php file which >>>> echoes a line of text (as normally it would use the URL scheme, but >>>> this does not work with the widget) >>>> >>>> this way i could use the? browser widget and stay in the >>>> app(mobile) instead of using a external browser and retunring to >>>> the app afterwards which is an ugly thing and leaves the url open >>>> in an extenal browser. >>>> >>>> if the text in the browser is my text then it moves on(and i'm >>>> checking like 10 times) >>>> >>>> It works great! >>>> >>>> >>>> Op 7-4-2019 om 21:34 schreef J. Landman Gay via use-livecode: >>>>> Is there a way to get/set selected text in a browser widget? I >>>>> couldn't find anything. >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Apr 10 13:56:01 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Apr 2019 12:56:01 -0500 Subject: Browser selections In-Reply-To: <05ecef8b-dc93-4ea2-fc40-4f386ca5c6c4@krutt.org> References: <2b4cbd5a-f675-52d8-1a1a-e20defec9b4c@hyperactivesw.com> <05ecef8b-dc93-4ea2-fc40-4f386ca5c6c4@krutt.org> Message-ID: <16a08646f68.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks for the details. It doesn't do what I need but it could come in handy in the future. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 10, 2019 12:46:12 PM JJS via use-livecode wrote: > Jacque, > > > what i do is echo only a single line as a webpage. The php file is only > called by the API, because i send it with the data to the api as a > return address. > > There is no hilited text. > > Before this php file would contain the URL scheme and reopen the app to > continue where it was, but now i do this: > > in the php file: > > echo"return to mysuperdeluxeapp" > /* in stead of --> header ("Location:mysuperdeluxeapp://"); */ > ?> > > then in LC in widget script i do: > > > *on*browserDocumentLoadComplete pUrl > > *local*tT > > *put*thehtmlTextofwidget"awesomebrowser"intotT > > *repeat* for5times > > *if* tT contains"return to mysuperdeluxeapp"*then* > > *set*theurlofwidget"awesomebrowser"toempty > > *go*tocard"letsgoon" > > *exit* *repeat* > > *end* *if* > > *end* *repeat* > > *end*browserDocumentLoadComplete > > > Op 10-4-2019 om 08:44 schreef J. Landman Gay via use-livecode: >> I was replying to you, JJS. I might be confused about how your method >> works. How does returning a line from the server allow hiliting text >> in the widget? >> >> On 4/9/19 12:33 PM, JJS via use-livecode wrote: >>> Who are you referring to Jacque? hh or me? >>> >>> >>> If it's me, then: >>> >>> i echo only one line of text with the php file which is called after >>> the api routine succeeded. >>> >>> this way i can just look for that one sentence, it goes so fast you >>> can't see it and the app switches to another card >>> >>> >>> Op 8-4-2019 om 20:52 schreef J. Landman Gay via use-livecode: >>>> Actually, I need to hilite a portion of the text in the browser >>>> rather than just get the whole content. Are you doing that? >>>> >>>> Eventually I may need to get the user's drag-selection too, but not >>>> yet. >>>> >>>> >>>> On 4/8/19 12:22 PM, JJS via use-livecode wrote: >>>>> you can use this: >>>>> >>>>> *put*thehtmlTextofwidget"browser"intotT >>>>> >>>>> >>>>> i use this now for an api which redirects to a php file which >>>>> echoes a line of text (as normally it would use the URL scheme, but >>>>> this does not work with the widget) >>>>> >>>>> this way i could use the browser widget and stay in the >>>>> app(mobile) instead of using a external browser and retunring to >>>>> the app afterwards which is an ugly thing and leaves the url open >>>>> in an extenal browser. >>>>> >>>>> if the text in the browser is my text then it moves on(and i'm >>>>> checking like 10 times) >>>>> >>>>> It works great! >>>>> >>>>> >>>>> Op 7-4-2019 om 21:34 schreef J. Landman Gay via use-livecode: >>>>>> Is there a way to get/set selected text in a browser widget? I >>>>>> couldn't find anything. >>>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 10 13:58:58 2019 From: jjs at krutt.org (JJS) Date: Wed, 10 Apr 2019 19:58:58 +0200 Subject: Browser selections In-Reply-To: <16a08646f68.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <2b4cbd5a-f675-52d8-1a1a-e20defec9b4c@hyperactivesw.com> <05ecef8b-dc93-4ea2-fc40-4f386ca5c6c4@krutt.org> <16a08646f68.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1f9ac05a-0b5e-2d0a-a6ad-6418c24f680e@krutt.org> You're welcome! You helped me so often on the forum :) Op 10-4-2019 om 19:56 schreef J. Landman Gay via use-livecode: > Thanks for the details. It doesn't do what I need but it could come in > handy in the future. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 10, 2019 12:46:12 PM JJS via use-livecode > wrote: > >> Jacque, >> >> >> what i do is echo only a single line as a webpage. The php file is only >> called by the API, because i send it with the data to the api as a >> return address. >> >> There is no hilited text. >> >> Before this php file would contain the URL scheme and reopen the app to >> continue where it was, but now i do this: >> >> in the php file: >> >> > echo"return to mysuperdeluxeapp" >> /* in stead of --> header ("Location:mysuperdeluxeapp://"); */ >> ?> >> >> then in LC in widget script i do: >> >> >> *on*browserDocumentLoadComplete pUrl >> >> *local*tT >> >> *put*thehtmlTextofwidget"awesomebrowser"intotT >> >> *repeat* for5times >> >> *if* tT contains"return to mysuperdeluxeapp"*then* >> >> *set*theurlofwidget"awesomebrowser"toempty >> >> *go*tocard"letsgoon" >> >> *exit* *repeat* >> >> *end* *if* >> >> *end* *repeat* >> >> *end*browserDocumentLoadComplete >> >> >> Op 10-4-2019 om 08:44 schreef J. Landman Gay via use-livecode: >>> I was replying to you, JJS. I might be confused about how your method >>> works. How does returning a line from the server allow hiliting text >>> in the widget? >>> >>> On 4/9/19 12:33 PM, JJS via use-livecode wrote: >>>> Who are you referring to Jacque? hh or me? >>>> >>>> >>>> If it's me, then: >>>> >>>> i echo only one line of text with the php file which is called after >>>> the api routine succeeded. >>>> >>>> this way i can just look for that one sentence, it goes so fast you >>>> can't see it and the app switches to another card >>>> >>>> >>>> Op 8-4-2019 om 20:52 schreef J. Landman Gay via use-livecode: >>>>> Actually, I need to hilite a portion of the text in the browser >>>>> rather than just get the whole content. Are you doing that? >>>>> >>>>> Eventually I may need to get the user's drag-selection too, but not >>>>> yet. >>>>> >>>>> >>>>> On 4/8/19 12:22 PM, JJS via use-livecode wrote: >>>>>> you can use this: >>>>>> >>>>>> *put*thehtmlTextofwidget"browser"intotT >>>>>> >>>>>> >>>>>> i use this now for an api which redirects to a php file which >>>>>> echoes a line of text (as normally it would use the URL scheme, but >>>>>> this does not work with the widget) >>>>>> >>>>>> this way i could use the? browser widget and stay in the >>>>>> app(mobile) instead of using a external browser and retunring to >>>>>> the app afterwards which is an ugly thing and leaves the url open >>>>>> in an extenal browser. >>>>>> >>>>>> if the text in the browser is my text then it moves on(and i'm >>>>>> checking like 10 times) >>>>>> >>>>>> It works great! >>>>>> >>>>>> >>>>>> Op 7-4-2019 om 21:34 schreef J. Landman Gay via use-livecode: >>>>>>> Is there a way to get/set selected text in a browser widget? I >>>>>>> couldn't find anything. >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 10 14:05:37 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Apr 2019 13:05:37 -0500 Subject: =?UTF-8?B?UmU6IFVwY29taW5nIE1hY09TIDE0LjUgd2l0aCBzb2Z0d2FyZSDigJxub3Rhcml6YXRpb27igJ0gcmVxdWlyZW1lbnRz?= In-Reply-To: <0218d712-d067-a530-a059-afc0582e47c3@gmail.com> References: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> <621cbd40-dbff-08d5-947c-7cd6f133743d@researchware.com> <16a080f0050.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0218d712-d067-a530-a059-afc0582e47c3@gmail.com> Message-ID: <16a086d3968.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I agree it's going to be an extra step. My hope is that once LC figures out how to secure their own IDE they can integrate that into the build process somehow. Maybe there could be an option after the standalone is made to submit it to Apple for notarization. That would be great. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 10, 2019 12:36:30 PM Richmond via use-livecode wrote: > I don't think it's some secret plan either, but I do think it will make > things awkward for types like me > who wish to distribute demo standalones without any "undue fuss" as I am > able to at the moment via > sites such as macUpdate and via direct download from DropBox. > > The problem, and it will always be a problem, is how to balance the > requirements for system security against > individual freedom. > > I, for one, do not want people to vet my reading list before I buy books! > > But, I'm an odd sort of person insofar as I won't hold it against the > producers of an operating system > if a piece of software I install on my computer hoses MY computer: > anymore than I am likely to sue > the makers of my underpants because a wasp bit my bottom when I sat on it. > > I am absolutely convinced that Apple's move is a direct result of the > fact that fewer and fewer > people are prepared to accept responsibility for their actions, and are > always looking round for > someone to blame for the results of their decisions. > > Richmond. > > On 10.04.19 19:22, J. Landman Gay via use-livecode wrote: >> There's no review, it's an automated process that adds a security key >> to the files. It sounds a lot like the RSA public/private keys I added >> to my current project to verify that the files hadn't been tampered >> with. That's definitely a security thing. Gatekeeper will be updated >> to check that the keys match. >> >> >> If you plan to distribute in the App Store, the security keys must be >> in place before the app is submitted for normal review. If you will be >> distributing privately, users with newer versions of OSX may not be >> able to launch the app if is not secured. If you already have apps in >> the App Store they won't be affected. >> >> >> While I'm not happy with the general direction Apple is taking with >> OSX, their main PR lately has been how much more secure the OS is >> compared to most others. They've been caught recently with a few bad >> submissions their review missed, which may have triggered this new >> change. >> >> >> I'm not happy with this because the submission process was already bad >> enough, but I don't think it's some secret plan to take over all our >> software. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On April 10, 2019 6:15:45 AM Paul Dupuis via use-livecode >> wrote: >> >>> From the first link to the Apple developer site: >>> >>> "Important >>> >>> Beginning in macOS 10.14.5, all new or updated kernel extensions and all >>> software from developers new to distributing with Developer ID must be >>> notarized in order to run. In a future version of macOS, notarization >>> will be required by default for all software." >>> >>> It seems that this is the next step in the inevitable move by Apple to >>> require all macOS applications to be sold through the Apple Store where >>> they will take their desired 30% cut from your revenue. Notarization is >>> the step that say all apps must go through Apple (automated) review. It >>> is being sold under the guise of "security" and "trust", after all, who >>> can argue with those. Notarized apps can still be sold and distributed >>> as you like, but the next step after that (with OSX 10.15 or later) will >>> surely be the move to unify OSX apps under sole Apple distributorship >>> like iOS apps. >>> >>> Oh Joy! >>> >>> >>> On 4/9/2019 10:27 PM, Tariel Gogoberidze via use-livecode wrote: >>>> Hi >>>> >>>> It seems that as of MacOS 14.5 all new and updated apps would not >>>> run without been ?notarized? by Apple. >>>> >>>> https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution >>>> >>>> >>>> >>>> https://www.cultofmac.com/618378/apple-will-soon-require-all-macos-apps-to-be-notarized/ >>>> >>>> >>>> >>>> Anybody on the list who ?notarized? their Mac OS app or who knows >>>> what it takes ? >>>> >>>> regards >>>> Tariel >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 10 14:39:49 2019 From: jjs at krutt.org (JJS) Date: Wed, 10 Apr 2019 20:39:49 +0200 Subject: What's the correct tsnetget syntax Message-ID: <659aa9d1-86ed-eb71-ee5d-21f112845428@krutt.org> Hi, i used to use : put specialFolderPath("home") & "/help.pdf" into tHier ? libURLDownloadToFile "https://awebsite.com/afolder/help.pdf",tHier,"helpdownloaded" ?? and then this ?? on helpdownloaded ?? put specialFolderPath("home") & "/help.pdf" into tFile ?? if there is a file tFile then ????? launch document tFile ?? end if end helpdownloaded ?? so it would be opened in the standard pdf reader or in the browser widget ?? now it worked good since lately ?? But does tsnet and libURLdownLoadtofile bite each other? ?? because i use tsnet for some smtp email funtions ?? and it seems but i'm not sure that since then it won't download except when i put this on the next line: ?? answer the result ?? is that not weird? ?? next i tried tsnetget, but it fails probably due to a fault of me: ?? put tsNetGetFile("3", tHier, "https://awesomewebsite.com//fantasticfolder/help.pdf", "transferComplete") into tResult ?? tsNetCloseConn "3" ??? and then ??? on transferComplete pID, pResult, pBytes, pCurlCode ????? local tData,tError ?? if pCurlCode is 0 and pResult is 200 then ????? -- If successful, retrieve the downloaded data ????? put tsNetRetrData(pID, tError) into tData ????? helpdownloaded ?? end if end transferComplete Nothing is happening and if i try the example from the webpage of techstrategies who wrote tsnet it's starts complaining that the parameters are not good. Example 1: ?? local tHeaders, tResult ?? put tsNetGetFile(?1?, ?/path/to/downloaded/file.dat?, \ ????? ?ftp://user:pass at ftp.example.com/file.dat?, tHeaders, \ ????? ?transferComplete?) into tResult Example 2: ?? on transferComplete pID, pResult, pBytes, pCurlCode ????? local tData, tHeaders ????? if pCurlCode is not 0 then ???????? answer tsNetRetrError(pID) ????? else ???????? answer ?File has been downloaded? ????? end if ????? tsNetCloseConn pID ?? end transferComplete ?? anyone a working example of how it should work? ?? and maybe an explanation why the liburl command does not work anymore(correct)? (on lc904rc2) ?? thanks a lot for any help! ?? Sphere From paul at researchware.com Wed Apr 10 15:00:28 2019 From: paul at researchware.com (Paul Dupuis) Date: Wed, 10 Apr 2019 15:00:28 -0400 Subject: =?UTF-8?Q?Re=3a_Upcoming_MacOS_14=2e5_with_software_=e2=80=9cnotari?= =?UTF-8?Q?zation=e2=80=9d_requirements?= In-Reply-To: <16a086d3968.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> <621cbd40-dbff-08d5-947c-7cd6f133743d@researchware.com> <16a080f0050.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0218d712-d067-a530-a059-afc0582e47c3@gmail.com> <16a086d3968.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <218965b2-869b-71b1-f8ea-68838b5f18c1@researchware.com> On 4/10/2019 2:05 PM, J. Landman Gay via use-livecode wrote: > I agree it's going to be an extra step. My hope is that once LC > figures out how to secure their own IDE they can integrate that into > the build process somehow. Maybe there could be an option after the > standalone is made to submit it to Apple for notarization. That would > be great. The problem is that the Standalone must be code signed first, before it can be submitted to Apple for notarization. I suppose LiveCode could offer some fields in the standalone builder for you to fill in the path to your cert and they could detect if Xcode is installed and then do a shell() to call codesign and then some more fields for you Apple Developer ID sign in and then submit it to Apple. It kind of defeats one of the great values of LiveCode which has been cross-platform development as more and more platform specific stuff gets attached. I personally develop on Windows and build for OSX and Windows, but then I need to move the OSX app to OSX for code signing. I would love to see a feature where you could install your certs into LiveCode for each platform and it would cross-platform build AND code sign each standalone for you. Of course this may all be a mute point if you believe the "industry analysts" that say that 5G networks will kill the market for local applications whether for iOS, Android, or desktop OSes and finally web app will be fast enough :-) From matthias_livecode_150811 at m-r-d.de Wed Apr 10 15:23:04 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 10 Apr 2019 21:23:04 +0200 Subject: =?utf-8?Q?Re=3A_Upcoming_MacOS_14=2E5_with_software_=E2=80=9Cnota?= =?utf-8?Q?rization=E2=80=9D_requirements?= In-Reply-To: <218965b2-869b-71b1-f8ea-68838b5f18c1@researchware.com> References: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> <621cbd40-dbff-08d5-947c-7cd6f133743d@researchware.com> <16a080f0050.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0218d712-d067-a530-a059-afc0582e47c3@gmail.com> <16a086d3968.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <218965b2-869b-71b1-f8ea-68838b5f18c1@researchware.com> Message-ID: Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 10.04.2019 um 21:00 schrieb Paul Dupuis via use-livecode >: > > > The problem is that the Standalone must be code signed first, before it can be submitted to Apple for notarization. I suppose LiveCode could offer some fields in the standalone builder for you to fill in the path to your cert and they could detect if Xcode is installed and then do a shell() to call codesign and then some more fields for you Apple Developer ID sign in and then submit it to Apple. > > It kind of defeats one of the great values of LiveCode which has been cross-platform development as more and more platform specific stuff gets attached. > > I personally develop on Windows and build for OSX and Windows, but then I need to move the OSX app to OSX for code signing. I would love to see a feature where you could install your certs into LiveCode for each platform and it would cross-platform build AND code sign each standalone for you. On Mac OS X it?s possible to sign Windows apps. You?ll need a CodeSigningCertificate and the free software osslsigncode. I am not sure, that the other way (signing Mac OS X apps under Windows) is possible. At least i?ve never heard of a way. From jjs at krutt.org Wed Apr 10 14:02:03 2019 From: jjs at krutt.org (JJS) Date: Wed, 10 Apr 2019 20:02:03 +0200 Subject: What's the correct tsnetget syntax In-Reply-To: <659aa9d1-86ed-eb71-ee5d-21f112845428@krutt.org> References: <659aa9d1-86ed-eb71-ee5d-21f112845428@krutt.org> Message-ID: <9119b761-13b1-5666-5b78-5007c610c8bf@krutt.org> ok 1. don't just copy paste---> the copy of the website of techstrategies gives an error due to the strange double quote they use ?File has been downloaded? instead of? "helpdownloaded" <-- do you see the differnece in the quotes? i hope it stays seeable in this list I just saw it when i was retyping the line of text to find out where the erro unquoted literal came from, cause i could not see any difference. 2. Still i'm curious about? libURLDownloadToFile if it does not work good due to tsnet (if that is why it is not working good) have to test some more Op 10-4-2019 om 20:39 schreef JJS via use-livecode: > Hi, > > > i used to use : > > put specialFolderPath("home") & "/help.pdf" into tHier > ? libURLDownloadToFile > "https://awebsite.com/afolder/help.pdf",tHier,"helpdownloaded" > > ?? and then this > > ?? on helpdownloaded > ?? put specialFolderPath("home") & "/help.pdf" into tFile > ?? if there is a file tFile then > ????? launch document tFile > ?? end if > end helpdownloaded > > ?? so it would be opened in the standard pdf reader or in the browser > widget > ?? now it worked good since lately > > ?? But does tsnet and libURLdownLoadtofile bite each other? > ?? because i use tsnet for some smtp email funtions > > ?? and it seems but i'm not sure that since then it won't download > except when i put this on the next line: > ?? answer the result > > ?? is that not weird? > > ?? next i tried tsnetget, but it fails probably due to a fault of me: > ?? put tsNetGetFile("3", tHier, > "https://awesomewebsite.com//fantasticfolder/help.pdf", > "transferComplete") into tResult > ?? tsNetCloseConn "3" > > ??? and then > > ??? on transferComplete pID, pResult, pBytes, pCurlCode > ????? local tData,tError > ?? if pCurlCode is 0 and pResult is 200 then > ????? -- If successful, retrieve the downloaded data > ????? put tsNetRetrData(pID, tError) into tData > ????? helpdownloaded > ?? end if > end transferComplete > > Nothing is happening and if i try the example from the webpage of > techstrategies who wrote tsnet it's starts complaining that the > parameters are not good. > > > Example 1: > > ?? local tHeaders, tResult > ?? put tsNetGetFile(?1?, ?/path/to/downloaded/file.dat?, \ > ????? ?ftp://user:pass at ftp.example.com/file.dat?, tHeaders, \ > ????? ?transferComplete?) into tResult > > Example 2: > > ?? on transferComplete pID, pResult, pBytes, pCurlCode > ????? local tData, tHeaders > ????? if pCurlCode is not 0 then > ???????? answer tsNetRetrError(pID) > ????? else > ???????? answer ?File has been downloaded? > ????? end if > ????? tsNetCloseConn pID > ?? end transferComplete > > ?? anyone a working example of how it should work? > ?? and maybe an explanation why the liburl command does not work > anymore(correct)? (on lc904rc2) > > ?? thanks a lot for any help! > ?? 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 rjearp99 at gmail.com Wed Apr 10 17:50:23 2019 From: rjearp99 at gmail.com (Robert J. Earp) Date: Wed, 10 Apr 2019 14:50:23 -0700 Subject: Saving a tab formatted field to a file and retaining its formatting Message-ID: Many thanks Paul and to Ron Metzker who kindly contacted me off-list with a comprehensive handler of what he does using revPrintField. I must admit that the Dictionary still leaves a lot to be desired and without the valued members of this and other lists LC would not be so successful ;-) We will need a cross platform (OS X / Windows) solution for our project and although things seem to work great to both print and save a .pdf using revPrintField, I?m not sure if Windows supports a print to .pdf feature. As with Ron, I too am OS X based so I can?t check it, but I?m led to believe that Windows 10 supports such, but does anybody know if previous versions of Windows does ? Thanks, Bob? White Rock, BC > Date: Wed, 10 Apr 2019 13:23:50 -0400 > From: Paul Dupuis > > To: use-livecode at lists.runrev.com > Subject: Re: Saving a tab formatted field to a file and retaining its > formatting > > Look at "revPrintField" in the Dictionary. If I recall, I think this can > be used with the open printing to pdf command From ambassador at fourthworld.com Wed Apr 10 17:53:01 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 10 Apr 2019 14:53:01 -0700 Subject: =?UTF-8?Q?Re=3a_Re=3a_Upcoming_MacOS_14=2e5_with_software_=e2=80=9c?= =?UTF-8?Q?notarization=e2=80=9d_requirements?= In-Reply-To: <218965b2-869b-71b1-f8ea-68838b5f18c1@researchware.com> References: <218965b2-869b-71b1-f8ea-68838b5f18c1@researchware.com> Message-ID: Paul Dupuis wrote: > Of course this may all be a mute point if you believe the "industry > analysts" that say that 5G networks will kill the market for local > applications whether for iOS, Android, or desktop OSes and finally web > app will be fast enough :-) All networks can get faster, but I'm with Steven J. Vaughan-Nichols in not holding my breath for 5G to be anything close to the magic pony marketers are playing it up to be: "5G or faux G?: Forget all those stories of 20 Gbps speeds and 1 millisecond latency. 5G will never deliver performance like that ? and anyway its time is still years away for most of us most of the time." https://www.computerworld.com/article/3336119/5g-or-faux-g.html EFF has a similar view: "Enough of the 5G Hype" https://www.eff.org/deeplinks/2019/02/enough-5g-hype ...and an alternative infrastructure proposal that will benefit existing devices as well as the someday-soon-no-really 5G access points: "The U.S. Desperately Needs a 'Fiber for All' Plan" https://www.eff.org/deeplinks/2019/03/us-desperately-needs-fiber-all-plan With or without infrastructure improvements, I expect mobile to remain a steady growth segment. But by "steady" I mean only slightly more than half of Internet traffic, with laptops being most of the remainder. If Job's metaphor of the "post-PC" era means phones are cars and laptops are trucks, observe that the most popular auto form factor in the US is the SUV - effectively, a truck. :) We're now a decade into the "post-PC" era, and Apple stills sells Macs. Lots of them. More than iPads, which have leveled off to negative growth. It's not just developers who need full computers. It's everyone who isn't just a grazer: every artist, every writer, everyone making presentations. Nearly everyone. You can do those things on a phone, just not as well. With your thumbs. For all the articles about the so-called "post-PC" era, I doubt any were typed with thumbs on a phone. If only those writers could observe themselves as they work.... -- 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 Wed Apr 10 17:59:37 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 10 Apr 2019 14:59:37 -0700 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: <51721B26-368E-489C-B520-0D4EA727832B@gmail.com> References: <51721B26-368E-489C-B520-0D4EA727832B@gmail.com> Message-ID: <2899d83d-0be6-75e2-2d93-93b565ec8797@fourthworld.com> Robert J. Earp wrote: > Richard wrote: >> > Would LC's built-in print to PDF support not be an option? > > Richard, many thanks for the thought. If you mean the built-in > ?printing to pdf? then yes, but as far as I could see it only prints > cards, not just field content. Is there other pdf support ? All printing in LC is based on a card, but has some very flexible options like printing a header into one rect, a footer into another, and the body into the middle before closing the page. Coupled with the nifty metrics we can get for field rendering, even styled text can be printed quite nicely. But all that can be tedious work. Nice if you have specialized needs, but if you have a field ready to go the folks at LC have already done the work for you: see the revPrintField command. LC's PDF generator will take any output LC can produce, so using that in conjunction with revPrintField may be just what you're looking 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 ambassador at fourthworld.com Wed Apr 10 18:10:58 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 10 Apr 2019 15:10:58 -0700 Subject: Panel/Form Widget In-Reply-To: References: Message-ID: Dalton Calford wrote: > In other programming languages/environments that I have used, there is > a normally a panel object. > In livecode terms, it would act like a stack that is embedded inside > another stack as a widget. > With Delphi, it is a panel (tabbed; normal or repeating) while in > MSAccess it is a form (repeating or not). > My question is, does such a thing exist in livecode? LC has groups, which can contain any number of objects, and when nested can even work like having multiple cards within them. They can be shared across any card within a stack, but not across stacks*. Nice for some things, but if you want a true stack object within another stack you may have to wait a while: this enhancement request is now 14 years old, for what Gain Momentum introduced to the xTalk world as "Viewers"; while the LC team has shown interest in it, other priorities have displaced its implementation: https://quality.livecode.com/show_bug.cgi?id=2786 So for the foreseeable future, we have groups, sharable within a stack, and clonable anywhere, even into other stacks. Using that as a foundation, we may be able to write a handler or two to give you a very Viewer-like experience, if you can share more about the particulars of how you'll be using them. * Many years ago I experimented to find that you could display a group in another stack, but that was never intended and crashed hard as soon as you interacted with it. Turns out showing groups across stacks was technically a bug, long since fixed. #HistoricalTrivia -- 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 Wed Apr 10 18:20:48 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 10 Apr 2019 15:20:48 -0700 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: Message-ID: <17064eae-703c-ad49-3929-ba3215620963@fourthworld.com> Robert J. Earp wrote: > Many thanks Paul and to Ron Metzker who kindly contacted me off-list > with a comprehensive handler of what he does using revPrintField. > I must admit that the Dictionary still leaves a lot to be desired and > without the valued members of this and other lists LC would not be so > successful ;-) I find communities invaluable for everything I learn. What could we do with the Dictionary to make it more useful in this case? > We will need a cross platform (OS X / Windows) solution for our > project and although things seem to work great to both print and > save a .pdf using revPrintField, I?m not sure if Windows supports > a print to .pdf feature. The Dictionary describes the PDF print option as being available on macOS, Windows, Linux, and iOS. I've used it on everything but iOS - works like a champ. > As with Ron, I too am OS X based so I can?t check it A $80 copy of Windows and this fine VM will change your life: https://www.virtualbox.org/ Free, open source, fast, simple and flexible: best VM I've ever used (thanks to Mark Wieder for getting me to try it). You'll be able to share folders with the PC instance, as well as Clipboard contents, networking, and more. Sometimes installing on metal is necessary, but for most day-to-day stuff a good VM inside the OS of your choice is a developer's workflow dream come true. > but I?m led to believe that Windows 10 supports such, but does anybody > know if previous versions of Windows does ? It's not dependent on OS PDF drivers, so it should work on any supported Windows version. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From andre at andregarzia.com Thu Apr 11 04:12:52 2019 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 11 Apr 2019 09:12:52 +0100 Subject: =?UTF-8?Q?Re=3a_Upcoming_MacOS_14=2e5_with_software_=e2=80=9cnotari?= =?UTF-8?Q?zation=e2=80=9d_requirements?= In-Reply-To: References: <218965b2-869b-71b1-f8ea-68838b5f18c1@researchware.com> Message-ID: People forget that speed and latency are not related. Solving latency on networked apps is tricky. There will always be a place for Desktop apps (local apps on your computer I mean) On 10/04/2019 22:53, Richard Gaskin via use-livecode wrote: > Paul Dupuis wrote: > > > Of course this may all be a mute point if you believe the "industry > > analysts" that say that 5G networks will kill the market for local > > applications whether for iOS, Android, or desktop OSes and finally web > > app will be fast enough :-) > > All networks can get faster, but I'm with Steven J. Vaughan-Nichols in > not holding my breath for 5G to be anything close to the magic pony > marketers are playing it up to be: > > "5G or faux G?: Forget all those stories of 20 Gbps speeds and 1 > millisecond latency. 5G will never deliver performance like that ? and > anyway its time is still years away for most of us most of the time." > https://www.computerworld.com/article/3336119/5g-or-faux-g.html > > > EFF has a similar view: > > "Enough of the 5G Hype" > https://www.eff.org/deeplinks/2019/02/enough-5g-hype > > ...and an alternative infrastructure proposal that will benefit > existing devices as well as the someday-soon-no-really 5G access points: > > "The U.S. Desperately Needs a 'Fiber for All' Plan" > https://www.eff.org/deeplinks/2019/03/us-desperately-needs-fiber-all-plan > > > > With or without infrastructure improvements, I expect mobile to remain > a steady growth segment.? But by "steady" I mean only slightly more > than half of Internet traffic, with laptops being most of the remainder. > > If Job's metaphor of the "post-PC" era means phones are cars and > laptops are trucks, observe that the most popular auto form factor in > the US is the SUV - effectively, a truck. :) > > We're now a decade into the "post-PC" era, and Apple stills sells > Macs. Lots of them.? More than iPads, which have leveled off to > negative growth. > > It's not just developers who need full computers.? It's everyone who > isn't just a grazer: every artist, every writer, everyone making > presentations. Nearly everyone.? You can do those things on a phone, > just not as well.? With your thumbs. > > For all the articles about the so-called "post-PC" era, I doubt any > were typed with thumbs on a phone. > > If only those writers could observe themselves as they work.... > From richmondmathewson at gmail.com Thu Apr 11 04:24:16 2019 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 11 Apr 2019 11:24:16 +0300 Subject: =?UTF-8?Q?Re=3a_Upcoming_MacOS_14=2e5_with_software_=e2=80=9cnotari?= =?UTF-8?Q?zation=e2=80=9d_requirements?= In-Reply-To: References: <218965b2-869b-71b1-f8ea-68838b5f18c1@researchware.com> Message-ID: <3f1934c9-19d9-891f-e441-6c1358351964@gmail.com> "There will always" reminds me of that James Bond film, "Never Say Never Again" . . . better be careful with pronouncements like that. Richmond. On 11.04.19 ?. 11:12 ?., Andre Garzia via use-livecode wrote: > People forget that speed and latency are not related. Solving latency > on networked apps is tricky. > > There will always be a place for Desktop apps (local apps on your > computer I mean) > > On 10/04/2019 22:53, Richard Gaskin via use-livecode wrote: >> Paul Dupuis wrote: >> >> > Of course this may all be a mute point if you believe the "industry >> > analysts" that say that 5G networks will kill the market for local >> > applications whether for iOS, Android, or desktop OSes and finally web >> > app will be fast enough :-) >> >> All networks can get faster, but I'm with Steven J. Vaughan-Nichols >> in not holding my breath for 5G to be anything close to the magic >> pony marketers are playing it up to be: >> >> "5G or faux G?: Forget all those stories of 20 Gbps speeds and 1 >> millisecond latency. 5G will never deliver performance like that ? >> and anyway its time is still years away for most of us most of the >> time." >> https://www.computerworld.com/article/3336119/5g-or-faux-g.html >> >> >> EFF has a similar view: >> >> "Enough of the 5G Hype" >> https://www.eff.org/deeplinks/2019/02/enough-5g-hype >> >> ...and an alternative infrastructure proposal that will benefit >> existing devices as well as the someday-soon-no-really 5G access points: >> >> "The U.S. Desperately Needs a 'Fiber for All' Plan" >> https://www.eff.org/deeplinks/2019/03/us-desperately-needs-fiber-all-plan >> >> >> >> >> With or without infrastructure improvements, I expect mobile to >> remain a steady growth segment.? But by "steady" I mean only slightly >> more than half of Internet traffic, with laptops being most of the >> remainder. >> >> If Job's metaphor of the "post-PC" era means phones are cars and >> laptops are trucks, observe that the most popular auto form factor in >> the US is the SUV - effectively, a truck. :) >> >> We're now a decade into the "post-PC" era, and Apple stills sells >> Macs. Lots of them.? More than iPads, which have leveled off to >> negative growth. >> >> It's not just developers who need full computers.? It's everyone who >> isn't just a grazer: every artist, every writer, everyone making >> presentations. Nearly everyone.? You can do those things on a phone, >> just not as well.? With your thumbs. >> >> For all the articles about the so-called "post-PC" era, I doubt any >> were typed with thumbs on a phone. >> >> If only those writers could observe themselves as they work.... >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Apr 11 09:23:24 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 11 Apr 2019 13:23:24 +0000 Subject: Panel/Form Widget In-Reply-To: References: Message-ID: <508FB7E5-C0D4-4CF7-8062-6CEE4D1EDC9C@hindu.org> Richard Gaskin wrote: So for the foreseeable future, we have groups, sharable within a stack, and clonable anywhere, even into other stacks. --------------- BR: Jacques taught this trick, I sure others do it also, but FWIW Though "globals are bad" . I do use one global in the app for "fixed assets" and not for holding runtime variables. 1) In init was we have global sConfigA 2) start using "lib_CustomControl" # a binary stack, one group control per card 3) After all dependencies run, this: on init_StoreControlsIds put the long id of group "share-ui" of card "share-ui" of stack "lib_CustomControls" into sConfigA["shareControl"] put the long id of group "answerDlgGrp" of card "answerDlgGrp" of stack "lib_CustomControls" into sConfigA["answerDialog"] put the long id of group "bottomToast" of card "dialog_CustomMsg" of stack "lib_CustomControls" into sConfigA["bottomToast"] put the long id of group "searchControls" of card "search" of stack "lib_CustomControls" into sConfigA["search"] put the long id of group "sound-is-playing" of card "sound-is-playing" of stack "lib_CustomControls" into sConfigA["soundIsPlaying"] end init_StoreControlsIds 4) in any other stack we can do this: Mouseup case "share" put sConfigA["shareControl"] into tShareControl if (exists(group "share-ui" of this card) ) then show group "share-ui" with visual dissolve very fast else copy tShareControl to this card end if break running script profiler on this, the clone and show on a mouseup doesn't seem to have any more than a 2 milliseconds hit on the CPU. Virtually, this method has zero performance penalty. Of course the group is a "View" and cannot contain persistence date. Advantage is obvious: If you need to make a change to a group, you do so one place, and it will appear "everywhere" From dalton.calford at gmail.com Thu Apr 11 09:26:30 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Thu, 11 Apr 2019 09:26:30 -0400 Subject: Panel/Form Widget In-Reply-To: References: Message-ID: Hi Richard, Thanks for your response! So for the foreseeable future, we have groups, sharable within a stack, > and clonable anywhere, even into other stacks. Using that as a > foundation, we may be able to write a handler or two to give you a very > Viewer-like experience, if you can share more about the particulars of > how you'll be using them. > Although I can see the use of groups as an option, it is far less intuitive and causes more issues than it should. For example. Calculating where to place/move an object within a group requires calculating where you want a new widget or where to move a widget in regards to the rest of the group, getting the top left corner of the group, combining the result etc., all in code. A parent/child with relative positioning is far simpler and closer to all modern systems. Another example, During development, in other apps, you drop a panel, drop your new widgets upon it as needed, and that is it. With Livecode, you either do not create the group until you are absolutely sure you know what you want in it, or, baring that, play with code or the project browser to move items into an existing group. Plus, using the pointer tool to move items within the group is also not possible as the items in the group are the items you use to click upon to move the whole group. This is a frustrating issue for what should be a simple thing. A 'container' would be the solution - effectively a smarter group, with widgets having a 'parent' and a possible array list of 'children'. This would allow a 'child' to know it's parent, and a 'parent' to know its children. Event notifications such as changes in geometry, style, etc could then be triggered/passed. It would also allow for simpler cropping/scroll bar mechanisms. It would also act as a scoping mechanism for variables and events. You could even have a stack as a child of another stack with this setup (MDI interface). If I had a better understanding of the codebase, I would implement it myself. But, If I had a better understanding of the code base, I would rather spend my time on the database layer which is woefully limited. best regards Dalton On Wed, 10 Apr 2019 at 18:11, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Dalton Calford wrote: > > > In other programming languages/environments that I have used, there is > > a normally a panel object. > > In livecode terms, it would act like a stack that is embedded inside > > another stack as a widget. > > With Delphi, it is a panel (tabbed; normal or repeating) while in > > MSAccess it is a form (repeating or not). > > My question is, does such a thing exist in livecode? > > LC has groups, which can contain any number of objects, and when nested > can even work like having multiple cards within them. They can be > shared across any card within a stack, but not across stacks*. > > Nice for some things, but if you want a true stack object within another > stack you may have to wait a while: this enhancement request is now 14 > years old, for what Gain Momentum introduced to the xTalk world as > "Viewers"; while the LC team has shown interest in it, other priorities > have displaced its implementation: > > https://quality.livecode.com/show_bug.cgi?id=2786 > > So for the foreseeable future, we have groups, sharable within a stack, > and clonable anywhere, even into other stacks. Using that as a > foundation, we may be able to write a handler or two to give you a very > Viewer-like experience, if you can share more about the particulars of > how you'll be using them. > > > > * Many years ago I experimented to find that you could display a group > in another stack, but that was never intended and crashed hard as soon > as you interacted with it. Turns out showing groups across stacks was > technically a bug, long since fixed. #HistoricalTrivia > > -- > 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 roger.e.eller at sealedair.com Thu Apr 11 09:42:05 2019 From: roger.e.eller at sealedair.com (Eller, Roger) Date: Thu, 11 Apr 2019 13:42:05 +0000 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: Message-ID: Have you tried revPrintField? It's an oldie but goodie. From: use-livecode on behalf of Robert J. Earp via use-livecode Sent: Monday, April 8, 2019 12:24 PM To: use-livecode at lists.runrev.com Cc: Robert J. Earp Subject: Re: Saving a tab formatted field to a file and retaining its formatting Thanks for the reply Paul. Yes, tried that but there are problems. It saves a .rtf file but when you open that in MSWord (OS X or Windows) the tabs are changed to underscores. If you open the file in OS X TextEdit it does have tabs but the position/spacing is not retained. I?ve created a sample/test stack if anybody wants to play ;-) Our project is supposed to create a formatted file that external to the LC project, gets assembled with other documents/files to make a presentable report. The other docs/files are .rtf (created in MSWord or Pages or TextEdit) and an .eps file. The final report will be a .pdf and Acrobat is likely what will get used to manually assemble the final report. To quote my valued colleague (RogerG) on this problem, and who has spent inordinate hours trying to find a solution, tabs have turned out to be tricky little devils in LC !! best, Bob... > From: Paul Dupuis > > To: use-livecode at lists.runrev.com > Subject: Re: Saving a tab formatted field to a file and retaining its > formatting > Message-ID: > > Content-Type: text/plain; charset=utf-8; format=flowed > > I take it your have tried: > > put the rtfText of field "X" into URL > ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") > > And then reading it back to a new field with: > > set the rtfText of field "Y" to URL > ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") > > and the tab spacing is not preserved? > > > > On 4/7/2019 7:57 PM, Robert J. Earp via use-livecode wrote: >> Dear all, we have a field that is formatted nicely with tabs and want to save that as a file, retaining the tab formatting. The saved file format ideally should be .rtf but we may be able to use other formats such as .pdf >> >> Anybody got any ideas how to do this ? >> >> Thanks in advance for your suggestions. >> >> best, Bob? >> >> Bob Earp - White Rock, BC, Canada From hakan at exformedia.se Thu Apr 11 09:51:25 2019 From: hakan at exformedia.se (hakan at exformedia.se) Date: Thu, 11 Apr 2019 15:51:25 +0200 Subject: Panel/Form Widget In-Reply-To: References: Message-ID: <67dec0e4-58cc-4122-8642-2c1ba9cd6ed5@Spark> Maybe I don?t understand your idea but I do think you have kind of ?the same using a group. If you design your group or your ?panel? you still need to place your controls. If you move a group you also move the controls within that group. You can also grab individual controls in a group if you click on the ?Select Grouped? button. If you do want to place them programmatically you do have a relation as all groups can know their children via ?of me?: repeat with i = 1 to the number of controls of me ? ?set the loc of control i of me to end repeat Every control also know their parent via ?the owner?: dispatch ?controlSelected? to the owner of me with the long id of me Groups also get a message ?resizeControl? that I have used a lot when creating my own ?controls? consisting of several controls in a group. I can see the advantage if you are to build a fairly complex multi window layout but still what to keep a one-window layout (ala Photoshop). But even that should be doable with groups alone as if you drag a palette to be free-floating you could create a new palette window and clone the group to that window. I usually drag out the controls and place them where I want them and then select them and ?Group? them afterwards. If I want that exact group in another project I can clone the group in one way or another. So I can?t see the big difference... But maybe [probably] I?m missing something? :-H?kan On 11 Apr 2019, 15:27 +0200, Dalton Calford via use-livecode , wrote: > Hi Richard, > Thanks for your response! > > So for the foreseeable future, we have groups, sharable within a stack, > > and clonable anywhere, even into other stacks. Using that as a > > foundation, we may be able to write a handler or two to give you a very > > Viewer-like experience, if you can share more about the particulars of > > how you'll be using them. > > > > Although I can see the use of groups as an option, it is far less > intuitive and causes more issues than it should. > For example. > Calculating where to place/move an object within a group requires > calculating where you want a new widget or where to move a widget in > regards to the rest of the group, getting the top left corner of the group, > combining the result etc., all in code. > A parent/child with relative positioning is far simpler and closer to all > modern systems. > Another example, > During development, in other apps, you drop a panel, drop your new widgets > upon it as needed, and that is it. > With Livecode, you either do not create the group until you are absolutely > sure you know what you want in it, or, baring that, play with code or the > project browser to move items into an existing group. > Plus, using the pointer tool to move items within the group is also not > possible as the items in the group are the items you use to click upon to > move the whole group. > > This is a frustrating issue for what should be a simple thing. A > 'container' would be the solution - effectively a smarter group, with > widgets having a 'parent' and a possible array list of 'children'. This > would allow a 'child' to know it's parent, and a 'parent' to know its > children. Event notifications such as changes in geometry, style, etc > could then be triggered/passed. It would also allow for simpler > cropping/scroll bar mechanisms. > It would also act as a scoping mechanism for variables and events. > > You could even have a stack as a child of another stack with this setup > (MDI interface). > > If I had a better understanding of the codebase, I would implement it > myself. > But, If I had a better understanding of the code base, I would rather spend > my time on the database layer which is woefully limited. > > best regards > Dalton > > On Wed, 10 Apr 2019 at 18:11, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Dalton Calford wrote: > > > > > In other programming languages/environments that I have used, there is > > > a normally a panel object. > > > In livecode terms, it would act like a stack that is embedded inside > > > another stack as a widget. > > > With Delphi, it is a panel (tabbed; normal or repeating) while in > > > MSAccess it is a form (repeating or not). > > > My question is, does such a thing exist in livecode? > > > > LC has groups, which can contain any number of objects, and when nested > > can even work like having multiple cards within them. They can be > > shared across any card within a stack, but not across stacks*. > > > > Nice for some things, but if you want a true stack object within another > > stack you may have to wait a while: this enhancement request is now 14 > > years old, for what Gain Momentum introduced to the xTalk world as > > "Viewers"; while the LC team has shown interest in it, other priorities > > have displaced its implementation: > > > > https://quality.livecode.com/show_bug.cgi?id=2786 > > > > So for the foreseeable future, we have groups, sharable within a stack, > > and clonable anywhere, even into other stacks. Using that as a > > foundation, we may be able to write a handler or two to give you a very > > Viewer-like experience, if you can share more about the particulars of > > how you'll be using them. > > > > > > > > * Many years ago I experimented to find that you could display a group > > in another stack, but that was never intended and crashed hard as soon > > as you interacted with it. Turns out showing groups across stacks was > > technically a bug, long since fixed. #HistoricalTrivia > > > > -- > > 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 hakan at exformedia.se Thu Apr 11 10:01:41 2019 From: hakan at exformedia.se (hakan at exformedia.se) Date: Thu, 11 Apr 2019 16:01:41 +0200 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: Message-ID: If you want the tab stops to be included in the file I guess you need to add them manually to the rtf file. There is a \tx command in rtf that sets the tab size. I used it long time ago so I don?t remember of it was relative or absolut positions but I do think it should be doable? :-H?kan On 8 Apr 2019, 18:25 +0200, Robert J. Earp via use-livecode , wrote: > Thanks for the reply Paul. Yes, tried that but there are problems. It saves a .rtf file but when you open that in MSWord (OS X or Windows) the tabs are changed to underscores. If you open the file in OS X TextEdit it does have tabs but the position/spacing is not retained. I?ve created a sample/test stack if anybody wants to play ;-) > > Our project is supposed to create a formatted file that external to the LC project, gets assembled with other documents/files to make a presentable report. The other docs/files are .rtf (created in MSWord or Pages or TextEdit) and an .eps file. The final report will be a .pdf and Acrobat is likely what will get used to manually assemble the final report. > > To quote my valued colleague (RogerG) on this problem, and who has spent inordinate hours trying to find a solution, tabs have turned out to be tricky little devils in LC !! > > best, Bob... > > > From: Paul Dupuis > > > To: use-livecode at lists.runrev.com > > Subject: Re: Saving a tab formatted field to a file and retaining its > > formatting > > Message-ID: > > > Content-Type: text/plain; charset=utf-8; format=flowed > > > > I take it your have tried: > > > > put the rtfText of field "X" into URL > > ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") > > > > And then reading it back to a new field with: > > > > set the rtfText of field "Y" to URL > > ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") > > > > and the tab spacing is not preserved? > > > > > > > > On 4/7/2019 7:57 PM, Robert J. Earp via use-livecode wrote: > > > Dear all, we have a field that is formatted nicely with tabs and want to save that as a file, retaining the tab formatting. The saved file format ideally should be .rtf but we may be able to use other formats such as .pdf > > > > > > Anybody got any ideas how to do this ? > > > > > > Thanks in advance for your suggestions. > > > > > > best, Bob? > > > > > > Bob Earp - White Rock, BC, Canada > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dalton.calford at gmail.com Thu Apr 11 10:13:59 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Thu, 11 Apr 2019 10:13:59 -0400 Subject: Panel/Form Widget In-Reply-To: <67dec0e4-58cc-4122-8642-2c1ba9cd6ed5@Spark> References: <67dec0e4-58cc-4122-8642-2c1ba9cd6ed5@Spark> Message-ID: Hi Hakan, I am not saying groups are not workable, I am just saying, that in comparison to other 'container' style controls on multiple other development platforms, they are not as easy to use, nor as versatile. In java, delphi, access, kde (the list goes on), you can do all the work you are describing without a single line of code. Drop a 'container widget' onto a form (stack), change the properties you wish (transparency, mouse over, child flow, etc) and drop the widgets you want onto it (changing their properties as needed). The container automatically becomes a type of object which you can inherit from and can itself become embedded into another container. No code needed. In regards to having to align or group controls afterwards, in other languages, you often will throw a series of containers onto a form, setting up their alignment (including how any controls placed within them will align to each other), then start putting the widgets such as buttons, text fields etc after the layout has been completed. You can still move widgets within each container without having to break the container (group) apart in order to use your mouse to change a single widgets position in regards to the rest. Livecode has a great deal to say for itself, but, in this one area, it is still in the stone age when it comes to modern practices. best regards Dalton Calford On Thu, 11 Apr 2019 at 09:51, wrote: > Maybe I don?t understand your idea but I do think you have kind of the > same using a group. If you design your group or your ?panel? you still need > to place your controls. If you move a group you also move the controls > within that group. You can also grab individual controls in a group if you > click on the ?Select Grouped? button. > If you do want to place them programmatically you do have a relation as > all groups can know their children via ?of me?: > > repeat with i = 1 to the number of controls of me > set the loc of control i of me to > end repeat > > Every control also know their parent via ?the owner?: > dispatch ?controlSelected? to the owner of me with the long id of me > > Groups also get a message ?resizeControl? that I have used a lot when > creating my own ?controls? consisting of several controls in a group. > > I can see the advantage if you are to build a fairly complex multi window > layout but still what to keep a one-window layout (ala Photoshop). But even > that should be doable with groups alone as if you drag a palette to be > free-floating you could create a new palette window and clone the group to > that window. > > I usually drag out the controls and place them where I want them and then > select them and ?Group? them afterwards. If I want that exact group in > another project I can clone the group in one way or another. > > So I can?t see the big difference... > > But maybe [probably] I?m missing something? > > :-H?kan > On 11 Apr 2019, 15:27 +0200, Dalton Calford via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Hi Richard, > Thanks for your response! > > So for the foreseeable future, we have groups, sharable within a stack, > > and clonable anywhere, even into other stacks. Using that as a > foundation, we may be able to write a handler or two to give you a very > Viewer-like experience, if you can share more about the particulars of > how you'll be using them. > > > Although I can see the use of groups as an option, it is far less > intuitive and causes more issues than it should. > For example. > Calculating where to place/move an object within a group requires > calculating where you want a new widget or where to move a widget in > regards to the rest of the group, getting the top left corner of the group, > combining the result etc., all in code. > A parent/child with relative positioning is far simpler and closer to all > modern systems. > Another example, > During development, in other apps, you drop a panel, drop your new widgets > upon it as needed, and that is it. > With Livecode, you either do not create the group until you are absolutely > sure you know what you want in it, or, baring that, play with code or the > project browser to move items into an existing group. > Plus, using the pointer tool to move items within the group is also not > possible as the items in the group are the items you use to click upon to > move the whole group. > > This is a frustrating issue for what should be a simple thing. A > 'container' would be the solution - effectively a smarter group, with > widgets having a 'parent' and a possible array list of 'children'. This > would allow a 'child' to know it's parent, and a 'parent' to know its > children. Event notifications such as changes in geometry, style, etc > could then be triggered/passed. It would also allow for simpler > cropping/scroll bar mechanisms. > It would also act as a scoping mechanism for variables and events. > > You could even have a stack as a child of another stack with this setup > (MDI interface). > > If I had a better understanding of the codebase, I would implement it > myself. > But, If I had a better understanding of the code base, I would rather spend > my time on the database layer which is woefully limited. > > best regards > Dalton > > On Wed, 10 Apr 2019 at 18:11, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Dalton Calford wrote: > > In other programming languages/environments that I have used, there is > a normally a panel object. > In livecode terms, it would act like a stack that is embedded inside > another stack as a widget. > With Delphi, it is a panel (tabbed; normal or repeating) while in > MSAccess it is a form (repeating or not). > My question is, does such a thing exist in livecode? > > > LC has groups, which can contain any number of objects, and when nested > can even work like having multiple cards within them. They can be > shared across any card within a stack, but not across stacks*. > > Nice for some things, but if you want a true stack object within another > stack you may have to wait a while: this enhancement request is now 14 > years old, for what Gain Momentum introduced to the xTalk world as > "Viewers"; while the LC team has shown interest in it, other priorities > have displaced its implementation: > > https://quality.livecode.com/show_bug.cgi?id=2786 > > So for the foreseeable future, we have groups, sharable within a stack, > and clonable anywhere, even into other stacks. Using that as a > foundation, we may be able to write a handler or two to give you a very > Viewer-like experience, if you can share more about the particulars of > how you'll be using them. > > > > * Many years ago I experimented to find that you could display a group > in another stack, but that was never intended and crashed hard as soon > as you interacted with it. Turns out showing groups across stacks was > technically a bug, long since fixed. #HistoricalTrivia > > -- > 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 dalton.calford at gmail.com Thu Apr 11 12:12:28 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Thu, 11 Apr 2019 12:12:28 -0400 Subject: Documentation on Low Level Database Access Message-ID: Hi all, I am looking at the git repositories, the widget documentation etc., looking for a solid guide on how livecode accesses database engines. For example, if I wanted to add low level support for another open source database that is available on all the same platforms as livecode, is there any documentation/standardization that I can follow? best regards Dalton From ambassador at fourthworld.com Thu Apr 11 13:05:16 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 11 Apr 2019 10:05:16 -0700 Subject: Panel/Form Widget In-Reply-To: References: Message-ID: <33919e42-f9f9-4b43-4064-2122ca089b0f@fourthworld.com> Dalton Calford wrote: > I am not saying groups are not workable, I am just saying, that in > comparison to other 'container' style controls on multiple other > development platforms, they are not as easy to use, nor as versatile. Can you tell us more about how they differ in regard to what you're currently building so we can use your real-world use-case to guide an implementation? > In java, delphi, access, kde (the list goes on), you can do all the > work you are describing without a single line of code. > Drop a 'container widget' onto a form (stack), change the properties > you wish (transparency, mouse over, child flow, etc) and drop the > widgets you want onto it (changing their properties as needed). So the workflow is quite similar to how we use LC's DataGrid. Which is a custom control. Which is what I proposed. And which remains the most viable option for immediate results. > The container automatically becomes a type of object which you can > inherit from and can itself become embedded into another container. > No code needed. I have no experience with such systems. I only work with computers, where nothing happens until someone writes some code. :) Whether the core team writes it, or I write it, or you write it is the question at hand. But if you want it, someone needs to write it. > Livecode has a great deal to say for itself, but, in this one area, it > is still in the stone age when it comes to modern practices. Perceived modernity is fashion; my interest is in utility. A request for this feature, known in the xTalk world as "Viewers" thanks to Gain Momentum having introduced it back in the mid-90s, has already been submitted: https://quality.livecode.com/show_bug.cgi?id=2786 Given the age of the request, as I wrote earlier I would not suspend development of current projects waiting for the core team to implement that. If it must be done in the most expensive of options, in C++ within the engine, we can either continue to not have it while we wait for the engine team to build it, or spend considerable money hiring competent C++ professionals from the community to submit a series of pull requests for it. But this is LiveCode. There are nearly always multiple ways to solve anything. The DataGrid would have been prohibitively expensive to attempt to implement in C++, which is why the flexibility it provides is nearly unnmatched among any other tool I've ever seen. And so it can be with something very akin to Viewers. We can build it. Today. We can have it. We can enjoy it. Now. But someone needs to write it. And to do that, it needs a specification. Which returns us to the question I asked earlier: can you tell us more about the project you're building which requires this? -- 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 Thu Apr 11 13:09:04 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 11 Apr 2019 10:09:04 -0700 Subject: Documentation on Low Level Database Access In-Reply-To: References: Message-ID: Dalton Calford wrote: > I am looking at the git repositories, the widget documentation etc., > looking for a solid guide on how livecode accesses database engines. > > For example, if I wanted to add low level support for another open > source database that is available on all the same platforms as > livecode, is there any documentation/standardization that I can > follow? Does the DB engine provide a socket-driven API? If limited to C++, LC's source for rebDB is here: https://github.com/livecode/livecode/tree/develop/revdb If access is limited to C++, many options become available as we learn more about the specifics. What is its name? -- 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 dalton.calford at gmail.com Thu Apr 11 13:20:01 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Thu, 11 Apr 2019 13:20:01 -0400 Subject: Documentation on Low Level Database Access In-Reply-To: References: Message-ID: Hi Richard, Thanks for the pointer. I will look that up this weekend. The database I am looking at is called firebird (www.firebirdsql.com). It has embedded and standalone libs. Supports windows, linux, osx and ios along with android. It is opensource and has native support for c++, c, pascal, .net, jdbc/odbc etc. On Thu, Apr 11, 2019, 1:09 PM Richard Gaskin via use-livecode, < use-livecode at lists.runrev.com> wrote: > Dalton Calford wrote: > > > I am looking at the git repositories, the widget documentation etc., > > looking for a solid guide on how livecode accesses database engines. > > > > For example, if I wanted to add low level support for another open > > source database that is available on all the same platforms as > > livecode, is there any documentation/standardization that I can > > follow? > > Does the DB engine provide a socket-driven API? > > If limited to C++, LC's source for rebDB is here: > https://github.com/livecode/livecode/tree/develop/revdb > > If access is limited to C++, many options become available as we learn > more about the specifics. > > What is its name? > > -- > 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 Thu Apr 11 13:25:07 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 11 Apr 2019 12:25:07 -0500 Subject: Panel/Form Widget In-Reply-To: References: <67dec0e4-58cc-4122-8642-2c1ba9cd6ed5@Spark> Message-ID: <16a0d6e8138.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Hakan mentioned this but you may have missed it. You can definitely move controls around inside a group without breaking it apart or going into Edit Group mode. On the toolbar there's an icon called Select Grouped. Toggling that allows you to select the whole group (as you're doing now) or select only the control in the group you click on. I usually keep Select Grouped enabled all the time, I almost never have to go into edit group mode. And it's never required to ungroup just to make changes. If you want to add a control to an existing group, copy (or cut) it, ensure Select Grouped isn't enabled, right click on the group and choose "Paste into group" from the contextual menu. Then re-enable Select Grouped and drag the control where you want it. The group can be set to expand automatically if you move a control out of bounds, or to be locked so that controls are clipped when they move too far. Controls in the group will always keep their relative positions, so no scripting is required to manage that unless you want to change it dynamically. Groups can have visible borders and they accept special effects so you can make them look like 3d floating panes. Groups know their owner (and by extension, the owner of the owner) and their children, and LC can give you a list of all the group's children. You can have groups inside of groups. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 11, 2019 9:15:48 AM Dalton Calford via use-livecode wrote: > Hi Hakan, > > I am not saying groups are not workable, I am just saying, that in > comparison to other 'container' style controls on multiple other > development platforms, they are not as easy to use, nor as versatile. > > In java, delphi, access, kde (the list goes on), you can do all the work > you are describing without a single line of code. > Drop a 'container widget' onto a form (stack), change the properties you > wish (transparency, mouse over, child flow, etc) and drop the widgets you > want onto it (changing their properties as needed). The container > automatically becomes a type of object which you can inherit from and can > itself become embedded into another container. No code needed. > > In regards to having to align or group controls afterwards, in other > languages, you often will throw a series of containers onto a form, setting > up their alignment (including how any controls placed within them will > align to each other), then start putting the widgets such as buttons, text > fields etc after the layout has been completed. You can still move > widgets within each container without having to break the container (group) > apart in order to use your mouse to change a single widgets position in > regards to the rest. > > Livecode has a great deal to say for itself, but, in this one area, it is > still in the stone age when it comes to modern practices. > > best regards > Dalton Calford > > > On Thu, 11 Apr 2019 at 09:51, wrote: > >> Maybe I don?t understand your idea but I do think you have kind of the >> same using a group. If you design your group or your ?panel? you still need >> to place your controls. If you move a group you also move the controls >> within that group. You can also grab individual controls in a group if you >> click on the ?Select Grouped? button. >> If you do want to place them programmatically you do have a relation as >> all groups can know their children via ?of me?: >> >> >> repeat with i = 1 to the number of controls of me >> set the loc of control i of me to >> end repeat >> >> >> Every control also know their parent via ?the owner?: >> dispatch ?controlSelected? to the owner of me with the long id of me >> >> >> Groups also get a message ?resizeControl? that I have used a lot when >> creating my own ?controls? consisting of several controls in a group. >> >> >> I can see the advantage if you are to build a fairly complex multi window >> layout but still what to keep a one-window layout (ala Photoshop). But even >> that should be doable with groups alone as if you drag a palette to be >> free-floating you could create a new palette window and clone the group to >> that window. >> >> >> I usually drag out the controls and place them where I want them and then >> select them and ?Group? them afterwards. If I want that exact group in >> another project I can clone the group in one way or another. >> >> >> So I can?t see the big difference... >> >> >> But maybe [probably] I?m missing something? >> >> >> :-H?kan >> On 11 Apr 2019, 15:27 +0200, Dalton Calford via use-livecode < >> use-livecode at lists.runrev.com>, wrote: >> >> >> Hi Richard, >> Thanks for your response! >> >> >> So for the foreseeable future, we have groups, sharable within a stack, >> >> >> and clonable anywhere, even into other stacks. Using that as a >> foundation, we may be able to write a handler or two to give you a very >> Viewer-like experience, if you can share more about the particulars of >> how you'll be using them. >> >> >> >> >> Although I can see the use of groups as an option, it is far less >> intuitive and causes more issues than it should. >> For example. >> Calculating where to place/move an object within a group requires >> calculating where you want a new widget or where to move a widget in >> regards to the rest of the group, getting the top left corner of the group, >> combining the result etc., all in code. >> A parent/child with relative positioning is far simpler and closer to all >> modern systems. >> Another example, >> During development, in other apps, you drop a panel, drop your new widgets >> upon it as needed, and that is it. >> With Livecode, you either do not create the group until you are absolutely >> sure you know what you want in it, or, baring that, play with code or the >> project browser to move items into an existing group. >> Plus, using the pointer tool to move items within the group is also not >> possible as the items in the group are the items you use to click upon to >> move the whole group. >> >> >> This is a frustrating issue for what should be a simple thing. A >> 'container' would be the solution - effectively a smarter group, with >> widgets having a 'parent' and a possible array list of 'children'. This >> would allow a 'child' to know it's parent, and a 'parent' to know its >> children. Event notifications such as changes in geometry, style, etc >> could then be triggered/passed. It would also allow for simpler >> cropping/scroll bar mechanisms. >> It would also act as a scoping mechanism for variables and events. >> >> >> You could even have a stack as a child of another stack with this setup >> (MDI interface). >> >> >> If I had a better understanding of the codebase, I would implement it >> myself. >> But, If I had a better understanding of the code base, I would rather spend >> my time on the database layer which is woefully limited. >> >> >> best regards >> Dalton >> >> >> On Wed, 10 Apr 2019 at 18:11, Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> >> Dalton Calford wrote: >> >> >> In other programming languages/environments that I have used, there is >> a normally a panel object. >> In livecode terms, it would act like a stack that is embedded inside >> another stack as a widget. >> With Delphi, it is a panel (tabbed; normal or repeating) while in >> MSAccess it is a form (repeating or not). >> My question is, does such a thing exist in livecode? >> >> >> >> >> LC has groups, which can contain any number of objects, and when nested >> can even work like having multiple cards within them. They can be >> shared across any card within a stack, but not across stacks*. >> >> >> Nice for some things, but if you want a true stack object within another >> stack you may have to wait a while: this enhancement request is now 14 >> years old, for what Gain Momentum introduced to the xTalk world as >> "Viewers"; while the LC team has shown interest in it, other priorities >> have displaced its implementation: >> >> >> https://quality.livecode.com/show_bug.cgi?id=2786 >> >> >> So for the foreseeable future, we have groups, sharable within a stack, >> and clonable anywhere, even into other stacks. Using that as a >> foundation, we may be able to write a handler or two to give you a very >> Viewer-like experience, if you can share more about the particulars of >> how you'll be using them. >> >> >> >> >> >> >> * Many years ago I experimented to find that you could display a group >> in another stack, but that was never intended and crashed hard as soon >> as you interacted with it. Turns out showing groups across stacks was >> technically a bug, long since fixed. #HistoricalTrivia >> >> >> -- >> 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 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dalton.calford at gmail.com Thu Apr 11 14:15:35 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Thu, 11 Apr 2019 14:15:35 -0400 Subject: Panel/Form Widget In-Reply-To: <33919e42-f9f9-4b43-4064-2122ca089b0f@fourthworld.com> References: <33919e42-f9f9-4b43-4064-2122ca089b0f@fourthworld.com> Message-ID: Hi Richard, I have no experience with such systems. I only work with computers, > where nothing happens until someone writes some code. :) > I understand where you are coming from, as I started out writing assembly for 8088 processors and the whole idea of writing a loop in a high level language is almost like not coding at all (c is just a macro'd version of assembler was how we described it back in the day). But from a "Livecode Users" standpoint, the idea of dropping a widget onto a form, changing some properties and having it work as you want, is for all intents and purposes, not coding. ;P Anyways, onto the idea of a specification. This is easy to do, but, it depends upon what you want the final product to cover? Also there is the issue of terminology. Livecode does not use standard terms or concepts. An example of this happens to be the concept of a Stack. Live code Stacks would be defined in another language as follows SDI Form --->Opaque Layered Panel --->Embedded Event Library --->Embedded Resource Library --->Embedded Style Library Ok, lets start at describing what this means. A window is named a form in most (not all) languages. SDI means a single document format vs a Multiple document format (discussion for another day) On that form would be Opaque Layered Panel which in livecode terms is all the layers of the stack. Most languages do not use the idea of a stack and use a layered panel. A panel is a container like a group, that has all the livecode properties and a few more. It behaves differently depending upon the IDE/RAD in use, but most have similar interactions. An embedded Event Library in other languages, is a series of code snippets/functions/procedures that can be assigned to events. For example, the hot key to pull up help, calls the same code that is called when the help button or help menu item is called. This is done by the various widgets having a list of events they respond to (such as onclick, onmouseover, onmouseexit, ondoubleclick etc) and you assign one of the event libraries code snippets to the widgets event. This uses quite a bit of referential code such as (self, parent, child etc) but you can do the same with livecode. An embedded resource library is similar to dropping a bunch of pdf's, images, sound files etc all onto one stack and referring to them on another page of the stack. With other languages, you general have an object(widget) that you put the items into and it is a resource used by the whole program. An embedded Style library is like when you clone a control in livecode (but a little more). For example, a widget would have a property pointing to a widget that holds all the default settings (such as geometry, colours etc) and if you make a change to the style, it automatically has all the widgets based upon that style update. Again, this is covered in the background, not needing any "Livecode User" coding. This leaves out the ideas of source cursor (a pointer to a widget that maintains/manages a cursor into an array or database table) as well as the concept of the source filter (a property for master detail relationships) Basically a database in many other languages have a series of widgets [DatabaseEngine] (defines which libraries and settings are used when using a connection) [DatabaseConnection](defines the connection strings/user authentication [DatabaseTransaction](defines transactional settings ) [DatabaseCursor] (Points to a sql query, table, view etc) Also has a property for a source filter for master-detail So a database aware widget (lets say a text edit) would have a pointer to a field in the DatabaseCursor, which holds the result tuple from the current row for the widget. That DatabaseCursor would point to a transaction which in turn would point to a connection, which in turn is connected to a database using the DatabaseEngine properties. Now, that is alot to digest. Most people at this point go "TLDR" (too long, didn't read) and we haven't gotten into the section covering single panel or repeating panel containers....... But, if you are still with me, I am willing to explain what I use, how I use it, how it is used in many different applications and languages and why. I can provide specifications, tests and other aspects. I am not asking for you to do the work, but, if you are willing to work with me, as I learn the in's and out's of livecode, I am sure we can come up with something. best regards Dalton On Thu, 11 Apr 2019 at 13:05, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Dalton Calford wrote: > > > I am not saying groups are not workable, I am just saying, that in > > comparison to other 'container' style controls on multiple other > > development platforms, they are not as easy to use, nor as versatile. > > Can you tell us more about how they differ in regard to what you're > currently building so we can use your real-world use-case to guide an > implementation? > > > > In java, delphi, access, kde (the list goes on), you can do all the > > work you are describing without a single line of code. > > Drop a 'container widget' onto a form (stack), change the properties > > you wish (transparency, mouse over, child flow, etc) and drop the > > widgets you want onto it (changing their properties as needed). > > So the workflow is quite similar to how we use LC's DataGrid. Which is > a custom control. Which is what I proposed. And which remains the most > viable option for immediate results. > > > > The container automatically becomes a type of object which you can > > inherit from and can itself become embedded into another container. > > No code needed. > > I have no experience with such systems. I only work with computers, > where nothing happens until someone writes some code. :) > > Whether the core team writes it, or I write it, or you write it is the > question at hand. > > But if you want it, someone needs to write it. > > > > Livecode has a great deal to say for itself, but, in this one area, it > > is still in the stone age when it comes to modern practices. > > Perceived modernity is fashion; my interest is in utility. > > A request for this feature, known in the xTalk world as "Viewers" thanks > to Gain Momentum having introduced it back in the mid-90s, has already > been submitted: > https://quality.livecode.com/show_bug.cgi?id=2786 > > Given the age of the request, as I wrote earlier I would not suspend > development of current projects waiting for the core team to implement > that. > > If it must be done in the most expensive of options, in C++ within the > engine, we can either continue to not have it while we wait for the > engine team to build it, or spend considerable money hiring competent > C++ professionals from the community to submit a series of pull requests > for it. > > But this is LiveCode. There are nearly always multiple ways to solve > anything. > > The DataGrid would have been prohibitively expensive to attempt to > implement in C++, which is why the flexibility it provides is nearly > unnmatched among any other tool I've ever seen. > > And so it can be with something very akin to Viewers. > > We can build it. Today. We can have it. We can enjoy it. Now. > > But someone needs to write it. > > And to do that, it needs a specification. > > Which returns us to the question I asked earlier: can you tell us more > about the project you're building which requires this? > > > -- > 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 Thu Apr 11 14:58:03 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 11 Apr 2019 11:58:03 -0700 Subject: Panel/Form Widget In-Reply-To: References: Message-ID: Dalton Calford wrote: [lots of valuable stuff bookmarked but not quoted here only for brevity] > But, if you are still with me, I am willing to explain what I use, how > I use it, how it is used in many different applications and languages > and why. > > I can provide specifications, tests and other aspects. I am not > asking for you to do the work, but, if you are willing to work with > me, as I learn the in's and out's of livecode, I am sure we can come > up with something. I like that collaborative spirit. This helpful community is quite good that way. Maybe the simplest starting point would be a real-world example of immediate interest: what are you building that needs Viewers? -- 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 dalton.calford at gmail.com Thu Apr 11 15:31:58 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Thu, 11 Apr 2019 15:31:58 -0400 Subject: Panel/Form Widget In-Reply-To: References: Message-ID: ok, In order to explain what I need the utility for, is as a front end to a highly normalized warehouse Temporal Graph database. That probably means nothing to you, but, lets assume it does for the time being. For a simple example, lets say we are dealing with addresses, 2.6 billion addresses, along with geo location. The database does not contain nulls, data tuple width is variable based upon a recursive multi-parent relationship. Language/Locale information is part of the data structure The client connects to a local embedded database which only is used for work que's and caching and it in turn will connect to the middle tiers for data synchronization/load balancing Authentication is a round robin authkey token passed between the various layers over an encrypted database to database channel. (no, this is not star trek technobabble, it is actually a 10000' summary of a specification) For discussions sake, lets agree upon some terms. *Viewers* is not natural to me as I never heard the term used before this discussion. Lets use a different term *DataPanel :- *This is the ultimate goal. Ok, in order to explain what is going on, lets begin with a description of a data warehouse problem. A simple address. An address has multiple elements, almost all of them defined identically - a text string. Depending upon your location on the planet, the details are very different. You could have street numbers or a building number within a block. You can have rural or municipal addresses etc. Not all address fields are needed for every address, and you do not want a single null (undefined data) in the database. So, in order to handle this, each address has a unique id, this is the master link. That master link is also linked to a definition of fields that comprise this particular address. So, the first address is [street number][street name] while the second is [plot number][rural road number][municipality]. So two addresses, in the same table, with totally different columns. You can add columns to the addresses on the fly, you can even self populate the columns (surface them) based upon postal code. Now, this is a full discussion on its own, but, it makes data very easy to manage. For example, lets say, you have 100 addresses, each address is in one city, that city is in a state and that state is in a country. Each one of those addresses would have a pointer to the city, which has a pointer to the state, which has a pointer to the country. So, you only ever have the country entered once in the database (with a list of how it is used in various languages), same with state and city. This cuts the total size of the database enormously. In order to handle a situation like this, you need a series of embedded datapanels. hmmm, I am thinking this may be very boring for the majority of people on this list, perhaps there is a better list than 'using livecode' for this discussion? On Thu, 11 Apr 2019 at 14:58, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Dalton Calford wrote: > > [lots of valuable stuff bookmarked but not quoted here only for brevity] > > > But, if you are still with me, I am willing to explain what I use, how > > I use it, how it is used in many different applications and languages > > and why. > > > > I can provide specifications, tests and other aspects. I am not > > asking for you to do the work, but, if you are willing to work with > > me, as I learn the in's and out's of livecode, I am sure we can come > > up with something. > > I like that collaborative spirit. This helpful community is quite good > that way. > > Maybe the simplest starting point would be a real-world example of > immediate interest: what are you building that needs Viewers? > > -- > 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 Thu Apr 11 15:44:12 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 11 Apr 2019 12:44:12 -0700 Subject: Panel/Form Widget In-Reply-To: References: Message-ID: <506cf68d-4f32-f38a-0d4d-71717e0bb030@fourthworld.com> This is a very interesting description of a graph database application. But how does it relate to having a stack viewable within another stack? -- Richard Gaskin Fourth World Systems Dalton Calford wrote: > ok, > > In order to explain what I need the utility for, is as a front end to a > highly normalized warehouse Temporal Graph database. > That probably means nothing to you, but, lets assume it does for the time > being. > > For a simple example, lets say we are dealing with addresses, 2.6 billion > addresses, along with geo location. > The database does not contain nulls, data tuple width is variable based > upon a recursive multi-parent relationship. > Language/Locale information is part of the data structure > The client connects to a local embedded database which only is used for > work que's and caching and it in turn will connect to the middle tiers for > data synchronization/load balancing > Authentication is a round robin authkey token passed between the various > layers over an encrypted database to database channel. > > (no, this is not star trek technobabble, it is actually a 10000' summary of > a specification) > > For discussions sake, lets agree upon some terms. > > *Viewers* is not natural to me as I never heard the term used before this > discussion. Lets use a different term > > *DataPanel :- *This is the ultimate goal. > > > Ok, in order to explain what is going on, lets begin with a description of > a data warehouse problem. > > A simple address. > > An address has multiple elements, almost all of them defined identically - > a text string. Depending upon your location on the planet, the details > are very different. You could have street numbers or a building number > within a block. You can have rural or municipal addresses etc. Not all > address fields are needed for every address, and you do not want a single > null (undefined data) in the database. > So, in order to handle this, each address has a unique id, this is the > master link. That master link is also linked to a definition of fields > that comprise this particular address. So, the first address is [street > number][street name] while the second is [plot number][rural road > number][municipality]. So two addresses, in the same table, with totally > different columns. You can add columns to the addresses on the fly, you > can even self populate the columns (surface them) based upon postal code. > Now, this is a full discussion on its own, but, it makes data very easy to > manage. > For example, lets say, you have 100 addresses, each address is in one city, > that city is in a state and that state is in a country. > Each one of those addresses would have a pointer to the city, which has a > pointer to the state, which has a pointer to the country. > So, you only ever have the country entered once in the database (with a > list of how it is used in various languages), same with state and city. > This cuts the total size of the database enormously. > > In order to handle a situation like this, you need a series of embedded > datapanels. > > hmmm, I am thinking this may be very boring for the majority of people on > this list, perhaps there is a better list than 'using livecode' for this > discussion? From dalton.calford at gmail.com Thu Apr 11 15:47:22 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Thu, 11 Apr 2019 15:47:22 -0400 Subject: Panel/Form Widget In-Reply-To: <506cf68d-4f32-f38a-0d4d-71717e0bb030@fourthworld.com> References: <506cf68d-4f32-f38a-0d4d-71717e0bb030@fourthworld.com> Message-ID: I was about to explain using screen shots, flow diagrams etc., but, then I thought this may not be the best place to be discussing this. If you think this is as good a list as any, I can proceed, but, I will have to do so later this evening as I am about to start a MOP. best regards Dalton On Thu, 11 Apr 2019 at 15:44, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > This is a very interesting description of a graph database application. > > But how does it relate to having a stack viewable within another stack? > > -- > Richard Gaskin > Fourth World Systems > > > Dalton Calford wrote: > > > ok, > > > > In order to explain what I need the utility for, is as a front end to a > > highly normalized warehouse Temporal Graph database. > > That probably means nothing to you, but, lets assume it does for the time > > being. > > > > For a simple example, lets say we are dealing with addresses, 2.6 billion > > addresses, along with geo location. > > The database does not contain nulls, data tuple width is variable based > > upon a recursive multi-parent relationship. > > Language/Locale information is part of the data structure > > The client connects to a local embedded database which only is used for > > work que's and caching and it in turn will connect to the middle tiers > for > > data synchronization/load balancing > > Authentication is a round robin authkey token passed between the various > > layers over an encrypted database to database channel. > > > > (no, this is not star trek technobabble, it is actually a 10000' summary > of > > a specification) > > > > For discussions sake, lets agree upon some terms. > > > > *Viewers* is not natural to me as I never heard the term used before this > > discussion. Lets use a different term > > > > *DataPanel :- *This is the ultimate goal. > > > > > > Ok, in order to explain what is going on, lets begin with a description > of > > a data warehouse problem. > > > > A simple address. > > > > An address has multiple elements, almost all of them defined identically > - > > a text string. Depending upon your location on the planet, the details > > are very different. You could have street numbers or a building number > > within a block. You can have rural or municipal addresses etc. Not > all > > address fields are needed for every address, and you do not want a single > > null (undefined data) in the database. > > So, in order to handle this, each address has a unique id, this is the > > master link. That master link is also linked to a definition of fields > > that comprise this particular address. So, the first address is > [street > > number][street name] while the second is [plot number][rural road > > number][municipality]. So two addresses, in the same table, with > totally > > different columns. You can add columns to the addresses on the fly, you > > can even self populate the columns (surface them) based upon postal code. > > Now, this is a full discussion on its own, but, it makes data very easy > to > > manage. > > For example, lets say, you have 100 addresses, each address is in one > city, > > that city is in a state and that state is in a country. > > Each one of those addresses would have a pointer to the city, which has a > > pointer to the state, which has a pointer to the country. > > So, you only ever have the country entered once in the database (with a > > list of how it is used in various languages), same with state and city. > > This cuts the total size of the database enormously. > > > > In order to handle a situation like this, you need a series of embedded > > datapanels. > > > > hmmm, I am thinking this may be very boring for the majority of people on > > this list, perhaps there is a better list than 'using livecode' for this > > discussion? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Apr 11 15:55:38 2019 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Thu, 11 Apr 2019 21:55:38 +0200 Subject: Best strategy for dragging objects in an out of groups? Message-ID: <999CC5ED-B1B4-437D-856E-1713A4B4AA80@dsa-net.dk> Hi there What would be the best strategy for dragging objects in and out of groups? If anyone has a stack that demonstrate that it would be nice else just explain in plain words what you think is the best strategy. Thanks Michael PS While I write this Im thinking that maybe RELAYER in a mouseMove handler could be used. From ahsoftware at sonic.net Thu Apr 11 16:08:58 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 11 Apr 2019 13:08:58 -0700 Subject: Documentation on Low Level Database Access In-Reply-To: References: Message-ID: On 4/11/19 9:12 AM, Dalton Calford via use-livecode wrote: > Hi all, > > I am looking at the git repositories, the widget documentation etc., > looking for a solid guide on how livecode accesses database engines. > > For example, if I wanted to add low level support for another open source > database that is available on all the same platforms as livecode, is there > any documentation/standardization that I can follow? Having started down that road some years ago and run into some immense walls (i.e., an external library that had to be static and dynamic at the same time), I backed off in favor of waiting for the fabled db layer rewrite that was just around the corner. Still waiting. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Thu Apr 11 16:10:54 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 11 Apr 2019 13:10:54 -0700 Subject: Panel/Form Widget In-Reply-To: References: Message-ID: <144f4d99-4333-f997-163c-a5e4cc0872ad@fourthworld.com> Dalton Calford wrote: > I was about to explain using screen shots, flow diagrams etc., but, > then I thought this may not be the best place to be discussing this. > > If you think this is as good a list as any, I can proceed, but, I will > have to do so later this evening as I am about to start a MOP. If this relates to what is known in the xTalk world as Viewers (we could call it other things, but the concept being viewing a stack within another stack), that would seem of enough general interest to keep it here. If it's about something more obscure, it may still be useful here as such things can be easily filtered/ignored by those not interested in them, while allowing those who are interested to follow along without needing to hunt down wherever the conversation may have been moved to. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From waprothero at gmail.com Thu Apr 11 16:38:15 2019 From: waprothero at gmail.com (William Prothero) Date: Thu, 11 Apr 2019 13:38:15 -0700 Subject: Debugging in iOS 12? In-Reply-To: References: Message-ID: <4D993E4F-8C8A-4BA0-87E5-D82AEF69B908@gmail.com> Folks: I?m just diving into debugging my iPhone app after a long hiatus. I have iOS 12.2 on my iPhone and am using Xcode 10.1. Unfortunately, it appears that LC 9.0.4 (rc2) won?t support Xcode 10.2 (from the web site) and I get the following error message in Xcode: "This iPhone 6 is running iOS 12.2 (16E227), which may not be supported by this version of Xcode.? Is there anything I can do except wait for the next version of livecode to come out? I should have waited to update my iOS version. Arg! Such a pain to wade into this thicket of provisions, certificates, etc. again. At least there are more support docs from Livecode. Any advice would be welcomed. Best, Bill William A. Prothero http://earthlearningsolutions.org From rdimola at evergreeninfo.net Thu Apr 11 17:04:15 2019 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 11 Apr 2019 17:04:15 -0400 Subject: Debugging in iOS 12? In-Reply-To: <4D993E4F-8C8A-4BA0-87E5-D82AEF69B908@gmail.com> References: <4D993E4F-8C8A-4BA0-87E5-D82AEF69B908@gmail.com> Message-ID: <008401d4f0aa$221c17c0$66544740$@net> That 10.1 error message will not affect your development. You can still drag apps into the devices window. You can also have both 10.1 and 10.2 on your Mac. Use 10.1 for building iOS apps and run 10.2 to access the devices window. If you have both versions then use 10.1 in the LC prefs. >From the command prompt you can set the version of the tools that LC will use for building. 2 commands 1) (xcode-select --print-path) will display the version in use 2) (sudu xcode-select -switch "path/to/xcode.app") will set the build tools version I keep multiple version of Xcode in a separate folder so I can use older simulators. 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 William Prothero via use-livecode Sent: Thursday, April 11, 2019 4:38 PM To: Use-livecode Use-livecode Cc: William Prothero Subject: Debugging in iOS 12? Folks: I?m just diving into debugging my iPhone app after a long hiatus. I have iOS 12.2 on my iPhone and am using Xcode 10.1. Unfortunately, it appears that LC 9.0.4 (rc2) won?t support Xcode 10.2 (from the web site) and I get the following error message in Xcode: "This iPhone 6 is running iOS 12.2 (16E227), which may not be supported by this version of Xcode.? Is there anything I can do except wait for the next version of livecode to come out? I should have waited to update my iOS version. Arg! Such a pain to wade into this thicket of provisions, certificates, etc. again. At least there are more support docs from Livecode. Any advice would be welcomed. Best, Bill William A. Prothero http://earthlearningsolutions.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 waprothero at gmail.com Thu Apr 11 17:09:42 2019 From: waprothero at gmail.com (William Prothero) Date: Thu, 11 Apr 2019 14:09:42 -0700 Subject: Debugging in iOS 12? In-Reply-To: <008401d4f0aa$221c17c0$66544740$@net> References: <4D993E4F-8C8A-4BA0-87E5-D82AEF69B908@gmail.com> <008401d4f0aa$221c17c0$66544740$@net> Message-ID: Thanks, Ralph! Bill > On Apr 11, 2019, at 2:04 PM, Ralph DiMola via use-livecode wrote: > > That 10.1 error message will not affect your development. You can still drag apps into the devices window. You can also have both 10.1 and 10.2 on your Mac. Use 10.1 for building iOS apps and run 10.2 to access the devices window. If you have both versions then use 10.1 in the LC prefs. From the command prompt you can set the version of the tools that LC will use for building. > > 2 commands > 1) (xcode-select --print-path) will display the version in use > 2) (sudu xcode-select -switch "path/to/xcode.app") will set the build tools version > > I keep multiple version of Xcode in a separate folder so I can use older simulators. > > 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 William Prothero via use-livecode > Sent: Thursday, April 11, 2019 4:38 PM > To: Use-livecode Use-livecode > Cc: William Prothero > Subject: Debugging in iOS 12? > > Folks: > I?m just diving into debugging my iPhone app after a long hiatus. I have iOS 12.2 on my iPhone and am using Xcode 10.1. Unfortunately, it appears that LC 9.0.4 (rc2) won?t support Xcode 10.2 (from the web site) and I get the following error message in Xcode: > > "This iPhone 6 is running iOS 12.2 (16E227), which may not be supported by this version of Xcode.? > > Is there anything I can do except wait for the next version of livecode to come out? I should have waited to update my iOS version. Arg! Such a pain to wade into this thicket of provisions, certificates, etc. again. At least there are more support docs from Livecode. > > Any advice would be welcomed. > > Best, > Bill > > William A. Prothero > http://earthlearningsolutions.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 dalton.calford at gmail.com Thu Apr 11 17:30:09 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Thu, 11 Apr 2019 17:30:09 -0400 Subject: Documentation on Low Level Database Access In-Reply-To: References: Message-ID: Hi Mark, If I remember correctly, wasn't that DB-Layer rewrite promed back in version 5 or 6 along with full support for version control? On Thu, 11 Apr 2019 at 16:09, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 4/11/19 9:12 AM, Dalton Calford via use-livecode wrote: > > Hi all, > > > > I am looking at the git repositories, the widget documentation etc., > > looking for a solid guide on how livecode accesses database engines. > > > > For example, if I wanted to add low level support for another open source > > database that is available on all the same platforms as livecode, is > there > > any documentation/standardization that I can follow? > > Having started down that road some years ago and run into some immense > walls (i.e., an external library that had to be static and dynamic at > the same time), I backed off in favor of waiting for the fabled db layer > rewrite that was just around the corner. Still waiting. > > -- > 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 lists at mangomultimedia.com Fri Apr 12 11:28:37 2019 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 12 Apr 2019 10:28:37 -0500 Subject: Panel/Form Widget In-Reply-To: <33919e42-f9f9-4b43-4064-2122ca089b0f@fourthworld.com> References: <33919e42-f9f9-4b43-4064-2122ca089b0f@fourthworld.com> Message-ID: On Thu, Apr 11, 2019 at 12:05 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > > If it must be done in the most expensive of options, in C++ within the > engine, we can either continue to not have it while we wait for the > engine team to build it, or spend considerable money hiring competent > C++ professionals from the community to submit a series of pull requests > for it. > > But this is LiveCode. There are nearly always multiple ways to solve > anything. > > The DataGrid would have been prohibitively expensive to attempt to > implement in C++, which is why the flexibility it provides is nearly > unnmatched among any other tool I've ever seen. > > And so it can be with something very akin to Viewers. > > We can build it. Today. We can have it. We can enjoy it. Now. > > But someone needs to write it. > After reading parts of this discussion I decided to upload some work I've done in this area to a Github repo and put together a basic README. I refer to the concept as Embeddable Views. Each embeddable view is a separate stack with a single card. An instance of an embeddable view is a group with `selectGroupedControls` set to false and `clipsToRect` set to true. When you edit and save the card then all instances of the embeddable view are updated. I've been using the code in a Levure helper as most of the logic revolves around making sure that every time you edit the embeddable view that all instances are updated. The Levure application structure makes this very easy to manage. Here is the url in case anyone is interested in checking out the code: https://github.com/trevordevore/levurehelper-embeddable_views I will also mention that the Baker's Assistant plugin provides a UI for previewing embeddable views and inserting them into a stack. https://github.com/trevordevore/bakers-assistant -- Trevor DeVore ScreenSteps www.screensteps.com From dalton.calford at gmail.com Fri Apr 12 12:39:37 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Fri, 12 Apr 2019 12:39:37 -0400 Subject: Panel/Form Widget In-Reply-To: References: <144f4d99-4333-f997-163c-a5e4cc0872ad@fourthworld.com> Message-ID: > Well, it appears this list is not the best place to use for such a discussion. I shared some notes and a screen shot and voila, I get this "Your message to use-livecode awaits moderator approval" > I don't know if Richard got the message or not, nor do I know if my post got approved, but with such a small size (32k) this is really tight if any diagrams/mockups are to be included. From stephen at barncard.com Fri Apr 12 12:45:19 2019 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 12 Apr 2019 09:45:19 -0700 Subject: Panel/Form Widget In-Reply-To: References: <144f4d99-4333-f997-163c-a5e4cc0872ad@fourthworld.com> Message-ID: This is an old fashioned list, which allows no attachments. Always use links. On Fri, Apr 12, 2019 at 09:40 Dalton Calford via use-livecode < use-livecode at lists.runrev.com> wrote: > > Well, it appears this list is not the best place to use for such a > discussion. > I shared some notes and a screen shot and voila, I get this > > "Your message to use-livecode awaits moderator approval" > > > > I don't know if Richard got the message or not, nor do I know if my post > got approved, but with such a small size (32k) this is really tight if any > diagrams/mockups are to be included. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From dalton.calford at gmail.com Fri Apr 12 12:51:29 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Fri, 12 Apr 2019 12:51:29 -0400 Subject: Panel/Form Widget In-Reply-To: References: <144f4d99-4333-f997-163c-a5e4cc0872ad@fourthworld.com> Message-ID: Yea, unfortunately, setting up a site that I can upload to, arrange the links etc., is more hassle than it is worth. The responses I got on my other thread (about documentation on adding another native database client) tells me that I am not able to continue with Livecode. ODBC is not going to cut it, there is no native jdbc control and the system does not seem to have any standardization in regards to database access(from a low level standpoint). I hope I am wrong, but I won't know until I dig further into the git sources. On Fri, 12 Apr 2019 at 12:45, Stephen Barncard wrote: > This is an old fashioned list, which allows no attachments. > Always use links. > > On Fri, Apr 12, 2019 at 09:40 Dalton Calford via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > Well, it appears this list is not the best place to use for such a >> discussion. >> I shared some notes and a screen shot and voila, I get this >> >> "Your message to use-livecode awaits moderator approval" >> > >> >> I don't know if Richard got the message or not, nor do I know if my post >> got approved, but with such a small size (32k) this is really tight if >> any >> diagrams/mockups are to be included. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > From stephen at barncard.com Fri Apr 12 13:45:24 2019 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 12 Apr 2019 10:45:24 -0700 Subject: Panel/Form Widget In-Reply-To: References: <144f4d99-4333-f997-163c-a5e4cc0872ad@fourthworld.com> Message-ID: Good lord, Dalton - you could use gmail which also provides all the other Google free goodies including online photo services.... If you are a programmer this should be the easiest part! sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, Apr 12, 2019 at 10:01 AM Dalton Calford wrote: > Yea, unfortunately, setting up a site that I can upload to, arrange the > links etc., is more hassle than it is worth. > The responses I got on my other thread (about documentation on adding > another native database client) tells me that I am not able to continue > with Livecode. > ODBC is not going to cut it, there is no native jdbc control and the > system does not seem to have any standardization in regards to database > access(from a low level standpoint). > > I hope I am wrong, but I won't know until I dig further into the git > sources. > > > > On Fri, 12 Apr 2019 at 12:45, Stephen Barncard > wrote: > >> This is an old fashioned list, which allows no attachments. >> Always use links. >> >> On Fri, Apr 12, 2019 at 09:40 Dalton Calford via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> > Well, it appears this list is not the best place to use for such a >>> discussion. >>> I shared some notes and a screen shot and voila, I get this >>> >>> "Your message to use-livecode awaits moderator approval" >>> > >>> >>> I don't know if Richard got the message or not, nor do I know if my post >>> got approved, but with such a small size (32k) this is really tight if >>> any >>> diagrams/mockups are to be included. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> -- >> -- >> Stephen Barncard - Sebastopol Ca. USA - >> mixstream.org >> > From dalton.calford at gmail.com Fri Apr 12 14:06:12 2019 From: dalton.calford at gmail.com (Dalton Calford) Date: Fri, 12 Apr 2019 14:06:12 -0400 Subject: Panel/Form Widget In-Reply-To: References: <144f4d99-4333-f997-163c-a5e4cc0872ad@fourthworld.com> Message-ID: I do use google, but, the issue is return on time and investment. The entire purpose of the endeavor is as a front end to a database. Given the database layer has not been touched for years given that all the database bugs where consolidated back in version 2.16 and not touched until 2016 when the consolidated list was marked as 'not a bug' tells me that there is no intention to actually fix the limits to the system. So, why should I spend time, fiddling with the discussions of how to fix the panels (viewers) when a more fundamental issue happens to be the database layer itself. I am going to use html and javascript with an embedded local only web server, as that is less work than livecode. It's a shame. Livecode has so much potential, but, it is fighting itself. I remember when I first looked at livecode back in 2010, they where promising so much that still does not exist. On Fri, 12 Apr 2019 at 13:48, Stephen Barncard wrote: > Good lord, Dalton - you could use gmail which also provides all the other > Google free goodies including online photo services.... > If you are a programmer this should be the easiest part! > > sqb > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > > On Fri, Apr 12, 2019 at 10:01 AM Dalton Calford > wrote: > >> Yea, unfortunately, setting up a site that I can upload to, arrange the >> links etc., is more hassle than it is worth. >> The responses I got on my other thread (about documentation on adding >> another native database client) tells me that I am not able to continue >> with Livecode. >> ODBC is not going to cut it, there is no native jdbc control and the >> system does not seem to have any standardization in regards to database >> access(from a low level standpoint). >> >> I hope I am wrong, but I won't know until I dig further into the git >> sources. >> >> >> >> On Fri, 12 Apr 2019 at 12:45, Stephen Barncard >> wrote: >> >>> This is an old fashioned list, which allows no attachments. >>> Always use links. >>> >>> On Fri, Apr 12, 2019 at 09:40 Dalton Calford via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> > Well, it appears this list is not the best place to use for such a >>>> discussion. >>>> I shared some notes and a screen shot and voila, I get this >>>> >>>> "Your message to use-livecode awaits moderator approval" >>>> > >>>> >>>> I don't know if Richard got the message or not, nor do I know if my post >>>> got approved, but with such a small size (32k) this is really tight if >>>> any >>>> diagrams/mockups are to be included. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> -- >>> -- >>> Stephen Barncard - Sebastopol Ca. USA - >>> mixstream.org >>> >> From harrison at all-auctions.com Fri Apr 12 16:16:07 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 12 Apr 2019 16:16:07 -0400 Subject: LC Server permissions In-Reply-To: References: <144f4d99-4333-f997-163c-a5e4cc0872ad@fourthworld.com> Message-ID: <363CF14B-7B97-4E4A-BDDB-2185BE8C2D30@all-auctions.com> I have a file I need to upload to my LC server using the $_Files[uploadedfile][error] method that requires the correct permissions to be able to move and rename the file using: put URL ("binfile:" & tFilePath) into URL ("binfile:" & tNewFilePath) I get "can't open file (13)? which is a permissions error. For testing purposes only, I temporarily set the file permissions for everyone on a folder to be able to read/write. That of course makes the error go away instantly and everything works fine. The problem of course is that I need to lock things down as much as possible, so I can?t allow everyone to be able to read/write. What user do I need to give that permission to for LC Server to be able to read/write so I can limit access to everyone but not to LiveCode? Also is there a way in my code to give permission temporarily just while the script is running and then close it down? Thanks in advance! Rick From ambassador at fourthworld.com Fri Apr 12 20:26:42 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 12 Apr 2019 17:26:42 -0700 Subject: LC Server permissions In-Reply-To: <363CF14B-7B97-4E4A-BDDB-2185BE8C2D30@all-auctions.com> References: <363CF14B-7B97-4E4A-BDDB-2185BE8C2D30@all-auctions.com> Message-ID: Rick Harrison wrote: > I have a file I need to upload to my LC server > using the $_Files[uploadedfile][error] method > that requires the correct permissions to be > able to move and rename the file using: > > put URL ("binfile:" & tFilePath) into URL ("binfile:" & tNewFilePath) > > I get "can't open file (13)? which is a permissions error. What service are you specifying in the URL (HTTPS, FTPS, something else)? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From harrison at all-auctions.com Sat Apr 13 00:10:41 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 13 Apr 2019 00:10:41 -0400 Subject: LC Server permissions In-Reply-To: References: <363CF14B-7B97-4E4A-BDDB-2185BE8C2D30@all-auctions.com> Message-ID: Hi Richard, I am using https. Thanks, Rick > On Apr 12, 2019, at 8:26 PM, Richard Gaskin via use-livecode wrote: > > What service are you specifying in the URL (HTTPS, FTPS, something else)? From kee.nethery at elloco.com Sat Apr 13 00:53:32 2019 From: kee.nethery at elloco.com (kee nethery) Date: Fri, 12 Apr 2019 21:53:32 -0700 Subject: =?utf-8?Q?Re=3A_Upcoming_MacOS_14=2E5_with_software_=E2=80=9Cnota?= =?utf-8?Q?rization=E2=80=9D_requirements?= In-Reply-To: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> References: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> Message-ID: <1BC86FB7-4387-4408-929A-EC982E99BD40@elloco.com> My understanding from conversations with people who should know is that apps that have already been approved by you on your macOS computer and are logged in your computer?s gatekeeper system to be allowed to run, will continue to be allowed to run when you update your OS. New versions and new apps will need to be notarized. Kee Nethery > On Apr 9, 2019, at 7:27 PM, Tariel Gogoberidze via use-livecode wrote: > > Hi > > It seems that as of MacOS 14.5 all new and updated apps would not run without been ?notarized? by Apple. > > https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution > > https://www.cultofmac.com/618378/apple-will-soon-require-all-macos-apps-to-be-notarized/ > > Anybody on the list who ?notarized? their Mac OS app or who knows what it takes ? > > regards > Tariel > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Apr 13 11:24:23 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 13 Apr 2019 11:24:23 -0400 Subject: LC Server permissions In-Reply-To: References: <363CF14B-7B97-4E4A-BDDB-2185BE8C2D30@all-auctions.com> Message-ID: <37D960AF-5301-4FA5-86D7-F9A71BC5EE68@all-auctions.com> I find that giving the admin user read/write works, but I would like to be able to cut that back even further. Suggestions? Rick > On Apr 12, 2019, at 8:26 PM, Richard Gaskin via use-livecode wrote: > > Rick Harrison wrote: > > > I have a file I need to upload to my LC server > > using the $_Files[uploadedfile][error] method > > that requires the correct permissions to be > > able to move and rename the file using: > > > > put URL ("binfile:" & tFilePath) into URL ("binfile:" & tNewFilePath) > > > > I get "can't open file (13)? which is a permissions error. > > What service are you specifying in the URL (HTTPS, FTPS, something else)? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Apr 13 11:45:25 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 13 Apr 2019 11:45:25 -0400 Subject: LC Server permissions In-Reply-To: References: <363CF14B-7B97-4E4A-BDDB-2185BE8C2D30@all-auctions.com> Message-ID: <2843D4B7-C9DA-4A3E-804A-DFF02C8DC6A0@all-auctions.com> Sorry, I was being overly optimistic. The admin user is not good enough to work. Nuts! Rick > On Apr 12, 2019, at 8:26 PM, Richard Gaskin via use-livecode wrote: > > Rick Harrison wrote: > > > I have a file I need to upload to my LC server > > using the $_Files[uploadedfile][error] method > > that requires the correct permissions to be > > able to move and rename the file using: > > > > put URL ("binfile:" & tFilePath) into URL ("binfile:" & tNewFilePath) > > > > I get "can't open file (13)? which is a permissions error. > > What service are you specifying in the URL (HTTPS, FTPS, something else)? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Apr 13 13:01:41 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Apr 2019 10:01:41 -0700 Subject: LC Server permissions In-Reply-To: References: Message-ID: <07de2666-8f46-3de1-912a-2ebf120c8a73@fourthworld.com> Rick Harrison wrote: > On Apr 12, 2019, at 8:26 PM, Richard Gaskin wrote: >> >> What service are you specifying in the URL (HTTPS, FTPS, something >> else)? > > I am using https. What are you running on the server to handle the incoming data? And how are you managing authentication for the write? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From harrison at all-auctions.com Sat Apr 13 14:14:18 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 13 Apr 2019 14:14:18 -0400 Subject: LC Server permissions In-Reply-To: <07de2666-8f46-3de1-912a-2ebf120c8a73@fourthworld.com> References: <07de2666-8f46-3de1-912a-2ebf120c8a73@fourthworld.com> Message-ID: <8B3365BF-379B-49E7-ABE6-DC5D50A4ED0A@all-auctions.com> Hi Richard, I am running Postgresql to handle the incoming data. I have a user and a password set up for that. > On Apr 13, 2019, at 1:01 PM, Richard Gaskin via use-livecode wrote: > > Rick Harrison wrote: > > > On Apr 12, 2019, at 8:26 PM, Richard Gaskin wrote: > >> > >> What service are you specifying in the URL (HTTPS, FTPS, something > >> else)? > > > > I am using https. > > What are you running on the server to handle the incoming data? And how are you managing authentication for the write? > > -- > 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 Sat Apr 13 14:54:02 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Apr 2019 11:54:02 -0700 Subject: LC Server permissions In-Reply-To: <8B3365BF-379B-49E7-ABE6-DC5D50A4ED0A@all-auctions.com> References: <8B3365BF-379B-49E7-ABE6-DC5D50A4ED0A@all-auctions.com> Message-ID: <54cdc52c-064b-7496-6a78-e523c82e41f3@fourthworld.com> Rick Harrison wrote: > I am running Postgresql to handle the incoming data. I have a user > and a password set up for that. I don't understand. Your original post was: > I have a file I need to upload to my LC server > using the $_Files[uploadedfile][error] method > that requires the correct permissions to be > able to move and rename the file using: > > put URL ("binfile:" & tFilePath) into URL ("binfile:" & tNewFilePath) > > I get "can't open file (13)? which is a permissions error. Are you writing a file to disk, or submitting a DB transaction? Do you have postGres handling your HTTP, with nothing in the middle (PHP, Python, LC, etc)? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthlearningsolutions.org Sat Apr 13 14:53:59 2019 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Sat, 13 Apr 2019 11:53:59 -0700 Subject: LC Server permissions In-Reply-To: <8B3365BF-379B-49E7-ABE6-DC5D50A4ED0A@all-auctions.com> References: <07de2666-8f46-3de1-912a-2ebf120c8a73@fourthworld.com> <8B3365BF-379B-49E7-ABE6-DC5D50A4ED0A@all-auctions.com> Message-ID: Rick, It?s possible to get confused between the database password and the server password. What I do is use a commercial database manager, like Navicat or phpMyAdmin to set things up initially, and make sure I am using the correct passwords. Good luck, Bill William Prothero http://es.earthednet.org > On Apr 13, 2019, at 11:14 AM, Rick Harrison via use-livecode wrote: > > Hi Richard, > > I am running Postgresql to handle the incoming data. I have a user and a password set up for that. > >> On Apr 13, 2019, at 1:01 PM, Richard Gaskin via use-livecode wrote: >> >> Rick Harrison wrote: >> >>>> On Apr 12, 2019, at 8:26 PM, Richard Gaskin wrote: >>>> >>>> What service are you specifying in the URL (HTTPS, FTPS, something >>>> else)? >>> >>> I am using https. >> >> What are you running on the server to handle the incoming data? And how are you managing authentication for the write? >> >> -- >> 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 harrison at all-auctions.com Sat Apr 13 20:35:35 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 13 Apr 2019 20:35:35 -0400 Subject: LC Server permissions In-Reply-To: <54cdc52c-064b-7496-6a78-e523c82e41f3@fourthworld.com> References: <8B3365BF-379B-49E7-ABE6-DC5D50A4ED0A@all-auctions.com> <54cdc52c-064b-7496-6a78-e523c82e41f3@fourthworld.com> Message-ID: <43AD498F-7754-4450-A621-3A4955594D3A@all-auctions.com> Hi Richard, Sorry for the confusion. I use Postgresql just to store the names of the uploaded files, not the images themselves. The images just reside within a folder. LC is the middleware between Apache and Postgresql. I hope that helps. Rick > On Apr 13, 2019, at 2:54 PM, Richard Gaskin via use-livecode wrote: > > Rick Harrison wrote: > > I am running Postgresql to handle the incoming data. I have a user > > and a password set up for that. > > I don't understand. Your original post was: > > > I have a file I need to upload to my LC server > > using the $_Files[uploadedfile][error] method > > that requires the correct permissions to be > > able to move and rename the file using: > > > > put URL ("binfile:" & tFilePath) into URL ("binfile:" & tNewFilePath) > > > > I get "can't open file (13)? which is a permissions error. > > > Are you writing a file to disk, or submitting a DB transaction? Do you have postGres handling your HTTP, with nothing in the middle (PHP, Python, LC, etc)? > > > -- > 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 stephen at barncard.com Sun Apr 14 17:36:06 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sun, 14 Apr 2019 14:36:06 -0700 Subject: setting file created date in livecode from script Message-ID: Hi Gang, I thought file date change had been a part of livecode for years, but I can't find anything in the docs about setting the created or modified dates in files. I need to do this on the Mac desktop. Why? because several years ago $@$#$@#$@'ing dropbox, without my permission, started changing not only filenames but DATES in a huge swath of precious photos in a particularly dishonest way -- they wanted my free account to fill up quickly so I'd have to "upgrade". I know the EXIF tags still exist inside each file, but all the file dates had been changed to the date of copying. Dropbox has been increasingly piggish lately - not allowing more than 3 machines on the free account. It's a mess. This does not endear me to these greedy people. I have to write a custom handler to deal with this - there's no app that can do this - I don't think. perhaps there's something I can call from the shell - I'd be good with that. Anyone have an idea? Thanks in advance. sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From stephen at barncard.com Sun Apr 14 17:52:41 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sun, 14 Apr 2019 14:52:41 -0700 Subject: setting file created date in livecode from script In-Reply-To: References: Message-ID: answering my own question: TOUCH looks like what I want... gotta love BSD Unix... NAME touch -- change file access and modification times SYNOPSIS touch [-A [-][[hh]mm]SS] [-acfhm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]] file ... DESCRIPTION The touch utility sets the modification and access times of files. If any file does not exist, it is created with default permissions. By default, touch changes both modification and access times. The -a and -m flags may be used to select the access time or the modification time individually. Selecting both is equivalent to the default. By default, the timestamps are set to the current time. The -t flag explicitly spec- ifies a different time, and the -r flag specifies to set the times those of the specified file. The -A flag adjusts the values by a specified amount. ..... full definition can be had by typing MAN TOUCH I hope others can use this knowledge..sorry to raise the alarm. I'm off to write a handler, which I'll post later if anyone is interested Now I've got to find those EXIF routines, they're around somewhere.... thanks , self this is the kind of stuff that LC is so good for... -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sun, Apr 14, 2019 at 2:36 PM Stephen Barncard wrote: > Hi Gang, > > I thought file date change had been a part of livecode for years, but I > can't find anything in the docs about setting the created or modified dates > in files. > I need to do this on the Mac desktop. > > Why? because several years ago $@$#$@#$@'ing dropbox, without my > permission, started changing not only filenames but DATES in a huge swath > of precious photos in a particularly dishonest way -- they wanted my free > account to fill up quickly so I'd have to "upgrade". > I know the EXIF tags still exist inside each file, but all the file dates > had been changed to the date of copying. > Dropbox has been increasingly piggish lately - not allowing more than 3 > machines on the free account. > It's a mess. This does not endear me to these greedy people. > > I have to write a custom handler to deal with this - there's no app that > can do this - I don't think. > > perhaps there's something I can call from the shell - I'd be good with > that. > > Anyone have an idea? Thanks in advance. > > sqb > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > From alex at tweedly.net Sun Apr 14 19:59:07 2019 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 15 Apr 2019 00:59:07 +0100 Subject: setting file created date in livecode from script In-Reply-To: References: Message-ID: <520ea735-30c8-64c3-9698-07c88843cc03@tweedly.net> On 14/04/2019 22:36, Stephen Barncard via use-livecode wrote: > I have to write a custom handler to deal with this - there's no app that > can do this - I don't think. I know you found the way to write the custom handler, using 'shell + touch'. But if you want to just use an existing app, exiftool can do this ... |exiftool -r '-DateTimeOriginal>FileModifyDate' directoryname| -- Alex. From ambassador at fourthworld.com Mon Apr 15 01:01:38 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 14 Apr 2019 22:01:38 -0700 Subject: setting file created date in livecode from script In-Reply-To: References: Message-ID: <16709979-db01-1b62-020b-834d1c5d816f@fourthworld.com> Stephen Barncard wrote: > Why? because several years ago $@$#$@#$@'ing dropbox, without my > permission, started changing not only filenames but DATES in a huge > swath of precious photos in a particularly dishonest way -- they > wanted my free account to fill up quickly so I'd have to "upgrade". > I know the EXIF tags still exist inside each file, but all the file > dates had been changed to the date of copying. > Dropbox has been increasingly piggish lately - not allowing more than > 3 machines on the free account. > It's a mess. This does not endear me to these greedy people. 1. How does changing the date affect their space quota? 2. Dropbox policies have become too FUBAR for me to spend time with anymore. For example, I have no files in my account, and recently got a notice saying I was out of disk space and needed to pay them for an upgrade. That shouldn't be possible. But it turns out they count files shared with you against both the account where the file originates and yours tool - even though the file exists in only one location. #doubledip 3. This means a really hack to annoy people: just put a really big file in your account and share it with anyone you don't like. Since it'll count against their quota, you've just prevented them from being able to add anything else to their account. #insane 4. You can liberate yourself: https://nextcloud.com/ I met the project founder, Frank Karlitschek, when we had him speak at UbuCon in Pasadena a few years ago. Great guy, great team, all super passionate about free and open source software, and leaving the user in control of their cloud services. More than just file sharing with one of the best sync mechanisms I've ever seen, it also includes many dozens of add-on apps for everything from team management to music streaming to video chat and more. I have a dedicated Nextcloud server in my office for myself, and another on a VPS I use with clients and vendors. With native sync clients for Mac, Windows, and Linux (and iOS, and Android too), my LiveCode Plugins folder is kept current no matter which machine I happen to be working at. And with its convenient versioning, if I mess up and want to revert one of my plugins to yesterday's it's a breeze. Runs on any standard LAMP/WAMP/MAMP server. And if you're using it on Ubuntu 18.04 you can install it one line using the new Snap packager. And you remain in control of everything. Nope, not in any way affiliate with Nextcloud. Just a very happy user. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephen at barncard.com Mon Apr 15 01:15:34 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sun, 14 Apr 2019 22:15:34 -0700 Subject: setting file created date in livecode from script In-Reply-To: <16709979-db01-1b62-020b-834d1c5d816f@fourthworld.com> References: <16709979-db01-1b62-020b-834d1c5d816f@fourthworld.com> Message-ID: "1. How does changing the date affect their space quota?" The unwanted photo file uploads affected MY space quota on the free account, they fill it up, and then they tell you you are near the 'limit' and must buy more space. When I got my files back, they were altered. It's just dishonest and disingenuous. of course I'm looking for something else but I'd rather not be doing time consuming configuring. I have better things to do. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sun, Apr 14, 2019 at 10:02 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Stephen Barncard wrote: > > > Why? because several years ago $@$#$@#$@'ing dropbox, without my > > permission, started changing not only filenames but DATES in a huge > > swath of precious photos in a particularly dishonest way -- they > > wanted my free account to fill up quickly so I'd have to "upgrade". > > I know the EXIF tags still exist inside each file, but all the file > > dates had been changed to the date of copying. > > Dropbox has been increasingly piggish lately - not allowing more than > > 3 machines on the free account. > > It's a mess. This does not endear me to these greedy people. > > > 1. How does changing the date affect their space quota? > > > 2. Dropbox policies have become too FUBAR for me to spend time with > anymore. For example, I have no files in my account, and recently got a > notice saying I was out of disk space and needed to pay them for an > upgrade. That shouldn't be possible. But it turns out they count files > shared with you against both the account where the file originates and > yours tool - even though the file exists in only one location. #doubledip > > > 3. This means a really hack to annoy people: just put a really big file > in your account and share it with anyone you don't like. Since it'll > count against their quota, you've just prevented them from being able to > add anything else to their account. #insane > > > 4. You can liberate yourself: https://nextcloud.com/ > > I met the project founder, Frank Karlitschek, when we had him speak at > UbuCon in Pasadena a few years ago. Great guy, great team, all super > passionate about free and open source software, and leaving the user in > control of their cloud services. > > More than just file sharing with one of the best sync mechanisms I've > ever seen, it also includes many dozens of add-on apps for everything > from team management to music streaming to video chat and more. > > I have a dedicated Nextcloud server in my office for myself, and another > on a VPS I use with clients and vendors. With native sync clients for > Mac, Windows, and Linux (and iOS, and Android too), my LiveCode Plugins > folder is kept current no matter which machine I happen to be working > at. And with its convenient versioning, if I mess up and want to revert > one of my plugins to yesterday's it's a breeze. > > Runs on any standard LAMP/WAMP/MAMP server. And if you're using it on > Ubuntu 18.04 you can install it one line using the new Snap packager. > > And you remain in control of everything. > > Nope, not in any way affiliate with Nextcloud. Just a very happy user. > > -- > 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 stephen at barncard.com Mon Apr 15 01:18:03 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sun, 14 Apr 2019 22:18:03 -0700 Subject: setting file created date in livecode from script In-Reply-To: References: <16709979-db01-1b62-020b-834d1c5d816f@fourthworld.com> Message-ID: the altering was the filename change - some kind of unique number, and the created dates were changed as well - for no reason. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sun, Apr 14, 2019 at 10:15 PM Stephen Barncard wrote: > "1. How does changing the date affect their space quota?" > The unwanted photo file uploads affected MY space quota on the free > account, they fill it up, and then they tell you you are near the 'limit' > and must buy more space. > When I got my files back, they were altered. It's just dishonest and > disingenuous. > > of course I'm looking for something else but I'd rather not be doing time > consuming configuring. I have better things to do. > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > > On Sun, Apr 14, 2019 at 10:02 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Stephen Barncard wrote: >> >> > Why? because several years ago $@$#$@#$@'ing dropbox, without my >> > permission, started changing not only filenames but DATES in a huge >> > swath of precious photos in a particularly dishonest way -- they >> > wanted my free account to fill up quickly so I'd have to "upgrade". >> > I know the EXIF tags still exist inside each file, but all the file >> > dates had been changed to the date of copying. >> > Dropbox has been increasingly piggish lately - not allowing more than >> > 3 machines on the free account. >> > It's a mess. This does not endear me to these greedy people. >> >> >> 1. How does changing the date affect their space quota? >> >> >> 2. Dropbox policies have become too FUBAR for me to spend time with >> anymore. For example, I have no files in my account, and recently got a >> notice saying I was out of disk space and needed to pay them for an >> upgrade. That shouldn't be possible. But it turns out they count files >> shared with you against both the account where the file originates and >> yours tool - even though the file exists in only one location. #doubledip >> >> >> 3. This means a really hack to annoy people: just put a really big file >> in your account and share it with anyone you don't like. Since it'll >> count against their quota, you've just prevented them from being able to >> add anything else to their account. #insane >> >> >> 4. You can liberate yourself: https://nextcloud.com/ >> >> I met the project founder, Frank Karlitschek, when we had him speak at >> UbuCon in Pasadena a few years ago. Great guy, great team, all super >> passionate about free and open source software, and leaving the user in >> control of their cloud services. >> >> More than just file sharing with one of the best sync mechanisms I've >> ever seen, it also includes many dozens of add-on apps for everything >> from team management to music streaming to video chat and more. >> >> I have a dedicated Nextcloud server in my office for myself, and another >> on a VPS I use with clients and vendors. With native sync clients for >> Mac, Windows, and Linux (and iOS, and Android too), my LiveCode Plugins >> folder is kept current no matter which machine I happen to be working >> at. And with its convenient versioning, if I mess up and want to revert >> one of my plugins to yesterday's it's a breeze. >> >> Runs on any standard LAMP/WAMP/MAMP server. And if you're using it on >> Ubuntu 18.04 you can install it one line using the new Snap packager. >> >> And you remain in control of everything. >> >> Nope, not in any way affiliate with Nextcloud. Just a very happy user. >> >> -- >> 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 stephen at barncard.com Mon Apr 15 01:19:44 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sun, 14 Apr 2019 22:19:44 -0700 Subject: setting file created date in livecode from script In-Reply-To: References: <16709979-db01-1b62-020b-834d1c5d816f@fourthworld.com> Message-ID: Thanks Richard, I'll check out your suggestion. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sun, Apr 14, 2019 at 10:18 PM Stephen Barncard wrote: > the altering was the filename change - some kind of unique number, and > the created dates were changed as well - for no reason. > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > > On Sun, Apr 14, 2019 at 10:15 PM Stephen Barncard > wrote: > >> "1. How does changing the date affect their space quota?" >> The unwanted photo file uploads affected MY space quota on the free >> account, they fill it up, and then they tell you you are near the 'limit' >> and must buy more space. >> When I got my files back, they were altered. It's just dishonest and >> disingenuous. >> >> of course I'm looking for something else but I'd rather not be doing time >> consuming configuring. I have better things to do. >> -- >> Stephen Barncard - Sebastopol Ca. USA - >> mixstream.org >> >> >> On Sun, Apr 14, 2019 at 10:02 PM Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Stephen Barncard wrote: >>> >>> > Why? because several years ago $@$#$@#$@'ing dropbox, without my >>> > permission, started changing not only filenames but DATES in a huge >>> > swath of precious photos in a particularly dishonest way -- they >>> > wanted my free account to fill up quickly so I'd have to "upgrade". >>> > I know the EXIF tags still exist inside each file, but all the file >>> > dates had been changed to the date of copying. >>> > Dropbox has been increasingly piggish lately - not allowing more than >>> > 3 machines on the free account. >>> > It's a mess. This does not endear me to these greedy people. >>> >>> >>> 1. How does changing the date affect their space quota? >>> >>> >>> 2. Dropbox policies have become too FUBAR for me to spend time with >>> anymore. For example, I have no files in my account, and recently got a >>> notice saying I was out of disk space and needed to pay them for an >>> upgrade. That shouldn't be possible. But it turns out they count files >>> shared with you against both the account where the file originates and >>> yours tool - even though the file exists in only one location. #doubledip >>> >>> >>> 3. This means a really hack to annoy people: just put a really big file >>> in your account and share it with anyone you don't like. Since it'll >>> count against their quota, you've just prevented them from being able to >>> add anything else to their account. #insane >>> >>> >>> 4. You can liberate yourself: https://nextcloud.com/ >>> >>> I met the project founder, Frank Karlitschek, when we had him speak at >>> UbuCon in Pasadena a few years ago. Great guy, great team, all super >>> passionate about free and open source software, and leaving the user in >>> control of their cloud services. >>> >>> More than just file sharing with one of the best sync mechanisms I've >>> ever seen, it also includes many dozens of add-on apps for everything >>> from team management to music streaming to video chat and more. >>> >>> I have a dedicated Nextcloud server in my office for myself, and another >>> on a VPS I use with clients and vendors. With native sync clients for >>> Mac, Windows, and Linux (and iOS, and Android too), my LiveCode Plugins >>> folder is kept current no matter which machine I happen to be working >>> at. And with its convenient versioning, if I mess up and want to revert >>> one of my plugins to yesterday's it's a breeze. >>> >>> Runs on any standard LAMP/WAMP/MAMP server. And if you're using it on >>> Ubuntu 18.04 you can install it one line using the new Snap packager. >>> >>> And you remain in control of everything. >>> >>> Nope, not in any way affiliate with Nextcloud. Just a very happy user. >>> >>> -- >>> 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 james at thehales.id.au Mon Apr 15 06:13:23 2019 From: james at thehales.id.au (James At The Hale) Date: Mon, 15 Apr 2019 20:13:23 +1000 Subject: setting file created date in livecode from script Message-ID: <8A8350AC-D3F2-4627-A2BD-017CE095FB1D@thehales.id.au> If you are looking for an existing app the folks at publicspace have what I think you need.... http://www.publicspace.net/ABetterFinderAttributes/index.html Although I haven?t had a need for this particular app I have used a companion app (A BetterFinder Renamer) for years and it has worked flawlessly saving me hours of time. James From thatkeith at mac.com Mon Apr 15 06:24:05 2019 From: thatkeith at mac.com (Keith Martin) Date: Mon, 15 Apr 2019 11:24:05 +0100 Subject: setting file created date in livecode from script In-Reply-To: References: Message-ID: Hi Stephen, I made a little tool (in LiveCode, natch) for doing this using touch. It's here: http://panoramaphotographer.com/software/likeaversion/index.html and there's a link near the bottom of the page to download the LiveCode stack. k On 14 Apr 2019, at 22:52, Stephen Barncard via use-livecode wrote: > answering my own question: TOUCH > looks like what I want... gotta love BSD Unix... > > NAME > > touch -- change file access and modification times > > > SYNOPSIS > > touch [-A [-][[hh]mm]SS] [-acfhm] [-r file] [-t > [[CC]YY]MMDDhhmm[.SS]] > > file ... > > > DESCRIPTION > > The touch utility sets the modification and access times of > files. If > > any file does not exist, it is created with default permissions. > > > By default, touch changes both modification and access times. > The -a > and > > -m flags may be used to select the access time or the > modification time > > individually. Selecting both is equivalent to the default. By > default, > > the timestamps are set to the current time. The -t flag > explicitly > spec- > > ifies a different time, and the -r flag specifies to set the > times > those > > of the specified file. The -A flag adjusts the values by a > specified > > amount. > ..... > > full definition can be had by typing MAN TOUCH > > > > > I hope others can use this knowledge..sorry to raise the alarm. > > > I'm off to write a handler, which I'll post later if anyone is > interested > > > Now I've got to find those EXIF routines, they're around somewhere.... > > > thanks , self > > > this is the kind of stuff that LC is so good for... > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > > On Sun, Apr 14, 2019 at 2:36 PM Stephen Barncard > > wrote: > >> Hi Gang, >> >> I thought file date change had been a part of livecode for years, but >> I >> can't find anything in the docs about setting the created or modified >> dates >> in files. >> I need to do this on the Mac desktop. >> >> Why? because several years ago $@$#$@#$@'ing dropbox, without my >> permission, started changing not only filenames but DATES in a huge >> swath >> of precious photos in a particularly dishonest way -- they wanted my >> free >> account to fill up quickly so I'd have to "upgrade". >> I know the EXIF tags still exist inside each file, but all the file >> dates >> had been changed to the date of copying. >> Dropbox has been increasingly piggish lately - not allowing more than >> 3 >> machines on the free account. >> It's a mess. This does not endear me to these greedy people. >> >> I have to write a custom handler to deal with this - there's no app >> that >> can do this - I don't think. >> >> perhaps there's something I can call from the shell - I'd be good >> with >> that. >> >> Anyone have an idea? Thanks in advance. >> >> sqb >> -- >> 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 Mon Apr 15 11:35:55 2019 From: stephen at barncard.com (Stephen Barncard) Date: Mon, 15 Apr 2019 08:35:55 -0700 Subject: setting file created date in livecode from script In-Reply-To: <8A8350AC-D3F2-4627-A2BD-017CE095FB1D@thehales.id.au> References: <8A8350AC-D3F2-4627-A2BD-017CE095FB1D@thehales.id.au> Message-ID: Thank you James - I have licensed all the 'Better' Apps for over 10 years but I didn't think they were capable of 1. Reading the EXIF date 2. AND setting the Created Date and time of the file with formatted information gained from the EXIF info 3. AND renaming the filename of that file with formatted information gained from the EXIF info *in one operation* please tell me if I'm wrong - perhaps this could be done in multiple steps with BETTERs... I'm trying to set up my photo archive in a way that keeps all the images in hierarchal folders of Year and month -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Mon, Apr 15, 2019 at 3:14 AM James At The Hale via use-livecode < use-livecode at lists.runrev.com> wrote: > If you are looking for an existing app the folks at publicspace have what > I think you need.... > http://www.publicspace.net/ABetterFinderAttributes/index.html > > Although I haven?t had a need for this particular app I have used a > companion app (A BetterFinder Renamer) for years and it has worked > flawlessly saving me hours of time. > > James > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From theaford at btinternet.com Mon Apr 15 11:48:34 2019 From: theaford at btinternet.com (Terence Heaford) Date: Mon, 15 Apr 2019 16:48:34 +0100 Subject: AutoUpdater Message-ID: Why does LiveCode?s AutoUpdater run even though it is turned off in preferences? Thanks Terry From bobsneidar at iotecdigital.com Mon Apr 15 12:45:44 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 15 Apr 2019 16:45:44 +0000 Subject: setting file created date in livecode from script In-Reply-To: <16709979-db01-1b62-020b-834d1c5d816f@fourthworld.com> References: <16709979-db01-1b62-020b-834d1c5d816f@fourthworld.com> Message-ID: And as always my disclaimer for NextCloud: Once you begin syncing your local files to a NextCloud server, the server BECOMES THE MASTER! Unsyncing a particular subfolder in the future has the particularly henious effect of DELETING YOUR LOCAL FOLDER! Turning sync back on for that folder will restore it (assuming you have not burned the NextCloud device in a holy ritual as the invention of hellish forces beyond your control, before doing so.) Many complaints about it, some workarounds which involve editing some config file or other in an SSL terminal session, which by the way is turned off by default and you have to go find out how to turn it on, which as I recall means installing some new modules or other. That being said, as long as you are aware of these limitations and plan which specific folders you want to backup beforehand, (and by the way don't have any large files like VM's that change regularly in any of those folders because it takes an inordinate of time to do so) you should be fine. Bob S > On Apr 14, 2019, at 22:01 , Richard Gaskin via use-livecode wrote: > > 4. You can liberate yourself: https://nextcloud.com/ > > I met the project founder, Frank Karlitschek, when we had him speak at UbuCon in Pasadena a few years ago. Great guy, great team, all super passionate about free and open source software, and leaving the user in control of their cloud services. > > More than just file sharing with one of the best sync mechanisms I've ever seen, it also includes many dozens of add-on apps for everything from team management to music streaming to video chat and more. From bobsneidar at iotecdigital.com Mon Apr 15 12:52:03 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 15 Apr 2019 16:52:03 +0000 Subject: =?utf-8?B?UmU6IFVwY29taW5nIE1hY09TIDE0LjUgd2l0aCBzb2Z0d2FyZSDigJxub3Rh?= =?utf-8?B?cml6YXRpb27igJ0gcmVxdWlyZW1lbnRz?= In-Reply-To: <1BC86FB7-4387-4408-929A-EC982E99BD40@elloco.com> References: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> <1BC86FB7-4387-4408-929A-EC982E99BD40@elloco.com> Message-ID: My opinion, unasked for as it is, this is just another bullet in the foot of Apple, and they don't have many toes left. Bob S > On Apr 12, 2019, at 21:53 , kee nethery via use-livecode wrote: > > My understanding from conversations with people who should know is that apps that have already been approved by you on your macOS computer and are logged in your computer?s gatekeeper system to be allowed to run, will continue to be allowed to run when you update your OS. New versions and new apps will need to be notarized. > > Kee Nethery From bobsneidar at iotecdigital.com Mon Apr 15 12:54:32 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 15 Apr 2019 16:54:32 +0000 Subject: Best strategy for dragging objects in an out of groups? In-Reply-To: <999CC5ED-B1B4-437D-856E-1713A4B4AA80@dsa-net.dk> References: <999CC5ED-B1B4-437D-856E-1713A4B4AA80@dsa-net.dk> Message-ID: <64DAAE38-72AA-4CC1-89E7-56C0C253B0D3@iotecdigital.com> Navigator by Geoff Canyon is working fairly well for me. Bob S > On Apr 11, 2019, at 12:55 , Michael Kristensen via use-livecode wrote: > > Hi there > > What would be the best strategy for dragging objects in and out of groups? > > If anyone has a stack that demonstrate that it would be nice > > else > > just explain in plain words what you think is the best strategy. > > > Thanks > Michael > > PS While I write this Im thinking that maybe RELAYER in a mouseMove handler could be used. From bobsneidar at iotecdigital.com Mon Apr 15 12:58:29 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 15 Apr 2019 16:58:29 +0000 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: Message-ID: <05A22B54-16ED-4CF6-ADDD-2541F7E8A1B0@iotecdigital.com> Why? I already have that for Mac via Applescript and Javascript. You can also populate a .fdf file if it's properly formatted, and the PDF is configured to access it upon opening. Also there is the qrtPDFLib. Bob S > On Apr 9, 2019, at 09:00 , Robert J. Earp via use-livecode wrote: > > RogerG and I are currently mousing around creating a LC tool to output a fields content to .pdf It?s looking promising and we?ll let you know of our success or not !! > > best, Bob? > > Bob Earp - White Rock, BC From richmondmathewson at gmail.com Mon Apr 15 13:35:33 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 15 Apr 2019 20:35:33 +0300 Subject: =?UTF-8?Q?Re=3a_Upcoming_MacOS_14=2e5_with_software_=e2=80=9cnotari?= =?UTF-8?Q?zation=e2=80=9d_requirements?= In-Reply-To: References: <2BD2D29D-E6D1-45E7-AC47-B6DA6004C806@mac.com> <1BC86FB7-4387-4408-929A-EC982E99BD40@elloco.com> Message-ID: The frightening thing about this is that Microsoft produce a fairly shoddy product, and as Linux has signally failed to displace Microsoft from world dominator, it will become ever worse and shoddier without any healthy competition. Richmond. On 15.04.19 19:52, Bob Sneidar via use-livecode wrote: > My opinion, unasked for as it is, this is just another bullet in the foot of Apple, and they don't have many toes left. > > Bob S > > >> On Apr 12, 2019, at 21:53 , kee nethery via use-livecode wrote: >> >> My understanding from conversations with people who should know is that apps that have already been approved by you on your macOS computer and are logged in your computer?s gatekeeper system to be allowed to run, will continue to be allowed to run when you update your OS. New versions and new apps will need to be notarized. >> >> Kee Nethery > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Apr 15 14:00:35 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Apr 2019 11:00:35 -0700 Subject: =?UTF-8?Q?Re=3a_Re=3a_Upcoming_MacOS_14=2e5_with_software_=e2=80=9c?= =?UTF-8?Q?notarization=e2=80=9d_requirements?= In-Reply-To: References: Message-ID: <78739078-8ecd-713d-5288-e3a0d4693da8@fourthworld.com> Richmond wrote: > The frightening thing about this is that Microsoft produce a fairly > shoddy product, and as Linux has signally failed to displace > Microsoft from world dominator, it will become ever worse and > shoddier without any healthy competition. If we limit our view of computing to desktop OSes, that's definitely true. Microsoft had a 92% market share before more than a dozen jurisdictions around the world found them guilty of multiple antitrust violations. Now after all these years of legal "remedies" from those trials, Windows still has an 86% share. This may be a cautionary tale as we look ahead at new laws being considered to protect people from the de facto monopolies of the Information Industrial Complex, the big five that control nearly everything in the infosphere: Facebook, Twitter, Google, Apple, and Amazon. While we wait for laws to catch up to modern business, and reflect on the self-evident inadequacy of existing antitrust laws, let's step outside the desktop to look at the scope of modern computing today: Phones w/Android Linux: 82% Tablets w/Android Linux: 73% Embedded systems w/Linux: ~80+% Servers w/Linux: ~60+% Top 500 supercomputers w/Linux: 99% On the desktop, both Linux and Apple are niche players in a Microsoft-dominated world. But beyond the desktop, Linux has become the de facto standard of modern computing. If nothing else, being a developer in the 21st century increasingly means building client-server systems. Familiarity with Linux is a valuable skillset that enables cloud services for your client software regardless which OSes those clients run on. There's a reason Apple had a booth at the SoCal Linux Expo: hiring. They sell Macs snd iPhones to access data and services run on Linux server farms. And the most popular OS on Microsoft Azure? Ubuntu, of course. -- 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 Mon Apr 15 14:10:10 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Apr 2019 13:10:10 -0500 Subject: Encrypted standalones Message-ID: Is there a reason we can't encrypt the main stack in standalone settings when building for mobile? I can set set a password if I uncheck the mobile app options, set the password, then re-enable mobile builds, and the password remains. I'm not sure if it is actually used though when building for mobile. Anyone know? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Apr 15 14:15:18 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Apr 2019 11:15:18 -0700 Subject: setting file created date in livecode from script In-Reply-To: References: Message-ID: <1752d2a2-80bd-b0f4-eb63-c35fe0266ccd@fourthworld.com> Bob Sneidar wrote: > And as always my disclaimer for NextCloud: Once you begin syncing your > local files to a NextCloud server, the server BECOMES THE MASTER! > Unsyncing a particular subfolder in the future has the particularly > henious effect of DELETING YOUR LOCAL FOLDER! Turning sync back on for > that folder will restore it (assuming you have not burned the > NextCloud device in a holy ritual as the invention of hellish forces > beyond your control, before doing so.) Recent versions provide more explicit guidance on that: https://help.nextcloud.com/t/unchecked-folders-will-be-removed-from-your-file-system/12335/9 While it's true with Nextcloud, it's really a generic challenge any folder sync program will face if they provide folder-level control over what gets synced. The discussion linked to above explores that in detail. Some folder sharing services shrug their shoulders on this by just not allowing you any control over sub-folders at all. You're required to share one folder, and everything within it is always synced, and you can't choose to do anything else -- no one can be confused by a feature that doesn't exist. :) Nextcloud is among the few offering fine-grained control over which folders get synced and which ones don't. But as with the rest of life, with great power comes great responsibility. Helpful to read the manual on things involving deletes before committing. And for busy people recent versions provide guidance on that when the checkbox is unchecked, so you don't even need to RTFM. And with any backup metyhods -- Nextcloud, commercial cloud services, Time Machine, local rsync to a portable drive, any of them -- never rely on just one. Each has its own strengths and weaknesses, and ideally you want your data not only redundantly backed up, but backed up using systems of different *types*. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephen at barncard.com Mon Apr 15 15:16:47 2019 From: stephen at barncard.com (Stephen Barncard) Date: Mon, 15 Apr 2019 12:16:47 -0700 Subject: setting file created date in livecode from script In-Reply-To: <8A8350AC-D3F2-4627-A2BD-017CE095FB1D@thehales.id.au> References: <8A8350AC-D3F2-4627-A2BD-017CE095FB1D@thehales.id.au> Message-ID: Thank you James, Richard, Alex, and Bob for your replies. As it turns out, James' suggestion was a good one and version 6 of "A Better Finder Rename" does indeed to appear to do what I want. In connection with Public Space's companion folder utility, I can do it all without writing a line of code. It would have been a nice exercise in Livecode programming but I need to use my time towards the other things I need to do... Comparing what I charge for my time VS the hours the Public Space person put into his code.... the fees are miniscule.. sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Mon, Apr 15, 2019 at 3:14 AM James At The Hale via use-livecode < use-livecode at lists.runrev.com> wrote: > If you are looking for an existing app the folks at publicspace have what > I think you need.... > http://www.publicspace.net/ABetterFinderAttributes/index.html > > Although I haven?t had a need for this particular app I have used a > companion app (A BetterFinder Renamer) for years and it has worked > flawlessly saving me hours of time. > > James > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 15 15:48:11 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Apr 2019 14:48:11 -0500 Subject: Encrypted standalones In-Reply-To: References: Message-ID: I take that back. If I turn Android builds back on, close Standalone Settings, and re-open it, the password is gone. So, we can't protect Android mainstacks? Android apps can be distributed through private web sites, and without any encryption they would be easier to hack. I understand that I can set the password manually, but it's much easier not to worry about it during development and still be assurred it will be set on a build. If there's a reason we can't do that, okay. If there isn't a reason, I'll put in a request for it. On 4/15/19 1:10 PM, J. Landman Gay via use-livecode wrote: > Is there a reason we can't encrypt the main stack in standalone settings > when building for mobile? > > I can set set a password if I uncheck the mobile app options, set the > password, then re-enable mobile builds, and the password remains. I'm > not sure if it is actually used though when building for mobile. Anyone > know? > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Apr 15 16:17:09 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Apr 2019 13:17:09 -0700 Subject: Encrypted standalones In-Reply-To: References: Message-ID: <8a767a34-ce19-d42c-e792-168dc82aec41@fourthworld.com> J. Landman Gay wrote: > I take that back. If I turn Android builds back on, close Standalone > Settings, and re-open it, the password is gone. So, we can't protect > Android mainstacks? > > Android apps can be distributed through private web sites, and without > any encryption they would be easier to hack. I understand that I can > set the password manually, but it's much easier not to worry about it > during development and still be assurred it will be set on a build. > > If there's a reason we can't do that, okay. If there isn't a reason, > I'll put in a request for it. It may be that the password isn't being set, or it may be a UI bug in which the password is set but just isn't being displayed. You can determine which is the case with a quick test build that does something like: answer line 10 of the script of this stack If the standalone can get the script, it's not encrypted it. If it complains, you're fine and it's just a UI bug. Either way, once the nature of the problem is determined a bug report would be helpful. It may be that some of the recent work on the Standalone Builder caused this regression, and reporting it while it's fresh in the team member's head will likely yield a quick fix. -- 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 curry at pair.com Tue Apr 16 03:03:24 2019 From: curry at pair.com (Curry Kenworthy) Date: Tue, 16 Apr 2019 03:03:24 -0400 Subject: =?UTF-8?Q?Re=3a_Upcoming_MacOS_14=2e5_with_software_=e2=80=9cnotari?= =?UTF-8?Q?zation=e2=80=9d_requirements?= In-Reply-To: References: Message-ID: <0576a34c-2721-bbe6-d4c0-ec1bdeef3eb7@pair.com> Richmond: > The frightening thing about this is that Microsoft produce a > fairly shoddy product, and as Linux has signally failed to > displace Microsoft from world dominator, it will become > ever worse and shoddier without any healthy competition. So the only scary thing about Apple doing something potentially problematic is merely that it might make someone with shaky faith consider Microsoft? That seems to overlook the tiny step of considering the potentially problematic thing itself! The Apple evangelism "cult" included memes using blackhat PR tricks and cognitive hacks. It's too fun to resist - go ahead and try the shoe on the other foot for once: "Ah, having trouble with your Mac again? Yeah, that's what I love about Windows - everything just works!" :D Which is very often true in either direction, depending on the particular trouble being experienced. In reality each OS has its annoyances. Personally I have no dog in the race - I started with Mac-first dev because of their excellent HIG research and principles which they would later abandon. Then switched to Win-first dev when Apple fled that previous research for a more "lickable" look, causing Windows UI to became more efficient and user-friendly for my own computing. If Apple were to embrace consistent scientific HIG again and let up a bit on the obsessive control, hard-on-the-eye schemes, and planned obsolescence, I'd be tempted to go back to Mac-first. I use both Operating Systems and find an equal amount of enjoyment in providing solutions for both! BTW, I've already seen an LC app undergo notarization successfully, so not to worry; there will be a system in place for this particular hurdle just as with everything else. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From richmondmathewson at gmail.com Tue Apr 16 04:43:04 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 16 Apr 2019 11:43:04 +0300 Subject: =?UTF-8?Q?Re=3a_Upcoming_MacOS_14=2e5_with_software_=e2=80=9cnotari?= =?UTF-8?Q?zation=e2=80=9d_requirements?= In-Reply-To: <0576a34c-2721-bbe6-d4c0-ec1bdeef3eb7@pair.com> References: <0576a34c-2721-bbe6-d4c0-ec1bdeef3eb7@pair.com> Message-ID: <32d74b4e-30c7-9f0c-9f61-411706801e7a@gmail.com> "consistent scientific HIG again" . . . "scientific" . . . is not a word I would use about galloping subjectivity. "a bit on the obsessive control, hard-on-the-eye schemes, and planned obsolescence" Yes, these are disgusting. Not convinced about "hard-on-the-eye schemes" as they seem to be all over the place. I have a 20 year old Pentium running Xubuntu Linux 18.04 merrily chuntering away in my school. That machine could not cope with Windows XP, and, needless-to-say, it is a non-Macintosh machine. So, as far as planned obsolescence goes I honestly don't see much difference between Apple and Microsoft there beyond the fact that Apple have tied their OS to their machines which means they really have got your arm round your back if you want their OS. My remarks as to Windows being shoddy was in respect of its vulnerability to attack and viruses. What i fail to understand is why there has not been a greater adoption of desktop versions of Linux, as most Linux versions offer 32-bit versions, PPC versions and all sorts of possibilities that probably go beyond most people's conception of obsolescence. Richmond. On 16.04.19 10:03, Curry Kenworthy via use-livecode wrote: > > Richmond: > > > The frightening thing about this is that Microsoft produce a > > fairly shoddy product, and as Linux has signally failed to > > displace Microsoft from world dominator, it will become > > ever worse and shoddier without any healthy competition. > > So the only scary thing about Apple doing something potentially > problematic is merely that it might make someone with shaky faith > consider Microsoft? That seems to overlook the tiny step of > considering the potentially problematic thing itself! > > The Apple evangelism "cult" included memes using blackhat PR tricks > and cognitive hacks. It's too fun to resist - go ahead and try the > shoe on the other foot for once: > > "Ah, having trouble with your Mac again? Yeah, that's what I love > about Windows - everything just works!" :D > > Which is very often true in either direction, depending on the > particular trouble being experienced. In reality each OS has its > annoyances. Personally I have no dog in the race - I started with > Mac-first dev because of their excellent HIG research and principles > which they would later abandon. Then switched to Win-first dev when > Apple fled that previous research for a more "lickable" look, causing > Windows UI to became more efficient and user-friendly for my own > computing. > > If Apple were to embrace consistent scientific HIG again and let up a > bit on the obsessive control, hard-on-the-eye schemes, and planned > obsolescence, I'd be tempted to go back to Mac-first. I use both > Operating Systems and find an equal amount of enjoyment in providing > solutions for both! > > BTW, I've already seen an LC app undergo notarization successfully, so > not to worry; there will be a system in place for this particular > hurdle just as with everything else. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Tue Apr 16 10:52:47 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 16 Apr 2019 10:52:47 -0400 Subject: Browser HTML Source & URLs In-Reply-To: <32d74b4e-30c7-9f0c-9f61-411706801e7a@gmail.com> References: <0576a34c-2721-bbe6-d4c0-ec1bdeef3eb7@pair.com> <32d74b4e-30c7-9f0c-9f61-411706801e7a@gmail.com> Message-ID: <7F531E93-A3DF-4E62-9FFB-52E2F793281E@all-auctions.com> I am able to load the browser widget with a URL and go to the URL successfully. I can get the HTMLtext of the page I have browsed to just fine. What I have yet to do is to get the page source code of the page I have browsed to in LiveCode into a field. I also would like the browser widget to show me any new URL address that I have gone to. Suggestions? Thanks, Rick From bobsneidar at iotecdigital.com Tue Apr 16 11:18:56 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 16 Apr 2019 15:18:56 +0000 Subject: =?Windows-1252?Q?Re:_Upcoming_MacOS_14.5_with_software_=93notarization=94?= =?Windows-1252?Q?_requirements?= In-Reply-To: <0576a34c-2721-bbe6-d4c0-ec1bdeef3eb7@pair.com> References: <0576a34c-2721-bbe6-d4c0-ec1bdeef3eb7@pair.com> Message-ID: <1D3CB141-C9A2-4B73-B77F-113BC83F4272@iotecdigital.com> I agree with most of what you said, but I've been getting alerts recently that certain apps are not optimized to run on Mojave, which is their way of telling me that some update in the near future is going to render them unusable. These are not old apps they are recently purchased apps. What enrages me so much (and I was once an avid supporter of the MacOS) is the wanton disregard Apple Dev seems to have towards end user's investments in software. A really big reason people tend to stick with a platform is the investment in software. Switching from Win to Mac means at least having to purchase VM software to continue using the old apps. Switching the other direction means ABANDONING the old apps and all the work invested in the documents produced. The elegant solution would be to give me the option of enabling or disabling notarization. From what I have read so far there will be no option. If that is the case, I will likely try to find some way of absolutely preventing any more Apple Updates for ALL of our users, and then never purchase another Apple product again, for myself OR for my company. And you know what really seals the deal for me? I have the strong impression that no one at Apple really gives a dam if I do or I don't. Bob S > On Apr 16, 2019, at 24:03 , Curry Kenworthy via use-livecode wrote: > > BTW, I've already seen an LC app undergo notarization successfully, so not to worry; there will be a system in place for this particular hurdle just as with everything else. > > Best wishes, > > Curry Kenworthy From richmondmathewson at gmail.com Tue Apr 16 14:00:30 2019 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 16 Apr 2019 21:00:30 +0300 Subject: =?UTF-8?Q?Re=3a_Upcoming_MacOS_14=2e5_with_software_=e2=80=9cnotari?= =?UTF-8?Q?zation=e2=80=9d_requirements?= In-Reply-To: <1D3CB141-C9A2-4B73-B77F-113BC83F4272@iotecdigital.com> References: <0576a34c-2721-bbe6-d4c0-ec1bdeef3eb7@pair.com> <1D3CB141-C9A2-4B73-B77F-113BC83F4272@iotecdigital.com> Message-ID: <6d4afc0a-ef00-d89a-1947-f23246e448cb@gmail.com> This is one of the reasons, having been given a swanky, new 2018 Mac Mini I have kept hold of my Polycarbonate iMac running Mac OS 107 and a Polycarbonate PPC iMac running MacOS 10.4, 10.5 and "Classic". Richmond. On 16.04.19 18:18, Bob Sneidar via use-livecode wrote: > I agree with most of what you said, but I've been getting alerts recently that certain apps are not optimized to run on Mojave, which is their way of telling me that some update in the near future is going to render them unusable. These are not old apps they are recently purchased apps. > > What enrages me so much (and I was once an avid supporter of the MacOS) is the wanton disregard Apple Dev seems to have towards end user's investments in software. A really big reason people tend to stick with a platform is the investment in software. Switching from Win to Mac means at least having to purchase VM software to continue using the old apps. Switching the other direction means ABANDONING the old apps and all the work invested in the documents produced. > > The elegant solution would be to give me the option of enabling or disabling notarization. From what I have read so far there will be no option. If that is the case, I will likely try to find some way of absolutely preventing any more Apple Updates for ALL of our users, and then never purchase another Apple product again, for myself OR for my company. > > And you know what really seals the deal for me? I have the strong impression that no one at Apple really gives a dam if I do or I don't. > > Bob S > > >> On Apr 16, 2019, at 24:03 , Curry Kenworthy via use-livecode wrote: >> >> BTW, I've already seen an LC app undergo notarization successfully, so not to worry; there will be a system in place for this particular hurdle just as with everything else. >> >> Best wishes, >> >> Curry Kenworthy > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Tue Apr 16 20:07:01 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 16 Apr 2019 20:07:01 -0400 Subject: =?UTF-8?Q?Re=3A_Upcoming_MacOS_14=2E5_with_software_=E2=80=9Cnotarizatio?= =?UTF-8?Q?n=E2=80=9D_requirements?= In-Reply-To: <6d4afc0a-ef00-d89a-1947-f23246e448cb@gmail.com> References: <0576a34c-2721-bbe6-d4c0-ec1bdeef3eb7@pair.com> <1D3CB141-C9A2-4B73-B77F-113BC83F4272@iotecdigital.com> <6d4afc0a-ef00-d89a-1947-f23246e448cb@gmail.com> Message-ID: ugh great..... just last night i was like..."you know ....... i need more s*** to think about." ..... and here it is. Virus-free. www.avast.com <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Tue, Apr 16, 2019 at 2:01 PM Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > This is one of the reasons, having been given a swanky, new 2018 Mac Mini > I have kept hold of my Polycarbonate iMac running Mac OS 107 and > a Polycarbonate PPC iMac running MacOS 10.4, 10.5 and "Classic". > > Richmond. > > On 16.04.19 18:18, Bob Sneidar via use-livecode wrote: > > I agree with most of what you said, but I've been getting alerts > recently that certain apps are not optimized to run on Mojave, which is > their way of telling me that some update in the near future is going to > render them unusable. These are not old apps they are recently purchased > apps. > > > > What enrages me so much (and I was once an avid supporter of the MacOS) > is the wanton disregard Apple Dev seems to have towards end user's > investments in software. A really big reason people tend to stick with a > platform is the investment in software. Switching from Win to Mac means at > least having to purchase VM software to continue using the old apps. > Switching the other direction means ABANDONING the old apps and all the > work invested in the documents produced. > > > > The elegant solution would be to give me the option of enabling or > disabling notarization. From what I have read so far there will be no > option. If that is the case, I will likely try to find some way of > absolutely preventing any more Apple Updates for ALL of our users, and then > never purchase another Apple product again, for myself OR for my company. > > > > And you know what really seals the deal for me? I have the strong > impression that no one at Apple really gives a dam if I do or I don't. > > > > Bob S > > > > > >> On Apr 16, 2019, at 24:03 , Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> BTW, I've already seen an LC app undergo notarization successfully, so > not to worry; there will be a system in place for this particular hurdle > just as with everything else. > >> > >> Best wishes, > >> > >> Curry Kenworthy > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at hyperhh.de Wed Apr 17 06:13:40 2019 From: hh at hyperhh.de (hh) Date: Wed, 17 Apr 2019 12:13:40 +0200 Subject: Browser HTML Source & URLs Message-ID: > Rick H. wrote: > I am able to load the browser widget with a URL > and go to the URL successfully. > > I can get the HTMLtext of the page I have browsed to just fine. > What I have yet to do is to get the page source code of the page > I have browsed to in LiveCode into a field. The htmltext is the page source code. So put the htmltext of widget "browser" into field 1 If you don't mean the htmltext but the *generated* htmltext then you have to use JavaScript (see for example the firefox developer tools). > Rick H. wrote: > I also would like the browser widget to show me any new URL address > that I have gone to. This stack shows also one way how to implement "history" for the widget in a few lines: http://forums.livecode.com/viewtopic.php?p=174936#p174936 From hakan at exformedia.se Wed Apr 17 07:24:48 2019 From: hakan at exformedia.se (hakan at exformedia.se) Date: Wed, 17 Apr 2019 13:24:48 +0200 Subject: Browser HTML Source & URLs In-Reply-To: <7F531E93-A3DF-4E62-9FFB-52E2F793281E@all-auctions.com> References: <0576a34c-2721-bbe6-d4c0-ec1bdeef3eb7@pair.com> <32d74b4e-30c7-9f0c-9f61-411706801e7a@gmail.com> <7F531E93-A3DF-4E62-9FFB-52E2F793281E@all-auctions.com> Message-ID: <5b539920-1704-4d61-9bc9-eeb2ac4aa1be@Spark> You can execute a small javascript to grab the HTML. I?ve done something similar in an Instagram Scraper I just built?. First you need to set up a callback function in the widget under javascript handlers e.g. jscallback then you can call a javascript that calls you back with whatever you want. Create field for the script, save script into a constant or just submit if it is short: do ?liveCode.jscallback( ?source', document.documentElement.outerHTML );" in widget ?browser" You also need to setup the jscallback in LiveCode: on jscallback pMethod pValue ?if pMethod is ?source? then ? ? ? # pValue holds the source except the ? ?end if end jsCallback Here I used a ?key value? principle with a method and a value, but you can of course set up several callbacks in the browser widget if you prefer. H?kan PS. Writing code directly in mail so it is untested and qoutes and formatting might be wrong... On 16 Apr 2019, 16:53 +0200, Rick Harrison via use-livecode , wrote: > I am able to load the browser widget with a URL > and go to the URL successfully. > > I can get the HTMLtext of the page I have > browsed to just fine. > > What I have yet to do is to get the page > source code of the page I have browsed > to in LiveCode into a field. > > I also would like the browser widget to > show me any new URL address that I > have gone to. > > Suggestions? > > Thanks, > > Rick > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 17 14:22:56 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 17 Apr 2019 14:22:56 -0400 Subject: Browser HTML Source & URLs In-Reply-To: References: Message-ID: <8D91B3A2-F211-4A83-A8B8-D25E4611904A@all-auctions.com> Thanks for getting back to me on this. > The htmltext is the page source code. So > > put the htmltext of widget "browser" into field 1 I thought it was the source code originally too, but it doesn?t work correctly. For example: set the HTMLText of field "HTMLTextField1" to URL field "WebAddressField1" of this card (Where field "WebAddressField1" of this card = http://www.duckduckgo.com ) Look at the output in field HTMLTextField1. Then go to the website with Safari with the Developer Menu turned on, and use the pull down menu option for ?Show Page Source?. You will see there is a vast difference between what Safari shows versus what LiveCode HTMLText shows. (It?s less than useful!) Your thoughts? Thanks, Rick > On Apr 17, 2019, at 6:13 AM, hh via use-livecode wrote: > >> Rick H. wrote: >> I am able to load the browser widget with a URL >> and go to the URL successfully. >> >> I can get the HTMLtext of the page I have browsed to just fine. >> What I have yet to do is to get the page source code of the page >> I have browsed to in LiveCode into a field. > > The htmltext is the page source code. So > > put the htmltext of widget "browser" into field 1 > > If you don't mean the htmltext but the *generated* htmltext then you > have to use JavaScript (see for example the firefox developer tools). > >> Rick H. wrote: >> I also would like the browser widget to show me any new URL address >> that I have gone to. > > This stack shows also one way how to implement "history" for the widget > in a few lines: > http://forums.livecode.com/viewtopic.php?p=174936#p174936 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brian at milby7.com Wed Apr 17 14:46:44 2019 From: brian at milby7.com (Brian Milby) Date: Wed, 17 Apr 2019 14:46:44 -0400 Subject: Browser HTML Source & URLs In-Reply-To: <8D91B3A2-F211-4A83-A8B8-D25E4611904A@all-auctions.com> References: <8D91B3A2-F211-4A83-A8B8-D25E4611904A@all-auctions.com> Message-ID: Htmltext of a field is not the same as htmltext of the browser widget. ?A LiveCode field only supports a fraction of html. ?In your example you need to just set the text of the field to see the page source. ?Setting htmetext forces LiveCode to render the html and anything it does not understand is stripped. Thanks, Brian On Apr 17, 2019, 2:23 PM -0400, Rick Harrison via use-livecode , wrote: > Thanks for getting back to me on this. > > > The htmltext is the page source code. So > > > > put the htmltext of widget "browser" into field 1 > > I thought it was the source code originally too, > but it doesn?t work correctly. > > For example: > > set the HTMLText of field "HTMLTextField1" to URL field "WebAddressField1" of this card > (Where field "WebAddressField1" of this card = http://www.duckduckgo.com ) > > Look at the output in field HTMLTextField1. > > Then go to the website with Safari with the Developer Menu turned on, > and use the pull down menu option for ?Show Page Source?. > > You will see there is a vast difference between what Safari shows > versus what LiveCode HTMLText shows. (It?s less than useful!) > > Your thoughts? > > Thanks, > > Rick > > > > > On Apr 17, 2019, at 6:13 AM, hh via use-livecode wrote: > > > > > Rick H. wrote: > > > I am able to load the browser widget with a URL > > > and go to the URL successfully. > > > > > > I can get the HTMLtext of the page I have browsed to just fine. > > > What I have yet to do is to get the page source code of the page > > > I have browsed to in LiveCode into a field. > > > > The htmltext is the page source code. So > > > > put the htmltext of widget "browser" into field 1 > > > > If you don't mean the htmltext but the *generated* htmltext then you > > have to use JavaScript (see for example the firefox developer tools). > > > > > Rick H. wrote: > > > I also would like the browser widget to show me any new URL address > > > that I have gone to. > > > > This stack shows also one way how to implement "history" for the widget > > in a few lines: > > http://forums.livecode.com/viewtopic.php?p=174936#p174936 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 17 14:57:21 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Apr 2019 13:57:21 -0500 Subject: Browser HTML Source & URLs In-Reply-To: <8D91B3A2-F211-4A83-A8B8-D25E4611904A@all-auctions.com> References: <8D91B3A2-F211-4A83-A8B8-D25E4611904A@all-auctions.com> Message-ID: <00450266-bb19-5c70-aa44-929cbc38560f@hyperactivesw.com> Try this: put url tURL into tSource -- the source text set the htmlText of fld "HTMLText" to tSource -- LC's display LC only supports a subset of HTML, so when you put the source into a field, only the supported parts go in. But you can grab the unadultered source first. On 4/17/19 1:22 PM, Rick Harrison via use-livecode wrote: > Thanks for getting back to me on this. > >> The htmltext is the page source code. So >> >> put the htmltext of widget "browser" into field 1 > > I thought it was the source code originally too, > but it doesn?t work correctly. > > For example: > > set the HTMLText of field "HTMLTextField1" to URL field "WebAddressField1" of this card > (Where field "WebAddressField1" of this card = http://www.duckduckgo.com ) > > Look at the output in field HTMLTextField1. > > Then go to the website with Safari with the Developer Menu turned on, > and use the pull down menu option for ?Show Page Source?. > > You will see there is a vast difference between what Safari shows > versus what LiveCode HTMLText shows. (It?s less than useful!) > > Your thoughts? > > Thanks, > > Rick > > > >> On Apr 17, 2019, at 6:13 AM, hh via use-livecode wrote: >> >>> Rick H. wrote: >>> I am able to load the browser widget with a URL >>> and go to the URL successfully. >>> >>> I can get the HTMLtext of the page I have browsed to just fine. >>> What I have yet to do is to get the page source code of the page >>> I have browsed to in LiveCode into a field. >> >> The htmltext is the page source code. So >> >> put the htmltext of widget "browser" into field 1 >> >> If you don't mean the htmltext but the *generated* htmltext then you >> have to use JavaScript (see for example the firefox developer tools). >> >>> Rick H. wrote: >>> I also would like the browser widget to show me any new URL address >>> that I have gone to. >> >> This stack shows also one way how to implement "history" for the widget >> in a few lines: >> http://forums.livecode.com/viewtopic.php?p=174936#p174936 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 harrison at all-auctions.com Wed Apr 17 15:55:07 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 17 Apr 2019 15:55:07 -0400 Subject: Browser HTML Source & URLs In-Reply-To: <00450266-bb19-5c70-aa44-929cbc38560f@hyperactivesw.com> References: <8D91B3A2-F211-4A83-A8B8-D25E4611904A@all-auctions.com> <00450266-bb19-5c70-aa44-929cbc38560f@hyperactivesw.com> Message-ID: Hi Brian and Jacqueline, Thank you for your helpful responses. put url tURL into tSource ..was exactly what I needed! Thanks again, Rick > On Apr 17, 2019, at 2:57 PM, J. Landman Gay via use-livecode wrote: > > put url tURL into tSource -- the source text From jacque at hyperactivesw.com Wed Apr 17 17:25:51 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Apr 2019 16:25:51 -0500 Subject: Encrypted standalones In-Reply-To: <8a767a34-ce19-d42c-e792-168dc82aec41@fourthworld.com> References: <8a767a34-ce19-d42c-e792-168dc82aec41@fourthworld.com> Message-ID: <391a29ef-e2dd-1407-79ba-9aecc915117b@hyperactivesw.com> On 4/15/19 3:17 PM, Richard Gaskin via use-livecode wrote: > It may be that the password isn't being set, or it may be a UI bug in > which the password is set but just isn't being displayed. > > You can determine which is the case with a quick test build that does > something like: > > ?? answer line 10 of the script of this stack > > If the standalone can get the script, it's not encrypted it.? If it > complains, you're fine and it's just a UI bug. Finally got to this. The password is saved in the standalone custom property set, but when testing on a trial standalone it isn't actually being used. So the answer is "no, you can't set a password on a mobile app via the standalone builder." After thinking about this, I realized that since none of the three major app stores will accept an encrypted app, that's why it's disabled. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Apr 17 20:27:34 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Apr 2019 17:27:34 -0700 Subject: Browser HTML Source & URLs In-Reply-To: References: Message-ID: Brian Milby wrote: > Htmltext of a field is not the same as htmltext of the browser widget. One of the best ideas Mark Waddingham ever had that he later abandoned was about ten years ago when he proposed adding "xmlText" as a synonym for "htmlText", flagging "htmlText" for eventual deprecation. The best idea he never expressed having was calling the browser widget property "html" rather than "htmlText". Because that's what it is. HTML is not htmlText. Using that name for the field property hints at field capabilities that don't exist. And then using that same name for the VERY different data in the browser object only makes a bad name worse. I can understand why "htmlText" was used in the mid-90s when it was introduced, but it wasn't really a solid fit even then, and has become ever less like HTML every year since, causing ever more confusion. #papercuts -- 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 Wed Apr 17 20:33:55 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Apr 2019 17:33:55 -0700 Subject: Encrypted standalones In-Reply-To: <391a29ef-e2dd-1407-79ba-9aecc915117b@hyperactivesw.com> References: <391a29ef-e2dd-1407-79ba-9aecc915117b@hyperactivesw.com> Message-ID: J. Landman Gay wrote: > Finally got to this. The password is saved in the standalone custom > property set, but when testing on a trial standalone it isn't actually > being used. So the answer is "no, you can't set a password on a mobile > app via the standalone builder." > > After thinking about this, I realized that since none of the three > major app stores will accept an encrypted app, that's why it's > disabled. That seems a strangely LiveCode-specific policy. It would be cool if Apple, Google, and Amazon were so impressed with LC that they felt the need to write policies just for it, but I suspect I merely don't understand. If the policy prohibits encrypting compiled machine code, I can understand it. All three use automated processes to review code for inappropriate symbols, and encryption would thwart those good efforts. But LC standalones don't encrypt the engine, only the scripts. The compiled machine code remains available for automated review, while the it's just scripts that operate within the constraints imposed on that engine sandbox that are protected. In that sense they're not much different from tokenized bytecode used in many game engines. Unless this policy is oddly LiveCode-specific, I suspect you've discovered a regression, one worth reporting. -- 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 Apr 18 12:07:46 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 18 Apr 2019 16:07:46 +0000 Subject: Browser HTML Source & URLs In-Reply-To: <8D91B3A2-F211-4A83-A8B8-D25E4611904A@all-auctions.com> References: <8D91B3A2-F211-4A83-A8B8-D25E4611904A@all-auctions.com> Message-ID: <80BF6895-F32B-4FAD-B5CF-6A259B7D6D9B@iotecdigital.com> I've seen that too. Bob S > On Apr 17, 2019, at 11:22 , Rick Harrison via use-livecode wrote: > > Thanks for getting back to me on this. > >> The htmltext is the page source code. So >> >> put the htmltext of widget "browser" into field 1 > > I thought it was the source code originally too, > but it doesn?t work correctly. > > For example: > > set the HTMLText of field "HTMLTextField1" to URL field "WebAddressField1" of this card > (Where field "WebAddressField1" of this card = http://www.duckduckgo.com ) > > Look at the output in field HTMLTextField1. > > Then go to the website with Safari with the Developer Menu turned on, > and use the pull down menu option for ?Show Page Source?. > > You will see there is a vast difference between what Safari shows > versus what LiveCode HTMLText shows. (It?s less than useful!) > > Your thoughts? > > Thanks, > > Rick From jjs at krutt.org Thu Apr 18 12:30:06 2019 From: jjs at krutt.org (JJS) Date: Thu, 18 Apr 2019 18:30:06 +0200 Subject: Encrypted standalones In-Reply-To: References: <391a29ef-e2dd-1407-79ba-9aecc915117b@hyperactivesw.com> Message-ID: <043103b0-a4ee-0730-919d-2bda95054192@krutt.org> If you use this sentence in the message box (which i got from another fine member here) the stack is encrypted, and when turned into an APK is well accepted by Google Play Store: *set*thepasswordofstack"beststackever"to"mostdifficultpasswordofalltimes" Op 18-4-2019 om 02:33 schreef Richard Gaskin via use-livecode: > J. Landman Gay wrote: > > > Finally got to this. The password is saved in the standalone custom > > property set, but when testing on a trial standalone it isn't actually > > being used. So the answer is "no, you can't set a password on a mobile > > app via the standalone builder." > > > > After thinking about this, I realized that since none of the three > > major app stores will accept an encrypted app, that's why it's > > disabled. > > That seems a strangely LiveCode-specific policy.? It would be cool if > Apple, Google, and Amazon were so impressed with LC that they felt the > need to write policies just for it, but I suspect I merely don't > understand. > > If the policy prohibits encrypting compiled machine code, I can > understand it.? All three use automated processes to review code for > inappropriate symbols, and encryption would thwart those good efforts. > > But LC standalones don't encrypt the engine, only the scripts. The > compiled machine code remains available for automated review, while > the it's just scripts that operate within the constraints imposed on > that engine sandbox that are protected. In that sense they're not much > different from tokenized bytecode used in many game engines. > > Unless this policy is oddly LiveCode-specific, I suspect you've > discovered a regression, one worth reporting. > From hh at hyperhh.de Thu Apr 18 14:51:34 2019 From: hh at hyperhh.de (hh) Date: Thu, 18 Apr 2019 20:51:34 +0200 Subject: Browser HTML Source & URLs Message-ID: What you've seen is the difference of the htmltext of a browser (also of a browser widget) and the *generated* htmltext. The latter includes for example also parts that are generated by JavaScript parts of the htmltext. > BobS. wrote: > I've seen that too. > > > Rick H. wrote: > > I thought it was the source code originally too, > > but it doesn?t work correctly. > > hh wrote: > put the htmltext of widget "browser" into field 1 > > If you don't mean the htmltext but the *generated* htmltext then you > have to use JavaScript (see for example the firefox developer tools). From bobsneidar at iotecdigital.com Thu Apr 18 15:35:12 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 18 Apr 2019 19:35:12 +0000 Subject: Encrypted standalones In-Reply-To: <043103b0-a4ee-0730-919d-2bda95054192@krutt.org> References: <391a29ef-e2dd-1407-79ba-9aecc915117b@hyperactivesw.com> <043103b0-a4ee-0730-919d-2bda95054192@krutt.org> Message-ID: <96AC6FF7-717B-4D8B-A613-CF3252B818FA@iotecdigital.com> I'm sure you meant the source code is encrypted. The stack itself is never encrypted. Bob S > On Apr 18, 2019, at 09:30 , JJS via use-livecode wrote: > > If you use this sentence in the message box (which i got from another fine member here) the stack is encrypted, and when turned into an APK is well accepted by Google Play Store: > > *set*thepasswordofstack"beststackever"to"mostdifficultpasswordofalltimes" From paul at researchware.com Thu Apr 18 16:03:16 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 18 Apr 2019 16:03:16 -0400 Subject: LC9.0.4rc2: Problem with Ask dialog not being included in standalone? Message-ID: <5c78ef0f-08e2-6c91-32c4-6731fd2dec7e@researchware.com> I just was creating a simple test stack under Windows 10, LC9.0.4rc2 and discovered that whether I allowed automatic selection of inclusions or explicitly included the Ask/Answer dialogs, the Ask dialog was not being included in my Windows standalone of this test stack. See https://quality.livecode.com/show_bug.cgi?id=22014 Any one else seeing this in LC9.0.4rc2? From jacque at hyperactivesw.com Thu Apr 18 18:41:36 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Apr 2019 17:41:36 -0500 Subject: Encrypted standalones In-Reply-To: <043103b0-a4ee-0730-919d-2bda95054192@krutt.org> References: <391a29ef-e2dd-1407-79ba-9aecc915117b@hyperactivesw.com> <043103b0-a4ee-0730-919d-2bda95054192@krutt.org> Message-ID: Apparently my theory of why we can't do it in the standalone builder was wrong, and encrypted scripts don't matter in the app stores. So I'm still wondering what the reason is for disabling it in the SB. I knew how to set a password on a stack, but if you do that then you have to enter the password every time you open the stack during development. The nice thing about using the SB to set a password is that it only applies to the built app and you don't need to mess with it during development. I can just set a password before I build I guess. A savingMobileStandalone handler would work for that, followed by a mobileStandaloneSaved to remove the password. On 4/18/19 11:30 AM, JJS via use-livecode wrote: > If you use this sentence in the message box (which i got from another > fine member here) the stack is encrypted, and when turned into an APK is > well accepted by Google Play Store: > > *set*thepasswordofstack"beststackever"to"mostdifficultpasswordofalltimes" > > > Op 18-4-2019 om 02:33 schreef Richard Gaskin via use-livecode: >> J. Landman Gay wrote: >> >> > Finally got to this. The password is saved in the standalone custom >> > property set, but when testing on a trial standalone it isn't actually >> > being used. So the answer is "no, you can't set a password on a mobile >> > app via the standalone builder." >> > >> > After thinking about this, I realized that since none of the three >> > major app stores will accept an encrypted app, that's why it's >> > disabled. >> >> That seems a strangely LiveCode-specific policy.? It would be cool if >> Apple, Google, and Amazon were so impressed with LC that they felt the >> need to write policies just for it, but I suspect I merely don't >> understand. >> >> If the policy prohibits encrypting compiled machine code, I can >> understand it.? All three use automated processes to review code for >> inappropriate symbols, and encryption would thwart those good efforts. >> >> But LC standalones don't encrypt the engine, only the scripts. The >> compiled machine code remains available for automated review, while >> the it's just scripts that operate within the constraints imposed on >> that engine sandbox that are protected. In that sense they're not much >> different from tokenized bytecode used in many game engines. >> >> Unless this policy is oddly LiveCode-specific, I suspect you've >> discovered a regression, one worth reporting. >> > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu Apr 18 19:18:15 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Apr 2019 16:18:15 -0700 Subject: Encrypted standalones In-Reply-To: References: Message-ID: <72ad0724-18a2-4497-f570-948384914552@fourthworld.com> J. Landman Gay wrote: > ...encrypted scripts don't matter in the app stores. So I'm still > wondering what the reason is for disabling it in the SB. The key question is whether the disabling was intentional. If it's a regression while making other changes it all makes sense. Without a bug report we can only hope they take a break from their work to discover this thread.... -- 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 Thu Apr 18 19:45:30 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Apr 2019 18:45:30 -0500 Subject: Encrypted standalones In-Reply-To: <72ad0724-18a2-4497-f570-948384914552@fourthworld.com> References: <72ad0724-18a2-4497-f570-948384914552@fourthworld.com> Message-ID: <16a32d74590.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It's not actually a regression, it's always been that way. But it's too piddly to bother the team with right now, and there's a workaround. Maybe I'll ask why it works that way when I see them at the conference. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 18, 2019 6:20:24 PM Richard Gaskin via use-livecode wrote: > J. Landman Gay wrote: > > > ...encrypted scripts don't matter in the app stores. So I'm still > > wondering what the reason is for disabling it in the SB. > > The key question is whether the disabling was intentional. > > If it's a regression while making other changes it all makes sense. > > Without a bug report we can only hope they take a break from their work > to discover this thread.... > > -- > 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 Fri Apr 19 00:25:30 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Apr 2019 21:25:30 -0700 Subject: Encrypted standalones In-Reply-To: <16a32d74590.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <16a32d74590.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: J. Landman Gay jacque at hyperactivesw.com > It's not actually a regression, it's always been that way. But it's > too piddly to bother the team with right now, and there's a > workaround. Maybe It's curious that the entire Stacks pane is disabled when either mobile platform is selected. That seems intentional, but I can't imagine why each one of those features is irrelevant when building for mobile. At a minimum, it would be nice to be able to set the password. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthlearningsolutions.org Fri Apr 19 01:35:16 2019 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Thu, 18 Apr 2019 22:35:16 -0700 Subject: Encrypted standalones In-Reply-To: References: <16a32d74590.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <9443F537-2406-40B4-9788-990DF586625C@earthlearningsolutions.org> I?ll be interested in hearing the answer to this. I had assumed that the setup would be a splash stack that loaded the other app stacks, which were in the resources folder. True? Bill William Prothero http://es.earthednet.org > On Apr 18, 2019, at 9:25 PM, Richard Gaskin via use-livecode wrote: > > J. Landman Gay jacque at hyperactivesw.com > > It's not actually a regression, it's always been that way. But it's > > too piddly to bother the team with right now, and there's a > > workaround. Maybe > > It's curious that the entire Stacks pane is disabled when either mobile platform is selected. > > That seems intentional, but I can't imagine why each one of those features is irrelevant when building for mobile. > > At a minimum, it would be nice to be able to set the password. > > -- > 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 Fri Apr 19 13:36:36 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Apr 2019 12:36:36 -0500 Subject: Encrypted standalones In-Reply-To: <9443F537-2406-40B4-9788-990DF586625C@earthlearningsolutions.org> References: <16a32d74590.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <9443F537-2406-40B4-9788-990DF586625C@earthlearningsolutions.org> Message-ID: In my case it isn't a splash stack this time, it's self-contained. But that pane is always disabled for mobile apps, regardless of the structure of the mainstack. On 4/19/19 12:35 AM, prothero--- via use-livecode wrote: > I?ll be interested in hearing the answer to this. I had assumed that the setup would be a splash stack that loaded the other app stacks, which were in the resources folder. True? > Bill > > William Prothero > http://es.earthednet.org > >> On Apr 18, 2019, at 9:25 PM, Richard Gaskin via use-livecode wrote: >> >> J. Landman Gay jacque at hyperactivesw.com >>> It's not actually a regression, it's always been that way. But it's >>> too piddly to bother the team with right now, and there's a >>> workaround. Maybe >> >> It's curious that the entire Stacks pane is disabled when either mobile platform is selected. >> >> That seems intentional, but I can't imagine why each one of those features is irrelevant when building for mobile. >> >> At a minimum, it would be nice to be able to set the password. >> >> -- >> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjearp99 at gmail.com Fri Apr 19 19:05:02 2019 From: rjearp99 at gmail.com (Robert J. Earp) Date: Fri, 19 Apr 2019 16:05:02 -0700 Subject: Saving a tab formatted field to a file and retaining its formatting In-Reply-To: References: Message-ID: <4709F90B-EFA1-459C-9498-4BF71AA83552@gmail.com> Dear H?kan, Please accept my apologies at not replying to you before, and many thanks for contacting me and the suggestion. For our current use we can manually set the tab positions in a field, and now that we have learnt to combine "open printing to pdf" and ? evPrintField" we can easily output formatted .pdf docs. Why this is not identified in the dictionary I don?t know, but like a lot of things in LC, and all of its predecessors, the dictionary leaves a lot to be desired and really you have to use it a lot to get proficient, to use the expertise of the user lists !! Again, many thanks for the help, I hope I can reciprocate at some time. Kind regards, Bob... > On Apr 11, 2019, at 07:01, hakan at exformedia.se wrote: > > If you want the tab stops to be included in the file I guess you need to add them manually to the rtf file. There is a \tx command in rtf that sets the tab size. I used it long time ago so I don?t remember of it was relative or absolut positions but I do think it should be doable? > > :-H?kan > On 8 Apr 2019, 18:25 +0200, Robert J. Earp via use-livecode , wrote: >> Thanks for the reply Paul. Yes, tried that but there are problems. It saves a .rtf file but when you open that in MSWord (OS X or Windows) the tabs are changed to underscores. If you open the file in OS X TextEdit it does have tabs but the position/spacing is not retained. I?ve created a sample/test stack if anybody wants to play ;-) >> >> Our project is supposed to create a formatted file that external to the LC project, gets assembled with other documents/files to make a presentable report. The other docs/files are .rtf (created in MSWord or Pages or TextEdit) and an .eps file. The final report will be a .pdf and Acrobat is likely what will get used to manually assemble the final report. >> >> To quote my valued colleague (RogerG) on this problem, and who has spent inordinate hours trying to find a solution, tabs have turned out to be tricky little devils in LC !! >> >> best, Bob... >> >>> From: Paul Dupuis > >>> To: use-livecode at lists.runrev.com >>> Subject: Re: Saving a tab formatted field to a file and retaining its >>> formatting >>> Message-ID: > >>> Content-Type: text/plain; charset=utf-8; format=flowed >>> >>> I take it your have tried: >>> >>> put the rtfText of field "X" into URL >>> ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") >>> >>> And then reading it back to a new field with: >>> >>> set the rtfText of field "Y" to URL >>> ("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf") >>> >>> and the tab spacing is not preserved? >>> >>> >>> >>> On 4/7/2019 7:57 PM, Robert J. Earp via use-livecode wrote: >>>> Dear all, we have a field that is formatted nicely with tabs and want to save that as a file, retaining the tab formatting. The saved file format ideally should be .rtf but we may be able to use other formats such as .pdf >>>> >>>> Anybody got any ideas how to do this ? >>>> >>>> Thanks in advance for your suggestions. >>>> >>>> best, Bob? >>>> >>>> Bob Earp - White Rock, BC, Canada >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Fri Apr 19 20:09:45 2019 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 20 Apr 2019 01:09:45 +0100 Subject: livecode connect framework In-Reply-To: References: <0ebbcc31-0574-0e8f-a6a0-587a5b7666f7@fourthworld.com> Message-ID: Does anyone know if LiveCode Connect ever come out of beta? I have a project coming up which uses OpenAPI and it would save me a lot of work if Connect is available. Regards, Bernard On Fri, Jun 9, 2017 at 9:03 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > if the only hint is that its available to all attendees of the conference, > we can't be sure.... i guess we will find out...what a great feature for LC > and its bright future. In a way i am indifferent, since I can build my own > handlers to talk to any api i want ....and i do want livecode inc to > prosper ALOT, so if they decide its a non-community feature thats ok with > me. > > From matthias_livecode_150811 at m-r-d.de Sat Apr 20 01:13:49 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 20 Apr 2019 07:13:49 +0200 Subject: livecode connect framework In-Reply-To: References: <0ebbcc31-0574-0e8f-a6a0-587a5b7666f7@fourthworld.com> Message-ID: This,i would say, is a question only Mark Waddingham could answer. Since the last LCG there were no updates or any news. Matthias Von meinem iPhone gesendet > Am 20.04.2019 um 02:09 schrieb Bernard Devlin via use-livecode : > > Does anyone know if LiveCode Connect ever come out of beta? I have a > project coming up which uses OpenAPI and it would save me a lot of work if > Connect is available. > > Regards, Bernard > > On Fri, Jun 9, 2017 at 9:03 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> if the only hint is that its available to all attendees of the conference, >> we can't be sure.... i guess we will find out...what a great feature for LC >> and its bright future. In a way i am indifferent, since I can build my own >> handlers to talk to any api i want ....and i do want livecode inc to >> prosper ALOT, so if they decide its a non-community feature thats ok with >> me. >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sat Apr 20 03:24:30 2019 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 20 Apr 2019 03:24:30 -0400 Subject: Livecode & prestashop Message-ID: <643b49b8e7a4eb7023cb742fc636f968@souslelogo.com> Hello list, Is there any connexion between LC and e-commerce frameworks like Prestashop ? I thought I've seen a thread about something like that a couple of years ago on this very list but can't retrieve it, and searching the archives is not an easy task... Long story short, a friend of mine is working on a website with prestashop, and needs a specific module. I was wondering if I could build it with LC, export it as html5 and use it as a prestashop plug-in... Any advice ? Thanks in advance. jbv From michael-kristensen at dsa-net.dk Sat Apr 20 08:54:24 2019 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Sat, 20 Apr 2019 14:54:24 +0200 Subject: Drag and Drop between groups Message-ID: Hi there I have placed an example of DaD objects between groups here: https://forums.livecode.com/viewtopic.php?f=7&t=32494 If the experts would like to take a look at it it would be nice (to improve on it) Michael From klaus at major-k.de Sat Apr 20 12:36:03 2019 From: klaus at major-k.de (Klaus major-k) Date: Sat, 20 Apr 2019 18:36:03 +0200 Subject: button ICON Message-ID: <310EE7DF-1F6C-4851-AF71-F25DA2BB1766@major-k.de> Hi friends, I have a vague memory that we can use images as icons in buttons WITHOUT putting them in an image object first. Am I right or was I dreaming? :-) Thanks for any hints. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Sun Apr 21 15:44:14 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 21 Apr 2019 14:44:14 -0500 Subject: button ICON In-Reply-To: <310EE7DF-1F6C-4851-AF71-F25DA2BB1766@major-k.de> References: <310EE7DF-1F6C-4851-AF71-F25DA2BB1766@major-k.de> Message-ID: <20692d9e-0efe-7142-a3da-ed5566517f3e@hyperactivesw.com> I had a dream like that once too, but I don't know of any way you can do that in real life. On 4/20/19 11:36 AM, Klaus major-k via use-livecode wrote: > Hi friends, > > I have a vague memory that we can use images as icons in buttons WITHOUT > putting them in an image object first. Am I right or was I dreaming? :-) > > Thanks for any hints. > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Sun Apr 21 16:07:45 2019 From: klaus at major-k.de (Klaus major-k) Date: Sun, 21 Apr 2019 22:07:45 +0200 Subject: button ICON In-Reply-To: <20692d9e-0efe-7142-a3da-ed5566517f3e@hyperactivesw.com> References: <310EE7DF-1F6C-4851-AF71-F25DA2BB1766@major-k.de> <20692d9e-0efe-7142-a3da-ed5566517f3e@hyperactivesw.com> Message-ID: <15A5D136-FCFF-4431-B94E-B09099E98F42@major-k.de> Hi Jaques, > Am 21.04.2019 um 21:44 schrieb J. Landman Gay via use-livecode : > > I had a dream like that once too, but I don't know of any way you can do that in real life. hehe, got it, thank you! :-) > > On 4/20/19 11:36 AM, Klaus major-k via use-livecode wrote: >> Hi friends, >> I have a vague memory that we can use images as icons in buttons WITHOUT >> putting them in an image object first. Am I right or was I dreaming? :-) >> Thanks for any hints. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From tom at makeshyft.com Sun Apr 21 23:26:14 2019 From: tom at makeshyft.com (Tom Glod) Date: Sun, 21 Apr 2019 23:26:14 -0400 Subject: button ICON In-Reply-To: <15A5D136-FCFF-4431-B94E-B09099E98F42@major-k.de> References: <310EE7DF-1F6C-4851-AF71-F25DA2BB1766@major-k.de> <20692d9e-0efe-7142-a3da-ed5566517f3e@hyperactivesw.com> <15A5D136-FCFF-4431-B94E-B09099E98F42@major-k.de> Message-ID: Klaus, I vaguely remember someone recently pointing out a weird trick with button icons ...... but i think it had to do with svgs being used as button icons. but maybe it really was a dream. why do u need to use images without loading them into the stack? On Sun, Apr 21, 2019 at 4:08 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Jaques, > > > Am 21.04.2019 um 21:44 schrieb J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com>: > > > > I had a dream like that once too, but I don't know of any way you can do > that in real life. > > hehe, got it, thank you! :-) > > > > On 4/20/19 11:36 AM, Klaus major-k via use-livecode wrote: > >> Hi friends, > >> I have a vague memory that we can use images as icons in buttons WITHOUT > >> putting them in an image object first. Am I right or was I dreaming? :-) > >> Thanks for any hints. > > Best > > Klaus > > -- > Klaus Major > http://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 bobsneidar at iotecdigital.com Mon Apr 22 11:10:42 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 22 Apr 2019 15:10:42 +0000 Subject: button ICON In-Reply-To: <310EE7DF-1F6C-4851-AF71-F25DA2BB1766@major-k.de> References: <310EE7DF-1F6C-4851-AF71-F25DA2BB1766@major-k.de> Message-ID: I guess this goes way back to a long standing conversation as to the way buttons with graphics work in the first place. Let's say you have a group with several buttons. You now want to copy it to another project. Since the graphics are ALREADY OPEN in the project you copied from the button graphics *seem* to display fine. Until you quit livecode then open the target project by itself. No graphics! The fix is to go back to the original project, find all the graphics (probably hidden), copy those as well to the target app, edit the icons of the buttons to now point at the NEW ID's of the graphics, and hope you don't get it wrong. Someone showed me a trick. First group the graphics with the buttons they belong to. Then group all your individual button groups together. Finally put something like this in your top level group script: on newBackground put the childcontrolNames of me into tGroupList repeat for each line tGroup in tGroupList put the childControlNames of group tGroup into tControlList filter tControlList with "btn*" repeat for each line tButtonName in tControlList put char 4 to -1 of tButtonName into tControlName put "img" & tControlName into tEnabledImage put "img" & tControlName into tDisabledImage if there is an image tEnabledImage then \ set the icon of button tButtonName to the short id of image tEnabledImage if there is an image tDisabledImage then \ set the disabledIcon of button tButtonName to the short id of image tDisabledImage end repeat end repeat pass newBackground end newBackground > On Apr 20, 2019, at 09:36 , Klaus major-k via use-livecode wrote: > > Hi friends, > > I have a vague memory that we can use images as icons in buttons WITHOUT > putting them in an image object first. Am I right or was I dreaming? :-) > > Thanks for any hints. > > > Best > > Klaus > -- > Klaus Major > http://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 Apr 22 11:30:09 2019 From: klaus at major-k.de (Klaus major-k) Date: Mon, 22 Apr 2019 17:30:09 +0200 Subject: button ICON In-Reply-To: References: <310EE7DF-1F6C-4851-AF71-F25DA2BB1766@major-k.de> Message-ID: <8A9AAB3D-8250-4B06-9F97-94EE318339AE@major-k.de> Hi Bob, > Am 22.04.2019 um 17:10 schrieb Bob Sneidar via use-livecode : > I guess this goes way back to a long standing conversation as to the way buttons with graphics work in the first place. Let's say you have a group with several buttons. You now want to copy it to another project. Since the graphics are ALREADY OPEN in the project you copied from the button graphics *seem* to display fine. Until you quit livecode then open the target project by itself. No graphics! > ... > on newBackground > ... > end newBackground thanks, but that is not I was looking (or asking) for. >> On Apr 20, 2019, at 09:36 , Klaus major-k via use-livecode wrote: >> Hi friends, >> I have a vague memory that we can use images as icons in buttons WITHOUT >> putting them in an image object first. Am I right or was I dreaming? :-) I obviously mixed this somehow with IMAGESOURCE where we can actually: ... set the imagesource of char 1 of fld 1 to "binfile:path/on disk/to your/image.jpg" ... Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Mon Apr 22 12:00:57 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 22 Apr 2019 16:00:57 +0000 Subject: button ICON In-Reply-To: <8A9AAB3D-8250-4B06-9F97-94EE318339AE@major-k.de> References: <310EE7DF-1F6C-4851-AF71-F25DA2BB1766@major-k.de> <8A9AAB3D-8250-4B06-9F97-94EE318339AE@major-k.de> Message-ID: <71188284-1B3C-43B3-AF95-A562E5E1AEA1@iotecdigital.com> I was responding to Tom Glod's question, "why do u need to use images without loading them into the stack?" This technique can be used to make buttons with graphics portable, which is the root of the question. Bob S > On Apr 22, 2019, at 08:30 , Klaus major-k via use-livecode wrote: > > Hi Bob, > >> Am 22.04.2019 um 17:10 schrieb Bob Sneidar via use-livecode : >> I guess this goes way back to a long standing conversation as to the way buttons with graphics work in the first place. Let's say you have a group with several buttons. You now want to copy it to another project. Since the graphics are ALREADY OPEN in the project you copied from the button graphics *seem* to display fine. Until you quit livecode then open the target project by itself. No graphics! >> ... >> on newBackground >> ... >> end newBackground > > thanks, but that is not I was looking (or asking) for. > >>> On Apr 20, 2019, at 09:36 , Klaus major-k via use-livecode wrote: >>> Hi friends, >>> I have a vague memory that we can use images as icons in buttons WITHOUT >>> putting them in an image object first. Am I right or was I dreaming? :-) > > I obviously mixed this somehow with IMAGESOURCE where we can actually: > ... > set the imagesource of char 1 of fld 1 to "binfile:path/on disk/to your/image.jpg" > ... > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de From klaus at major-k.de Mon Apr 22 12:03:35 2019 From: klaus at major-k.de (Klaus major-k) Date: Mon, 22 Apr 2019 18:03:35 +0200 Subject: button ICON In-Reply-To: <71188284-1B3C-43B3-AF95-A562E5E1AEA1@iotecdigital.com> References: <310EE7DF-1F6C-4851-AF71-F25DA2BB1766@major-k.de> <8A9AAB3D-8250-4B06-9F97-94EE318339AE@major-k.de> <71188284-1B3C-43B3-AF95-A562E5E1AEA1@iotecdigital.com> Message-ID: <09DEBFC5-5403-4FF9-9101-F00A103E67CE@major-k.de> Hi Bob, > Am 22.04.2019 um 18:00 schrieb Bob Sneidar via use-livecode : > > I was responding to Tom Glod's question, "why do u need to use images without loading them into the stack?" oh, sorry, that was not obvious. > This technique can be used to make buttons with graphics portable, which is the root of the question. Not of my question! :-) > Bob S Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From revdev at pdslabs.net Mon Apr 22 12:17:22 2019 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 22 Apr 2019 09:17:22 -0700 Subject: button ICON In-Reply-To: <310EE7DF-1F6C-4851-AF71-F25DA2BB1766@major-k.de> References: <310EE7DF-1F6C-4851-AF71-F25DA2BB1766@major-k.de> Message-ID: <66feac9b-38e8-bd53-6ff5-7e7657956aa4@pdslabs.net> Hi Klaus, The only method I can think of is where you set the icon of a button to the id of an image object, and then set the text of that image object to the binfile url of different image files. That does work, but may not be what you're looking for. Best - Phil Davis On 4/20/19 9:36 AM, Klaus major-k via use-livecode wrote: > Hi friends, > > I have a vague memory that we can use images as icons in buttons WITHOUT > putting them in an image object first. Am I right or was I dreaming? :-) > > Thanks for any hints. > > > Best > > Klaus > -- > Klaus Major > http://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 > > -- Phil Davis From hh at hyperhh.de Mon Apr 22 12:20:59 2019 From: hh at hyperhh.de (hh) Date: Mon, 22 Apr 2019 18:20:59 +0200 Subject: button ICON Message-ID: <7D56D2DC-7951-4A43-9258-234976DB0EBA@hyperhh.de> As Phil said, but don't set the text of the (empty) image used as icon of the button but set the filename of the image. The icon will change accordingly. From revdev at pdslabs.net Mon Apr 22 12:32:51 2019 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 22 Apr 2019 09:32:51 -0700 Subject: button ICON In-Reply-To: <7D56D2DC-7951-4A43-9258-234976DB0EBA@hyperhh.de> References: <7D56D2DC-7951-4A43-9258-234976DB0EBA@hyperhh.de> Message-ID: Thanks hh - I concur. Your approach seems cleaner. Phil On 4/22/19 9:20 AM, hh via use-livecode wrote: > As Phil said, but don't set the text of the (empty) image > used as icon of the button but set the filename of the image. > > The icon will change accordingly. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- Phil Davis From bobsneidar at iotecdigital.com Mon Apr 22 12:59:07 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 22 Apr 2019 16:59:07 +0000 Subject: button ICON In-Reply-To: References: <7D56D2DC-7951-4A43-9258-234976DB0EBA@hyperhh.de> Message-ID: As an added technique, if you have a single folder containing all your images, and your buttons already point to the image file for reference, you can "skin" your applications by simply swapping out the image folder with a different set of images with the same names, then reloading your stack. Bob S > On Apr 22, 2019, at 09:32 , Phil Davis via use-livecode wrote: > > Thanks hh - I concur. Your approach seems cleaner. > Phil > > > On 4/22/19 9:20 AM, hh via use-livecode wrote: >> As Phil said, but don't set the text of the (empty) image >> used as icon of the button but set the filename of the image. >> >> The icon will change accordingly. From ambassador at fourthworld.com Mon Apr 22 14:05:12 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Apr 2019 11:05:12 -0700 Subject: "do as 'LiveCode Server'"? Message-ID: Over the years I've had many occasions where I would have loved to have something like bash's heredoc, a way of putting a block of text within code but without the encumbrance of concatenation, as requested here: https://quality.livecode.com/show_bug.cgi?id=17471 Another option is to turn the problem inside-out, in which we have a block of text in which we can sprinkle LiveCode commands. Superficially, we have this now with the merge function. But the merge function has many limitations, such as no means of using conditionals or loops with text blocks between those elements. However, LiveCode Server has no such limitation. You can write: Here's some text Here's some other text It would be ideal to have the merge function outfitted with this sort of logic handling, but there may be backwards-compatibility issues I'm not thinking of. So maybe at a minimum we could have some other means of using LC Server's powerful ability to mix text and code together, with something like: do tVarContainingLCServerCompatibleText as "LiveCode Server" Thoughts? -- Richard Gaskin Fourth World Systems From stephen at barncard.com Mon Apr 22 14:11:12 2019 From: stephen at barncard.com (Stephen Barncard) Date: Mon, 22 Apr 2019 11:11:12 -0700 Subject: button ICON In-Reply-To: References: <7D56D2DC-7951-4A43-9258-234976DB0EBA@hyperhh.de> Message-ID: and there can't be a 'name' of a graphic? That would solve the problems! I thought I tried this once and it worked. sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Mon, Apr 22, 2019 at 9:59 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > As an added technique, if you have a single folder containing all your > images, and your buttons already point to the image file for reference, you > can "skin" your applications by simply swapping out the image folder with a > different set of images with the same names, then reloading your stack. > > Bob S > > > > On Apr 22, 2019, at 09:32 , Phil Davis via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Thanks hh - I concur. Your approach seems cleaner. > > Phil > > > > > > On 4/22/19 9:20 AM, hh via use-livecode wrote: > >> As Phil said, but don't set the text of the (empty) image > >> used as icon of the button but set the filename of the image. > >> > >> The icon will change accordingly. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Apr 22 14:12:14 2019 From: stephen at barncard.com (Stephen Barncard) Date: Mon, 22 Apr 2019 11:12:14 -0700 Subject: button ICON In-Reply-To: References: <7D56D2DC-7951-4A43-9258-234976DB0EBA@hyperhh.de> Message-ID: .. or is that what is new in V9x? -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Mon, Apr 22, 2019 at 11:11 AM Stephen Barncard wrote: > and there can't be a 'name' of a graphic? That would solve the problems! > I thought I tried this once and it worked. > sqb > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > > On Mon, Apr 22, 2019 at 9:59 AM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> As an added technique, if you have a single folder containing all your >> images, and your buttons already point to the image file for reference, you >> can "skin" your applications by simply swapping out the image folder with a >> different set of images with the same names, then reloading your stack. >> >> Bob S >> >> >> > On Apr 22, 2019, at 09:32 , Phil Davis via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > Thanks hh - I concur. Your approach seems cleaner. >> > Phil >> > >> > >> > On 4/22/19 9:20 AM, hh via use-livecode wrote: >> >> As Phil said, but don't set the text of the (empty) image >> >> used as icon of the button but set the filename of the image. >> >> >> >> The icon will change accordingly. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Apr 22 14:31:06 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Apr 2019 11:31:06 -0700 Subject: Livecode & prestashop In-Reply-To: <643b49b8e7a4eb7023cb742fc636f968@souslelogo.com> References: <643b49b8e7a4eb7023cb742fc636f968@souslelogo.com> Message-ID: <8be00edb-4c33-3172-ae9e-a20d3f891899@fourthworld.com> jbv wrote: > Is there any connexion between LC and e-commerce frameworks > like Prestashop ? I thought I've seen a thread about something > like that a couple of years ago on this very list but can't > retrieve it, and searching the archives is not an easy task... > Long story short, a friend of mine is working on a website > with prestashop, and needs a specific module. I was wondering > if I could build it with LC, export it as html5 and use it as > a prestashop plug-in... > Any advice ? I know of at least one developer using the current version of LC's HTML export to deliver a product. But it's a fairly specialized case in terms of business needs, so while it seems to be a good fit there I would hesitate to suggest it as a general alternative to native web development. It still *may* be a good fit for what you have in mind, but of course that would depend on the specifics of what you're envisioning. LC's HTML export relies on a JavaScript library created by translating most of the LC engine's C++ code base via Emscripten, and then using the HTML canvas object similarly to how it uses a window content region on the desktop. The result is that it requires what is effectively the entire LC engine (in JS form) to be downloaded before the page can be rendered. And it means that we have an interpreted language being interpreted within an interpreted language, resulting in performance that may not be bad but in many cases doesn't match what we're accustomed to on the desktop. Moreover, being somewhat self-contained within this JS version of the engine and the canvas object, many things we take for granted in web development require re-thinking, where they can be done at all. For example, in an HTML page we just use an tag to link to another page. But LC has no native understanding of HTML tags, and requires scripting to handle those. In other cases, there are capabilities in the desktop that for good reason don't exist within the confines of a browser, such as arbitrary file access, registry manipulation, and more. And responsive design for a great experience on screens of all sizes is much easier in many layouts with CSS rather than LC. For example, the features provided in CSS3's Grid and FlexBox are pretty easy to learn and use, but would require hundreds of lines of LC code to attempt to emulate. Bottom line: If the module you're imagining has substantial features that would be costly to implement in native HTML/CSS/JS, - and - ...the audience is already dedicated enough to what you're delivering that a wait time of between 20 and 60 seconds to load the JS lib LC engine (depending on network factors, CPU, etc.) would not be prohibitive, ...then LC's HTML export may be a good fit. For other cases I tend to favor native web development. It's gotten so much easier with CSS3 that it's sometimes even fun. When WebAssembler becomes universally adopted, and as network speeds continue to increase along with CPU, things may tilt the other direction. But even then, those changes will mean native web apps will run even faster too, so the Emscripten method may at best become viable for a broader range of applications but for most is likely to remain a second choice to native web development. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jjs at krutt.org Mon Apr 22 12:35:12 2019 From: jjs at krutt.org (JJS) Date: Mon, 22 Apr 2019 18:35:12 +0200 Subject: Livecode & prestashop In-Reply-To: <8be00edb-4c33-3172-ae9e-a20d3f891899@fourthworld.com> References: <643b49b8e7a4eb7023cb742fc636f968@souslelogo.com> <8be00edb-4c33-3172-ae9e-a20d3f891899@fourthworld.com> Message-ID: Just like foor Joomla there is an API. And there also is for prestashop which you could use to communicate with database and plugins i guess: http://doc.prestashop.com/display/PS16/Developer+tutorials Op 22-4-2019 om 20:31 schreef Richard Gaskin via use-livecode: > jbv wrote: > > > Is there any connexion between LC and e-commerce frameworks > > like Prestashop ? I thought I've seen a thread about something > > like that a couple of years ago on this very list but can't > > retrieve it, and searching the archives is not an easy task... > > Long story short, a friend of mine is working on a website > > with prestashop, and needs a specific module. I was wondering > > if I could build it with LC, export it as html5 and use it as > > a prestashop plug-in... > > Any advice ? > > I know of at least one developer using the current version of LC's > HTML export to deliver a product.? But it's a fairly specialized case > in terms of business needs, so while it seems to be a good fit there I > would hesitate to suggest it as a general alternative to native web > development. > > It still *may* be a good fit for what you have in mind, but of course > that would depend on the specifics of what you're envisioning. > > LC's HTML export relies on a JavaScript library created by translating > most of the LC engine's C++ code base via Emscripten, and then using > the HTML canvas object similarly to how it uses a window content > region on the desktop. > > The result is that it requires what is effectively the entire LC > engine (in JS form) to be downloaded before the page can be rendered. > > And it means that we have an interpreted language being interpreted > within an interpreted language, resulting in performance that may not > be bad but in many cases doesn't match what we're accustomed to on the > desktop. > > Moreover, being somewhat self-contained within this JS version of the > engine and the canvas object, many things we take for granted in web > development require re-thinking, where they can be done at all. > > For example, in an HTML page we just use an tag to link to another > page.? But LC has no native understanding of HTML tags, and requires > scripting to handle those. > > In other cases, there are capabilities in the desktop that for good > reason don't exist within the confines of a browser, such as arbitrary > file access, registry manipulation, and more. > > And responsive design for a great experience on screens of all sizes > is much easier in many layouts with CSS rather than LC.? For example, > the features provided in CSS3's Grid and FlexBox are pretty easy to > learn and use, but would require hundreds of lines of LC code to > attempt to emulate. > > Bottom line: > > If the module you're imagining has substantial features that would be > costly to implement in native HTML/CSS/JS, > > - and - > > ...the audience is already dedicated enough to what you're delivering > that a wait time of between 20 and 60 seconds to load the JS lib LC > engine (depending on network factors, CPU, etc.) would not be > prohibitive, > > ...then LC's HTML export may be a good fit. > > For other cases I tend to favor native web development. It's gotten so > much easier with CSS3 that it's sometimes even fun. > > When WebAssembler becomes universally adopted, and as network speeds > continue to increase along with CPU, things may tilt the other > direction.? But even then, those changes will mean native web apps > will run even faster too, so the Emscripten method may at best become > viable for a broader range of applications but for most is likely to > remain a second choice to native web development. > From General.2018 at outlook.com Mon Apr 22 15:42:19 2019 From: General.2018 at outlook.com (General 2018) Date: Mon, 22 Apr 2019 19:42:19 +0000 Subject: Open Printing to PDF Message-ID: Hi , I have 3 separate stacks each containing the same code for printing to pdf. One of those stacks will not open printing to pdf in dev or runtime. The other 2 work fine - Head scratching ?? All items are in the same path / folder. Regards Camm From scott at elementarysoftware.com Mon Apr 22 20:10:12 2019 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 22 Apr 2019 17:10:12 -0700 Subject: Open Printing to PDF In-Reply-To: References: Message-ID: <6FB41D17-628C-4563-A187-E3657C42A537@elementarysoftware.com> Hello Camm, Are they all printing the same text? If I recall correctly, Open Printing to PDF is where the fail occurs when certain Unicode characters are encountered. Emojis are one example where characters will render in a field but not print to a PDF. Hmmm... I wasn?t able to turn up a bug report number but I?m pretty confident that the problem exists -- Scott Morrow > On Apr 22, 2019, at 12:42 PM, General 2018 via use-livecode wrote: > > Hi , > > I have 3 separate stacks each containing the same code for printing to pdf. > > One of those stacks will not open printing to pdf in dev or runtime. The other 2 work fine - Head scratching ?? > > All items are in the same path / folder. > > Regards > Camm > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 23 08:56:04 2019 From: dunbarx at aol.com (dunbarxx) Date: Tue, 23 Apr 2019 07:56:04 -0500 (CDT) Subject: Open Printing to PDF In-Reply-To: <6FB41D17-628C-4563-A187-E3657C42A537@elementarysoftware.com> References: <6FB41D17-628C-4563-A187-E3657C42A537@elementarysoftware.com> Message-ID: <1556024164411-0.post@n4.nabble.com> Hi. Are you saying the "open printing to pdf" command itself does not work, or that you get blank output? In other words, in the stack that does NOT work, what happens if you: open printing to pdf "yourFilePathHere/xxx.pdf" revPrintText "Hello world" close printing This will eliminate any of the issues Scott mentioned, since you are using simple text. But does a pdf appear on the desktop, and does it contain "Hello World"? Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From brahma at hindu.org Tue Apr 23 09:00:42 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 23 Apr 2019 13:00:42 +0000 Subject: "do as 'LiveCode Server'"? In-Reply-To: References: Message-ID: <46260A1F-E774-4298-B735-070E653B243E@hindu.org> Agreed that this would have "serious" positive benefits. I imagine at least one use case where input at the UX/UI level would fork the "narrative" response from your script in different directions. It would be so easy to write! BR Richard Gaskin You can write: Here's some text Here's some other text It would be ideal to have the merge function outfitted with this sort of logic handling, but there may be backwards-compatibility issues I'm not thinking of. From panos.merakos at livecode.com Tue Apr 23 10:45:47 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 23 Apr 2019 17:45:47 +0300 Subject: [ANN] This Week in LiveCode 175 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 #175 here: http://bit.ly/2Vf7ILv This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From bobsneidar at iotecdigital.com Tue Apr 23 11:06:02 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 23 Apr 2019 15:06:02 +0000 Subject: specialFolderPath("preferences") returns empty on Windows??? Message-ID: <164A9288-24CE-47A7-BB9F-ABF25A8A9BA4@iotecdigital.com> Hi all. Subject line says it all. On Mac it returns for me: "/Users/bobsneidar/Library/Preferences" I copy/paste the command into LC for Windows message box it returns empty! That explains why my preferences are not working for Windows!!! Bob S From bobsneidar at iotecdigital.com Tue Apr 23 11:06:42 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 23 Apr 2019 15:06:42 +0000 Subject: specialFolderPath("preferences") returns empty on Windows??? In-Reply-To: <164A9288-24CE-47A7-BB9F-ABF25A8A9BA4@iotecdigital.com> References: <164A9288-24CE-47A7-BB9F-ABF25A8A9BA4@iotecdigital.com> Message-ID: Sorry, Win 7 and LC 9.0.2 > On Apr 23, 2019, at 08:06 , Bob Sneidar wrote: > > Hi all. Subject line says it all. On Mac it returns for me: "/Users/bobsneidar/Library/Preferences" > > I copy/paste the command into LC for Windows message box it returns empty! That explains why my preferences are not working for Windows!!! > > Bob S > From bobsneidar at iotecdigital.com Tue Apr 23 11:08:36 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 23 Apr 2019 15:08:36 +0000 Subject: specialFolderPath("preferences") returns empty on Windows??? In-Reply-To: References: <164A9288-24CE-47A7-BB9F-ABF25A8A9BA4@iotecdigital.com> Message-ID: <81A11B55-1898-43BB-A6A1-CFB4945892ED@iotecdigital.com> NVM I just read further. Preferences is not one I can use for Windows. Bob S > On Apr 23, 2019, at 08:06 , Bob Sneidar via use-livecode wrote: > > Sorry, Win 7 and LC 9.0.2 > > >> On Apr 23, 2019, at 08:06 , Bob Sneidar wrote: >> >> Hi all. Subject line says it all. On Mac it returns for me: "/Users/bobsneidar/Library/Preferences" >> >> I copy/paste the command into LC for Windows message box it returns empty! That explains why my preferences are not working for Windows!!! >> >> 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 General.2018 at outlook.com Tue Apr 23 13:50:10 2019 From: General.2018 at outlook.com (General 2018) Date: Tue, 23 Apr 2019 17:50:10 +0000 Subject: Open Printing to PDF In-Reply-To: <1556024164411-0.post@n4.nabble.com> References: <6FB41D17-628C-4563-A187-E3657C42A537@elementarysoftware.com> <1556024164411-0.post@n4.nabble.com> Message-ID: Scott , Craig It would not save the pdf and the text was different for each stack. The failing stack had ">" within the text , once removed the pdf saved !! cheers guys . Is this a bug ? Regards Cam -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of dunbarxx via use-livecode Sent: 23 April 2019 13:56 To: use-revolution at lists.runrev.com Cc: dunbarxx Subject: Re: Open Printing to PDF Hi. Are you saying the "open printing to pdf" command itself does not work, or that you get blank output? In other words, in the stack that does NOT work, what happens if you: open printing to pdf "yourFilePathHere/xxx.pdf" revPrintText "Hello world" close printing This will eliminate any of the issues Scott mentioned, since you are using simple text. But does a pdf appear on the desktop, and does it contain "Hello World"? Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From General.2018 at outlook.com Tue Apr 23 14:00:11 2019 From: General.2018 at outlook.com (General 2018) Date: Tue, 23 Apr 2019 18:00:11 +0000 Subject: Open Printing to PDF In-Reply-To: References: <6FB41D17-628C-4563-A187-E3657C42A537@elementarysoftware.com> <1556024164411-0.post@n4.nabble.com> Message-ID: Not a bug - my fault !! The part of the heading text for the pdf is used for the saved filename which cannot be ">" ! of course ....... The issue was the file save naming not open printing to pdf command , your replies made me look for odd characters. Regards Cam -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of General 2018 via use-livecode Sent: 23 April 2019 18:50 To: How to use LiveCode Cc: General 2018 Subject: Open Printing to PDF Scott , Craig It would not save the pdf and the text was different for each stack. The failing stack had ">" within the text , once removed the pdf saved !! cheers guys . Is this a bug ? Regards Cam -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of dunbarxx via use-livecode Sent: 23 April 2019 13:56 To: use-revolution at lists.runrev.com Cc: dunbarxx Subject: Re: Open Printing to PDF Hi. Are you saying the "open printing to pdf" command itself does not work, or that you get blank output? In other words, in the stack that does NOT work, what happens if you: open printing to pdf "yourFilePathHere/xxx.pdf" revPrintText "Hello world" close printing This will eliminate any of the issues Scott mentioned, since you are using simple text. But does a pdf appear on the desktop, and does it contain "Hello World"? Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Apr 23 14:24:24 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 23 Apr 2019 18:24:24 +0000 Subject: Open Printing to PDF In-Reply-To: References: <6FB41D17-628C-4563-A187-E3657C42A537@elementarysoftware.com> <1556024164411-0.post@n4.nabble.com> Message-ID: <992DC16A-98C2-4AEC-9A62-8C461445596F@iotecdigital.com> This may help to clean up all kinds of badness in text used for a number of things: function cleanASCII pString, pModeList, pCustomList /* pModeList is a comma delimited list that may contain the following values: "lowercase,uppercase,numbers,tabs,newlines,returns,spaces,symbols,custom" If custom is used, then a third paramaeter containing allowed characters must be supplied. sample: put cleanASCII("This is a test!<>?", "uppercase,lowercase", "?" returns: "This is a test?" */ if pModeList is empty then put " 0-9a-zA-Z" into tAllowedChars end if repeat for each item pMode in pModeList put word 1 of pMode into pMode switch break case "tabs" is in pMode put "\t" after tAllowedChars break case "newlines" is in pMode put "\n" before tAllowedChars break case "returns" is in pMode put "\r" before tAllowedChars -- currently not working break case "spaces" is in pMode put " " after tAllowedChars break case "numbers" is in pMode put "0-9" after tAllowedChars break case "lowercase" is in pMode put "a-z" after tAllowedChars break case "uppercase" is in pMode put "A-Z" after tAllowedChars break case "symbols" is in pMode put "!#$%&'()*+,./:;<=>?@[\\_`{|}~^-" after tAllowedChars break case pMode is "custom" put pCustomList after tAllowedChars break end switch end repeat put "[" & tAllowedChars & "]" into tMatchText repeat for each character theChar in pString if matchtext(theChar, tMatchText) is true then put theChar after cleanString end if end repeat return cleanString end cleanASCII > On Apr 23, 2019, at 11:00 , General 2018 via use-livecode wrote: > > Not a bug - my fault !! > > The part of the heading text for the pdf is used for the saved filename which cannot be ">" ! of course ....... > > The issue was the file save naming not open printing to pdf command , your replies made me look for odd characters. > > Regards > Cam From ambassador at fourthworld.com Tue Apr 23 14:25:16 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 23 Apr 2019 11:25:16 -0700 Subject: specialFolderPath("preferences") returns empty on Windows??? In-Reply-To: <81A11B55-1898-43BB-A6A1-CFB4945892ED@iotecdigital.com> References: <81A11B55-1898-43BB-A6A1-CFB4945892ED@iotecdigital.com> Message-ID: <160ec6fc-f1fa-6c49-989b-d2b26b711692@fourthworld.com> Bob Sneidar wrote: > NVM I just read further. Preferences is not one I can use for Windows. The bad news is that, as you've discovered, Windows has no "Preferences" folder per se. The good news is that it does have a commonly-used place for that sort of thing, and that LC's specialFolderPath function allows passing in OS constants for all sorts of things. In your case try specialFolderPath(26) Others are documented here, where Ken Ray took the time to explore as many as he could find on Mac and Windows at the time: http://www.sonsothunder.com/devres/livecode/tips/file010.htm -- 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 General.2018 at outlook.com Tue Apr 23 14:35:00 2019 From: General.2018 at outlook.com (General 2018) Date: Tue, 23 Apr 2019 18:35:00 +0000 Subject: Open Printing to PDF In-Reply-To: <992DC16A-98C2-4AEC-9A62-8C461445596F@iotecdigital.com> References: <6FB41D17-628C-4563-A187-E3657C42A537@elementarysoftware.com> <1556024164411-0.post@n4.nabble.com> <992DC16A-98C2-4AEC-9A62-8C461445596F@iotecdigital.com> Message-ID: Very nice ! -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: 23 April 2019 19:24 To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Open Printing to PDF This may help to clean up all kinds of badness in text used for a number of things: function cleanASCII pString, pModeList, pCustomList /* pModeList is a comma delimited list that may contain the following values: "lowercase,uppercase,numbers,tabs,newlines,returns,spaces,symbols,custom" If custom is used, then a third paramaeter containing allowed characters must be supplied. sample: put cleanASCII("This is a test!<>?", "uppercase,lowercase", "?" returns: "This is a test?" */ if pModeList is empty then put " 0-9a-zA-Z" into tAllowedChars end if repeat for each item pMode in pModeList put word 1 of pMode into pMode switch break case "tabs" is in pMode put "\t" after tAllowedChars break case "newlines" is in pMode put "\n" before tAllowedChars break case "returns" is in pMode put "\r" before tAllowedChars -- currently not working break case "spaces" is in pMode put " " after tAllowedChars break case "numbers" is in pMode put "0-9" after tAllowedChars break case "lowercase" is in pMode put "a-z" after tAllowedChars break case "uppercase" is in pMode put "A-Z" after tAllowedChars break case "symbols" is in pMode put "!#$%&'()*+,./:;<=>?@[\\_`{|}~^-" after tAllowedChars break case pMode is "custom" put pCustomList after tAllowedChars break end switch end repeat put "[" & tAllowedChars & "]" into tMatchText repeat for each character theChar in pString if matchtext(theChar, tMatchText) is true then put theChar after cleanString end if end repeat return cleanString end cleanASCII > On Apr 23, 2019, at 11:00 , General 2018 via use-livecode wrote: > > Not a bug - my fault !! > > The part of the heading text for the pdf is used for the saved filename which cannot be ">" ! of course ....... > > The issue was the file save naming not open printing to pdf command , your replies made me look for odd characters. > > Regards > Cam _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Apr 23 16:12:04 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 23 Apr 2019 20:12:04 +0000 Subject: Open Printing to PDF In-Reply-To: <992DC16A-98C2-4AEC-9A62-8C461445596F@iotecdigital.com> References: <6FB41D17-628C-4563-A187-E3657C42A537@elementarysoftware.com> <1556024164411-0.post@n4.nabble.com> <992DC16A-98C2-4AEC-9A62-8C461445596F@iotecdigital.com> Message-ID: That should read: sample: put cleanASCII("This is a test!<>?", "uppercase,lowercase,custom", "?" > On Apr 23, 2019, at 11:24 , Bob Sneidar via use-livecode wrote: > > sample: put cleanASCII("This is a test!<>?", "uppercase,lowercase", "?" From bobsneidar at iotecdigital.com Tue Apr 23 16:13:51 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 23 Apr 2019 20:13:51 +0000 Subject: Open Printing to PDF In-Reply-To: References: <6FB41D17-628C-4563-A187-E3657C42A537@elementarysoftware.com> <1556024164411-0.post@n4.nabble.com> <992DC16A-98C2-4AEC-9A62-8C461445596F@iotecdigital.com> Message-ID: Not all my doing. Got help from a number of people on this list who I am too senile to recall now. ;-) Bob S > On Apr 23, 2019, at 11:35 , General 2018 via use-livecode wrote: > > Very nice ! > From alex at tweedly.net Tue Apr 23 19:01:48 2019 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 24 Apr 2019 00:01:48 +0100 Subject: Seeking philosophical guidance on library interface design. Message-ID: Hi folks, I'm building a library (which I plan to release as Open Source), and I'm having trouble trying to decide which approach to take with default values. The library is to produce XY graphs (charts). An app which is using it will provide one or more sets of data to be plotted. The app can also *optionally* provide additional parameters, such as ?- display tick-marks on each axis ?- display grid lines along each axis ?- label the ticks / grids (e.g. display label every 5 ticks) etc. Without going into each one of them, there is an overall "phlosophy" chioce A - should the default be that the produced graph be simple (e.g. no ticks, no labels, etc.) or B? - should the default be to try to find reasonable / possible values (e.g. set a value for ticks such that they appear, say, more than 10 pixels apart, but less than 100 pixels apart; that you label every 2nd-5th tick, ...) A is appealing because it means that the library isn't making guesses, often dumb guesses, on your behalf; you see a blank, sparse graph, and can then, as app developer, provide additional parameters to supply info you think will help. But it is unappealing because the graphs are just *so* empty by default. B is appealing because it feels like it is being helpful, and will (try to) produce a reasonable looking graph as best it can. So - I'd welcome any suggestions, comments, design philosophy ideas ? Thanks Alex. From bobsneidar at iotecdigital.com Tue Apr 23 19:19:30 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 23 Apr 2019 23:19:30 +0000 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: References: Message-ID: My thinking is to ask what visual impact if any would having the extra attributes have? Is there a scenario where the graphs would be created so small that the extras would be visually unappealing? Also, I think less to start with is better, because adding more features makes the end user feel like he's getting a bonus! Bob S > On Apr 23, 2019, at 16:01 , Alex Tweedly via use-livecode wrote: > > Hi folks, > > I'm building a library (which I plan to release as Open Source), and I'm having trouble trying to decide which approach to take with default values. > > The library is to produce XY graphs (charts). An app which is using it will provide one or more sets of data to be plotted. The app can also *optionally* provide additional parameters, such as > > - display tick-marks on each axis > > - display grid lines along each axis > > - label the ticks / grids (e.g. display label every 5 ticks) > > etc. > > Without going into each one of them, there is an overall "phlosophy" chioce > > A - should the default be that the produced graph be simple (e.g. no ticks, no labels, etc.) > > or > > B - should the default be to try to find reasonable / possible values (e.g. set a value for ticks such that they appear, say, more than 10 pixels apart, but less than 100 pixels apart; that you label every 2nd-5th tick, ...) > > A is appealing because it means that the library isn't making guesses, often dumb guesses, on your behalf; you see a blank, sparse graph, and can then, as app developer, provide additional parameters to supply info you think will help. But it is unappealing because the graphs are just *so* empty by default. > > B is appealing because it feels like it is being helpful, and will (try to) produce a reasonable looking graph as best it can. > > > So - I'd welcome any suggestions, comments, design philosophy ideas ? > > Thanks > > Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Apr 23 21:14:41 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 23 Apr 2019 18:14:41 -0700 Subject: specialFolderPath("preferences") returns empty on Windows??? In-Reply-To: <160ec6fc-f1fa-6c49-989b-d2b26b711692@fourthworld.com> References: <81A11B55-1898-43BB-A6A1-CFB4945892ED@iotecdigital.com> <160ec6fc-f1fa-6c49-989b-d2b26b711692@fourthworld.com> Message-ID: <6f9b2509-4c83-f4d2-f877-3b3a0ca49ccb@sonic.net> On 4/23/19 11:25 AM, Richard Gaskin via use-livecode wrote: > Bob Sneidar wrote: > > > NVM I just read further. Preferences is not one I can use for Windows. > > The bad news is that, as you've discovered, Windows has no "Preferences" > folder per se. > > The good news is that it does have a commonly-used place for that sort > of thing, and that LC's specialFolderPath function allows passing in OS > constants for all sorts of things. > > In your case try specialFolderPath(26) > > Others are documented here, where Ken Ray took the time to explore as > many as he could find on Mac and Windows at the time: > > http://www.sonsothunder.com/devres/livecode/tips/file010.htm > Some reason why specialFolderPath("preferences") on Windows doesn't just return the value for specialFolderPath(26)? Yeah... I know... it would be a synonym and we can't have those, but sheesh... -- Mark Wieder ahsoftware at gmail.com From tom at makeshyft.com Tue Apr 23 22:22:50 2019 From: tom at makeshyft.com (Tom Glod) Date: Tue, 23 Apr 2019 22:22:50 -0400 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: References: Message-ID: interesting thread. sounds like a useful library. * watching * thanks Alex On Tue, Apr 23, 2019 at 7:19 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > My thinking is to ask what visual impact if any would having the extra > attributes have? Is there a scenario where the graphs would be created so > small that the extras would be visually unappealing? Also, I think less to > start with is better, because adding more features makes the end user feel > like he's getting a bonus! > > Bob S > > > > On Apr 23, 2019, at 16:01 , Alex Tweedly via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi folks, > > > > I'm building a library (which I plan to release as Open Source), and I'm > having trouble trying to decide which approach to take with default values. > > > > The library is to produce XY graphs (charts). An app which is using it > will provide one or more sets of data to be plotted. The app can also > *optionally* provide additional parameters, such as > > > > - display tick-marks on each axis > > > > - display grid lines along each axis > > > > - label the ticks / grids (e.g. display label every 5 ticks) > > > > etc. > > > > Without going into each one of them, there is an overall "phlosophy" > chioce > > > > A - should the default be that the produced graph be simple (e.g. no > ticks, no labels, etc.) > > > > or > > > > B - should the default be to try to find reasonable / possible values > (e.g. set a value for ticks such that they appear, say, more than 10 pixels > apart, but less than 100 pixels apart; that you label every 2nd-5th tick, > ...) > > > > A is appealing because it means that the library isn't making guesses, > often dumb guesses, on your behalf; you see a blank, sparse graph, and can > then, as app developer, provide additional parameters to supply info you > think will help. But it is unappealing because the graphs are just *so* > empty by default. > > > > B is appealing because it feels like it is being helpful, and will (try > to) produce a reasonable looking graph as best it can. > > > > > > So - I'd welcome any suggestions, comments, design philosophy ideas ? > > > > Thanks > > > > Alex. > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Tue Apr 23 22:40:44 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 23 Apr 2019 19:40:44 -0700 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: References: Message-ID: <62b0be01-533a-491f-d666-01168acac670@sonic.net> On 4/23/19 4:19 PM, Bob Sneidar via use-livecode wrote: > My thinking is to ask what visual impact if any would having the extra attributes have? Is there a scenario where the graphs would be created so small that the extras would be visually unappealing? Also, I think less to start with is better, because adding more features makes the end user feel like he's getting a bonus! I agree that I would go with option A for the default. But I'd also have somewhere a "fill in some reasonable defaults for me" checkbox as the next step toward fully customizing the output. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Tue Apr 23 22:48:02 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 23 Apr 2019 19:48:02 -0700 Subject: specialFolderPath("preferences") returns empty on Windows??? In-Reply-To: <6f9b2509-4c83-f4d2-f877-3b3a0ca49ccb@sonic.net> References: <6f9b2509-4c83-f4d2-f877-3b3a0ca49ccb@sonic.net> Message-ID: <76bae3c9-baf3-4832-b470-9f5f6f2c5718@fourthworld.com> Mark Wieder wrote: > On 4/23/19 11:25 AM, Richard Gaskin via use-livecode wrote: >> Bob Sneidar wrote: >> >> > NVM I just read further. Preferences is not one I can use for Windows. >> >> The bad news is that, as you've discovered, Windows has no "Preferences" >> folder per se. >> >> The good news is that it does have a commonly-used place for that sort >> of thing, and that LC's specialFolderPath function allows passing in OS >> constants for all sorts of things. >> >> In your case try specialFolderPath(26) >> >> Others are documented here, where Ken Ray took the time to explore as >> many as he could find on Mac and Windows at the time: >> >> http://www.sonsothunder.com/devres/livecode/tips/file010.htm >> > > Some reason why specialFolderPath("preferences") on Windows doesn't just > return the value for specialFolderPath(26)? Yeah... I know... it would > be a synonym and we can't have those, but sheesh... It seems a philosophical problem: though a folder exists for the same purpose, it isn't "Preferences". I'm with you, though: ease of use > literal linguistic purity. -- 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 Apr 23 23:00:47 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 23 Apr 2019 20:00:47 -0700 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: References: Message-ID: <0037b556-a96a-8a82-a755-436ea425e1ff@fourthworld.com> R is among the world's most popular tools for this. When in doubt, following their proven popular designs would seem a good bet. R's plot function is a thing of beauty. Their default is to produce the most commonly-used result. You can even pass nothing but data to it and get a very useful result. Using named vars (which in LC may make more sense as an array), each arg you add to the call overrides one of those defaults. The range of options is vast. No one expects you to even attempt them all of course, but if you adopt this model it may make it easier for others to add property overrides as needed. To get you started, their docs and a brief tutorial: plot function | R Documentation https://www.rdocumentation.org/packages/graphics/versions/3.5.3/topics/plot Producing Simple Graphs with R https://www.rdocumentation.org/packages/graphics/versions/3.5.3/topics/plot -- Richard Gaskin Fourth World Systems Alex Tweedly wrote: > I'm building a library (which I plan to release as Open Source), and I'm > having trouble trying to decide which approach to take with default values. > > The library is to produce XY graphs (charts). An app which is using it > will provide one or more sets of data to be plotted. The app can also > *optionally* provide additional parameters, such as > > - display tick-marks on each axis > > - display grid lines along each axis > > - label the ticks / grids (e.g. display label every 5 ticks) > > etc. > > Without going into each one of them, there is an overall "phlosophy" chioce > > A - should the default be that the produced graph be simple (e.g. no > ticks, no labels, etc.) > > or > > B - should the default be to try to find reasonable / possible values > (e.g. set a value for ticks such that they appear, say, more than 10 > pixels apart, but less than 100 pixels apart; that you label every > 2nd-5th tick, ...) > > A is appealing because it means that the library isn't making guesses, > often dumb guesses, on your behalf; you see a blank, sparse graph, and > can then, as app developer, provide additional parameters to supply info > you think will help. But it is unappealing because the graphs are just > *so* empty by default. > > B is appealing because it feels like it is being helpful, and will (try > to) produce a reasonable looking graph as best it can. > > > So - I'd welcome any suggestions, comments, design philosophy ideas ? > > Thanks > > Alex. > From prothero at earthlearningsolutions.org Wed Apr 24 09:54:41 2019 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Wed, 24 Apr 2019 06:54:41 -0700 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: References: Message-ID: Alex, A great idea! I do a lot of plotting and would find this kind of library very useful. I would need it to be able to determine some reasonable default values for plot axes, but also to be able to set them. The plot label and axis labels need to be settable. Also, there could be histogram type plots or x/y plots where plot points are from x/y data. Lots of kinds. Symbols could be plotted at data points or lines, or lines with symbols. Also useful would be a message that sends the x,y data values as the mouse moves over it. That way it would be possible for me to build a little window that gives me data values and other information as needed. Perhaps it could be clicked on and off with a checkbox. I?d be glad to give feedback as you set specs. Best, Bill William Prothero http://es.earthednet.org > On Apr 23, 2019, at 4:01 PM, Alex Tweedly via use-livecode wrote: > > Hi folks, > > I'm building a library (which I plan to release as Open Source), and I'm having trouble trying to decide which approach to take with default values. > > The library is to produce XY graphs (charts). An app which is using it will provide one or more sets of data to be plotted. The app can also *optionally* provide additional parameters, such as > > - display tick-marks on each axis > > - display grid lines along each axis > > - label the ticks / grids (e.g. display label every 5 ticks) > > etc. > > Without going into each one of them, there is an overall "phlosophy" chioce > > A - should the default be that the produced graph be simple (e.g. no ticks, no labels, etc.) > > or > > B - should the default be to try to find reasonable / possible values (e.g. set a value for ticks such that they appear, say, more than 10 pixels apart, but less than 100 pixels apart; that you label every 2nd-5th tick, ...) > > A is appealing because it means that the library isn't making guesses, often dumb guesses, on your behalf; you see a blank, sparse graph, and can then, as app developer, provide additional parameters to supply info you think will help. But it is unappealing because the graphs are just *so* empty by default. > > B is appealing because it feels like it is being helpful, and will (try to) produce a reasonable looking graph as best it can. > > > So - I'd welcome any suggestions, comments, design philosophy ideas ? > > Thanks > > Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Wed Apr 24 11:44:53 2019 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Wed, 24 Apr 2019 08:44:53 -0700 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: References: Message-ID: <7532B466-A914-44CD-8CD1-082178EE9647@earthlearningsolutions.org> For clarification, when I said ?many kinds? in my previous post, I meant to be referring to the kinds of plots, not the symbol for the data. Best, Bill William Prothero http://es.earthednet.org > On Apr 24, 2019, at 6:54 AM, prothero--- via use-livecode wrote: > > Alex, > A great idea! I do a lot of plotting and would find this kind of library very useful. I would need it to be able to determine some reasonable default values for plot axes, but also to be able to set them. The plot label and axis labels need to be settable. Also, there could be histogram type plots or x/y plots where plot points are from x/y data. Lots of kinds. Symbols could be plotted at data points or lines, or lines with symbols. > > Also useful would be a message that sends the x,y data values as the mouse moves over it. That way it would be possible for me to build a little window that gives me data values and other information as needed. Perhaps it could be clicked on and off with a checkbox. > > I?d be glad to give feedback as you set specs. > Best, > Bill > > William Prothero > http://es.earthednet.org > >> On Apr 23, 2019, at 4:01 PM, Alex Tweedly via use-livecode wrote: >> >> Hi folks, >> >> I'm building a library (which I plan to release as Open Source), and I'm having trouble trying to decide which approach to take with default values. >> >> The library is to produce XY graphs (charts). An app which is using it will provide one or more sets of data to be plotted. The app can also *optionally* provide additional parameters, such as >> >> - display tick-marks on each axis >> >> - display grid lines along each axis >> >> - label the ticks / grids (e.g. display label every 5 ticks) >> >> etc. >> >> Without going into each one of them, there is an overall "phlosophy" chioce >> >> A - should the default be that the produced graph be simple (e.g. no ticks, no labels, etc.) >> >> or >> >> B - should the default be to try to find reasonable / possible values (e.g. set a value for ticks such that they appear, say, more than 10 pixels apart, but less than 100 pixels apart; that you label every 2nd-5th tick, ...) >> >> A is appealing because it means that the library isn't making guesses, often dumb guesses, on your behalf; you see a blank, sparse graph, and can then, as app developer, provide additional parameters to supply info you think will help. But it is unappealing because the graphs are just *so* empty by default. >> >> B is appealing because it feels like it is being helpful, and will (try to) produce a reasonable looking graph as best it can. >> >> >> So - I'd welcome any suggestions, comments, design philosophy ideas ? >> >> Thanks >> >> Alex. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Apr 24 20:47:31 2019 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 25 Apr 2019 01:47:31 +0100 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: References: Message-ID: <74d4f114-5380-604c-ad0e-18757f71acbb@tweedly.net> Thanks everyone for great feedback and suggestions. Below I've included the current summary specs; currently this is all pretty much working, except for titles (which I just haven't done yet :-), and a few minor tweaks to handle improvements I've added to the spec from reading the "R" docs (thanks for that pointer Richard). I've pretty much decided to take Mark's and Bob's suggestion - but in reverse :-)? So the default will be to have default values for most parameters, and implement some kind of "intelligent" guess for those which need it (which it turns out is really only tick marks, grid lines and labelling of each of those) - but supply a single parameter which says "don't make guesses". On 24/04/2019 14:54, prothero--- via use-livecode wrote: > Also useful would be a message that sends the x,y data values as the mouse moves over it. That way it would be possible for me to build a little window that gives me data values and other information as needed. Perhaps it could be clicked on and off with a checkbox. Yeah, I've been thinking about that - but haven't yet reached any kind of solution. Need to think some more - in particular, should it try to give messages when the mouse is over any line segment ? Or only when it is over the data point at the ends of the line segments (and within the bars of a bar-chart). Anyway - here's the current spec, any further feedback welcome. btw - my aim is to release a first (beta) version before the end of April. A Graph has one or more sets of data plotted as an XY graph. There may be multiple sets of data displayed in the Y axis - but all of those share a single X-axis. There are therefore a number of parameters which can be optionally defined for the entire graph; then there are other parameters which can be set for each of the datasets to be displayed. There are two distinct Y axes - the 'normal' one plus optionally one on the right. Each dataset will describe whether it uses the right axis,? or defaults to the normal one. Global parameters ----------------- ???? XRange - specify min/max in X for drawing (i.e. USE THIS, ignore values in datasets) -- XRangeIncludes - list of x values to be included -- XFit - round limits to multiple of this ??? YRange -- YRangeIncludes, YFit - same for Y ?? YRightRange -- YRightRangeIncludes, YRightFit - same for Y on right -- Title - a title -- XGridInterval - gap (in data units) between vertical grid lines (i.e. for X valuea) --????? set to 0 (default) for no grid ?? XGridMinor - number of minor grids per major grid ??????? set to 0 (default) for no minor grid -- XTickInterval - same as XGridInterval, but for ticks. --????? 0 = no axis at all, empty = (default) axis but no tick --????? >0 = ticks at multiples of interval (0, 2, 4, ...) --????? <0 ticks at interval FROM xmin? (maybe 1, 3, 5, ...) -- -- XTickLabelSpacing : 'N' = put label at each N'th tick ... -- YTickLabelSpacing : 'N' = put label at each N'th tick ... -- backgroundcolor - color for background of the whole graph -- YGridInterval, ??YGridMinor,?? YTickInterval - as X -- YRGridInterval, ??YRGridMinor,?? YRTickInterval - as X for right side ?? XTGridInterval, XTGridMinor, XTTickInterval - as X for top side --? DataIncludesX - if TRUE, then each line of each dataset contains an X value --??????????????? - otherwise, no X values are present in the datasets, --????????????????? and this element contains (up to) two values : initial and step X values --????????????????? deault (i.e. empty) is for inital value of 0, and step value 1 -- --??????????? NB - applies to ALL datasets --? 'itemDel', 'lineDel' : replacing comma/CR for convenience -- Data - one or more datasets, numerically indexed, in bottom-to-top drawing order. Dataset Parameters ------------------ --?? name - the name --?? graphtype? one of bar, line, step, Xticklabels, Yticklabels, Xgridlabels, Ygridlabels --????????????? for "line", it can be followed by additional optional words : --?????????????????? - filled?? - fill in below this line, with fillcolor --?????????????????? - invisibe (i.e. no line segments, but still draw markers) --????????????? for "step", it can be followed by additional optional words : --?????????????????? - verticalFirst (default) or horizontalFirst --????????????????????? describe whether to go up/down then along, or along then up/down --?? Note that bar, step and line graphs can be "stacked" - i.e. there can be multiple Y values --??? producing "stacked" graphs. --?? color? : colour value, one per line for stacked charts --?? lineSize? : size (width) of the line to be drawn, one per line for stacked charts --?? fillcolor : color for the filled in polygon, one per line for stacked charts --?? fillblend : blend level for the filled polygon, one per line for stacked charts --? values - list of values for the dataset --?????????? - so either Y, or if DataIncludesX then X,Y --?????????? -??????? or Y,Y,Y,Y... or if DataIncludesX then X,Y,Y,Y,...?? - producing 'stacked' lines --??????????????????? NB these all share other values, but can have different colors --?????????? - or,? if graphtype=Xlabels then it is? 'label' or if DataIncludesX then X,Label --? 'blend' - blend level for drawing --? 'dropshadow' - put in a dropshadow --? 'YRaxis' : use the Right axis for scaling, etc. --? 'marker' : name of marker shape to use? (diamond, square, ???) --? 'markersize' : size of marker --? 'markercolor' : color for marker --? 'barDensity' :? specifies the percentage of the ratio between bar and gap ??????????????????? (e.g. 50 would say that each bar is the same size as the gap, ??????????????????? 75 would say the bar takes 3/4 of the unit width, while the gap takes the rest, etc.)_ ??????????????????? Default is 75 X Value spacing For a graph consistng only of line charts, the calculation of X_value spacing is straightforward. We calculate the spread of X data values (i.e. min to max values, plus anything specified in an 'XIncludes', and then rounded out to include anything needed for an 'XFit'). Let's call this the "virtual data range". This range of values is then scaled to cover the visual space from the Y-axis to the right-Y-axis. However, for a bar-chart, we need to allow the space for a 1/2 gap width plus a 1/2 bar width on each side of these (virtual) data values. Also, we need to allow a way to specify the 'density' of the display - i.e. how wide the bars are, and how wide the gaps between them are. And, especially in the case of DataIncludesX --? Xunit - X_unit?? (NB shared for all datasets in the whole graph) ??????? X_unit specifies the unit size (i.e. in 'source data' terms) ??????? The default is for the X_unit to be 1 (as it will be unless DataIncludesX is TRUE), while the default for barDensity is 75. Examples -------- 1. the simplest possible example. put "1:2:4:8:16:15:14:13:12:22:17:15" into temp replace ":" with CR in temp put temp into sA["data"][1]["values"] gmMakeGraph the long id of grp "mycanvas", sA 1a. same thing, using the itemDel feature. put ";" into sA["lineDel"] put "1:2:4:8:16:15:14:13:12:22:17:15" into temp put temp into sA["data"][1]["values"] gmMakeGraph the long id of grp "mycanvas", sA 2. A better example, using percentages. ?? put "0, 100" into sA["YRangeIncludes"]?? -- make sure we have full percentage range shown ?? put 5 into sA[K]["YTickInterval"]?????????? -- tick every 5, label it every 10 ?? put 2 into sA[K]["YTickLabelSpacing"] ?? put "Better line chart" into sA["title"] ?? -- first data series ?? put "1:2:4:8:16:15:14:13:12:22:17:15" into tA[1]["values"] ?? replace ":" with CR in tA[1]["values"] ?? put tA into sA[K]["data"] ?? gmMakeGraph the long id of grp "mycanvas", sA 3.? A bar + line chart, 2 data series, X values included ?? put "Simple bar & line chart" into sA["title"] ?? put TRUE into sA["DataIncludesX"] ?? put 0 into sA["YRangeIncludes"] ?? put 5 into sA["YTickInterval"] ?? put 2 into sA["YTickLabelSpacing"] ?? put 10 into sA["YGridInterval"] ?? -- first data series ?? put "1,13:3,11:4,14:7,17:8,22:9,29:12,45:13,3" into tA[1]["values"] ?? replace ":" with CR in tA[1]["values"] ?? put "bar" into tA[1]["graphtype"] ?? put "red" into tA[1]["color"] ?? -- second data series ?? put "1,4:3,12:5,7:9,5:10,23:11,7:12,33:13,9" into tA[2]["values"] ?? replace ":" with CR in tA[2]["values"] ?? put "diamond" into tA[2]["marker"] ?? put 7 into tA[2]["markersize"] ?? put "blue" into tA[2]["color"] ?? put "blue" into tA[2]["markercolor"] ?? -- third data series - not really data, but X-axis labels ?? put "Xticklabels" into tA[3]["graphtype"] ?? put "1,Jan:3,Mar:4,Apr:5,May:7,Jul:8,Aug:9,Sep:10,Oct:11,Nov:12,Dec" into tA[3]["values"] ?? replace ":" with CR in tA[3]["values"] ?? put tA into sA["data"] ?? gmMakeGraph the long id of grp "mycanvas", sA -- Alex. From ahsoftware at sonic.net Wed Apr 24 23:13:03 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 24 Apr 2019 20:13:03 -0700 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: <74d4f114-5380-604c-ad0e-18757f71acbb@tweedly.net> References: <74d4f114-5380-604c-ad0e-18757f71acbb@tweedly.net> Message-ID: <128a30ad-d420-25be-fa96-dc92293f6fae@sonic.net> On 4/24/19 5:47 PM, Alex Tweedly via use-livecode wrote: > I've pretty much decided to take Mark's and Bob's suggestion - but in > reverse :-) :-P -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Wed Apr 24 23:21:35 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 24 Apr 2019 20:21:35 -0700 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: <74d4f114-5380-604c-ad0e-18757f71acbb@tweedly.net> References: <74d4f114-5380-604c-ad0e-18757f71acbb@tweedly.net> Message-ID: <3abcc31d-859f-f801-547a-324fb6a76882@sonic.net> On 4/24/19 5:47 PM, Alex Tweedly via use-livecode wrote: > 1a. same thing, using the itemDel feature. > > put ";" into sA["lineDel"] > put "1:2:4:8:16:15:14:13:12:22:17:15" into temp > put temp into sA["data"][1]["values"] > gmMakeGraph the long id of grp "mycanvas", sA Are itemDel and lineDel synonyms? Or is one of those a typo? -- Mark Wieder ahsoftware at gmail.com From alex at tweedly.net Thu Apr 25 05:56:47 2019 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 25 Apr 2019 10:56:47 +0100 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: <3abcc31d-859f-f801-547a-324fb6a76882@sonic.net> References: <74d4f114-5380-604c-ad0e-18757f71acbb@tweedly.net> <3abcc31d-859f-f801-547a-324fb6a76882@sonic.net> Message-ID: I did really well - I got two typos into a very short example ...? the description shoudl have said lineDel, not itemDel, and it should have been set to ":", not ";" My fault for taking the *real* example out of the demo app, and cutting it down while typing the email. itemDel and lineDel are different, and have the same meanings as you'd expect in the context of LC. i.e. a dataset consists of a number of *line*s, each line contains a number of *item*s which are the [optionally X] and Y values. So the example has one Y value per line, and should be 1a. same thing, using the lineDel feature. put ":" into sA["lineDel"] put "1:2:4:8:16:15:14:13:12:22:17:15" into temp put temp into sA["data"][1]["values"] gmMakeGraph the long id of grp "mycanvas", sA -- Alex. P.S. of course, if we had something like "heredoc" that perhaps wouldn't have happened - I would have used the more natural way to define a multi-line constant value :-) On 25/04/2019 04:21, Mark Wieder via use-livecode wrote: > On 4/24/19 5:47 PM, Alex Tweedly via use-livecode wrote: > >> 1a. same thing, using the itemDel feature. >> >> put ";" into sA["lineDel"] >> put "1:2:4:8:16:15:14:13:12:22:17:15" into temp >> put temp into sA["data"][1]["values"] >> gmMakeGraph the long id of grp "mycanvas", sA > > Are itemDel and lineDel synonyms? Or is one of those a typo? > From dsc at swcp.com Thu Apr 25 14:07:26 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Thu, 25 Apr 2019 12:07:26 -0600 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: <0037b556-a96a-8a82-a755-436ea425e1ff@fourthworld.com> References: <0037b556-a96a-8a82-a755-436ea425e1ff@fourthworld.com> Message-ID: <50CE3702-EFE7-433B-A1E8-94575F7E0BB9@swcp.com> I like the use of an array. Add the ability to set the default array, allowing named arrays. Or supply base arrays that one could use to make a plot parameter array. -- Dar Scott Mad Scientist darzLab > On Apr 23, 2019, at 9:00 PM, Richard Gaskin via use-livecode wrote: > > Using named vars (which in LC may make more sense as an array), each arg you add to the call overrides one of those defaults. From dsc at swcp.com Thu Apr 25 14:29:10 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Thu, 25 Apr 2019 12:29:10 -0600 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: References: Message-ID: <3B25516B-5386-4245-88FF-D5C95B40BEFA@swcp.com> Coming in late... For bread-and-butter code, B. For software development, A. But, really, my response is C. Dar > On Apr 23, 2019, at 5:01 PM, Alex Tweedly via use-livecode wrote: > > Hi folks, > > I'm building a library (which I plan to release as Open Source), and I'm having trouble trying to decide which approach to take with default values. > > The library is to produce XY graphs (charts). An app which is using it will provide one or more sets of data to be plotted. The app can also *optionally* provide additional parameters, such as > > - display tick-marks on each axis > > - display grid lines along each axis > > - label the ticks / grids (e.g. display label every 5 ticks) > > etc. > > Without going into each one of them, there is an overall "phlosophy" chioce > > A - should the default be that the produced graph be simple (e.g. no ticks, no labels, etc.) > > or > > B - should the default be to try to find reasonable / possible values (e.g. set a value for ticks such that they appear, say, more than 10 pixels apart, but less than 100 pixels apart; that you label every 2nd-5th tick, ...) > > A is appealing because it means that the library isn't making guesses, often dumb guesses, on your behalf; you see a blank, sparse graph, and can then, as app developer, provide additional parameters to supply info you think will help. But it is unappealing because the graphs are just *so* empty by default. > > B is appealing because it feels like it is being helpful, and will (try to) produce a reasonable looking graph as best it can. > > > So - I'd welcome any suggestions, comments, design philosophy ideas ? > > Thanks > > Alex. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Thu Apr 25 16:25:34 2019 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 25 Apr 2019 21:25:34 +0100 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: <3B25516B-5386-4245-88FF-D5C95B40BEFA@swcp.com> References: <3B25516B-5386-4245-88FF-D5C95B40BEFA@swcp.com> Message-ID: Sorry, but .. what is C ? Current plan is kind of? B-????? i.e. the default is to try to apply some simple guesswork to make a "reasonable" looking result, but with a simple way (e.g. put TRUE into myArray["NoGuessing"] ) to prevent any such attempt and ave a minimal, undecorated graph. -- Alex. On 25/04/2019 19:29, Dar Scott Consulting via use-livecode wrote: > Coming in late... > > For bread-and-butter code, B. > > For software development, A. > > But, really, my response is C. > > Dar > > >> On Apr 23, 2019, at 5:01 PM, Alex Tweedly via use-livecode wrote: >> >> Hi folks, >> >> I'm building a library (which I plan to release as Open Source), and I'm having trouble trying to decide which approach to take with default values. >> >> The library is to produce XY graphs (charts). An app which is using it will provide one or more sets of data to be plotted. The app can also *optionally* provide additional parameters, such as >> >> - display tick-marks on each axis >> >> - display grid lines along each axis >> >> - label the ticks / grids (e.g. display label every 5 ticks) >> >> etc. >> >> Without going into each one of them, there is an overall "phlosophy" chioce >> >> A - should the default be that the produced graph be simple (e.g. no ticks, no labels, etc.) >> >> or >> >> B - should the default be to try to find reasonable / possible values (e.g. set a value for ticks such that they appear, say, more than 10 pixels apart, but less than 100 pixels apart; that you label every 2nd-5th tick, ...) >> >> A is appealing because it means that the library isn't making guesses, often dumb guesses, on your behalf; you see a blank, sparse graph, and can then, as app developer, provide additional parameters to supply info you think will help. But it is unappealing because the graphs are just *so* empty by default. >> >> B is appealing because it feels like it is being helpful, and will (try to) produce a reasonable looking graph as best it can. >> >> >> So - I'd welcome any suggestions, comments, design philosophy ideas ? >> >> Thanks >> >> Alex. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 25 16:29:43 2019 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 25 Apr 2019 21:29:43 +0100 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: <50CE3702-EFE7-433B-A1E8-94575F7E0BB9@swcp.com> References: <0037b556-a96a-8a82-a755-436ea425e1ff@fourthworld.com> <50CE3702-EFE7-433B-A1E8-94575F7E0BB9@swcp.com> Message-ID: On 25/04/2019 19:07, Dar Scott Consulting via use-livecode wrote: > I like the use of an array. > > Add the ability to set the default array, allowing named arrays. Or supply base arrays that one could use to make a plot parameter array. Yeah, it should be easy and potentially useful to have some pre-cooked arrays that can be returned for easy use. Another advantage of using a single array is that the library includes a handler to save/restore a graph - which can write out (or read in) the array, currently JSON-encoded, to a file; also gives the option to write the JPEG version of the group. -- Alex. From paul at researchware.com Thu Apr 25 16:35:22 2019 From: paul at researchware.com (Paul Dupuis) Date: Thu, 25 Apr 2019 16:35:22 -0400 Subject: LC904rc2 Project Browser error? Message-ID: I find that in the project browser under LC904rc2 (Windows 10), I can not relayer groups. Button, fields, etc, all relayer fine by drag and drop within the hierarchical list of the project browser, but not groups. Is this a bug or a lack of RTFM on my part to figure out how it is supposed to work? Anyone have a good work around for relayering groups in the IDE under LC904? From cubist at aol.com Thu Apr 25 19:27:13 2019 From: cubist at aol.com (Quentin Long) Date: Thu, 25 Apr 2019 23:27:13 +0000 (UTC) Subject: Seeking philosophical guidance on library interface design References: <1571453927.641562.1556234833113.ref@mail.yahoo.com> Message-ID: <1571453927.641562.1556234833113@mail.yahoo.com> Hmmm? Seems like this library is intended for a summat limited subset of graph-styles. There are pie charts, radar charts, etc ad nauseum, and it's not clear to me how this library caan cope with any of those "non-standard" types of graph. As well, it's unclear to me how this library will deal with funky axis-styles (logarithmic?). Am *not* suggesting that the library must, or even should, be able to handle *every* graph-style that might conceivably be thrown at it?that way lies madness. Just thinking that it might be good to include, in the documentation, a prominent, clear statement of What This Library Can And Cannot Do, to manage user expectations. "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [ http://www.atarmslength.net ]! If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ]. From alex at tweedly.net Thu Apr 25 21:06:59 2019 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 26 Apr 2019 02:06:59 +0100 Subject: Seeking philosophical guidance on library interface design In-Reply-To: <1571453927.641562.1556234833113@mail.yahoo.com> References: <1571453927.641562.1556234833113.ref@mail.yahoo.com> <1571453927.641562.1556234833113@mail.yahoo.com> Message-ID: <3aaf2405-ae32-66a7-575d-63e97e9cabd5@tweedly.net> On 26/04/2019 00:27, Quentin Long via use-livecode wrote: > Hmmm? Seems like this library is intended for a summat limited subset of graph-styles. There are pie charts, radar charts, etc ad nauseum, and it's not clear to me how this library caan cope with any of those "non-standard" types of graph. As well, it's unclear to me how this library will deal with funky axis-styles (logarithmic?). Yes, it is indeed, quite deliberately, limited in its aims. If I tried to tackle the huge range of possible graph types, then I would never have thought it was a feasible project for a time-limited hobbyist - and there would be no library at all :-) The library will, very loosely, define a flavour of interface - and anyone who wishes to cover some of those other graph styles could decide whether that can be done within that overall flavour, and then do such an extension. Personally, I have had a number of little apps I've done over the last 10-15 years (since I stopped being a software developer and became a software hobbyist) that have used some flavour of XY graph, maybe one or two that used a pie-chart - and none that wanted to use any of the other millions of chart types. So naturally that's what my target is. There's no reason (afaict) why it shouldn't handle some funky axis types? - logarithmic should be easy, non-rectilinear less easy. (And anything involving a time-axis is way beyond the scope). > Am *not* suggesting that the library must, or even should, be able to handle *every* graph-style that might conceivably be thrown at it?that way lies madness. Just thinking that it might be good to include, in the documentation, a prominent, clear statement of What This Library Can And Cannot Do, to manage user expectations. > I thought it did :-) The first line of my enclosed description said: " ... or more sets of data plotted as an XY graph." I don't say that it (does or will) cover *every* kind of graph that could be described as "XY graph", but I think it's a good approximation. Many of the others (pie, radar, polar, box+whisker, violin, etc.) would not be described as "XY graph". OK - there are maybe some dubious ones - is a bubble chart an XY graph? If there's a different description that would be clearer, I'd be happy to add that. Thanks Alex. From ambassador at fourthworld.com Fri Apr 26 02:54:20 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Apr 2019 23:54:20 -0700 Subject: Engine: Socket limit? Message-ID: A forum user has an interesting use case involving sockets on a server that needs to handle thousands of connections: https://forums.livecode.com/viewtopic.php?f=8&t=32515#p179090 He's discovered that livecode/engine/src/opensslsocket.cpp sets a limit on sockets size to 16 bits. He's wondering if it could be raised to 32 bits. Anyone here know why this limit exists, or know of reasons that might make it difficult to change? -- 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 monte at appisle.net Fri Apr 26 03:41:16 2019 From: monte at appisle.net (Monte Goulding) Date: Fri, 26 Apr 2019 17:41:16 +1000 Subject: Engine: Socket limit? In-Reply-To: References: Message-ID: I think that?s a misdiagnosis of the issue there. That bit of code is sizing the read buffer not limiting the number of connections. I?d start by logging the result and socketError to see if that sheds any light. However I think the info here will sort it: https://social.technet.microsoft.com/Forums/en-US/69449ce9-ea58-48ec-b675-c55480ba4bbb/windows-server-2012-and-tcpip-maxuserport?forum=winserverPN Cheers Monte > On 26 Apr 2019, at 4:54 pm, Richard Gaskin via use-livecode wrote: > > A forum user has an interesting use case involving sockets on a server that needs to handle thousands of connections: > > https://forums.livecode.com/viewtopic.php?f=8&t=32515#p179090 > > He's discovered that livecode/engine/src/opensslsocket.cpp sets a limit on sockets size to 16 bits. > > He's wondering if it could be raised to 32 bits. > > Anyone here know why this limit exists, or know of reasons that might make it difficult to change? > > -- > 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 mark at livecode.com Fri Apr 26 03:47:54 2019 From: mark at livecode.com (Mark Waddingham) Date: Fri, 26 Apr 2019 09:47:54 +0200 Subject: Engine: Socket =?UTF-8?Q?limit=3F?= In-Reply-To: References: Message-ID: <0757d2ecbc1b3cd2df6846f102ed0b15@livecode.com> On 2019-04-26 08:54, Richard Gaskin via use-livecode wrote: > A forum user has an interesting use case involving sockets on a server > that needs to handle thousands of connections: > > https://forums.livecode.com/viewtopic.php?f=8&t=32515#p179090 > > He's discovered that livecode/engine/src/opensslsocket.cpp sets a > limit on sockets size to 16 bits. > > He's wondering if it could be raised to 32 bits. > > Anyone here know why this limit exists, or know of reasons that might > make it difficult to change? It doesn't exist, although obviously something is failing at around 4000 sockets (see my reply on the forums) and that is most likely an unchecked system error causing havoc later on. Just because there is a constant with a name containing SOCKET in the engine source and the constant value is 4096 and thus around the 'limit' which has been observed does not mean the two are related. Coincidence not correlation :) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From brahma at hindu.org Fri Apr 26 12:26:46 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 26 Apr 2019 16:26:46 +0000 Subject: LC904rc2 Project Browser error? In-Reply-To: References: Message-ID: <75AE4FB7-F19D-4400-9C40-A229BC70D5C6@hindu.org> It may be "many moons" before they fix the PB. I hardly use any more. Get Geoff's Navigator! BR Paul Dupuis wrote: I find that in the project browser under LC904rc2 (Windows 10), I can not relayer groups. Button, fields, etc, all relayer fine by drag and drop within the hierarchical list of the project browser, but not groups. From brahma at hindu.org Fri Apr 26 12:44:57 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 26 Apr 2019 16:44:57 +0000 Subject: Lesson on Accelerated Rendering Message-ID: One would think it easy to find. But search the dictionary and these lists and lessons? nada. I sent this to support: no answer. I think they are getting ready for the conference. Maybe someone here can give it a shot. Re: acceleratedRendering.? -- There are issues which affect DG2.? -- There are "17 bugs" related to acceleratedRendering. -- The issue of slide up the keyboard was fixed. -- There have been on-going changes with each version. -- There is "engine work" on acceleratedRendering -- related to groups and Layers in groups -- relative to layer mode-static, dynamic or scrolling -- 9.0.4 rc2 behaves differently that 9.0.3 So, I am at a loss as to when -- to use acceleratedRendering (true) -- and when to turn it off (false) -- how it affects layer mode: static, dynamic or scrolling? -- what does it actually do The dictionary has only a brief mention for acceleratedRendering. Granted that there are bugs to be fixed... But at least, can we learn how it is supposed to work? Can we get a lesson on this -- or if the lesson is online, a URL ? Anything will be a great help, not only for me, but for all "newbies" -- to get clarity on this subject. BR From paul at researchware.com Fri Apr 26 13:17:19 2019 From: paul at researchware.com (Paul Dupuis) Date: Fri, 26 Apr 2019 13:17:19 -0400 Subject: LC904rc2 Project Browser error? In-Reply-To: <75AE4FB7-F19D-4400-9C40-A229BC70D5C6@hindu.org> References: <75AE4FB7-F19D-4400-9C40-A229BC70D5C6@hindu.org> Message-ID: <3d3a10a9-a20f-a281-df89-c1e376e28a81@researchware.com> Not to slight to any 3rd party tools, but I personalty would rather identify bugs in LiveCode and report them to the LiveCode Quality Center. My experience has been that a bug, properly reported, with a repeatable recipe and test stack is fixed pretty rapidly these days. One of the first steps though is to determine whether the issue is repeatable - can other people on other computer reproduce the observed issue - which is why I was asking if anyone else has seen or can reproduce this issue I observed. I am not sure from your reply whether that means you can also see this specific issue (not relayering groups by drag and drop in the IDE project browser) in LC9.0.4rc2. On 4/26/2019 12:26 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > It may be "many moons" before they fix the PB. > > I hardly use any more. > > Get Geoff's Navigator! > > BR > > Paul Dupuis wrote: > > I find that in the project browser under LC904rc2 (Windows 10), I can > not relayer groups. Button, fields, etc, all relayer fine by drag and > drop within the hierarchical list of the project browser, but not groups. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 26 16:00:27 2019 From: jjs at krutt.org (JJS) Date: Fri, 26 Apr 2019 22:00:27 +0200 Subject: Lesson on Accelerated Rendering In-Reply-To: References: Message-ID: <44a2534a-8391-e18c-14c1-9b112d23006c@krutt.org> There is another thread on this list about this, before it was fixed. There are a few commands which you can find in the dictionary related to this. They have their own function in this which i tried but what did not help to the bug it had before the fix by Monte. Look up the other thread, the functions are named there (i can't recall right now) But they probably shed more light on your question. Op 26-4-2019 om 18:44 schreef Sannyasin Brahmanathaswami via use-livecode: > One would think it easy to find. But search the dictionary and these lists and lessons? nada. I sent this to support: no answer. I think they are getting ready for the conference. Maybe someone here can give it a shot. > > Re: acceleratedRendering. > > -- There are issues which affect DG2. > -- There are "17 bugs" related to acceleratedRendering. > -- The issue of slide up the keyboard was fixed. > -- There have been on-going changes with each version. > -- There is "engine work" on acceleratedRendering > -- related to groups and Layers in groups > -- relative to layer mode-static, dynamic or scrolling > -- 9.0.4 rc2 behaves differently that 9.0.3 > > So, I am at a loss as to when > -- to use acceleratedRendering (true) > -- and when to turn it off (false) > -- how it affects layer mode: static, dynamic or scrolling? > -- what does it actually do > > The dictionary has only a brief mention for acceleratedRendering. > > Granted that there are bugs to be fixed... > > But at least, can we learn how it is supposed to work? > Can we get a lesson on this -- or if the lesson is online, a URL ? > > Anything will be a great help, not only for me, but for all "newbies" -- to get clarity on this subject. > > 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 Fri Apr 26 18:09:22 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 26 Apr 2019 22:09:22 +0000 Subject: mobilePickPhoto on Android Message-ID: Greetings! I am calling mobilePickPhoto "camera" on a Android device. If I am running Android version 7.0, everything works great. If I am running Android 8.0, then I get an empty back where length(image 1) is 0. Using LiveCode 9.0.3. Anyone know of an issue with mobilePickPhoto on late versions of Android. FWIW, mobilePickPhoto "library" works fine on all versions of Android. Thanks in advance, -Dan From neville.smythe at optusnet.com.au Fri Apr 26 21:20:55 2019 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 27 Apr 2019 11:20:55 +1000 Subject: Bug drawing card in LC9 Message-ID: In LC 9.0.1 and later, a card in a stack is incorrectly drawn under the following circumstances: . the stack has a menubar set as the stack menu, and the stack is running on a Mac . the user is on card A and moves to card B The bottom part of card B (the height of the Mac menubar) is not redrawn, it still shows that part of card A. This bug occurs in the IDE and standalone. This is most easily seen if card A and card B have different background colours; an example is at bug 22027 ? Panos has confirmed the bug. If you resize the stack, card B is correctly displayed; or in edit mode if you drag the mouse in the bottom band, parts of card B appear under the mouse. Evidently the cliprect or invalRect used for refreshing the screen after 'Go to card x' is set incorrectly. On Windows or Linux, where the stack is not scrolled to hide the menubar, the card is drawn correctly. Strange that this doesn?t seem to have been reported before; I suppose like me people don?t usually use this lower margin of a card or perhaps only for a shared background navigation bar, and use the same background colour for all cards in a stack. A workaround until the bug is fixed would be to force a redraw in an openCard handler -- though now I come to think of it how does one do that? I can?t find a redraw or invalidateRect command? Neville Smythe From neville.smythe at optusnet.com.au Sat Apr 27 01:31:01 2019 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 27 Apr 2019 15:31:01 +1000 Subject: Bug drawing card in LC9 Message-ID: A workaround for the bug is to use any visual effect in the Go to Card B script In fact to force a redraw of a card you can use visual effect plain go to this cd for example in an openCard handler. In interesting trick to remember! Neville Smythe From hlowe at me.com Sat Apr 27 02:18:05 2019 From: hlowe at me.com (hlowe) Date: Sat, 27 Apr 2019 01:18:05 -0500 (CDT) Subject: Bug drawing card in LC9 In-Reply-To: References: Message-ID: <1556345885109-0.post@n4.nabble.com> set the backcolor of me to the backcolor of me can also be used for force a card redraw. Henry -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From brahma at hindu.org Sat Apr 27 13:11:52 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 27 Apr 2019 17:11:52 +0000 Subject: Lesson on Accelerated Rendering In-Reply-To: <44a2534a-8391-e18c-14c1-9b112d23006c@krutt.org> References: <44a2534a-8391-e18c-14c1-9b112d23006c@krutt.org> Message-ID: BR Perhaps the question should be? Why is acceleratedRendering needed? And when is best to turn in off? What does it *do* ? JJS wrote (the lists...): But they probably shed more light on your question. BR: they don't... they talk about different parameter for acceleratedRendering. Such as compositorType, compositorTileSize, compositorCacheLimit etc. Dictionary says: "The acceleratedRendering property has been added to help simplify the use of the accelerated rendering features." User Guide: Surprise! There is zero reference to acceleratedRendering? A search on Livecom.com brings up interesting result. The top hit it Real World Optimizationd by Mark W. Another hit is https://livecode.com/container-layer-mode-examples/ which has interesting info, though it needs editing' "Set the layerMode of the containing group(s) to ?container?" Is not an option.... I guess we have to wait for the conference... > One would think it easy to find. But search the dictionary and these lists and lessons? nada. I sent this to support: no answer. I think they are getting ready for the conference. Maybe someone here can give it a shot. > > Re: acceleratedRendering. > > -- There are issues which affect DG2. > -- There are "17 bugs" related to acceleratedRendering. > -- The issue of slide up the keyboard was fixed. > -- There have been on-going changes with each version. > -- There is "engine work" on acceleratedRendering > -- related to groups and Layers in groups > -- relative to layer mode-static, dynamic or scrolling > -- 9.0.4 rc2 behaves differently that 9.0.3 > > So, I am at a loss as to when > -- to use acceleratedRendering (true) > -- and when to turn it off (false) > -- how it affects layer mode: static, dynamic or scrolling? > -- what does it actually do > > The dictionary has only a brief mention for acceleratedRendering. > > Granted that there are bugs to be fixed... > > But at least, can we learn how it is supposed to work? > Can we get a lesson on this -- or if the lesson is online, a URL ? > > Anything will be a great help, not only for me, but for all "newbies" -- to get clarity on this subject. > > BR > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Apr 27 14:43:20 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 27 Apr 2019 13:43:20 -0500 Subject: Lesson on Accelerated Rendering In-Reply-To: References: <44a2534a-8391-e18c-14c1-9b112d23006c@krutt.org> Message-ID: <39486e90-b383-7557-aff5-f9d7cbbfe02d@hyperactivesw.com> On 4/27/19 12:11 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > BR Perhaps the question should be? > > Why is acceleratedRendering needed? And when is best to turn in off? What does it *do* ? Here is my layman's guess at how it works: And here is Mark Waddingham's more technical explanation: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Sat Apr 27 16:51:12 2019 From: tom at makeshyft.com (Tom Glod) Date: Sat, 27 Apr 2019 16:51:12 -0400 Subject: Livecloud Bundle Offer Message-ID: Hi peeps, thought I'd post here about a current offer LC is having. https://livecode.com/livecloud-bundle-offer/?fbclid=IwAR2SsxU0Tpa63qKfqPk8gn_pCGh2liMMFYc4sCy48JiEHqe4CS3ly-FDBSA I will be buying mine. Great if you wanted to be at the conference, but can't go. (stream) Great if you want to build a cloud service (livecloud.io for 1 year) Great if you need a Indy License for a full year (indy license for 9.0x) for 1 year Cheers From matthias_livecode_150811 at m-r-d.de Sat Apr 27 17:26:24 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 27 Apr 2019 23:26:24 +0200 Subject: Livecloud Bundle Offer In-Reply-To: References: Message-ID: If i read the $149 offer correctly than the Livecode Indy license is a permanent license which does not expire after 12 months. "One year of LiveCloud Rain tier, a permanent 9.0.3 LiveCode Indy license, and full access to the 2019 Simulcast streaming and recordings with training on using your bundle." Btw, there is also a smaller bundle for those who already own a commercial license and bought already the conference stream - The LiveCode Dictionary & Lesson PDF Books - $50 LiveCode Voucher - 12 Months of LiveCloud https://livecode.com/livecloud-intro-offer/#buybundle Regards, Matthias > Am 27.04.2019 um 22:51 schrieb Tom Glod via use-livecode : > > Hi peeps, thought I'd post here about a current offer LC is having. > > https://livecode.com/livecloud-bundle-offer/?fbclid=IwAR2SsxU0Tpa63qKfqPk8gn_pCGh2liMMFYc4sCy48JiEHqe4CS3ly-FDBSA > > I will be buying mine. > > Great if you wanted to be at the conference, but can't go. (stream) > Great if you want to build a cloud service (livecloud.io for 1 year) > Great if you need a Indy License for a full year (indy license for 9.0x) > for 1 year > > Cheers > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de From harrison at all-auctions.com Sat Apr 27 19:14:10 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 27 Apr 2019 19:14:10 -0400 Subject: Livecloud Bundle Offer In-Reply-To: References: Message-ID: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> Hi Matthias, That can?t be a permanent LiveCode Indy license. It has to be just be a one year license. The best deal I saw in recent times was a 2 year Indy license for $300. Please re-read the license. I also have to admit the offers are not well written which is probably cause for confusion. Cheers, Rick > On Apr 27, 2019, at 5:26 PM, Matthias Rebbe via use-livecode wrote: > > If i read the $149 offer correctly than the Livecode Indy license is a permanent license which does not expire after 12 months. > "One year of LiveCloud Rain tier, a permanent 9.0.3 LiveCode Indy license, and full access to the 2019 Simulcast streaming and recordings with training on using your bundle." > > > Btw, there is also a smaller bundle for those who already own a commercial license and bought already the conference stream > > - The LiveCode Dictionary & Lesson PDF Books > - $50 LiveCode Voucher > - 12 Months of LiveCloud > https://livecode.com/livecloud-intro-offer/#buybundle > > > Regards, > Matthias From brian at milby7.com Sat Apr 27 19:19:00 2019 From: brian at milby7.com (Brian Milby) Date: Sat, 27 Apr 2019 19:19:00 -0400 Subject: Livecloud Bundle Offer In-Reply-To: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> References: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> Message-ID: <3d909884-41c5-4478-8c91-6df585486460@Spark> It is permanent for version 9.0.x according to the site. Thanks, Brian On Apr 27, 2019, 7:14 PM -0400, Rick Harrison via use-livecode , wrote: > Hi Matthias, > > That can?t be a permanent LiveCode Indy license. It has to be just be a one year license. > The best deal I saw in recent times was a 2 year Indy license for $300. > Please re-read the license. I also have to admit the offers are not well written which > is probably cause for confusion. > > Cheers, > > Rick > > > On Apr 27, 2019, at 5:26 PM, Matthias Rebbe via use-livecode wrote: > > > > If i read the $149 offer correctly than the Livecode Indy license is a permanent license which does not expire after 12 months. > > "One year of LiveCloud Rain tier, a permanent 9.0.3 LiveCode Indy license, and full access to the 2019 Simulcast streaming and recordings with training on using your bundle." > > > > > > Btw, there is also a smaller bundle for those who already own a commercial license and bought already the conference stream > > > > - The LiveCode Dictionary & Lesson PDF Books > > - $50 LiveCode Voucher > > - 12 Months of LiveCloud > > https://livecode.com/livecloud-intro-offer/#buybundle > > > > > > Regards, > > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Apr 27 19:35:47 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 28 Apr 2019 01:35:47 +0200 Subject: Livecloud Bundle Offer In-Reply-To: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> References: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> Message-ID: Rick, it is a permanent license. That?s what the website says. Click the link in Tom?s email and scroll down to the end of the page to "Get Your LiveCloud Introductory Bundle" There you will see that it is a permanent license. Matthias > Am 28.04.2019 um 01:14 schrieb Rick Harrison via use-livecode : > > Hi Matthias, > > That can?t be a permanent LiveCode Indy license. It has to be just be a one year license. > The best deal I saw in recent times was a 2 year Indy license for $300. > Please re-read the license. I also have to admit the offers are not well written which > is probably cause for confusion. > > Cheers, > > Rick > >> On Apr 27, 2019, at 5:26 PM, Matthias Rebbe via use-livecode wrote: >> >> If i read the $149 offer correctly than the Livecode Indy license is a permanent license which does not expire after 12 months. >> "One year of LiveCloud Rain tier, a permanent 9.0.3 LiveCode Indy license, and full access to the 2019 Simulcast streaming and recordings with training on using your bundle." >> >> >> Btw, there is also a smaller bundle for those who already own a commercial license and bought already the conference stream >> >> - The LiveCode Dictionary & Lesson PDF Books >> - $50 LiveCode Voucher >> - 12 Months of LiveCloud >> https://livecode.com/livecloud-intro-offer/#buybundle >> >> >> Regards, >> Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Apr 27 19:38:52 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 28 Apr 2019 01:38:52 +0200 Subject: Livecloud Bundle Offer In-Reply-To: References: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> Message-ID: <5986C288-3053-46F6-A0FE-0DB08D95322C@m-r-d.de> To be more precise its a permanent 9.0.3 Indy license. > Am 28.04.2019 um 01:35 schrieb Matthias Rebbe via use-livecode : > > Rick, > > it is a permanent license. That?s what the website says. > Click the link in Tom?s email and scroll down to the end of the page to "Get Your LiveCloud Introductory Bundle" > There you will see that it is a permanent license. > > Matthias > > >> Am 28.04.2019 um 01:14 schrieb Rick Harrison via use-livecode : >> >> Hi Matthias, >> >> That can?t be a permanent LiveCode Indy license. It has to be just be a one year license. >> The best deal I saw in recent times was a 2 year Indy license for $300. >> Please re-read the license. I also have to admit the offers are not well written which >> is probably cause for confusion. >> >> Cheers, >> >> Rick >> >>> On Apr 27, 2019, at 5:26 PM, Matthias Rebbe via use-livecode wrote: >>> >>> If i read the $149 offer correctly than the Livecode Indy license is a permanent license which does not expire after 12 months. >>> "One year of LiveCloud Rain tier, a permanent 9.0.3 LiveCode Indy license, and full access to the 2019 Simulcast streaming and recordings with training on using your bundle." >>> >>> >>> Btw, there is also a smaller bundle for those who already own a commercial license and bought already the conference stream >>> >>> - The LiveCode Dictionary & Lesson PDF Books >>> - $50 LiveCode Voucher >>> - 12 Months of LiveCloud >>> https://livecode.com/livecloud-intro-offer/#buybundle >>> >>> >>> Regards, >>> Matthias >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Sat Apr 27 21:45:37 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 27 Apr 2019 21:45:37 -0400 Subject: Livecloud Bundle Offer In-Reply-To: <5986C288-3053-46F6-A0FE-0DB08D95322C@m-r-d.de> References: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> <5986C288-3053-46F6-A0FE-0DB08D95322C@m-r-d.de> Message-ID: <1E2AA2BC-0657-4DFB-8284-1CF2FCAC9DFC@all-auctions.com> Hi Matthias, Oh, I see now. This is only for version 9.0.3 that is permanent. It doesn?t apply to LiveCode 10 or beyond whenever they come out. "Everything you need to get your data driven apps off the ground. One year of LiveCloud Rain tier, a permanent 9.0.3 LiveCode Indy license, and full access to the 2019 Simulcast streaming and recordings with training on using your bundle. Save $479 or 77% on the full price for each component.? Farther down it also says: "Bundle includes a permanent Indy license to LiveCode 9.0.x, it does not include any updates beyond maintenance releases for 9.0. Prices quoted ex-VAT where applicable.? Is there a way to just get full access to the 2019 Simulcast streaming and recordings? Thanks, Rick > On Apr 27, 2019, at 7:38 PM, Matthias Rebbe via use-livecode wrote: > > To be more precise its a permanent 9.0.3 Indy license. From ahsoftware at sonic.net Sat Apr 27 22:13:44 2019 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 27 Apr 2019 19:13:44 -0700 Subject: Livecloud Bundle Offer In-Reply-To: <1E2AA2BC-0657-4DFB-8284-1CF2FCAC9DFC@all-auctions.com> References: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> <5986C288-3053-46F6-A0FE-0DB08D95322C@m-r-d.de> <1E2AA2BC-0657-4DFB-8284-1CF2FCAC9DFC@all-auctions.com> Message-ID: <4a058d4c-7e6b-c867-ffb9-479c20729c0b@sonic.net> On 4/27/19 6:45 PM, Rick Harrison via use-livecode wrote: > Is there a way to just get full access to the 2019 Simulcast streaming and recordings? Because $149 for that PLUS a LiveCloud subscription AND a permanent 9.0 license isn't a good enough deal for you? If you buy a $199 ticket to attend the conference and want to add just the simulcast and recordings, that alone will add $149. -- Mark Wieder ahsoftware at gmail.com From stephen at barncard.com Sat Apr 27 22:21:34 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sat, 27 Apr 2019 19:21:34 -0700 Subject: Livecloud Bundle Offer In-Reply-To: <1E2AA2BC-0657-4DFB-8284-1CF2FCAC9DFC@all-auctions.com> References: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> <5986C288-3053-46F6-A0FE-0DB08D95322C@m-r-d.de> <1E2AA2BC-0657-4DFB-8284-1CF2FCAC9DFC@all-auctions.com> Message-ID: Geesh Rick, the Simulcast was offered alone at $150 last week. the rest is bonus. this is an amazing deal. I signed up right away. sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sat, Apr 27, 2019 at 6:46 PM Rick Harrison via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Matthias, > > Oh, I see now. This is only for version 9.0.3 that is permanent. > It doesn?t apply to LiveCode 10 or beyond whenever they > come out. > > "Everything you need to get your data driven apps off the ground. One year > of LiveCloud Rain tier, a permanent 9.0.3 LiveCode Indy license, and full > access to the 2019 Simulcast streaming and recordings with training on > using your bundle. Save $479 or 77% on the full price for each component.? > > Farther down it also says: > > "Bundle includes a permanent Indy license to LiveCode 9.0.x, it does not > include any updates beyond maintenance releases for 9.0. Prices quoted > ex-VAT where applicable.? > > Is there a way to just get full access to the 2019 Simulcast streaming and > recordings? > > Thanks, > > Rick > > > > On Apr 27, 2019, at 7:38 PM, Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > To be more precise its a permanent 9.0.3 Indy license. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Apr 27 22:35:08 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 27 Apr 2019 22:35:08 -0400 Subject: Livecloud Bundle Offer In-Reply-To: <4a058d4c-7e6b-c867-ffb9-479c20729c0b@sonic.net> References: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> <5986C288-3053-46F6-A0FE-0DB08D95322C@m-r-d.de> <1E2AA2BC-0657-4DFB-8284-1CF2FCAC9DFC@all-auctions.com> <4a058d4c-7e6b-c867-ffb9-479c20729c0b@sonic.net> Message-ID: <1285A25A-1EA8-4427-815A-8953B1F502BC@all-auctions.com> Hi Mark, I have a Lifetime Indy LiveCode license. So I don?t need that. I have a Lifetime On-Rev license. I run my own servers with Postgresql as my database. (I really don?t need LiveCloud yet.) I do not want to attend the conference in person. So yes, in my case, the deal isn?t good enough for me. I might only have interest in just the simulcast and recordings. Thanks for asking. Rick > On Apr 27, 2019, at 10:13 PM, Mark Wieder via use-livecode wrote: > > On 4/27/19 6:45 PM, Rick Harrison via use-livecode wrote: > >> Is there a way to just get full access to the 2019 Simulcast streaming and recordings? > > Because $149 for that PLUS a LiveCloud subscription AND a permanent 9.0 license isn't a good enough deal for you? > > If you buy a $199 ticket to attend the conference and want to add just the simulcast and recordings, that alone will add $149. > > -- > 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 stephen at barncard.com Sun Apr 28 00:46:41 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sat, 27 Apr 2019 21:46:41 -0700 Subject: Livecloud Bundle Offer In-Reply-To: <1285A25A-1EA8-4427-815A-8953B1F502BC@all-auctions.com> References: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> <5986C288-3053-46F6-A0FE-0DB08D95322C@m-r-d.de> <1E2AA2BC-0657-4DFB-8284-1CF2FCAC9DFC@all-auctions.com> <4a058d4c-7e6b-c867-ffb9-479c20729c0b@sonic.net> <1285A25A-1EA8-4427-815A-8953B1F502BC@all-auctions.com> Message-ID: Rick, I don't think Heather is going to give you a cheaper simulcast. One deal supports the other. It's really good marketing, actually. A great value... -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sat, Apr 27, 2019 at 7:35 PM Rick Harrison via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Mark, > > I have a Lifetime Indy LiveCode license. So I don?t need that. > I have a Lifetime On-Rev license. > I run my own servers with Postgresql as my database. > (I really don?t need LiveCloud yet.) > I do not want to attend the conference in person. > > So yes, in my case, the deal isn?t good enough for me. > I might only have interest in just the simulcast and recordings. > > Thanks for asking. > > Rick > > > > On Apr 27, 2019, at 10:13 PM, Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > On 4/27/19 6:45 PM, Rick Harrison via use-livecode wrote: > > > >> Is there a way to just get full access to the 2019 Simulcast streaming > and recordings? > > > > Because $149 for that PLUS a LiveCloud subscription AND a permanent 9.0 > license isn't a good enough deal for you? > > > > If you buy a $199 ticket to attend the conference and want to add just > the simulcast and recordings, that alone will add $149. > > > > -- > > 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 james at thehales.id.au Sun Apr 28 06:15:08 2019 From: james at thehales.id.au (James At The Hale) Date: Sun, 28 Apr 2019 20:15:08 +1000 Subject: Livecloud Bundle Offer Message-ID: Doesn?t a permanent 9.03 license mean just that, 9.03, not 9.04 or above? James From matthias_livecode_150811 at m-r-d.de Sun Apr 28 09:17:33 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 28 Apr 2019 15:17:33 +0200 Subject: Livecloud Bundle Offer In-Reply-To: <1285A25A-1EA8-4427-815A-8953B1F502BC@all-auctions.com> References: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> <5986C288-3053-46F6-A0FE-0DB08D95322C@m-r-d.de> <1E2AA2BC-0657-4DFB-8284-1CF2FCAC9DFC@all-auctions.com> <4a058d4c-7e6b-c867-ffb9-479c20729c0b@sonic.net> <1285A25A-1EA8-4427-815A-8953B1F502BC@all-auctions.com> Message-ID: <692DDE12-81ED-4822-A6D9-1DDCD686DA3F@m-r-d.de> You can order just the Simulcast here https://livecode.com/california19/simulcast/ for 149$. ;) Regards, Matthias > Am 28.04.2019 um 04:35 schrieb Rick Harrison via use-livecode : > > Hi Mark, > > I have a Lifetime Indy LiveCode license. So I don?t need that. > I have a Lifetime On-Rev license. > I run my own servers with Postgresql as my database. > (I really don?t need LiveCloud yet.) > I do not want to attend the conference in person. > > So yes, in my case, the deal isn?t good enough for me. > I might only have interest in just the simulcast and recordings. > > Thanks for asking. > > Rick > > >> On Apr 27, 2019, at 10:13 PM, Mark Wieder via use-livecode wrote: >> >> On 4/27/19 6:45 PM, Rick Harrison via use-livecode wrote: >> >>> Is there a way to just get full access to the 2019 Simulcast streaming and recordings? >> >> Because $149 for that PLUS a LiveCloud subscription AND a permanent 9.0 license isn't a good enough deal for you? >> >> If you buy a $199 ticket to attend the conference and want to add just the simulcast and recordings, that alone will add $149. >> >> -- >> 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 matthias_livecode_150811 at m-r-d.de Sun Apr 28 09:27:32 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 28 Apr 2019 15:27:32 +0200 Subject: Livecloud Bundle Offer In-Reply-To: References: Message-ID: <1B3C14F4-633F-4023-A51F-D770CDE64E7B@m-r-d.de> Yes, just 9.0.3 and no upgrades. Maybe this sound not attractive to everyone, but i am sure there are many Livecode users who still use an older "permanent" license like 4 or 5. This would be a good chance for them to "upgrade" this older license to 9.0.3 at least if they are interested in the new features of the V9 commercial license. The included tsNet external btw is so powerful for networking stuff like SFTP/FTPS/SMTP/SMTPS. Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 28.04.2019 um 12:15 schrieb James At The Hale via use-livecode >: > > Doesn?t a permanent 9.03 license mean just that, 9.03, not 9.04 or above? > > James > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 28 09:43:41 2019 From: tom at makeshyft.com (Tom Glod) Date: Sun, 28 Apr 2019 09:43:41 -0400 Subject: Livecloud Bundle Offer In-Reply-To: <1B3C14F4-633F-4023-A51F-D770CDE64E7B@m-r-d.de> References: <1B3C14F4-633F-4023-A51F-D770CDE64E7B@m-r-d.de> Message-ID: James.....It includes every service in 9.0x.... so 9.04 would be included. On Sun, Apr 28, 2019 at 9:27 AM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Yes, just 9.0.3 and no upgrades. > > Maybe this sound not attractive to everyone, but i am sure there are many > Livecode users who still use an older "permanent" license like 4 or 5. This > would be a good chance for them to "upgrade" this older license to 9.0.3 at > least if they are interested in the new features of the V9 commercial > license. The included tsNet external btw is so powerful for networking > stuff like SFTP/FTPS/SMTP/SMTPS. > > > Matthias Rebbe > > free tools for Livecoders: > https://instamaker.dermattes.de > https://winsignhelper.dermattes.de > > > Am 28.04.2019 um 12:15 schrieb James At The Hale via use-livecode < > use-livecode at lists.runrev.com >: > > > > Doesn?t a permanent 9.03 license mean just that, 9.03, not 9.04 or above? > > > > James > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 28 09:50:38 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 28 Apr 2019 15:50:38 +0200 Subject: Livecloud Bundle Offer In-Reply-To: References: <1B3C14F4-633F-4023-A51F-D770CDE64E7B@m-r-d.de> Message-ID: Ah, you are right. Seems the Livecode Team mentions 9.0.x in one place on their offer page and 9.0.3 in an other place on the same page. But anyway, even if it would only be 9.0.3, it?s a bargain as it is a permanent license and no expiring one. > Am 28.04.2019 um 15:43 schrieb Tom Glod via use-livecode >: > > James.....It includes every service in 9.0x.... so 9.04 would be included. > > On Sun, Apr 28, 2019 at 9:27 AM Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com > wrote: > >> Yes, just 9.0.3 and no upgrades. >> >> Maybe this sound not attractive to everyone, but i am sure there are many >> Livecode users who still use an older "permanent" license like 4 or 5. This >> would be a good chance for them to "upgrade" this older license to 9.0.3 at >> least if they are interested in the new features of the V9 commercial >> license. The included tsNet external btw is so powerful for networking >> stuff like SFTP/FTPS/SMTP/SMTPS. >> >> >> Matthias Rebbe >> >> free tools for Livecoders: >> https://instamaker.dermattes.de > >> https://winsignhelper.dermattes.de > >> >>> Am 28.04.2019 um 12:15 schrieb James At The Hale via use-livecode < >> use-livecode at lists.runrev.com >>: >>> >>> Doesn?t a permanent 9.03 license mean just that, 9.03, not 9.04 or above? >>> >>> James >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 28 10:04:32 2019 From: jjs at krutt.org (JJS) Date: Sun, 28 Apr 2019 16:04:32 +0200 Subject: Livecloud Bundle Offer In-Reply-To: References: <1B3C14F4-633F-4023-A51F-D770CDE64E7B@m-r-d.de> Message-ID: 9.0.4rc2 is far more interesting as a lot of important bugs were solved (Memory leaks / AcceleratedRendering among others) Op 28-4-2019 om 15:50 schreef Matthias Rebbe via use-livecode: > Ah, you are right. Seems the Livecode Team mentions 9.0.x in one place on their offer page and 9.0.3 in an other place on the same page. > > But anyway, even if it would only be 9.0.3, it?s a bargain as it is a permanent license and no expiring one. > > > > >> Am 28.04.2019 um 15:43 schrieb Tom Glod via use-livecode >: >> >> James.....It includes every service in 9.0x.... so 9.04 would be included. >> >> On Sun, Apr 28, 2019 at 9:27 AM Matthias Rebbe via use-livecode < >> use-livecode at lists.runrev.com > wrote: >> >>> Yes, just 9.0.3 and no upgrades. >>> >>> Maybe this sound not attractive to everyone, but i am sure there are many >>> Livecode users who still use an older "permanent" license like 4 or 5. This >>> would be a good chance for them to "upgrade" this older license to 9.0.3 at >>> least if they are interested in the new features of the V9 commercial >>> license. The included tsNet external btw is so powerful for networking >>> stuff like SFTP/FTPS/SMTP/SMTPS. >>> >>> >>> Matthias Rebbe >>> >>> free tools for Livecoders: >>> https://instamaker.dermattes.de > >>> https://winsignhelper.dermattes.de > >>> >>>> Am 28.04.2019 um 12:15 schrieb James At The Hale via use-livecode < >>> use-livecode at lists.runrev.com >>: >>>> Doesn?t a permanent 9.03 license mean just that, 9.03, not 9.04 or above? >>>> >>>> James >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Sun Apr 28 10:06:18 2019 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 28 Apr 2019 10:06:18 -0400 Subject: Livecloud Bundle Offer In-Reply-To: <692DDE12-81ED-4822-A6D9-1DDCD686DA3F@m-r-d.de> References: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> <5986C288-3053-46F6-A0FE-0DB08D95322C@m-r-d.de> <1E2AA2BC-0657-4DFB-8284-1CF2FCAC9DFC@all-auctions.com> <4a058d4c-7e6b-c867-ffb9-479c20729c0b@sonic.net> <1285A25A-1EA8-4427-815A-8953B1F502BC@all-auctions.com> <692DDE12-81ED-4822-A6D9-1DDCD686DA3F@m-r-d.de> Message-ID: <39DAE514-0185-4668-BEB2-1BE3672A68FE@all-auctions.com> Hi Matthias, Nice one, but no thanks. Sometimes bundling isn?t the best option for LiveCode vets. Individual offerings might be better for some of us. I don?t think the mothership should leave money on the table by not offering other options. Just my 2 cents for the day. Enjoy your day! :-) Rick > On Apr 28, 2019, at 9:17 AM, Matthias Rebbe via use-livecode wrote: > > You can order just the Simulcast here https://livecode.com/california19/simulcast/ > > for 149$. ;) > > Regards, > > Matthias > > > > >> Am 28.04.2019 um 04:35 schrieb Rick Harrison via use-livecode : >> >> Hi Mark, >> >> I have a Lifetime Indy LiveCode license. So I don?t need that. >> I have a Lifetime On-Rev license. >> I run my own servers with Postgresql as my database. >> (I really don?t need LiveCloud yet.) >> I do not want to attend the conference in person. >> >> So yes, in my case, the deal isn?t good enough for me. >> I might only have interest in just the simulcast and recordings. >> >> Thanks for asking. >> >> Rick >> >> >>> On Apr 27, 2019, at 10:13 PM, Mark Wieder via use-livecode wrote: >>> >>> On 4/27/19 6:45 PM, Rick Harrison via use-livecode wrote: >>> >>>> Is there a way to just get full access to the 2019 Simulcast streaming and recordings? >>> >>> Because $149 for that PLUS a LiveCloud subscription AND a permanent 9.0 license isn't a good enough deal for you? >>> >>> If you buy a $199 ticket to attend the conference and want to add just the simulcast and recordings, that alone will add $149. >>> >>> -- >>> 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 From kevin at livecode.com Sun Apr 28 10:26:51 2019 From: kevin at livecode.com (Kevin Miller) Date: Sun, 28 Apr 2019 16:26:51 +0200 Subject: Livecloud Bundle Offer In-Reply-To: <39DAE514-0185-4668-BEB2-1BE3672A68FE@all-auctions.com> References: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> <5986C288-3053-46F6-A0FE-0DB08D95322C@m-r-d.de> <1E2AA2BC-0657-4DFB-8284-1CF2FCAC9DFC@all-auctions.com> <4a058d4c-7e6b-c867-ffb9-479c20729c0b@sonic.net> <1285A25A-1EA8-4427-815A-8953B1F502BC@all-auctions.com> <692DDE12-81ED-4822-A6D9-1DDCD686DA3F@m-r-d.de> <39DAE514-0185-4668-BEB2-1BE3672A68FE@all-auctions.com> Message-ID: Hi folks, I?m glad there is excitement about this offer. However a little note of caution. At various points we make offers that target specific groups for all sorts of reasons. For example, we might offer a bundle to someone who has been on our mailing list for a long time and who has never ever bought a license from us. In those cases it makes sense for us to try to help move you up to the commercial version, in the hope that as you use the commercial features and enjoy a level of success, you may become a full price subscriber to at least one of the various things we offer subscriptions to. Clearly it would be completely unsustainable for us as a business to do something like that if you weren?t in such a category as our bread and butter is revenue of all sorts from our subscriber base. The purpose of this type of offer is increase the odds we ultimately grow full price subscribers and purchasers. The Simulcast is certainly not available for less than the list price to anyone, the conference is very expensive to run and packed with valuable content. If you get such an offer it states clearly it is personal to you and not transferable. So posting it on the list puts us in the difficult position of potentially having to decline a purchase from individuals who did not receive it. That's not a situation we ever want to be in as it leads to disappointment all round, but we don?t really have a choice. This was not a general offer open to everyone. In general if you have questions about offers, pricing, licensing etc we greatly appreciate it if you post them to support at livecode.com. This list is about using LiveCode, and as such I would like to declare an end to this thread. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Develop Yourself On 28/04/2019, 16:06, "use-livecode on behalf of Rick Harrison via use-livecode" wrote: >Hi Matthias, > >Nice one, but no thanks. > >Sometimes bundling isn?t the best option for LiveCode vets. >Individual offerings might be better for some of us. > >I don?t think the mothership should leave money >on the table by not offering other options. > >Just my 2 cents for the day. > >Enjoy your day! :-) > >Rick > >> On Apr 28, 2019, at 9:17 AM, Matthias Rebbe via use-livecode >> wrote: >> >> You can order just the Simulcast here >>https://livecode.com/california19/simulcast/ >> >> for 149$. ;) >> >> Regards, >> >> Matthias >> >> >> >> >>> Am 28.04.2019 um 04:35 schrieb Rick Harrison via use-livecode >>>: >>> >>> Hi Mark, >>> >>> I have a Lifetime Indy LiveCode license. So I don?t need that. >>> I have a Lifetime On-Rev license. >>> I run my own servers with Postgresql as my database. >>> (I really don?t need LiveCloud yet.) >>> I do not want to attend the conference in person. >>> >>> So yes, in my case, the deal isn?t good enough for me. >>> I might only have interest in just the simulcast and recordings. >>> >>> Thanks for asking. >>> >>> Rick >>> >>> >>>> On Apr 27, 2019, at 10:13 PM, Mark Wieder via use-livecode >>>> wrote: >>>> >>>> On 4/27/19 6:45 PM, Rick Harrison via use-livecode wrote: >>>> >>>>> Is there a way to just get full access to the 2019 Simulcast >>>>>streaming and recordings? >>>> >>>> Because $149 for that PLUS a LiveCloud subscription AND a permanent >>>>9.0 license isn't a good enough deal for you? >>>> >>>> If you buy a $199 ticket to attend the conference and want to add >>>>just the simulcast and recordings, that alone will add $149. >>>> >>>> -- >>>> 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 > > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Sun Apr 28 12:16:30 2019 From: dochawk at gmail.com (doc hawk) Date: Sun, 28 Apr 2019 09:16:30 -0700 Subject: Why do I have the business package? Message-ID: <24F61D44-B3F1-4ED3-BB5A-2DE5F9D700EF@gmail.com> In all seriousness, what does it actually do for us? I have a perpetual indy license, and my business license is up for renewal on Thursday. I *think* it?s supposed to handle some kind of revision control or repository, but I?ve never gotten around to *anything* with it. Currently, my revision control is by stacks (which I?ll actually be talking about and sharing at the conference). Does it really doppelg?nger?s anything other than support the mothership? From alex at tweedly.net Sun Apr 28 13:33:23 2019 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 28 Apr 2019 18:33:23 +0100 Subject: Livecloud Bundle Offer In-Reply-To: References: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> <5986C288-3053-46F6-A0FE-0DB08D95322C@m-r-d.de> <1E2AA2BC-0657-4DFB-8284-1CF2FCAC9DFC@all-auctions.com> <4a058d4c-7e6b-c867-ffb9-479c20729c0b@sonic.net> <1285A25A-1EA8-4427-815A-8953B1F502BC@all-auctions.com> <692DDE12-81ED-4822-A6D9-1DDCD686DA3F@m-r-d.de> <39DAE514-0185-4668-BEB2-1BE3672A68FE@all-auctions.com> Message-ID: Kevin, while I absolutely understand and agree with your email, there is an ambiguity in this bundle offer which I think should be cleared up (esp. since this is an offer available on the website to everyone, not one emailed to a targeted group). Since it has had so much interest on the uselist - could someone from Livecode Ltd please give an unambiguous answer here on the list. Does this bundle (Livecloud Introductory Bundle) include a permanent license to 9.0.3 or to 9.0 x ? Many thanks, Alex. On 28/04/2019 15:26, Kevin Miller via use-livecode wrote: > Hi folks, > > I?m glad there is excitement about this offer. > > However a little note of caution. At various points we make offers that > target specific groups for all sorts of reasons. For example, we might > offer a bundle to someone who has been on our mailing list for a long time > and who has never ever bought a license from us. In those cases it makes > sense for us to try to help move you up to the commercial version, in the > hope that as you use the commercial features and enjoy a level of success, > you may become a full price subscriber to at least one of the various > things we offer subscriptions to. > > Clearly it would be completely unsustainable for us as a business to do > something like that if you weren?t in such a category as our bread and > butter is revenue of all sorts from our subscriber base. The purpose of > this type of offer is increase the odds we ultimately grow full price > subscribers and purchasers. The Simulcast is certainly not available for > less than the list price to anyone, the conference is very expensive to > run and packed with valuable content. > > If you get such an offer it states clearly it is personal to you and not > transferable. So posting it on the list puts us in the difficult position > of potentially having to decline a purchase from individuals who did not > receive it. That's not a situation we ever want to be in as it leads to > disappointment all round, but we don?t really have a choice. This was not > a general offer open to everyone. > > In general if you have questions about offers, pricing, licensing etc we > greatly appreciate it if you post them to support at livecode.com. This list > is about using LiveCode, and as such I would like to declare an end to > this thread. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > LiveCode: Develop Yourself > > > > > On 28/04/2019, 16:06, "use-livecode on behalf of Rick Harrison via > use-livecode" use-livecode at lists.runrev.com> wrote: > >> Hi Matthias, >> >> Nice one, but no thanks. >> >> Sometimes bundling isn?t the best option for LiveCode vets. >> Individual offerings might be better for some of us. >> >> I don?t think the mothership should leave money >> on the table by not offering other options. >> >> Just my 2 cents for the day. >> >> Enjoy your day! :-) >> >> Rick >> >>> On Apr 28, 2019, at 9:17 AM, Matthias Rebbe via use-livecode >>> wrote: >>> >>> You can order just the Simulcast here >>> https://livecode.com/california19/simulcast/ >>> >>> for 149$. ;) >>> >>> Regards, >>> >>> Matthias >>> >>> >>> >>> >>>> Am 28.04.2019 um 04:35 schrieb Rick Harrison via use-livecode >>>> : >>>> >>>> Hi Mark, >>>> >>>> I have a Lifetime Indy LiveCode license. So I don?t need that. >>>> I have a Lifetime On-Rev license. >>>> I run my own servers with Postgresql as my database. >>>> (I really don?t need LiveCloud yet.) >>>> I do not want to attend the conference in person. >>>> >>>> So yes, in my case, the deal isn?t good enough for me. >>>> I might only have interest in just the simulcast and recordings. >>>> >>>> Thanks for asking. >>>> >>>> Rick >>>> >>>> >>>>> On Apr 27, 2019, at 10:13 PM, Mark Wieder via use-livecode >>>>> wrote: >>>>> >>>>> On 4/27/19 6:45 PM, Rick Harrison via use-livecode wrote: >>>>> >>>>>> Is there a way to just get full access to the 2019 Simulcast >>>>>> streaming and recordings? >>>>> Because $149 for that PLUS a LiveCloud subscription AND a permanent >>>>> 9.0 license isn't a good enough deal for you? >>>>> >>>>> If you buy a $199 ticket to attend the conference and want to add >>>>> just the simulcast and recordings, that alone will add $149. >>>>> >>>>> -- >>>>> 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 28 15:19:42 2019 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 28 Apr 2019 21:19:42 +0200 Subject: Why do I have the business package? In-Reply-To: <24F61D44-B3F1-4ED3-BB5A-2DE5F9D700EF@gmail.com> References: <24F61D44-B3F1-4ED3-BB5A-2DE5F9D700EF@gmail.com> Message-ID: <0F29A190-45A3-4005-9C88-635B156660C0@m-r-d.de> The commercial licenses have many additional features. It?s up to you to decide if you need one/some or any of those additional features or not and if it?s worth to pay the subscription fee. You?ll find a comparison chart of all licenses types here https://livecode.com/products/livecode-platform/pricing/ Regards, Matthias > Am 28.04.2019 um 18:16 schrieb doc hawk via use-livecode : > > > In all seriousness, what does it actually do for us? > > I have a perpetual indy license, and my business license is up for renewal on Thursday. > > I *think* it?s supposed to handle some kind of revision control or repository, but I?ve never gotten around to *anything* with it. > > Currently, my revision control is by stacks (which I?ll actually be talking about and sharing at the conference). > > Does it really doppelg?nger?s anything other than support the mothership? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Apr 28 16:53:40 2019 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Apr 2019 15:53:40 -0500 Subject: Segmented control on Android Message-ID: <092383f7-d4d1-cbc3-0f21-c1a59942d8a2@hyperactivesw.com> I'm using a segmented control in an Android app and it is not sending a hiliteChanged message when I tap on it. It works fine on desktop. This is with LC 9.0.4rc2. Is this something on my end or has anyone else had the problem? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Sun Apr 28 17:30:58 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 28 Apr 2019 21:30:58 +0000 Subject: Lesson on Accelerated Rendering In-Reply-To: <39486e90-b383-7557-aff5-f9d7cbbfe02d@hyperactivesw.com> References: <44a2534a-8391-e18c-14c1-9b112d23006c@krutt.org> <39486e90-b383-7557-aff5-f9d7cbbfe02d@hyperactivesw.com> Message-ID: <7FCFB9BF-804A-40BC-A726-3EAE9E4005FF@hindu.org> Wow that's great, I need to use the MailArchive to search, . (duh, of course) my own inbox archive doesn't go that far I will see you I can get my head around it before the conference so I'll know what Mark is talking about. I'm getting black, blank screens, on Android....(in the wordpuzzle) related to lock screen and AcceleratedRendering Thanks to some change they made in 9.0.4.RC2 BR J. Landman Gay wrote: Here is my layman's guess at how it works: And here is Mark Waddingham's more technical explanation: From stephen at barncard.com Sun Apr 28 18:13:40 2019 From: stephen at barncard.com (Stephen Barncard) Date: Sun, 28 Apr 2019 15:13:40 -0700 Subject: Lesson on Accelerated Rendering In-Reply-To: <7FCFB9BF-804A-40BC-A726-3EAE9E4005FF@hindu.org> References: <44a2534a-8391-e18c-14c1-9b112d23006c@krutt.org> <39486e90-b383-7557-aff5-f9d7cbbfe02d@hyperactivesw.com> <7FCFB9BF-804A-40BC-A726-3EAE9E4005FF@hindu.org> Message-ID: It is frightening how much mumbo jumbo goes down every time we 'touch' a field. I had no idea. No wonder loops could get glacial quickly if one is not careful with using fields as a destination. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sun, Apr 28, 2019 at 2:31 PM Sannyasin Brahmanathaswami via use-livecode wrote: > Wow that's great, I need to use the MailArchive to search, . (duh, of > course) my own inbox archive doesn't go that far > > I will see you I can get my head around it before the conference so I'll > know what Mark is talking about. > > I'm getting black, blank screens, on Android....(in the wordpuzzle) > related to lock screen and AcceleratedRendering > > Thanks to some change they made in 9.0.4.RC2 > > BR > > J. Landman Gay wrote: > > Here is my layman's guess at how it works: > < > https://www.mail-archive.com/use-livecode at lists.runrev.com/msg84396.html> > > And here is Mark Waddingham's more technical explanation: > < > https://www.mail-archive.com/use-livecode at lists.runrev.com/msg84428.html> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Sun Apr 28 21:46:51 2019 From: tom at makeshyft.com (Tom Glod) Date: Sun, 28 Apr 2019 21:46:51 -0400 Subject: Livecloud Bundle Offer In-Reply-To: References: <8D4B002B-7E4A-4754-BF13-90A15796A59A@all-auctions.com> <5986C288-3053-46F6-A0FE-0DB08D95322C@m-r-d.de> <1E2AA2BC-0657-4DFB-8284-1CF2FCAC9DFC@all-auctions.com> <4a058d4c-7e6b-c867-ffb9-479c20729c0b@sonic.net> <1285A25A-1EA8-4427-815A-8953B1F502BC@all-auctions.com> <692DDE12-81ED-4822-A6D9-1DDCD686DA3F@m-r-d.de> <39DAE514-0185-4668-BEB2-1BE3672A68FE@all-auctions.com> Message-ID: Hey Kevin, I'm not sure if I did the right thing by posting about the offer here, it didn't occur to me to think whether thats something you would want to have happen. Someone else posted about this on facebook, thats how I found out about it. If it matter, I'm sorry. I'll think twice next time. Partly its because you guys rarely ever really post about your events ....not to mention offers. Your social media / advertising strategy is unpredictable in that sense. I know that I will move on from this license because i need some of the bugs fixed.... and the datagrid to have accelerated rendering:) On Sun, Apr 28, 2019 at 1:33 PM Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > Kevin, > > while I absolutely understand and agree with your email, there is an > ambiguity in this bundle offer which I think should be cleared up (esp. > since this is an offer available on the website to everyone, not one > emailed to a targeted group). > > Since it has had so much interest on the uselist - could someone from > Livecode Ltd please give an unambiguous answer here on the list. > Does this bundle (Livecloud Introductory Bundle) include a permanent > license to 9.0.3 or to 9.0 x ? > > Many thanks, > > Alex. > > On 28/04/2019 15:26, Kevin Miller via use-livecode wrote: > > Hi folks, > > > > I?m glad there is excitement about this offer. > > > > However a little note of caution. At various points we make offers that > > target specific groups for all sorts of reasons. For example, we might > > offer a bundle to someone who has been on our mailing list for a long > time > > and who has never ever bought a license from us. In those cases it makes > > sense for us to try to help move you up to the commercial version, in the > > hope that as you use the commercial features and enjoy a level of > success, > > you may become a full price subscriber to at least one of the various > > things we offer subscriptions to. > > > > Clearly it would be completely unsustainable for us as a business to do > > something like that if you weren?t in such a category as our bread and > > butter is revenue of all sorts from our subscriber base. The purpose of > > this type of offer is increase the odds we ultimately grow full price > > subscribers and purchasers. The Simulcast is certainly not available for > > less than the list price to anyone, the conference is very expensive to > > run and packed with valuable content. > > > > If you get such an offer it states clearly it is personal to you and not > > transferable. So posting it on the list puts us in the difficult position > > of potentially having to decline a purchase from individuals who did not > > receive it. That's not a situation we ever want to be in as it leads to > > disappointment all round, but we don?t really have a choice. This was not > > a general offer open to everyone. > > > > In general if you have questions about offers, pricing, licensing etc we > > greatly appreciate it if you post them to support at livecode.com. This > list > > is about using LiveCode, and as such I would like to declare an end to > > this thread. > > > > Kind regards, > > > > Kevin > > > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > > LiveCode: Develop Yourself > > > > > > > > > > On 28/04/2019, 16:06, "use-livecode on behalf of Rick Harrison via > > use-livecode" > use-livecode at lists.runrev.com> wrote: > > > >> Hi Matthias, > >> > >> Nice one, but no thanks. > >> > >> Sometimes bundling isn?t the best option for LiveCode vets. > >> Individual offerings might be better for some of us. > >> > >> I don?t think the mothership should leave money > >> on the table by not offering other options. > >> > >> Just my 2 cents for the day. > >> > >> Enjoy your day! :-) > >> > >> Rick > >> > >>> On Apr 28, 2019, at 9:17 AM, Matthias Rebbe via use-livecode > >>> wrote: > >>> > >>> You can order just the Simulcast here > >>> https://livecode.com/california19/simulcast/ > >>> > >>> for 149$. ;) > >>> > >>> Regards, > >>> > >>> Matthias > >>> > >>> > >>> > >>> > >>>> Am 28.04.2019 um 04:35 schrieb Rick Harrison via use-livecode > >>>> : > >>>> > >>>> Hi Mark, > >>>> > >>>> I have a Lifetime Indy LiveCode license. So I don?t need that. > >>>> I have a Lifetime On-Rev license. > >>>> I run my own servers with Postgresql as my database. > >>>> (I really don?t need LiveCloud yet.) > >>>> I do not want to attend the conference in person. > >>>> > >>>> So yes, in my case, the deal isn?t good enough for me. > >>>> I might only have interest in just the simulcast and recordings. > >>>> > >>>> Thanks for asking. > >>>> > >>>> Rick > >>>> > >>>> > >>>>> On Apr 27, 2019, at 10:13 PM, Mark Wieder via use-livecode > >>>>> wrote: > >>>>> > >>>>> On 4/27/19 6:45 PM, Rick Harrison via use-livecode wrote: > >>>>> > >>>>>> Is there a way to just get full access to the 2019 Simulcast > >>>>>> streaming and recordings? > >>>>> Because $149 for that PLUS a LiveCloud subscription AND a permanent > >>>>> 9.0 license isn't a good enough deal for you? > >>>>> > >>>>> If you buy a $199 ticket to attend the conference and want to add > >>>>> just the simulcast and recordings, that alone will add $149. > >>>>> > >>>>> -- > >>>>> 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 > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Sun Apr 28 21:50:45 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 29 Apr 2019 01:50:45 +0000 Subject: Lesson on Accelerated Rendering In-Reply-To: References: <44a2534a-8391-e18c-14c1-9b112d23006c@krutt.org> <39486e90-b383-7557-aff5-f9d7cbbfe02d@hyperactivesw.com> <7FCFB9BF-804A-40BC-A726-3EAE9E4005FF@hindu.org> Message-ID: <108D779F-27F1-4999-8676-67BE435BB6BD@hindu.org> And here is Mark Waddingham's more technical explanation: BR: After reading the above, in so far as my app is modular, made up of many stacks, all of which have object that move, either with dynamic or scrolling. It is simple enough always to "set acceleratedRendering to true" Caveat he does not mention, that doing so in a preopenstack handler of Stack B, if you have another stack open first (A), will cause a blank black screen, when opening Stack B, on Android. Whether this a bug or not, has yet to be determined. But if we allow the stack to render first, and "set acceleratedRendering to true" in the top of the first handler run... no blank screen. That?s for moving between stacks, problem solved. Now within a stack, the open ACLR set to default-false. Inside one handler, I still get a blank black screen before I render our puzzle tiles after rearranging them with screen locked. I suspect that "set acceleratedRendering to true" while the screen is locked will be the problem. More testing needed. What is missing in Mark's reply is "how this all affects performance on Android." I supposed it can be inferred... but I can wait to hear Mark W. talk on "Optimising" at the conference (I'll be tuning in with SimulCast) Stephen Barncard wrote: It is frightening how much mumbo jumbo goes down every time we 'touch' a field. I had no idea. No wonder loops could get glacial quickly if one is not careful with using fields as a destination. From dsc at swcp.com Mon Apr 29 02:12:18 2019 From: dsc at swcp.com (Dar Scott Consulting) Date: Mon, 29 Apr 2019 00:12:18 -0600 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: References: <3B25516B-5386-4245-88FF-D5C95B40BEFA@swcp.com> Message-ID: <5295FEEF-A008-4B27-A9C8-457641B9D855@swcp.com> I'm not sure what C is. Maybe something related to using arrays. Maybe a tool to create code snippets. > On Apr 25, 2019, at 2:25 PM, Alex Tweedly via use-livecode wrote: > > Sorry, but .. what is C ? > > Current plan is kind of B- i.e. the default is to try to apply some simple guesswork to make a "reasonable" looking result, but with a simple way (e.g. put TRUE into myArray["NoGuessing"] ) to prevent any such attempt and ave a minimal, undecorated graph. > > -- Alex. > > On 25/04/2019 19:29, Dar Scott Consulting via use-livecode wrote: >> Coming in late... >> >> For bread-and-butter code, B. >> >> For software development, A. >> >> But, really, my response is C. >> >> Dar >> >> >>> On Apr 23, 2019, at 5:01 PM, Alex Tweedly via use-livecode wrote: >>> >>> Hi folks, >>> >>> I'm building a library (which I plan to release as Open Source), and I'm having trouble trying to decide which approach to take with default values. >>> >>> The library is to produce XY graphs (charts). An app which is using it will provide one or more sets of data to be plotted. The app can also *optionally* provide additional parameters, such as >>> >>> - display tick-marks on each axis >>> >>> - display grid lines along each axis >>> >>> - label the ticks / grids (e.g. display label every 5 ticks) >>> >>> etc. >>> >>> Without going into each one of them, there is an overall "phlosophy" chioce >>> >>> A - should the default be that the produced graph be simple (e.g. no ticks, no labels, etc.) >>> >>> or >>> >>> B - should the default be to try to find reasonable / possible values (e.g. set a value for ticks such that they appear, say, more than 10 pixels apart, but less than 100 pixels apart; that you label every 2nd-5th tick, ...) >>> >>> A is appealing because it means that the library isn't making guesses, often dumb guesses, on your behalf; you see a blank, sparse graph, and can then, as app developer, provide additional parameters to supply info you think will help. But it is unappealing because the graphs are just *so* empty by default. >>> >>> B is appealing because it feels like it is being helpful, and will (try to) produce a reasonable looking graph as best it can. >>> >>> >>> So - I'd welcome any suggestions, comments, design philosophy ideas ? >>> >>> Thanks >>> >>> Alex. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre at andregarzia.com Mon Apr 29 04:32:15 2019 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 29 Apr 2019 09:32:15 +0100 Subject: [Feedback request] New docs for dbLib Message-ID: Hey Friends, I've been working on a new release for dbLib for a while and part of it is producing better documentation. Even though it is not yet complete, I think that the new documentation is good and it might already be valuable for people here as it applies to the current release. I'd be keen to learn get feedback on it from people using the library or that are curious about the library (you can fetch the GPL version and use the same docs). So far, I've basically added an API reference. Other more complete parts such as a tutorial will come later. https://soapdog.github.io/livecode-dblib/#/ Best andre From alex at tweedly.net Mon Apr 29 07:40:49 2019 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 29 Apr 2019 12:40:49 +0100 Subject: Seeking philosophical guidance on library interface design. In-Reply-To: <5295FEEF-A008-4B27-A9C8-457641B9D855@swcp.com> References: <3B25516B-5386-4245-88FF-D5C95B40BEFA@swcp.com> <5295FEEF-A008-4B27-A9C8-457641B9D855@swcp.com> Message-ID: <764ad8dd-3f44-19a5-f002-6bd5370b2668@tweedly.net> On 29/04/2019 07:12, Dar Scott Consulting via use-livecode wrote: > I'm not sure what C is. Maybe something related to using arrays. Maybe a tool to create code snippets. Ah, OK, got it. I do already have a handler that will "save" the current graph; i.e. write out the JSON of the defining array to a file and/or the snapshot of the group as a jpeg. The JSON can then be later restored through another handler, and the jpeg can be used for websites, inclusion in docs, etc. Note though there's no guarantee that restoring the JSON will provide an exact replica, since certain parameters are inherited from the group / card / stack. For example, if you define the backgroundcolor for the graph, it will be restored, but if you don't define it, then it will be inherited, and therefore may appear differently after retrieving? the graph from file. And I have a still-vague, half-implemented idea for adding custom default arrays so that an app can predefine its own defaults. Thanks Alex. From bobsneidar at iotecdigital.com Mon Apr 29 11:38:07 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 29 Apr 2019 15:38:07 +0000 Subject: Bug drawing card in LC9 In-Reply-To: References: Message-ID: <2A1D1B53-7618-42C3-ACC3-08C5947D4BA2@iotecdigital.com> I've seen that too! Bob S > On Apr 26, 2019, at 18:20 , Neville Smythe via use-livecode wrote: > > The bottom part of card B (the height of the Mac menubar) is not redrawn, it still shows that part of card A. This bug occurs in the IDE and standalone. From bobsneidar at iotecdigital.com Mon Apr 29 11:41:25 2019 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 29 Apr 2019 15:41:25 +0000 Subject: Why do I have the business package? In-Reply-To: <0F29A190-45A3-4005-9C88-635B156660C0@m-r-d.de> References: <24F61D44-B3F1-4ED3-BB5A-2DE5F9D700EF@gmail.com> <0F29A190-45A3-4005-9C88-635B156660C0@m-r-d.de> Message-ID: <8F12678A-7336-4F3B-8514-F46A60D6138C@iotecdigital.com> By way of rhetoric, I think it would have been better for everyone if there was a base price for a commercial version maintenance, and the additional features were something we paid extra for as needed. The business license contains components I really want to use, but it is too expensive for me and I am not selling my apps commercially. Bob S > On Apr 28, 2019, at 12:19 , Matthias Rebbe via use-livecode wrote: > > The commercial licenses have many additional features. It?s up to you to decide if you need one/some or any of those additional features or not and if it?s worth to pay the subscription fee. > You?ll find a comparison chart of all licenses types here https://livecode.com/products/livecode-platform/pricing/ > > Regards, > Matthias From tom at makeshyft.com Mon Apr 29 11:58:16 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 29 Apr 2019 11:58:16 -0400 Subject: Can LC Server code export images of cards and objects Message-ID: Hi folkls, I'm quoting a project for a website wizard that requires creating an output image or PDF. I'm unclear whether I am able to use Livecode Server and still have a "canvas" that i can put images and svgs and text on and then export as an image or print to a PDF? Thanks, Tom From ambassador at fourthworld.com Mon Apr 29 12:15:27 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Apr 2019 09:15:27 -0700 Subject: Can LC Server code export images of cards and objects In-Reply-To: References: Message-ID: Tom Glod wrote: > I'm quoting a project for a website wizard that requires creating an > output image or PDF. > > I'm unclear whether I am able to use Livecode Server and still have a > "canvas" that i can put images and svgs and text on and then export as > an image or print to a PDF? Back around v7 or so LC Server was enhanced to allow export of snapshots. I don't know if the PDF external works on Server, but worth testing before submitting your proposal. -- 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 richmondmathewson at gmail.com Mon Apr 29 12:54:15 2019 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 29 Apr 2019 19:54:15 +0300 Subject: Can LC Server code export images of cards and objects In-Reply-To: References: Message-ID: <6505c2d1-f7f2-44f1-94b3-d3432323b5af@gmail.com> A word of warning to Macintosh users . . . For "some odd reason" exported snapshots now end up inside the LiveCode.app folder, so to access your snapshots you have to fool around with a right-click to get inside the app. Richmond. On 29.04.19 ?. 19:15 ?., Richard Gaskin via use-livecode wrote: > Tom Glod wrote: > > > I'm quoting a project for a website wizard that requires creating an > > output image or PDF. > > > > I'm unclear whether I am able to use Livecode Server and still have a > > "canvas" that i can put images and svgs and text on and then export as > > an image or print to a PDF? > > Back around v7 or so LC Server was enhanced to allow export of snapshots. > > I don't know if the PDF external works on Server, but worth testing > before submitting your proposal. > From jjs at krutt.org Mon Apr 29 13:08:47 2019 From: jjs at krutt.org (JJS) Date: Mon, 29 Apr 2019 19:08:47 +0200 Subject: Lesson on Accelerated Rendering In-Reply-To: <108D779F-27F1-4999-8676-67BE435BB6BD@hindu.org> References: <44a2534a-8391-e18c-14c1-9b112d23006c@krutt.org> <39486e90-b383-7557-aff5-f9d7cbbfe02d@hyperactivesw.com> <7FCFB9BF-804A-40BC-A726-3EAE9E4005FF@hindu.org> <108D779F-27F1-4999-8676-67BE435BB6BD@hindu.org> Message-ID: <6f263360-f0a2-d5c5-fd30-877cdc9ed43f@krutt.org> This blank screen and the shifting of the image were a few of the bugs that were solved. In the BUG quality list is a tip on how to solve it by sending it to me in a tick or something. But this was before the bug was solved. I previously turned on and off the accelerated when i needed a keyboard on android. This is not needed anymore, that bug is solved. But maybe in your way of using it between stack, i might think that you need to turn it off before loading a new stack and then turn it on again. It's worth a try. Op 29-4-2019 om 03:50 schreef Sannyasin Brahmanathaswami via use-livecode: > And here is Mark Waddingham's more technical explanation: > > > BR: After reading the above, in so far as my app is modular, made up of many stacks, all of which have object that move, either with dynamic or scrolling. It is simple enough always to "set acceleratedRendering to true" > > Caveat he does not mention, that doing so in a preopenstack handler of Stack B, if you have another stack open first (A), will cause a blank black screen, when opening Stack B, on Android. Whether this a bug or not, has yet to be determined. But if we allow the stack to render first, and "set acceleratedRendering to true" in the top of the first handler run... no blank screen. > > That?s for moving between stacks, problem solved. > > Now within a stack, the open ACLR set to default-false. Inside one handler, I still get a blank black screen before I render our puzzle tiles after rearranging them with screen locked. I suspect that > > "set acceleratedRendering to true" while the screen is locked will be the problem. > > More testing needed. What is missing in Mark's reply is "how this all affects performance on Android." I supposed it can be inferred... but I can wait to hear Mark W. talk on "Optimising" at the conference (I'll be tuning in with SimulCast) > > Stephen Barncard wrote: > > It is frightening how much mumbo jumbo goes down every time we 'touch' a > field. > I had no idea. > No wonder loops could get glacial quickly if one is not careful with using > fields as a destination. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Apr 29 13:09:20 2019 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 29 Apr 2019 18:09:20 +0100 Subject: Can LC Server code export images of cards and objects In-Reply-To: <6505c2d1-f7f2-44f1-94b3-d3432323b5af@gmail.com> References: <6505c2d1-f7f2-44f1-94b3-d3432323b5af@gmail.com> Message-ID: <1b943fdf-f6cf-d319-c41a-fe688395b661@tweedly.net> or use the form of export snapshot .... to file /whatever/file/path/you/want.jpg as jpeg On 29/04/2019 17:54, Richmond via use-livecode wrote: > A word of warning to Macintosh users . . . > > For "some odd reason" exported snapshots now end up inside the > LiveCode.app folder, > > so to access your snapshots you have to fool around with a right-click > to get inside the app. > > Richmond. > > On 29.04.19 ?. 19:15 ?., Richard Gaskin via use-livecode wrote: >> Tom Glod wrote: >> >> > I'm quoting a project for a website wizard that requires creating an >> > output image or PDF. >> > >> > I'm unclear whether I am able to use Livecode Server and still have a >> > "canvas" that i can put images and svgs and text on and then export as >> > an image or print to a PDF? >> >> Back around v7 or so LC Server was enhanced to allow export of >> snapshots. >> >> I don't know if the PDF external works on Server, but worth testing >> before submitting your proposal. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Mon Apr 29 13:11:05 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 29 Apr 2019 13:11:05 -0400 Subject: Can LC Server code export images of cards and objects In-Reply-To: <1b943fdf-f6cf-d319-c41a-fe688395b661@tweedly.net> References: <6505c2d1-f7f2-44f1-94b3-d3432323b5af@gmail.com> <1b943fdf-f6cf-d319-c41a-fe688395b661@tweedly.net> Message-ID: Yess thats great!! I can convert image to PDF using other means as long as I have the image. Thank you:) On Mon, Apr 29, 2019 at 1:09 PM Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > or use the form of > > export snapshot .... to file /whatever/file/path/you/want.jpg as jpeg > > > On 29/04/2019 17:54, Richmond via use-livecode wrote: > > A word of warning to Macintosh users . . . > > > > For "some odd reason" exported snapshots now end up inside the > > LiveCode.app folder, > > > > so to access your snapshots you have to fool around with a right-click > > to get inside the app. > > > > Richmond. > > > > On 29.04.19 ?. 19:15 ?., Richard Gaskin via use-livecode wrote: > >> Tom Glod wrote: > >> > >> > I'm quoting a project for a website wizard that requires creating an > >> > output image or PDF. > >> > > >> > I'm unclear whether I am able to use Livecode Server and still have a > >> > "canvas" that i can put images and svgs and text on and then export as > >> > an image or print to a PDF? > >> > >> Back around v7 or so LC Server was enhanced to allow export of > >> snapshots. > >> > >> I don't know if the PDF external works on Server, but worth testing > >> before submitting your proposal. > >> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 29 14:50:04 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Apr 2019 11:50:04 -0700 Subject: Can LC Server code export images of cards and objects In-Reply-To: <6505c2d1-f7f2-44f1-94b3-d3432323b5af@gmail.com> References: <6505c2d1-f7f2-44f1-94b3-d3432323b5af@gmail.com> Message-ID: Richmond wrote: > A word of warning to Macintosh users . . . > > For "some odd reason" exported snapshots now end up inside the > LiveCode.app folder, > > so to access your snapshots you have to fool around with a right-click > to get inside the app. LiveCode will only export the file where you tell it to. If unsure about relative paths, use absolute paths. -- 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 Mon Apr 29 14:53:46 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Apr 2019 11:53:46 -0700 Subject: Can LC Server code export images of cards and objects In-Reply-To: References: Message-ID: Tom Glod wrote: > I can convert image to PDF using other means as long as I have the > image. Probably worth a few minutes to test LC's PDF generation from the LC Server engine for Linux (or whatever your target hosting OS is). Snapshots are bitmaps, without vector information. PDFs can be done that way, but lose quality in printing, can't be searched, etc. Using the LC's Print-to-PDF external translates LC's object vectors to PDF vectors, making as much as possible resolution-independent. This not only improves printing quality, but also zooming, and usually results in a much smaller file for shorter download times. -- 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 andrew at midwestcoastmedia.com Mon Apr 29 15:56:08 2019 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Mon, 29 Apr 2019 19:56:08 +0000 Subject: Why do I have the business package? In-Reply-To: Message-ID: <20190429195608.Horde.2rU7B_-C4W1VN9kICZHyxXo@ua850258.serversignin.com> Occasionally I use some of the advanced networking stuff but the remote debugger has been worth the upgrade price for me. --Andrew Bell > Date: Sun, 28 Apr 2019 09:16:30 -0700 > From: doc hawk > To: use-livecode at lists.runrev.com > Subject: Why do I have the business package? > > > In all seriousness, what does it actually do for us? > > I have a perpetual indy license, and my business license is up for > renewal on Thursday. > > I *think* it?s supposed to handle some kind of revision control or > repository, but I?ve never gotten around to *anything* with it. > > Currently, my revision control is by stacks (which I?ll actually be > talking about and sharing at the conference). > > Does it really doppelg?nger?s anything other than support the mothership? > From tom at makeshyft.com Mon Apr 29 17:18:57 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 29 Apr 2019 17:18:57 -0400 Subject: Can LC Server code export images of cards and objects In-Reply-To: References: Message-ID: Thanks for that tip I'll keep it in mind for now and in the future. In this case, there is no need for searchable text .... its a visual birth plan wizard for pregnant women with 1 page output. On Mon, Apr 29, 2019 at 2:54 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > > I can convert image to PDF using other means as long as I have the > > image. > > Probably worth a few minutes to test LC's PDF generation from the LC > Server engine for Linux (or whatever your target hosting OS is). > > Snapshots are bitmaps, without vector information. PDFs can be done > that way, but lose quality in printing, can't be searched, etc. > > Using the LC's Print-to-PDF external translates LC's object vectors to > PDF vectors, making as much as possible resolution-independent. This > not only improves printing quality, but also zooming, and usually > results in a much smaller file for shorter download times. > > -- > 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 tom at makeshyft.com Mon Apr 29 17:21:36 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 29 Apr 2019 17:21:36 -0400 Subject: Can LC Server code export images of cards and objects In-Reply-To: References: Message-ID: It will only be running on a linux server so I can convert the image into what i want with command line tools at 100% quality ......(assuming so) On Mon, Apr 29, 2019 at 5:18 PM Tom Glod wrote: > Thanks for that tip I'll keep it in mind for now and in the future. > > In this case, there is no need for searchable text .... its a visual birth > plan wizard for pregnant women with 1 page output. > > On Mon, Apr 29, 2019 at 2:54 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Tom Glod wrote: >> >> > I can convert image to PDF using other means as long as I have the >> > image. >> >> Probably worth a few minutes to test LC's PDF generation from the LC >> Server engine for Linux (or whatever your target hosting OS is). >> >> Snapshots are bitmaps, without vector information. PDFs can be done >> that way, but lose quality in printing, can't be searched, etc. >> >> Using the LC's Print-to-PDF external translates LC's object vectors to >> PDF vectors, making as much as possible resolution-independent. This >> not only improves printing quality, but also zooming, and usually >> results in a much smaller file for shorter download times. >> >> -- >> 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 Mon Apr 29 18:04:14 2019 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Apr 2019 15:04:14 -0700 Subject: Can LC Server code export images of cards and objects In-Reply-To: References: Message-ID: <42daa749-b54d-2fd5-ddb8-55788d7a191e@fourthworld.com> That would be 100% of LC's bitmap quality. Screen shots aren't vector. Do what you like, but if it were me I'd spend two minutes seeing if I can get vector-based PDF output with LC's external. -- Richard Gaskin Fourth World Systems Tom Glod wrote: > It will only be running on a linux server so I can convert the image into > what i want with command line tools at 100% quality ......(assuming so) > > On Mon, Apr 29, 2019 at 5:18 PM Tom Glod wrote: > >> Thanks for that tip I'll keep it in mind for now and in the future. >> >> In this case, there is no need for searchable text .... its a visual birth >> plan wizard for pregnant women with 1 page output. >> >> On Mon, Apr 29, 2019 at 2:54 PM Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Tom Glod wrote: >>> >>> > I can convert image to PDF using other means as long as I have the >>> > image. >>> >>> Probably worth a few minutes to test LC's PDF generation from the LC >>> Server engine for Linux (or whatever your target hosting OS is). >>> >>> Snapshots are bitmaps, without vector information. PDFs can be done >>> that way, but lose quality in printing, can't be searched, etc. >>> >>> Using the LC's Print-to-PDF external translates LC's object vectors to >>> PDF vectors, making as much as possible resolution-independent. This >>> not only improves printing quality, but also zooming, and usually >>> results in a much smaller file for shorter download times. >>> From tom at makeshyft.com Mon Apr 29 19:30:45 2019 From: tom at makeshyft.com (Tom Glod) Date: Mon, 29 Apr 2019 19:30:45 -0400 Subject: Can LC Server code export images of cards and objects In-Reply-To: <42daa749-b54d-2fd5-ddb8-55788d7a191e@fourthworld.com> References: <42daa749-b54d-2fd5-ddb8-55788d7a191e@fourthworld.com> Message-ID: I will compare the two....thank you. On Mon, Apr 29, 2019 at 6:04 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > That would be 100% of LC's bitmap quality. Screen shots aren't vector. > > Do what you like, but if it were me I'd spend two minutes seeing if I > can get vector-based PDF output with LC's external. > > -- > Richard Gaskin > Fourth World Systems > > > Tom Glod wrote: > > It will only be running on a linux server so I can convert the image into > > what i want with command line tools at 100% quality ......(assuming so) > > > > On Mon, Apr 29, 2019 at 5:18 PM Tom Glod wrote: > > > >> Thanks for that tip I'll keep it in mind for now and in the future. > >> > >> In this case, there is no need for searchable text .... its a visual > birth > >> plan wizard for pregnant women with 1 page output. > >> > >> On Mon, Apr 29, 2019 at 2:54 PM Richard Gaskin via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> Tom Glod wrote: > >>> > >>> > I can convert image to PDF using other means as long as I have the > >>> > image. > >>> > >>> Probably worth a few minutes to test LC's PDF generation from the LC > >>> Server engine for Linux (or whatever your target hosting OS is). > >>> > >>> Snapshots are bitmaps, without vector information. PDFs can be done > >>> that way, but lose quality in printing, can't be searched, etc. > >>> > >>> Using the LC's Print-to-PDF external translates LC's object vectors to > >>> PDF vectors, making as much as possible resolution-independent. This > >>> not only improves printing quality, but also zooming, and usually > >>> results in a much smaller file for shorter download times. > >>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Apr 30 02:35:49 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 30 Apr 2019 09:35:49 +0300 Subject: Lesson on Accelerated Rendering In-Reply-To: <7FCFB9BF-804A-40BC-A726-3EAE9E4005FF@hindu.org> References: <44a2534a-8391-e18c-14c1-9b112d23006c@krutt.org> <39486e90-b383-7557-aff5-f9d7cbbfe02d@hyperactivesw.com> <7FCFB9BF-804A-40BC-A726-3EAE9E4005FF@hindu.org> Message-ID: Hello Brahmanathaswami, This issue will be fixed in the next release ( 9.0.4 rc4 ) Kind Regards, Panos -- On Mon, 29 Apr 2019 at 00:31, Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > Wow that's great, I need to use the MailArchive to search, . (duh, of > course) my own inbox archive doesn't go that far > > I will see you I can get my head around it before the conference so I'll > know what Mark is talking about. > > I'm getting black, blank screens, on Android....(in the wordpuzzle) > related to lock screen and AcceleratedRendering > > Thanks to some change they made in 9.0.4.RC2 > > BR > > J. Landman Gay wrote: > > Here is my layman's guess at how it works: > < > https://www.mail-archive.com/use-livecode at lists.runrev.com/msg84396.html> > > And here is Mark Waddingham's more technical explanation: > < > https://www.mail-archive.com/use-livecode at lists.runrev.com/msg84428.html> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From merakosp at gmail.com Tue Apr 30 07:04:08 2019 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 30 Apr 2019 14:04:08 +0300 Subject: mobilePickPhoto on Android In-Reply-To: References: Message-ID: Hello Dan, This sounds like https://quality.livecode.com/show_bug.cgi?id=21826, affecting only specific Android devices, and has been fixed in LC 9.0.4 RC-1+ Kind regards, Panos -- On Sat, 27 Apr 2019 at 01:09, Dan Friedman via use-livecode < use-livecode at lists.runrev.com> wrote: > Greetings! I am calling mobilePickPhoto "camera" on a Android device. > If I am running Android version 7.0, everything works great. If I am > running Android 8.0, then I get an empty back where length(image 1) is 0. > Using LiveCode 9.0.3. Anyone know of an issue with mobilePickPhoto on > late versions of Android. FWIW, mobilePickPhoto "library" works fine on > all versions of Android. > > Thanks in advance, > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From panos.merakos at livecode.com Tue Apr 30 07:54:24 2019 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 30 Apr 2019 14:54:24 +0300 Subject: [ANN] This Week in LiveCode 176 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 #176 here: http://bit.ly/2XTLHiN 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 brahma at hindu.org Tue Apr 30 09:34:33 2019 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 30 Apr 2019 13:34:33 +0000 Subject: Lesson on Accelerated Rendering In-Reply-To: References: <44a2534a-8391-e18c-14c1-9b112d23006c@krutt.org> <39486e90-b383-7557-aff5-f9d7cbbfe02d@hyperactivesw.com> <7FCFB9BF-804A-40BC-A726-3EAE9E4005FF@hindu.org> Message-ID: Hurray! Another bug squashed! https://quality.livecode.com/show_bug.cgi?id=21962 ? panagiotis merakos wrote: Hello Brahmanathaswami, This issue will be fixed in the next release ( 9.0.4 rc4 ) Kind Regards, Panos From dan at clearvisiontech.com Tue Apr 30 13:26:18 2019 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 30 Apr 2019 17:26:18 +0000 Subject: mobilePickPhoto on Android In-Reply-To: References: Message-ID: <5C3CCD46-1672-4E12-A07C-EBA5E40EA608@clearvisiontech.com> Panos, Thank you for the reply. This version fixed the issue on several of our devices. However, my client is saying it?s failing on his Samsung Galaxy S9+ running Android 9. I have verified that he has the updated build (made with LC 9.0.4 rc 2) installed on his device. He says he has made no software or hardware modifications to the device but is still having the same issue. Perhaps there is a different issue with camera access with this device? -Dan From: panagiotis merakos Date: Tuesday, April 30, 2019 at 4:04 AM To: How to use LiveCode Cc: Dan Friedman Subject: Re: mobilePickPhoto on Android Hello Dan, This sounds like https://quality.livecode.com/show_bug.cgi?id=21826, affecting only specific Android devices, and has been fixed in LC 9.0.4 RC-1+ Kind regards, Panos -- On Sat, 27 Apr 2019 at 01:09, Dan Friedman via use-livecode > wrote: Greetings! I am calling mobilePickPhoto "camera" on a Android device. If I am running Android version 7.0, everything works great. If I am running Android 8.0, then I get an empty back where length(image 1) is 0. Using LiveCode 9.0.3. Anyone know of an issue with mobilePickPhoto on late versions of Android. FWIW, mobilePickPhoto "library" works fine on all versions of Android. Thanks in advance, -Dan _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tfabacher at gmail.com Tue Apr 30 16:30:13 2019 From: tfabacher at gmail.com (Todd Fabacher) Date: Tue, 30 Apr 2019 21:30:13 +0100 Subject: Variable and debugger window disappeared Message-ID: I can not seem to bring the variable and error list in the script editor to show again. I have a newer version of LC and it will now NOT show up. --Todd Fabacher