From t.heaford at icloud.com Sat Jul 1 02:58:26 2017 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 01 Jul 2017 07:58:26 +0100 Subject: PrintPaperRectangle In-Reply-To: References: <8492d258-4607-db09-618b-733eb6be9802@researchware.com> Message-ID: <518EF2D7-B682-4F5C-84A0-D16A91828460@icloud.com> Thanks for your explanation. It does seem logical. But where does 587 come from in 8,8,834,587 ? A4 is 553. Thanks Terry > On 30 Jun 2017, at 20:56, Bob Sneidar via use-livecode wrote: > > Almost no toner based printer can do this. It's called Full Bleed, and think about what happens to the excess toner that has to go off the edge of the paper to do that. Ink based printers are designed to do this because they can just catch the ink that gets oversprayed, and you can clean/empty the waste ink container periodically. Toner is different because the paper with the toner has to travel through the fuser, and then what doesn't get fused gets picked up in the waste toner bin AFTER the fusing process. The toner that gets left behind on a toner based printer has to have some means of being collected. > > There are a few production based copiers that can do this, but they are made to do it. Most other printers are not. > > Bob S > > >> On Jun 30, 2017, at 12:48 , Paul Dupuis via use-livecode wrote: >> >> Some printer can not print right to the edge of the paper. I believe >> that the numbers you are seeing reflect the physical limitation on the >> edges of this particular printer. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Jul 1 03:10:00 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Jul 2017 10:10:00 +0300 Subject: OT: Mandelbrot set deep dive In-Reply-To: References: Message-ID: <19f42d4a-4637-e437-5587-1fea4df9d012@gmail.com> Made me think of earlier versions of iTunes. Richmond. On 7/1/17 1:41 am, Phil Davis via use-livecode wrote: > After watching a couple minutes of this, I started getting > light-headed and felt like I was going back to the late 60s. > > Phil Davis > > > On 6/30/17 1:44 PM, Mark Wieder via use-livecode wrote: >> And while I'm posting off-topic subjects, here's a seriously deep >> dive into the Mandelbrot set. >> >> https://www.youtube.com/watch?v=ModQ59muXmU >> > From t.heaford at icloud.com Sat Jul 1 03:14:57 2017 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 01 Jul 2017 08:14:57 +0100 Subject: Capturing screen into image In-Reply-To: <4f7bf7b4-a6a7-47e5-7af5-391262b044e2@economy-x-talk.com> References: <50A57C59-EC52-47F8-9789-F373697B5995@icloud.com> <4f7bf7b4-a6a7-47e5-7af5-391262b044e2@economy-x-talk.com> Message-ID: <73487A3A-7B5C-452F-9CB3-A13BC9088EB1@icloud.com> Thanks for your help. I have changed the script to below and it does not work. set the lockLoc of image "myImage" to false export snapshot from rectangle (the rect of widget "Browser") to pictVariable as PNG put pictVariable into image "myImage" set the width of image "myImage" to the formattedWidth of image "myImage" set the height of image "myImage" to the formattedHeight of image "myImage" print card from topleft of image "myImage" to bottomRight of image ?myImage" The image ?myImage" on the screen seems to be the same as widget ?Browser? but the print card line of the script shows the grey bar at the top. Any other ideas please. Thanks Terry > On 30 Jun 2017, at 22:48, Mark Schonewille via use-livecode wrote: > > Set the lockLoc of the image to false. Set the text of the image to the PNG data (you're doing this correctly), but don't set the rect of the image first. If necessary, set the width of the image to the formattedWidth of the image and set the height of the image to the formattedHeight of the image. > > Kind regards, > > Mark Schonewille > http://economy-x-talk.com > https://www.facebook.com/marksch > > Buy the most extensive book on the > LiveCode language: > http://livecodebeginner.economy-x-talk.com > > Op 30-Jun-17 om 20:38 schreef Terence Heaford via use-livecode: >> This script does not work. >> >> export snapshot from rectangle (the rect of widget "Browser") to pictVariable as PNG >> >> set the rect of image "myImage" to the rect of widget "Browser" >> >> put pictVariable into image "myImage" >> >> print card from topleft of image "myImage" to bottomRight of image ?myImage" >> >> >> After placing the captured image into ?myImage? there is a grey bar at the top and the full width of the image is not visible. >> >> Am I doing something wrong? >> >> >> Thanks >> >> Terry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Sat Jul 1 09:02:03 2017 From: paul at researchware.com (Paul Dupuis) Date: Sat, 1 Jul 2017 09:02:03 -0400 Subject: PrintPaperRectangle In-Reply-To: <518EF2D7-B682-4F5C-84A0-D16A91828460@icloud.com> References: <8492d258-4607-db09-618b-733eb6be9802@researchware.com> <518EF2D7-B682-4F5C-84A0-D16A91828460@icloud.com> Message-ID: <2cab12ae-f928-3832-d63d-b6883c80493e@researchware.com> This is correctly reporting A4 with an 8px non-printable area around the edge: 8.27 ? 11.69 inches 8.27 72 595.44 210 ? 297 mm 11.69 72 841.68 8,8,834,587 834 8 842 l,t,r,b 587 8 595 A4 is 210 x 297mm which is 8.27 x 11.69 inches at 72px per inch is ~842 x 595 (rounding off) Take the Right coordinate of 834 ad add 8 and you get 842 and the Bottom of 587 and add 8 and you get 595 On 7/1/2017 2:58 AM, Terence Heaford via use-livecode wrote: > Thanks for your explanation. It does seem logical. > > But where does 587 come from in 8,8,834,587 ? > > A4 is 553. > > Thanks > > Terry > > > >> On 30 Jun 2017, at 20:56, Bob Sneidar via use-livecode wrote: >> >> Almost no toner based printer can do this. It's called Full Bleed, and think about what happens to the excess toner that has to go off the edge of the paper to do that. Ink based printers are designed to do this because they can just catch the ink that gets oversprayed, and you can clean/empty the waste ink container periodically. Toner is different because the paper with the toner has to travel through the fuser, and then what doesn't get fused gets picked up in the waste toner bin AFTER the fusing process. The toner that gets left behind on a toner based printer has to have some means of being collected. >> >> There are a few production based copiers that can do this, but they are made to do it. Most other printers are not. >> >> Bob S >> >> >>> On Jun 30, 2017, at 12:48 , Paul Dupuis via use-livecode wrote: >>> >>> Some printer can not print right to the edge of the paper. I believe >>> that the numbers you are seeing reflect the physical limitation on the >>> edges of this particular printer. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From t.heaford at icloud.com Sat Jul 1 10:05:22 2017 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 01 Jul 2017 15:05:22 +0100 Subject: PrintPaperRectangle In-Reply-To: <2cab12ae-f928-3832-d63d-b6883c80493e@researchware.com> References: <8492d258-4607-db09-618b-733eb6be9802@researchware.com> <518EF2D7-B682-4F5C-84A0-D16A91828460@icloud.com> <2cab12ae-f928-3832-d63d-b6883c80493e@researchware.com> Message-ID: <0D8B51E8-2E94-400D-96C5-EBB7B021F9F3@icloud.com> Sorry about that, I should have realised (must be slow on the uptake today) but?. I still get the grey area when I print the card. Do you have any insight into why this should happen? (see thread ?Capturing screen into image?)? Thanks Terry > On 1 Jul 2017, at 14:02, Paul Dupuis via use-livecode wrote: > > This is correctly reporting A4 with an 8px non-printable area around the > edge: > > 8.27 ? 11.69 inches 8.27 72 595.44 > 210 ? 297 mm 11.69 72 841.68 > > > > > > 8,8,834,587 834 8 842 > l,t,r,b > 587 8 595 > > > A4 is 210 x 297mm which is 8.27 x 11.69 inches at 72px per inch is ~842 > x 595 (rounding off) > Take the Right coordinate of 834 ad add 8 and you get 842 and the Bottom > of 587 and add 8 and you get 595 > > > On 7/1/2017 2:58 AM, Terence Heaford via use-livecode wrote: >> Thanks for your explanation. It does seem logical. >> >> But where does 587 come from in 8,8,834,587 ? >> >> A4 is 553. >> >> Thanks >> >> Terry >> >> >> >>> On 30 Jun 2017, at 20:56, Bob Sneidar via use-livecode wrote: >>> >>> Almost no toner based printer can do this. It's called Full Bleed, and think about what happens to the excess toner that has to go off the edge of the paper to do that. Ink based printers are designed to do this because they can just catch the ink that gets oversprayed, and you can clean/empty the waste ink container periodically. Toner is different because the paper with the toner has to travel through the fuser, and then what doesn't get fused gets picked up in the waste toner bin AFTER the fusing process. The toner that gets left behind on a toner based printer has to have some means of being collected. >>> >>> There are a few production based copiers that can do this, but they are made to do it. Most other printers are not. >>> >>> Bob S >>> >>> >>>> On Jun 30, 2017, at 12:48 , Paul Dupuis via use-livecode wrote: >>>> >>>> Some printer can not print right to the edge of the paper. I believe >>>> that the numbers you are seeing reflect the physical limitation on the >>>> edges of this particular printer. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Sat Jul 1 10:58:04 2017 From: paul at researchware.com (Paul Dupuis) Date: Sat, 1 Jul 2017 10:58:04 -0400 Subject: PrintPaperRectangle In-Reply-To: <0D8B51E8-2E94-400D-96C5-EBB7B021F9F3@icloud.com> References: <8492d258-4607-db09-618b-733eb6be9802@researchware.com> <518EF2D7-B682-4F5C-84A0-D16A91828460@icloud.com> <2cab12ae-f928-3832-d63d-b6883c80493e@researchware.com> <0D8B51E8-2E94-400D-96C5-EBB7B021F9F3@icloud.com> Message-ID: <66dcde61-b8db-7936-8b22-4a3ebb733788@researchware.com> On 7/1/2017 10:05 AM, Terence Heaford via use-livecode wrote: > Sorry about that, I should have realised (must be slow on the uptake today) but?. > > > I still get the grey area when I print the card. > Do you have any insight into why this should happen? > (see thread ?Capturing screen into image?)? > Sorry Terry, I have not been following the screen image thread. I responded to the paper size post because I was just doing some work on my own printing stack and so the material was "fresh" on my mind and was trying to be helpful on something I knew off the top of my head. From blueback09 at gmail.com Sat Jul 1 12:44:55 2017 From: blueback09 at gmail.com (Matt Maier) Date: Sat, 1 Jul 2017 09:44:55 -0700 Subject: Capturing screen into image In-Reply-To: <73487A3A-7B5C-452F-9CB3-A13BC9088EB1@icloud.com> References: <50A57C59-EC52-47F8-9789-F373697B5995@icloud.com> <4f7bf7b4-a6a7-47e5-7af5-391262b044e2@economy-x-talk.com> <73487A3A-7B5C-452F-9CB3-A13BC9088EB1@icloud.com> Message-ID: This is the script I use to capture screenshots from particular areas *on* snapCaptureButtMouseUp pLine *-- clicked in node details to capture a screenshot from the previously committed captureArea rect* *-- set the loc of stack "captureArea" to -1000,-1000* *-- close stack "captureArea"* *-- should already be closed* *-- export snapshot from rect sCaptureAreaGeometry["captureAreaRect"] to image "figureHolder" stack "nodeDetails"* *put* the effective filename of this stack into tPath *set* the itemDelimiter to slash *put* "temp/screenshot.gif" into item -1 of tPath *export* snapshot from rect sCaptureAreaGeometry["captureAreaRect"] to file tPath as GIF *set* the filename of image "figureHolder" stack "nodeDetails" to tPath *-- size the image* *put* the rect of field "editData" stack "NodeDetails" into tQuery["maxRect" ] *put* the long id of image "figureHolder" stack "NodeDetails" into tQuery[ "longID"] *put* fitImageToConstraint(tQuery) into tGimme *set* the width of image "figureHolder" stack "NodeDetails" to tGimme[ "width"] *set* the height of image "figureHolder" stack "NodeDetails" to tGimme[ "height"] *set* the loc of image "figureHolder" stack "NodeDetails" to tGimme["center" ] *-- the clear button can be show now* *set* the visible of button "clearImgButt" stack "NodeDetails" to true *set* the visible of button "expandImgButt" stack "NodeDetails" to true *put* the cNodeDetails of stack "NodeDetails" into tDeets *put* empty into tDeets[pLine]["new"] *put* true into tDeets["newFigure"] *-- put "screenshot" into tDeets[pLine]["new"]["copyFrom"]* *put* tPath into tDeets[pLine]["new"]["copyFrom"] *put* uuid("random") into tUUID *put* tUUID & ".gif" into tDeets[pLine]["new"]["newName"] *set* the cNodeDetails of stack "NodeDetails" to tDeets *end* snapCaptureButtMouseUp On Sat, Jul 1, 2017 at 12:14 AM, Terence Heaford via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks for your help. > > I have changed the script to below and it does not work. > > set the lockLoc of image "myImage" to false > export snapshot from rectangle (the rect of widget "Browser") to > pictVariable as PNG > put pictVariable into image "myImage" > set the width of image "myImage" to the formattedWidth of image "myImage" > set the height of image "myImage" to the formattedHeight of image "myImage" > print card from topleft of image "myImage" to bottomRight of image > ?myImage" > > The image ?myImage" on the screen seems to be the same as widget ?Browser? > but the print card line of the script shows the grey bar at the top. > > > Any other ideas please. > > Thanks > > Terry > > > > > > On 30 Jun 2017, at 22:48, Mark Schonewille via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Set the lockLoc of the image to false. Set the text of the image to the > PNG data (you're doing this correctly), but don't set the rect of the image > first. If necessary, set the width of the image to the formattedWidth of > the image and set the height of the image to the formattedHeight of the > image. > > > > Kind regards, > > > > Mark Schonewille > > http://economy-x-talk.com > > https://www.facebook.com/marksch > > > > Buy the most extensive book on the > > LiveCode language: > > http://livecodebeginner.economy-x-talk.com > > > > Op 30-Jun-17 om 20:38 schreef Terence Heaford via use-livecode: > >> This script does not work. > >> > >> export snapshot from rectangle (the rect of widget "Browser") to > pictVariable as PNG > >> > >> set the rect of image "myImage" to the rect of widget "Browser" > >> > >> put pictVariable into image "myImage" > >> > >> print card from topleft of image "myImage" to bottomRight of image > ?myImage" > >> > >> > >> After placing the captured image into ?myImage? there is a grey bar at > the top and the full width of the image is not visible. > >> > >> Am I doing something wrong? > >> > >> > >> Thanks > >> > >> Terry > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at hyperhh.de Sat Jul 1 13:26:11 2017 From: hh at hyperhh.de (hh) Date: Sat, 1 Jul 2017 19:26:11 +0200 Subject: Capturing screen into image Message-ID: <613D910A-FFD5-40FE-9830-3C8F6F4FF3FA@hyperhh.de> This works here. on mouseUp local ii="myImage", bb="Browser" if there is no img ii then create img ii put globalLoc(the topLeft of widget bb) into TL put globalLoc(the botRight of widget bb) into BR export snapshot from rect (TL,BR) to img ii as PNG hide widget bb -- avoid artefacts from browser update print card from (the topLeft of img ii) to (the botRight of img ii) show widget bb end mouseUp From waprothero at gmail.com Sat Jul 1 13:28:10 2017 From: waprothero at gmail.com (William Prothero) Date: Sat, 1 Jul 2017 10:28:10 -0700 Subject: Google Static Maps Problem In-Reply-To: <4EE87F95-2A00-4DD2-ACC4-5E98FE2FD546@earthlearningsolutions.org> References: <2B8D2C6D-E6B3-4F6C-99B3-8C369750361D@hyperhh.de> <4EE87F95-2A00-4DD2-ACC4-5E98FE2FD546@earthlearningsolutions.org> Message-ID: <25C44C11-D067-45A2-8856-CF00FFAD60C9@gmail.com> Hermann: This is looking really good! I will be doing more testing as I integrate it into my project, but at this stage, it is behaving as expected. Thanks so much. Hoping I can repay you in some way. Let me know. Best, Bill P > On Jun 30, 2017, at 8:58 PM, prothero--- via use-livecode wrote: > > Herman, > I can't begin to tell you how much I appreciate you doing this! Thanks so much!! > > I'm off my computer for the day, but will run it through its paces tomorrow. > > Thanks again! > > Bill P > > William Prothero > http://es.earthednet.org > >> On Jun 30, 2017, at 8:27 PM, hh via use-livecode wrote: >> >> Sorry all, I'm used to work in the forums where one can easily edit posts to >> remove errors and typos. >> >> So here another correction, a constant (pixelsPerLonRadian) was wrong in the >> first two versions above. >> >> My last version, hope it's all correct now: >> >> local MERCATOR_RANGE=256, pixelOrigin, pixelsPerLonDegree, pixelsPerLonRadian >> >> on mouseUp >> put (55.9537534, -3.1988236) into centerPoint -- LC Home >> put trunc(the thumbpos of sb "zoom") into zom -- zoom >> put 600 into wdth -- image width >> put 450 into hght -- image height >> put getCorners (centerpoint,zom,wdth,hght) >> -- result is "SW: 55.780374,-3.610811,NE: 56.126359,-2.786836" >> end mouseUp >> >> function getCorners center,zom,mapWidth,mapHeight >> put (MERCATOR_RANGE/2, MERCATOR_RANGE/2) into pixelOrigin >> put MERCATOR_RANGE/360 into pixelsPerLonDegree >> put MERCATOR_RANGE/2/pi into pixelsPerLonRadian >> put 2^zom into scle >> put fromLatLngToPoint(center) into centerPx >> put ( (item 1 of centerPx)-(mapWidth/2)/scle, \ >> (item 2 of centerPx)+(mapHeight/2)/scle ) into SWPoint >> put fromPointToLatLng(SWPoint) into SWLatLon >> put ( (item 1 of centerPx)+(mapWidth/2)/scle, \ >> (item 2 of centerPx)-(mapHeight/2)/scle ) into NEPoint >> put fromPointToLatLng(NEPoint) into NELatLon >> return ("SW: " & SWLatLon, "NE: "& NELatLon) >> end getCorners >> >> function bound val, opt_min, opt_max >> if (opt_min is not empty) then put max(val, opt_min) into val >> if (opt_max is not empty) then put min(val, opt_max) into val >> return val >> end bound >> >> function degreesToRadians deg >> return deg * pi / 180; >> end degreesToRadians >> >> function radiansToDegrees rad >> return 180 * rad / pi >> end radiansToDegrees >> >> function fromLatLngToPoint latLng, opt_point >> put opt_point into point >> put pixelOrigin into origin >> put (item 1 of origin)+(item 2 of latLng)*pixelsPerLonDegree into item 1 of point >> put bound(sin(degreesToRadians(item 1 of latLng)), -0.9999, 0.9999) into siny >> put (item 2 of origin)+0.5*ln((1-siny)/(1+siny))*pixelsPerLonRadian into item 2 of point >> return point >> end fromLatLngToPoint >> >> function fromPointToLatLng point >> put pixelOrigin into origin >> put (item 1 of point -item 1 of origin)/pixelsPerLonDegree into lng >> put (item 2 of origin-item 2 of point)/pixelsPerLonRadian into latRadians >> put radiansToDegrees(2*atan(exp(latRadians))-pi/2) into lat >> return (lat,lng) >> end fromPointToLatLng >> >> // pixelCoordinate = worldCoordinate * 2^zoomLevel >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Sat Jul 1 15:17:31 2017 From: hh at hyperhh.de (hh) Date: Sat, 1 Jul 2017 21:17:31 +0200 Subject: Google Static Maps Problem Message-ID: @Bill. No thank for that. I started to work with javascript in November 2016 when the HTML5 standalone builder introduced "do as javascript". It was now a good exercise because your javascript source is by an expert, written very clear and clean. Please show us your final product (doesn't matter if code is protected), your project sounds very interesting. Or give a 7-15 minute talk on the principles? AFAIK there are still some slots open in LC GLobal. From prothero at earthlearningsolutions.org Sat Jul 1 15:38:26 2017 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Sat, 1 Jul 2017 12:38:26 -0700 Subject: Google Static Maps Problem In-Reply-To: References: Message-ID: Hermann, I'll definitely share a demo. Re a LC Global talk, I'm unable to commit full day slots this summer, so sorry for that. I'm hoping I can get some of the new techniques and info from future docs and discussions and, except for this Google maps issue, I'm on top of my project. Thanks again for your help. Bill P William Prothero http://es.earthednet.org > On Jul 1, 2017, at 12:17 PM, hh via use-livecode wrote: > > @Bill. > No thank for that. I started to work with javascript in November 2016 when > the HTML5 standalone builder introduced "do as javascript". It was now a > good exercise because your javascript source is by an expert, written very > clear and clean. > > Please show us your final product (doesn't matter if code is protected), > your project sounds very interesting. Or give a 7-15 minute talk on the > principles? AFAIK there are still some slots open in LC GLobal. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Sat Jul 1 16:55:15 2017 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 01 Jul 2017 21:55:15 +0100 Subject: Capturing screen into image In-Reply-To: <613D910A-FFD5-40FE-9830-3C8F6F4FF3FA@hyperhh.de> References: <613D910A-FFD5-40FE-9830-3C8F6F4FF3FA@hyperhh.de> Message-ID: <397F09A4-B7F2-4AA8-85E6-EDD881467CA4@icloud.com> Hi, Thanks for your suggestion but I am afraid it?s not working here: I have prepared a short movie on dropbox so you can see what happens when I print it and then open as PDF in MacOS Preview. Not sure at all what is going wrong. Could it be something to do with the scaling in the amCharts example? Dropbox Link: https://www.dropbox.com/s/1ijbw12v0176kgm/test.mov?dl=0 Thanks Terry > On 1 Jul 2017, at 18:26, hh via use-livecode wrote: > > This works here. > > on mouseUp > local ii="myImage", bb="Browser" > if there is no img ii then create img ii > put globalLoc(the topLeft of widget bb) into TL > put globalLoc(the botRight of widget bb) into BR > export snapshot from rect (TL,BR) to img ii as PNG > hide widget bb -- avoid artefacts from browser update > print card from (the topLeft of img ii) to (the botRight of img ii) > show widget bb > end mouseUp > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Jul 1 17:34:33 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 2 Jul 2017 00:34:33 +0300 Subject: Snapshot of computer desktop Message-ID: <5a72ec4c-a83f-7bdb-b11e-b24ab0c58d23@gmail.com> Frankly just a rehash and a tart-up of something I made in about 2002; maybe useful: https://www.dropbox.com/s/okypdc1f9sx0ghu/STS.livecode.zip?dl=0 Love, Richmond. From hh at hyperhh.de Sat Jul 1 17:46:11 2017 From: hh at hyperhh.de (hh) Date: Sat, 1 Jul 2017 23:46:11 +0200 Subject: Capturing screen into image Message-ID: <1CC438CE-C712-4828-9778-E04995616619@hyperhh.de> @Terry. Because we make a snapshot this is independent of the browser's content. So at least for isolating the problem you will find below a variant that 'snapshots' directly to a file in your stack's folder. Then the file is opened with preview via applescript. Here I get exactly what I want. Of course, Preview shows gray around the image if the window is larger than the image. Here the fact that Preview has by default not a transparent but a gray background may be misleading. Perhaps you could check with a different app (I use GraphicConverter) whether this is already the case with earlier attempts or if the gray disappears when actually printing? Hermann on mouseUp local ii="myImage.png", bb="Browser" put the effective filename of this stack into fn set the itemdel to slash put ii into last item of fn set the itemdel to comma put globalLoc(the topLeft of widget bb) into TL put globalLoc(the botRight of widget bb) into BR export snapshot from rect (TL,BR) to file fn as PNG do aScript(fn) as applescript end mouseUp function aScript fName return "set posixFile to POSIX file ""e& fName "e&cr& \ "tell application ""e&"Preview""e&" to open posixFile" end aScript From ahsoftware at sonic.net Sat Jul 1 20:03:45 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 1 Jul 2017 17:03:45 -0700 Subject: OT: Mandelbrot set deep dive In-Reply-To: References: Message-ID: <95e31089-f1c8-bba2-5bb5-fd7758399819@sonic.net> On 06/30/2017 04:35 PM, Stephen Barncard via use-livecode wrote: > They put it into the ice. RIP Orange Sunshine: https://boingboing.net/2017/05/17/nicholas-sand-orange-sunshine.html -- Mark Wieder ahsoftware at gmail.com From paul at livecode.org Sat Jul 1 21:51:24 2017 From: paul at livecode.org (Paul Hibbert) Date: Sat, 1 Jul 2017 18:51:24 -0700 Subject: Capturing screen into image In-Reply-To: <397F09A4-B7F2-4AA8-85E6-EDD881467CA4@icloud.com> References: <613D910A-FFD5-40FE-9830-3C8F6F4FF3FA@hyperhh.de> <397F09A4-B7F2-4AA8-85E6-EDD881467CA4@icloud.com> Message-ID: <63774248-8BBC-4566-9403-8CE8C1096511@livecode.org> Terry, If your concern is that the area of the card doesn?t print exactly as you see it on screen, it looks to me like the printMargins are set at the default 72 all round. Try setting the printMargins to 0 set the printMargins to "0,0,0,0" Paul Paul paul at livecode.org Mac OS Sierra 10.12.1 > On Jul 1, 2017, at 1:55 PM, Terence Heaford via use-livecode wrote: > > Hi, > > Thanks for your suggestion but I am afraid it?s not working here: > > I have prepared a short movie on dropbox so you can see what happens when I print it and then open as PDF in MacOS Preview. > > Not sure at all what is going wrong. Could it be something to do with the scaling in the amCharts example? > > Dropbox Link: https://www.dropbox.com/s/1ijbw12v0176kgm/test.mov?dl=0 > > Thanks > > Terry > > >> On 1 Jul 2017, at 18:26, hh via use-livecode wrote: >> >> This works here. >> >> on mouseUp >> local ii="myImage", bb="Browser" >> if there is no img ii then create img ii >> put globalLoc(the topLeft of widget bb) into TL >> put globalLoc(the botRight of widget bb) into BR >> export snapshot from rect (TL,BR) to img ii as PNG >> hide widget bb -- avoid artefacts from browser update >> print card from (the topLeft of img ii) to (the botRight of img ii) >> show widget bb >> end mouseUp >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Sun Jul 2 03:34:37 2017 From: t.heaford at icloud.com (Terence Heaford) Date: Sun, 02 Jul 2017 08:34:37 +0100 Subject: Capturing screen into image In-Reply-To: <63774248-8BBC-4566-9403-8CE8C1096511@livecode.org> References: <613D910A-FFD5-40FE-9830-3C8F6F4FF3FA@hyperhh.de> <397F09A4-B7F2-4AA8-85E6-EDD881467CA4@icloud.com> <63774248-8BBC-4566-9403-8CE8C1096511@livecode.org> Message-ID: <5E43E3D4-CD65-4B0C-96F2-508BC41B38D7@icloud.com> That?s cracked it. Thanks very much to everyone who has contributed. Not thought about this much but is having the print margins default to 72 the best option for most situations? This is one for better minds than I. Anyway, thanks again to all. Terry > On 2 Jul 2017, at 02:51, Paul Hibbert via use-livecode wrote: > > Terry, > > If your concern is that the area of the card doesn?t print exactly as you see it on screen, it looks to me like the printMargins are set at the default 72 all round. > > Try setting the printMargins to 0 > set the printMargins to "0,0,0,0" > > > Paul > > > > Paul > paul at livecode.org > > Mac OS Sierra 10.12.1 > > From jonathandlynch at gmail.com Sun Jul 2 08:54:45 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 2 Jul 2017 08:54:45 -0400 Subject: Advice on copying and pasting in mobile Message-ID: Hello, I really need to be able to paste text in an LC field on mobile. I can do it for iOS with the sunny text to speech external, but that external has an audio message that comes on when the app first opens, which would be rather confusing for users. I have so far avoided LC builder because I felt I needed better documentation to learn it in the limited free time that I have. It seems like LC has provided some more tutorials now. Here are my questions: 1. Can a widget (or library file) give us access to the clipboard on mobile devices? 2. Are there any other existing externals that can do this? My app is almost ready to submit, but it feels like the user should be able to paste content directly into the content field, which for other reasons cannot be a native field. Thank you Sent from my iPhone From richmondmathewson at gmail.com Sun Jul 2 10:37:00 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 2 Jul 2017 17:37:00 +0300 Subject: Exporting coloured text to HTML and RTF from 8.1.4 Message-ID: <34e7ef0e-05e6-9575-f2f9-f7ae3007e0f9@gmail.com> I like blue cheese . . . But I don't like what happens when I try to export coloured text from a field in LC 8.1.4 as the _colours_ are NOT exported. This is ODD as a while back the colours were exporting . . . . Mac OS 10.7.8, LC 8.1.4 Indy. Richmond. From richmondmathewson at gmail.com Sun Jul 2 10:42:53 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 2 Jul 2017 17:42:53 +0300 Subject: [OT] SharewareOnSale - queer feeling Message-ID: I have just had an email from SharewareOnSale trying to get me to market my stuff through them. scamanalyze.com states that they are 88% to be trusted (how can you quantify that?) www.scamadviser.com says that they are OK. Umph . . . Anyone on this use-list had dealings with them? Richmond. From ambassador at fourthworld.com Sun Jul 2 10:46:06 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 2 Jul 2017 07:46:06 -0700 Subject: Advice on copying and pasting in mobile In-Reply-To: References: Message-ID: jonathandlynch wrote: > I really need to be able to paste text in an LC field on mobile. Funded and in 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 ambassador at fourthworld.com Sun Jul 2 10:57:12 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 2 Jul 2017 07:57:12 -0700 Subject: [OT] SharewareOnSale - queer feeling In-Reply-To: References: Message-ID: Richmond Mathewson wrote: > I have just had an email from SharewareOnSale trying to get me to > market my stuff through them. > > scamanalyze.com states that they are 88% to be trusted (how can you > quantify that?) Probably through reviews, which may be legit or they may be click-farmed, hard to know. Try running a promo through MacZot. The company was co-founded by an old friend from my home town, and each time I've run a promo there I've made a reasonable return for the modest setup effort. Got quite a few new customers there, and they transfered the funds to my PayPal account very quickly. -- 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 tore.nilsen at me.com Sun Jul 2 11:24:18 2017 From: tore.nilsen at me.com (Tore Nilsen) Date: Sun, 02 Jul 2017 17:24:18 +0200 Subject: Exporting coloured text to HTML and RTF from 8.1.4 In-Reply-To: <34e7ef0e-05e6-9575-f2f9-f7ae3007e0f9@gmail.com> References: <34e7ef0e-05e6-9575-f2f9-f7ae3007e0f9@gmail.com> Message-ID: <70E3759A-C39C-4198-864D-EC5F8534A2C6@me.com> How are you trying to export the text? Works alright here with Indy 8.1.4 and MacOS 10.13. Sample script that works for me: on mouseUp ask file "Give your file a name:? put "file:" & it into tURL if char - 1 to -4 of tURL <> ".rtf" then put ".rtf" after tURL end if put rtfText of field 1 into url tURL end mouseUp Regards Tore Nilsen > 2. jul. 2017 kl. 16:37 skrev Richmond Mathewson via use-livecode : > > I like blue cheese . . . > > But I don't like what happens when I try to export coloured text from > a field in LC 8.1.4 as the _colours_ are NOT exported. > > This is ODD as a while back the colours were exporting . . . . > > Mac OS 10.7.8, LC 8.1.4 Indy. > > 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 Sun Jul 2 11:51:14 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 2 Jul 2017 18:51:14 +0300 Subject: Exporting coloured text to HTML and RTF from 8.1.4 In-Reply-To: <70E3759A-C39C-4198-864D-EC5F8534A2C6@me.com> References: <34e7ef0e-05e6-9575-f2f9-f7ae3007e0f9@gmail.com> <70E3759A-C39C-4198-864D-EC5F8534A2C6@me.com> Message-ID: <3beb17cc-f542-0ce5-7b8c-d51bb74ace69@gmail.com> EXPORT button: onmouseUp askfile "Choose where you wish to export your text" iftheresult= "cancel" thenexitmouseUp else puttheRTFtextoffld "fRESULT" intourl("file:" & it & ".rtf") getthelongFilePathofit settheitemDelimitertoslash setthedefaultFoldertoitem 1 to-2 ofthelongFilePathofit endif endmouseUp * **Rich**mond.* On 7/2/17 6:24 pm, Tore Nilsen via use-livecode wrote: > How are you trying to export the text? Works alright here with Indy 8.1.4 and MacOS 10.13. > Sample script that works for me: > > on mouseUp > > ask file "Give your file a name:? > > put "file:" & it into tURL > > if char - 1 to -4 of tURL <> ".rtf" then > > put ".rtf" after tURL > > end if > > put rtfText of field 1 into url tURL > > end mouseUp > > > Regards > Tore Nilsen > >> 2. jul. 2017 kl. 16:37 skrev Richmond Mathewson via use-livecode : >> >> I like blue cheese . . . >> >> But I don't like what happens when I try to export coloured text from >> a field in LC 8.1.4 as the _colours_ are NOT exported. >> >> This is ODD as a while back the colours were exporting . . . . >> >> Mac OS 10.7.8, LC 8.1.4 Indy. >> >> 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 jonathandlynch at gmail.com Sun Jul 2 11:58:33 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 2 Jul 2017 11:58:33 -0400 Subject: Advice on copying and pasting in mobile In-Reply-To: References: Message-ID: <8460C537-E327-49A8-B81F-EE0811DA8E3E@gmail.com> Well, I don't need a special field, I just need access to the clipboard. Do you know of any other externals that allow that? I Sent from my iPhone > On Jul 2, 2017, at 10:46 AM, Richard Gaskin via use-livecode wrote: > > jonathandlynch wrote: > > > I really need to be able to paste text in an LC field on mobile. > > Funded and in 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Sun Jul 2 12:07:28 2017 From: hh at hyperhh.de (hh) Date: Sun, 2 Jul 2017 18:07:28 +0200 Subject: Exporting coloured text to HTML and RTF from 8.1.4 Message-ID: Did you already try ... url("binfile:" & it & ".rtf")? From richmondmathewson at gmail.com Sun Jul 2 12:38:40 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 2 Jul 2017 19:38:40 +0300 Subject: Exporting coloured text to HTML and RTF from 8.1.4 In-Reply-To: References: Message-ID: No, but I will. Richmond. On 7/2/17 7:07 pm, hh via use-livecode wrote: > Did you already try ... url("binfile:" & it & ".rtf")? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Sun Jul 2 12:42:43 2017 From: tore.nilsen at me.com (Tore Nilsen) Date: Sun, 02 Jul 2017 18:42:43 +0200 Subject: Exporting coloured text to HTML and RTF from 8.1.4 In-Reply-To: <3beb17cc-f542-0ce5-7b8c-d51bb74ace69@gmail.com> References: <34e7ef0e-05e6-9575-f2f9-f7ae3007e0f9@gmail.com> <70E3759A-C39C-4198-864D-EC5F8534A2C6@me.com> <3beb17cc-f542-0ce5-7b8c-d51bb74ace69@gmail.com> Message-ID: <728EC2A0-D8C7-42A2-B006-1E155F8156A8@me.com> Your script works here. Regards Tore > 2. jul. 2017 kl. 17:51 skrev Richmond Mathewson via use-livecode : > > EXPORT button: > > onmouseUp > > askfile "Choose where you wish to export your text" > > iftheresult= "cancel" > > thenexitmouseUp > > else > > puttheRTFtextoffld "fRESULT" intourl("file:" & it & ".rtf") > > getthelongFilePathofit > > settheitemDelimitertoslash > > setthedefaultFoldertoitem 1 to-2 ofthelongFilePathofit > > endif > > endmouseUp > > * > **Rich**mond.* > > > On 7/2/17 6:24 pm, Tore Nilsen via use-livecode wrote: >> How are you trying to export the text? Works alright here with Indy 8.1.4 and MacOS 10.13. >> Sample script that works for me: >> >> on mouseUp >> >> ask file "Give your file a name:? >> >> put "file:" & it into tURL >> >> if char - 1 to -4 of tURL <> ".rtf" then >> >> put ".rtf" after tURL >> >> end if >> >> put rtfText of field 1 into url tURL >> >> end mouseUp >> >> >> Regards >> Tore Nilsen >> >>> 2. jul. 2017 kl. 16:37 skrev Richmond Mathewson via use-livecode : >>> >>> I like blue cheese . . . >>> >>> But I don't like what happens when I try to export coloured text from >>> a field in LC 8.1.4 as the _colours_ are NOT exported. >>> >>> This is ODD as a while back the colours were exporting . . . . >>> >>> Mac OS 10.7.8, LC 8.1.4 Indy. >>> >>> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Sun Jul 2 12:45:45 2017 From: tore.nilsen at me.com (Tore Nilsen) Date: Sun, 02 Jul 2017 18:45:45 +0200 Subject: Exporting coloured text to HTML and RTF from 8.1.4 In-Reply-To: References: Message-ID: <1A00305A-0F0A-497A-A26F-FD110890D7C6@me.com> Your script works with both ?file" and ?binfile? here. Regards Tore > 2. jul. 2017 kl. 18:38 skrev Richmond Mathewson via use-livecode : > > No, but I will. > > Richmond. > > On 7/2/17 7:07 pm, hh via use-livecode wrote: >> Did you already try ... url("binfile:" & it & ".rtf")? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Jul 2 12:56:30 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 2 Jul 2017 19:56:30 +0300 Subject: Exporting coloured text to HTML and RTF from 8.1.4 In-Reply-To: <70E3759A-C39C-4198-864D-EC5F8534A2C6@me.com> References: <34e7ef0e-05e6-9575-f2f9-f7ae3007e0f9@gmail.com> <70E3759A-C39C-4198-864D-EC5F8534A2C6@me.com> Message-ID: The problem is quite different: and this only became clear when I tested your script inwith my Devawriter Pro and outwith it in a simpler stack. The problem is that the text that becomes colourised is then moved intil another field, and then is exported from that field; during the movement from the first field to the second one its styling is lost: setthetextoffld "fRESULT" ofcard "ATTIC" tothetextoffld "fRESULT" ofcard "DEVANAGARI" setthetextSizeoffld "fRESULT" ofcard "ATTIC" tothetextSizeoffld "fRESULT" ofcard "DEVANAGARI" Presumably (?) I will need a third line something like this: setthetextColoroffld "fRESULT" ofcard "ATTIC" tothetextColoroffld "fRESULT" ofcard "DEVANAGARI" indeed, that is what I am about to try. Richmond. On 7/2/17 6:24 pm, Tore Nilsen via use-livecode wrote: > How are you trying to export the text? Works alright here with Indy 8.1.4 and MacOS 10.13. > Sample script that works for me: > > on mouseUp > > ask file "Give your file a name:? > > put "file:" & it into tURL > > if char - 1 to -4 of tURL <> ".rtf" then > > put ".rtf" after tURL > > end if > > put rtfText of field 1 into url tURL > > end mouseUp > > > Regards > Tore Nilsen > >> 2. jul. 2017 kl. 16:37 skrev Richmond Mathewson via use-livecode : >> >> I like blue cheese . . . >> >> But I don't like what happens when I try to export coloured text from >> a field in LC 8.1.4 as the _colours_ are NOT exported. >> >> This is ODD as a while back the colours were exporting . . . . >> >> Mac OS 10.7.8, LC 8.1.4 Indy. >> >> 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 richmondmathewson at gmail.com Sun Jul 2 13:00:19 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 2 Jul 2017 20:00:19 +0300 Subject: Exporting coloured text to HTML and RTF from 8.1.4 In-Reply-To: References: <34e7ef0e-05e6-9575-f2f9-f7ae3007e0f9@gmail.com> <70E3759A-C39C-4198-864D-EC5F8534A2C6@me.com> Message-ID: <0e227b95-5a7c-dc21-4e1f-35e951b7548c@gmail.com> On 7/2/17 7:56 pm, Richmond Mathewson wrote: > The problem is quite different: and this only became clear when I > tested your script inwith my Devawriter Pro > and outwith it in a simpler stack. > > The problem is that the text that becomes colourised is then moved > intil another field, and then is exported from > that field; during the movement from the first field to the second one > its styling is lost: > > setthetextoffld "fRESULT" ofcard "ATTIC" tothetextoffld "fRESULT" > ofcard "DEVANAGARI" > > setthetextSizeoffld "fRESULT" ofcard "ATTIC" tothetextSizeoffld > "fRESULT" ofcard "DEVANAGARI" > > Presumably (?) I will need a third line something like this: > > setthetextColoroffld "fRESULT" ofcard "ATTIC" tothetextColoroffld > "fRESULT" ofcard "DEVANAGARI" > > indeed, that is what I am about to try. > > Richmond. > Which did NOT work. textStyle (?) R. > > From richmondmathewson at gmail.com Sun Jul 2 13:02:06 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 2 Jul 2017 20:02:06 +0300 Subject: Exporting coloured text to HTML and RTF from 8.1.4 In-Reply-To: <0e227b95-5a7c-dc21-4e1f-35e951b7548c@gmail.com> References: <34e7ef0e-05e6-9575-f2f9-f7ae3007e0f9@gmail.com> <70E3759A-C39C-4198-864D-EC5F8534A2C6@me.com> <0e227b95-5a7c-dc21-4e1f-35e951b7548c@gmail.com> Message-ID: <9f47ad4d-48f8-aee5-38c3-b4b838c0a198@gmail.com> Which did NOT work either . . . . Richmond. On 7/2/17 8:00 pm, Richmond Mathewson wrote: > > > On 7/2/17 7:56 pm, Richmond Mathewson wrote: >> The problem is quite different: and this only became clear when I >> tested your script inwith my Devawriter Pro >> and outwith it in a simpler stack. >> >> The problem is that the text that becomes colourised is then moved >> intil another field, and then is exported from >> that field; during the movement from the first field to the second >> one its styling is lost: >> >> setthetextoffld "fRESULT" ofcard "ATTIC" tothetextoffld "fRESULT" >> ofcard "DEVANAGARI" >> >> setthetextSizeoffld "fRESULT" ofcard "ATTIC" tothetextSizeoffld >> "fRESULT" ofcard "DEVANAGARI" >> >> Presumably (?) I will need a third line something like this: >> >> setthetextColoroffld "fRESULT" ofcard "ATTIC" tothetextColoroffld >> "fRESULT" ofcard "DEVANAGARI" >> >> indeed, that is what I am about to try. >> >> Richmond. >> > > Which did NOT work. > > textStyle (?) > > R. >> >> > From richmondmathewson at gmail.com Sun Jul 2 13:09:21 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 2 Jul 2017 20:09:21 +0300 Subject: Exporting coloured text to HTML and RTF from 8.1.4 In-Reply-To: <9f47ad4d-48f8-aee5-38c3-b4b838c0a198@gmail.com> References: <34e7ef0e-05e6-9575-f2f9-f7ae3007e0f9@gmail.com> <70E3759A-C39C-4198-864D-EC5F8534A2C6@me.com> <0e227b95-5a7c-dc21-4e1f-35e951b7548c@gmail.com> <9f47ad4d-48f8-aee5-38c3-b4b838c0a198@gmail.com> Message-ID: <18da862d-0514-b86a-3f1c-640d5459b48c@gmail.com> setthehtmlTextoffld "fRESULT" ofcard "ATTIC" tothehtmlTextoffld "fRESULT" ofcard "DEVANAGARI" I'm feeling a bit stupid. Richmond. On 7/2/17 8:02 pm, Richmond Mathewson wrote: > Which did NOT work either . . . . > > Richmond. > > On 7/2/17 8:00 pm, Richmond Mathewson wrote: >> >> >> On 7/2/17 7:56 pm, Richmond Mathewson wrote: >>> The problem is quite different: and this only became clear when I >>> tested your script inwith my Devawriter Pro >>> and outwith it in a simpler stack. >>> >>> The problem is that the text that becomes colourised is then moved >>> intil another field, and then is exported from >>> that field; during the movement from the first field to the second >>> one its styling is lost: >>> >>> setthetextoffld "fRESULT" ofcard "ATTIC" tothetextoffld "fRESULT" >>> ofcard "DEVANAGARI" >>> >>> setthetextSizeoffld "fRESULT" ofcard "ATTIC" tothetextSizeoffld >>> "fRESULT" ofcard "DEVANAGARI" >>> >>> Presumably (?) I will need a third line something like this: >>> >>> setthetextColoroffld "fRESULT" ofcard "ATTIC" tothetextColoroffld >>> "fRESULT" ofcard "DEVANAGARI" >>> >>> indeed, that is what I am about to try. >>> >>> Richmond. >>> >> >> Which did NOT work. >> >> textStyle (?) >> >> R. >>> >>> >> > From jacque at hyperactivesw.com Sun Jul 2 13:24:29 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 02 Jul 2017 12:24:29 -0500 Subject: Exporting coloured text to HTML and RTF from 8.1.4 In-Reply-To: References: <34e7ef0e-05e6-9575-f2f9-f7ae3007e0f9@gmail.com> <70E3759A-C39C-4198-864D-EC5F8534A2C6@me.com> Message-ID: <15d04550cc8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Use the htmltext instead of the (plain) text: set the htmltext of fld x to the htmltext of fld y The rtftext would work too, both carry styling and text size info. Using plain text is just that, it is text without any style information. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 2, 2017 11:58:26 AM Richmond Mathewson via use-livecode wrote: > The problem is quite different: and this only became clear when I tested > your script inwith my Devawriter Pro > and outwith it in a simpler stack. > > The problem is that the text that becomes colourised is then moved intil > another field, and then is exported from > that field; during the movement from the first field to the second one > its styling is lost: > > setthetextoffld "fRESULT" ofcard "ATTIC" tothetextoffld "fRESULT" ofcard > "DEVANAGARI" > > setthetextSizeoffld "fRESULT" ofcard "ATTIC" tothetextSizeoffld > "fRESULT" ofcard "DEVANAGARI" > > Presumably (?) I will need a third line something like this: > > setthetextColoroffld "fRESULT" ofcard "ATTIC" tothetextColoroffld > "fRESULT" ofcard "DEVANAGARI" > > indeed, that is what I am about to try. > > Richmond. > > > On 7/2/17 6:24 pm, Tore Nilsen via use-livecode wrote: >> How are you trying to export the text? Works alright here with Indy 8.1.4 >> and MacOS 10.13. >> Sample script that works for me: >> >> on mouseUp >> >> ask file "Give your file a name:? >> >> put "file:" & it into tURL >> >> if char - 1 to -4 of tURL <> ".rtf" then >> >> put ".rtf" after tURL >> >> end if >> >> put rtfText of field 1 into url tURL >> >> end mouseUp >> >> >> Regards >> Tore Nilsen >> >>> 2. jul. 2017 kl. 16:37 skrev Richmond Mathewson via use-livecode >>> : >>> >>> I like blue cheese . . . >>> >>> But I don't like what happens when I try to export coloured text from >>> a field in LC 8.1.4 as the _colours_ are NOT exported. >>> >>> This is ODD as a while back the colours were exporting . . . . >>> >>> Mac OS 10.7.8, LC 8.1.4 Indy. >>> >>> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Jul 2 13:31:29 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 2 Jul 2017 20:31:29 +0300 Subject: Exporting coloured text to HTML and RTF from 8.1.4 In-Reply-To: <15d04550cc8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <34e7ef0e-05e6-9575-f2f9-f7ae3007e0f9@gmail.com> <70E3759A-C39C-4198-864D-EC5F8534A2C6@me.com> <15d04550cc8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I think I "beat" you by about half a minute. Thank you for the advice. Best, Richmond. On 7/2/17 8:24 pm, J. Landman Gay via use-livecode wrote: > Use the htmltext instead of the (plain) text: > > set the htmltext of fld x to the htmltext of fld y > > The rtftext would work too, both carry styling and text size info. > Using plain text is just that, it is text without any style information. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On July 2, 2017 11:58:26 AM Richmond Mathewson via use-livecode > wrote: > >> The problem is quite different: and this only became clear when I tested >> your script inwith my Devawriter Pro >> and outwith it in a simpler stack. >> >> The problem is that the text that becomes colourised is then moved intil >> another field, and then is exported from >> that field; during the movement from the first field to the second one >> its styling is lost: >> >> setthetextoffld "fRESULT" ofcard "ATTIC" tothetextoffld "fRESULT" ofcard >> "DEVANAGARI" >> >> setthetextSizeoffld "fRESULT" ofcard "ATTIC" tothetextSizeoffld >> "fRESULT" ofcard "DEVANAGARI" >> >> Presumably (?) I will need a third line something like this: >> >> setthetextColoroffld "fRESULT" ofcard "ATTIC" tothetextColoroffld >> "fRESULT" ofcard "DEVANAGARI" >> >> indeed, that is what I am about to try. >> >> Richmond. >> >> >> On 7/2/17 6:24 pm, Tore Nilsen via use-livecode wrote: >>> How are you trying to export the text? Works alright here with Indy >>> 8.1.4 and MacOS 10.13. >>> Sample script that works for me: >>> >>> on mouseUp >>> >>> ask file "Give your file a name:? >>> >>> put "file:" & it into tURL >>> >>> if char - 1 to -4 of tURL <> ".rtf" then >>> >>> put ".rtf" after tURL >>> >>> end if >>> >>> put rtfText of field 1 into url tURL >>> >>> end mouseUp >>> >>> >>> Regards >>> Tore Nilsen >>> >>>> 2. jul. 2017 kl. 16:37 skrev Richmond Mathewson via use-livecode >>>> : >>>> >>>> I like blue cheese . . . >>>> >>>> But I don't like what happens when I try to export coloured text from >>>> a field in LC 8.1.4 as the _colours_ are NOT exported. >>>> >>>> This is ODD as a while back the colours were exporting . . . . >>>> >>>> Mac OS 10.7.8, LC 8.1.4 Indy. >>>> >>>> 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Sun Jul 2 13:56:14 2017 From: hh at hyperhh.de (hh) Date: Sun, 2 Jul 2017 19:56:14 +0200 Subject: Advice on copying and pasting in mobile Message-ID: <9CC7D12C-36D4-4C92-9684-7E58DB6F9DBE@hyperhh.de> @Jonathan. Why dont't you simply use one single server-side HTML5 page to get reports and upload images? Has moreover the advantage that you can update the page (incl. the method and targets used therein) without having to update your apps. From that reason I would even prefer it to rawClipboardData. From jonathandlynch at gmail.com Sun Jul 2 14:20:47 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 2 Jul 2017 14:20:47 -0400 Subject: Advice on copying and pasting in mobile In-Reply-To: <9CC7D12C-36D4-4C92-9684-7E58DB6F9DBE@hyperhh.de> References: <9CC7D12C-36D4-4C92-9684-7E58DB6F9DBE@hyperhh.de> Message-ID: I have been thinking a lot about that... I like having the ability to have images inside a field in LC, something that both HTML and native fields do not do readily. A user can enter text, add a picture, and enter more text. It is simple and intuitive this way. That said, with an HTML form I could have a lot more stuff - but I do not know if more is better for this. Honestly, I think I am feeling some pedantic peevishness over not being able access the clipboard, and that is coloring my judgment. I am pretty sure I could grab an existing iOS external, edit it to add in copy and paste functions from Xcode, and use that. I have done something similar, with a different functionality, in the past. That would not help with android, though. An HTML solution would work fine with android. Sent from my iPhone > On Jul 2, 2017, at 1:56 PM, hh via use-livecode wrote: > > @Jonathan. > Why dont't you simply use one single server-side HTML5 page to get > reports and upload images? > > Has moreover the advantage that you can update the page (incl. the > method and targets used therein) without having to update your apps. > > From that reason I would even prefer it to rawClipboardData. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 2 21:53:45 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 3 Jul 2017 01:53:45 +0000 Subject: Mobile Check Bandwidth Function Message-ID: <1995A4A9-68B9-46B8-97F5-86197156D60C@hindu.org> Can anyone share their "test bandwidth" library? I'm looking for both 1) this phone is off line --easy enough? ping your server, no response, = off line 2) check for bandwidth speed below some threshold and then inform user -- be patient, your internet speed is slow, this may take time. anyone already invent this wheel yet? BR From bogdanoff at me.com Sun Jul 2 22:44:24 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sun, 02 Jul 2017 19:44:24 -0700 Subject: Mobile Check Bandwidth Function In-Reply-To: <1995A4A9-68B9-46B8-97F5-86197156D60C@hindu.org> References: <1995A4A9-68B9-46B8-97F5-86197156D60C@hindu.org> Message-ID: I?m also very interested in this. I?m thinking that it might be possible to use a LC-only method: 1. A player control starts downloading a known-size media file. 2. The player reports when its is no longer ?loading,? then you calculate the data rate based on the elapsed time. (In LC for Windows only, the player has a loadedTime property with which one could presumably calculate data rate.) 3. Possibly another method would be to set the callbacks of the player, such as one callback every 500 milliseconds. You would use a timer to figure how long it takes to receive each callback. If they are arriving every half second for a large file, then the speed needle would move the ?Good? range. If the download is slow, the callbacks would be late, and the needle would move to the ?you must be a rural Internet customer? area. This kind of thing would require a ?speed test? event before the results could be reported to the user. Creating/testing this might be a challenge if you happen to have a good connection. You would have to somehow slow down your speed, or have someone else test it who does have a slow connection. Also, after loading a file, LC keeps it in a cache unless you dump it. Peter Bogdanoff On Jul 2, 2017, at 6:53 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Can anyone share their "test bandwidth" library? > > I'm looking for both > > 1) this phone is off line > --easy enough? ping your server, no response, = off line > > 2) check for bandwidth speed below some threshold and then inform user > -- be patient, your internet speed is slow, this may take time. > > anyone already invent this wheel yet? > > 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 brahma at hindu.org Mon Jul 3 00:16:47 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 3 Jul 2017 04:16:47 +0000 Subject: Mobile Check Bandwidth Function In-Reply-To: References: <1995A4A9-68B9-46B8-97F5-86197156D60C@hindu.org> Message-ID: <0A882E5F-150C-461E-A29C-99B7EBC14E3A@hindu.org> Good thoughts, Spotify actually will inform you that you don't have a connection even if you have 3G up.. I would like to know how they do that.. because my app *can* ping our server over 3G? but Spotify deems the connection insufficient to stream music and displays the "disconnected" icon. So this goes to the speed testing you are looking for.. I suspect another issue. I won't know for sure until I test tomorrow. But the mere act of "fishing on the internet" may hang the OS on mobile. ergo.. on desktop this works function pingServer # call from any where to inform user and disable activities # that require internet access to our server or any the external service put url "https://www.himalayanacademy.com/ping.txt" into sOnlineStatus return sOnlineStatus end pingServer and if I unplug ethernet and turn off wifi I can run from the msg box "put pingServer()" and not happens.. just returns empty but my current behavior (still to be sorted) indicates that just try to fetch a URL, without a connection causes my app to hang. I only discovered this serendipitously when the local router in our neighborhood suddenly started having trouble. We thought it was local to our LAN-place but the ISP in town said "People all over that area are complaining, their internet dropping on and off." of course has to happen on 4th July weekend (hehe) My phone was connected to the local wifi? to our modem ? out the door down the street the "regional" router. I was trying to show off my app and it would just hang on modules that expecting connectivity. but I *did* have my ping test functional. I have similar/parallel issues with in house apps that test to see if the LAN network is up or not. You can do peculiar things that cause Apple's network API to stop and think for 2 minutes! Leads to 2 further questions 1) is there a low level check on iOS/Android for connectivity that we can use vs calling out to our server? Some people use Google DNS servers for this test, but it would be *any* http request. -- I looked through all dictionary entries for "mobile*" and found nothing relevant, though possibly there is some sensor we can query? 2) anyone know how to turn off connectivity, on your phone, even if you have your sim card in? I'm not finding a way to actually turn off LTE or 3G access. -- I missing something simple there? on my Nexus 5 I don't have a SIM card (used only for testing, no cellular or data plan) but I can do everything if I am in proximity of our wifi, so for android I can just turn off wifi and the phone is "off line" for sure, but iOS? BR On 7/2/17, 4:44 PM, "use-livecode on behalf of Peter Bogdanoff via use-livecode" wrote: I?m also very interested in this. I?m thinking that it might be possible to use a LC-only method: 1. A player control starts downloading a known-size media file. 2. The player reports when its is no longer ?loading,? then you calculate the data rate based on the elapsed time. (In LC for Windows only, the player has a loadedTime property with which one could presumably calculate data rate.) 3. Possibly another method would be to set the callbacks of the player, such as one callback every 500 milliseconds. You would use a timer to figure how long it takes to receive each callback. If they are arriving every half second for a large file, then the speed needle would move the ?Good? range. If the download is slow, the callbacks would be late, and the needle would move to the ?you must be a rural Internet customer? area. This kind of thing would require a ?speed test? event before the results could be reported to the user. Creating/testing this might be a challenge if you happen to have a good connection. You would have to somehow slow down your speed, or have someone else test it who does have a slow connection. Also, after loading a file, LC keeps it in a cache unless you dump it. Peter Bogdanoff From james at thehales.id.au Mon Jul 3 00:20:34 2017 From: james at thehales.id.au (james at thehales.id.au) Date: Mon, 3 Jul 2017 14:20:34 +1000 Subject: Master M in script editor of lc8.15 Message-ID: <0A3863B8-80C4-42BB-BA00-76492786D03C@thehales.id.au> Has anyone noticed the "Master M" (where the M is actually a blue tiled M) in the top area of the script editor in LC8.15? I have checked both the commercial and business editions and both show it. It is not present in LC8.14 or lower. It doesn't do anything, just sits there. Perhaps an upcoming feature or perhaps a slip. Intrigued. James From monte at appisle.net Mon Jul 3 00:22:26 2017 From: monte at appisle.net (Monte Goulding) Date: Mon, 3 Jul 2017 14:22:26 +1000 Subject: Master M in script editor of lc8.15 In-Reply-To: <0A3863B8-80C4-42BB-BA00-76492786D03C@thehales.id.au> References: <0A3863B8-80C4-42BB-BA00-76492786D03C@thehales.id.au> Message-ID: <3B96BADC-C50E-407B-B888-31F3D8A0E295@appisle.net> Oh, dear I think that?s a slip on my part from one of my plugins > On 3 Jul 2017, at 2:20 pm, james--- via use-livecode wrote: > > Has anyone noticed the "Master M" (where the M is actually a blue tiled M) in the top area of the script editor in LC8.15? > I have checked both the commercial and business editions and both show it. > It is not present in LC8.14 or lower. > It doesn't do anything, just sits there. > > Perhaps an upcoming feature or perhaps a slip. > > Intrigued. > > 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 monte at appisle.net Mon Jul 3 00:24:56 2017 From: monte at appisle.net (Monte Goulding) Date: Mon, 3 Jul 2017 14:24:56 +1000 Subject: Master M in script editor of lc8.15 In-Reply-To: <0A3863B8-80C4-42BB-BA00-76492786D03C@thehales.id.au> References: <0A3863B8-80C4-42BB-BA00-76492786D03C@thehales.id.au> Message-ID: <472AE36D-0764-4F44-A1D6-E0AC7B3CBF2B@appisle.net> http://quality.livecode.com/show_bug.cgi?id=19985 > On 3 Jul 2017, at 2:20 pm, james--- via use-livecode wrote: > > Has anyone noticed the "Master M" (where the M is actually a blue tiled M) in the top area of the script editor in LC8.15? > I have checked both the commercial and business editions and both show it. > It is not present in LC8.14 or lower. > It doesn't do anything, just sits there. > > Perhaps an upcoming feature or perhaps a slip. > > Intrigued. > > 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 jonathandlynch at gmail.com Mon Jul 3 00:42:42 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Mon, 3 Jul 2017 00:42:42 -0400 Subject: Advice on copying and pasting in mobile In-Reply-To: References: <9CC7D12C-36D4-4C92-9684-7E58DB6F9DBE@hyperhh.de> Message-ID: <4D7F0C15-8FC2-4F1C-BC25-51A4E66F7FAA@gmail.com> Hi Hermann, It turns out we can have a div with editable content in html5. For version 1.1 or 1.2, I might figure out how to make a full content form in HTML, including an editable div, which accepts both text and images. For now, I created a special input in HTML5 to allow pasting into the content field. It is a little weird to go into a special mode just to paste, but this will work in both iOS and Android. Sent from my iPhone > On Jul 2, 2017, at 2:20 PM, jonathandlynch at gmail.com wrote: > > I have been thinking a lot about that... > > I like having the ability to have images inside a field in LC, something that both HTML and native fields do not do readily. > > A user can enter text, add a picture, and enter more text. It is simple and intuitive this way. > > That said, with an HTML form I could have a lot more stuff - but I do not know if more is better for this. > > Honestly, I think I am feeling some pedantic peevishness over not being able access the clipboard, and that is coloring my judgment. > > I am pretty sure I could grab an existing iOS external, edit it to add in copy and paste functions from Xcode, and use that. I have done something similar, with a different functionality, in the past. > > That would not help with android, though. An HTML solution would work fine with android. > > > > Sent from my iPhone > >> On Jul 2, 2017, at 1:56 PM, hh via use-livecode wrote: >> >> @Jonathan. >> Why dont't you simply use one single server-side HTML5 page to get >> reports and upload images? >> >> Has moreover the advantage that you can update the page (incl. the >> method and targets used therein) without having to update your apps. >> >> From that reason I would even prefer it to rawClipboardData. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Mon Jul 3 01:23:03 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sun, 02 Jul 2017 22:23:03 -0700 Subject: Mobile Check Bandwidth Function In-Reply-To: <0A882E5F-150C-461E-A29C-99B7EBC14E3A@hindu.org> References: <1995A4A9-68B9-46B8-97F5-86197156D60C@hindu.org> <0A882E5F-150C-461E-A29C-99B7EBC14E3A@hindu.org> Message-ID: <70048C93-5372-4E80-82A9-898F4F33ACB5@me.com> In iOS, Settings/Cellular/Cellular Data there is on/off switch. pb On Jul 2, 2017, at 9:16 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Good thoughts, > > Spotify actually will inform you that you don't have a connection even if you have 3G up.. > > I would like to know how they do that.. because my app *can* ping our server over 3G? but Spotify deems the connection insufficient to stream music and displays the "disconnected" icon. So this goes to the speed testing you are looking for.. > > I suspect another issue. I won't know for sure until I test tomorrow. But the mere act of "fishing on the internet" may hang the OS on mobile. > > ergo.. on desktop this works > > function pingServer > # call from any where to inform user and disable activities > # that require internet access to our server or any the external service > put url "https://www.himalayanacademy.com/ping.txt" into sOnlineStatus > return sOnlineStatus > end pingServer > > and if I unplug ethernet and turn off wifi I can run from the msg box "put pingServer()" and not happens.. just returns empty > > but my current behavior (still to be sorted) indicates that just try to fetch a URL, without a connection causes my app to hang. > > I only discovered this serendipitously when the local router in our neighborhood suddenly started having trouble. We thought it was local to our LAN-place but the ISP in town said "People all over that area are complaining, their internet dropping on and off." of course has to happen on 4th July weekend (hehe) > > My phone was connected to the local wifi? to our modem ? out the door down the street the "regional" router. I was trying to show off my app and it would just hang on modules that expecting connectivity. but I *did* have my ping test functional. > > I have similar/parallel issues with in house apps that test to see if the LAN network is up or not. You can do peculiar things that cause Apple's network API to stop and think for 2 minutes! > > Leads to 2 further questions > > 1) is there a low level check on iOS/Android for connectivity that we can use vs calling out to our server? Some people use Google DNS servers for this test, but it would be *any* http request. > -- I looked through all dictionary entries for "mobile*" and found nothing relevant, though possibly there is some sensor we can query? > 2) anyone know how to turn off connectivity, on your phone, even if you have your sim card in? I'm not finding a way to actually turn off LTE or 3G access. > -- I missing something simple there? on my Nexus 5 I don't have a SIM card (used only for testing, no cellular or data plan) but I can do everything if I am in proximity of our wifi, so for android I can just turn off wifi and the phone is "off line" for sure, but iOS? > > > BR > > > > > On 7/2/17, 4:44 PM, "use-livecode on behalf of Peter Bogdanoff via use-livecode" wrote: > > I?m also very interested in this. > > I?m thinking that it might be possible to use a LC-only method: > 1. A player control starts downloading a known-size media file. > > 2. The player reports when its is no longer ?loading,? then you calculate the data rate based on the elapsed time. > (In LC for Windows only, the player has a loadedTime property with which one could presumably calculate data rate.) > > 3. Possibly another method would be to set the callbacks of the player, such as one callback every 500 milliseconds. You would use a timer to figure how long it takes to receive each callback. If they are arriving every half second for a large file, then the speed needle would move the ?Good? range. If the download is slow, the callbacks would be late, and the needle would move to the ?you must be a rural Internet customer? area. > > This kind of thing would require a ?speed test? event before the results could be reported to the user. > > Creating/testing this might be a challenge if you happen to have a good connection. You would have to somehow slow down your speed, or have someone else test it who does have a slow connection. Also, after loading a file, LC keeps it in a cache unless you dump it. > > Peter Bogdanoff > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From axwald at gmail.com Mon Jul 3 03:44:28 2017 From: axwald at gmail.com (axwald) Date: Mon, 3 Jul 2017 00:44:28 -0700 (PDT) Subject: Mobile Check Bandwidth Function In-Reply-To: <1995A4A9-68B9-46B8-97F5-86197156D60C@hindu.org> References: <1995A4A9-68B9-46B8-97F5-86197156D60C@hindu.org> Message-ID: <1499067868182-4716511.post@n4.nabble.com> Hi. Peter Bogdanoff via use-livecode wrote > Can anyone share their "test bandwidth" library? Found it difficult & time consuming to test the actual bandwidth, so I'm testing the latency now. Bad latency usually relates to bad bandwidth ;-) On my server I have a php script: ------------------------------------- ------------------------------------- And in LC I use this function: ------------------------------------- function INTest full put "http://myServer.net/tools/myip.php" into myIPURL if full then put the millisecs into t1 put url myIPURL into myIP put the millisecs - t1 into t2 return myIP & CR & t2 else return url myIPURL end if end INTest ------------------------------------- Calling INTest() gives empty if we have no IN, else the actual public IP as seen from the server (often useful anyways). Calling INTest(true) additionally gives the latency on line 2. Since this is small and not intrusive at all I can call it quite often to monitor IN quality even on mobile. Have fun! axwald ----- ? Livecode programming until the cat hits the fan ? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Mobile-Check-Bandwidth-Function-tp4716503p4716511.html Sent from the Revolution - User mailing list archive at Nabble.com. From frans at knowlegistics.com Mon Jul 3 04:19:58 2017 From: frans at knowlegistics.com (Frans Schoffelen) Date: Mon, 3 Jul 2017 10:19:58 +0200 Subject: Release 9.0.0 DP7 / SVG / The book of the film of the poem/ Alejandro solved it. In-Reply-To: References: Message-ID: Hi Alejandro, sorry for the delayed answer. Busy times. I tried to write a script to adapt some of the SVG files at hand according to your instructions but that got me into a lot of offset problems and the widget ran into a lot of ?exceeds boundary ? or something similar in rendering. I have written ?translation scripts? for 30 years now but this one is a bit fickle. But for the sake of letting everybody know : the solution of SVG rendering strokes combined with RGB fills of Alejandro below works. I must admit that it helped that he had already pinpointed the RGB ones with a stroke ( sound like a disease doesn?t it). Duplicating the lines manually and replacing with ?fill:none? did the trick : The SVG then renders exactly as in Illustrator and in Affinity Designer. Picture : https://www.dropbox.com/s/79beopxkyy63sqw/PUPPET%20SSVG%20with%20Alejandros%20changes.png?dl=0 As it stands I will still have to figure out a reproducible and reliable way of finding an duplicating in the SVG-text or maybe one of the authors of the widget has an idea on how to bypass this/implement it in the LCB code. Many thanks for your assistance! kind regards Frans Schoffelen, Berlin > > > From: Alejandro Tejada > Subject: Release 9.0.0 DP7 / SVG / The book of the film of the poem > Date: 29 June 2017 at 21:55:00 GMT+2 > To: use-livecode at lists.runrev.com > > > Hi Franz, > > I found a temporal solution for a limitation that you found > in the SVG MultiColor widget. > > Looks like every vector path rendered in this SVG MultiColor > widget could have a fill or a stroke, but not both. If a path > have a fill color, the stroke is not rendered. > > The workaround for this limitation is to duplicate those few > paths that have a non empty fill and a stroke and change > the fill atribute of duplicated line to fill:none > > In the sample svg file that you posted, there are only 7 paths > that you must duplicate and replace the fill atribute to fill:none > > path d="M93.86,48.612C93.86... > path d="M66.405,228.331C66.751... > path d="M30.188,194.513C30.188... > path d="M30.354,51.441C30.354... > path d="M33.794,64.434C33.794... > path d="M97.419,64.848C97.419... > path d="M93.86,48.612C93.86... > > Duplicating these very few lines in every svg file is > the easiest and fastest way to jump over this > limitation (until a new version of SVG Multicolor > widget is released). It's relatively easy to create > a Livecode script that automate this task, but > someone in your team should verify that both > svg files (original svg and modified svg for importing > into LiveCode) are visually identical. > > In a previous message, you wrote that you have > thousands of files to import into a Livecode app. > This is the reason why I took a closer look at it. > > By the way, are you compressing these SVG > paths data before using them inside widgets? > Probably, you could reduce a lot the size of your app > if you compress this SVG path data. > > Also, I noticed that your SVG path data uses > 3 decimal points (like 51.088) > Please, check if changing for 2 decimal points > (like 51.09) do not change too much the > appearance of your files. > > Tell us if this advice works fine in your own project. > You will be saving a lot of time for others that find > these same problems. > > Al > Frans Schoffelen http://knowlegistics.com // Software & Sound // Berlin From panos.merakos at livecode.com Mon Jul 3 06:46:01 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 3 Jul 2017 11:46:01 +0100 Subject: [ANN] This Week in LiveCode 89 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 #89 here: https://goo.gl/fpUKv7 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 th.douez at gmail.com Mon Jul 3 07:01:40 2017 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 3 Jul 2017 13:01:40 +0200 Subject: Advice on copying and pasting in mobile In-Reply-To: References: Message-ID: 2017-07-02 14:54 GMT+02:00 Jonathan Lynch ? : Hello, > > I really need to be able to paste text in an LC field on mobile. > > I can do it for iOS with the sunny text to speech external, ?Great! ? > but that external has an audio message that comes on when the app first > opens > ?... > This audio message is telling you that you have a Trial-Demo version of sunnYtext2speech external. There is *no audio message with the licensed one*! This is the only difference between the Trial and the licensed version. Regards, Thierry > -- ------------------------------------------------ Thierry Douez - sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From jonathandlynch at gmail.com Mon Jul 3 07:20:33 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Mon, 3 Jul 2017 07:20:33 -0400 Subject: Advice on copying and pasting in mobile In-Reply-To: References: Message-ID: Oh - I will buy the licensed one. Can I get it now? Sent from my iPhone > On Jul 3, 2017, at 7:01 AM, Thierry Douez via use-livecode wrote: > > 2017-07-02 14:54 GMT+02:00 Jonathan Lynch > > : > > Hello, >> >> I really need to be able to paste text in an LC field on mobile. >> >> I can do it for iOS with the sunny text to speech external, > > > > Great! > > > >> but that external has an audio message that comes on when the app first >> opens >> ... >> > > > This audio message is telling you that you have a Trial-Demo version > of sunnYtext2speech external. > > There is *no audio message with the licensed one*! > > This is the only difference between the Trial and the licensed version. > > Regards, > > Thierry > > >> -- > ------------------------------------------------ > Thierry Douez - sunny-tdz.com > sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Mon Jul 3 09:26:32 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 3 Jul 2017 14:26:32 +0100 Subject: sorting algorithms In-Reply-To: <018D39FD-AA03-41A5-B315-94F0EF6456DD@iotecdigital.com> References: <018D39FD-AA03-41A5-B315-94F0EF6456DD@iotecdigital.com> Message-ID: <4607ddfd-d7a5-f09f-ae7d-68cd84772f54@cogapp.com> I think this series of videos may be what you're looking for: https://www.youtube.com/user/AlgoRythmics/videos On 30/06/2017 17:39, Bob Sneidar via use-livecode wrote: > I thought it was going to explain the different sort methods. I suppose which one you use depends on the nature of the data being sorted. > > Bob S > > >> On Jun 29, 2017, at 20:55 , Mark Wieder via use-livecode wrote: >> >> Fascinating youtube video demonstrating 15 sorting algorithms visually and sonically. >> >> https://boingboing.net/2017/06/28/15-sorting-algorithms-visualiz.html >> >> -- >> 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 ambassador at fourthworld.com Mon Jul 3 10:48:12 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 3 Jul 2017 07:48:12 -0700 Subject: Mobile Check Bandwidth Function In-Reply-To: <1499067868182-4716511.post@n4.nabble.com> References: <1499067868182-4716511.post@n4.nabble.com> Message-ID: <4761effe-37c6-c670-8ba9-f52dfbb6dfba@fourthworld.com> Peter Bogdanoff wrote: > Can anyone share their "test bandwidth" library? I could have sworn there was a message named something like networkConnetionChanged or mobileNetworkChanged or mobileNetworkInterfaceChanged or whatever, but searching through the Dictionary for every part of that I can think of turned up nothing. Was I imagining this? If not, what is it's actual name, and would be useful here? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Mon Jul 3 10:54:05 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Jul 2017 14:54:05 +0000 Subject: Cross-platform app containers In-Reply-To: References: Message-ID: Well the better part would be running Windows apps in Chrome. I have me doubts like Mark. How this can come to fruition without the entire computing industry rising up to smoosh it or buy it out is the real question. Think about it. No more need to buy a Dell laptop, just get a Chromebook! Of course you get more with an OS than just the ability to run apps. I doubt for instance you could set up a domain controller running Windows Server 2016. Bob S > On Jun 30, 2017, at 14:56 , Mark Wieder via use-livecode wrote: > > On 06/30/2017 09:43 AM, Jerry Daniels via use-livecode wrote: >> Y'all might wanna checkout Droplet Computing. This would let me run my Mac or Windows apps on a ChromeBook easily! >> http://www.dropletcom.com/waitlist?ref=pKOcqQ > > Why is this different/better than wine? For that matter why is there a supposed quote from codeweavers on the website? Seems like they would be competitors... I call vaporware on this. > > -- > Mark Wieder > ahsoftware at gmail.com From bobsneidar at iotecdigital.com Mon Jul 3 11:27:35 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Jul 2017 15:27:35 +0000 Subject: OT: Mandelbrot set deep dive In-Reply-To: References: Message-ID: <525DD041-50DE-4E18-9C67-050985BD9FF1@iotecdigital.com> Last time I felt like that, kids had yet to adopt the habit of calling other guys "dude". Bob S > On Jun 30, 2017, at 16:35 , Stephen Barncard via use-livecode wrote: > >> After watching a couple minutes of this, I started getting light-headed >> and felt like I was going back to the late 60s. >> >> Phil Davis From bobsneidar at iotecdigital.com Mon Jul 3 11:35:28 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Jul 2017 15:35:28 +0000 Subject: Mobile Check Bandwidth Function In-Reply-To: <1995A4A9-68B9-46B8-97F5-86197156D60C@hindu.org> References: <1995A4A9-68B9-46B8-97F5-86197156D60C@hindu.org> Message-ID: <0DC665FA-6EED-4726-B9C2-FD8F90E1A40E@iotecdigital.com> Ping will not work. Some firewalls will prevent ICMP packets to and or from a source. If this library is to be used universally, you need a better method to determine if a device is responding on a known port. The tried and true method for doing this is telnet. Unfortunately, Microsoft decided NOT to enable the telnet client on Windows 8 and above. It has to be enabled by an end user. If you can create your own telnet stack, then it's doable. telnet check the result. Bob S > On Jul 2, 2017, at 18:53 , Sannyasin Brahmanathaswami via use-livecode wrote: > > Can anyone share their "test bandwidth" library? > > I'm looking for both > > 1) this phone is off line > --easy enough? ping your server, no response, = off line > > 2) check for bandwidth speed below some threshold and then inform user > -- be patient, your internet speed is slow, this may take time. > > anyone already invent this wheel yet? > > BR From bobsneidar at iotecdigital.com Mon Jul 3 11:39:35 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Jul 2017 15:39:35 +0000 Subject: Mobile Check Bandwidth Function In-Reply-To: <4761effe-37c6-c670-8ba9-f52dfbb6dfba@fourthworld.com> References: <1499067868182-4716511.post@n4.nabble.com> <4761effe-37c6-c670-8ba9-f52dfbb6dfba@fourthworld.com> Message-ID: <696313A9-A13B-405C-BF35-75631EC0FFA3@iotecdigital.com> reachabilityChanged (for iOS only???) Bob S > On Jul 3, 2017, at 07:48 , Richard Gaskin via use-livecode wrote: > > I could have sworn there was a message named something like networkConnetionChanged or mobileNetworkChanged or mobileNetworkInterfaceChanged or whatever, but searching through the Dictionary for every part of that I can think of turned up nothing. > > Was I imagining this? If not, what is it's actual name, and would be useful here? > > -- > Richard Gaskin From bobsneidar at iotecdigital.com Mon Jul 3 11:43:43 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Jul 2017 15:43:43 +0000 Subject: Mobile Check Bandwidth Function In-Reply-To: <4761effe-37c6-c670-8ba9-f52dfbb6dfba@fourthworld.com> References: <1499067868182-4716511.post@n4.nabble.com> <4761effe-37c6-c670-8ba9-f52dfbb6dfba@fourthworld.com> Message-ID: <9C0990EE-78CC-4629-B83B-AA41966B53E5@iotecdigital.com> Here is where a C applet would come in handy. Is it possible to have a C applet running that would be able to tell the LC engine that the network had changed? Otherwise, it would be REALLY USEFUL for a database application to "know" this. Bob S From ahsoftware at sonic.net Mon Jul 3 12:17:46 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 3 Jul 2017 09:17:46 -0700 Subject: sorting algorithms In-Reply-To: <4607ddfd-d7a5-f09f-ae7d-68cd84772f54@cogapp.com> References: <018D39FD-AA03-41A5-B315-94F0EF6456DD@iotecdigital.com> <4607ddfd-d7a5-f09f-ae7d-68cd84772f54@cogapp.com> Message-ID: <476b906b-2566-1a5d-bc1f-93859d7cba86@sonic.net> On 07/03/2017 06:26 AM, Ben Rubinstein via use-livecode wrote: > I think this series of videos may be what you're looking for: > https://www.youtube.com/user/AlgoRythmics/videos !!! That's great !!! And the comments... "This is... by a wide margin... the nerdiest thing... I've ever seen... in my whole life.?" -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Mon Jul 3 12:35:34 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 3 Jul 2017 09:35:34 -0700 Subject: Mobile Check Bandwidth Function In-Reply-To: <696313A9-A13B-405C-BF35-75631EC0FFA3@iotecdigital.com> References: <696313A9-A13B-405C-BF35-75631EC0FFA3@iotecdigital.com> Message-ID: <5a1f74da-ee49-7af4-a2c3-2a72c93c5fe1@fourthworld.com> Bob Sneidar wrote: >> On Jul 3, 2017, at 07:48 , Richard Gaskin wrote: >> >> I could have sworn there was a message named something like >> networkConnetionChanged or mobileNetworkChanged or >> mobileNetworkInterfaceChanged or whatever, but searching through >> the Dictionary for every part of that I can think of turned up >> nothing. >> >> Was I imagining this? If not, what is it's actual name, and would >> be useful here? > > reachabilityChanged (for iOS only???) Thanks. "reachability"? Whiskey Tango Foxtrot? I'd love to hear the backstory on that name choice. It has the scent of things like "srcBic", adopted from the arbitrary choices of neckbeards who define OS APIs. Maybe there's an API for iOS called NSReachabilityChanged. If nothing else it's perhaps the most truly English-like token in the language, steeped as it is in vague ambiguity just like so much in natural languages. ;) And iOS only? What do we do for the other 80% of the world? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Mon Jul 3 13:00:42 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 3 Jul 2017 17:00:42 +0000 Subject: Mobile Check Bandwidth Function In-Reply-To: <5a1f74da-ee49-7af4-a2c3-2a72c93c5fe1@fourthworld.com> References: <696313A9-A13B-405C-BF35-75631EC0FFA3@iotecdigital.com> <5a1f74da-ee49-7af4-a2c3-2a72c93c5fe1@fourthworld.com> Message-ID: <95A60407-841C-4B29-A6E0-34FCE2317EDD@iotecdigital.com> +5 > On Jul 3, 2017, at 09:35 , Richard Gaskin via use-livecode wrote: > > Thanks. > > "reachability"? Whiskey Tango Foxtrot? I'd love to hear the backstory on that name choice. It has the scent of things like "srcBic", adopted from the arbitrary choices of neckbeards who define OS APIs. Maybe there's an API for iOS called NSReachabilityChanged. > > If nothing else it's perhaps the most truly English-like token in the language, steeped as it is in vague ambiguity just like so much in natural languages. ;) > > And iOS only? What do we do for the other 80% of the world? > > -- > Richard Gaskin From brahma at hindu.org Mon Jul 3 13:48:56 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 3 Jul 2017 17:48:56 +0000 Subject: Pinch and Zoom in Browser Widget Message-ID: <101A09BA-CB86-4B55-BFC0-05110C210F8C@hindu.org> We can to go a web page in Safari in iOS or Chrome on Android and pinch and zoom in. The same web page, shown in the browser widget is non-responsive to pinch and zoom out Is there a solution for this? BR From colinholgate at gmail.com Mon Jul 3 14:01:11 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 3 Jul 2017 11:01:11 -0700 Subject: Pinch and Zoom in Browser Widget In-Reply-To: <101A09BA-CB86-4B55-BFC0-05110C210F8C@hindu.org> References: <101A09BA-CB86-4B55-BFC0-05110C210F8C@hindu.org> Message-ID: <6F51D2A6-4A87-4F00-8843-87EEE9308763@gmail.com> It also fails in Mac desktop, so you could save some time checking into why that is (if you have a trackpad that is). Where is the code for a widget stored? > On Jul 3, 2017, at 10:48 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > > We can to go a web page in Safari in iOS or Chrome on Android and pinch and zoom in. > > The same web page, shown in the browser widget is non-responsive to pinch and zoom out > > Is there a solution for this? > > BR From ahsoftware at sonic.net Mon Jul 3 14:21:41 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 3 Jul 2017 11:21:41 -0700 Subject: Mobile Check Bandwidth Function In-Reply-To: <5a1f74da-ee49-7af4-a2c3-2a72c93c5fe1@fourthworld.com> References: <696313A9-A13B-405C-BF35-75631EC0FFA3@iotecdigital.com> <5a1f74da-ee49-7af4-a2c3-2a72c93c5fe1@fourthworld.com> Message-ID: On 07/03/2017 09:35 AM, Richard Gaskin via use-livecode wrote: > "reachability"? Whiskey Tango Foxtrot? I'd love to hear the backstory > on that name choice. It has the scent of things like "srcBic", adopted > from the arbitrary choices of neckbeards who define OS APIs. Maybe > there's an API for iOS called NSReachabilityChanged. Well, you've got Apple to blame for that one. https://developer.apple.com/library/content/samplecode/Reachability/Introduction/Intro.html > > If nothing else it's perhaps the most truly English-like token in the > language, steeped as it is in vague ambiguity just like so much in > natural languages. ;) There are various interpretations of 'reachability' for iOS: "Of course, Apple knows that many iPhone users want the option to perform many functions with one hand, so it created a nifty little feature called ?Reachability.?" https://bgr.com/2014/09/22/iphone-6-apple-features-iphone-6-plus/ According to the dictionary there are three LC functions here: reachabilityChanged, iphoneReachabilityTarget, and iphoneSetReachabilityTarget. I assume this "iphone" nomenclature is what's known as painting yourself into a corner. > > And iOS only? What do we do for the other 80% of the world? > Android: https://developer.android.com/reference/android/net/ConnectivityManager.html -- Mark Wieder ahsoftware at gmail.com From martyknappster at gmail.com Mon Jul 3 15:23:05 2017 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 3 Jul 2017 12:23:05 -0700 Subject: [OT] Renewing Apple Developer ID Installer Certificate Message-ID: I sell and distribute Mac apps from my own website and have the Apple Developer ID Application Certificate and the Developer ID Installer Certificate. I've been notified that they will both expire in a couple of days. According to the Apple web site, if the Developer ID Installer Certificate expires, users will *not* be able to install any applications signed with the certificate. (an expired Developer ID Application Certificate is not a problem for existing installers). What I can't seem to find are instructions on *renewing* the certificate. I found one article that said I needed to revoke the old one and then create a new one. That makes me a little nervous. Obviously I don't want to screw this up and have customers going crazy, while I'm frantically trying to figure out what to do. You would think that Apple would have an easy Steps 1-2-3 to renew, but I sure can't find them. Anyone done this recently? Should I revoke the old one or wait till it expires? Thanks for any help, Marty From colinholgate at gmail.com Mon Jul 3 16:06:07 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 3 Jul 2017 13:06:07 -0700 Subject: [OT] Renewing Apple Developer ID Installer Certificate In-Reply-To: References: Message-ID: <7CAF8F78-A2D2-4A5F-85B6-9BAE93DF3538@gmail.com> I would think that it?s the same as with iOS. When you go back to https://developer.apple.com/account/mac/certificate/ after renewing your subscription it will most likely have an expired certificate. You make a new one, then go to the provisioning profile for your app, it should show as expired. Edit it and re-select the certificate, picking the new one. If the current certificate is still valid for a while you can still edit the provisioning profile to give it a fresh start. If you edit a provisioning profile file you should find an ExpirationDate entry that gives the date it will expire. > On Jul 3, 2017, at 12:23 PM, Marty Knapp via use-livecode wrote: > > I sell and distribute Mac apps from my own website and have the Apple Developer ID Application Certificate and the Developer ID Installer Certificate. I've been notified that they will both expire in a couple of days. > > According to the Apple web site, if the Developer ID Installer Certificate expires, users will *not* be able to install any applications signed with the certificate. (an expired Developer ID Application Certificate is not a problem for existing installers). > > What I can't seem to find are instructions on *renewing* the certificate. I found one article that said I needed to revoke the old one and then create a new one. That makes me a little nervous. Obviously I don't want to screw this up and have customers going crazy, while I'm frantically trying to figure out what to do. > > You would think that Apple would have an easy Steps 1-2-3 to renew, but I sure can't find them. Anyone done this recently? Should I revoke the old one or wait till it expires? > > Thanks for any help, > Marty > From tom at makeshyft.com Mon Jul 3 16:27:16 2017 From: tom at makeshyft.com (Tom Glod) Date: Mon, 3 Jul 2017 16:27:16 -0400 Subject: Snapshot of computer desktop In-Reply-To: <5a72ec4c-a83f-7bdb-b11e-b24ab0c58d23@gmail.com> References: <5a72ec4c-a83f-7bdb-b11e-b24ab0c58d23@gmail.com> Message-ID: cool thanks Richmond. On Sat, Jul 1, 2017 at 5:34 PM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > Frankly just a rehash and a tart-up of something I made in about 2002; > maybe useful: > > https://www.dropbox.com/s/okypdc1f9sx0ghu/STS.livecode.zip?dl=0 > > Love, 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 ambassador at fourthworld.com Mon Jul 3 16:50:43 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 3 Jul 2017 13:50:43 -0700 Subject: Mobile Check Bandwidth Function In-Reply-To: References: Message-ID: <12244993-55c4-1051-ed32-e9c0d230e066@fourthworld.com> Mark Wieder wrote: > On 07/03/2017 09:35 AM, Richard Gaskin via use-livecode wrote: > >> "reachability"? Whiskey Tango Foxtrot? I'd love to hear the >> backstory on that name choice. It has the scent of things like >> "srcBic", adopted from the arbitrary choices of neckbeards who >> define OS APIs. Maybe there's an API for iOS called >> NSReachabilityChanged. > > Well, you've got Apple to blame for that one. > https://developer.apple.com/library/content/samplecode/Reachability/Introduction/Intro.html Did I call or it did I call it? :) Seems my nose for nomenclature has gotten pretty good over the decades. Like bears with sandwiches, I can smell an Apple API name at 400 yards. :) >> And iOS only? What do we do for the other 80% of the world? > > Android: > https://developer.android.com/reference/android/net/ConnectivityManager.html I figured there was a parallel API for Android. I guess my question was when we might see feature completion on the script access for that in LC. -- 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 capellan2000 at gmail.com Mon Jul 3 17:22:55 2017 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 3 Jul 2017 17:22:55 -0400 Subject: Release 9.0.0 DP7 / SVG / The book of the film of the poem Message-ID: Hi Frans, > Many thanks for your assistance! Glad to help! but SVG file format inherent problems will remain problematic for some time to come: "Allowing JavaScript within SVG sounds like a ?Wouldn?t that be neat? idea that someone threw in without much thought about the security consequences. It makes SVG inherently riskier than other image formats." https://madfileformatscience.garymcgath.com/2016/11/21/svg-images/ By the way, How many different SVG file versions already exists? At least 30 or 40 (maybe more) and the only software that renders correctly most of them is Google Chrome... Looks like every Design software produces 3 or 4 (maybe more) different SVG versions... and if you try to open a SVG produced in one Design program using another Design program, the results are mostly problematic and sometimes, the same Design program that exported a SVG file could not open it correctly again... Previously, in this mail list, we have discussed about these (and others) SVG problems so it's not necessary to repeat ourselves again. Now, I am taking a close look at Xara 365 (Low cost program) and Microsoft Design Expression (Free) to create WIX and XAML files compatible with LiveCode vector graphics. > I tried to write a script to adapt some of the SVG files > at hand according to your instructions but that got me > into a lot of offset problems and the widget ran into > a lot of ?exceeds boundary ? or something similar in > rendering. I have written ?translation scripts? for 30 years > now but this one is a bit fickle. It's SVG file format that is fickle. I discover this while updating scripts for stack "SVGL": http://livecodeshare.runrev.com/stack/112/SVGL When I changed the code to import correctly one particular SVG file, scripts breaks for the rest of SVG files and a closer look at the SVG source does not reveal why this happens. After some though, I reach the conclusion that using XAML (a Microsoft format) or WIX (Xara Text format) would be less stressful and more productive for LiveCode developers. > But for the sake of letting everybody know: the solution > of SVG rendering strokes combined with RGB fills of > Alejandro below works. I must admit that it helped that > he had already pinpointed the RGB ones with a stroke > (sound like a disease doesn?t it). For this, just use a text editor like NotePad ++ This Text Editor could find a string in all files within a folder. This is very useful to find paths with a fill and a stroke within your thousands of svg files. > Duplicating the lines manually and replacing with > ?fill:none? did the trick: The SVG then renders > exactly as in Illustrator and in Affinity Designer. [snip] > maybe one of the authors of the widget has an idea > on how to bypass this/implement it in the LCB code. You want to talk with Peter Thirkell and Mark Wieder: http://forums.livecode.com/viewtopic.php?f=93&t=27811&start=30 By the way Frans, you could import Adobe Ilustrator files (version 7or 5.5) into LiveCode and use multicolor gradients in your ilustrations. Download and test this stack posted many, many years ago: http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05C.zip Have a nice week! Al From martyknappster at gmail.com Mon Jul 3 18:35:16 2017 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 3 Jul 2017 15:35:16 -0700 Subject: [OT] Renewing Apple Developer ID Installer Certificate In-Reply-To: <7CAF8F78-A2D2-4A5F-85B6-9BAE93DF3538@gmail.com> References: <7CAF8F78-A2D2-4A5F-85B6-9BAE93DF3538@gmail.com> Message-ID: <7ec80f6c-a1c3-88c1-2fb1-997129b583e8@knappstersolutions.com> Thanks Colin. It is a bit different than iOS (and I'm not selling in the Mac App Store either). What I've done at this point is to generate new certificates for both the Developer ID Application and Developer ID Installer. There appears to be no renewal capability. I use AppWrapper to codesign my apps and in looking at the setup, I'm guessing that Developer ID Installer certificate, while required in AppWrapper, is only for when you build an installer package (I use a DMG). I'll have to wait till Wednesday when my old certificates expire to see if I have trouble with the previously signed apps. If someone knows anything more, I'm all ears. Hopefully I'm good for another 5 years, when I'll forget how to do this all over again - I love getting old! Marty > I would think that it?s the same as with iOS. When you go back to https://developer.apple.com/account/mac/certificate/ after renewing your subscription it will most likely have an expired certificate. You make a new one, then go to the provisioning profile for your app, it should show as expired. Edit it and re-select the certificate, picking the new one. > > If the current certificate is still valid for a while you can still edit the provisioning profile to give it a fresh start. > > If you edit a provisioning profile file you should find an ExpirationDate entry that gives the date it will expire. > > >> On Jul 3, 2017, at 12:23 PM, Marty Knapp via use-livecode wrote: >> >> I sell and distribute Mac apps from my own website and have the Apple Developer ID Application Certificate and the Developer ID Installer Certificate. I've been notified that they will both expire in a couple of days. >> >> According to the Apple web site, if the Developer ID Installer Certificate expires, users will *not* be able to install any applications signed with the certificate. (an expired Developer ID Application Certificate is not a problem for existing installers). >> >> What I can't seem to find are instructions on *renewing* the certificate. I found one article that said I needed to revoke the old one and then create a new one. That makes me a little nervous. Obviously I don't want to screw this up and have customers going crazy, while I'm frantically trying to figure out what to do. >> >> You would think that Apple would have an easy Steps 1-2-3 to renew, but I sure can't find them. Anyone done this recently? Should I revoke the old one or wait till it expires? >> >> Thanks for any help, >> Marty >> From ahsoftware at sonic.net Mon Jul 3 19:09:47 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 3 Jul 2017 16:09:47 -0700 Subject: Mobile Check Bandwidth Function In-Reply-To: <12244993-55c4-1051-ed32-e9c0d230e066@fourthworld.com> References: <12244993-55c4-1051-ed32-e9c0d230e066@fourthworld.com> Message-ID: <2a90b057-53ef-9ac5-7d00-3d9a9e993de2@sonic.net> On 07/03/2017 01:50 PM, Richard Gaskin via use-livecode wrote: > I figured there was a parallel API for Android. I guess my question was > when we might see feature completion on the script access for that in LC. > ...and thus my snarky comment about the "iphone" naming. -- Mark Wieder ahsoftware at gmail.com From monte at appisle.net Mon Jul 3 20:05:24 2017 From: monte at appisle.net (Monte Goulding) Date: Tue, 4 Jul 2017 10:05:24 +1000 Subject: Mobile Check Bandwidth Function In-Reply-To: <12244993-55c4-1051-ed32-e9c0d230e066@fourthworld.com> References: <12244993-55c4-1051-ed32-e9c0d230e066@fourthworld.com> Message-ID: > On 4 Jul 2017, at 6:50 am, Richard Gaskin via use-livecode wrote: > > >> And iOS only? What do we do for the other 80% of the world? > > > > Android: > > https://developer.android.com/reference/android/net/ConnectivityManager.html > > I figured there was a parallel API for Android. I guess my question was when we might see feature completion on the script access for that in LC. Actually we have access to basically anything you want on Android now via LCB and now that that?s the case if we provided an API for it we would do it via LCB too. I?m sure Ali could wrap it pretty quickly but it might be a good idea for the community to take it on and give us some feedback on our docs. The sooner people start wrapping and sharing code for system APIs the better. https://livecode.com/using-infinite-livecode-for-android-to-create-native-controls-and-wrap-os-apis/ Cheers Monte From toolbook at kestner.de Tue Jul 4 02:47:29 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 4 Jul 2017 08:47:29 +0200 Subject: AW: [OT] Renewing Apple Developer ID Installer Certificate In-Reply-To: <7ec80f6c-a1c3-88c1-2fb1-997129b583e8@knappstersolutions.com> References: <7CAF8F78-A2D2-4A5F-85B6-9BAE93DF3538@gmail.com> <7ec80f6c-a1c3-88c1-2fb1-997129b583e8@knappstersolutions.com> Message-ID: <001401d2f491$69a10040$3ce300c0$@kestner.de> Hi Marty, even if your certificate expires on wednesday, your old signed apps will never expire, you just can't sign a new app with the old expired certificate. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Marty Knapp via use-livecode Gesendet: Dienstag, 4. Juli 2017 00:35 An: Colin Holgate via use-livecode Cc: Marty Knapp Betreff: Re: [OT] Renewing Apple Developer ID Installer Certificate Thanks Colin. It is a bit different than iOS (and I'm not selling in the Mac App Store either). What I've done at this point is to generate new certificates for both the Developer ID Application and Developer ID Installer. There appears to be no renewal capability. I use AppWrapper to codesign my apps and in looking at the setup, I'm guessing that Developer ID Installer certificate, while required in AppWrapper, is only for when you build an installer package (I use a DMG). I'll have to wait till Wednesday when my old certificates expire to see if I have trouble with the previously signed apps. If someone knows anything more, I'm all ears. Hopefully I'm good for another 5 years, when I'll forget how to do this all over again - I love getting old! Marty > I would think that it?s the same as with iOS. When you go back to https://developer.apple.com/account/mac/certificate/ after renewing your subscription it will most likely have an expired certificate. You make a new one, then go to the provisioning profile for your app, it should show as expired. Edit it and re-select the certificate, picking the new one. > > If the current certificate is still valid for a while you can still edit the provisioning profile to give it a fresh start. > > If you edit a provisioning profile file you should find an ExpirationDate entry that gives the date it will expire. > > >> On Jul 3, 2017, at 12:23 PM, Marty Knapp via use-livecode wrote: >> >> I sell and distribute Mac apps from my own website and have the Apple Developer ID Application Certificate and the Developer ID Installer Certificate. I've been notified that they will both expire in a couple of days. >> >> According to the Apple web site, if the Developer ID Installer Certificate expires, users will *not* be able to install any applications signed with the certificate. (an expired Developer ID Application Certificate is not a problem for existing installers). >> >> What I can't seem to find are instructions on *renewing* the certificate. I found one article that said I needed to revoke the old one and then create a new one. That makes me a little nervous. Obviously I don't want to screw this up and have customers going crazy, while I'm frantically trying to figure out what to do. >> >> You would think that Apple would have an easy Steps 1-2-3 to renew, but I sure can't find them. Anyone done this recently? Should I revoke the old one or wait till it expires? >> >> Thanks for any help, >> Marty >> _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jul 4 03:05:39 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 10:05:39 +0300 Subject: Recursion limit Message-ID: <912f65dc-4dba-1956-9c8b-d8f749f9ed85@gmail.com> "the handler: revIDEStackNameIsIDEStack has reached the recursion limit of: 400000. Execution will be terminated to prevent hang" OK, OK, hanging is a type of execution. This is "all very charming" but I want the script to go on "crawling up its own bottom" considerably longer than that . . . Does anyone know how to circumvent this limit? Richmond. From iphonelagi at gmail.com Tue Jul 4 03:11:04 2017 From: iphonelagi at gmail.com (Lagi Pittas) Date: Tue, 4 Jul 2017 08:11:04 +0100 Subject: Recursion limit In-Reply-To: <912f65dc-4dba-1956-9c8b-d8f749f9ed85@gmail.com> References: <912f65dc-4dba-1956-9c8b-d8f749f9ed85@gmail.com> Message-ID: Hi Richmond, I'm wondering if the recursion limit is limited within the IDE and you are allowed to recurse to your hearts content in a standalone. Well that's what I would surmise from the error message - IDEstack. I could be wrong though. Regards Lagi On 4 July 2017 at 08:05, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > "the handler: revIDEStackNameIsIDEStack > has reached the recursion limit of: 400000. > Execution will be terminated to prevent hang" > > OK, OK, hanging is a type of execution. > > This is "all very charming" but I want the script to > go on "crawling up its own bottom" considerably > longer than that . . . > > Does anyone know how to circumvent > this limit? > > 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 mark at livecode.com Tue Jul 4 03:20:48 2017 From: mark at livecode.com (Mark Waddingham) Date: Tue, 04 Jul 2017 09:20:48 +0200 Subject: Recursion limit In-Reply-To: <912f65dc-4dba-1956-9c8b-d8f749f9ed85@gmail.com> References: <912f65dc-4dba-1956-9c8b-d8f749f9ed85@gmail.com> Message-ID: <2fe05e16683a326b9b4ce9ee268f9773@livecode.com> On 2017-07-04 09:05, Richmond Mathewson via use-livecode wrote: > "the handler: revIDEStackNameIsIDEStack > has reached the recursion limit of: 400000. > Execution will be terminated to prevent hang" > > OK, OK, hanging is a type of execution. > > This is "all very charming" but I want the script to > go on "crawling up its own bottom" considerably > longer than that . . . > > Does anyone know how to circumvent > this limit? You can't circumvent but you can configure the limit - take a look at 'the recursionLimit' property. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Tue Jul 4 03:22:41 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 10:22:41 +0300 Subject: Recursion limit In-Reply-To: References: <912f65dc-4dba-1956-9c8b-d8f749f9ed85@gmail.com> Message-ID: On 7/4/17 10:11 am, Lagi Pittas via use-livecode wrote: > Hi Richmond, > > I'm wondering if the recursion limit is limited within the IDE and you are > allowed to recurse to your hearts content in a standalone. Possibly . . . I don't know how to 'recurse' but I do know how to 'curse to my heart's discontent'. I am trying to code a virtual robot mouse which will find its way through a maze using intersect, and will find another, non-recursive way to do things (this is not a problem as I was messing around with recursion because of another problem I had with the thing) . . . However, as this is the only time I have come up against the recursion limit I was wondering whether there is a way to circumvent it, in the IDE. Richmond. > > Well that's what I would surmise from the error message - IDEstack. > > I could be wrong though. > > Regards Lagi > > On 4 July 2017 at 08:05, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> "the handler: revIDEStackNameIsIDEStack >> has reached the recursion limit of: 400000. >> Execution will be terminated to prevent hang" >> >> OK, OK, hanging is a type of execution. >> >> This is "all very charming" but I want the script to >> go on "crawling up its own bottom" considerably >> longer than that . . . >> >> Does anyone know how to circumvent >> this limit? >> >> 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 richmondmathewson at gmail.com Tue Jul 4 03:24:24 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 10:24:24 +0300 Subject: Recursion limit In-Reply-To: <2fe05e16683a326b9b4ce9ee268f9773@livecode.com> References: <912f65dc-4dba-1956-9c8b-d8f749f9ed85@gmail.com> <2fe05e16683a326b9b4ce9ee268f9773@livecode.com> Message-ID: Aha! I'm listening to "the man" himself. Thank you very much indeed. I do hope you still find time to keep practicing the piano as a programmer who also plays the piano does an awful lot to dispell the geek myth. Best, Richmond. On 7/4/17 10:20 am, Mark Waddingham via use-livecode wrote: > On 2017-07-04 09:05, Richmond Mathewson via use-livecode wrote: >> "the handler: revIDEStackNameIsIDEStack >> has reached the recursion limit of: 400000. >> Execution will be terminated to prevent hang" >> >> OK, OK, hanging is a type of execution. >> >> This is "all very charming" but I want the script to >> go on "crawling up its own bottom" considerably >> longer than that . . . >> >> Does anyone know how to circumvent >> this limit? > > You can't circumvent but you can configure the limit - take a look at > 'the recursionLimit' property. > > Warmest Regards, > > Mark. > From mark at livecode.com Tue Jul 4 03:28:02 2017 From: mark at livecode.com (Mark Waddingham) Date: Tue, 04 Jul 2017 09:28:02 +0200 Subject: Sharp as a pound (was Array assignment...) In-Reply-To: References: <16688094-1BA3-4163-A027-DDB314E81C6E@thehales.id.au> Message-ID: <9eea5984b32a41e6d55f6ec586b51237@livecode.com> On 2017-06-29 18:45, Bob Sneidar via use-livecode wrote: > So long as we all generally agree that "#" can be called "pound, Hash > or Sharp" (not so sure I agree with the last one btw) then we can talk > about it. So far as the computer is concerned, it's ascii(035) and > even that is a synonym for 00100010. 'Sharp' because it is used in music to denote sharpening of the base note (despite my musical background, I still see it as 'hash' in my mind when I see it though). Just noting something Alex said about # not being directly accessible on Mac (it is Alt/Option - 3) - I always found this somewhat amusing... I often wondered if it is because in the early days Apple favoured Pascal as its primary implementation language beyond assembly - if it had been C I suspect it would have been more accessible as C code (particularly going back decades) uses # quite a lot... Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Tue Jul 4 03:28:15 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 10:28:15 +0300 Subject: Recursion limit In-Reply-To: <2fe05e16683a326b9b4ce9ee268f9773@livecode.com> References: <912f65dc-4dba-1956-9c8b-d8f749f9ed85@gmail.com> <2fe05e16683a326b9b4ce9ee268f9773@livecode.com> Message-ID: <1eb499b4-ee2f-eb3d-10cf-a2bfb394aeda@gmail.com> BUT . . . How can one know how high one can set the recursionLimit before smoke, sparks and flames are going to start leaping out of the back of the computer? Or, less frivolously; how can one determine the upper limit on the recursionLimit before the stack "hangs" (presumably that means the thing will lock solid) ? Richmond. On 7/4/17 10:20 am, Mark Waddingham via use-livecode wrote: > On 2017-07-04 09:05, Richmond Mathewson via use-livecode wrote: >> "the handler: revIDEStackNameIsIDEStack >> has reached the recursion limit of: 400000. >> Execution will be terminated to prevent hang" >> >> OK, OK, hanging is a type of execution. >> >> This is "all very charming" but I want the script to >> go on "crawling up its own bottom" considerably >> longer than that . . . >> >> Does anyone know how to circumvent >> this limit? > > You can't circumvent but you can configure the limit - take a look at > 'the recursionLimit' property. > > Warmest Regards, > > Mark. > From richmondmathewson at gmail.com Tue Jul 4 03:37:34 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 10:37:34 +0300 Subject: Sharp as a pound (was Array assignment...) In-Reply-To: <9eea5984b32a41e6d55f6ec586b51237@livecode.com> References: <16688094-1BA3-4163-A027-DDB314E81C6E@thehales.id.au> <9eea5984b32a41e6d55f6ec586b51237@livecode.com> Message-ID: Macintosh: On a US keyboard the '#' sign is Shift-3 (where, on a British keyboard there is a pound sign). On a British keyboard, as Mark correctly states, it is Alt/Opt-3. On a German keyboard the '#' is Shift + Alt/Opt-3. On a French keyboard the '#' is Shift + Alt/Opt-' (the key that is a '\' on the US keyboard). Reasonably accessible. Richmond. On 7/4/17 10:28 am, Mark Waddingham via use-livecode wrote: > On 2017-06-29 18:45, Bob Sneidar via use-livecode wrote: >> So long as we all generally agree that "#" can be called "pound, Hash >> or Sharp" (not so sure I agree with the last one btw) then we can talk >> about it. So far as the computer is concerned, it's ascii(035) and >> even that is a synonym for 00100010. > > 'Sharp' because it is used in music to denote sharpening of the base > note (despite my musical background, I still see it as 'hash' in my > mind when I see it though). > > Just noting something Alex said about # not being directly accessible > on Mac (it is Alt/Option - 3) - I always found this somewhat > amusing... I often wondered if it is because in the early days Apple > favoured Pascal as its primary implementation language beyond assembly > - if it had been C I suspect it would have been more accessible as C > code (particularly going back decades) uses # quite a lot... > > Warmest Regards, > > Mark. > From mark at livecode.com Tue Jul 4 03:45:22 2017 From: mark at livecode.com (Mark Waddingham) Date: Tue, 04 Jul 2017 09:45:22 +0200 Subject: synonyms In-Reply-To: <3f20e3bd-ce90-ffeb-1287-401542603cfa@sonic.net> References: <67731129-A6F0-4247-8F2D-69580E2A7CC6@hyperhh.de> <5f09629060d0d372738cc3fe4c0c6802@livecode.com> <1d1e35b4-2f21-f651-94a4-efb38ffef90d@sonic.net> <7F8EC725-9F2F-4A36-A1F8-8372351B6FF6@livecode.com> <3f20e3bd-ce90-ffeb-1287-401542603cfa@sonic.net> Message-ID: <78167c27bcca2c3fadf6ce7a414d6afa@livecode.com> On 2017-06-26 21:34, Mark Wieder via use-livecode wrote: > Heh. Autocomplete, I think, works well when you already have an idea > where you're going. I don't think it would help much with a line like > > "if x " If the autocomplete mechanism is good enough then it could it would come up with a list like: 'then' 'is ' 'contains ' ... Of course, there would be a big list in this case (as there are quite a few operators); however, other contextual information can be used to order it (e.g. how often had you used operators in the current script) and implicitly computed type information could help cut down the list to the things that would actually work. > My PR for 'hilite' wasn't to 'normalise' the term, but to be > consistent about its use. To this day I can't remember where > 'highlight' is acceptable and where 'hilite' is proscribed, my > distaste for 'hilite' as a word notwithstanding. Indeed - there are 'different cases' of synonyms - this would fall into the class of spelling variations. However, the point there was that a specific variation had already been chosen - 'hilite' - for better or for worse. > Point taken, but do you seriously believe it would be a good idea to > have different meanings for "hilite" and "highlight"? I can't imagine > that repurposing either of these for the same syntax would help in > anyone's comprehension of the language or ease in scripting. Making > the two words synonyms is the only thing that makes sense to me. No - of course I wouldn't - but then this just goes to show that the 'synonym' thing is a great deal deeper than it appears at first sight. Already in this thread the following three kinds have been noted: - abbreviations - spelling variations - functional synonyms Of these, only the last can truly be called 'synonyms' - and they are more complex than the other two as they *should* be context dependent (but cannot be at the moment). Abbreviations people probably wouldn't notice the lack of direct support for in the language if the tooling auto-expanded them. In terms of spelling variations choosing *one* and sticking to it in any particular project is really important otherwise you can create subtle bugs which are virtually impossible to spot (e.g. using 'colour' as a key in an array in one place, but 'color' in another). I normalized my spelling to US English when coding quite early on after starting at LiveCode - however, you can still see inconsistent vestiges lurking around in various places. Color wasn't so bad to move to as I'd already had that battle at the age of around 6 when playing with Amiga BASIC on my grandfather's computer and not being able to figure out for the life of me why I kept getting 'syntax error' in my code... It was because I was typing COLOUR and not COLOR. However, 'Behavior' took me a fair bit longer! > Having submitted several rejected PRs for synonyms I can vouch for the > fact that they're not that hard to add. Just because something is 'easy' doesn't mean it is 'right'. (It is easy to knock down walls in a house with a big enough hammer - but you might not end up with a house afterwards!). The point here is that the architecture we currently have for synonyms is woefully inadequate as it is global - if you apply a synonym to one property token then it is that way for all uses of that property, regardless of where they are. For example, for one type of 'thing' the two words 'purge' and 'delete' might well mean the same thing... However for another type of 'thing' they might not. > That may be the basis of our disagreement then... I'd prefer that > everyone *not* be stamped from the same mold. It is not about stamping everyone from the same mould - however, for people to work together well and efficiently you need consistent communication. In the world of programming, the code is the primary means of communication so ensuring that is consistent amongst any one group or team produces big benefits. As I already said I am against synonyms being part of the *core* language as they only add friction at level, and do not help (the 'core' of anything should be only as large as it needs to be to express everything built on top of it). However, I have no issue with them being available as tailorings - we just aren't quite at the point where this is usefully possible. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Tue Jul 4 03:50:04 2017 From: mark at livecode.com (Mark Waddingham) Date: Tue, 04 Jul 2017 09:50:04 +0200 Subject: Recursion limit In-Reply-To: <1eb499b4-ee2f-eb3d-10cf-a2bfb394aeda@gmail.com> References: <912f65dc-4dba-1956-9c8b-d8f749f9ed85@gmail.com> <2fe05e16683a326b9b4ce9ee268f9773@livecode.com> <1eb499b4-ee2f-eb3d-10cf-a2bfb394aeda@gmail.com> Message-ID: <0a825817beab12cb00e1c80009cd1265@livecode.com> On 2017-07-04 09:28, Richmond Mathewson via use-livecode wrote: > BUT . . . > > How can one know how high one can set the recursionLimit before smoke, > sparks > and flames are going to start leaping out of the back of the computer? > > Or, less frivolously; how can one determine the upper limit on the > recursionLimit before the > stack "hangs" (presumably that means the thing will lock solid) ? The recursionLimit is limited by the size of the C stack (in bytes). I think on Mac that is 8 Mb by default (although I think you can configure it using ulimit or some similar command-line trickery). One thing to check that you aren't (by accident) doing infinite recursion. i.e. A variant of: on myFunction myFunction end myFunction Obviously *that* is trivially noticeable as being infinite. However, it is quite easy to write stuff like this when its buried in lots of lines of code (hence why LiveCode has a 'recursionLimit'). My general advice would be: 1) Run your routine 2) If it hits the recursionLimit double the recursionLimit property. 3) Goto (1) If you reach 8Mb limit then put some logging into your code to make sure it *does* actually need to recurse that deeply. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Tue Jul 4 03:59:34 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 10:59:34 +0300 Subject: Recursion limit In-Reply-To: <0a825817beab12cb00e1c80009cd1265@livecode.com> References: <912f65dc-4dba-1956-9c8b-d8f749f9ed85@gmail.com> <2fe05e16683a326b9b4ce9ee268f9773@livecode.com> <1eb499b4-ee2f-eb3d-10cf-a2bfb394aeda@gmail.com> <0a825817beab12cb00e1c80009cd1265@livecode.com> Message-ID: <449d9c76-2e45-2725-ab08-6cfc2004a777@gmail.com> Well I'm not doing infinite recursion: MouseUp Script inside button "GO2" sending "mouseDown" to button "GO2" onmouseUp put0 intoSTOPP ifintersect(img "ball1",img "stop") then put1 intoSTOPP endif ifintersect(img "ball2",img "stop") then put1 intoSTOPP endif ifintersect(img "ball3",img "stop") then put1 intoSTOPP endif ifintersect(img "ball4",img "stop") then put1 intoSTOPP endif ifSTOPP = 0 then send"mouseDown" tobtn "GO2" endif endmouseUp Richmond. On 7/4/17 10:50 am, Mark Waddingham via use-livecode wrote: > On 2017-07-04 09:28, Richmond Mathewson via use-livecode wrote: >> BUT . . . >> >> How can one know how high one can set the recursionLimit before >> smoke, sparks >> and flames are going to start leaping out of the back of the computer? >> >> Or, less frivolously; how can one determine the upper limit on the >> recursionLimit before the >> stack "hangs" (presumably that means the thing will lock solid) ? > > The recursionLimit is limited by the size of the C stack (in bytes). I > think on Mac that is 8 Mb by default (although I think you can > configure it using ulimit or some similar command-line trickery). > > One thing to check that you aren't (by accident) doing infinite > recursion. i.e. A variant of: > > on myFunction > myFunction > end myFunction > > Obviously *that* is trivially noticeable as being infinite. However, > it is quite easy to write stuff like this when its buried in lots of > lines of code (hence why LiveCode has a 'recursionLimit'). > > My general advice would be: > > 1) Run your routine > > 2) If it hits the recursionLimit double the recursionLimit property. > > 3) Goto (1) > > If you reach 8Mb limit then put some logging into your code to make > sure it *does* actually need to recurse that deeply. > > Warmest Regards, > > Mark. > From mark at livecode.com Tue Jul 4 04:02:35 2017 From: mark at livecode.com (Mark Waddingham) Date: Tue, 04 Jul 2017 10:02:35 +0200 Subject: synonyms In-Reply-To: <4dc6808a-8f51-1a3b-308c-0d6d5ffd664d@gmail.com> References: <67731129-A6F0-4247-8F2D-69580E2A7CC6@hyperhh.de> <5f09629060d0d372738cc3fe4c0c6802@livecode.com> <1d1e35b4-2f21-f651-94a4-efb38ffef90d@sonic.net> <7F8EC725-9F2F-4A36-A1F8-8372351B6FF6@livecode.com> <4dc6808a-8f51-1a3b-308c-0d6d5ffd664d@gmail.com> Message-ID: <60826e76befd1c306cdbcb1fb3ba5e53@livecode.com> On 2017-06-26 21:57, Richmond Mathewson via use-livecode wrote: > Most of us are well aware that LiveCode is NOT Hypercard any more than > I am not a small, furry mouselike mammal that danced around > the toes of dying dinosaurs: LiveCode is descended from HyperCard, and > I may be descended from small, furry mammals. No it is not HyperCard, but it is (pretty much) a large superset of what HyperCard was... Okay so there are some implementation differences - HyperCard used a page-based stack format, LiveCode's is in-memory; HyperCard used decimal arithmetic, LiveCode uses double arithmetic, HyperCard's parser was completely contextual, LiveCode's is a little bit of a mix (and a fair few other things). > "train people implicitly" . . . hard job. Indeed it isn't easy; and most environments don't really try and do so. Even LiveCode at the moment doesn't help that much. In this case, I think 'implicit' comes from an environment which tells you what you are doing wrong, rather than just saying when you've got it right. After all, learning from mistakes is a general 'fact of life' - however, to learn from mistakes you have to know what they are in the first place. > Yes; but that presupposes LiveCode is going to be burdened with the > "it's an xTalk dialect" label forever, and whether "xTalk" > continues to make sense seeing how far the xTalk outgrowths from > HyperCard have diverged. I don't think the 'its an xTalk dialect' is that much of a burden - at least not from a syntax point of view. In many ways the abstractions which the syntax exposes are far far more important - and those persist regardless of the syntax which is wrapped around them. >>> For a problem placed before any three coders, you will find at least >>> four different solutions. Limiting the language limits the ways in >>> which a problem may be thought of - that's the basis of the >>> linguistic relativism, and it applies to programming languages as >>> well as to natural languages. > > Of course. Although I think Mark's original statement is conflating two things - there is the *abstract* method of solution, and the *concrete* rendering of the solution. In most cases you might get 'four different solutions' - however it is more than likely that at least half of them will be the same if you strip away all the concrete baggage (i.e. syntax, variable names, choice of array of string-list etc.). Simply because abstractly there tends to be far fewer ways to solve any one given problem (in computing at least) than there is concretely, as computers think about things in a specific way (which often is nothing like how humans do on an average day-to-day basis). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Tue Jul 4 04:05:42 2017 From: mark at livecode.com (Mark Waddingham) Date: Tue, 04 Jul 2017 10:05:42 +0200 Subject: synonyms In-Reply-To: <2db7071d-d80f-17e2-b9d5-6eba350a81db@hyperactivesw.com> References: <67731129-A6F0-4247-8F2D-69580E2A7CC6@hyperhh.de> <5f09629060d0d372738cc3fe4c0c6802@livecode.com> <1d1e35b4-2f21-f651-94a4-efb38ffef90d@sonic.net> <7F8EC725-9F2F-4A36-A1F8-8372351B6FF6@livecode.com> <7233f344-81ea-9b85-6eb2-e3b1ace7bbff@hyperactivesw.com> <2db7071d-d80f-17e2-b9d5-6eba350a81db@hyperactivesw.com> Message-ID: <74203ccc5d50be3e7431bd2f7c324801@livecode.com> On 2017-06-26 22:29, J. Landman Gay via use-livecode wrote: > On 6/26/17 3:14 PM, Richmond Mathewson via use-livecode wrote: >> >> On 6/26/17 11:07 pm, J. Landman Gay via use-livecode wrote: >>> Just please don't remove the ones we've got. I haven't typed out >>> "background" or "card" in 30 years. My brain would short out. >> >> I wonder if it is about time in this discussion to differentiate >> between *abbreviations* and *synonyms*? > > I think from the engine's perspective they're the same. Yes - which is part of the problem. They are actually a 'different thing' abstractly. It is just that they were implemented using the same mechanism because (at first glance at least) that mechanism 'does the same thing' when one does not consider what is *actually* going on. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Tue Jul 4 04:18:51 2017 From: mark at livecode.com (Mark Waddingham) Date: Tue, 04 Jul 2017 10:18:51 +0200 Subject: synonyms In-Reply-To: <9fe5dd5d-f421-ff1e-4bfb-0168d05cb174@sonic.net> References: <7d93073a-6638-1e54-7323-e753649cc159@researchware.com> <545462d3-2e12-2b2c-c4ae-7fa14a0e9c6e@fourthworld.com> <05156f14-91fc-6868-8c60-9232dd47c237@sonic.net> <86c0b4a9-de0b-4ea5-2d9c-3dca12a43535@tweedly.net> <9fe5dd5d-f421-ff1e-4bfb-0168d05cb174@sonic.net> Message-ID: <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> On 2017-06-29 21:13, Mark Wieder via use-livecode wrote: > Don't know about the 'less confusing' part, but otherwise ruby lets > you interleave them: if there's an associated name with a parameter > then that parameter gets assigned to that variable. Otherwise you have > to work with the parameter position, which IMO is less intuitive, more > error-prone, and harder to read and maintain. I wouldn't object to > using python's restriction, but I don't think it's necessary. Given > that parameters are comma-separated, it's a simple change to the > script parser to allow this (not that I expect this will ever happen). Just to point this out but 'just' changing the script parser does absolutely nothing at all beyond meaning that a piece of text of the form now accepted by said modified parser does not throw a syntax error. Said change would actually *do* absolutely nothing. Syntax is just sugar - you need to implement the feature at all levels underneath for it to work... Like most things (unfortunately), there's usually a great deal of depth involved - usually directly proportional to the generality of the change... In this case (as it is dealing with parameter passing) it is quite general indeed. In regards to named parameters. Python views functions as (essentially) taking two abstract parameters - a sequence (the positional parameters) and a dictionary (the named parameters). You can see this directly when you look at the 'dynamic' invocation form... Which (I think) is: function(*listOfArgs, *dictOfArgs) Here, this invokes 'function' with the positional args from the list 'listOfArgs' and the dictionary of args 'dictOfArgs'. i.e. it is equivalent to doing: function(listOfArgs[1], ..., listofArgs[n], firstKey of dictOfArgs: dictOfArgs[firstKey], ...) Indeed, as has already been noted Python does not allow you to mix the two. Although I think you could relax that just by re-ordering all named args to the end of the parameter list before invocation e.g. function 1, foo: bar, 2 Becomes function 1, 2, foo:bar You might even be able to make it so that named parameters also have a position - however I suspect the necessary rules underlying that would end up being so obtuse as to make it a somewhat pointless exercise in semantic uniformity, and probably not worth the effort. Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jacque at hyperactivesw.com Tue Jul 4 05:46:11 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Jul 2017 04:46:11 -0500 Subject: Recursion limit In-Reply-To: <449d9c76-2e45-2725-ab08-6cfc2004a777@gmail.com> References: <912f65dc-4dba-1956-9c8b-d8f749f9ed85@gmail.com> <2fe05e16683a326b9b4ce9ee268f9773@livecode.com> <1eb499b4-ee2f-eb3d-10cf-a2bfb394aeda@gmail.com> <0a825817beab12cb00e1c80009cd1265@livecode.com> <449d9c76-2e45-2725-ab08-6cfc2004a777@gmail.com> Message-ID: <15d0cfe2eb8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If the mouseDown handler calls the mouseUp again, then it's a type of recursion. You can avoid that by sending the mouseDown after the mouseUp has ended : if STOPP = 0 then send "mouseDown" to btn "GO2" in 0 end if (I wonder why your scripts lose all the spaces when they pass through the list?) > How can one know how high one can set the recursionLimit before?smoke, > sparks and flames are going to start leaping out of the back of the computer? Usually there's no fire. LC just shuts down suddenly and you lose all your work. After that, you set the computer on fire yourself. Ergo, the warning and intercept. On July 4, 2017 3:01:37 AM Richmond Mathewson via use-livecode wrote: > Well I'm not doing infinite recursion: > > MouseUp Script inside button "GO2" sending "mouseDown" to button "GO2" > > onmouseUp > > put0 intoSTOPP > > ifintersect(img "ball1",img "stop") then > > put1 intoSTOPP > > endif > > ifintersect(img "ball2",img "stop") then > > put1 intoSTOPP > > endif > > ifintersect(img "ball3",img "stop") then > > put1 intoSTOPP > > endif > > ifintersect(img "ball4",img "stop") then > > put1 intoSTOPP > > endif > > ifSTOPP = 0 then > > send"mouseDown" tobtn "GO2" > > endif > > endmouseUp > > Richmond. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From curry at pair.com Tue Jul 4 06:27:55 2017 From: curry at pair.com (Curry Kenworthy) Date: Tue, 04 Jul 2017 06:27:55 -0400 Subject: Recursion limit In-Reply-To: <449d9c76-2e45-2725-ab08-6cfc2004a777@gmail.com> References: <449d9c76-2e45-2725-ab08-6cfc2004a777@gmail.com> Message-ID: <595B6DAB.2090505@pair.com> If a maze has modest dimensions such as 50 x 100 squares, LiveCode should be able to handle a recursive solution with no issues. If a maze has very large dimensions or irregular paths to test, I would play it safe by using pseudo recursion or other techniques. That way you "burn rubber" on the maze, but no smoke from your computer or puff of smoke where LiveCode was a moment ago. :) From your code I'm not sure whether you're primarily using recursion to solve the maze. If not, try Jacque's tip! Best wishes, Curry Kenworthy Custom Software Development http://curryk.com/consulting/ From bdrunrev at gmail.com Tue Jul 4 06:33:03 2017 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 4 Jul 2017 11:33:03 +0100 Subject: debugging a CEF browser instance Message-ID: After a very long time away from Livecode, I'm trying to get back into it. On 8.1.4 in the Windows IDE I have a browser instance where a standalone web page with some Javascript code is not working. The same page works if I load it into Chrome. So, I thought there might be a way to display the console of the browser instance, but I can't find a "chrome://..." command to do that. The most information I can get back from the browser instance is this: "C:/Program Files (x86)/RunRev/LiveCode Business 8.1.4/LiveCode Business" --browser-subprocess-path="C:\Program Files (x86)\RunRev\LiveCode Business 8.1.4\Externals\CEF\libbrowser-cefprocess.exe" --no-sandbox --lang=en-US --log-file="C:\Program Files (x86)\RunRev\LiveCode Business 8.1.4\debug.log" --log-severity=disable --locales-dir-path="C:\Program Files (x86)\RunRev\LiveCode Business 8.1.4\Externals\CEF\locales" So, I created a .cmd file where I launched the livecode .exe, passing in different values for --log-severity=disable but no alternative parameters in the .cmd file appear to be taken up (i.e. it looks like these CEF browser parameters might be hard-coded into the LC exe). I'm thinking there must be a way to debug CEF browser instances, but a search through the mail list didn't turn up anything that appeared relevant. Any suggestions? Regards Bernard From toolbook at kestner.de Tue Jul 4 09:17:53 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 4 Jul 2017 15:17:53 +0200 Subject: How to avoid window flickering with changing focus? Message-ID: <004201d2f4c7$f295d2a0$d7c177e0$@kestner.de> Hello, I have a LC 8.1.4 program on Windows. My program has a kind of a quiz and I am using a modal window to prompt for answers. The quiz runs in a loop until the user exits the quiz. When the user clicks a button of the modal window to give an answer and close the modal window. Some handlers are processing the answer, playing a video, updating some informations on the screen and at the end call again the modal window for the next question. So there is a frequent change of the active focus window between the main window and the modal dialog. I have developed the program on a fast win 10 machine. In the standard Win 10 scheme all windows now have a white title bar and almost no frame around the windows. The look & feel of my program is pretty good / normal. Now I tested it on a Win 8 machine, which has the standard win 8 scheme with violet window title bar and frame around each window. And here you get eye cancer, when using my program. After each answer of the quiz dialog, the modal window disappears and the main violet window frame gets the focus, but seems to lose the focus one or two times, so that there is a wild flickering of the window frame until it regularly loses the focus when the modal dialog window gets it again. There must be some statements (which I haven't found yet), which play with the focus, without my knowledge. Now I saw, that it actually has the same behavior on my win 10 machine, but because of the white and small frame and the fast machine I never have realized it and it doesn't bothers. Up to now, I couldn't find the source where the changes of the window focus come from and didn't find a starting point, what could cause it. Do you have any ideas, on how to drill this down (in debug mode the "loop" behaves different and doesn't shows the flickering) or an idea if and how I can avoid this behavior? I tried some changes with lock/unlock screen, but up to now without success. Because there are quite some handlers involved, it is not just with a lock screen/unlock screen done. Or I didn't found yet the right place to wrap the whole sequence of handler in a "lock screen" Ever had such an issue? Thanks for any ideas Tiemo From tfabacher at gmail.com Tue Jul 4 10:20:47 2017 From: tfabacher at gmail.com (Todd Fabacher) Date: Tue, 4 Jul 2017 23:20:47 +0900 Subject: I need a "slider" in a circle Message-ID: Hello Livecode group, I have a situation where we need a slider, not a straight line, but as a circle. I thing Scott Rossi did a demo of this at San Diego LC conference, but I can't find the code samples to check. I just need to restrict the movement to a circle when the user moves their finger. Maybe there is some kind of dial example somewhere??? All I am looking to do is move the slider in the semi-circle to move the value forward or backwards. Thanks, Todd From revolution at derbrill.de Tue Jul 4 10:43:47 2017 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Tue, 4 Jul 2017 16:43:47 +0200 Subject: I need a "slider" in a circle In-Reply-To: References: Message-ID: <40D294FB-9F76-4FBC-88DC-101240106BFF@derbrill.de> Hi Todd, I found my slides to the 2013 liveCode conference, where I did circle sliders using animation engine. If that is of interest, let me know. Cheers, Malte From muzzini at accmed.org Tue Jul 4 11:24:03 2017 From: muzzini at accmed.org (Renato Muzzini) Date: Tue, 4 Jul 2017 17:24:03 +0200 Subject: I need a "slider" in a circle In-Reply-To: References: Message-ID: <1309E3ED-458A-49DA-A626-2739DBE05B32@accmed.org> > Il giorno 04/lug/2017, alle ore 16:20, Todd Fabacher via use-livecode ha scritto: > > Hello Livecode group, > > I have a situation where we need a slider, not a straight line, but as a > circle. I thing Scott Rossi did a demo of this at San Diego LC conference, > but I can't find the code samples to check. I just need to restrict the > movement to a circle when the user moves their finger. Maybe there is some > kind of dial example somewhere??? > > All I am looking to do is move the slider in the semi-circle to move the > value forward or backwards. > > Thanks, > > Todd using math: constant kDelay=10 //0,1,100? local sMove on mouseDown put true into sMove moveMe end mouseDown on mouseUp put false into sMove end mouseUp on mouseRelease put false into sMove end mouseRelease on moveMe if not(sMove) then exit moveMe put (the width of grc "circle")/2 into R put (item 1 of the loc of grc "circle") into x0 put (item 2 of the loc of grc "circle") into y0 put min(MAX(the mouseH, the left of grc "circle"), the right of grc "circle") into x put min(MAX(the mouseV, item 2 of the loc of grc "circle"), the bottom of grc "circle") into y put sqrt(R^2 - (x-x0)^2)+y0 into y set the loc of me to x,y put trunc(x),trunc(y) into fld "values" send "moveMe" to me in kDelay millisec end moveMe /******* recipe: - have an oval named "circle". and be it a circle? - have a grc/img with the above script - have a field named "values", just to collect the values - adjust kDelay for your needs - feel free to hide the oval - do what you need with values ********/ regards. re.mu. From prothero at earthlearningsolutions.org Tue Jul 4 11:29:24 2017 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Tue, 4 Jul 2017 08:29:24 -0700 Subject: Recursion limit In-Reply-To: <449d9c76-2e45-2725-ab08-6cfc2004a777@gmail.com> References: <912f65dc-4dba-1956-9c8b-d8f749f9ed85@gmail.com> <2fe05e16683a326b9b4ce9ee268f9773@livecode.com> <1eb499b4-ee2f-eb3d-10cf-a2bfb394aeda@gmail.com> <0a825817beab12cb00e1c80009cd1265@livecode.com> <449d9c76-2e45-2725-ab08-6cfc2004a777@gmail.com> Message-ID: Why not put this in a "repeat forever" loop and test for iStopp=0, then exit repeat when true? Put 1 into iStopp Repeat while iStopp<>0 Intersect testing code that puts 0 into iStopp, appropriately If iStopp=0 then Exit repeat End if End repeat Of course, there is probably some reason, but this is the way I would probably approach this. Best, Bill P William Prothero http://es.earthednet.org > On Jul 4, 2017, at 12:59 AM, Richmond Mathewson via use-livecode wrote: > > Well I'm not doing infinite recursion: > > MouseUp Script inside button "GO2" sending "mouseDown" to button "GO2" > > onmouseUp > > put0 intoSTOPP > > ifintersect(img "ball1",img "stop") then > > put1 intoSTOPP > > endif > > ifintersect(img "ball2",img "stop") then > > put1 intoSTOPP > > endif > > ifintersect(img "ball3",img "stop") then > > put1 intoSTOPP > > endif > > ifintersect(img "ball4",img "stop") then > > put1 intoSTOPP > > endif > > ifSTOPP = 0 then > > send"mouseDown" tobtn "GO2" > > endif > > endmouseUp > > Richmond. > > > >> On 7/4/17 10:50 am, Mark Waddingham via use-livecode wrote: >>> On 2017-07-04 09:28, Richmond Mathewson via use-livecode wrote: >>> BUT . . . >>> >>> How can one know how high one can set the recursionLimit before smoke, sparks >>> and flames are going to start leaping out of the back of the computer? >>> >>> Or, less frivolously; how can one determine the upper limit on the >>> recursionLimit before the >>> stack "hangs" (presumably that means the thing will lock solid) ? >> >> The recursionLimit is limited by the size of the C stack (in bytes). I think on Mac that is 8 Mb by default (although I think you can configure it using ulimit or some similar command-line trickery). >> >> One thing to check that you aren't (by accident) doing infinite recursion. i.e. A variant of: >> >> on myFunction >> myFunction >> end myFunction >> >> Obviously *that* is trivially noticeable as being infinite. However, it is quite easy to write stuff like this when its buried in lots of lines of code (hence why LiveCode has a 'recursionLimit'). >> >> My general advice would be: >> >> 1) Run your routine >> >> 2) If it hits the recursionLimit double the recursionLimit property. >> >> 3) Goto (1) >> >> If you reach 8Mb limit then put some logging into your code to make sure it *does* actually need to recurse that deeply. >> >> Warmest Regards, >> >> Mark. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jul 4 11:48:59 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 18:48:59 +0300 Subject: I need a "slider" in a circle In-Reply-To: References: Message-ID: <02456f65-f7de-9f55-1a9a-7ddaf0540b8f@gmail.com> Why not use a circular widget in the form of a dial? Richmond. On 7/4/17 5:20 pm, Todd Fabacher via use-livecode wrote: > Hello Livecode group, > > I have a situation where we need a slider, not a straight line, but as a > circle. I thing Scott Rossi did a demo of this at San Diego LC conference, > but I can't find the code samples to check. I just need to restrict the > movement to a circle when the user moves their finger. Maybe there is some > kind of dial example somewhere??? > > All I am looking to do is move the slider in the semi-circle to move the > value forward or backwards. > > Thanks, > > Todd > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Tue Jul 4 11:39:42 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 4 Jul 2017 16:39:42 +0100 Subject: synonyms In-Reply-To: <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> References: <7d93073a-6638-1e54-7323-e753649cc159@researchware.com> <545462d3-2e12-2b2c-c4ae-7fa14a0e9c6e@fourthworld.com> <05156f14-91fc-6868-8c60-9232dd47c237@sonic.net> <86c0b4a9-de0b-4ea5-2d9c-3dca12a43535@tweedly.net> <9fe5dd5d-f421-ff1e-4bfb-0168d05cb174@sonic.net> <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> Message-ID: On 04/07/2017 09:18, Mark Waddingham via use-livecode wrote: > Syntax is just sugar - you need to implement the feature at all levels > underneath for it to work... Like most things (unfortunately), there's usually > a great deal of depth involved - usually directly proportional to the > generality of the change... In this case (as it is dealing with parameter > passing) it is quite general indeed. May I hijack this thread to have another go at promoting my feature request for a bit of syntax sugar around parameters which I _think_ would not have a very deep implementation requirement? My (initial) request is for "@" to be ignored - treated as "/* @ */" - at the start of a parameter in a command or function call. It seems to me a significant risk of error that it's possible to invoke a command or function which takes a parameter by reference, without realising it. Certainly it's not an aid to readability that, when looking at code that makes such a call, there's no clue that this is what is happening. A change that ensured "@' is effectively ignored immediately before a parameter, would at least give the careful coder an elegant and concise way of indicating in the code that this parameter is passed by reference. Of course, my long term plan is that in five years or so the compiler might (at least in explicitVars mode) actually warn you if the @ marking is inconsistent between caller and callee. There is a very low risk, in my view, of breaking backwards compatibility. At present, if you have explicitVars set, you cannot use @ in this way - it is an error. If you don't have explicitVars set, then with this code put 23 into x mycommand @x mycommand would currently receive "@x" as the parameter, but after my suggested change would receive "23". That would be bad. But what kind of person would do the above anyway?!? Arguably it would be possible to process @ in this way only when explicitVars was set, in which case there would be no incompatibility issues at all. This is also at: http://quality.livecode.com/show_bug.cgi?id=8945 cheers, Ben From richmondmathewson at gmail.com Tue Jul 4 12:07:02 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 19:07:02 +0300 Subject: Polly's gone, or at least she's hiding in 8.1.4 Message-ID: <0a3fdbb6-119b-6ef8-9336-817e003cb075@gmail.com> Mac OS 10.7.8 Object/New Control/Polygon Graphic produces nothing. Not funny. Richmond. From benr at cogapp.com Tue Jul 4 12:08:15 2017 From: benr at cogapp.com (Ben Rubinstein) Date: Tue, 4 Jul 2017 17:08:15 +0100 Subject: PrintPaperRectangle In-Reply-To: References: Message-ID: By synchronicity, I start writing a very similar message a few days ago. I stopped writing the email when I'd typed the words "is there another print property I should be using?" and as is often the case when I draft a despairing message to the use- list, this prompted me to look a bit harder and find the answer. My problem, at least, was solved by finding the printPaperSize, which correctly returns (for A4 at 100%) "595,842" - a reasonable approximation for A4 paper converted to inches at 72dpi. > Can anyone shed some light on this please. Simple answer: it's a bug. At some point the printPaperRectangle has been nobbled to be exactly the same as the printRectangle. I've reported this as http://quality.livecode.com/show_bug.cgi?id=19997 In the meantime, the printPaperSize is your friend, provided the page setup is at default scale and orientation: in this case, the printPaperRectangle should be the same as printPaperSize with two zeros. However if you're not at default scale/orientation, you're a bit out of luck. You can reasonably infer orientation from the printRectangle, but there's not a reliable way to figure out the true scaled paper size from the combination of printRectangle and printPaperSize (which is why we need printPaperRectangle). Ben On 30/06/2017 19:17, Terence Heaford via use-livecode wrote: > LC 8.1.4, MacOS 10.12.5 > > Print Paper Rectangle returns 8,8,834,587 for A4 Landscape. > > This does not seem to match the description in the dictionary? > > "The printPaperRectangle property contains four comma-separated integers and is in points. > The default value reflects the default values of the printPaperSize and printPaperOrientation. > The four numbers represent the left, top, right and bottom of the rectangle being printed to. > The rectangle is relative to the top-left of the page, and the left and top will currently always be 0.? > > Can anyone shed some light on this please. > > Thanks > > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Tue Jul 4 12:11:21 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 19:11:21 +0300 Subject: Polly's gone, or at least she's hiding in 8.1.4 In-Reply-To: <0a3fdbb6-119b-6ef8-9336-817e003cb075@gmail.com> References: <0a3fdbb6-119b-6ef8-9336-817e003cb075@gmail.com> Message-ID: <4444a6dc-0cba-2df0-69f7-938fdcae6a4d@gmail.com> Ah: this does create a graphic object which is invisible, and the only way to make it visible is to set it to some other type of graphic (reactangle, regular polygon). This won't do. Richmond. On 7/4/17 7:07 pm, Richmond Mathewson wrote: > Mac OS 10.7.8 > > Object/New Control/Polygon Graphic produces nothing. > > Not funny. > > Richmond. From paul at livecode.org Tue Jul 4 12:18:53 2017 From: paul at livecode.org (Paul Hibbert) Date: Tue, 4 Jul 2017 09:18:53 -0700 Subject: PrintPaperRectangle In-Reply-To: References: Message-ID: i came to the same conclusion, thank you for reporting it. Paul > On Jul 4, 2017, at 9:08 AM, Ben Rubinstein via use-livecode wrote: > > By synchronicity, I start writing a very similar message a few days ago. > > I stopped writing the email when I'd typed the words "is there another print property I should be using?" and as is often the case when I draft a despairing message to the use- list, this prompted me to look a bit harder and find the answer. > > My problem, at least, was solved by finding the printPaperSize, which correctly returns (for A4 at 100%) "595,842" - a reasonable approximation for A4 paper converted to inches at 72dpi. > >> Can anyone shed some light on this please. > > Simple answer: it's a bug. At some point the printPaperRectangle has been nobbled to be exactly the same as the printRectangle. I've reported this as > http://quality.livecode.com/show_bug.cgi?id=19997 > > In the meantime, the printPaperSize is your friend, provided the page setup is at default scale and orientation: in this case, the printPaperRectangle should be the same as printPaperSize with two zeros. > > However if you're not at default scale/orientation, you're a bit out of luck. You can reasonably infer orientation from the printRectangle, but there's not a reliable way to figure out the true scaled paper size from the combination of printRectangle and printPaperSize (which is why we need printPaperRectangle). > > Ben > > > On 30/06/2017 19:17, Terence Heaford via use-livecode wrote: >> LC 8.1.4, MacOS 10.12.5 >> Print Paper Rectangle returns 8,8,834,587 for A4 Landscape. >> This does not seem to match the description in the dictionary? >> "The printPaperRectangle property contains four comma-separated integers and is in points. >> The default value reflects the default values of the printPaperSize and printPaperOrientation. >> The four numbers represent the left, top, right and bottom of the rectangle being printed to. >> The rectangle is relative to the top-left of the page, and the left and top will currently always be 0.? >> Can anyone shed some light on this please. >> Thanks >> Terry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Paul paul at livecode.org Mac OS Sierra 10.12.1 From richmondmathewson at gmail.com Tue Jul 4 12:25:58 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 19:25:58 +0300 Subject: I need a "slider" in a circle In-Reply-To: References: Message-ID: <1ad01b5c-bb9a-c0ab-7640-ece5230c1dd6@gmail.com> Hmm . . . I've made myself a jaggy circle by setting the points of an irregular polygon to a sequence generated with a merry sine/cosine function . . . Now it's "dead easy (whatever that's supposed to mean) to animate a "knob" round a "dial" as in: move grc "KNOB" to the points of grc "DIAL" BUT what would be a lot more fun would be a "knob" that could be moved by the end-user with a mouse (or a finger on a tablet) by a sort of grab command, but in such a way that its movement was constrained to the points of the pathway graphic. Thoughts . . . Richmond. On 7/4/17 5:20 pm, Todd Fabacher via use-livecode wrote: > Hello Livecode group, > > I have a situation where we need a slider, not a straight line, but as a > circle. I thing Scott Rossi did a demo of this at San Diego LC conference, > but I can't find the code samples to check. I just need to restrict the > movement to a circle when the user moves their finger. Maybe there is some > kind of dial example somewhere??? > > All I am looking to do is move the slider in the semi-circle to move the > value forward or backwards. > > Thanks, > > Todd > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Tue Jul 4 12:27:21 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 4 Jul 2017 09:27:21 -0700 Subject: I need a "slider" in a circle In-Reply-To: <1309E3ED-458A-49DA-A626-2739DBE05B32@accmed.org> References: <1309E3ED-458A-49DA-A626-2739DBE05B32@accmed.org> Message-ID: <1868247A-1AAB-4676-A396-769D7EC405DB@gmail.com> Here is a version that would work for a complete circle: global cw,ch,cx,cy,offx,offy on mousedown put the width of graphic "circle" / 2 into cw put the height of graphic "circle" / 2 into ch put the left of graphic "circle" + cw into cx put the top of graphic "circle" + ch into cy put the width of me / 2 into offx put the height of me / 2 into offy moveme end mousedown on moveme local dx,dy,ang put the mouseh - cx into dx put the mousev - cy into dy put atan2(dy,dx) into ang set the left of me to cos(ang) * cw - offx + cx set the top of me to sin(ang) * ch - offy + cy if the mouse is down then send moveme to me in 3 ticks end moveme From richmondmathewson at gmail.com Tue Jul 4 12:27:50 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 19:27:50 +0300 Subject: I need a "slider" in a circle In-Reply-To: <1ad01b5c-bb9a-c0ab-7640-ece5230c1dd6@gmail.com> References: <1ad01b5c-bb9a-c0ab-7640-ece5230c1dd6@gmail.com> Message-ID: <8918db8a-802f-debc-e106-c461db49b7f2@gmail.com> And, NO: this does NOT help at all: http://forums.livecode.com/viewtopic.php?f=7&t=27672 Richmond. On 7/4/17 7:25 pm, Richmond Mathewson wrote: > Hmm . . . > > I've made myself a jaggy circle by setting the points of an irregular > polygon to a > sequence generated with a merry sine/cosine function . . . > > Now it's "dead easy (whatever that's supposed to mean) to animate a > "knob" round a "dial" as in: > > move grc "KNOB" to the points of grc "DIAL" > > BUT what would be a lot more fun would be a "knob" that could be moved > by the end-user with a mouse (or a finger on a tablet) > by a sort of grab command, but in such a way that its movement was > constrained to the points of the pathway graphic. > > Thoughts . . . > > Richmond. > > On 7/4/17 5:20 pm, Todd Fabacher via use-livecode wrote: >> Hello Livecode group, >> >> I have a situation where we need a slider, not a straight line, but as a >> circle. I thing Scott Rossi did a demo of this at San Diego LC conference, >> but I can't find the code samples to check. I just need to restrict the >> movement to a circle when the user moves their finger. Maybe there is some >> kind of dial example somewhere??? >> >> All I am looking to do is move the slider in the semi-circle to move the >> value forward or backwards. >> >> Thanks, >> >> Todd >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From colinholgate at gmail.com Tue Jul 4 12:29:58 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 4 Jul 2017 09:29:58 -0700 Subject: I need a "slider" in a circle In-Reply-To: <1ad01b5c-bb9a-c0ab-7640-ece5230c1dd6@gmail.com> References: <1ad01b5c-bb9a-c0ab-7640-ece5230c1dd6@gmail.com> Message-ID: <3DCFB9A6-C731-4652-931F-91442520B32D@gmail.com> In the version I did you can also squash the oval in either direction, and the button still hugs the edge. From ahsoftware at sonic.net Tue Jul 4 12:44:28 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 4 Jul 2017 09:44:28 -0700 Subject: Sharp as a pound (was Array assignment...) In-Reply-To: <9eea5984b32a41e6d55f6ec586b51237@livecode.com> References: <16688094-1BA3-4163-A027-DDB314E81C6E@thehales.id.au> <9eea5984b32a41e6d55f6ec586b51237@livecode.com> Message-ID: <7a6f1101-1675-83b3-079c-3694086c7f65@sonic.net> On 07/04/2017 12:28 AM, Mark Waddingham via use-livecode wrote: > 'Sharp' because it is used in music to denote sharpening of the base > note (despite my musical background, I still see it as 'hash' in my mind > when I see it though). '#' is, was, and should be and octothorpe. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Tue Jul 4 13:01:39 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 20:01:39 +0300 Subject: Sharp as a pound (was Array assignment...) In-Reply-To: <7a6f1101-1675-83b3-079c-3694086c7f65@sonic.net> References: <16688094-1BA3-4163-A027-DDB314E81C6E@thehales.id.au> <9eea5984b32a41e6d55f6ec586b51237@livecode.com> <7a6f1101-1675-83b3-079c-3694086c7f65@sonic.net> Message-ID: <7ad5c097-87d2-ae4b-2668-ebeebf161cd5@gmail.com> Well . . . as the name "octothorpe" was coined by American telephone engineers as recently as 1968 that seems extremely dubious . . . and quite where either the "octo" (=8) or the "thorpe" (='viilage', c.f Doorp, Dorf) get there is a really odd question. (part of this maybe because everything has been, ultimately, invented in Scotland) It certainly should NOT be called a 'pound' sign, as that is either a '?' (as derived from Librum) or 'lb' (as in either avoir dupois weight or try weight. It should ONLY be called a 'sharp' sign in the context of musical notation (so the programming language 'C#' . . .). 'Number sign' doesn't sit nicely either as that brings it up against '?'. Why don't we all AGREE to call it the 'headache' sign? a.k.a. "cross-patch" Richmond. On 7/4/17 7:44 pm, Mark Wieder via use-livecode wrote: > On 07/04/2017 12:28 AM, Mark Waddingham via use-livecode wrote: >> 'Sharp' because it is used in music to denote sharpening of the base >> note (despite my musical background, I still see it as 'hash' in my >> mind when I see it though). > > '#' is, was, and should be and octothorpe. > From ahsoftware at sonic.net Tue Jul 4 13:02:39 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 4 Jul 2017 10:02:39 -0700 Subject: I need a "slider" in a circle In-Reply-To: References: Message-ID: <86f5821e-9bba-f713-f928-90c483401a26@sonic.net> On 07/04/2017 07:20 AM, Todd Fabacher via use-livecode wrote: > Hello Livecode group, > > I have a situation where we need a slider, not a straight line, but as a > circle. I thing Scott Rossi did a demo of this at San Diego LC conference, > but I can't find the code samples to check. I just need to restrict the > movement to a circle when the user moves their finger. Maybe there is some > kind of dial example somewhere??? > > All I am looking to do is move the slider in the semi-circle to move the > value forward or backwards. Maybe start with Bernd's gauge control? It's rather nicely done. http://forums.livecode.com/viewtopic.php?f=93&t=29348 -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Tue Jul 4 13:03:01 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 20:03:01 +0300 Subject: Sharp as a pound (was Array assignment...) In-Reply-To: <7ad5c097-87d2-ae4b-2668-ebeebf161cd5@gmail.com> References: <16688094-1BA3-4163-A027-DDB314E81C6E@thehales.id.au> <9eea5984b32a41e6d55f6ec586b51237@livecode.com> <7a6f1101-1675-83b3-079c-3694086c7f65@sonic.net> <7ad5c097-87d2-ae4b-2668-ebeebf161cd5@gmail.com> Message-ID: <0a68c92e-350d-138a-86c7-1881408d1349@gmail.com> Sorry: "troy" weight is spelt "troy" (rather in the way "spelt" is spelt "spelt"). R. On 7/4/17 8:01 pm, Richmond Mathewson wrote: > Well . . . as the name "octothorpe" was coined by American telephone > engineers as recently as 1968 > that seems extremely dubious . . . and quite where either the "octo" > (=8) or the "thorpe" (='viilage', c.f Doorp, Dorf) get > there is a really odd question. > > (part of this maybe because everything has been, ultimately, invented > in Scotland) > > It certainly should NOT be called a 'pound' sign, as that is either a > '?' (as derived from Librum) or 'lb' (as in either avoir dupois weight > or try weight. > > It should ONLY be called a 'sharp' sign in the context of musical > notation (so the programming language 'C#' . . .). > > 'Number sign' doesn't sit nicely either as that brings it up against '?'. > > Why don't we all AGREE to call it the 'headache' sign? > > a.k.a. "cross-patch" > > Richmond. > > On 7/4/17 7:44 pm, Mark Wieder via use-livecode wrote: >> On 07/04/2017 12:28 AM, Mark Waddingham via use-livecode wrote: >>> 'Sharp' because it is used in music to denote sharpening of the base >>> note (despite my musical background, I still see it as 'hash' in my >>> mind when I see it though). >> >> '#' is, was, and should be and octothorpe. >> > From ahsoftware at sonic.net Tue Jul 4 13:14:29 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 4 Jul 2017 10:14:29 -0700 Subject: synonyms In-Reply-To: <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> References: <7d93073a-6638-1e54-7323-e753649cc159@researchware.com> <545462d3-2e12-2b2c-c4ae-7fa14a0e9c6e@fourthworld.com> <05156f14-91fc-6868-8c60-9232dd47c237@sonic.net> <86c0b4a9-de0b-4ea5-2d9c-3dca12a43535@tweedly.net> <9fe5dd5d-f421-ff1e-4bfb-0168d05cb174@sonic.net> <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> Message-ID: <51e7b15a-3ca1-f16e-dce5-050ac83b5b60@sonic.net> On 07/04/2017 01:18 AM, Mark Waddingham via use-livecode wrote: > Just to point this out but 'just' changing the script parser does > absolutely nothing at all beyond meaning that a piece of text of the > form now accepted by said modified parser does not throw a syntax error. > Said change would actually *do* absolutely nothing. Quite right. After I posted that bit I realized that after 'fixing' the parser one would also need to deal with the complexities of assigning the variables, and the issues arising from allowing 'local' declarations when local variables may or may not already be assigned, etc. -- Mark Wieder ahsoftware at gmail.com From colinholgate at gmail.com Tue Jul 4 13:18:26 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 4 Jul 2017 10:18:26 -0700 Subject: Polly's gone, or at least she's hiding in 8.1.4 In-Reply-To: <4444a6dc-0cba-2df0-69f7-938fdcae6a4d@gmail.com> References: <0a3fdbb6-119b-6ef8-9336-817e003cb075@gmail.com> <4444a6dc-0cba-2df0-69f7-938fdcae6a4d@gmail.com> Message-ID: It is odd that the menu item is there. It fails because that kind of control isn?t added by dragging from the tool palette, you have to create it with many mouse clicks. If it did make a control, what would it look like? If you think you?ve added polygon graphics in the past, could it be that you had chosen Regular Polygon Graphic? > On Jul 4, 2017, at 9:11 AM, Richmond Mathewson via use-livecode wrote: > > Ah: this does create a graphic object which is invisible, and the only way to make it visible is to > set it to some other type of graphic (reactangle, regular polygon). > > This won't do. > > Richmond. > > On 7/4/17 7:07 pm, Richmond Mathewson wrote: >> Mac OS 10.7.8 >> >> Object/New Control/Polygon Graphic produces nothing. >> >> Not funny. >> >> 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 ahsoftware at sonic.net Tue Jul 4 13:20:29 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 4 Jul 2017 10:20:29 -0700 Subject: synonyms In-Reply-To: References: <7d93073a-6638-1e54-7323-e753649cc159@researchware.com> <545462d3-2e12-2b2c-c4ae-7fa14a0e9c6e@fourthworld.com> <05156f14-91fc-6868-8c60-9232dd47c237@sonic.net> <86c0b4a9-de0b-4ea5-2d9c-3dca12a43535@tweedly.net> <9fe5dd5d-f421-ff1e-4bfb-0168d05cb174@sonic.net> <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> Message-ID: <694ceaed-312e-00f8-8b6d-778bcf1be0f0@sonic.net> On 07/04/2017 08:39 AM, Ben Rubinstein via use-livecode wrote: > This is also at: > http://quality.livecode.com/show_bug.cgi?id=8945 Heh. I just went to add my vote to this and found that I had already done so some seven years ago. -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Tue Jul 4 13:37:17 2017 From: mark at livecode.com (Mark Waddingham) Date: Tue, 04 Jul 2017 19:37:17 +0200 Subject: synonyms In-Reply-To: <51e7b15a-3ca1-f16e-dce5-050ac83b5b60@sonic.net> References: <7d93073a-6638-1e54-7323-e753649cc159@researchware.com> <545462d3-2e12-2b2c-c4ae-7fa14a0e9c6e@fourthworld.com> <05156f14-91fc-6868-8c60-9232dd47c237@sonic.net> <86c0b4a9-de0b-4ea5-2d9c-3dca12a43535@tweedly.net> <9fe5dd5d-f421-ff1e-4bfb-0168d05cb174@sonic.net> <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> <51e7b15a-3ca1-f16e-dce5-050ac83b5b60@sonic.net> Message-ID: <7910720907aca020d642c688d72f2844@livecode.com> On 2017-07-04 19:14, Mark Wieder via use-livecode wrote: > On 07/04/2017 01:18 AM, Mark Waddingham via use-livecode wrote: > Quite right. After I posted that bit I realized that after 'fixing' > the parser one would also need to deal with the complexities of > assigning the variables, and the issues arising from allowing 'local' > declarations when local variables may or may not already be assigned, > etc. Not to mention the actual passing of them around (i.e. the internal representation, and not just the syntactic representation); how they interact as things pass through the message path; how they might bind when called from languages such as JavaScript (from the browser - e.g. the recently added ability to the HTML5 engine); or, indeed, from other languages as LiveCode evolves to interoperate more heavily; how they might be 'compiled' in the future to native code... The list of considerations for addition of any general language feature often ends up being as long as your proverbial arm. Of course, once when has figured out all the potential issues and complexities which arise from such an addition, you then actually have to implement it. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ahsoftware at sonic.net Tue Jul 4 13:38:15 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 4 Jul 2017 10:38:15 -0700 Subject: synonyms In-Reply-To: <60826e76befd1c306cdbcb1fb3ba5e53@livecode.com> References: <67731129-A6F0-4247-8F2D-69580E2A7CC6@hyperhh.de> <5f09629060d0d372738cc3fe4c0c6802@livecode.com> <1d1e35b4-2f21-f651-94a4-efb38ffef90d@sonic.net> <7F8EC725-9F2F-4A36-A1F8-8372351B6FF6@livecode.com> <4dc6808a-8f51-1a3b-308c-0d6d5ffd664d@gmail.com> <60826e76befd1c306cdbcb1fb3ba5e53@livecode.com> Message-ID: <9065ccb8-e3cb-b4e4-9595-0d47c621080b@sonic.net> On 07/04/2017 01:02 AM, Mark Waddingham via use-livecode wrote: >>>> For a problem placed before any three coders, you will find at least >>>> four different solutions. Limiting the language limits the ways in >>>> which a problem may be thought of - that's the basis of the >>>> linguistic relativism, and it applies to programming languages as >>>> well as to natural languages. >> >> Of course. > > Although I think Mark's original statement is conflating two things - > there is the *abstract* method of solution, and the *concrete* rendering > of the solution. Well, yes and no. I'm arguing for allowing the concrete solution in support of the abstract solution (see below). > > In most cases you might get 'four different solutions' - however it is > more than likely that at least half of them will be the same if you > strip away all the concrete baggage (i.e. syntax, variable names, choice > of array of string-list etc.). Simply because abstractly there tends to > be far fewer ways to solve any one given problem (in computing at least) > than there is concretely, as computers think about things in a specific > way (which often is nothing like how humans do on an average day-to-day > basis). Aside from the folding of several similar solutions into a single one as far as the computer goes (and I have no dissension there, nor any real need for any synonyms at that much of a context-free level), I think that allowing for more synonyms in the language allows at a human level (abstracted from the ones and zeros of the computer) for a more creative approach to viewing possible solutions to any given problem. So that a faster or more elegant or more functional or... solution may arise that may not have come about without the natural-language associations of the synonym(s). For instance, "is" may evoke associations that "=" does not, and vice versa. For me "<>" evokes BASIC and I tend to think more linearly, where "is not" has different connotations, as does "!=", even if they all condense to the same machine code. For the same reason, I use "switch" constructs more than nested or sequential "if"s when possible, partly because they're easier for me to read afterwards and therefore easier to maintain, but also because they impact my thought processes differently, even though they become the same machine code as far as the silicon is concerned. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Tue Jul 4 13:49:08 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 4 Jul 2017 10:49:08 -0700 Subject: synonyms In-Reply-To: <7910720907aca020d642c688d72f2844@livecode.com> References: <7d93073a-6638-1e54-7323-e753649cc159@researchware.com> <545462d3-2e12-2b2c-c4ae-7fa14a0e9c6e@fourthworld.com> <05156f14-91fc-6868-8c60-9232dd47c237@sonic.net> <86c0b4a9-de0b-4ea5-2d9c-3dca12a43535@tweedly.net> <9fe5dd5d-f421-ff1e-4bfb-0168d05cb174@sonic.net> <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> <51e7b15a-3ca1-f16e-dce5-050ac83b5b60@sonic.net> <7910720907aca020d642c688d72f2844@livecode.com> Message-ID: <0d0b7b48-ce2b-0236-eb95-4d544cb11dc0@sonic.net> On 07/04/2017 10:37 AM, Mark Waddingham via use-livecode wrote: > Of course, once when has figured out all the potential issues and > complexities which arise from such an addition, you then actually have > to implement it. Ooo... I *do* hope that's a generic "you" and not a finger pointed my way... -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Tue Jul 4 13:56:04 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 4 Jul 2017 17:56:04 +0000 Subject: Mobile Check Bandwidth Function In-Reply-To: <12244993-55c4-1051-ed32-e9c0d230e066@fourthworld.com> References: <12244993-55c4-1051-ed32-e9c0d230e066@fourthworld.com> Message-ID: <437DDD15-A01C-4BE0-BB58-659C68D974F4@hindu.org> OK I'm back.. sheesh? Spectrum purchase Time Warner Cable for some Ka bilion dollars and they run our show here now? but it took them four days to figure out that a splice in a wire between our main modem for the enterprise and the router on the street that was probably filling up with water everytime it rains here (which is frequent this week.) But it was a good time to be "up and down" on the internet as I had no choice but to focus on my connectivity scripts. So this does go so far as giving us a bandwidth value, but I think I have a solution for the "reachability" thing.. Using LTE on my iPhone read all this business in Apple's Docs on "reachability" but even apple is using a ping to www.appleiphonecell.com which returns the word "success". But our problem is on pingServer put url https://www.himalayanacademy.com/ping.txt" into sOneLineStatus # the file contains one word "true" end pingServer Is blocking? on the desktop took sometimes 3 minutes (Yeah.. no kidding) for Livecode to step through that line and return "empty") on mobile the app will just hang? but the I had this "ahha!" moment where I thought "Duh, Scott Raney solved this 20 years ago" (really been that long?) one never knows how much one has forgotten? years ago I did preload media and I thought "Wait! What about LOAD? URL Status?. these are none blocking" So with the connection up and down I went about cooking up what I think is a low-level solution. disclaimer: I don't know what I'm doing and there is always a better way. This is a text only library that is put into use on start up? after start up we send off connectivity_PingServer in 500 milliseconds after the UI is finished loading Local sPingURL,sServerAttempts # sURLStatusLog on connectivity_PingServer # may have been cached before' but connectivity died so we need to do this first: # just in case?. unload URL "https://www.himalayanacademy.com/ping.txt" put 0 into sServerAttempts # Logging: put empty into sURLStatusLog put "https://www.himalayanacademy.com/ping.txt" into sPingURL load url sPingURL dispatch "connectivity_UpdateStatus" to me end connectivity_PingServer on connectivity_UpdateStatus if URLStatus(sPingURL) = "cached" then put "true" into sOnLinestatus put 0 into sServerAttempts # that's it nothing more to do? else put URLStatus(sPingURL) into tURLStatus if (sServerAttempts > 10) and URLStatus(sPingURL)<> "cached" then put tURLStatus into sOnLinestatus dialog_CustomMsg true,"Offline or Low Bandwidth", 1500 # keep checking but don't hog the CPU... put 0 into sServerAttempts # start over again send connectivity_PingServer to me in 10 seconds else # Logging -- put URLStatus(sPingURL) & cr after sURLStatusLog -- put sURLStatusLog add 1 to sServerAttempts dialog_CustomMsg true,"Connecting", 800 send connectivity_UpdateStatus to me in 800 milliseconds end if end if end connectivity_UpdateStatus # Use this in the module so we don't ping the server constantly. function connectivity_GetStatus return sOnLineStatus end connectivity_GetStatus This is working on desktop and mobile Any refinements you wizards can offer will be appreciated. I'm off to dig up an old library that Scott Raney had that I believe monitors download progress. and I bet playing around with this you could get a bandwidth value in a very "primitive" way by just downloading a small file and measure the time? BR > On 07/03/2017 09:35 AM, Richard Gaskin via use-livecode wrote: > >> "reachability"? Whiskey Tango Foxtrot? I'd love to hear the >> backstory on that name choice. It has the scent of things like >> "srcBic", adopted from the arbitrary choices of neckbeards who >> define OS APIs. Maybe there's an API for iOS called >> NSReachabilityChanged. > > Well, you've got Apple to blame for that one. From richmondmathewson at gmail.com Tue Jul 4 13:57:09 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 20:57:09 +0300 Subject: Polly's gone, or at least she's hiding in 8.1.4 In-Reply-To: References: <0a3fdbb6-119b-6ef8-9336-817e003cb075@gmail.com> <4444a6dc-0cba-2df0-69f7-938fdcae6a4d@gmail.com> Message-ID: <14c749ec-6577-edb8-70f5-9db0e7008d6f@gmail.com> On 7/4/17 8:18 pm, Colin Holgate via use-livecode wrote: > It is odd that the menu item is there. It fails because that kind of control isn?t added by dragging from the tool palette, you have to create it with many mouse clicks. If it did make a control, what would it look like? > > If you think you?ve added polygon graphics in the past, could it be that you had chosen Regular Polygon Graphic? No: because I just revisited 7.1.4 and added a (n irregular) polygon graphic: go and try it yourself. Richmond. > > >> On Jul 4, 2017, at 9:11 AM, Richmond Mathewson via use-livecode wrote: >> >> Ah: this does create a graphic object which is invisible, and the only way to make it visible is to >> set it to some other type of graphic (reactangle, regular polygon). >> >> This won't do. >> >> Richmond. >> >> On 7/4/17 7:07 pm, Richmond Mathewson wrote: >>> Mac OS 10.7.8 >>> >>> Object/New Control/Polygon Graphic produces nothing. >>> >>> Not funny. >>> >>> 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 richmondmathewson at gmail.com Tue Jul 4 13:59:32 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 20:59:32 +0300 Subject: synonyms In-Reply-To: <0d0b7b48-ce2b-0236-eb95-4d544cb11dc0@sonic.net> References: <7d93073a-6638-1e54-7323-e753649cc159@researchware.com> <545462d3-2e12-2b2c-c4ae-7fa14a0e9c6e@fourthworld.com> <05156f14-91fc-6868-8c60-9232dd47c237@sonic.net> <86c0b4a9-de0b-4ea5-2d9c-3dca12a43535@tweedly.net> <9fe5dd5d-f421-ff1e-4bfb-0168d05cb174@sonic.net> <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> <51e7b15a-3ca1-f16e-dce5-050ac83b5b60@sonic.net> <7910720907aca020d642c688d72f2844@livecode.com> <0d0b7b48-ce2b-0236-eb95-4d544cb11dc0@sonic.net> Message-ID: 'Twas a pity when most dialects of English gave up the "Thou, thee, thy, thine" set of second person pronouns. wait 1 ticks Richmond. On 7/4/17 8:49 pm, Mark Wieder via use-livecode wrote: > On 07/04/2017 10:37 AM, Mark Waddingham via use-livecode wrote: > >> Of course, once when has figured out all the potential issues and >> complexities which arise from such an addition, you then actually >> have to implement it. > > Ooo... I *do* hope that's a generic "you" and not a finger pointed my > way... > From colinholgate at gmail.com Tue Jul 4 14:31:20 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 4 Jul 2017 11:31:20 -0700 Subject: Polly's gone, or at least she's hiding in 8.1.4 In-Reply-To: <14c749ec-6577-edb8-70f5-9db0e7008d6f@gmail.com> References: <0a3fdbb6-119b-6ef8-9336-817e003cb075@gmail.com> <4444a6dc-0cba-2df0-69f7-938fdcae6a4d@gmail.com> <14c749ec-6577-edb8-70f5-9db0e7008d6f@gmail.com> Message-ID: Yes, I see. It seems that LiveCode 8 and 9 create a polygon with Points of -32768,-32768. A not very interest, far off dot. > On Jul 4, 2017, at 10:57 AM, Richmond Mathewson via use-livecode wrote: > > > > On 7/4/17 8:18 pm, Colin Holgate via use-livecode wrote: >> It is odd that the menu item is there. It fails because that kind of control isn?t added by dragging from the tool palette, you have to create it with many mouse clicks. If it did make a control, what would it look like? >> >> If you think you?ve added polygon graphics in the past, could it be that you had chosen Regular Polygon Graphic? > No: because I just revisited 7.1.4 and added a (n irregular) polygon graphic: > > go and try it yourself. > > Richmond. > >> >> >>> On Jul 4, 2017, at 9:11 AM, Richmond Mathewson via use-livecode wrote: >>> >>> Ah: this does create a graphic object which is invisible, and the only way to make it visible is to >>> set it to some other type of graphic (reactangle, regular polygon). >>> >>> This won't do. >>> >>> Richmond. >>> >>> On 7/4/17 7:07 pm, Richmond Mathewson wrote: >>>> Mac OS 10.7.8 >>>> >>>> Object/New Control/Polygon Graphic produces nothing. >>>> >>>> Not funny. >>>> >>>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Tue Jul 4 14:34:09 2017 From: mark at livecode.com (Mark Waddingham) Date: Tue, 4 Jul 2017 19:34:09 +0100 Subject: synonyms In-Reply-To: <0d0b7b48-ce2b-0236-eb95-4d544cb11dc0@sonic.net> References: <7d93073a-6638-1e54-7323-e753649cc159@researchware.com> <545462d3-2e12-2b2c-c4ae-7fa14a0e9c6e@fourthworld.com> <05156f14-91fc-6868-8c60-9232dd47c237@sonic.net> <86c0b4a9-de0b-4ea5-2d9c-3dca12a43535@tweedly.net> <9fe5dd5d-f421-ff1e-4bfb-0168d05cb174@sonic.net> <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> <51e7b15a-3ca1-f16e-dce5-050ac83b5b60@sonic.net> <7910720907aca020d642c688d72f2844@livecode.com> <0d0b7b48-ce2b-0236-eb95-4d544cb11dc0@sonic.net> Message-ID: <072DD2CB-5FDF-4C6D-B776-52171AFA113F@livecode.com> It was a generic 'you' and not you 'you' :) I think part of my brain decided on 'one' there but my fingers objected ('when' should have been 'one'). Indeed in this instance 'one' in both places probably would have been better, however I always feel like that sounds slightly pompous... Sent from my iPhone > On 4 Jul 2017, at 18:49, Mark Wieder via use-livecode wrote: > >> On 07/04/2017 10:37 AM, Mark Waddingham via use-livecode wrote: >> >> Of course, once when has figured out all the potential issues and complexities which arise from such an addition, you then actually have to implement it. > > Ooo... I *do* hope that's a generic "you" and not a finger pointed my way... > > -- > 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 benr_mc at cogapp.com Tue Jul 4 14:49:27 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 4 Jul 2017 19:49:27 +0100 Subject: synonyms In-Reply-To: <694ceaed-312e-00f8-8b6d-778bcf1be0f0@sonic.net> References: <7d93073a-6638-1e54-7323-e753649cc159@researchware.com> <545462d3-2e12-2b2c-c4ae-7fa14a0e9c6e@fourthworld.com> <05156f14-91fc-6868-8c60-9232dd47c237@sonic.net> <86c0b4a9-de0b-4ea5-2d9c-3dca12a43535@tweedly.net> <9fe5dd5d-f421-ff1e-4bfb-0168d05cb174@sonic.net> <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> <694ceaed-312e-00f8-8b6d-778bcf1be0f0@sonic.net> Message-ID: <8943f935-4a35-3548-72f4-c34bb55be1b5@cogapp.com> Anniversary vote! Renew your vows! On 04/07/2017 18:20, Mark Wieder via use-livecode wrote: > On 07/04/2017 08:39 AM, Ben Rubinstein via use-livecode wrote: > >> This is also at: >> http://quality.livecode.com/show_bug.cgi?id=8945 > > Heh. I just went to add my vote to this and found that I had already done so > some seven years ago. > From ahsoftware at sonic.net Tue Jul 4 15:43:55 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 4 Jul 2017 12:43:55 -0700 Subject: synonyms In-Reply-To: <072DD2CB-5FDF-4C6D-B776-52171AFA113F@livecode.com> References: <7d93073a-6638-1e54-7323-e753649cc159@researchware.com> <545462d3-2e12-2b2c-c4ae-7fa14a0e9c6e@fourthworld.com> <05156f14-91fc-6868-8c60-9232dd47c237@sonic.net> <86c0b4a9-de0b-4ea5-2d9c-3dca12a43535@tweedly.net> <9fe5dd5d-f421-ff1e-4bfb-0168d05cb174@sonic.net> <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> <51e7b15a-3ca1-f16e-dce5-050ac83b5b60@sonic.net> <7910720907aca020d642c688d72f2844@livecode.com> <0d0b7b48-ce2b-0236-eb95-4d544cb11dc0@sonic.net> <072DD2CB-5FDF-4C6D-B776-52171AFA113F@livecode.com> Message-ID: <041b022b-9b52-1f13-33fb-d7a15f9fddf1@sonic.net> On 07/04/2017 11:34 AM, Mark Waddingham via use-livecode wrote: > It was a generic 'you' and not you 'you' :) > > I think part of my brain decided on 'one' there but my fingers objected ('when' should have been 'one'). > > Indeed in this instance 'one' in both places probably would have been better, however I always feel like that sounds slightly pompous... LOL Yes, "one" would maybe have been more syntactically correct but made you feel pompous. "You" in both places emphasizes the lexical ambiguity. So even though the sentence would be diagrammed the same way (the bytecode implementation would be identical) they feel completely different. So... aren't you glad we have synonyms? And placing the sentence in passive voice would eliminate the above problems by allowing a different creative process to take place. Thus my argument for synonyms: not that it makes much (if any) difference at the engine level, but it allows for some right-brain interaction in what would otherwise be a completely left-brain activity. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Tue Jul 4 15:48:46 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 22:48:46 +0300 Subject: Polly's gone, or at least she's hiding in 8.1.4 In-Reply-To: References: <0a3fdbb6-119b-6ef8-9336-817e003cb075@gmail.com> <4444a6dc-0cba-2df0-69f7-938fdcae6a4d@gmail.com> <14c749ec-6577-edb8-70f5-9db0e7008d6f@gmail.com> Message-ID: <6b0e5c60-864a-32ed-a1f6-0e8de8c3e070@gmail.com> There's a fairly rude phrase one could use about that sort of polygon. But it would be a far, far better thing if that were sorted out to the state it was in 7.1.4. Richmond. On 7/4/17 9:31 pm, Colin Holgate via use-livecode wrote: > Yes, I see. It seems that LiveCode 8 and 9 create a polygon with Points of -32768,-32768. A not very interest, far off dot. > >> On Jul 4, 2017, at 10:57 AM, Richmond Mathewson via use-livecode wrote: >> >> >> >> On 7/4/17 8:18 pm, Colin Holgate via use-livecode wrote: >>> It is odd that the menu item is there. It fails because that kind of control isn?t added by dragging from the tool palette, you have to create it with many mouse clicks. If it did make a control, what would it look like? >>> >>> If you think you?ve added polygon graphics in the past, could it be that you had chosen Regular Polygon Graphic? >> No: because I just revisited 7.1.4 and added a (n irregular) polygon graphic: >> >> go and try it yourself. >> >> Richmond. >> >>> >>>> On Jul 4, 2017, at 9:11 AM, Richmond Mathewson via use-livecode wrote: >>>> >>>> Ah: this does create a graphic object which is invisible, and the only way to make it visible is to >>>> set it to some other type of graphic (reactangle, regular polygon). >>>> >>>> This won't do. >>>> >>>> Richmond. >>>> >>>> On 7/4/17 7:07 pm, Richmond Mathewson wrote: >>>>> Mac OS 10.7.8 >>>>> >>>>> Object/New Control/Polygon Graphic produces nothing. >>>>> >>>>> Not funny. >>>>> >>>>> 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 4 15:55:01 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 22:55:01 +0300 Subject: synonyms In-Reply-To: <041b022b-9b52-1f13-33fb-d7a15f9fddf1@sonic.net> References: <7d93073a-6638-1e54-7323-e753649cc159@researchware.com> <545462d3-2e12-2b2c-c4ae-7fa14a0e9c6e@fourthworld.com> <05156f14-91fc-6868-8c60-9232dd47c237@sonic.net> <86c0b4a9-de0b-4ea5-2d9c-3dca12a43535@tweedly.net> <9fe5dd5d-f421-ff1e-4bfb-0168d05cb174@sonic.net> <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> <51e7b15a-3ca1-f16e-dce5-050ac83b5b60@sonic.net> <7910720907aca020d642c688d72f2844@livecode.com> <0d0b7b48-ce2b-0236-eb95-4d544cb11dc0@sonic.net> <072DD2CB-5FDF-4C6D-B776-52171AFA113F@livecode.com> <041b022b-9b52-1f13-33fb-d7a15f9fddf1@sonic.net> Message-ID: <03ed4d4b-3854-8305-183e-9dac5a247f82@gmail.com> Thou hast no need at all to be pompous, just a wee bit old-fashioned. Thou art more than welcome me to the extremely select club of language nutters (current membership: 1 and a few stray Mennonites) who want to bring Thou, thee, they and thine back into mainstream English usages. Membership is free, and thou art not required to wear a daft uniform, change thy dietary habits, take any odd vows, or reassess thy personal hygiene regime . . . However, if thou usest the middle-finger in any way whatsoever thou wilt be expelled forthwith, fifthwith and sixthwith! None of our membership have become obsessive enough to remove their middle-finger, Yet! Richmond. On 7/4/17 10:43 pm, Mark Wieder via use-livecode wrote: > On 07/04/2017 11:34 AM, Mark Waddingham via use-livecode wrote: >> It was a generic 'you' and not you 'you' :) >> >> I think part of my brain decided on 'one' there but my fingers >> objected ('when' should have been 'one'). >> >> Indeed in this instance 'one' in both places probably would have been >> better, however I always feel like that sounds slightly pompous... > > LOL > > Yes, "one" would maybe have been more syntactically correct but made > you feel pompous. "You" in both places emphasizes the lexical > ambiguity. So even though the sentence would be diagrammed the same > way (the bytecode implementation would be identical) they feel > completely different. > > So... aren't you glad we have synonyms? > > And placing the sentence in passive voice would eliminate the above > problems by allowing a different creative process to take place. Thus > my argument for synonyms: not that it makes much (if any) difference > at the engine level, but it allows for some right-brain interaction in > what would otherwise be a completely left-brain activity. > From richmondmathewson at gmail.com Tue Jul 4 16:07:00 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 4 Jul 2017 23:07:00 +0300 Subject: Polly's gone, or at least she's hiding in 8.1.4 In-Reply-To: <6b0e5c60-864a-32ed-a1f6-0e8de8c3e070@gmail.com> References: <0a3fdbb6-119b-6ef8-9336-817e003cb075@gmail.com> <4444a6dc-0cba-2df0-69f7-938fdcae6a4d@gmail.com> <14c749ec-6577-edb8-70f5-9db0e7008d6f@gmail.com> <6b0e5c60-864a-32ed-a1f6-0e8de8c3e070@gmail.com> Message-ID: BUG report 19998 On 7/4/17 10:48 pm, Richmond Mathewson wrote: > There's a fairly rude phrase one could use about that sort of polygon. > > But it would be a far, far better thing if that were sorted out to the > state it was in 7.1.4. > > Richmond. > > On 7/4/17 9:31 pm, Colin Holgate via use-livecode wrote: >> Yes, I see. It seems that LiveCode 8 and 9 create a polygon with Points of -32768,-32768. A not very interest, far off dot. >> >>> On Jul 4, 2017, at 10:57 AM, Richmond Mathewson via use-livecode wrote: >>> >>> >>> >>> On 7/4/17 8:18 pm, Colin Holgate via use-livecode wrote: >>>> It is odd that the menu item is there. It fails because that kind of control isn?t added by dragging from the tool palette, you have to create it with many mouse clicks. If it did make a control, what would it look like? >>>> >>>> If you think you?ve added polygon graphics in the past, could it be that you had chosen Regular Polygon Graphic? >>> No: because I just revisited 7.1.4 and added a (n irregular) polygon graphic: >>> >>> go and try it yourself. >>> >>> Richmond. >>> >>>>> On Jul 4, 2017, at 9:11 AM, Richmond Mathewson via use-livecode wrote: >>>>> >>>>> Ah: this does create a graphic object which is invisible, and the only way to make it visible is to >>>>> set it to some other type of graphic (reactangle, regular polygon). >>>>> >>>>> This won't do. >>>>> >>>>> Richmond. >>>>> >>>>> On 7/4/17 7:07 pm, Richmond Mathewson wrote: >>>>>> Mac OS 10.7.8 >>>>>> >>>>>> Object/New Control/Polygon Graphic produces nothing. >>>>>> >>>>>> Not funny. >>>>>> >>>>>> 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 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From blueback09 at gmail.com Tue Jul 4 16:29:15 2017 From: blueback09 at gmail.com (Matt Maier) Date: Tue, 4 Jul 2017 13:29:15 -0700 Subject: clipboarddata mixed up Message-ID: I'm not sure how to figure out the difference in what's happening here. 1) use window's clipping tool to take a screenshot and hit ctrl+c to copy the picture to the clipboard 2) right click on a picture in chrome and select copy to copy the picture to the clipboard In both cases, if I open a document in open office I can past the picture But when I try to get the picture with clipboarddata["image"] it's empty in case (2). Additionally, I selected the image I pasted into the document in case (2) and hit ctrl+c to copy it to the clipboard, then pasted it into the document a second time to confirm it was copied. After that, clipboarddata["image"] still has the OLD image data in it. It's like there are two clipboards? I tried using put the keys of clipboarddata into tKeys but that doesn't give me anything. From brahma at hindu.org Tue Jul 4 20:01:52 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 5 Jul 2017 00:01:52 +0000 Subject: Pinch and Zoom in Browser Widget In-Reply-To: <6F51D2A6-4A87-4F00-8843-87EEE9308763@gmail.com> References: <101A09BA-CB86-4B55-BFC0-05110C210F8C@hindu.org> <6F51D2A6-4A87-4F00-8843-87EEE9308763@gmail.com> Message-ID: <81849949-9C10-4943-A837-094084748A19@hindu.org> Oh? (sad face) it appears to be a feature of Safari on iOS Safari on desktop Chrome on Desktop. But I am unable to pinch zoom the same page (yes I have a track pad on my Macbook pro) a) in FireFox on Mac b) on Android/Chrome c) Browser widget in LC on either iOS app or Android. ouch.. this shoots a hole in plans to use the browser widget to display complex SVG graphic "worlds" (maps) that users can zoom in and out on. Hope I am missing something? BR On 7/3/17, 8:01 AM, "use-livecode on behalf of Colin Holgate via use-livecode" wrote: It also fails in Mac desktop, so you could save some time checking into why that is (if you have a trackpad that is). Where is the code for a widget stored? >On Jul 3, 2017, at 10:48 AM, Sannyasin Brahmanathaswami via use-livecode wrote: >We can to go a web page in Safari in iOS or Chrome on Android and pinch and zoom in. >The same web page, shown in the browser widget is non-responsive to pinch and zoom out >Is there a solution for this? >BR From jonathandlynch at gmail.com Tue Jul 4 22:02:37 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Tue, 4 Jul 2017 22:02:37 -0400 Subject: Submitting to the #%^%#? App Store Message-ID: Both venting and seeking advice. Actually submitting an app to iTunes Connect is not easy, to put it mildly. I am getting an error... The executable 'Payload/Augmented Earth.app/Augmented Earth' must be signed with the certificate that is contained in the provisioning profile. I have no idea how it could be wrong. The distribution provisioning profile seems correct to me. Is there a step I am missing? I thought I was following the steps outlined on the LC site. Sent from my iPhone From colinholgate at gmail.com Tue Jul 4 22:05:29 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 4 Jul 2017 19:05:29 -0700 Subject: Submitting to the #%^%#? App Store In-Reply-To: References: Message-ID: <0850FD41-B06B-4A32-8145-44DA5C656F4C@gmail.com> Are you using an App Store Distribution profile? Was its certificate your Distribution one? > On Jul 4, 2017, at 7:02 PM, Jonathan Lynch via use-livecode wrote: > > Both venting and seeking advice. > > Actually submitting an app to iTunes Connect is not easy, to put it mildly. > > I am getting an error... > > The executable 'Payload/Augmented Earth.app/Augmented Earth' must be signed with the certificate that is contained in the provisioning profile. > > I have no idea how it could be wrong. The distribution provisioning profile seems correct to me. Is there a step I am missing? I thought I was following the steps outlined on the LC site. > From jonathandlynch at gmail.com Tue Jul 4 22:30:13 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Tue, 4 Jul 2017 22:30:13 -0400 Subject: Submitting to the #%^%#? App Store In-Reply-To: <0850FD41-B06B-4A32-8145-44DA5C656F4C@gmail.com> References: <0850FD41-B06B-4A32-8145-44DA5C656F4C@gmail.com> Message-ID: <6D709495-E25D-4250-9FE6-5AB7E32B8D3B@gmail.com> Hi Colin, Yes and yes Do we need to sign the actual file after it is created? I thought that happened when we created to executable from LC. Sent from my iPhone > On Jul 4, 2017, at 10:05 PM, Colin Holgate via use-livecode wrote: > > Are you using an App Store Distribution profile? Was its certificate your Distribution one? > > >> On Jul 4, 2017, at 7:02 PM, Jonathan Lynch via use-livecode wrote: >> >> Both venting and seeking advice. >> >> Actually submitting an app to iTunes Connect is not easy, to put it mildly. >> >> I am getting an error... >> >> The executable 'Payload/Augmented Earth.app/Augmented Earth' must be signed with the certificate that is contained in the provisioning profile. >> >> I have no idea how it could be wrong. The distribution provisioning profile seems correct to me. Is there a step I am missing? I thought I was following the steps outlined on the LC site. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Tue Jul 4 22:35:49 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 4 Jul 2017 19:35:49 -0700 Subject: Submitting to the #%^%#? App Store In-Reply-To: <6D709495-E25D-4250-9FE6-5AB7E32B8D3B@gmail.com> References: <0850FD41-B06B-4A32-8145-44DA5C656F4C@gmail.com> <6D709495-E25D-4250-9FE6-5AB7E32B8D3B@gmail.com> Message-ID: <05BE0C4D-EFDB-49DB-928C-647729AD5AD2@gmail.com> You choose a profile in Standalone Application Settings. There?s a danger of picking an old one. See discussions like this on how to remove out of date ones: https://stackoverflow.com/questions/26732251/how-to-remove-provisioning-profiles-from-xcode It should have a certificate associated with it, and unless you recently resubscribed it ought to work. > On Jul 4, 2017, at 7:30 PM, Jonathan Lynch via use-livecode wrote: > > Hi Colin, > > Yes and yes > > Do we need to sign the actual file after it is created? I thought that happened when we created to executable from LC. > > Sent from my iPhone > >> On Jul 4, 2017, at 10:05 PM, Colin Holgate via use-livecode wrote: >> >> Are you using an App Store Distribution profile? Was its certificate your Distribution one? >> >> >>> On Jul 4, 2017, at 7:02 PM, Jonathan Lynch via use-livecode wrote: >>> >>> Both venting and seeking advice. >>> >>> Actually submitting an app to iTunes Connect is not easy, to put it mildly. >>> >>> I am getting an error... >>> >>> The executable 'Payload/Augmented Earth.app/Augmented Earth' must be signed with the certificate that is contained in the provisioning profile. >>> >>> I have no idea how it could be wrong. The distribution provisioning profile seems correct to me. Is there a step I am missing? I thought I was following the steps outlined on the LC site. >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Tue Jul 4 23:01:24 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Tue, 4 Jul 2017 23:01:24 -0400 Subject: Submitting to the #%^%#? App Store In-Reply-To: <05BE0C4D-EFDB-49DB-928C-647729AD5AD2@gmail.com> References: <0850FD41-B06B-4A32-8145-44DA5C656F4C@gmail.com> <6D709495-E25D-4250-9FE6-5AB7E32B8D3B@gmail.com> <05BE0C4D-EFDB-49DB-928C-647729AD5AD2@gmail.com> Message-ID: <1C13BEF1-FD0A-4435-A361-34096719D15E@gmail.com> I created a new profile just for this - still get the same error. After that I tried manually codesigning, but then I got the same error again. Any other ideas? And thanks for taking the time on this - it is much appreciated. J Sent from my iPhone > On Jul 4, 2017, at 10:35 PM, Colin Holgate via use-livecode wrote: > > You choose a profile in Standalone Application Settings. There?s a danger of picking an old one. See discussions like this on how to remove out of date ones: > > https://stackoverflow.com/questions/26732251/how-to-remove-provisioning-profiles-from-xcode > > It should have a certificate associated with it, and unless you recently resubscribed it ought to work. > >> On Jul 4, 2017, at 7:30 PM, Jonathan Lynch via use-livecode wrote: >> >> Hi Colin, >> >> Yes and yes >> >> Do we need to sign the actual file after it is created? I thought that happened when we created to executable from LC. >> >> Sent from my iPhone >> >>> On Jul 4, 2017, at 10:05 PM, Colin Holgate via use-livecode wrote: >>> >>> Are you using an App Store Distribution profile? Was its certificate your Distribution one? >>> >>> >>>> On Jul 4, 2017, at 7:02 PM, Jonathan Lynch via use-livecode wrote: >>>> >>>> Both venting and seeking advice. >>>> >>>> Actually submitting an app to iTunes Connect is not easy, to put it mildly. >>>> >>>> I am getting an error... >>>> >>>> The executable 'Payload/Augmented Earth.app/Augmented Earth' must be signed with the certificate that is contained in the provisioning profile. >>>> >>>> I have no idea how it could be wrong. The distribution provisioning profile seems correct to me. Is there a step I am missing? I thought I was following the steps outlined on the LC site. >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Tue Jul 4 23:44:30 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Tue, 4 Jul 2017 23:44:30 -0400 Subject: Submitting to the #%^%#? App Store In-Reply-To: <1C13BEF1-FD0A-4435-A361-34096719D15E@gmail.com> References: <0850FD41-B06B-4A32-8145-44DA5C656F4C@gmail.com> <6D709495-E25D-4250-9FE6-5AB7E32B8D3B@gmail.com> <05BE0C4D-EFDB-49DB-928C-647729AD5AD2@gmail.com> <1C13BEF1-FD0A-4435-A361-34096719D15E@gmail.com> Message-ID: <4E2555D4-4D2E-409E-B5A4-EC6EEB251D8D@gmail.com> Okay. - I got it submitted :) I had revoked an older certificate to make sure I was using the right one, but that certificate was still in the key chain. Fingers crossed they like it on the first try. Sorry for my hidden curse word there - it was just one of those moments. J Sent from my iPhone > On Jul 4, 2017, at 11:01 PM, jonathandlynch at gmail.com wrote: > > I created a new profile just for this - still get the same error. > > After that I tried manually codesigning, but then I got the same error again. > > Any other ideas? And thanks for taking the time on this - it is much appreciated. > > J > > Sent from my iPhone > >> On Jul 4, 2017, at 10:35 PM, Colin Holgate via use-livecode wrote: >> >> You choose a profile in Standalone Application Settings. There?s a danger of picking an old one. See discussions like this on how to remove out of date ones: >> >> https://stackoverflow.com/questions/26732251/how-to-remove-provisioning-profiles-from-xcode >> >> It should have a certificate associated with it, and unless you recently resubscribed it ought to work. >> >>> On Jul 4, 2017, at 7:30 PM, Jonathan Lynch via use-livecode wrote: >>> >>> Hi Colin, >>> >>> Yes and yes >>> >>> Do we need to sign the actual file after it is created? I thought that happened when we created to executable from LC. >>> >>> Sent from my iPhone >>> >>>> On Jul 4, 2017, at 10:05 PM, Colin Holgate via use-livecode wrote: >>>> >>>> Are you using an App Store Distribution profile? Was its certificate your Distribution one? >>>> >>>> >>>>> On Jul 4, 2017, at 7:02 PM, Jonathan Lynch via use-livecode wrote: >>>>> >>>>> Both venting and seeking advice. >>>>> >>>>> Actually submitting an app to iTunes Connect is not easy, to put it mildly. >>>>> >>>>> I am getting an error... >>>>> >>>>> The executable 'Payload/Augmented Earth.app/Augmented Earth' must be signed with the certificate that is contained in the provisioning profile. >>>>> >>>>> I have no idea how it could be wrong. The distribution provisioning profile seems correct to me. Is there a step I am missing? I thought I was following the steps outlined on the LC site. >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Jul 5 02:46:37 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 5 Jul 2017 09:46:37 +0300 Subject: Submitting to the #%^%#? App Store In-Reply-To: References: Message-ID: <859d852e-c288-67c2-10e9-6e6830514d2a@gmail.com> Apple are far too restrictive and far too big for their boots, especially if one considers that they probably have about 7% of the desktop computing market. Richmond. On 7/5/17 5:02 am, Jonathan Lynch via use-livecode wrote: > Both venting and seeking advice. > > Actually submitting an app to iTunes Connect is not easy, to put it mildly. > > I am getting an error... > > The executable 'Payload/Augmented Earth.app/Augmented Earth' must be signed with the certificate that is contained in the provisioning profile. > > I have no idea how it could be wrong. The distribution provisioning profile seems correct to me. Is there a step I am missing? I thought I was following the steps outlined on the LC site. > > Sent from my iPhone > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Wed Jul 5 05:03:50 2017 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 5 Jul 2017 10:03:50 +0100 Subject: Submitting to the #%^%#? App Store Message-ID: Ah yes - one of the biggest GOTCHA?s there is when working on Apple certification? I?ve found the best approach is to keep my dev machine scrupulously clean as regards old certificates, and a session with Keychain Access pays dividends. The same thing goes as regards old provisioning profiles - you should find all provisioning profiles on your mac stored at '/Users/ Okay. - I got it submitted :) > > I had revoked an older certificate to make sure I was using the right one, but that certificate was still in the key chain. > > Fingers crossed they like it on the first try. > > Sorry for my hidden curse word there - it was just one of those moments. > > J > > Sent from my iPhone > > > On Jul 4, 2017, at 11:01 PM, [hidden email] wrote: > > > > I created a new profile just for this - still get the same error. > > > > After that I tried manually codesigning, but then I got the same error again. > > > > Any other ideas? And thanks for taking the time on this - it is much appreciated. > > > > J > > > > Sent from my iPhone > > > >> On Jul 4, 2017, at 10:35 PM, Colin Holgate via use-livecode <[hidden email] > wrote: > >> > >> You choose a profile in Standalone Application Settings. There?s a danger of picking an old one. See discussions like this on how to remove out of date ones: > >> > >> https://stackoverflow.com/questions/26732251/how-to-remove-provisioning-profiles-from-xcode > >> > >> It should have a certificate associated with it, and unless you recently resubscribed it ought to work. > >> > >>> On Jul 4, 2017, at 7:30 PM, Jonathan Lynch via use-livecode <[hidden email] > wrote: > >>> > >>> Hi Colin, > >>> > >>> Yes and yes > >>> > >>> Do we need to sign the actual file after it is created? I thought that happened when we created to executable from LC. > >>> > >>> Sent from my iPhone > >>> > >>>> On Jul 4, 2017, at 10:05 PM, Colin Holgate via use-livecode <[hidden email] > wrote: > >>>> > >>>> Are you using an App Store Distribution profile? Was its certificate your Distribution one? > >>>> > >>>> > >>>>> On Jul 4, 2017, at 7:02 PM, Jonathan Lynch via use-livecode <[hidden email] > wrote: > >>>>> > >>>>> Both venting and seeking advice. > >>>>> > >>>>> Actually submitting an app to iTunes Connect is not easy, to put it mildly. > >>>>> > >>>>> I am getting an error... > >>>>> > >>>>> The executable 'Payload/Augmented Earth.app/Augmented Earth' must be signed with the certificate that is contained in the provisioning profile. > >>>>> > >>>>> I have no idea how it could be wrong. The distribution provisioning profile seems correct to me. Is there a step I am missing? I thought I was following the steps outlined on the LC site. > >>>>> From jonathandlynch at gmail.com Wed Jul 5 05:27:23 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 5 Jul 2017 05:27:23 -0400 Subject: Submitting to the #%^%#? App Store In-Reply-To: References: Message-ID: <0316FCAF-ED41-4F72-986F-60A3F85376C7@gmail.com> Good points Dave, I will do those things Sent from my iPhone > On Jul 5, 2017, at 5:03 AM, Dave Kilroy via use-livecode wrote: > > Ah yes - one of the biggest GOTCHA?s there is when working on Apple certification? > > I?ve found the best approach is to keep my dev machine scrupulously clean as regards old certificates, and a session with Keychain Access pays dividends. > > The same thing goes as regards old provisioning profiles - you should find all provisioning profiles on your mac stored at '/Users/ > In general ?good hygiene? with your certificates and profiles is necessary and will prevent much head thumping, cursing, gnashing of teeth and tears at bedtime :) > > And finally, I?ve found it best to keep old copies of Xcode on my machine in their own sub-folder (individually named) in the Applications folder whilst keeping the executable named ?Xcode.app? > > Kind regards > > Dave > > >> Okay. - I got it submitted :) >> >> I had revoked an older certificate to make sure I was using the right one, but that certificate was still in the key chain. >> >> Fingers crossed they like it on the first try. >> >> Sorry for my hidden curse word there - it was just one of those moments. >> >> J >> >> Sent from my iPhone >> >>> On Jul 4, 2017, at 11:01 PM, [hidden email] wrote: >>> >>> I created a new profile just for this - still get the same error. >>> >>> After that I tried manually codesigning, but then I got the same error again. >>> >>> Any other ideas? And thanks for taking the time on this - it is much appreciated. >>> >>> J >>> >>> Sent from my iPhone >>> >>>> On Jul 4, 2017, at 10:35 PM, Colin Holgate via use-livecode <[hidden email] > wrote: >>>> >>>> You choose a profile in Standalone Application Settings. There?s a danger of picking an old one. See discussions like this on how to remove out of date ones: >>>> >>>> https://stackoverflow.com/questions/26732251/how-to-remove-provisioning-profiles-from-xcode >>>> >>>> It should have a certificate associated with it, and unless you recently resubscribed it ought to work. >>>> >>>>> On Jul 4, 2017, at 7:30 PM, Jonathan Lynch via use-livecode <[hidden email] > wrote: >>>>> >>>>> Hi Colin, >>>>> >>>>> Yes and yes >>>>> >>>>> Do we need to sign the actual file after it is created? I thought that happened when we created to executable from LC. >>>>> >>>>> Sent from my iPhone >>>>> >>>>>> On Jul 4, 2017, at 10:05 PM, Colin Holgate via use-livecode <[hidden email] > wrote: >>>>>> >>>>>> Are you using an App Store Distribution profile? Was its certificate your Distribution one? >>>>>> >>>>>> >>>>>>> On Jul 4, 2017, at 7:02 PM, Jonathan Lynch via use-livecode <[hidden email] > wrote: >>>>>>> >>>>>>> Both venting and seeking advice. >>>>>>> >>>>>>> Actually submitting an app to iTunes Connect is not easy, to put it mildly. >>>>>>> >>>>>>> I am getting an error... >>>>>>> >>>>>>> The executable 'Payload/Augmented Earth.app/Augmented Earth' must be signed with the certificate that is contained in the provisioning profile. >>>>>>> >>>>>>> I have no idea how it could be wrong. The distribution provisioning profile seems correct to me. Is there a step I am missing? I thought I was following the steps outlined on the LC site. >>>>>>> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dvglasgow at gmail.com Wed Jul 5 06:06:40 2017 From: dvglasgow at gmail.com (David V Glasgow) Date: Wed, 5 Jul 2017 11:06:40 +0100 Subject: OT Re: synonyms In-Reply-To: <03ed4d4b-3854-8305-183e-9dac5a247f82@gmail.com> References: <7d93073a-6638-1e54-7323-e753649cc159@researchware.com> <545462d3-2e12-2b2c-c4ae-7fa14a0e9c6e@fourthworld.com> <05156f14-91fc-6868-8c60-9232dd47c237@sonic.net> <86c0b4a9-de0b-4ea5-2d9c-3dca12a43535@tweedly.net> <9fe5dd5d-f421-ff1e-4bfb-0168d05cb174@sonic.net> <0fd5c9dc6c47e910ce7777ca7202e69d@livecode.com> <51e7b15a-3ca1-f16e-dce5-050ac83b5b60@sonic.net> <7910720907aca020d642c688d72f2844@livecode.com> <0d0b7b48-ce2b-0236-eb95-4d544cb11dc0@sonic.net> <072DD2CB-5FDF-4C6D-B776-52171AFA113F@livecode.com> <041b022b-9b52-1f13-33fb-d7a15f9fddf1@sonic.net> <03ed4d4b-3854-8305-183e-9dac5a247f82@gmail.com> Message-ID: <936CD8E3-D772-41D2-B885-7B3936B8F020@gmail.com> My ancient Quaker father-in-law (now deceased) never gave them up. His first utterance to me was ?What has thou done with Liss?? - a question I was none to keen on answering (?Liss'= his daughter) His language took a little getting used to, but after a while I barely noticed, except to enjoy it. Cheers, David Glasgow > On 4 Jul 2017, at 8:55 pm, Richmond Mathewson via use-livecode wrote: > > Thou hast no need at all to be pompous, just a wee bit old-fashioned. > > Thou art more than welcome me to the extremely select club of language nutters (current membership: 1 and a few stray Mennonites) > who want to bring Thou, thee, they and thine back into mainstream English usages. > > Membership is free, and thou art not required to wear a daft uniform, change thy dietary habits, take any odd vows, or > reassess thy personal hygiene regime . . . > > However, if thou usest the middle-finger in any way whatsoever thou wilt be expelled forthwith, fifthwith and sixthwith! > > None of our membership have become obsessive enough to remove their middle-finger, Yet! > > Richmond. > > On 7/4/17 10:43 pm, Mark Wieder via use-livecode wrote: >> On 07/04/2017 11:34 AM, Mark Waddingham via use-livecode wrote: >>> It was a generic 'you' and not you 'you' :) >>> >>> I think part of my brain decided on 'one' there but my fingers objected ('when' should have been 'one'). >>> >>> Indeed in this instance 'one' in both places probably would have been better, however I always feel like that sounds slightly pompous... >> >> LOL >> >> Yes, "one" would maybe have been more syntactically correct but made you feel pompous. "You" in both places emphasizes the lexical ambiguity. So even though the sentence would be diagrammed the same way (the bytecode implementation would be identical) they feel completely different. >> >> So... aren't you glad we have synonyms? >> >> And placing the sentence in passive voice would eliminate the above problems by allowing a different creative process to take place. Thus my argument for synonyms: not that it makes much (if any) difference at the engine level, but it allows for some right-brain interaction in what would otherwise be a completely left-brain activity. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Jul 5 07:34:24 2017 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 5 Jul 2017 12:34:24 +0100 Subject: debugging a CEF browser instance In-Reply-To: References: Message-ID: I tried with 9.0 dp7. Still no luck. The webpage opens and works with both Chrome and Firefox. But not with the browser widget in either LC 8 or LC 9. I even tried with LC8.1.4 on OS X and it fails there too. I'm surprised no-one else has run into the need to access the debug log, browser console or browser developer tools. Regards Bernard On Tue, Jul 4, 2017 at 11:33 AM, Bernard Devlin wrote: > After a very long time away from Livecode, I'm trying to get back into it. > > On 8.1.4 in the Windows IDE I have a browser instance where a standalone > web page with some Javascript code is not working. The same page works if > I load it into Chrome. > > So, I thought there might be a way to display the console of the browser > instance, but I can't find a "chrome://..." command to do that. The most > information I can get back from the browser instance is this: > > "C:/Program Files (x86)/RunRev/LiveCode Business 8.1.4/LiveCode Business" > --browser-subprocess-path="C:\Program Files (x86)\RunRev\LiveCode > Business 8.1.4\Externals\CEF\libbrowser-cefprocess.exe" --no-sandbox > --lang=en-US --log-file="C:\Program Files (x86)\RunRev\LiveCode Business > 8.1.4\debug.log" --log-severity=disable --locales-dir-path="C:\Program > Files (x86)\RunRev\LiveCode Business 8.1.4\Externals\CEF\locales" > > So, I created a .cmd file where I launched the livecode .exe, passing in > different values for > > --log-severity=disable > > but no alternative parameters in the .cmd file appear to be taken up (i.e. > it looks like these CEF browser parameters might be hard-coded into the LC > exe). > > I'm thinking there must be a way to debug CEF browser instances, but a > search through the mail list didn't turn up anything that appeared relevant. > > Any suggestions? > > Regards > Bernard > > > From jonathandlynch at gmail.com Wed Jul 5 07:40:02 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 5 Jul 2017 07:40:02 -0400 Subject: debugging a CEF browser instance In-Reply-To: References: Message-ID: <02855171-0054-47B0-9056-4D44DD3217CF@gmail.com> Hi Bernard, I work with JS in the browser widget quite a bit. I have just gotten used to testing JS commands very carefully, step by step, because it does not really provide any debugging information. It would be nice to have that. Sent from my iPhone > On Jul 5, 2017, at 7:34 AM, Bernard Devlin via use-livecode wrote: > > I tried with 9.0 dp7. > > Still no luck. The webpage opens and works with both Chrome and Firefox. > But not with the browser widget in either LC 8 or LC 9. I even tried with > LC8.1.4 on OS X and it fails there too. > > I'm surprised no-one else has run into the need to access the debug log, > browser console or browser developer tools. > > Regards > Bernard > >> On Tue, Jul 4, 2017 at 11:33 AM, Bernard Devlin wrote: >> >> After a very long time away from Livecode, I'm trying to get back into it. >> >> On 8.1.4 in the Windows IDE I have a browser instance where a standalone >> web page with some Javascript code is not working. The same page works if >> I load it into Chrome. >> >> So, I thought there might be a way to display the console of the browser >> instance, but I can't find a "chrome://..." command to do that. The most >> information I can get back from the browser instance is this: >> >> "C:/Program Files (x86)/RunRev/LiveCode Business 8.1.4/LiveCode Business" >> --browser-subprocess-path="C:\Program Files (x86)\RunRev\LiveCode >> Business 8.1.4\Externals\CEF\libbrowser-cefprocess.exe" --no-sandbox >> --lang=en-US --log-file="C:\Program Files (x86)\RunRev\LiveCode Business >> 8.1.4\debug.log" --log-severity=disable --locales-dir-path="C:\Program >> Files (x86)\RunRev\LiveCode Business 8.1.4\Externals\CEF\locales" >> >> So, I created a .cmd file where I launched the livecode .exe, passing in >> different values for >> >> --log-severity=disable >> >> but no alternative parameters in the .cmd file appear to be taken up (i.e. >> it looks like these CEF browser parameters might be hard-coded into the LC >> exe). >> >> I'm thinking there must be a way to debug CEF browser instances, but a >> search through the mail list didn't turn up anything that appeared relevant. >> >> Any suggestions? >> >> Regards >> Bernard >> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Wed Jul 5 07:45:09 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 5 Jul 2017 13:45:09 +0200 Subject: can I lock screen over more than one handler? Message-ID: <002d01d2f584$28079740$7816c5c0$@kestner.de> Hello, Is this possible? on handler1 lock screen -- do some stuff here send "handler2" in 0 milliseconds end handler1 on handler2 -- do some other stuff here unlock screen end handler2 in my real case the screen seems to be unlocked before handler2 has finished and I can see some updates on the screen, while the two handlers are running. The docs don't say, that there is an automatic unlock screen at the end of each handler and I checked my code that each lock has one unlock. Should this be possible, or are there other statements/functions, which unlock the screen by default beside of modal a stack? Thanks Tiemo From jonathandlynch at gmail.com Wed Jul 5 08:16:07 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 5 Jul 2017 08:16:07 -0400 Subject: can I lock screen over more than one handler? In-Reply-To: <002d01d2f584$28079740$7816c5c0$@kestner.de> References: <002d01d2f584$28079740$7816c5c0$@kestner.de> Message-ID: <26C12BAC-34BA-4754-82C0-A2B224531FEB@gmail.com> Hi Tiemo, It unlocks at the end of a handler. This can be a problem when calling another handler. I handle it by turning a called handler into a function. However, I don't think you can do it with a "send in time" handler. Sent from my iPhone > On Jul 5, 2017, at 7:45 AM, Tiemo Hollmann TB via use-livecode wrote: > > Hello, > > Is this possible? > > > > on handler1 > > lock screen > > -- do some stuff here > > send "handler2" in 0 milliseconds > > end handler1 > > > > on handler2 > > -- do some other stuff here > > unlock screen > > end handler2 > > > > in my real case the screen seems to be unlocked before handler2 has finished > and I can see some updates on the screen, while the two handlers are > running. The docs don't say, that there is an automatic unlock screen at the > end of each handler and I checked my code that each lock has one unlock. > > Should this be possible, or are there other statements/functions, which > unlock the screen by default beside of modal a stack? > > Thanks > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Wed Jul 5 08:55:36 2017 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 5 Jul 2017 13:55:36 +0100 Subject: debugging a CEF browser instance In-Reply-To: <02855171-0054-47B0-9056-4D44DD3217CF@gmail.com> References: <02855171-0054-47B0-9056-4D44DD3217CF@gmail.com> Message-ID: Thanks Jonathan for confirming that there is no debug mechanism for the browser widget. But what my examples shows is that one cannot rely on the browser widget to present a working web page, even one that works in multiple standard browsers (including Chrome). This is not a web page of my construction, but is one that is in use by other people. So it's not that it's my javascript that is failing, and therefore I can't carefully test each line of javascript without taking their website apart and building it back up to find the error. LC needs to have some way of allowing at least the developer to see why a page is not working within the widget. The debuglog option of the CEF browser widget shows a) that the debuglog is being written to a system folder (and therefore unlikely to be writeable) b) that the browser widget has logging disabled anyway c) that these options are hard-coded into the LC startup process Anyone got suggestions about how this should be put forward as an enhancement request/bug report? It seems that a CEF executable ought to be launchable with a supplied remote-debugging port. But that also does not work with the libbrowser-cefprocess.exe which comes with Livecode. http://magpcss.org/ceforum/viewtopic.php?f=6&t=11952#p22106 Regards Bernard On Wed, Jul 5, 2017 at 12:40 PM, Jonathan Lynch via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Bernard, > > I work with JS in the browser widget quite a bit. > > I have just gotten used to testing JS commands very carefully, step by > step, because it does not really provide any debugging information. > > It would be nice to have that. > > Sent from my iPhone > > From lists at mangomultimedia.com Wed Jul 5 09:09:15 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 5 Jul 2017 08:09:15 -0500 Subject: can I lock screen over more than one handler? In-Reply-To: <002d01d2f584$28079740$7816c5c0$@kestner.de> References: <002d01d2f584$28079740$7816c5c0$@kestner.de> Message-ID: On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode < use-livecode at lists.runrev.com> wrote: > > > Is this possible? > > on handler1 > > lock screen > > -- do some stuff here > > send "handler2" in 0 milliseconds > > end handler1 > > > > on handler2 > > -- do some other stuff here > > unlock screen > > end handler2 > No it is not. From the docs for `lock screen`: "When all pending handlers are finished executing, the lockScreen property is set back to false and the user sees the current state of stack windows on the screen." The use of the word "pending" is confusing because when you use `send` you end up with an entry in the `pendingMessages`. But the screen is going to be unlocked each time through the event loop. If `handler` called `handler2` directly (without using `send`) then you would not see the screen update. You should see the result you are looking for if you change your code to look like this: ``` on handler1 lock screen -- do some stuff here handler2 end handler1 ``` If you need to call `handler2` in time then you will need to figure out another approach to updating the screen. Perhaps all screen updates will need to happen in `handler2`. -- Trevor DeVore ScreenSteps www.screensteps.com From sean at pidigital.co.uk Wed Jul 5 09:30:19 2017 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Wed, 5 Jul 2017 14:30:19 +0100 Subject: can I lock screen over more than one handler? In-Reply-To: References: <002d01d2f584$28079740$7816c5c0$@kestner.de> Message-ID: Hi Tiemo, The solution here is to call another lockScreen at the beginning of handler2. You don't have to use the unlockScreen at the end of handler 1 and 2 as it will do that automatically but it is advisable to include the command anyway. Is there a reason why you had an aversion to using a lockScreen at the start of handler2? All the best Sean Cole *Pi Digital Productions Ltd* On 5 July 2017 at 14:09, Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > Is this possible? > > > > on handler1 > > > > lock screen > > > > -- do some stuff here > > > > send "handler2" in 0 milliseconds > > > > end handler1 > > > > > > > > on handler2 > > > > -- do some other stuff here > > > > unlock screen > > > > end handler2 > > > > No it is not. From the docs for `lock screen`: > > "When all pending handlers are finished executing, the lockScreen property > is set back to false and the user sees the current state of stack windows > on the screen." > > The use of the word "pending" is confusing because when you use `send` you > end up with an entry in the `pendingMessages`. But the screen is going to > be unlocked each time through the event loop. If `handler` called > `handler2` directly (without using `send`) then you would not see the > screen update. You should see the result you are looking for if you change > your code to look like this: > > ``` > on handler1 > lock screen > > -- do some stuff here > > handler2 > end handler1 > ``` > > If you need to call `handler2` in time then you will need to figure out > another approach to updating the screen. Perhaps all screen updates will > need to happen in `handler2`. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Wed Jul 5 09:57:06 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 5 Jul 2017 15:57:06 +0200 Subject: AW: can I lock screen over more than one handler? In-Reply-To: References: <002d01d2f584$28079740$7816c5c0$@kestner.de> Message-ID: <004e01d2f596$97785170$c668f450$@kestner.de> Thanks Jonathan, Trevor and Sean for your comments. Meanwhile I could drill down my "flickering" problem (post from yesterday) to an unexpected command. In one of those handlers I "set the filename of player "myVideoPlayer" to tFile". This command withdraws the focus from the window and passes it back after some milliseconds. On my Win 10 machine with a white window title bar I almost can't see it, but on Win 8 with the standard violet title bar it is an ugly flickering, each time I set the filename (which happens very frequently in a quiz loop). And I can't prevent this flickering with a lock screen right before the setting of the filename. The setting of the filename seems to release the lock screen or it takes the focus of the window off and back. Very ugly in my case. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Sean Cole (Pi) via use-livecode Gesendet: Mittwoch, 5. Juli 2017 15:30 An: How to use LiveCode Cc: Sean Cole (Pi) Betreff: Re: can I lock screen over more than one handler? Hi Tiemo, The solution here is to call another lockScreen at the beginning of handler2. You don't have to use the unlockScreen at the end of handler 1 and 2 as it will do that automatically but it is advisable to include the command anyway. Is there a reason why you had an aversion to using a lockScreen at the start of handler2? All the best Sean Cole *Pi Digital Productions Ltd* On 5 July 2017 at 14:09, Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > Is this possible? > > > > on handler1 > > > > lock screen > > > > -- do some stuff here > > > > send "handler2" in 0 milliseconds > > > > end handler1 > > > > > > > > on handler2 > > > > -- do some other stuff here > > > > unlock screen > > > > end handler2 > > > > No it is not. From the docs for `lock screen`: > > "When all pending handlers are finished executing, the lockScreen > property is set back to false and the user sees the current state of > stack windows on the screen." > > The use of the word "pending" is confusing because when you use `send` > you end up with an entry in the `pendingMessages`. But the screen is > going to be unlocked each time through the event loop. If `handler` > called `handler2` directly (without using `send`) then you would not > see the screen update. You should see the result you are looking for > if you change your code to look like this: > > ``` > on handler1 > lock screen > > -- do some stuff here > > handler2 > end handler1 > ``` > > If you need to call `handler2` in time then you will need to figure > out another approach to updating the screen. Perhaps all screen > updates will need to happen in `handler2`. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Wed Jul 5 10:19:32 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 5 Jul 2017 10:19:32 -0400 Subject: AW: can I lock screen over more than one handler? In-Reply-To: <004e01d2f596$97785170$c668f450$@kestner.de> References: <002d01d2f584$28079740$7816c5c0$@kestner.de> <004e01d2f596$97785170$c668f450$@kestner.de> Message-ID: <099CFBF2-EBA4-4552-8E9E-DBA698E28514@gmail.com> I have found that lock screen only blocks screen updates within the main LC context. So, for example, it does not block whatever is happening in a browser. For some reason, it also sometimes seems smoother to call a function rather than a handler, but perhaps I misperceived what was happening. Sent from my iPhone > On Jul 5, 2017, at 9:57 AM, Tiemo Hollmann TB via use-livecode wrote: > > Thanks Jonathan, Trevor and Sean for your comments. > > Meanwhile I could drill down my "flickering" problem (post from yesterday) > to an unexpected command. > In one of those handlers I "set the filename of player "myVideoPlayer" to > tFile". This command withdraws the focus from the window and passes it back > after some milliseconds. On my Win 10 machine with a white window title bar > I almost can't see it, but on Win 8 with the standard violet title bar it is > an ugly flickering, each time I set the filename (which happens very > frequently in a quiz loop). > > And I can't prevent this flickering with a lock screen right before the > setting of the filename. The setting of the filename seems to release the > lock screen or it takes the focus of the window off and back. Very ugly in > my case. > > Tiemo > > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Sean Cole (Pi) via use-livecode > Gesendet: Mittwoch, 5. Juli 2017 15:30 > An: How to use LiveCode > Cc: Sean Cole (Pi) > Betreff: Re: can I lock screen over more than one handler? > > Hi Tiemo, > The solution here is to call another lockScreen at the beginning of > handler2. You don't have to use the unlockScreen at the end of handler 1 and > 2 as it will do that automatically but it is advisable to include the > command anyway. Is there a reason why you had an aversion to using a > lockScreen at the start of handler2? > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > > On 5 July 2017 at 14:09, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> >>> Is this possible? >>> >>> on handler1 >>> >>> lock screen >>> >>> -- do some stuff here >>> >>> send "handler2" in 0 milliseconds >>> >>> end handler1 >>> >>> >>> >>> on handler2 >>> >>> -- do some other stuff here >>> >>> unlock screen >>> >>> end handler2 >>> >> >> No it is not. From the docs for `lock screen`: >> >> "When all pending handlers are finished executing, the lockScreen >> property is set back to false and the user sees the current state of >> stack windows on the screen." >> >> The use of the word "pending" is confusing because when you use `send` >> you end up with an entry in the `pendingMessages`. But the screen is >> going to be unlocked each time through the event loop. If `handler` >> called `handler2` directly (without using `send`) then you would not >> see the screen update. You should see the result you are looking for >> if you change your code to look like this: >> >> ``` >> on handler1 >> lock screen >> >> -- do some stuff here >> >> handler2 >> end handler1 >> ``` >> >> If you need to call `handler2` in time then you will need to figure >> out another approach to updating the screen. Perhaps all screen >> updates will need to happen in `handler2`. >> >> -- >> Trevor DeVore >> ScreenSteps >> www.screensteps.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Jul 5 10:49:34 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Jul 2017 14:49:34 +0000 Subject: Sharp as a pound (was Array assignment...) In-Reply-To: <7ad5c097-87d2-ae4b-2668-ebeebf161cd5@gmail.com> References: <16688094-1BA3-4163-A027-DDB314E81C6E@thehales.id.au> <9eea5984b32a41e6d55f6ec586b51237@livecode.com> <7a6f1101-1675-83b3-079c-3694086c7f65@sonic.net> <7ad5c097-87d2-ae4b-2668-ebeebf161cd5@gmail.com> Message-ID: <23CBDE5B-1AF4-4BFD-ABFF-7D32801B3065@iotecdigital.com> And far less dubious if coined by Scottish farmers in 1668?? :-) Bob S > On Jul 4, 2017, at 10:01 , Richmond Mathewson via use-livecode wrote: > > Well . . . as the name "octothorpe" was coined by American telephone engineers as recently as 1968 > that seems extremely dubious . . . From MikeKerner at roadrunner.com Wed Jul 5 10:51:25 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 5 Jul 2017 10:51:25 -0400 Subject: Feature Race: Pick Your Project In-Reply-To: <7B3FEA0E-7376-479D-A0A3-C3F4BF139571@hindu.org> References: <8404b344b09103bf489dd8a9a.ccf34eb596.20170622143113.cc1a8659fc.e1973c57@mail194.atl121.mcsv.net> <7B3FEA0E-7376-479D-A0A3-C3F4BF139571@hindu.org> Message-ID: Wow. I'm surprised we aren't closer to getting this funded. c'mon y'all let's get this funded! On Sat, Jun 24, 2017 at 5:53 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > I had similar feelings, (I have taken almost every pitch to "pay in > advance for X number of years for this discount or that? ) so when we get > hit up again for development that one would hope would be just part of the > product road map, it does indeed seem odd. Even "advanced smooth scrolling > graphics" seems odd to be funding, since all this is doing is bring the LC > mobile on parity with any other smooth flowing app. > > This is terribly obvious, but just to say it all again: > > Thinking about it, one has to appreciate the challenge the company faces. > Having gone open source, Livecode moves to a world where everyone and his > kid sister thinks programming is free. PHP, Javascript, python, CSS?people > living in those world just don't pay for their tools. > > So if open source users are going up (which apparently they are)? that > doesn't help us (to say the obvious) > > If not enough of them are using LC to build products for sale to support > themselves, OR are not using the tools in-house inside Enterprise (like we > do here, even though we are non -profit we do have software budgets) where > budgets are such that the ROI on paid license(s) is well worth it. And it > would be easy enough for some unscrupulous for-profit company to have 5 > coders on community and only one license and pretty much get away with > it?(which is cheating of course)? > > So If the user "pie" of those whose are paying <> equal $ to support the > company and + hours for features, how does LC handle this, to stay alive? > And we all want it to stay alive?right? > > I was hoping to talk to Kevin about some other ideas for solutions? but he > is busy. Perhaps I need to fly to Scotland for tea. In the meantime, I > voted/pledged for the DataGrid2/GraphicsUpgrade. > > Brahmanathaswamai > > > > > On 6/24/17, 7:41 AM, "use-livecode on behalf of Alex Tweedly via > use-livecode" use-livecode at lists.runrev.com> wrote: > > So the Feature Race lets me choose between "Hosting debugger" and > Datagrid 2. > > Hmpphhh! > > > > I have a hard time voting for, or funding, Hosting debugger. I already > paid for that, back in 2009. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jonathandlynch at gmail.com Wed Jul 5 10:57:12 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 5 Jul 2017 10:57:12 -0400 Subject: AW: can I lock screen over more than one handler? In-Reply-To: <099CFBF2-EBA4-4552-8E9E-DBA698E28514@gmail.com> References: <002d01d2f584$28079740$7816c5c0$@kestner.de> <004e01d2f596$97785170$c668f450$@kestner.de> <099CFBF2-EBA4-4552-8E9E-DBA698E28514@gmail.com> Message-ID: <6E6D3A16-C8CA-46E4-AC67-A965C3C7239C@gmail.com> I have a suggestion, if nothing else works. Use two players, layered on top of each other. When you switch the source of a player, do it to the player on the bottom, then move it to be on top of the other player. By switching back and forth, and only reassigning the player on the bottom, it should always cover the transition. Sent from my iPhone > On Jul 5, 2017, at 10:19 AM, jonathandlynch at gmail.com wrote: > > I have found that lock screen only blocks screen updates within the main LC context. > > So, for example, it does not block whatever is happening in a browser. > > For some reason, it also sometimes seems smoother to call a function rather than a handler, but perhaps I misperceived what was happening. > > > Sent from my iPhone > >> On Jul 5, 2017, at 9:57 AM, Tiemo Hollmann TB via use-livecode wrote: >> >> Thanks Jonathan, Trevor and Sean for your comments. >> >> Meanwhile I could drill down my "flickering" problem (post from yesterday) >> to an unexpected command. >> In one of those handlers I "set the filename of player "myVideoPlayer" to >> tFile". This command withdraws the focus from the window and passes it back >> after some milliseconds. On my Win 10 machine with a white window title bar >> I almost can't see it, but on Win 8 with the standard violet title bar it is >> an ugly flickering, each time I set the filename (which happens very >> frequently in a quiz loop). >> >> And I can't prevent this flickering with a lock screen right before the >> setting of the filename. The setting of the filename seems to release the >> lock screen or it takes the focus of the window off and back. Very ugly in >> my case. >> >> Tiemo >> >> >> >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag >> von Sean Cole (Pi) via use-livecode >> Gesendet: Mittwoch, 5. Juli 2017 15:30 >> An: How to use LiveCode >> Cc: Sean Cole (Pi) >> Betreff: Re: can I lock screen over more than one handler? >> >> Hi Tiemo, >> The solution here is to call another lockScreen at the beginning of >> handler2. You don't have to use the unlockScreen at the end of handler 1 and >> 2 as it will do that automatically but it is advisable to include the >> command anyway. Is there a reason why you had an aversion to using a >> lockScreen at the start of handler2? >> >> All the best >> >> Sean Cole >> *Pi Digital Productions Ltd* >> >> On 5 July 2017 at 14:09, Trevor DeVore via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> >>>> Is this possible? >>>> >>>> on handler1 >>>> >>>> lock screen >>>> >>>> -- do some stuff here >>>> >>>> send "handler2" in 0 milliseconds >>>> >>>> end handler1 >>>> >>>> >>>> >>>> on handler2 >>>> >>>> -- do some other stuff here >>>> >>>> unlock screen >>>> >>>> end handler2 >>>> >>> >>> No it is not. From the docs for `lock screen`: >>> >>> "When all pending handlers are finished executing, the lockScreen >>> property is set back to false and the user sees the current state of >>> stack windows on the screen." >>> >>> The use of the word "pending" is confusing because when you use `send` >>> you end up with an entry in the `pendingMessages`. But the screen is >>> going to be unlocked each time through the event loop. If `handler` >>> called `handler2` directly (without using `send`) then you would not >>> see the screen update. You should see the result you are looking for >>> if you change your code to look like this: >>> >>> ``` >>> on handler1 >>> lock screen >>> >>> -- do some stuff here >>> >>> handler2 >>> end handler1 >>> ``` >>> >>> If you need to call `handler2` in time then you will need to figure >>> out another approach to updating the screen. Perhaps all screen >>> updates will need to happen in `handler2`. >>> >>> -- >>> Trevor DeVore >>> ScreenSteps >>> www.screensteps.com >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Jul 5 11:01:15 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Jul 2017 15:01:15 +0000 Subject: Mobile Check Bandwidth Function In-Reply-To: <437DDD15-A01C-4BE0-BB58-659C68D974F4@hindu.org> References: <12244993-55c4-1051-ed32-e9c0d230e066@fourthworld.com> <437DDD15-A01C-4BE0-BB58-659C68D974F4@hindu.org> Message-ID: I am getting a reply right away. But this is interesting. I wonder if a similar call can be made to a SQL server? Just knowing I have an internet connection is not enough. I need to know if the SQL server is visible. I also need to know when the network has changed as I reauthenticate when the database connection disappears. Bob S > On Jul 4, 2017, at 10:56 , Sannyasin Brahmanathaswami via use-livecode wrote: > > on pingServer > put url https://www.himalayanacademy.com/ping.txt" into sOneLineStatus # the file contains one word "true" > end pingServer > > Is blocking? on the desktop took sometimes 3 minutes (Yeah.. no kidding) for Livecode to step through that line and return "empty") > on mobile the app will just hang? but the I had this "ahha!" moment where I thought "Duh, Scott Raney solved this 20 years ago" (really been that long?) From bobsneidar at iotecdigital.com Wed Jul 5 11:08:26 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Jul 2017 15:08:26 +0000 Subject: Mobile Check Bandwidth Function In-Reply-To: <437DDD15-A01C-4BE0-BB58-659C68D974F4@hindu.org> References: <12244993-55c4-1051-ed32-e9c0d230e066@fourthworld.com> <437DDD15-A01C-4BE0-BB58-659C68D974F4@hindu.org> Message-ID: I am missing something. This only returns the string sOnLineStatus. And yes I copied all the script for the other handlers. :-) Bob S > On Jul 4, 2017, at 10:56 , Sannyasin Brahmanathaswami via use-livecode wrote: > > function connectivity_GetStatus > return sOnLineStatus > end connectivity_GetStatus From bobsneidar at iotecdigital.com Wed Jul 5 11:11:51 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Jul 2017 15:11:51 +0000 Subject: Mobile Check Bandwidth Function In-Reply-To: References: <12244993-55c4-1051-ed32-e9c0d230e066@fourthworld.com> <437DDD15-A01C-4BE0-BB58-659C68D974F4@hindu.org> Message-ID: I ran connectivity_PingServer in the message box using do. I am missing the handler dialog_CustomMsg Bob S > On Jul 5, 2017, at 08:08 , Bob Sneidar via use-livecode wrote: > > I am missing something. This only returns the string sOnLineStatus. And yes I copied all the script for the other handlers. :-) > > Bob S From bobsneidar at iotecdigital.com Wed Jul 5 11:22:48 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Jul 2017 15:22:48 +0000 Subject: Submitting to the #%^%#? App Store In-Reply-To: <859d852e-c288-67c2-10e9-6e6830514d2a@gmail.com> References: <859d852e-c288-67c2-10e9-6e6830514d2a@gmail.com> Message-ID: <351A9BC8-C51D-4DD9-BABF-419A39715A54@iotecdigital.com> But I have yet to get any malware on my Apple iPhone. So if fitting snugly into their boots means I have to worry about something holding my iPhone hostage for bitcoin, then I think we just need to get Apple bigger boots. Bob S > On Jul 4, 2017, at 23:46 , Richmond Mathewson via use-livecode wrote: > > Apple are far too restrictive and far too big for their boots, > especially if one considers that they probably have about 7% of the desktop computing market. > > Richmond. From bobsneidar at iotecdigital.com Wed Jul 5 11:32:14 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Jul 2017 15:32:14 +0000 Subject: synonyms In-Reply-To: <60826e76befd1c306cdbcb1fb3ba5e53@livecode.com> References: <67731129-A6F0-4247-8F2D-69580E2A7CC6@hyperhh.de> <5f09629060d0d372738cc3fe4c0c6802@livecode.com> <1d1e35b4-2f21-f651-94a4-efb38ffef90d@sonic.net> <7F8EC725-9F2F-4A36-A1F8-8372351B6FF6@livecode.com> <4dc6808a-8f51-1a3b-308c-0d6d5ffd664d@gmail.com> <60826e76befd1c306cdbcb1fb3ba5e53@livecode.com> Message-ID: Not too bad. For every 5 psychiatrists there are 10 views on what causes bipolar syndrome. Bob S > On Jul 4, 2017, at 01:02 , Mark Waddingham via use-livecode wrote: > >>>> For a problem placed before any three coders, you will find at least four different solutions. From bobsneidar at iotecdigital.com Wed Jul 5 11:37:44 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Jul 2017 15:37:44 +0000 Subject: synonyms In-Reply-To: <9065ccb8-e3cb-b4e4-9595-0d47c621080b@sonic.net> References: <67731129-A6F0-4247-8F2D-69580E2A7CC6@hyperhh.de> <5f09629060d0d372738cc3fe4c0c6802@livecode.com> <1d1e35b4-2f21-f651-94a4-efb38ffef90d@sonic.net> <7F8EC725-9F2F-4A36-A1F8-8372351B6FF6@livecode.com> <4dc6808a-8f51-1a3b-308c-0d6d5ffd664d@gmail.com> <60826e76befd1c306cdbcb1fb3ba5e53@livecode.com> <9065ccb8-e3cb-b4e4-9595-0d47c621080b@sonic.net> Message-ID: <5F5D06AD-21FC-4BF5-9C74-17E79567B69F@iotecdigital.com> > On Jul 4, 2017, at 10:38 , Mark Wieder via use-livecode wrote: > > Well, yes and no. >From a programming with synonyms standpoint, this statement should always return false. Which is a synonym for 0. Which is a synonym for 00000000 in an 8 bit word. Bob S From toolbook at kestner.de Wed Jul 5 11:42:11 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 5 Jul 2017 17:42:11 +0200 Subject: AW: can I lock screen over more than one handler? In-Reply-To: <004e01d2f596$97785170$c668f450$@kestner.de> References: <002d01d2f584$28079740$7816c5c0$@kestner.de> <004e01d2f596$97785170$c668f450$@kestner.de> Message-ID: <005a01d2f5a5$44e912a0$cebb37e0$@kestner.de> Jonathan had a tricky idea to work with two player objects switching between them with hiding and showing them and doing the assignment of the filename with the currently hidden player, even with locking the screen at the beginning of the handler. It's a pitty, but the flickering of the whole window frame keeps the same. The directShow video engine must be somehow totally dominant. Any other tricky idea? Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Mittwoch, 5. Juli 2017 15:57 An: 'How to use LiveCode' Cc: Tiemo Hollmann TB Betreff: AW: can I lock screen over more than one handler? Thanks Jonathan, Trevor and Sean for your comments. Meanwhile I could drill down my "flickering" problem (post from yesterday) to an unexpected command. In one of those handlers I "set the filename of player "myVideoPlayer" to tFile". This command withdraws the focus from the window and passes it back after some milliseconds. On my Win 10 machine with a white window title bar I almost can't see it, but on Win 8 with the standard violet title bar it is an ugly flickering, each time I set the filename (which happens very frequently in a quiz loop). And I can't prevent this flickering with a lock screen right before the setting of the filename. The setting of the filename seems to release the lock screen or it takes the focus of the window off and back. Very ugly in my case. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Sean Cole (Pi) via use-livecode Gesendet: Mittwoch, 5. Juli 2017 15:30 An: How to use LiveCode Cc: Sean Cole (Pi) Betreff: Re: can I lock screen over more than one handler? Hi Tiemo, The solution here is to call another lockScreen at the beginning of handler2. You don't have to use the unlockScreen at the end of handler 1 and 2 as it will do that automatically but it is advisable to include the command anyway. Is there a reason why you had an aversion to using a lockScreen at the start of handler2? All the best Sean Cole *Pi Digital Productions Ltd* On 5 July 2017 at 14:09, Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > Is this possible? > > > > on handler1 > > > > lock screen > > > > -- do some stuff here > > > > send "handler2" in 0 milliseconds > > > > end handler1 > > > > > > > > on handler2 > > > > -- do some other stuff here > > > > unlock screen > > > > end handler2 > > > > No it is not. From the docs for `lock screen`: > > "When all pending handlers are finished executing, the lockScreen > property is set back to false and the user sees the current state of > stack windows on the screen." > > The use of the word "pending" is confusing because when you use `send` > you end up with an entry in the `pendingMessages`. But the screen is > going to be unlocked each time through the event loop. If `handler` > called `handler2` directly (without using `send`) then you would not > see the screen update. You should see the result you are looking for > if you change your code to look like this: > > ``` > on handler1 > lock screen > > -- do some stuff here > > handler2 > end handler1 > ``` > > If you need to call `handler2` in time then you will need to figure > out another approach to updating the screen. Perhaps all screen > updates will need to happen in `handler2`. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From panos.merakos at livecode.com Wed Jul 5 11:53:52 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 5 Jul 2017 16:53:52 +0100 Subject: [ANN] Release 8.1.5 RC-3 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 8.1.5 RC-3. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 8.1.5 RC-3 contains 4 bug fixes and stability improvements: - Fixed: LCB sector path radius changed to diameter - New version of tsNet (1.2.10) that addresses various network-related bugs is included. - A couple of IDE-related regressions have been fixed. The full release notes are available from: http://downloads.livecode.com/livecode/8_1_5/LiveCodeNotes-8_1_5_rc_3.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ Have fun! The LiveCode Team -- From iowahengst at mac.com Wed Jul 5 11:55:31 2017 From: iowahengst at mac.com (Randy Hengst) Date: Wed, 05 Jul 2017 10:55:31 -0500 Subject: can I lock screen over more than one handler? In-Reply-To: <005a01d2f5a5$44e912a0$cebb37e0$@kestner.de> References: <002d01d2f584$28079740$7816c5c0$@kestner.de> <004e01d2f596$97785170$c668f450$@kestner.de> <005a01d2f5a5$44e912a0$cebb37e0$@kestner.de> Message-ID: <65F8F6A3-0C5F-4E17-AF65-4C96199E3E3F@mac.com> It?s been a long time since I?ve messed with player objects? but what about putting both of the handlers into a ?run? handler: on runMyHandlers LOCK SCREEN handler1 handler2 UNLOCK Screen end runMyHandlers > On Jul 5, 2017, at 10:42 AM, Tiemo Hollmann TB via use-livecode wrote: > > Jonathan had a tricky idea to work with two player objects switching between > them with hiding and showing them and doing the assignment of the filename > with the currently hidden player, even with locking the screen at the > beginning of the handler. > It's a pitty, but the flickering of the whole window frame keeps the same. > The directShow video engine must be somehow totally dominant. > Any other tricky idea? > Tiemo > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Tiemo Hollmann TB via use-livecode > Gesendet: Mittwoch, 5. Juli 2017 15:57 > An: 'How to use LiveCode' > Cc: Tiemo Hollmann TB > Betreff: AW: can I lock screen over more than one handler? > > Thanks Jonathan, Trevor and Sean for your comments. > > Meanwhile I could drill down my "flickering" problem (post from yesterday) > to an unexpected command. > In one of those handlers I "set the filename of player "myVideoPlayer" to > tFile". This command withdraws the focus from the window and passes it back > after some milliseconds. On my Win 10 machine with a white window title bar > I almost can't see it, but on Win 8 with the standard violet title bar it is > an ugly flickering, each time I set the filename (which happens very > frequently in a quiz loop). > > And I can't prevent this flickering with a lock screen right before the > setting of the filename. The setting of the filename seems to release the > lock screen or it takes the focus of the window off and back. Very ugly in > my case. > > Tiemo > > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Sean Cole (Pi) via use-livecode > Gesendet: Mittwoch, 5. Juli 2017 15:30 > An: How to use LiveCode > Cc: Sean Cole (Pi) > Betreff: Re: can I lock screen over more than one handler? > > Hi Tiemo, > The solution here is to call another lockScreen at the beginning of > handler2. You don't have to use the unlockScreen at the end of handler 1 and > 2 as it will do that automatically but it is advisable to include the > command anyway. Is there a reason why you had an aversion to using a > lockScreen at the start of handler2? > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > > On 5 July 2017 at 14:09, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> >>> Is this possible? >>> >>> on handler1 >>> >>> lock screen >>> >>> -- do some stuff here >>> >>> send "handler2" in 0 milliseconds >>> >>> end handler1 >>> >>> >>> >>> on handler2 >>> >>> -- do some other stuff here >>> >>> unlock screen >>> >>> end handler2 >>> >> >> No it is not. From the docs for `lock screen`: >> >> "When all pending handlers are finished executing, the lockScreen >> property is set back to false and the user sees the current state of >> stack windows on the screen." >> >> The use of the word "pending" is confusing because when you use `send` >> you end up with an entry in the `pendingMessages`. But the screen is >> going to be unlocked each time through the event loop. If `handler` >> called `handler2` directly (without using `send`) then you would not >> see the screen update. You should see the result you are looking for >> if you change your code to look like this: >> >> ``` >> on handler1 >> lock screen >> >> -- do some stuff here >> >> handler2 >> end handler1 >> ``` >> >> If you need to call `handler2` in time then you will need to figure >> out another approach to updating the screen. Perhaps all screen >> updates will need to happen in `handler2`. >> >> -- >> Trevor DeVore >> ScreenSteps >> www.screensteps.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Wed Jul 5 11:56:23 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 5 Jul 2017 11:56:23 -0400 Subject: AW: can I lock screen over more than one handler? In-Reply-To: <005a01d2f5a5$44e912a0$cebb37e0$@kestner.de> References: <002d01d2f584$28079740$7816c5c0$@kestner.de> <004e01d2f596$97785170$c668f450$@kestner.de> <005a01d2f5a5$44e912a0$cebb37e0$@kestner.de> Message-ID: <019F36DE-58E7-4D16-BB2D-9C45E3708D78@gmail.com> Hi Tiemo - you could play the video in a browser. I know that seems to be my go-to solution, but I figure we do whatever works. Have you tried switching between players without locking the screen? Sent from my iPhone > On Jul 5, 2017, at 11:42 AM, Tiemo Hollmann TB via use-livecode wrote: > > Jonathan had a tricky idea to work with two player objects switching between > them with hiding and showing them and doing the assignment of the filename > with the currently hidden player, even with locking the screen at the > beginning of the handler. > It's a pitty, but the flickering of the whole window frame keeps the same. > The directShow video engine must be somehow totally dominant. > Any other tricky idea? > Tiemo > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Tiemo Hollmann TB via use-livecode > Gesendet: Mittwoch, 5. Juli 2017 15:57 > An: 'How to use LiveCode' > Cc: Tiemo Hollmann TB > Betreff: AW: can I lock screen over more than one handler? > > Thanks Jonathan, Trevor and Sean for your comments. > > Meanwhile I could drill down my "flickering" problem (post from yesterday) > to an unexpected command. > In one of those handlers I "set the filename of player "myVideoPlayer" to > tFile". This command withdraws the focus from the window and passes it back > after some milliseconds. On my Win 10 machine with a white window title bar > I almost can't see it, but on Win 8 with the standard violet title bar it is > an ugly flickering, each time I set the filename (which happens very > frequently in a quiz loop). > > And I can't prevent this flickering with a lock screen right before the > setting of the filename. The setting of the filename seems to release the > lock screen or it takes the focus of the window off and back. Very ugly in > my case. > > Tiemo > > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Sean Cole (Pi) via use-livecode > Gesendet: Mittwoch, 5. Juli 2017 15:30 > An: How to use LiveCode > Cc: Sean Cole (Pi) > Betreff: Re: can I lock screen over more than one handler? > > Hi Tiemo, > The solution here is to call another lockScreen at the beginning of > handler2. You don't have to use the unlockScreen at the end of handler 1 and > 2 as it will do that automatically but it is advisable to include the > command anyway. Is there a reason why you had an aversion to using a > lockScreen at the start of handler2? > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > > On 5 July 2017 at 14:09, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> >>> Is this possible? >>> >>> on handler1 >>> >>> lock screen >>> >>> -- do some stuff here >>> >>> send "handler2" in 0 milliseconds >>> >>> end handler1 >>> >>> >>> >>> on handler2 >>> >>> -- do some other stuff here >>> >>> unlock screen >>> >>> end handler2 >>> >> >> No it is not. From the docs for `lock screen`: >> >> "When all pending handlers are finished executing, the lockScreen >> property is set back to false and the user sees the current state of >> stack windows on the screen." >> >> The use of the word "pending" is confusing because when you use `send` >> you end up with an entry in the `pendingMessages`. But the screen is >> going to be unlocked each time through the event loop. If `handler` >> called `handler2` directly (without using `send`) then you would not >> see the screen update. You should see the result you are looking for >> if you change your code to look like this: >> >> ``` >> on handler1 >> lock screen >> >> -- do some stuff here >> >> handler2 >> end handler1 >> ``` >> >> If you need to call `handler2` in time then you will need to figure >> out another approach to updating the screen. Perhaps all screen >> updates will need to happen in `handler2`. >> >> -- >> Trevor DeVore >> ScreenSteps >> www.screensteps.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Jul 5 12:00:58 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 5 Jul 2017 09:00:58 -0700 Subject: synonyms In-Reply-To: References: <67731129-A6F0-4247-8F2D-69580E2A7CC6@hyperhh.de> <5f09629060d0d372738cc3fe4c0c6802@livecode.com> <1d1e35b4-2f21-f651-94a4-efb38ffef90d@sonic.net> <7F8EC725-9F2F-4A36-A1F8-8372351B6FF6@livecode.com> <4dc6808a-8f51-1a3b-308c-0d6d5ffd664d@gmail.com> <60826e76befd1c306cdbcb1fb3ba5e53@livecode.com> Message-ID: On 07/05/2017 08:32 AM, Bob Sneidar via use-livecode wrote: > Not too bad. For every 5 psychiatrists there are 10 views on what causes bipolar syndrome. That's obviously a binary 10. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Wed Jul 5 12:38:15 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 5 Jul 2017 19:38:15 +0300 Subject: Sharp as a pound (was Array assignment...) In-Reply-To: <23CBDE5B-1AF4-4BFD-ABFF-7D32801B3065@iotecdigital.com> References: <16688094-1BA3-4163-A027-DDB314E81C6E@thehales.id.au> <9eea5984b32a41e6d55f6ec586b51237@livecode.com> <7a6f1101-1675-83b3-079c-3694086c7f65@sonic.net> <7ad5c097-87d2-ae4b-2668-ebeebf161cd5@gmail.com> <23CBDE5B-1AF4-4BFD-ABFF-7D32801B3065@iotecdigital.com> Message-ID: <43f00ce7-c977-8013-4935-1002c4ee78ef@gmail.com> Doubtful as farmers in Scotland in 1668 would have used Merks for their money, not pounds! Richmond. On 7/5/17 5:49 pm, Bob Sneidar via use-livecode wrote: > And far less dubious if coined by Scottish farmers in 1668?? :-) > > Bob S > > >> On Jul 4, 2017, at 10:01 , Richmond Mathewson via use-livecode wrote: >> >> Well . . . as the name "octothorpe" was coined by American telephone engineers as recently as 1968 >> that seems extremely dubious . . . > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Wed Jul 5 12:45:46 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 5 Jul 2017 18:45:46 +0200 Subject: AW: can I lock screen over more than one handler? In-Reply-To: <65F8F6A3-0C5F-4E17-AF65-4C96199E3E3F@mac.com> References: <002d01d2f584$28079740$7816c5c0$@kestner.de> <004e01d2f596$97785170$c668f450$@kestner.de> <005a01d2f5a5$44e912a0$cebb37e0$@kestner.de> <65F8F6A3-0C5F-4E17-AF65-4C96199E3E3F@mac.com> Message-ID: <005f01d2f5ae$26b44a30$741cde90$@kestner.de> Hi Randy, it worked out that the issue wasn't related to the design of two handlers and it was only the single statement for setting the filename to the player object in one handler. But it seems, I can't suppress the loosing and reassigning of the focus of the main window when setting the filename. With and without locking the screen. What I didn't tried yet is placing the player object into an own window without title bar and frame. I don't know, how that looks on Windows 8, but perhaps I can keep the flickering off the main window with that approach. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Randy Hengst via use-livecode Gesendet: Mittwoch, 5. Juli 2017 17:56 An: How to use LiveCode Cc: Randy Hengst Betreff: Re: can I lock screen over more than one handler? It?s been a long time since I?ve messed with player objects? but what about putting both of the handlers into a ?run? handler: on runMyHandlers LOCK SCREEN handler1 handler2 UNLOCK Screen end runMyHandlers > On Jul 5, 2017, at 10:42 AM, Tiemo Hollmann TB via use-livecode wrote: > > Jonathan had a tricky idea to work with two player objects switching > between them with hiding and showing them and doing the assignment of > the filename with the currently hidden player, even with locking the > screen at the beginning of the handler. > It's a pitty, but the flickering of the whole window frame keeps the same. > The directShow video engine must be somehow totally dominant. > Any other tricky idea? > Tiemo > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Tiemo Hollmann TB via use-livecode > Gesendet: Mittwoch, 5. Juli 2017 15:57 > An: 'How to use LiveCode' > Cc: Tiemo Hollmann TB > Betreff: AW: can I lock screen over more than one handler? > > Thanks Jonathan, Trevor and Sean for your comments. > > Meanwhile I could drill down my "flickering" problem (post from > yesterday) to an unexpected command. > In one of those handlers I "set the filename of player "myVideoPlayer" > to tFile". This command withdraws the focus from the window and passes > it back after some milliseconds. On my Win 10 machine with a white > window title bar I almost can't see it, but on Win 8 with the standard > violet title bar it is an ugly flickering, each time I set the > filename (which happens very frequently in a quiz loop). > > And I can't prevent this flickering with a lock screen right before > the setting of the filename. The setting of the filename seems to > release the lock screen or it takes the focus of the window off and > back. Very ugly in my case. > > Tiemo > > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Sean Cole (Pi) via use-livecode > Gesendet: Mittwoch, 5. Juli 2017 15:30 > An: How to use LiveCode > Cc: Sean Cole (Pi) > Betreff: Re: can I lock screen over more than one handler? > > Hi Tiemo, > The solution here is to call another lockScreen at the beginning of > handler2. You don't have to use the unlockScreen at the end of handler > 1 and > 2 as it will do that automatically but it is advisable to include the > command anyway. Is there a reason why you had an aversion to using a > lockScreen at the start of handler2? > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > > On 5 July 2017 at 14:09, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> >>> Is this possible? >>> >>> on handler1 >>> >>> lock screen >>> >>> -- do some stuff here >>> >>> send "handler2" in 0 milliseconds >>> >>> end handler1 >>> >>> >>> >>> on handler2 >>> >>> -- do some other stuff here >>> >>> unlock screen >>> >>> end handler2 >>> >> >> No it is not. From the docs for `lock screen`: >> >> "When all pending handlers are finished executing, the lockScreen >> property is set back to false and the user sees the current state of >> stack windows on the screen." >> >> The use of the word "pending" is confusing because when you use >> `send` you end up with an entry in the `pendingMessages`. But the >> screen is going to be unlocked each time through the event loop. If >> `handler` called `handler2` directly (without using `send`) then you >> would not see the screen update. You should see the result you are >> looking for if you change your code to look like this: >> >> ``` >> on handler1 >> lock screen >> >> -- do some stuff here >> >> handler2 >> end handler1 >> ``` >> >> If you need to call `handler2` in time then you will need to figure >> out another approach to updating the screen. Perhaps all screen >> updates will need to happen in `handler2`. >> >> -- >> Trevor DeVore >> ScreenSteps >> www.screensteps.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From danoldboy at gmail.com Wed Jul 5 13:24:55 2017 From: danoldboy at gmail.com (Dan Brown) Date: Wed, 5 Jul 2017 18:24:55 +0100 Subject: Feature Race: Pick Your Project In-Reply-To: References: <8404b344b09103bf489dd8a9a.ccf34eb596.20170622143113.cc1a8659fc.e1973c57@mail194.atl121.mcsv.net> <7B3FEA0E-7376-479D-A0A3-C3F4BF139571@hindu.org> Message-ID: The comments section on the pledge page gives a good insight as to why there may be a feeling of apathy towards this fundraiser The infinite livecode campaign from last year was not handled well in terms of communicating progress to the community, with questions about the sqlite library rewrite remaining unanswered On Wed, Jul 5, 2017 at 3:51 PM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Wow. I'm surprised we aren't closer to getting this funded. c'mon y'all > let's get this funded! > > On Sat, Jun 24, 2017 at 5:53 PM, Sannyasin Brahmanathaswami via > use-livecode wrote: > > > I had similar feelings, (I have taken almost every pitch to "pay in > > advance for X number of years for this discount or that? ) so when we get > > hit up again for development that one would hope would be just part of > the > > product road map, it does indeed seem odd. Even "advanced smooth > scrolling > > graphics" seems odd to be funding, since all this is doing is bring the > LC > > mobile on parity with any other smooth flowing app. > > > > This is terribly obvious, but just to say it all again: > > > > Thinking about it, one has to appreciate the challenge the company faces. > > Having gone open source, Livecode moves to a world where everyone and his > > kid sister thinks programming is free. PHP, Javascript, python, > CSS?people > > living in those world just don't pay for their tools. > > > > So if open source users are going up (which apparently they are)? that > > doesn't help us (to say the obvious) > > > > If not enough of them are using LC to build products for sale to support > > themselves, OR are not using the tools in-house inside Enterprise (like > we > > do here, even though we are non -profit we do have software budgets) > where > > budgets are such that the ROI on paid license(s) is well worth it. And it > > would be easy enough for some unscrupulous for-profit company to have 5 > > coders on community and only one license and pretty much get away with > > it?(which is cheating of course)? > > > > So If the user "pie" of those whose are paying <> equal $ to support > the > > company and + hours for features, how does LC handle this, to stay alive? > > And we all want it to stay alive?right? > > > > I was hoping to talk to Kevin about some other ideas for solutions? but > he > > is busy. Perhaps I need to fly to Scotland for tea. In the meantime, I > > voted/pledged for the DataGrid2/GraphicsUpgrade. > > > > Brahmanathaswamai > > > > > > > > > > On 6/24/17, 7:41 AM, "use-livecode on behalf of Alex Tweedly via > > use-livecode" > use-livecode at lists.runrev.com> wrote: > > > > So the Feature Race lets me choose between "Hosting debugger" and > > Datagrid 2. > > > > Hmpphhh! > > > > > > > > I have a hard time voting for, or funding, Hosting debugger. I > already > > paid for that, back in 2009. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revdev at pdslabs.net Wed Jul 5 13:28:27 2017 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 5 Jul 2017 10:28:27 -0700 Subject: AW: can I lock screen over more than one handler? In-Reply-To: <004e01d2f596$97785170$c668f450$@kestner.de> References: <002d01d2f584$28079740$7816c5c0$@kestner.de> <004e01d2f596$97785170$c668f450$@kestner.de> Message-ID: Did you try locking messages before setting the filename of the player? That could help. Phil Davis On 7/5/17 6:57 AM, Tiemo Hollmann TB via use-livecode wrote: > Thanks Jonathan, Trevor and Sean for your comments. > > Meanwhile I could drill down my "flickering" problem (post from yesterday) > to an unexpected command. > In one of those handlers I "set the filename of player "myVideoPlayer" to > tFile". This command withdraws the focus from the window and passes it back > after some milliseconds. On my Win 10 machine with a white window title bar > I almost can't see it, but on Win 8 with the standard violet title bar it is > an ugly flickering, each time I set the filename (which happens very > frequently in a quiz loop). > > And I can't prevent this flickering with a lock screen right before the > setting of the filename. The setting of the filename seems to release the > lock screen or it takes the focus of the window off and back. Very ugly in > my case. > > Tiemo > > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Sean Cole (Pi) via use-livecode > Gesendet: Mittwoch, 5. Juli 2017 15:30 > An: How to use LiveCode > Cc: Sean Cole (Pi) > Betreff: Re: can I lock screen over more than one handler? > > Hi Tiemo, > The solution here is to call another lockScreen at the beginning of > handler2. You don't have to use the unlockScreen at the end of handler 1 and > 2 as it will do that automatically but it is advisable to include the > command anyway. Is there a reason why you had an aversion to using a > lockScreen at the start of handler2? > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > > On 5 July 2017 at 14:09, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Is this possible? >>> >>> on handler1 >>> >>> lock screen >>> >>> -- do some stuff here >>> >>> send "handler2" in 0 milliseconds >>> >>> end handler1 >>> >>> >>> >>> on handler2 >>> >>> -- do some other stuff here >>> >>> unlock screen >>> >>> end handler2 >>> >> No it is not. From the docs for `lock screen`: >> >> "When all pending handlers are finished executing, the lockScreen >> property is set back to false and the user sees the current state of >> stack windows on the screen." >> >> The use of the word "pending" is confusing because when you use `send` >> you end up with an entry in the `pendingMessages`. But the screen is >> going to be unlocked each time through the event loop. If `handler` >> called `handler2` directly (without using `send`) then you would not >> see the screen update. You should see the result you are looking for >> if you change your code to look like this: >> >> ``` >> on handler1 >> lock screen >> >> -- do some stuff here >> >> handler2 >> end handler1 >> ``` >> >> If you need to call `handler2` in time then you will need to figure >> out another approach to updating the screen. Perhaps all screen >> updates will need to happen in `handler2`. >> >> -- >> Trevor DeVore >> ScreenSteps >> www.screensteps.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 kevin at livecode.com Wed Jul 5 14:04:28 2017 From: kevin at livecode.com (Kevin Miller) Date: Wed, 05 Jul 2017 19:04:28 +0100 Subject: Feature Race: Pick Your Project In-Reply-To: References: <8404b344b09103bf489dd8a9a.ccf34eb596.20170622143113.cc1a8659fc.e1973c57@mail194.atl121.mcsv.net> <7B3FEA0E-7376-479D-A0A3-C3F4BF139571@hindu.org> Message-ID: I?m not sure if its apathy or more likely just the holiday weekend. That said... I?m sorry its taken so long to do Infinite LiveCode. As I?ve said in my keynote, in the comments section and on the blog, we wouldn?t be funding a new project if it that one wasn?t in the last stages of being wrapped up. Android has been mostly delivered and the other platforms and stretch goals are a small piece now. We really have finally cracked this project, getting it into a build is the last step. The reality is that we now need to look at what we are doing next and what is affordable. If we don?t fund this project, the knock on effects for the platform will be very significant. We?re already a very small team that punches well above our weight. We have the potential for a very bright future with the rather amazing stuff that you can now do. Check out Ali?s blog post on Android and wait a few more days for more. We can build on everything we?ve just created and maintain the considerable momentum we have built or we can shrink. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 05/07/2017, 18:24, "use-livecode on behalf of Dan Brown via use-livecode" wrote: >The comments section on the pledge page gives a good insight as to why >there may be a feeling of apathy towards this fundraiser > >The infinite livecode campaign from last year was not handled well in >terms >of communicating progress to the community, with questions about the >sqlite >library rewrite remaining unanswered > >On Wed, Jul 5, 2017 at 3:51 PM, Mike Kerner via use-livecode < >use-livecode at lists.runrev.com> wrote: > >> Wow. I'm surprised we aren't closer to getting this funded. c'mon >>y'all >> let's get this funded! >> >> On Sat, Jun 24, 2017 at 5:53 PM, Sannyasin Brahmanathaswami via >> use-livecode wrote: >> >> > I had similar feelings, (I have taken almost every pitch to "pay in >> > advance for X number of years for this discount or that? ) so when we >>get >> > hit up again for development that one would hope would be just part of >> the >> > product road map, it does indeed seem odd. Even "advanced smooth >> scrolling >> > graphics" seems odd to be funding, since all this is doing is bring >>the >> LC >> > mobile on parity with any other smooth flowing app. >> > >> > This is terribly obvious, but just to say it all again: >> > >> > Thinking about it, one has to appreciate the challenge the company >>faces. >> > Having gone open source, Livecode moves to a world where everyone and >>his >> > kid sister thinks programming is free. PHP, Javascript, python, >> CSS?people >> > living in those world just don't pay for their tools. >> > >> > So if open source users are going up (which apparently they are)? that >> > doesn't help us (to say the obvious) >> > >> > If not enough of them are using LC to build products for sale to >>support >> > themselves, OR are not using the tools in-house inside Enterprise >>(like >> we >> > do here, even though we are non -profit we do have software budgets) >> where >> > budgets are such that the ROI on paid license(s) is well worth it. >>And it >> > would be easy enough for some unscrupulous for-profit company to have >>5 >> > coders on community and only one license and pretty much get away with >> > it?(which is cheating of course)? >> > >> > So If the user "pie" of those whose are paying <> equal $ to support >> the >> > company and + hours for features, how does LC handle this, to stay >>alive? >> > And we all want it to stay alive?right? >> > >> > I was hoping to talk to Kevin about some other ideas for solutions? >>but >> he >> > is busy. Perhaps I need to fly to Scotland for tea. In the meantime, I >> > voted/pledged for the DataGrid2/GraphicsUpgrade. >> > >> > Brahmanathaswamai >> > >> > >> > >> > >> > On 6/24/17, 7:41 AM, "use-livecode on behalf of Alex Tweedly via >> > use-livecode" > > use-livecode at lists.runrev.com> wrote: >> > >> > So the Feature Race lets me choose between "Hosting debugger" and >> > Datagrid 2. >> > >> > Hmpphhh! >> > >> > >> > >> > I have a hard time voting for, or funding, Hosting debugger. I >> already >> > paid for that, back in 2009. >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Wed Jul 5 14:45:40 2017 From: tom at makeshyft.com (Tom Glod) Date: Wed, 5 Jul 2017 14:45:40 -0400 Subject: fonts v8 vs v9 Message-ID: Hi everyone Does anyone know what changed in version 9 to make all fonts look bolded ? the font of the ide seems slightly different too. font inside my application...big difference. Thanks Tom From hh at hyperhh.de Wed Jul 5 14:49:17 2017 From: hh at hyperhh.de (hh) Date: Wed, 5 Jul 2017 20:49:17 +0200 Subject: I need a "slider" in a circle Message-ID: <15291D26-0B87-4369-8189-48451ED2A10A@hyperhh.de> Yet another solution: RotationControl. This is a control I recently made for use at LC Global in November: An "ovalslider"-group that is under the control of a behavior button. Attach the behavior to any LC-Object that has an angle property. Runs with LC 6/7/8/9 on Mac/Win/linux or with LC 6/7 on Raspi. For mobile (or at any rate ...) you may have to adjust the layout of the slider-group(basics are already in the behavior script). Download the stack (590 KByte because of two demo images, the script is short) from "sample stacks" of the LC toolbar or from http://livecodeshare.runrev.com/stack/837/RotationControl [p.s. There is also a new cool TinyIDE from Andy at livecodeshare!] From ahsoftware at sonic.net Wed Jul 5 15:11:00 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 5 Jul 2017 12:11:00 -0700 Subject: Set the imagesource of a character to a built in graphic In-Reply-To: <7E667171-F2E7-4642-989E-55595EC16D9E@hyperhh.de> References: <7E667171-F2E7-4642-989E-55595EC16D9E@hyperhh.de> Message-ID: On 06/26/2017 09:10 AM, hh via use-livecode wrote: > Eventually you are showing/hiding lines, so: > > Did you already try to use the hidden property? Thanks for this. I also wasn't aware you could hide individual lines in a field, and I have now refactored the glx2 script editor's code-folding feature to do this instead of storing/deleting and restoring lines of htmltext. -- Mark Wieder ahsoftware at gmail.com From danoldboy at gmail.com Wed Jul 5 15:42:00 2017 From: danoldboy at gmail.com (Dan Brown) Date: Wed, 5 Jul 2017 20:42:00 +0100 Subject: Feature Race: Pick Your Project In-Reply-To: References: <8404b344b09103bf489dd8a9a.ccf34eb596.20170622143113.cc1a8659fc.e1973c57@mail194.atl121.mcsv.net> <7B3FEA0E-7376-479D-A0A3-C3F4BF139571@hindu.org> Message-ID: Delays happen, my take from the comments is that the communication on progress was lacking more than anything. People like to fund ideas and there should be a journey to completion attached to the pledge experience. Even if it's just footnotes in blog posts and mailers here and there. Little and often. Anyhow is there no possibility of extending the campaigns deadline? An extra week or two coupled with the new infinite livecode updates would really increase the chances of the goal being met On 5 Jul 2017 7:04 pm, "Kevin Miller via use-livecode" < use-livecode at lists.runrev.com> wrote: > I?m not sure if its apathy or more likely just the holiday weekend. That > said... > > I?m sorry its taken so long to do Infinite LiveCode. As I?ve said in my > keynote, in the comments section and on the blog, we wouldn?t be funding a > new project if it that one wasn?t in the last stages of being wrapped up. > Android has been mostly delivered and the other platforms and stretch > goals are a small piece now. We really have finally cracked this project, > getting it into a build is the last step. > > The reality is that we now need to look at what we are doing next and what > is affordable. If we don?t fund this project, the knock on effects for the > platform will be very significant. We?re already a very small team that > punches well above our weight. We have the potential for a very bright > future with the rather amazing stuff that you can now do. Check out Ali?s > blog post on Android and wait a few more days for more. We can build on > everything we?ve just created and maintain the considerable momentum we > have built or we can shrink. > > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > > > On 05/07/2017, 18:24, "use-livecode on behalf of Dan Brown via > use-livecode" use-livecode at lists.runrev.com> wrote: > > >The comments section on the pledge page gives a good insight as to why > >there may be a feeling of apathy towards this fundraiser > > > >The infinite livecode campaign from last year was not handled well in > >terms > >of communicating progress to the community, with questions about the > >sqlite > >library rewrite remaining unanswered > > > >On Wed, Jul 5, 2017 at 3:51 PM, Mike Kerner via use-livecode < > >use-livecode at lists.runrev.com> wrote: > > > >> Wow. I'm surprised we aren't closer to getting this funded. c'mon > >>y'all > >> let's get this funded! > >> > >> On Sat, Jun 24, 2017 at 5:53 PM, Sannyasin Brahmanathaswami via > >> use-livecode wrote: > >> > >> > I had similar feelings, (I have taken almost every pitch to "pay in > >> > advance for X number of years for this discount or that? ) so when we > >>get > >> > hit up again for development that one would hope would be just part of > >> the > >> > product road map, it does indeed seem odd. Even "advanced smooth > >> scrolling > >> > graphics" seems odd to be funding, since all this is doing is bring > >>the > >> LC > >> > mobile on parity with any other smooth flowing app. > >> > > >> > This is terribly obvious, but just to say it all again: > >> > > >> > Thinking about it, one has to appreciate the challenge the company > >>faces. > >> > Having gone open source, Livecode moves to a world where everyone and > >>his > >> > kid sister thinks programming is free. PHP, Javascript, python, > >> CSS?people > >> > living in those world just don't pay for their tools. > >> > > >> > So if open source users are going up (which apparently they are)? that > >> > doesn't help us (to say the obvious) > >> > > >> > If not enough of them are using LC to build products for sale to > >>support > >> > themselves, OR are not using the tools in-house inside Enterprise > >>(like > >> we > >> > do here, even though we are non -profit we do have software budgets) > >> where > >> > budgets are such that the ROI on paid license(s) is well worth it. > >>And it > >> > would be easy enough for some unscrupulous for-profit company to have > >>5 > >> > coders on community and only one license and pretty much get away with > >> > it?(which is cheating of course)? > >> > > >> > So If the user "pie" of those whose are paying <> equal $ to support > >> the > >> > company and + hours for features, how does LC handle this, to stay > >>alive? > >> > And we all want it to stay alive?right? > >> > > >> > I was hoping to talk to Kevin about some other ideas for solutions? > >>but > >> he > >> > is busy. Perhaps I need to fly to Scotland for tea. In the meantime, I > >> > voted/pledged for the DataGrid2/GraphicsUpgrade. > >> > > >> > Brahmanathaswamai > >> > > >> > > >> > > >> > > >> > On 6/24/17, 7:41 AM, "use-livecode on behalf of Alex Tweedly via > >> > use-livecode" >> > use-livecode at lists.runrev.com> wrote: > >> > > >> > So the Feature Race lets me choose between "Hosting debugger" and > >> > Datagrid 2. > >> > > >> > Hmpphhh! > >> > > >> > > >> > > >> > I have a hard time voting for, or funding, Hosting debugger. I > >> already > >> > paid for that, back in 2009. > >> > > >> > _______________________________________________ > >> > use-livecode mailing list > >> > use-livecode at lists.runrev.com > >> > Please visit this url to subscribe, unsubscribe and manage your > >> > subscription preferences: > >> > http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > >> > >> > >> > >> -- > >> On the first day, God created the heavens and the Earth > >> On the second day, God created the oceans. > >> On the third day, God put the animals on hold for a few hours, > >> and did a little diving. > >> And God said, "This is good." > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 5 15:44:19 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 5 Jul 2017 14:44:19 -0500 Subject: Feature Race: Pick Your Project In-Reply-To: References: <8404b344b09103bf489dd8a9a.ccf34eb596.20170622143113.cc1a8659fc.e1973c57@mail194.atl121.mcsv.net> <7B3FEA0E-7376-479D-A0A3-C3F4BF139571@hindu.org> Message-ID: <3089d8bd-b97f-0676-86df-9fb3e528085b@hyperactivesw.com> Another reason may be the subject title. I'm not sure everyone understands that this feature will improve much more than just datagrids. A subset of users employ datagrids, but everyone needs smooth scrolling in a variety of situations. That's the primary reason I pledged -- I'm not too interested in datagrid performance but the inability to properly scroll fields within groups is big hurdle in almost every project I do. I hope more people jump in because I, for one, really need this feature. The sooner the better. On 7/5/17 1:04 PM, Kevin Miller via use-livecode wrote: > I?m not sure if its apathy or more likely just the holiday weekend. That > said... > > I?m sorry its taken so long to do Infinite LiveCode. As I?ve said in my > keynote, in the comments section and on the blog, we wouldn?t be funding a > new project if it that one wasn?t in the last stages of being wrapped up. > Android has been mostly delivered and the other platforms and stretch > goals are a small piece now. We really have finally cracked this project, > getting it into a build is the last step. > > The reality is that we now need to look at what we are doing next and what > is affordable. If we don?t fund this project, the knock on effects for the > platform will be very significant. We?re already a very small team that > punches well above our weight. We have the potential for a very bright > future with the rather amazing stuff that you can now do. Check out Ali?s > blog post on Android and wait a few more days for more. We can build on > everything we?ve just created and maintain the considerable momentum we > have built or we can shrink. > > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > > > On 05/07/2017, 18:24, "use-livecode on behalf of Dan Brown via > use-livecode" use-livecode at lists.runrev.com> wrote: > >> The comments section on the pledge page gives a good insight as to why >> there may be a feeling of apathy towards this fundraiser -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Wed Jul 5 15:45:03 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Jul 2017 19:45:03 +0000 Subject: Feature Race: Pick Your Project In-Reply-To: <3089d8bd-b97f-0676-86df-9fb3e528085b@hyperactivesw.com> References: <8404b344b09103bf489dd8a9a.ccf34eb596.20170622143113.cc1a8659fc.e1973c57@mail194.atl121.mcsv.net> <7B3FEA0E-7376-479D-A0A3-C3F4BF139571@hindu.org> <3089d8bd-b97f-0676-86df-9fb3e528085b@hyperactivesw.com> Message-ID: <10C0442B-6016-4391-930C-18271EDADAC4@iotecdigital.com> I'm already in. Bob S > On Jul 5, 2017, at 12:44 , J. Landman Gay via use-livecode wrote: > > Another reason may be the subject title. I'm not sure everyone understands that this feature will improve much more than just datagrids. A subset of users employ datagrids, but everyone needs smooth scrolling in a variety of situations. That's the primary reason I pledged -- I'm not too interested in datagrid performance but the inability to properly scroll fields within groups is big hurdle in almost every project I do. > > I hope more people jump in because I, for one, really need this feature. The sooner the better. From jonathandlynch at gmail.com Wed Jul 5 15:48:14 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 5 Jul 2017 15:48:14 -0400 Subject: Which is better for making an android version, Mac or pc? Message-ID: Is it easier to use a Mac or a pc for making android apps? Sent from my iPhone From hh at hyperhh.de Wed Jul 5 17:01:42 2017 From: hh at hyperhh.de (hh) Date: Wed, 5 Jul 2017 23:01:42 +0200 Subject: Feature Race: Pick Your Project Message-ID: > Kevin M. wrote: > I?m not sure if its apathy or more likely just the holiday weekend ... > ... Android has been mostly delivered and the other platforms and stretch > goals are a small piece now. We really have finally cracked this project, > getting it into a build is the last step ... > ... If we don?t fund this project, the knock on effects for the platform > will be very significant ... This sounds rather hard in my ears. In the last two years I pledged, without selling anything, a lot on base of announcements only, like many other users. Now a lot of people would like to see results. Not the announcement of results, but the results itself. Based on good results you will easier and much faster get more funds, not only for "datagrids". People are willing to support LiveCode. To close the gap after showing the results there is certainly still a main part of the HTML5 fund available. From bernd.niggemann at uni-wh.de Wed Jul 5 16:50:40 2017 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 5 Jul 2017 13:50:40 -0700 (PDT) Subject: Feature Race: Pick Your Project In-Reply-To: <10C0442B-6016-4391-930C-18271EDADAC4@iotecdigital.com> References: <7B3FEA0E-7376-479D-A0A3-C3F4BF139571@hindu.org> <3089d8bd-b97f-0676-86df-9fb3e528085b@hyperactivesw.com> <10C0442B-6016-4391-930C-18271EDADAC4@iotecdigital.com> Message-ID: <1499287840911-4716638.post@n4.nabble.com> >> On Jul 5, 2017, at 12:44 , J. Landman Gay via use-livecode < > use-livecode at .runrev > > wrote: > >> A subset of users employ datagrids, but everyone needs smooth scrolling >> in a variety of situations. That's the primary reason I pledged -- That's exactly the reason why I pledged too. I have the feeling that this is not appreciated enough. Lets get smooth scrolling and DataGrid2 on top of it. I just calculated how much money I spend on useless things the last 4 weeks and boy, that is quite some Euros. They are convertible to Dollars nowadays and then to British Pounds also... Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-Feature-Race-Pick-Your-Project-tp4716154p4716638.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Jul 5 17:11:51 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 5 Jul 2017 16:11:51 -0500 Subject: Which is better for making an android version, Mac or pc? In-Reply-To: References: Message-ID: <18909bf7-c6ef-462c-ea9b-e39e0bf4c595@hyperactivesw.com> On 7/5/17 2:48 PM, Jonathan Lynch via use-livecode wrote: > Is it easier to use a Mac or a pc for making android apps? I don't think it matters. I develop on a Mac and have been building all my Android projects on that OS without any trouble. I know others have used PCs without problems too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jonathandlynch at gmail.com Wed Jul 5 19:27:41 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 5 Jul 2017 19:27:41 -0400 Subject: Which is better for making an android version, Mac or pc? In-Reply-To: <18909bf7-c6ef-462c-ea9b-e39e0bf4c595@hyperactivesw.com> References: <18909bf7-c6ef-462c-ea9b-e39e0bf4c595@hyperactivesw.com> Message-ID: Thank you, Jacqueline Sent from my iPhone > On Jul 5, 2017, at 5:11 PM, J. Landman Gay via use-livecode wrote: > >> On 7/5/17 2:48 PM, Jonathan Lynch via use-livecode wrote: >> Is it easier to use a Mac or a pc for making android apps? > > I don't think it matters. I develop on a Mac and have been building all my Android projects on that OS without any trouble. I know others have used PCs without problems too. > > -- > 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 james at thehales.id.au Wed Jul 5 21:48:08 2017 From: james at thehales.id.au (james at thehales.id.au) Date: Thu, 6 Jul 2017 11:48:08 +1000 Subject: Feature Race: Pick Your Project Message-ID: I have to agree with Dan here. The project delays are not really the issue. Sure we want things on time but we all understand that is rare. What I haven't been able to understand is the really bad communication concerning this. I am really happy the android stuff is effectively done. Really I am. But that tells me zip about the obj C stuff and even less (if that's possible) about the actual goals such as the SQLite widget and tutorial. It was great the Kevin chipped in a little info but also quite worrying. He said: > The reality is that we now need to look at what we are doing next and what > is affordable. If we don?t fund this project, the knock on effects for the > platform will be very significant. We?re already a very small team that > punches well above our weight. What!!! Am I missing something here? Is LC9 a side project that is funded in the shadows of other funded projects? Is Kevin saying we need you guys to fund this to keep us going? Why are the knock on effects of an OPTIONAL project not significant but VERY significant? I have to stop now less my imagination runs riot over the possible "very significant" effect of this project not being funded. James From brahma at hindu.org Thu Jul 6 00:05:54 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 6 Jul 2017 04:05:54 +0000 Subject: Peculiar behavior of group objects with hide-lock. show-unlock Message-ID: I have this routine where I am "typsetting" a field which updates with lessons/text? use can forward one lesson at a time. local sLesson is incremented, the script fetch text on disk but I am unable to get nice transition effect? sometimes it's even as if the "image" of the field is cached, even though I set it to empty and the screen updates only if I touch the field or try to scroll I get this on desktop and mobile, both behave the same controls are a background image which is updated and onto of that a semi-translucent back grc group with a text field on top the grc and the text field "daily-lesson-text" are grouped into "lessonTextControl" Given this scenario: command buildLesson pLessonNumber hide grp "lessonTextControl" with visual effect dissolve very fast lock screen put empty into fld "daily-lesson-text" # FETCH FILES here # insert into field, all the while setting type styles to the last line # as the only way I could figure out how to dynamically set type from plain text # then this: # finish with the last bit of text: put cr & (line 6 to -1 of tTodaysMWS) after fld "daily-lesson-text" show grp "lessonTextControl" unlock screen with visual effect Dissolve very fast end buildLesson What happens: is this sequence of visual events 1) goes empty? as if line 3 of the above came first 2) Now the grp (with only the grc) fades 3) there is a brief pause while my typesetting finishes in the background 4) now the bkg grc of grp "lessonTextControl" shows 5) but text does not appear, until I touch the field.. the "pop" it is rendered. I suspect this is a) buggy but b) work--aroundable but I can't find the way. swapping the hide and lock doesn't help # finish with the rest of text put cr & (line 6 to -1 of tTodaysMWS) after fld "daily-lesson-text" unlock screen show grp "lessonTextControl" with visual effect dissolve very fast end buildLesson the text appear briefly but then disappears until I touch it. this doesn't work either # don't us lock: on buildlesson hide grp "lessonTextControl" with visual effect dissolve very slowly put empty into fld "daily-lesson-text" # this happens before the above # then only does the background graphic fade # set type here # then simply show grp "lessonTextControl" with visual effect dissolve very fast. the text field is never updated on screen until I touch the field. ?? what am I missing? The first dissolve of the grc never happens as the lock screen occurs almost immediately. but the text filed is empty? but the lock field trumps the visual effect. then later the field never updates, the show should Svasti Astu, Be Well Brahmanathaswami www.himalayanacademy.com From bdrunrev at gmail.com Thu Jul 6 01:45:27 2017 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 6 Jul 2017 06:45:27 +0100 Subject: debugging a CEF browser instance In-Reply-To: References: <02855171-0054-47B0-9056-4D44DD3217CF@gmail.com> Message-ID: Replying to myself, for anyone else who thinks it ought to be possible to debug a browser widget. Ability to debug has been deliberately turned off. https://github.com/livecode/livecode/commit/ccfab94499425b6245f98b3328ebd043876f9be7 From jonathandlynch at gmail.com Thu Jul 6 02:39:48 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 02:39:48 -0400 Subject: debugging a CEF browser instance In-Reply-To: References: <02855171-0054-47B0-9056-4D44DD3217CF@gmail.com> Message-ID: <3DC64DB3-1D14-4816-93F5-A16D3D2F0B66@gmail.com> Why? Sent from my iPhone > On Jul 6, 2017, at 1:45 AM, Bernard Devlin via use-livecode wrote: > > Replying to myself, for anyone else who thinks it ought to be possible to > debug a browser widget. > > Ability to debug has been deliberately turned off. > https://github.com/livecode/livecode/commit/ccfab94499425b6245f98b3328ebd043876f9be7 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Thu Jul 6 02:46:48 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 02:46:48 -0400 Subject: Crashing when I try to make a Mac standalone Message-ID: <22B3C993-35E4-4088-9DC0-4F2F791DFB8B@gmail.com> When I try to make a standalone for Mac in version 8.1.5 RC 2 it crashes at the moment where it tries to include externals. Has anyone else seen this or know what I should be looking out for? Sent from my iPhone From alanstenhouse at hotmail.com Thu Jul 6 02:52:21 2017 From: alanstenhouse at hotmail.com (Alan) Date: Thu, 6 Jul 2017 06:52:21 +0000 Subject: mobile - fullscreenmode "exactFit" Message-ID: On mobile, shouldn't set the fullscreenmode of this stack to "exactFit" scale the stack so that it fits on, and fills, the mobile screen? I seem to having problems with this using LC9dp7 currently. Also have an unrelated problem with a menuButton option called "Dead" not being passed through when selected, though the "Alive" one is successfully on the same button. Weird. Perhaps time to re-boot... Ideas? cheers Alan :-) From jonathandlynch at gmail.com Thu Jul 6 02:54:20 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 02:54:20 -0400 Subject: Crashing when I try to make a Mac standalone In-Reply-To: <22B3C993-35E4-4088-9DC0-4F2F791DFB8B@gmail.com> References: <22B3C993-35E4-4088-9DC0-4F2F791DFB8B@gmail.com> Message-ID: Following up - it seems to create the standalone and then crash. At least it created the standalone, but that crash makes me nervous. Sent from my iPhone > On Jul 6, 2017, at 2:46 AM, jonathandlynch at gmail.com wrote: > > When I try to make a standalone for Mac in version 8.1.5 RC 2 it crashes at the moment where it tries to include externals. > > Has anyone else seen this or know what I should be looking out for? > > Sent from my iPhone From th.douez at gmail.com Thu Jul 6 02:57:49 2017 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 6 Jul 2017 08:57:49 +0200 Subject: Crashing when I try to make a Mac standalone In-Reply-To: References: <22B3C993-35E4-4088-9DC0-4F2F791DFB8B@gmail.com> Message-ID: 2017-07-06 8:54 GMT+02:00 Jonathan Lynch: > Following up - it seems to create the standalone and then crash. > Sent from my iPhone > > > On Jul 6, 2017, at 2:46 AM, jonathandlynch at gmail.com wrote: > > > > When I try to make a standalone for Mac in version 8.1.5 RC 2 > it crashes at the moment where it tries to include externals. > > Just a guess; might be RC 3 would help... Regards, Thierry? -- ------------------------------------------------ Thierry Douez - sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From jonathandlynch at gmail.com Thu Jul 6 03:00:54 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 03:00:54 -0400 Subject: Crashing when I try to make a Mac standalone In-Reply-To: References: <22B3C993-35E4-4088-9DC0-4F2F791DFB8B@gmail.com> Message-ID: <871347D3-7D61-427F-AAE5-EC1C460366F1@gmail.com> I will try tc 3 - just need to hack the plist again Sent from my iPhone > On Jul 6, 2017, at 2:57 AM, Thierry Douez via use-livecode wrote: > > 2017-07-06 8:54 GMT+02:00 Jonathan Lynch: > >> Following up - it seems to create the standalone and then crash. > > >> Sent from my iPhone >> >>> On Jul 6, 2017, at 2:46 AM, jonathandlynch at gmail.com wrote: >>> >>> When I try to make a standalone for Mac in version 8.1.5 RC 2 >> > it crashes at the moment where it tries to include externals. >> >> > Just a guess; might be RC 3 would help... > > > Regards, > > Thierry > > -- > ------------------------------------------------ > Thierry Douez - sunny-tdz.com > sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Thu Jul 6 03:28:42 2017 From: mark at livecode.com (Mark Waddingham) Date: Thu, 06 Jul 2017 09:28:42 +0200 Subject: debugging a CEF browser instance In-Reply-To: <3DC64DB3-1D14-4816-93F5-A16D3D2F0B66@gmail.com> References: <02855171-0054-47B0-9056-4D44DD3217CF@gmail.com> <3DC64DB3-1D14-4816-93F5-A16D3D2F0B66@gmail.com> Message-ID: <557a17a10bf56b6af63d11c668f89d86@livecode.com> On 2017-07-06 08:39, Jonathan Lynch via use-livecode wrote: > Why? In general there is a cost to logging - particularly CEF's which is very verbose. On Windows you might not notice (as stdout/stderr output is generally dumped to the equivalent of /dev/null), but on Linux if you happen to be working from the command-line and running UI stuff using the browser widget from there then you'll find your terminal flooded with CEF logging (and I mean flooded!). I don't think anyone has asked specifically about having it configurable before now - although I noticed it would be useful last month (http://quality.livecode.com/show_bug.cgi?id=19862) whilst attempting to figure out why the browser widget only works on *some* linux installs (seems to be somewhat independent of distribution - the workarounds some people have found with regards the locale don't seem to work anymore). Unfortunately, we aren't any closer to solving the linux problem... After at least three of us spending more hours than I'd care to comment on trying to figure out what is happening there, we're working through a couple of tasks so that we can more easily update CEF to the latest version. In particular, making it so that we can build our 'prebuilts' (currently ICU, OpenSSL and Curl) on vulcan (doing it manually is arduous and intensely error prone). We can then move the building of the CEF library component to a prebuilt and automate its generation based on a version tag (we can thank Spotify for taking over the management of binary releases of CEF - http://opensource.spotify.com/cefbuilds/index.html - as they've made it much much easier). So we're currently involved in a (small) yak-shave in this regard... Although one which will also mean we can solve a couple of other issues - the size of ICU data (has anyone noticed that the 9 engines are somewhat bigger than 8? That's down in good part to the ICU data), and also the several minute increase per platform in build time due to the Skia update. I also hope that this means that over time we can eliminate the thirdparty submodule entirely - which would be one less point of friction in our source base. Incidentally, Bernard and Jonathon - I take it you are using the browser widget on Windows? (The reason I ask that is because CEF is only used on Windows and Linux - Mac/Android and iOS all use the built-in browser - all three are WebKit derived, like CEF). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jonathandlynch at gmail.com Thu Jul 6 03:44:34 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 03:44:34 -0400 Subject: debugging a CEF browser instance In-Reply-To: <557a17a10bf56b6af63d11c668f89d86@livecode.com> References: <02855171-0054-47B0-9056-4D44DD3217CF@gmail.com> <3DC64DB3-1D14-4816-93F5-A16D3D2F0B66@gmail.com> <557a17a10bf56b6af63d11c668f89d86@livecode.com> Message-ID: I am just using CEF on windows, in the browser widget. I have zero knowledge of Linux and so I am a bit hesitant to attempt that. My app leans heavily on the browser widget, so I guess Linux is not yet an option. Is Linux a big market for casual users? Anyway, I just think it would be nice to see which JS errors we are producing. Shrugs - I have done okay with just testing line-by-line as I go. Sent from my iPhone > On Jul 6, 2017, at 3:28 AM, Mark Waddingham via use-livecode wrote: > >> On 2017-07-06 08:39, Jonathan Lynch via use-livecode wrote: >> Why? > > In general there is a cost to logging - particularly CEF's which is very verbose. On Windows you might not notice (as stdout/stderr output is generally dumped to the equivalent of /dev/null), but on Linux if you happen to be working from the command-line and running UI stuff using the browser widget from there then you'll find your terminal flooded with CEF logging (and I mean flooded!). > > I don't think anyone has asked specifically about having it configurable before now - although I noticed it would be useful last month (http://quality.livecode.com/show_bug.cgi?id=19862) whilst attempting to figure out why the browser widget only works on *some* linux installs (seems to be somewhat independent of distribution - the workarounds some people have found with regards the locale don't seem to work anymore). > > Unfortunately, we aren't any closer to solving the linux problem... After at least three of us spending more hours than I'd care to comment on trying to figure out what is happening there, we're working through a couple of tasks so that we can more easily update CEF to the latest version. > > In particular, making it so that we can build our 'prebuilts' (currently ICU, OpenSSL and Curl) on vulcan (doing it manually is arduous and intensely error prone). We can then move the building of the CEF library component to a prebuilt and automate its generation based on a version tag (we can thank Spotify for taking over the management of binary releases of CEF - http://opensource.spotify.com/cefbuilds/index.html - as they've made it much much easier). > > So we're currently involved in a (small) yak-shave in this regard... Although one which will also mean we can solve a couple of other issues - the size of ICU data (has anyone noticed that the 9 engines are somewhat bigger than 8? That's down in good part to the ICU data), and also the several minute increase per platform in build time due to the Skia update. I also hope that this means that over time we can eliminate the thirdparty submodule entirely - which would be one less point of friction in our source base. > > Incidentally, Bernard and Jonathon - I take it you are using the browser widget on Windows? (The reason I ask that is because CEF is only used on Windows and Linux - Mac/Android and iOS all use the built-in browser - all three are WebKit derived, like CEF). > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Thu Jul 6 03:49:51 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 03:49:51 -0400 Subject: Codesigning a Mac desktop version Message-ID: <31DA55BB-558C-48C0-853C-E7896F50330D@gmail.com> I am not sure which parts we need to sign. Is it just the app bundle, the zipped file, plugins within the app bundle? If anyone has done this, which parts do you sign to avoid warnings from the gatekeeper? Thanks, J Sent from my iPhone From merakosp at gmail.com Thu Jul 6 04:01:37 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 6 Jul 2017 09:01:37 +0100 Subject: fonts v8 vs v9 In-Reply-To: References: Message-ID: Hi Tom, In LiveCode 9.0 DP-7 we have updated the version of the Skia library (which is used for font rendering). But this should not make all fonts look bolded. If this is the case for you, can you file a bug report ( http://quality.livecode.com) so as we investigate further? Best, Panos -- On Wed, Jul 5, 2017 at 7:45 PM, Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi everyone > > Does anyone know what changed in version 9 to make all fonts look bolded ? > the font of the ide seems slightly different too. font inside my > application...big difference. > > Thanks > > Tom > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jonathandlynch at gmail.com Thu Jul 6 04:16:16 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 04:16:16 -0400 Subject: Codesigning a Mac desktop version In-Reply-To: <31DA55BB-558C-48C0-853C-E7896F50330D@gmail.com> References: <31DA55BB-558C-48C0-853C-E7896F50330D@gmail.com> Message-ID: I tried using Trevor Devore' codesigning stack, which is a very nice contribution to the community. I am getting a complaint about unsealed contents present in the bundle root. Does anyone know what the issue is? Sent from my iPhone > On Jul 6, 2017, at 3:49 AM, jonathandlynch at gmail.com wrote: > > I am not sure which parts we need to sign. Is it just the app bundle, the zipped file, plugins within the app bundle? > > If anyone has done this, which parts do you sign to avoid warnings from the gatekeeper? > > Thanks, > J > > Sent from my iPhone From toolbook at kestner.de Thu Jul 6 04:54:06 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 6 Jul 2017 10:54:06 +0200 Subject: AW: Codesigning a Mac desktop version In-Reply-To: References: <31DA55BB-558C-48C0-853C-E7896F50330D@gmail.com> Message-ID: <005301d2f635$6d8f8eb0$48aeac10$@kestner.de> I am not sure if it was this message, but sometimes I have to codesign the same bundle twice until it works. Trevors tool has a recursion, to sign all bundles, which are perhaps included in your bundle, but sometimes it "feels" (I don't know exactly what happens), like this recursion doesn't digs deep enough the first time, but reaches all content the second time. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Jonathan Lynch via use-livecode Gesendet: Donnerstag, 6. Juli 2017 10:16 An: use-livecode at lists.runrev.com Cc: jonathandlynch at gmail.com Betreff: Re: Codesigning a Mac desktop version I tried using Trevor Devore' codesigning stack, which is a very nice contribution to the community. I am getting a complaint about unsealed contents present in the bundle root. Does anyone know what the issue is? Sent from my iPhone > On Jul 6, 2017, at 3:49 AM, jonathandlynch at gmail.com wrote: > > I am not sure which parts we need to sign. Is it just the app bundle, the zipped file, plugins within the app bundle? > > If anyone has done this, which parts do you sign to avoid warnings from the gatekeeper? > > Thanks, > J > > Sent from my iPhone _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Thu Jul 6 05:13:16 2017 From: hh at hyperhh.de (hh) Date: Thu, 6 Jul 2017 11:13:16 +0200 Subject: Feature Race: Pick Your Project Message-ID: Reading the description once again, this should be titled: *** Faster Graphics in LiveCode (especially DataGrid 2) *** That is: Everybody who uses the Graphical user interface will profit if that work is done. Sadly: I don't think the goal will be reached in 10 hours from 51% to 100%. 117 backers only (!) at the moment, 100 more backers with the average pledge are needed. p.s. To avoid any misunderstanding: I pledged once again more than the average. But I still think after having the results of Infinite LiveCode such a sum would be funded in one day. From jonathandlynch at gmail.com Thu Jul 6 05:24:02 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 05:24:02 -0400 Subject: AW: Codesigning a Mac desktop version In-Reply-To: <005301d2f635$6d8f8eb0$48aeac10$@kestner.de> References: <31DA55BB-558C-48C0-853C-E7896F50330D@gmail.com> <005301d2f635$6d8f8eb0$48aeac10$@kestner.de> Message-ID: <7ABF53CE-6C33-4366-82D8-2B6583B555E4@gmail.com> I tried running it again, but same result The file it has an issue with is the core unix executable. That means something in my app is offending the codesigning terminal app, but it does not tell me what. I don't even know if it is my controls or the engine. I could probably figure it out with many hours of testing... Sigh Sent from my iPhone > On Jul 6, 2017, at 4:54 AM, Tiemo Hollmann TB via use-livecode wrote: > > I am not sure if it was this message, but sometimes I have to codesign the > same bundle twice until it works. Trevors tool has a recursion, to sign all > bundles, which are perhaps included in your bundle, but sometimes it "feels" > (I don't know exactly what happens), like this recursion doesn't digs deep > enough the first time, but reaches all content the second time. > Tiemo > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Jonathan Lynch via use-livecode > Gesendet: Donnerstag, 6. Juli 2017 10:16 > An: use-livecode at lists.runrev.com > Cc: jonathandlynch at gmail.com > Betreff: Re: Codesigning a Mac desktop version > > I tried using Trevor Devore' codesigning stack, which is a very nice > contribution to the community. I am getting a complaint about unsealed > contents present in the bundle root. > > Does anyone know what the issue is? > > Sent from my iPhone > >> On Jul 6, 2017, at 3:49 AM, jonathandlynch at gmail.com wrote: >> >> I am not sure which parts we need to sign. Is it just the app bundle, the > zipped file, plugins within the app bundle? >> >> If anyone has done this, which parts do you sign to avoid warnings from > the gatekeeper? >> >> Thanks, >> J >> >> Sent from my iPhone > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Thu Jul 6 05:49:58 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 6 Jul 2017 11:49:58 +0200 Subject: AW: can I lock screen over more than one handler? In-Reply-To: <005f01d2f5ae$26b44a30$741cde90$@kestner.de> References: <002d01d2f584$28079740$7816c5c0$@kestner.de> <004e01d2f596$97785170$c668f450$@kestner.de> <005a01d2f5a5$44e912a0$cebb37e0$@kestner.de> <65F8F6A3-0C5F-4E17-AF65-4C96199E3E3F@mac.com> <005f01d2f5ae$26b44a30$741cde90$@kestner.de> Message-ID: <006301d2f63d$3b9cdea0$b2d69be0$@kestner.de> I think I now tried all combinations with a separate frameless browser for the player object, with and without locking the screen and locking the mesages, but the behavior of the player object and it's control over the main window frame obviously can't be controlled by LiveCode (at least not by me). Am I right that I don't have control over the colour of the main window frame? Perhaps I'll find a tweak tool for Windows 8, to give it the look & feel of Windows 10, which I can recommend my customers, where the flickering isn't that distracting. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Mittwoch, 5. Juli 2017 18:46 An: 'How to use LiveCode' Cc: Tiemo Hollmann TB Betreff: AW: can I lock screen over more than one handler? Hi Randy, it worked out that the issue wasn't related to the design of two handlers and it was only the single statement for setting the filename to the player object in one handler. But it seems, I can't suppress the loosing and reassigning of the focus of the main window when setting the filename. With and without locking the screen. What I didn't tried yet is placing the player object into an own window without title bar and frame. I don't know, how that looks on Windows 8, but perhaps I can keep the flickering off the main window with that approach. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Randy Hengst via use-livecode Gesendet: Mittwoch, 5. Juli 2017 17:56 An: How to use LiveCode Cc: Randy Hengst Betreff: Re: can I lock screen over more than one handler? It?s been a long time since I?ve messed with player objects? but what about putting both of the handlers into a ?run? handler: on runMyHandlers LOCK SCREEN handler1 handler2 UNLOCK Screen end runMyHandlers > On Jul 5, 2017, at 10:42 AM, Tiemo Hollmann TB via use-livecode wrote: > > Jonathan had a tricky idea to work with two player objects switching > between them with hiding and showing them and doing the assignment of > the filename with the currently hidden player, even with locking the > screen at the beginning of the handler. > It's a pitty, but the flickering of the whole window frame keeps the same. > The directShow video engine must be somehow totally dominant. > Any other tricky idea? > Tiemo > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Tiemo Hollmann TB via use-livecode > Gesendet: Mittwoch, 5. Juli 2017 15:57 > An: 'How to use LiveCode' > Cc: Tiemo Hollmann TB > Betreff: AW: can I lock screen over more than one handler? > > Thanks Jonathan, Trevor and Sean for your comments. > > Meanwhile I could drill down my "flickering" problem (post from > yesterday) to an unexpected command. > In one of those handlers I "set the filename of player "myVideoPlayer" > to tFile". This command withdraws the focus from the window and passes > it back after some milliseconds. On my Win 10 machine with a white > window title bar I almost can't see it, but on Win 8 with the standard > violet title bar it is an ugly flickering, each time I set the > filename (which happens very frequently in a quiz loop). > > And I can't prevent this flickering with a lock screen right before > the setting of the filename. The setting of the filename seems to > release the lock screen or it takes the focus of the window off and > back. Very ugly in my case. > > Tiemo > > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Sean Cole (Pi) via use-livecode > Gesendet: Mittwoch, 5. Juli 2017 15:30 > An: How to use LiveCode > Cc: Sean Cole (Pi) > Betreff: Re: can I lock screen over more than one handler? > > Hi Tiemo, > The solution here is to call another lockScreen at the beginning of > handler2. You don't have to use the unlockScreen at the end of handler > 1 and > 2 as it will do that automatically but it is advisable to include the > command anyway. Is there a reason why you had an aversion to using a > lockScreen at the start of handler2? > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > > On 5 July 2017 at 14:09, Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> >>> Is this possible? >>> >>> on handler1 >>> >>> lock screen >>> >>> -- do some stuff here >>> >>> send "handler2" in 0 milliseconds >>> >>> end handler1 >>> >>> >>> >>> on handler2 >>> >>> -- do some other stuff here >>> >>> unlock screen >>> >>> end handler2 >>> >> >> No it is not. From the docs for `lock screen`: >> >> "When all pending handlers are finished executing, the lockScreen >> property is set back to false and the user sees the current state of >> stack windows on the screen." >> >> The use of the word "pending" is confusing because when you use >> `send` you end up with an entry in the `pendingMessages`. But the >> screen is going to be unlocked each time through the event loop. If >> `handler` called `handler2` directly (without using `send`) then you >> would not see the screen update. You should see the result you are >> looking for if you change your code to look like this: >> >> ``` >> on handler1 >> lock screen >> >> -- do some stuff here >> >> handler2 >> end handler1 >> ``` >> >> If you need to call `handler2` in time then you will need to figure >> out another approach to updating the screen. Perhaps all screen >> updates will need to happen in `handler2`. >> >> -- >> Trevor DeVore >> ScreenSteps >> www.screensteps.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Jul 6 06:01:12 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 6 Jul 2017 13:01:12 +0300 Subject: Saturated fat Message-ID: <9fa246ba-3e9c-180e-00d6-d107df456c84@gmail.com> Downloading the Mac Community version of LC 8.1.3 rc 3 I reflected on the fact that it is 10 times the size of LC 4.5. This in itself is not a bad thing as it is packed full of all sorts of stuff (eg. the Unicode magic) that LC 4.5 was not. What is does mean though is that ALL standalones are on the fat side nowadays. Now I know all about the inclusions/exclusions settings, but even with "everything" excluded standalones are still fatter than they used to be by quite a bit. Why do I have a feeling that at one point there was some discussion about making the LC "thang" even more modular so that one could make "trim" standalones? Richmond. From richmondmathewson at gmail.com Thu Jul 6 06:05:38 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 6 Jul 2017 13:05:38 +0300 Subject: AW: can I lock screen over more than one handler? In-Reply-To: <006301d2f63d$3b9cdea0$b2d69be0$@kestner.de> References: <002d01d2f584$28079740$7816c5c0$@kestner.de> <004e01d2f596$97785170$c668f450$@kestner.de> <005a01d2f5a5$44e912a0$cebb37e0$@kestner.de> <65F8F6A3-0C5F-4E17-AF65-4C96199E3E3F@mac.com> <005f01d2f5ae$26b44a30$741cde90$@kestner.de> <006301d2f63d$3b9cdea0$b2d69be0$@kestner.de> Message-ID: <34e8e227-0cde-44f3-70eb-7ae41a527c24@gmail.com> I wonder if you cannot manage to lock the screen over more than one handler by calling the second handler from within the first one? For instance: on mouseDown set the lockscreen to true put "screen locked" send "mouseStillDown" to me wait 10 ticks set the lockscreen to false end mouseDown on mouseStillDown put "pigs have wings" end mouseStillDown Just a thought. Richmond. On 7/6/17 12:49 pm, Tiemo Hollmann TB via use-livecode wrote: > I think I now tried all combinations with a separate frameless browser for the player object, with and without locking the screen and locking the mesages, but the behavior of the player object and it's control over the main window frame obviously can't be controlled by LiveCode (at least not by me). > Am I right that I don't have control over the colour of the main window frame? Perhaps I'll find a tweak tool for Windows 8, to give it the look & feel of Windows 10, which I can recommend my customers, where the flickering isn't that distracting. > Tiemo > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode > Gesendet: Mittwoch, 5. Juli 2017 18:46 > An: 'How to use LiveCode' > Cc: Tiemo Hollmann TB > Betreff: AW: can I lock screen over more than one handler? > > Hi Randy, > it worked out that the issue wasn't related to the design of two handlers and it was only the single statement for setting the filename to the player object in one handler. But it seems, I can't suppress the loosing and reassigning of the focus of the main window when setting the filename. With and without locking the screen. > What I didn't tried yet is placing the player object into an own window without title bar and frame. I don't know, how that looks on Windows 8, but perhaps I can keep the flickering off the main window with that approach. > Tiemo > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Randy Hengst via use-livecode > Gesendet: Mittwoch, 5. Juli 2017 17:56 > An: How to use LiveCode > Cc: Randy Hengst > Betreff: Re: can I lock screen over more than one handler? > > It?s been a long time since I?ve messed with player objects? but what about putting both of the handlers into a ?run? handler: > > on runMyHandlers > LOCK SCREEN > handler1 > handler2 > UNLOCK Screen > end runMyHandlers > >> On Jul 5, 2017, at 10:42 AM, Tiemo Hollmann TB via use-livecode wrote: >> >> Jonathan had a tricky idea to work with two player objects switching >> between them with hiding and showing them and doing the assignment of >> the filename with the currently hidden player, even with locking the >> screen at the beginning of the handler. >> It's a pitty, but the flickering of the whole window frame keeps the same. >> The directShow video engine must be somehow totally dominant. >> Any other tricky idea? >> Tiemo >> >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >> Auftrag von Tiemo Hollmann TB via use-livecode >> Gesendet: Mittwoch, 5. Juli 2017 15:57 >> An: 'How to use LiveCode' >> Cc: Tiemo Hollmann TB >> Betreff: AW: can I lock screen over more than one handler? >> >> Thanks Jonathan, Trevor and Sean for your comments. >> >> Meanwhile I could drill down my "flickering" problem (post from >> yesterday) to an unexpected command. >> In one of those handlers I "set the filename of player "myVideoPlayer" >> to tFile". This command withdraws the focus from the window and passes >> it back after some milliseconds. On my Win 10 machine with a white >> window title bar I almost can't see it, but on Win 8 with the standard >> violet title bar it is an ugly flickering, each time I set the >> filename (which happens very frequently in a quiz loop). >> >> And I can't prevent this flickering with a lock screen right before >> the setting of the filename. The setting of the filename seems to >> release the lock screen or it takes the focus of the window off and >> back. Very ugly in my case. >> >> Tiemo >> >> >> >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >> Auftrag von Sean Cole (Pi) via use-livecode >> Gesendet: Mittwoch, 5. Juli 2017 15:30 >> An: How to use LiveCode >> Cc: Sean Cole (Pi) >> Betreff: Re: can I lock screen over more than one handler? >> >> Hi Tiemo, >> The solution here is to call another lockScreen at the beginning of >> handler2. You don't have to use the unlockScreen at the end of handler >> 1 and >> 2 as it will do that automatically but it is advisable to include the >> command anyway. Is there a reason why you had an aversion to using a >> lockScreen at the start of handler2? >> >> All the best >> >> Sean Cole >> *Pi Digital Productions Ltd* >> >> On 5 July 2017 at 14:09, Trevor DeVore via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Is this possible? >>>> >>>> on handler1 >>>> >>>> lock screen >>>> >>>> -- do some stuff here >>>> >>>> send "handler2" in 0 milliseconds >>>> >>>> end handler1 >>>> >>>> >>>> >>>> on handler2 >>>> >>>> -- do some other stuff here >>>> >>>> unlock screen >>>> >>>> end handler2 >>>> >>> No it is not. From the docs for `lock screen`: >>> >>> "When all pending handlers are finished executing, the lockScreen >>> property is set back to false and the user sees the current state of >>> stack windows on the screen." >>> >>> The use of the word "pending" is confusing because when you use >>> `send` you end up with an entry in the `pendingMessages`. But the >>> screen is going to be unlocked each time through the event loop. If >>> `handler` called `handler2` directly (without using `send`) then you >>> would not see the screen update. You should see the result you are >>> looking for if you change your code to look like this: >>> >>> ``` >>> on handler1 >>> lock screen >>> >>> -- do some stuff here >>> >>> handler2 >>> end handler1 >>> ``` >>> >>> If you need to call `handler2` in time then you will need to figure >>> out another approach to updating the screen. Perhaps all screen >>> updates will need to happen in `handler2`. >>> >>> -- >>> Trevor DeVore >>> ScreenSteps >>> www.screensteps.com >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Thu Jul 6 06:51:47 2017 From: mark at livecode.com (Mark Waddingham) Date: Thu, 06 Jul 2017 12:51:47 +0200 Subject: Saturated fat In-Reply-To: <9fa246ba-3e9c-180e-00d6-d107df456c84@gmail.com> References: <9fa246ba-3e9c-180e-00d6-d107df456c84@gmail.com> Message-ID: <320eae070e37deca8d961d8b7cef4620@livecode.com> On 2017-07-06 12:01, Richmond Mathewson via use-livecode wrote: > Why do I have a feeling that at one point there was some discussion > about making the LC "thang" even more modular so that one > could make "trim" standalones? The download size of the DMG/installer has ballooned because of all the prebuilt engines which are now included (two for linux, essentially two for mac, one for windows, one for android, six or so for iOS). There are also a lot more externals (again repeated for each platform) - especially in Indy and Business. Unicode data is probably responsible for most of the difference in engine size between 4.5 and 8. In 9 the situation has got slightly worse for now - all engines currently include the FULL ICU data which is something like 10-15Mb. We're currently working on reducing this though. We are still working towards modularization - however we aren't there yet. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jonathandlynch at gmail.com Thu Jul 6 06:52:20 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 06:52:20 -0400 Subject: AW: can I lock screen over more than one handler? In-Reply-To: <34e8e227-0cde-44f3-70eb-7ae41a527c24@gmail.com> References: <002d01d2f584$28079740$7816c5c0$@kestner.de> <004e01d2f596$97785170$c668f450$@kestner.de> <005a01d2f5a5$44e912a0$cebb37e0$@kestner.de> <65F8F6A3-0C5F-4E17-AF65-4C96199E3E3F@mac.com> <005f01d2f5ae$26b44a30$741cde90$@kestner.de> <006301d2f63d$3b9cdea0$b2d69be0$@kestner.de> <34e8e227-0cde-44f3-70eb-7ae41a527c24@gmail.com> Message-ID: <6A694131-A257-4F73-810C-F558DD7E6731@gmail.com> Tiemo, have you tried using a browser widget instead? Sent from my iPhone > On Jul 6, 2017, at 6:05 AM, Richmond Mathewson via use-livecode wrote: > > I wonder if you cannot manage to lock the screen over more than one handler by calling > the second handler from within the first one? > > For instance: > > on mouseDown > set the lockscreen to true > put "screen locked" > send "mouseStillDown" to me > wait 10 ticks > set the lockscreen to false > end mouseDown > > on mouseStillDown > put "pigs have wings" > end mouseStillDown > > Just a thought. > > Richmond. > >> On 7/6/17 12:49 pm, Tiemo Hollmann TB via use-livecode wrote: >> I think I now tried all combinations with a separate frameless browser for the player object, with and without locking the screen and locking the mesages, but the behavior of the player object and it's control over the main window frame obviously can't be controlled by LiveCode (at least not by me). >> Am I right that I don't have control over the colour of the main window frame? Perhaps I'll find a tweak tool for Windows 8, to give it the look & feel of Windows 10, which I can recommend my customers, where the flickering isn't that distracting. >> Tiemo >> >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode >> Gesendet: Mittwoch, 5. Juli 2017 18:46 >> An: 'How to use LiveCode' >> Cc: Tiemo Hollmann TB >> Betreff: AW: can I lock screen over more than one handler? >> >> Hi Randy, >> it worked out that the issue wasn't related to the design of two handlers and it was only the single statement for setting the filename to the player object in one handler. But it seems, I can't suppress the loosing and reassigning of the focus of the main window when setting the filename. With and without locking the screen. >> What I didn't tried yet is placing the player object into an own window without title bar and frame. I don't know, how that looks on Windows 8, but perhaps I can keep the flickering off the main window with that approach. >> Tiemo >> >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Randy Hengst via use-livecode >> Gesendet: Mittwoch, 5. Juli 2017 17:56 >> An: How to use LiveCode >> Cc: Randy Hengst >> Betreff: Re: can I lock screen over more than one handler? >> >> It?s been a long time since I?ve messed with player objects? but what about putting both of the handlers into a ?run? handler: >> >> on runMyHandlers >> LOCK SCREEN >> handler1 >> handler2 >> UNLOCK Screen >> end runMyHandlers >> >>> On Jul 5, 2017, at 10:42 AM, Tiemo Hollmann TB via use-livecode wrote: >>> >>> Jonathan had a tricky idea to work with two player objects switching >>> between them with hiding and showing them and doing the assignment of >>> the filename with the currently hidden player, even with locking the >>> screen at the beginning of the handler. >>> It's a pitty, but the flickering of the whole window frame keeps the same. >>> The directShow video engine must be somehow totally dominant. >>> Any other tricky idea? >>> Tiemo >>> >>> -----Urspr?ngliche Nachricht----- >>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >>> Auftrag von Tiemo Hollmann TB via use-livecode >>> Gesendet: Mittwoch, 5. Juli 2017 15:57 >>> An: 'How to use LiveCode' >>> Cc: Tiemo Hollmann TB >>> Betreff: AW: can I lock screen over more than one handler? >>> >>> Thanks Jonathan, Trevor and Sean for your comments. >>> >>> Meanwhile I could drill down my "flickering" problem (post from >>> yesterday) to an unexpected command. >>> In one of those handlers I "set the filename of player "myVideoPlayer" >>> to tFile". This command withdraws the focus from the window and passes >>> it back after some milliseconds. On my Win 10 machine with a white >>> window title bar I almost can't see it, but on Win 8 with the standard >>> violet title bar it is an ugly flickering, each time I set the >>> filename (which happens very frequently in a quiz loop). >>> >>> And I can't prevent this flickering with a lock screen right before >>> the setting of the filename. The setting of the filename seems to >>> release the lock screen or it takes the focus of the window off and >>> back. Very ugly in my case. >>> >>> Tiemo >>> >>> >>> >>> -----Urspr?ngliche Nachricht----- >>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >>> Auftrag von Sean Cole (Pi) via use-livecode >>> Gesendet: Mittwoch, 5. Juli 2017 15:30 >>> An: How to use LiveCode >>> Cc: Sean Cole (Pi) >>> Betreff: Re: can I lock screen over more than one handler? >>> >>> Hi Tiemo, >>> The solution here is to call another lockScreen at the beginning of >>> handler2. You don't have to use the unlockScreen at the end of handler >>> 1 and >>> 2 as it will do that automatically but it is advisable to include the >>> command anyway. Is there a reason why you had an aversion to using a >>> lockScreen at the start of handler2? >>> >>> All the best >>> >>> Sean Cole >>> *Pi Digital Productions Ltd* >>> >>> On 5 July 2017 at 14:09, Trevor DeVore via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Is this possible? >>>>> >>>>> on handler1 >>>>> >>>>> lock screen >>>>> >>>>> -- do some stuff here >>>>> >>>>> send "handler2" in 0 milliseconds >>>>> >>>>> end handler1 >>>>> >>>>> >>>>> >>>>> on handler2 >>>>> >>>>> -- do some other stuff here >>>>> >>>>> unlock screen >>>>> >>>>> end handler2 >>>>> >>>> No it is not. From the docs for `lock screen`: >>>> >>>> "When all pending handlers are finished executing, the lockScreen >>>> property is set back to false and the user sees the current state of >>>> stack windows on the screen." >>>> >>>> The use of the word "pending" is confusing because when you use >>>> `send` you end up with an entry in the `pendingMessages`. But the >>>> screen is going to be unlocked each time through the event loop. If >>>> `handler` called `handler2` directly (without using `send`) then you >>>> would not see the screen update. You should see the result you are >>>> looking for if you change your code to look like this: >>>> >>>> ``` >>>> on handler1 >>>> lock screen >>>> >>>> -- do some stuff here >>>> >>>> handler2 >>>> end handler1 >>>> ``` >>>> >>>> If you need to call `handler2` in time then you will need to figure >>>> out another approach to updating the screen. Perhaps all screen >>>> updates will need to happen in `handler2`. >>>> >>>> -- >>>> Trevor DeVore >>>> ScreenSteps >>>> www.screensteps.com >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Thu Jul 6 07:34:30 2017 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 6 Jul 2017 12:34:30 +0100 Subject: Feature Race: Pick Your Project In-Reply-To: References: <8404b344b09103bf489dd8a9a.ccf34eb596.20170622143113.cc1a8659fc.e1973c57@mail194.atl121.mcsv.net> <7B3FEA0E-7376-479D-A0A3-C3F4BF139571@hindu.org> Message-ID: On 5 July 2017 at 19:04, Kevin Miller via use-livecode < use-livecode at lists.runrev.com> wrote: > The reality is that we now need to look at what we are doing next and what > is affordable. If we don?t fund this project, the knock on effects for the > platform will be very significant. We?re already a very small team that > punches well above our weight. We have the potential for a very bright > future with the rather amazing stuff that you can now do. Check out Ali?s > blog post on Android and wait a few more days for more. > This is encouraging, Thanks, Kevin. The real issue has definitely been the extremely low level of communication regarding the project that would have appeased us a great deal, especially when various walls were met that led to its delay, perceived or otherwise. But it seems you and the team are learning from this. I agree with HH's last comment, *"*I still think after having the results of Infinite LiveCode such a sum would *be funded in one day.", *so maybe, redo the campaign once Infinite is fully released. I was 'promised' obj-c by this time last year! Tip: Don't make promises like that *ever* again! :) Sean Cole *Pi Digital Productions Ltd* PS. I wasn't aware of this either: J.L.Gay - *Another reason may be the subject title. I'm not sure everyone understands that this feature will improve much more than just datagrids. A subset of users employ datagrids, but everyone needs smooth scrolling in a variety of situations.* From toolbook at kestner.de Thu Jul 6 07:56:46 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 6 Jul 2017 13:56:46 +0200 Subject: AW: AW: can I lock screen over more than one handler? In-Reply-To: <6A694131-A257-4F73-810C-F558DD7E6731@gmail.com> References: <002d01d2f584$28079740$7816c5c0$@kestner.de> <004e01d2f596$97785170$c668f450$@kestner.de> <005a01d2f5a5$44e912a0$cebb37e0$@kestner.de> <65F8F6A3-0C5F-4E17-AF65-4C96199E3E3F@mac.com> <005f01d2f5ae$26b44a30$741cde90$@kestner.de> <006301d2f63d$3b9cdea0$b2d69be0$@kestner.de> <34e8e227-0cde-44f3-70eb-7ae41a527c24@gmail.com> <6A694131-A257-4F73-810C-F558DD7E6731@gmail.com> Message-ID: <008f01d2f64e$f2625be0$d72713a0$@kestner.de> No i didn't tried, because I have to have full control over the video, stepping frame by frame forward and backward and as far as I can see, I don't have it with the browser widget. Thanks Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Jonathan Lynch via use-livecode Gesendet: Donnerstag, 6. Juli 2017 12:52 An: How to use LiveCode Cc: jonathandlynch at gmail.com Betreff: Re: AW: can I lock screen over more than one handler? Tiemo, have you tried using a browser widget instead? Sent from my iPhone > On Jul 6, 2017, at 6:05 AM, Richmond Mathewson via use-livecode wrote: > > I wonder if you cannot manage to lock the screen over more than one > handler by calling the second handler from within the first one? > > For instance: > > on mouseDown > set the lockscreen to true > put "screen locked" > send "mouseStillDown" to me > wait 10 ticks > set the lockscreen to false > end mouseDown > > on mouseStillDown > put "pigs have wings" > end mouseStillDown > > Just a thought. > > Richmond. > >> On 7/6/17 12:49 pm, Tiemo Hollmann TB via use-livecode wrote: >> I think I now tried all combinations with a separate frameless browser for the player object, with and without locking the screen and locking the mesages, but the behavior of the player object and it's control over the main window frame obviously can't be controlled by LiveCode (at least not by me). >> Am I right that I don't have control over the colour of the main window frame? Perhaps I'll find a tweak tool for Windows 8, to give it the look & feel of Windows 10, which I can recommend my customers, where the flickering isn't that distracting. >> Tiemo >> >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >> Auftrag von Tiemo Hollmann TB via use-livecode >> Gesendet: Mittwoch, 5. Juli 2017 18:46 >> An: 'How to use LiveCode' >> Cc: Tiemo Hollmann TB >> Betreff: AW: can I lock screen over more than one handler? >> >> Hi Randy, >> it worked out that the issue wasn't related to the design of two handlers and it was only the single statement for setting the filename to the player object in one handler. But it seems, I can't suppress the loosing and reassigning of the focus of the main window when setting the filename. With and without locking the screen. >> What I didn't tried yet is placing the player object into an own window without title bar and frame. I don't know, how that looks on Windows 8, but perhaps I can keep the flickering off the main window with that approach. >> Tiemo >> >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >> Auftrag von Randy Hengst via use-livecode >> Gesendet: Mittwoch, 5. Juli 2017 17:56 >> An: How to use LiveCode >> Cc: Randy Hengst >> Betreff: Re: can I lock screen over more than one handler? >> >> It?s been a long time since I?ve messed with player objects but what about putting both of the handlers into a ?run? handler: >> >> on runMyHandlers >> LOCK SCREEN >> handler1 >> handler2 >> UNLOCK Screen >> end runMyHandlers >> >>> On Jul 5, 2017, at 10:42 AM, Tiemo Hollmann TB via use-livecode wrote: >>> >>> Jonathan had a tricky idea to work with two player objects switching >>> between them with hiding and showing them and doing the assignment >>> of the filename with the currently hidden player, even with locking >>> the screen at the beginning of the handler. >>> It's a pitty, but the flickering of the whole window frame keeps the same. >>> The directShow video engine must be somehow totally dominant. >>> Any other tricky idea? >>> Tiemo >>> >>> -----Urspr?ngliche Nachricht----- >>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >>> Auftrag von Tiemo Hollmann TB via use-livecode >>> Gesendet: Mittwoch, 5. Juli 2017 15:57 >>> An: 'How to use LiveCode' >>> Cc: Tiemo Hollmann TB >>> Betreff: AW: can I lock screen over more than one handler? >>> >>> Thanks Jonathan, Trevor and Sean for your comments. >>> >>> Meanwhile I could drill down my "flickering" problem (post from >>> yesterday) to an unexpected command. >>> In one of those handlers I "set the filename of player "myVideoPlayer" >>> to tFile". This command withdraws the focus from the window and >>> passes it back after some milliseconds. On my Win 10 machine with a >>> white window title bar I almost can't see it, but on Win 8 with the >>> standard violet title bar it is an ugly flickering, each time I set >>> the filename (which happens very frequently in a quiz loop). >>> >>> And I can't prevent this flickering with a lock screen right before >>> the setting of the filename. The setting of the filename seems to >>> release the lock screen or it takes the focus of the window off and >>> back. Very ugly in my case. >>> >>> Tiemo >>> >>> >>> >>> -----Urspr?ngliche Nachricht----- >>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >>> Auftrag von Sean Cole (Pi) via use-livecode >>> Gesendet: Mittwoch, 5. Juli 2017 15:30 >>> An: How to use LiveCode >>> Cc: Sean Cole (Pi) >>> Betreff: Re: can I lock screen over more than one handler? >>> >>> Hi Tiemo, >>> The solution here is to call another lockScreen at the beginning of >>> handler2. You don't have to use the unlockScreen at the end of >>> handler >>> 1 and >>> 2 as it will do that automatically but it is advisable to include >>> the command anyway. Is there a reason why you had an aversion to >>> using a lockScreen at the start of handler2? >>> >>> All the best >>> >>> Sean Cole >>> *Pi Digital Productions Ltd* >>> >>> On 5 July 2017 at 14:09, Trevor DeVore via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> On Wed, Jul 5, 2017 at 6:45 AM, Tiemo Hollmann TB via use-livecode >>>> < use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Is this possible? >>>>> >>>>> on handler1 >>>>> >>>>> lock screen >>>>> >>>>> -- do some stuff here >>>>> >>>>> send "handler2" in 0 milliseconds >>>>> >>>>> end handler1 >>>>> >>>>> >>>>> >>>>> on handler2 >>>>> >>>>> -- do some other stuff here >>>>> >>>>> unlock screen >>>>> >>>>> end handler2 >>>>> >>>> No it is not. From the docs for `lock screen`: >>>> >>>> "When all pending handlers are finished executing, the lockScreen >>>> property is set back to false and the user sees the current state >>>> of stack windows on the screen." >>>> >>>> The use of the word "pending" is confusing because when you use >>>> `send` you end up with an entry in the `pendingMessages`. But the >>>> screen is going to be unlocked each time through the event loop. If >>>> `handler` called `handler2` directly (without using `send`) then >>>> you would not see the screen update. You should see the result you >>>> are looking for if you change your code to look like this: >>>> >>>> ``` >>>> on handler1 >>>> lock screen >>>> >>>> -- do some stuff here >>>> >>>> handler2 >>>> end handler1 >>>> ``` >>>> >>>> If you need to call `handler2` in time then you will need to figure >>>> out another approach to updating the screen. Perhaps all screen >>>> updates will need to happen in `handler2`. >>>> >>>> -- >>>> Trevor DeVore >>>> ScreenSteps >>>> www.screensteps.com >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Thu Jul 6 07:59:20 2017 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 6 Jul 2017 12:59:20 +0100 Subject: debugging a CEF browser instance In-Reply-To: <557a17a10bf56b6af63d11c668f89d86@livecode.com> References: <02855171-0054-47B0-9056-4D44DD3217CF@gmail.com> <3DC64DB3-1D14-4816-93F5-A16D3D2F0B66@gmail.com> <557a17a10bf56b6af63d11c668f89d86@livecode.com> Message-ID: Hi Mark, I had no doubt that the debug log was disabled because enabling it by default would be expected to cause some significant slowdown. However, since this is a configurable option, I would have hoped that (at the very least) it could be turned on for situations such as the situation in which I'm in (a page that works in all other browsers I've tried but that doesn't work in either Livecode 8.1.4 on Windows or OS X - with no visible errors there is no hint as to why it is not working). The page is not mine and therefore it's not like there is only a trivial amount of javascript for me to test line by line (it was easier for me to discover why LC's CEF browser doesn't allow debugging than it would be to find out why the web page does not work). That the page does not work in LC on BOTH OS X or Windows, suggests that it is something discrepant with the way the browser widget works in LC (and not just some limitation in the CEF widget). The page not working on two different implementations of the browser widget in LC suggests there may be a wider set of problems developers will encounter (i.e. there may be many more cases where LC's browser will not work the way that other browsers work). Without debugging information, I don't see how such discrepancies will ever be fixed. Hopefully it will be quicker and cleaner to enable logging (at least in the CEF browser) by setting an environment variable or checking for a command line parameter. I believe that the verbosity of CEF's logging can be configured. That logging level might also be worth setting at startup (in case the amount of logging is so excessive that the IDE is unresponsive). That the CEF logging on Linux is flooding the terminal window should also be fixable. https://stackoverflow.com/questions/11844208/linux-terminal-that-is-currently-running-and-logging-to-stdout-how-do-you-silen Regards Bernard On Thu, Jul 6, 2017 at 8:28 AM, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2017-07-06 08:39, Jonathan Lynch via use-livecode wrote: > >> Why? >> > > In general there is a cost to logging - particularly CEF's which is very > verbose. On Windows you might not notice (as stdout/stderr output is > generally dumped to the equivalent of /dev/null), but on Linux if you > happen to be working from the command-line and running UI stuff using the > browser widget from there then you'll find your terminal flooded with CEF > logging (and I mean flooded!). > > I don't think anyone has asked specifically about having it configurable > before now - although I noticed it would be useful last month ( > http://quality.livecode.com/show_bug.cgi?id=19862) whilst attempting to > figure out why the browser widget only works on *some* linux installs > (seems to be somewhat independent of distribution - the workarounds some > people have found with regards the locale don't seem to work anymore). > > Unfortunately, we aren't any closer to solving the linux problem... After > at least three of us spending more hours than I'd care to comment on trying > to figure out what is happening there, we're working through a couple of > tasks so that we can more easily update CEF to the latest version. > > In particular, making it so that we can build our 'prebuilts' (currently > ICU, OpenSSL and Curl) on vulcan (doing it manually is arduous and > intensely error prone). We can then move the building of the CEF library > component to a prebuilt and automate its generation based on a version tag > (we can thank Spotify for taking over the management of binary releases of > CEF - http://opensource.spotify.com/cefbuilds/index.html - as they've > made it much much easier). > > So we're currently involved in a (small) yak-shave in this regard... > Although one which will also mean we can solve a couple of other issues - > the size of ICU data (has anyone noticed that the 9 engines are somewhat > bigger than 8? That's down in good part to the ICU data), and also the > several minute increase per platform in build time due to the Skia update. > I also hope that this means that over time we can eliminate the thirdparty > submodule entirely - which would be one less point of friction in our > source base. > > Incidentally, Bernard and Jonathon - I take it you are using the browser > widget on Windows? (The reason I ask that is because CEF is only used on > Windows and Linux - Mac/Android and iOS all use the built-in browser - all > three are WebKit derived, like CEF). > > Warmest Regards, > > Mark. > From lists at mangomultimedia.com Thu Jul 6 08:43:50 2017 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 06 Jul 2017 12:43:50 +0000 Subject: Codesigning a Mac desktop version In-Reply-To: References: <31DA55BB-558C-48C0-853C-E7896F50330D@gmail.com> Message-ID: On Thu, Jul 6, 2017 at 3:16 AM Jonathan Lynch via use-livecode < use-livecode at lists.runrev.com> wrote: > I tried using Trevor Devore' codesigning stack, which is a very nice > contribution to the community. I am getting a complaint about unsealed > contents present in the bundle root. > > Does anyone know what the issue is? Look around in bundles for any manifest.xml files. If you find any delete them. I know I've seen problems with manifest files included in LC externals in the past. -- Trevor DeVore > From jonathandlynch at gmail.com Thu Jul 6 08:46:41 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 08:46:41 -0400 Subject: Codesigning a Mac desktop version In-Reply-To: References: <31DA55BB-558C-48C0-853C-E7896F50330D@gmail.com> Message-ID: <51CE21DE-DF77-43DC-9F4C-123343616D58@gmail.com> I will do that - thanks Trevor Sent from my iPhone > On Jul 6, 2017, at 8:43 AM, Trevor DeVore via use-livecode wrote: > > On Thu, Jul 6, 2017 at 3:16 AM Jonathan Lynch via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I tried using Trevor Devore' codesigning stack, which is a very nice >> contribution to the community. I am getting a complaint about unsealed >> contents present in the bundle root. >> >> Does anyone know what the issue is? > > > Look around in bundles for any manifest.xml files. If you find any delete > them. I know I've seen problems with manifest files included in LC > externals in the past. > > -- > Trevor DeVore > >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Thu Jul 6 09:00:39 2017 From: hh at hyperhh.de (hh) Date: Thu, 6 Jul 2017 15:00:39 +0200 Subject: debugging a CEF browser instance Message-ID: <5F7458DD-B90F-4838-A0A6-E2AF756B49F3@hyperhh.de> Hi all, a few remarks, may be marginal. Some of the problems with the CEF browsers arise from the fact that the "same origin policy" changed. Some of the latest versions of the main browsers make the access easier. Also, when using webGL, this differs between browsers and the browser widget in that a graphics card counts as "black-listed" (sometimes the user agent is checked for that). For the browser widget to work in linux (more) correctly see http://forums.livecode.com/viewtopic.php?p=153351#p153351 From steven.crighton at livecode.com Thu Jul 6 09:37:51 2017 From: steven.crighton at livecode.com (steven.crighton at livecode.com) Date: Thu, 06 Jul 2017 15:37:51 +0200 Subject: Feature Race: Pick Your Project Message-ID: Hi everyone I just wanted to chip in on this one. For those of you who don't know me, I work on the marketing at LiveCode. Our communication strategy has been on my mind for quite some time and I hold my hands up that we have not done a good job on communicating the progress of the Infinite LiveCode project. From when we launched our Infinite LiveCode campaign to where the Infinite LiveCode technology is today there were lots of opportunities to keep you up to date with the incredible tech our team was producing that were missed. This is something we are talking about right now and it's something we are fixing right now. Sorry for keeping you in the dark, it won't happen again! Hopefully with the post Ali put out last week you can see all of the work that has gone into Infinite LiveCode and are as excited as I am about the opportunities this creates for our platform. As for the Faster Graphics / DataGrid project that is funding right now, there is a real chance of this funding. It has gone from 36% funded at this time yesterday to 62% funded at the time of writing this post. If this does fund, I promise that when we have something to share on that project, no matter how big or small, we'll share it. Steven Steven Crighton | steven at livecode.com | https://livecode.com From jonathandlynch at gmail.com Thu Jul 6 10:01:40 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 10:01:40 -0400 Subject: Augmented Earth now on the App Store! Message-ID: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> Hi everyone, Version 1 of Augmented Earth is now live on the Apple App Store :) If you get a chance, please check it out. This is just a soft launch, but I am excited to have it out there. I won't start heavy promotion until version 1.5. I will be posting a map-only version on Livecode Share for explaining how to do 3D webgl Earth maps in LC, prior to my presentation at the September LC Global conference. All constructive feedback is welcome, I have much to improve. A big thanks to everyone here for all the helpful tips :) Here is the link, for iPhone/iPad users: https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 Sent from my iPhone From sean at pidigital.co.uk Thu Jul 6 10:21:39 2017 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 6 Jul 2017 15:21:39 +0100 Subject: Augmented Earth now on the App Store! In-Reply-To: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> Message-ID: Hi Jonathan, Well done on getting this to store. I've just downloaded to my iPhone6 running iOS11b3 and it hangs on the opening page with the title and globe. It doesn't appear to go beyond this just yet. It may be just that I'm on a beta OS but thought I'd let you know. All the best Sean Cole *Pi Digital Productions Ltd* eMail Ts & Cs Pi Digital Productions Ltd is a UK registered limited company, no. 5255609 On 6 July 2017 at 15:01, Jonathan Lynch via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi everyone, > > Version 1 of Augmented Earth is now live on the Apple App Store :) > > If you get a chance, please check it out. This is just a soft launch, but > I am excited to have it out there. I won't start heavy promotion until > version 1.5. > > I will be posting a map-only version on Livecode Share for explaining how > to do 3D webgl Earth maps in LC, prior to my presentation at the September > LC Global conference. > > All constructive feedback is welcome, I have much to improve. > > A big thanks to everyone here for all the helpful tips :) > > Here is the link, for iPhone/iPad users: > > https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 > > Sent from my iPhone > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Thu Jul 6 10:32:41 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 6 Jul 2017 10:32:41 -0400 Subject: Augmented Earth now on the App Store! In-Reply-To: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> Message-ID: I recently discovered this app store search site (no iTunes needed): https://theappstore.org/?search=augmented-earth&platform=software https://theappstore.org ~Roger On Thu, Jul 6, 2017 at 10:01 AM, Jonathan Lynch via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi everyone, > > Version 1 of Augmented Earth is now live on the Apple App Store :) > > If you get a chance, please check it out. This is just a soft launch, but > I am excited to have it out there. I won't start heavy promotion until > version 1.5. > > I will be posting a map-only version on Livecode Share for explaining how > to do 3D webgl Earth maps in LC, prior to my presentation at the September > LC Global conference. > > All constructive feedback is welcome, I have much to improve. > > A big thanks to everyone here for all the helpful tips :) > > Here is the link, for iPhone/iPad users: > > https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 > > Sent from my iPhone > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From blueback09 at gmail.com Thu Jul 6 10:33:28 2017 From: blueback09 at gmail.com (Matt Maier) Date: Thu, 6 Jul 2017 07:33:28 -0700 Subject: play sound plays the wrong sound Message-ID: Any ideas on this? I downloaded a beep in *.mp3 format. When I play the file with windows media player it sounds like a beep. When I play the file with the "play" command it sounds horribly distorted. From jonathandlynch at gmail.com Thu Jul 6 10:36:07 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 10:36:07 -0400 Subject: Augmented Earth now on the App Store! In-Reply-To: References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> Message-ID: Well shoot - thanks Sean If you shut it down and reopen, it will probably go, but I need to figure that one out Sent from my iPhone > On Jul 6, 2017, at 10:21 AM, Sean Cole (Pi) via use-livecode wrote: > > Hi Jonathan, > > Well done on getting this to store. I've just downloaded to my iPhone6 > running iOS11b3 and it hangs on the opening page with the title and globe. > It doesn't appear to go beyond this just yet. It may be just that I'm on a > beta OS but thought I'd let you know. > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > > > eMail Ts & Cs Pi Digital > Productions Ltd is a UK registered limited company, no. 5255609 > > On 6 July 2017 at 15:01, Jonathan Lynch via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi everyone, >> >> Version 1 of Augmented Earth is now live on the Apple App Store :) >> >> If you get a chance, please check it out. This is just a soft launch, but >> I am excited to have it out there. I won't start heavy promotion until >> version 1.5. >> >> I will be posting a map-only version on Livecode Share for explaining how >> to do 3D webgl Earth maps in LC, prior to my presentation at the September >> LC Global conference. >> >> All constructive feedback is welcome, I have much to improve. >> >> A big thanks to everyone here for all the helpful tips :) >> >> Here is the link, for iPhone/iPad users: >> >> https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 >> >> Sent from my iPhone >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bodine at bodinetraininggames.com Thu Jul 6 10:22:03 2017 From: bodine at bodinetraininggames.com (tbodine) Date: Thu, 6 Jul 2017 07:22:03 -0700 (PDT) Subject: play sound plays the wrong sound In-Reply-To: References: Message-ID: <1499350923852-4716675.post@n4.nabble.com> I believe the problem is the audio file settings. Open the file in an audio editor and save it again with bitrate of 16 and 44100 Hz. HTH, Tom B. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/play-sound-plays-the-wrong-sound-tp4716673p4716675.html Sent from the Revolution - User mailing list archive at Nabble.com. From merakosp at gmail.com Thu Jul 6 10:44:48 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 6 Jul 2017 15:44:48 +0100 Subject: play sound plays the wrong sound In-Reply-To: <1499350923852-4716675.post@n4.nabble.com> References: <1499350923852-4716675.post@n4.nabble.com> Message-ID: @Matt I think the command "play " plays the file **as an audioclip** on Desktop platforms. And audioclips can be in WAV, AIFF, or AU format. So I would suggest to use a player object to play the mp3 file Best, Panos -- On Thu, Jul 6, 2017 at 3:22 PM, tbodine via use-livecode < use-livecode at lists.runrev.com> wrote: > I believe the problem is the audio file settings. Open the file in an audio > editor and save it again with bitrate of 16 and 44100 Hz. > > HTH, > Tom B. > > > > -- > View this message in context: http://runtime-revolution. > 278305.n4.nabble.com/play-sound-plays-the-wrong-sound- > tp4716673p4716675.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From blueback09 at gmail.com Thu Jul 6 10:45:40 2017 From: blueback09 at gmail.com (Matt Maier) Date: Thu, 6 Jul 2017 07:45:40 -0700 Subject: play sound plays the wrong sound In-Reply-To: <1499350923852-4716675.post@n4.nabble.com> References: <1499350923852-4716675.post@n4.nabble.com> Message-ID: I just found this note at BYU. Apparently "play" only works with uncompressed file formats. I switched to the *.wav version and it works http://livecode.byu.edu/audio/audioIntro.php Why is this stuff not in the dictionary? On Thu, Jul 6, 2017 at 7:22 AM, tbodine via use-livecode < use-livecode at lists.runrev.com> wrote: > I believe the problem is the audio file settings. Open the file in an audio > editor and save it again with bitrate of 16 and 44100 Hz. > > HTH, > Tom B. > > > > -- > View this message in context: http://runtime-revolution. > 278305.n4.nabble.com/play-sound-plays-the-wrong-sound- > tp4716673p4716675.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From thatkeith at mac.com Thu Jul 6 11:14:35 2017 From: thatkeith at mac.com (Keith Martin) Date: Thu, 06 Jul 2017 16:14:35 +0100 Subject: play sound plays the wrong sound In-Reply-To: References: <1499350923852-4716675.post@n4.nabble.com> Message-ID: On 6 Jul 2017, at 15:45, Matt Maier via use-livecode wrote: > Why is this stuff not in the dictionary? Also, given the massive prevalence of MP3, it would be great if the (apparent) limitation of the 'play' command was addressed. :/ k From iphonelagi at gmail.com Thu Jul 6 11:21:40 2017 From: iphonelagi at gmail.com (Lagi Pittas) Date: Thu, 6 Jul 2017 16:21:40 +0100 Subject: play sound plays the wrong sound In-Reply-To: References: <1499350923852-4716675.post@n4.nabble.com> Message-ID: Especially now the patent has lapsed Regards Lagi On 6 July 2017 at 16:14, Keith Martin via use-livecode < use-livecode at lists.runrev.com> wrote: > On 6 Jul 2017, at 15:45, Matt Maier via use-livecode wrote: > > Why is this stuff not in the dictionary? >> > > Also, given the massive prevalence of MP3, it would be great if the > (apparent) limitation of the 'play' command was addressed. :/ > > k > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Thu Jul 6 11:36:42 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 6 Jul 2017 08:36:42 -0700 Subject: Saturated fat In-Reply-To: <320eae070e37deca8d961d8b7cef4620@livecode.com> References: <9fa246ba-3e9c-180e-00d6-d107df456c84@gmail.com> <320eae070e37deca8d961d8b7cef4620@livecode.com> Message-ID: <3c82da63-b5a0-0492-350e-dfa38537a50d@sonic.net> On 07/06/2017 03:51 AM, Mark Waddingham via use-livecode wrote: > We are still working towards modularization - however we aren't there yet. Now *that* is something I would happily help fund. -- Mark Wieder ahsoftware at gmail.com From colinholgate at gmail.com Thu Jul 6 11:42:27 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 6 Jul 2017 08:42:27 -0700 Subject: mobile - fullscreenmode "exactFit" In-Reply-To: References: Message-ID: On the exactFit question, I still can?t think of a use case for that mode. What it should do is stretch your card contents to fill the screen. The other fullscreenmodes are more useful. Do you lay out your interface with code? If not, what?s your approach for handling 16:9 iPhone screen and 4:3 iPad screen? One other thing, if you?re testing on a physical iPhone, whether the card fills the whole screen depends on if you have included the Default-568h at 2x.png splash screen. Without that it will only fill the center area, there would be borders too. > On Jul 5, 2017, at 11:52 PM, Alan via use-livecode wrote: > > On mobile, shouldn't > > set the fullscreenmode of this stack to "exactFit" > > scale the stack so that it fits on, and fills, the mobile screen? > > I seem to having problems with this using LC9dp7 currently. > > Also have an unrelated problem with a menuButton option called "Dead" not being passed through when selected, though the "Alive" one is successfully on the same button. Weird. Perhaps time to re-boot... > > Ideas? > > cheers > > Alan :-) From waprothero at gmail.com Thu Jul 6 12:36:26 2017 From: waprothero at gmail.com (William Prothero) Date: Thu, 6 Jul 2017 09:36:26 -0700 Subject: Augmented Earth now on the App Store! In-Reply-To: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> Message-ID: <254E9A11-0B66-4725-B60A-79E7B6FE32BD@gmail.com> Jonathon: Impressive app. You?re going to have fun keeping control of the trollers. Anyway, I downloaded it and opened it on my iPad Pro, latest distro of iOS. I got the main screen, then it sent me to the registration screen, where I entered a userName and password. Below the ?Password? field, the ?New Password? field and all those below it stayed greyed out. I could go no further. If I pressed ?Return? after my password entry, it tried to register me but I got an ?Invalid credentials dialog. I quit the app, opened it again, and got the same behavior. I?m looking forward to seeing this final app. Looks very ambitious, and should be a winner. Look out, FaceBook! Best, Bill P > On Jul 6, 2017, at 7:01 AM, Jonathan Lynch via use-livecode wrote: > > Hi everyone, > > Version 1 of Augmented Earth is now live on the Apple App Store :) > > If you get a chance, please check it out. This is just a soft launch, but I am excited to have it out there. I won't start heavy promotion until version 1.5. > > I will be posting a map-only version on Livecode Share for explaining how to do 3D webgl Earth maps in LC, prior to my presentation at the September LC Global conference. > > All constructive feedback is welcome, I have much to improve. > > A big thanks to everyone here for all the helpful tips :) > > Here is the link, for iPhone/iPad users: > > https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 > > Sent from my iPhone > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Thu Jul 6 12:40:53 2017 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 6 Jul 2017 17:40:53 +0100 Subject: Shell - c Full Example In-Reply-To: References: <548410A2-CB15-441E-B316-527D5125527A@pacifier.com> Message-ID: Hi Is C# any different in terms of calls and compiling? Thanks JB Sean Cole *Pi Digital Productions Ltd* On 30 June 2017 at 15:35, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Sow how would you do that? static char rev[MAX -1]? rev[i++] = > *str & NULL? > > > >> > > Bob S > >> > > On Jun 29, 2017, at 20:20 , Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > >> char* getReverse(char const str[]){ > >> static int i=0; > >> if(*str){ > >> getReverse(str+1); > >> } > >> return rev; > >> } > > > > Nice use of recursion, but note that you're susceptible to buffer > overflow if you don't limit str to MAX-1 chars. And rev should be > null-terminated. > > > > -- > > Mark Wieder > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jonathandlynch at gmail.com Thu Jul 6 13:17:23 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 13:17:23 -0400 Subject: Augmented Earth now on the App Store! In-Reply-To: <254E9A11-0B66-4725-B60A-79E7B6FE32BD@gmail.com> References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <254E9A11-0B66-4725-B60A-79E7B6FE32BD@gmail.com> Message-ID: <379BEB32-1AC0-4E98-8072-3331C7D1B694@gmail.com> Hi Bill If you click the gear button, it will let you create a new user. My daughter just made the same observation - I will find a way to make it obvious. Thanks! Sent from my iPhone > On Jul 6, 2017, at 12:36 PM, William Prothero via use-livecode wrote: > > Jonathon: > Impressive app. You?re going to have fun keeping control of the trollers. Anyway, I downloaded it and opened it on my iPad Pro, latest distro of iOS. I got the main screen, then it sent me to the registration screen, where I entered a userName and password. Below the ?Password? field, the ?New Password? field and all those below it stayed greyed out. I could go no further. If I pressed ?Return? after my password entry, it tried to register me but I got an ?Invalid credentials dialog. > > I quit the app, opened it again, and got the same behavior. > > I?m looking forward to seeing this final app. Looks very ambitious, and should be a winner. Look out, FaceBook! > Best, > Bill P > >> On Jul 6, 2017, at 7:01 AM, Jonathan Lynch via use-livecode wrote: >> >> Hi everyone, >> >> Version 1 of Augmented Earth is now live on the Apple App Store :) >> >> If you get a chance, please check it out. This is just a soft launch, but I am excited to have it out there. I won't start heavy promotion until version 1.5. >> >> I will be posting a map-only version on Livecode Share for explaining how to do 3D webgl Earth maps in LC, prior to my presentation at the September LC Global conference. >> >> All constructive feedback is welcome, I have much to improve. >> >> A big thanks to everyone here for all the helpful tips :) >> >> Here is the link, for iPhone/iPad users: >> >> https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 >> >> Sent from my iPhone >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Thu Jul 6 13:51:05 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 13:51:05 -0400 Subject: Augmented Earth now on the App Store! In-Reply-To: <379BEB32-1AC0-4E98-8072-3331C7D1B694@gmail.com> References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <254E9A11-0B66-4725-B60A-79E7B6FE32BD@gmail.com> <379BEB32-1AC0-4E98-8072-3331C7D1B694@gmail.com> Message-ID: <7B0D5A8F-CEC0-4382-8731-32A5C38BBF21@gmail.com> I think I am going to add a first-load script that explicitly asks the user if they want to create a new login, and explain they can do this at any time through the Universal Button. I think I am going to change the image for the Universal button as well. although not sure exactly to what. Sent from my iPhone > On Jul 6, 2017, at 1:17 PM, jonathandlynch at gmail.com wrote: > > Hi Bill > > If you click the gear button, it will let you create a new user. > > > My daughter just made the same observation - I will find a way to make it obvious. > > Thanks! > > Sent from my iPhone > >> On Jul 6, 2017, at 12:36 PM, William Prothero via use-livecode wrote: >> >> Jonathon: >> Impressive app. You?re going to have fun keeping control of the trollers. Anyway, I downloaded it and opened it on my iPad Pro, latest distro of iOS. I got the main screen, then it sent me to the registration screen, where I entered a userName and password. Below the ?Password? field, the ?New Password? field and all those below it stayed greyed out. I could go no further. If I pressed ?Return? after my password entry, it tried to register me but I got an ?Invalid credentials dialog. >> >> I quit the app, opened it again, and got the same behavior. >> >> I?m looking forward to seeing this final app. Looks very ambitious, and should be a winner. Look out, FaceBook! >> Best, >> Bill P >> >>> On Jul 6, 2017, at 7:01 AM, Jonathan Lynch via use-livecode wrote: >>> >>> Hi everyone, >>> >>> Version 1 of Augmented Earth is now live on the Apple App Store :) >>> >>> If you get a chance, please check it out. This is just a soft launch, but I am excited to have it out there. I won't start heavy promotion until version 1.5. >>> >>> I will be posting a map-only version on Livecode Share for explaining how to do 3D webgl Earth maps in LC, prior to my presentation at the September LC Global conference. >>> >>> All constructive feedback is welcome, I have much to improve. >>> >>> A big thanks to everyone here for all the helpful tips :) >>> >>> Here is the link, for iPhone/iPad users: >>> >>> https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 >>> >>> Sent from my iPhone >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Thu Jul 6 14:14:46 2017 From: heather at livecode.com (Heather Laine) Date: Thu, 6 Jul 2017 19:14:46 +0100 Subject: 85% - nail biting finish Message-ID: Are you watching this guys? I cannot move from the screen... We are roaring up on the finish but we still need another 15% to make it. 52 minutes to go. I think that means we need $71/minute. C'mon pledgers... On the edge of her seat, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From jacque at hyperactivesw.com Thu Jul 6 14:39:49 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 6 Jul 2017 13:39:49 -0500 Subject: Peculiar behavior of group objects with hide-lock. show-unlock In-Reply-To: References: Message-ID: <4247b6f2-aa05-27cb-0fea-a68ee5b8289f@hyperactivesw.com> I've hit a similar, but not identical, issue and have been planning to submit a bug report but it's been tricky to extract example code from my full project so I haven't got to it yet. There seems to be an issue with nested lockscreens if one of the locks uses a visual effect. My guess is that the one with a visual effect seems to corrupt or override the lock count. The workaround in my current project is to make sure there is only one set of lock/unlock commands, the one with the visual effect. Apparently that didn't work for you. My stack doesn't use "show/hide with visual effect" though. Instead I "lock screen for visual effect" and then later "unlock screen with visual effect." Maybe separating out the command that way would work better. On 7/5/17 11:05 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Given this scenario: > > command buildLesson pLessonNumber > > hide grp "lessonTextControl" with visual effect dissolve very fast > lock screen > put empty into fld "daily-lesson-text" > > # FETCH FILES here > # insert into field, all the while setting type styles to the last line > # as the only way I could figure out how to dynamically set type from plain text > # then this: > > # finish with the last bit of text: > put cr & (line 6 to -1 of tTodaysMWS) after fld "daily-lesson-text" > > > show grp "lessonTextControl" > unlock screen with visual effect Dissolve very fast > end buildLesson > > What happens: is this sequence of visual events > > 1) goes empty? as if line 3 of the above came first > 2) Now the grp (with only the grc) fades > 3) there is a brief pause while my typesetting finishes in the background > 4) now the bkg grc of grp "lessonTextControl" shows > 5) but text does not appear, until I touch the field.. the "pop" it is rendered. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dave at applicationinsight.com Thu Jul 6 14:50:42 2017 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 6 Jul 2017 19:50:42 +0100 Subject: 85% - nail biting finish Message-ID: <33C18DF0-E919-4490-827C-CE458B8D30C9@applicationinsight.com> Come on you last-minute-people, if you are going to help the time is now! We have 11 minutes to raise $1,970 The url is https://livecode.com/project/datagrid2/ - don?t leave it too late! Kind regards Dave > Are you watching this guys? I cannot move from the screen... We are roaring up on the finish but we still need another 15% to make it. 52 minutes to go. I think that means we need $71/minute. C'mon pledgers... > > On the edge of her seat, > > Heather > > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com From waprothero at gmail.com Thu Jul 6 14:57:47 2017 From: waprothero at gmail.com (William Prothero) Date: Thu, 6 Jul 2017 11:57:47 -0700 Subject: Augmented Earth now on the App Store! In-Reply-To: <7B0D5A8F-CEC0-4382-8731-32A5C38BBF21@gmail.com> References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <254E9A11-0B66-4725-B60A-79E7B6FE32BD@gmail.com> <379BEB32-1AC0-4E98-8072-3331C7D1B694@gmail.com> <7B0D5A8F-CEC0-4382-8731-32A5C38BBF21@gmail.com> Message-ID: <786183F4-0EF9-4B97-931F-F474B329F325@gmail.com> Jonathon: A common solutionfor this is to have two buttons. One says: ?I am a new first-time User? and the other one says: ?I have an account. Log me in.? That would avoid the confusion. Best, Bill > On Jul 6, 2017, at 10:51 AM, Jonathan Lynch via use-livecode wrote: > > I think I am going to add a first-load script that explicitly asks the user if they want to create a new login, and explain they can do this at any time through the Universal Button. > > I think I am going to change the image for the Universal button as well. although not sure exactly to what. > > Sent from my iPhone > >> On Jul 6, 2017, at 1:17 PM, jonathandlynch at gmail.com wrote: >> >> Hi Bill >> >> If you click the gear button, it will let you create a new user. >> >> >> My daughter just made the same observation - I will find a way to make it obvious. >> >> Thanks! >> >> Sent from my iPhone >> >>> On Jul 6, 2017, at 12:36 PM, William Prothero via use-livecode wrote: >>> >>> Jonathon: >>> Impressive app. You?re going to have fun keeping control of the trollers. Anyway, I downloaded it and opened it on my iPad Pro, latest distro of iOS. I got the main screen, then it sent me to the registration screen, where I entered a userName and password. Below the ?Password? field, the ?New Password? field and all those below it stayed greyed out. I could go no further. If I pressed ?Return? after my password entry, it tried to register me but I got an ?Invalid credentials dialog. >>> >>> I quit the app, opened it again, and got the same behavior. >>> >>> I?m looking forward to seeing this final app. Looks very ambitious, and should be a winner. Look out, FaceBook! >>> Best, >>> Bill P >>> >>>> On Jul 6, 2017, at 7:01 AM, Jonathan Lynch via use-livecode wrote: >>>> >>>> Hi everyone, >>>> >>>> Version 1 of Augmented Earth is now live on the Apple App Store :) >>>> >>>> If you get a chance, please check it out. This is just a soft launch, but I am excited to have it out there. I won't start heavy promotion until version 1.5. >>>> >>>> I will be posting a map-only version on Livecode Share for explaining how to do 3D webgl Earth maps in LC, prior to my presentation at the September LC Global conference. >>>> >>>> All constructive feedback is welcome, I have much to improve. >>>> >>>> A big thanks to everyone here for all the helpful tips :) >>>> >>>> Here is the link, for iPhone/iPad users: >>>> >>>> https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 >>>> >>>> Sent from my iPhone >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Thu Jul 6 15:05:29 2017 From: hh at hyperhh.de (hh) Date: Thu, 6 Jul 2017 21:05:29 +0200 Subject: Feature Race: Pick Your Project Message-ID: <28574503-0C2D-430F-A46B-E69867C7DF8D@hyperhh.de> 185 backers. No comment. From danoldboy at gmail.com Thu Jul 6 15:14:53 2017 From: danoldboy at gmail.com (Dan Brown) Date: Thu, 6 Jul 2017 20:14:53 +0100 Subject: Feature Race: Pick Your Project In-Reply-To: <28574503-0C2D-430F-A46B-E69867C7DF8D@hyperhh.de> References: <28574503-0C2D-430F-A46B-E69867C7DF8D@hyperhh.de> Message-ID: Hmm after the timer ran out the page showed "project unsuccessful" with only $23,428 raised. Now its showing as fully funded and successful. Happy but erm baffled. Slick grids here we come though! On 6 Jul 2017 8:06 pm, "hh via use-livecode" wrote: > 185 backers. No comment. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Jul 6 15:21:12 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 6 Jul 2017 22:21:12 +0300 Subject: Why is LiveCode not being included in British Exam board curricula? Message-ID: I spend quite a spot of time here: http://community.computingatschool.org.uk/ [ where I am, arguably, even less popular than here ] and it has become obvious very quickly indeed that British teachers (who are mainly far more interested in getting their pupils to pass the exams rather do anything to challenge the status quo) revolve around C++, Java and Python, with the odd bit of Visual BASIC. The main reason for this seems to be the people who determine what the curricula should be (and they are probably "talking heads" in the Ministry of Educations in both England and Scotland) rather than the teachers themselves. However, I do feel a bit lumpy when it turns out that the Computing At School thing is underwritten by MicroSoft and Google among others. LiveCode is as near as we will ever get to a perfect teaching environment [ this being born out by a 15 year old who is currently "doing" C++ at school and after 6 months has not got to decoding a comma-delimited text file, or any other external data at all; he is currently doing that with me in both BBC BASIC (go figure) and LiveCode in week 3 of my summer classes. ] yet it is just not being pushed, hawked, flogged, whatever enough. Richmond. From heather at livecode.com Thu Jul 6 15:24:33 2017 From: heather at livecode.com (Heather Laine) Date: Thu, 6 Jul 2017 20:24:33 +0100 Subject: Feature Race: Pick Your Project In-Reply-To: References: <28574503-0C2D-430F-A46B-E69867C7DF8D@hyperhh.de> Message-ID: We had a last minute call from someone offering to pledge the rest. I was entering it for him with, yes, shaky hands and I pressed the wrong button. Total went down! Not Up! My fault. We extended by 4 minutes to allow that pledge to go through. Good? Bad? Seemed like the right thing to do. Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 6 Jul 2017, at 20:14, Dan Brown via use-livecode wrote: > > Hmm after the timer ran out the page showed "project unsuccessful" with > only $23,428 raised. Now its showing as fully funded and successful. Happy > but erm baffled. > > Slick grids here we come though! > > On 6 Jul 2017 8:06 pm, "hh via use-livecode" > wrote: > >> 185 backers. No comment. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Thu Jul 6 15:33:45 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 6 Jul 2017 13:33:45 -0600 Subject: Feature Race: Pick Your Project In-Reply-To: References: <28574503-0C2D-430F-A46B-E69867C7DF8D@hyperhh.de> Message-ID: Can't pay, get this message... Error Detected Error Message The certificate has expired. Please use a valid certificate. The certificate has expired. Please use a valid certificate. On Thu, Jul 6, 2017 at 1:24 PM, Heather Laine via use-livecode < use-livecode at lists.runrev.com> wrote: > We had a last minute call from someone offering to pledge the rest. I was > entering it for him with, yes, shaky hands and I pressed the wrong button. > Total went down! Not Up! My fault. We extended by 4 minutes to allow that > pledge to go through. > > Good? Bad? Seemed like the right thing to do. > > Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > > On 6 Jul 2017, at 20:14, Dan Brown via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hmm after the timer ran out the page showed "project unsuccessful" with > > only $23,428 raised. Now its showing as fully funded and successful. > Happy > > but erm baffled. > > > > Slick grids here we come though! > > > > On 6 Jul 2017 8:06 pm, "hh via use-livecode" < > use-livecode at lists.runrev.com> > > wrote: > > > >> 185 backers. No comment. > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From francois.chaplais at mines-paristech.fr Thu Jul 6 15:37:05 2017 From: francois.chaplais at mines-paristech.fr (=?utf-8?Q?Fran=C3=A7ois_Chaplais?=) Date: Thu, 6 Jul 2017 21:37:05 +0200 Subject: Feature Race: Pick Your Project In-Reply-To: References: <28574503-0C2D-430F-A46B-E69867C7DF8D@hyperhh.de> Message-ID: <616064F9-903D-40D7-A77F-67DC618535BA@mines-paristech.fr> I get ? certificate has expired. please use a valid certificate ? (translated from french) Fran?ois > Le 6 juil. 2017 ? 21:33, Mike Bonner via use-livecode a ?crit : > > Can't pay, get this message... > Error Detected > Error Message > > The certificate has expired. Please use a valid certificate. > The certificate has expired. Please use a valid certificate. > > On Thu, Jul 6, 2017 at 1:24 PM, Heather Laine via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> We had a last minute call from someone offering to pledge the rest. I was >> entering it for him with, yes, shaky hands and I pressed the wrong button. >> Total went down! Not Up! My fault. We extended by 4 minutes to allow that >> pledge to go through. >> >> Good? Bad? Seemed like the right thing to do. >> >> Regards, >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> www.livecode.com >> >> >> >>> On 6 Jul 2017, at 20:14, Dan Brown via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hmm after the timer ran out the page showed "project unsuccessful" with >>> only $23,428 raised. Now its showing as fully funded and successful. >> Happy >>> but erm baffled. >>> >>> Slick grids here we come though! >>> >>> On 6 Jul 2017 8:06 pm, "hh via use-livecode" < >> use-livecode at lists.runrev.com> >>> wrote: >>> >>>> 185 backers. No comment. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Jul 6 15:41:08 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 6 Jul 2017 21:41:08 +0200 Subject: Feature Race: Pick Your Project In-Reply-To: <616064F9-903D-40D7-A77F-67DC618535BA@mines-paristech.fr> References: <28574503-0C2D-430F-A46B-E69867C7DF8D@hyperhh.de> <616064F9-903D-40D7-A77F-67DC618535BA@mines-paristech.fr> Message-ID: <751D7900-4DDA-4FC8-AFCB-55B628AAB901@m-r-d.de> Same here. Matthias Rebbe +49 5741 310000 ?matthiasrebbe.eu ? > Am 06.07.2017 um 21:37 schrieb Fran?ois Chaplais via use-livecode >: > > I get ? certificate has expired. please use a valid certificate ? (translated from french) > Fran?ois >> Le 6 juil. 2017 ? 21:33, Mike Bonner via use-livecode > a ?crit : >> >> Can't pay, get this message... >> Error Detected >> Error Message >> >> The certificate has expired. Please use a valid certificate. >> The certificate has expired. Please use a valid certificate. >> >> On Thu, Jul 6, 2017 at 1:24 PM, Heather Laine via use-livecode < >> use-livecode at lists.runrev.com > wrote: >> >>> We had a last minute call from someone offering to pledge the rest. I was >>> entering it for him with, yes, shaky hands and I pressed the wrong button. >>> Total went down! Not Up! My fault. We extended by 4 minutes to allow that >>> pledge to go through. >>> >>> Good? Bad? Seemed like the right thing to do. >>> >>> Regards, >>> >>> Heather >>> >>> Heather Laine >>> Customer Services Manager >>> LiveCode Ltd >>> www.livecode.com >>> >>> >>> >>>> On 6 Jul 2017, at 20:14, Dan Brown via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hmm after the timer ran out the page showed "project unsuccessful" with >>>> only $23,428 raised. Now its showing as fully funded and successful. >>> Happy >>>> but erm baffled. >>>> >>>> Slick grids here we come though! >>>> >>>> On 6 Jul 2017 8:06 pm, "hh via use-livecode" < >>> use-livecode at lists.runrev.com> >>>> wrote: >>>> >>>>> 185 backers. No comment. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 6 16:43:19 2017 From: waprothero at gmail.com (William Prothero) Date: Thu, 6 Jul 2017 13:43:19 -0700 Subject: Augmented Earth now on the App Store! In-Reply-To: <786183F4-0EF9-4B97-931F-F474B329F325@gmail.com> References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <254E9A11-0B66-4725-B60A-79E7B6FE32BD@gmail.com> <379BEB32-1AC0-4E98-8072-3331C7D1B694@gmail.com> <7B0D5A8F-CEC0-4382-8731-32A5C38BBF21@gmail.com> <786183F4-0EF9-4B97-931F-F474B329F325@gmail.com> Message-ID: Jonathon: I clicked the gear icon and chose ?Enter new User?. I entered my info, but what then? No button showed to accept my input or register me. So?. I suggest you revamp/rethink your login system. It?s very important because it?s the first thing a new user sees and if she is frustrated, you are sunk. You may even want to consider having a ?browse? mode where a user can see certain content without creating an account. Fields that aren?t needed should not be shown or made dark grey. It confuses the user. I suggest you have two buttons that are prominent on your opening page, in addition to your nice graphics. One says something like ?New User?, the other ?Log In? with text explaining ?Log In? means you have an account. After the system accepts the information, you get a page that verifies the login was ok, and invites you to update your profile. BTW, the profile should ask specific questions, but be optional. Privacy policy? Or you could just take the successfully logged in user to the first page you want them to see and let the gear icon take them to their account. I do think some kind of ?tour? or ?browse? type mode would be a good idea, though. This gets me thinking about how an application like this might be education oriented. Wouldn?t it be great if students from schools around the world could interact and post pictures and discuss science topics? It would have to have strong safety so only school children and their teachers would be online. Lessons of international interest could be available or posted by teachers. Students interact to see how a particular phenomenon affects their locale. Just thinking aloud. I have a colleague in Malawi that teaches geography, and she is very interested in teaching her students about solar cooking. A great subject for her, she sent me a picture of her cooking maize over a wood fire. Good luck with your app. I?m looking forward to new revisions. Also, have you thought about getting reviews before you put it on the app store? You want to avoid getting a bad reputation when you are just debugging and testing user experience. Best, Bill > On Jul 6, 2017, at 11:57 AM, William Prothero via use-livecode wrote: > > Jonathon: > A common solutionfor this is to have two buttons. One says: ?I am a new first-time User? and the other one says: ?I have an account. Log me in.? That would avoid the confusion. > > Best, > Bill > >> On Jul 6, 2017, at 10:51 AM, Jonathan Lynch via use-livecode wrote: >> >> I think I am going to add a first-load script that explicitly asks the user if they want to create a new login, and explain they can do this at any time through the Universal Button. >> >> I think I am going to change the image for the Universal button as well. although not sure exactly to what. >> >> Sent from my iPhone >> >>> On Jul 6, 2017, at 1:17 PM, jonathandlynch at gmail.com wrote: >>> >>> Hi Bill >>> >>> If you click the gear button, it will let you create a new user. >>> >>> >>> My daughter just made the same observation - I will find a way to make it obvious. >>> >>> Thanks! >>> >>> Sent from my iPhone >>> >>>> On Jul 6, 2017, at 12:36 PM, William Prothero via use-livecode wrote: >>>> >>>> Jonathon: >>>> Impressive app. You?re going to have fun keeping control of the trollers. Anyway, I downloaded it and opened it on my iPad Pro, latest distro of iOS. I got the main screen, then it sent me to the registration screen, where I entered a userName and password. Below the ?Password? field, the ?New Password? field and all those below it stayed greyed out. I could go no further. If I pressed ?Return? after my password entry, it tried to register me but I got an ?Invalid credentials dialog. >>>> >>>> I quit the app, opened it again, and got the same behavior. >>>> >>>> I?m looking forward to seeing this final app. Looks very ambitious, and should be a winner. Look out, FaceBook! >>>> Best, >>>> Bill P >>>> >>>>> On Jul 6, 2017, at 7:01 AM, Jonathan Lynch via use-livecode wrote: >>>>> >>>>> Hi everyone, >>>>> >>>>> Version 1 of Augmented Earth is now live on the Apple App Store :) >>>>> >>>>> If you get a chance, please check it out. This is just a soft launch, but I am excited to have it out there. I won't start heavy promotion until version 1.5. >>>>> >>>>> I will be posting a map-only version on Livecode Share for explaining how to do 3D webgl Earth maps in LC, prior to my presentation at the September LC Global conference. >>>>> >>>>> All constructive feedback is welcome, I have much to improve. >>>>> >>>>> A big thanks to everyone here for all the helpful tips :) >>>>> >>>>> Here is the link, for iPhone/iPad users: >>>>> >>>>> https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 >>>>> >>>>> Sent from my iPhone >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From francois.chaplais at mines-paristech.fr Thu Jul 6 17:07:13 2017 From: francois.chaplais at mines-paristech.fr (=?utf-8?Q?Fran=C3=A7ois_Chaplais?=) Date: Thu, 6 Jul 2017 23:07:13 +0200 Subject: Feature Race: Pick Your Project In-Reply-To: <751D7900-4DDA-4FC8-AFCB-55B628AAB901@m-r-d.de> References: <28574503-0C2D-430F-A46B-E69867C7DF8D@hyperhh.de> <616064F9-903D-40D7-A77F-67DC618535BA@mines-paristech.fr> <751D7900-4DDA-4FC8-AFCB-55B628AAB901@m-r-d.de> Message-ID: It seems to be fixed now. I was able to pay an hour ago (or so) Fran?ois > Le 6 juil. 2017 ? 21:41, Matthias Rebbe via use-livecode a ?crit : > > Same here. > Matthias Rebbe > +49 5741 310000 > ?matthiasrebbe.eu ? > >> Am 06.07.2017 um 21:37 schrieb Fran?ois Chaplais via use-livecode >: >> >> I get ? certificate has expired. please use a valid certificate ? (translated from french) >> Fran?ois >>> Le 6 juil. 2017 ? 21:33, Mike Bonner via use-livecode > a ?crit : >>> >>> Can't pay, get this message... >>> Error Detected >>> Error Message >>> >>> The certificate has expired. Please use a valid certificate. >>> The certificate has expired. Please use a valid certificate. >>> >>> On Thu, Jul 6, 2017 at 1:24 PM, Heather Laine via use-livecode < >>> use-livecode at lists.runrev.com > wrote: >>> >>>> We had a last minute call from someone offering to pledge the rest. I was >>>> entering it for him with, yes, shaky hands and I pressed the wrong button. >>>> Total went down! Not Up! My fault. We extended by 4 minutes to allow that >>>> pledge to go through. >>>> >>>> Good? Bad? Seemed like the right thing to do. >>>> >>>> Regards, >>>> >>>> Heather >>>> >>>> Heather Laine >>>> Customer Services Manager >>>> LiveCode Ltd >>>> www.livecode.com >>>> >>>> >>>> >>>>> On 6 Jul 2017, at 20:14, Dan Brown via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Hmm after the timer ran out the page showed "project unsuccessful" with >>>>> only $23,428 raised. Now its showing as fully funded and successful. >>>> Happy >>>>> but erm baffled. >>>>> >>>>> Slick grids here we come though! >>>>> >>>>> On 6 Jul 2017 8:06 pm, "hh via use-livecode" < >>>> use-livecode at lists.runrev.com> >>>>> wrote: >>>>> >>>>>> 185 backers. No comment. >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Thu Jul 6 17:17:10 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 17:17:10 -0400 Subject: Augmented Earth now on the App Store! In-Reply-To: References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <254E9A11-0B66-4725-B60A-79E7B6FE32BD@gmail.com> <379BEB32-1AC0-4E98-8072-3331C7D1B694@gmail.com> <7B0D5A8F-CEC0-4382-8731-32A5C38BBF21@gmail.com> <786183F4-0EF9-4B97-931F-F474B329F325@gmail.com> Message-ID: <1798A390-0C3E-4C8B-ABB3-2905839312CD@gmail.com> Hi Bill I am doing a completely quiet launch for 1.0 to avoid negative reviews. I just did not have a mechanism to do a bunch of beta tests - and I really did not realize how confusing it would be at first. By 1.1, I should be okay to start reaching out to local high schools - my first target users. I agree this could be great for education. I plan to work with teachers to build templates for a variety of lesson plans. I also plan to create a child mode for young users by version 1.5. I agree about the user login experience - I am going to stay up late tonight working on that and get it cleaned up. Pretty much everything is available through the Universal button. After you fill in the form, you press the universal button again to have the submit option. This method appears to be confusing though, so I will have to also include some of those buttons I had removed. They were there previously, but my interface was so cluttered I might have swung too far to the opposite side. Thanks sooooo much for your time on this, J Sent from my iPhone > On Jul 6, 2017, at 4:43 PM, William Prothero via use-livecode wrote: > > Jonathon: > I clicked the gear icon and chose ?Enter new User?. I entered my info, but what then? No button showed to accept my input or register me. > > So?. I suggest you revamp/rethink your login system. It?s very important because it?s the first thing a new user sees and if she is frustrated, you are sunk. You may even want to consider having a ?browse? mode where a user can see certain content without creating an account. Fields that aren?t needed should not be shown or made dark grey. It confuses the user. > > I suggest you have two buttons that are prominent on your opening page, in addition to your nice graphics. One says something like ?New User?, the other ?Log In? with text explaining ?Log In? means you have an account. After the system accepts the information, you get a page that verifies the login was ok, and invites you to update your profile. BTW, the profile should ask specific questions, but be optional. Privacy policy? Or you could just take the successfully logged in user to the first page you want them to see and let the gear icon take them to their account. > > I do think some kind of ?tour? or ?browse? type mode would be a good idea, though. > > This gets me thinking about how an application like this might be education oriented. Wouldn?t it be great if students from schools around the world could interact and post pictures and discuss science topics? It would have to have strong safety so only school children and their teachers would be online. Lessons of international interest could be available or posted by teachers. Students interact to see how a particular phenomenon affects their locale. Just thinking aloud. I have a colleague in Malawi that teaches geography, and she is very interested in teaching her students about solar cooking. A great subject for her, she sent me a picture of her cooking maize over a wood fire. > > Good luck with your app. I?m looking forward to new revisions. Also, have you thought about getting reviews before you put it on the app store? You want to avoid getting a bad reputation when you are just debugging and testing user experience. > > Best, > Bill > >> On Jul 6, 2017, at 11:57 AM, William Prothero via use-livecode wrote: >> >> Jonathon: >> A common solutionfor this is to have two buttons. One says: ?I am a new first-time User? and the other one says: ?I have an account. Log me in.? That would avoid the confusion. >> >> Best, >> Bill >> >>> On Jul 6, 2017, at 10:51 AM, Jonathan Lynch via use-livecode wrote: >>> >>> I think I am going to add a first-load script that explicitly asks the user if they want to create a new login, and explain they can do this at any time through the Universal Button. >>> >>> I think I am going to change the image for the Universal button as well. although not sure exactly to what. >>> >>> Sent from my iPhone >>> >>>> On Jul 6, 2017, at 1:17 PM, jonathandlynch at gmail.com wrote: >>>> >>>> Hi Bill >>>> >>>> If you click the gear button, it will let you create a new user. >>>> >>>> >>>> My daughter just made the same observation - I will find a way to make it obvious. >>>> >>>> Thanks! >>>> >>>> Sent from my iPhone >>>> >>>>> On Jul 6, 2017, at 12:36 PM, William Prothero via use-livecode wrote: >>>>> >>>>> Jonathon: >>>>> Impressive app. You?re going to have fun keeping control of the trollers. Anyway, I downloaded it and opened it on my iPad Pro, latest distro of iOS. I got the main screen, then it sent me to the registration screen, where I entered a userName and password. Below the ?Password? field, the ?New Password? field and all those below it stayed greyed out. I could go no further. If I pressed ?Return? after my password entry, it tried to register me but I got an ?Invalid credentials dialog. >>>>> >>>>> I quit the app, opened it again, and got the same behavior. >>>>> >>>>> I?m looking forward to seeing this final app. Looks very ambitious, and should be a winner. Look out, FaceBook! >>>>> Best, >>>>> Bill P >>>>> >>>>>> On Jul 6, 2017, at 7:01 AM, Jonathan Lynch via use-livecode wrote: >>>>>> >>>>>> Hi everyone, >>>>>> >>>>>> Version 1 of Augmented Earth is now live on the Apple App Store :) >>>>>> >>>>>> If you get a chance, please check it out. This is just a soft launch, but I am excited to have it out there. I won't start heavy promotion until version 1.5. >>>>>> >>>>>> I will be posting a map-only version on Livecode Share for explaining how to do 3D webgl Earth maps in LC, prior to my presentation at the September LC Global conference. >>>>>> >>>>>> All constructive feedback is welcome, I have much to improve. >>>>>> >>>>>> A big thanks to everyone here for all the helpful tips :) >>>>>> >>>>>> Here is the link, for iPhone/iPad users: >>>>>> >>>>>> https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 >>>>>> >>>>>> Sent from my iPhone >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Jul 6 17:25:23 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 6 Jul 2017 23:25:23 +0200 Subject: Feature Race: Pick Your Project In-Reply-To: References: <28574503-0C2D-430F-A46B-E69867C7DF8D@hyperhh.de> <616064F9-903D-40D7-A77F-67DC618535BA@mines-paristech.fr> <751D7900-4DDA-4FC8-AFCB-55B628AAB901@m-r-d.de> Message-ID: <221E9DFB-025A-46F7-A446-12BD17DAC214@m-r-d.de> Me too. Matthias Rebbe +49 5741 310000 ?matthiasrebbe.eu ? > Am 06.07.2017 um 23:07 schrieb Fran?ois Chaplais via use-livecode >: > > It seems to be fixed now. I was able to pay an hour ago (or so) > Fran?ois >> Le 6 juil. 2017 ? 21:41, Matthias Rebbe via use-livecode > a ?crit : >> >> Same here. >> Matthias Rebbe >> +49 5741 310000 >> ?matthiasrebbe.eu >? >> >>> Am 06.07.2017 um 21:37 schrieb Fran?ois Chaplais via use-livecode >>: >>> >>> I get ? certificate has expired. please use a valid certificate ? (translated from french) >>> Fran?ois >>>> Le 6 juil. 2017 ? 21:33, Mike Bonner via use-livecode >> a ?crit : >>>> >>>> Can't pay, get this message... >>>> Error Detected >>>> Error Message >>>> >>>> The certificate has expired. Please use a valid certificate. >>>> The certificate has expired. Please use a valid certificate. >>>> >>>> On Thu, Jul 6, 2017 at 1:24 PM, Heather Laine via use-livecode < >>>> use-livecode at lists.runrev.com >> wrote: >>>> >>>>> We had a last minute call from someone offering to pledge the rest. I was >>>>> entering it for him with, yes, shaky hands and I pressed the wrong button. >>>>> Total went down! Not Up! My fault. We extended by 4 minutes to allow that >>>>> pledge to go through. >>>>> >>>>> Good? Bad? Seemed like the right thing to do. >>>>> >>>>> Regards, >>>>> >>>>> Heather >>>>> >>>>> Heather Laine >>>>> Customer Services Manager >>>>> LiveCode Ltd >>>>> www.livecode.com > >>>>> >>>>> >>>>> >>>>>> On 6 Jul 2017, at 20:14, Dan Brown via use-livecode < >>>>> use-livecode at lists.runrev.com > wrote: >>>>>> >>>>>> Hmm after the timer ran out the page showed "project unsuccessful" with >>>>>> only $23,428 raised. Now its showing as fully funded and successful. >>>>> Happy >>>>>> but erm baffled. >>>>>> >>>>>> Slick grids here we come though! >>>>>> >>>>>> On 6 Jul 2017 8:06 pm, "hh via use-livecode" < >>>>> use-livecode at lists.runrev.com > >>>>>> wrote: >>>>>> >>>>>>> 185 backers. No comment. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Thu Jul 6 17:28:40 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 17:28:40 -0400 Subject: Augmented Earth now on the App Store! In-Reply-To: <1798A390-0C3E-4C8B-ABB3-2905839312CD@gmail.com> References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <254E9A11-0B66-4725-B60A-79E7B6FE32BD@gmail.com> <379BEB32-1AC0-4E98-8072-3331C7D1B694@gmail.com> <7B0D5A8F-CEC0-4382-8731-32A5C38BBF21@gmail.com> <786183F4-0EF9-4B97-931F-F474B329F325@gmail.com> <1798A390-0C3E-4C8B-ABB3-2905839312CD@gmail.com> Message-ID: My wife just suggested a demo as well. Great minds thinking alike. So - yes, I can do that. I am inclined to make an instructional video and put it on YouTube, though not until anything embarrassing is gone from the app. I used to work in TV and I have friends with high-quality gear that would help me out for cheap. Sent from my iPhone > On Jul 6, 2017, at 5:17 PM, jonathandlynch at gmail.com wrote: > > Hi Bill > > I am doing a completely quiet launch for 1.0 to avoid negative reviews. I just did not have a mechanism to do a bunch of beta tests - and I really did not realize how confusing it would be at first. > > By 1.1, I should be okay to start reaching out to local high schools - my first target users. > > I agree this could be great for education. I plan to work with teachers to build templates for a variety of lesson plans. I also plan to create a child mode for young users by version 1.5. > > I agree about the user login experience - I am going to stay up late tonight working on that and get it cleaned up. > > Pretty much everything is available through the Universal button. After you fill in the form, you press the universal button again to have the submit option. > > This method appears to be confusing though, so I will have to also include some of those buttons I had removed. > > They were there previously, but my interface was so cluttered I might have swung too far to the opposite side. > > Thanks sooooo much for your time on this, > > J > > Sent from my iPhone > >> On Jul 6, 2017, at 4:43 PM, William Prothero via use-livecode wrote: >> >> Jonathon: >> I clicked the gear icon and chose ?Enter new User?. I entered my info, but what then? No button showed to accept my input or register me. >> >> So?. I suggest you revamp/rethink your login system. It?s very important because it?s the first thing a new user sees and if she is frustrated, you are sunk. You may even want to consider having a ?browse? mode where a user can see certain content without creating an account. Fields that aren?t needed should not be shown or made dark grey. It confuses the user. >> >> I suggest you have two buttons that are prominent on your opening page, in addition to your nice graphics. One says something like ?New User?, the other ?Log In? with text explaining ?Log In? means you have an account. After the system accepts the information, you get a page that verifies the login was ok, and invites you to update your profile. BTW, the profile should ask specific questions, but be optional. Privacy policy? Or you could just take the successfully logged in user to the first page you want them to see and let the gear icon take them to their account. >> >> I do think some kind of ?tour? or ?browse? type mode would be a good idea, though. >> >> This gets me thinking about how an application like this might be education oriented. Wouldn?t it be great if students from schools around the world could interact and post pictures and discuss science topics? It would have to have strong safety so only school children and their teachers would be online. Lessons of international interest could be available or posted by teachers. Students interact to see how a particular phenomenon affects their locale. Just thinking aloud. I have a colleague in Malawi that teaches geography, and she is very interested in teaching her students about solar cooking. A great subject for her, she sent me a picture of her cooking maize over a wood fire. >> >> Good luck with your app. I?m looking forward to new revisions. Also, have you thought about getting reviews before you put it on the app store? You want to avoid getting a bad reputation when you are just debugging and testing user experience. >> >> Best, >> Bill >> >>> On Jul 6, 2017, at 11:57 AM, William Prothero via use-livecode wrote: >>> >>> Jonathon: >>> A common solutionfor this is to have two buttons. One says: ?I am a new first-time User? and the other one says: ?I have an account. Log me in.? That would avoid the confusion. >>> >>> Best, >>> Bill >>> >>>> On Jul 6, 2017, at 10:51 AM, Jonathan Lynch via use-livecode wrote: >>>> >>>> I think I am going to add a first-load script that explicitly asks the user if they want to create a new login, and explain they can do this at any time through the Universal Button. >>>> >>>> I think I am going to change the image for the Universal button as well. although not sure exactly to what. >>>> >>>> Sent from my iPhone >>>> >>>>> On Jul 6, 2017, at 1:17 PM, jonathandlynch at gmail.com wrote: >>>>> >>>>> Hi Bill >>>>> >>>>> If you click the gear button, it will let you create a new user. >>>>> >>>>> >>>>> My daughter just made the same observation - I will find a way to make it obvious. >>>>> >>>>> Thanks! >>>>> >>>>> Sent from my iPhone >>>>> >>>>>> On Jul 6, 2017, at 12:36 PM, William Prothero via use-livecode wrote: >>>>>> >>>>>> Jonathon: >>>>>> Impressive app. You?re going to have fun keeping control of the trollers. Anyway, I downloaded it and opened it on my iPad Pro, latest distro of iOS. I got the main screen, then it sent me to the registration screen, where I entered a userName and password. Below the ?Password? field, the ?New Password? field and all those below it stayed greyed out. I could go no further. If I pressed ?Return? after my password entry, it tried to register me but I got an ?Invalid credentials dialog. >>>>>> >>>>>> I quit the app, opened it again, and got the same behavior. >>>>>> >>>>>> I?m looking forward to seeing this final app. Looks very ambitious, and should be a winner. Look out, FaceBook! >>>>>> Best, >>>>>> Bill P >>>>>> >>>>>>> On Jul 6, 2017, at 7:01 AM, Jonathan Lynch via use-livecode wrote: >>>>>>> >>>>>>> Hi everyone, >>>>>>> >>>>>>> Version 1 of Augmented Earth is now live on the Apple App Store :) >>>>>>> >>>>>>> If you get a chance, please check it out. This is just a soft launch, but I am excited to have it out there. I won't start heavy promotion until version 1.5. >>>>>>> >>>>>>> I will be posting a map-only version on Livecode Share for explaining how to do 3D webgl Earth maps in LC, prior to my presentation at the September LC Global conference. >>>>>>> >>>>>>> All constructive feedback is welcome, I have much to improve. >>>>>>> >>>>>>> A big thanks to everyone here for all the helpful tips :) >>>>>>> >>>>>>> Here is the link, for iPhone/iPad users: >>>>>>> >>>>>>> https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 >>>>>>> >>>>>>> Sent from my iPhone >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Thu Jul 6 17:39:41 2017 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 6 Jul 2017 21:39:41 +0000 Subject: play sound plays the wrong sound In-Reply-To: References: <1499350923852-4716675.post@n4.nabble.com> Message-ID: > On Jul 6, 2017, at 9:14 AM, Keith Martin via use-livecode wrote: > > On 6 Jul 2017, at 15:45, Matt Maier via use-livecode wrote: > >> Why is this stuff not in the dictionary? > > Also, given the massive prevalence of MP3, it would be great if the (apparent) limitation of the 'play' command was addressed. :/ I revised the entry for ?play? in the dictionary some weeks ago, but it was added to the 9.0 build, rather than the 8.x build, for some reason. So you?ll see the changes if you launch the dictionary in 9.x. The limitations as to which audio and video formats can be played are documented in the audioClip and videoClip dictionary entries. I included a note referencing that in the entry for play. Devin Devin Asay Director Office of Digital Humanities Brigham Young University From matthias_livecode_150811 at m-r-d.de Thu Jul 6 18:02:37 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 7 Jul 2017 00:02:37 +0200 Subject: start/stop using font file... Message-ID: Hi, maybe i am missing something, but when i unload a font in LC using stop using font file ?. ?the result? does not contain an error but the font is still listed in ?the fontnames?, although it is not listed anymore in ?the FontFilesInUse? does not contain any error. And i can still able to use the font. Here?s a sample script i am using for testing. // if "DS-digital-Bold.ttf" is in files(specialfolderpath("resources")) then start using font file (specialfolderpath("resources") & "/ds-digital-bold.ttf") set the textfont of fld 1 to "DS-digital Bold" if the result is not empty then answer the result answer the fontfilesinuse put the fontnames into tFonts filter tFonts with "DS*" answer tFonts set the textfont of fld 1 to "arial" stop using font file (specialfolderpath("resources") & "/ds-digital-bold.ttf") if the result is not empty then answer the result answer the fontfilesinuse put the fontnames into tFonts filter tFonts with "DS*" answer tFonts set the textfont of fld 1 to "DS-digital Bold" // Even after unloading the font i am still able to set the textfont of a fld to the unloaded font. Is this the normal behaviour? Tried with 8.1.4 and 8.1.5RC3 Regards, Matthias Matthias Rebbe +49 5741 310000 ?matthiasrebbe.eu ? From sean at pidigital.co.uk Thu Jul 6 18:16:45 2017 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 6 Jul 2017 23:16:45 +0100 Subject: Augmented Earth now on the App Store! In-Reply-To: References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> Message-ID: Hi Jonathan, I tried a shut down and reopen. I needed to let it sit on the open page for a good 5mins or so and finally displayed the 'Hello' prompt. Closing it down and restarting it then took only 3-4 seconds after the loading page. In the registration page the 'Finish' button is off the bottom of the page and I can't scroll to it. - https://www.dropbox.com/s/b49nqjutuv236wz/IMG_DC61C94076A8-1.jpeg?dl=0 Also on the registration page, the other fields are greyed out so I can't create a profile. Hitting return from the password (h) (what does h and s mean?) field comes up with '[Error] Incorrect or inactive app user login credentials'. The text in the Done button is selectable as it all of the other text. It's also smaller than the iOS recommended size for fingers (44x44 pixels lores, 88 (=44pts) retina). See https://designcode.io/iosdesign-guidelines down at Buttons and Font Sizes Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 'Don't try to think outside the box. Just remember the truth: There is no box!' 'For then you realise it is not the box you are trying to look outside of, but it is yourself!' eMail Ts & Cs Pi Digital Productions Ltd is a UK registered limited company, no. 5255609 On 6 July 2017 at 15:36, Jonathan Lynch via use-livecode < use-livecode at lists.runrev.com> wrote: > Well shoot - thanks Sean > > If you shut it down and reopen, it will probably go, but I need to figure > that one out > > Sent from my iPhone > > > On Jul 6, 2017, at 10:21 AM, Sean Cole (Pi) via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Jonathan, > > > > Well done on getting this to store. I've just downloaded to my iPhone6 > > running iOS11b3 and it hangs on the opening page with the title and > globe. > > It doesn't appear to go beyond this just yet. It may be just that I'm on > a > > beta OS but thought I'd let you know. > > > > All the best > > > > Sean Cole > > *Pi Digital Productions Ltd* > > > > > > eMail Ts & Cs Pi Digital > > Productions Ltd is a UK registered limited company, no. 5255609 > > > > On 6 July 2017 at 15:01, Jonathan Lynch via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Hi everyone, > >> > >> Version 1 of Augmented Earth is now live on the Apple App Store :) > >> > >> If you get a chance, please check it out. This is just a soft launch, > but > >> I am excited to have it out there. I won't start heavy promotion until > >> version 1.5. > >> > >> I will be posting a map-only version on Livecode Share for explaining > how > >> to do 3D webgl Earth maps in LC, prior to my presentation at the > September > >> LC Global conference. > >> > >> All constructive feedback is welcome, I have much to improve. > >> > >> A big thanks to everyone here for all the helpful tips :) > >> > >> Here is the link, for iPhone/iPad users: > >> > >> https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 > >> > >> Sent from my iPhone > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From johnpatten at me.com Thu Jul 6 18:19:17 2017 From: johnpatten at me.com (JOHN PATTEN) Date: Thu, 06 Jul 2017 15:19:17 -0700 Subject: iOS Browser Widget and PDFs? Message-ID: <6D295BF6-31AC-41BC-BF83-4845BCF79C8C@me.com> Hi All! I have little app that I?m using track our department quotes/purchases etc. It pulls the info out of a mySQl db. I have an issue with browser widget displaying the pdf quotes on iOS. The app pulls the PDF out of mysql via: Put "SELECT attachment FROM quotes WHERE name ='" & jQuote & "'" into btSQL put revDataFromQuery(tab, cr, gConnectionID, btSQL) into btData put base64Decode(btData) into vtemp put specialFolderPath("engine") & "/" & jQuote into vPath open file vPath for binary write write vtemp to file vPath close file vPath I then have to replace the spaces in the name of the pdf file with a: replace space with "%20" in vPath set the url of widget "quoteBrowser" of cd id 1067 to "file:" & vPath replace "%20" with space in vPath set the script button "Print Quote" of cd id 1067 to "on mouseUp" & return & "Launch url " & quote & "file:" & vPath & quote & return & "end mouseUp" Again this works fine on my Mac and on the iOS simulator. The PDF shows up just fine in the browser widget. However, when I build the app, and try it out on he actual iPad, it does not. I just get the blank white widget. Any suggestions on what I might try? Thank you! From jonathandlynch at gmail.com Thu Jul 6 18:30:31 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 18:30:31 -0400 Subject: Augmented Earth now on the App Store! In-Reply-To: References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> Message-ID: <645C5E86-9BB8-4237-97EE-DCC833526A51@gmail.com> Hi Sean, I am fixing the sign up process right now, and going to submit an update tonight - in the meantime you can press the Universal button (bottom right) again to submit, but I am also adding a submit button at the bottom of the form to avoid confusion. It must be hanging up trying get the HTML text for the title space at the top. I will change it to get that HTML text internally and then do an asynchronous load to get the HTML text from my website and load it in whenever it can get it. I will also work on the button sizes. Thank you for the time you put in on this! Sent from my iPhone > On Jul 6, 2017, at 6:16 PM, Sean Cole (Pi) via use-livecode wrote: > > Hi Jonathan, > > I tried a shut down and reopen. I needed to let it sit on the open page for > a good 5mins or so and finally displayed the 'Hello' prompt. Closing it > down and restarting it then took only 3-4 seconds after the loading page. > > In the registration page the 'Finish' button is off the bottom of the page > and I can't scroll to it. - > https://www.dropbox.com/s/b49nqjutuv236wz/IMG_DC61C94076A8-1.jpeg?dl=0 > > Also on the registration page, the other fields are greyed out so I can't > create a profile. Hitting return from the password (h) (what does h and > s mean?) field comes up with '[Error] Incorrect or inactive app user login > credentials'. > > The text in the Done button is selectable as it all of the other text. It's > also smaller than the iOS recommended size for fingers (44x44 pixels lores, > 88 (=44pts) retina). See https://designcode.io/iosdesign-guidelines down at > Buttons and Font Sizes > > Sean Cole > *Pi Digital Productions Ltd* > www.pidigital.co.uk > +44(1634)402193 > +44(7702)116447 > 'Don't try to think outside the box. Just remember the truth: There is no > box!' > 'For then you realise it is not the box you are trying to look outside of, > but it is yourself!' > > eMail Ts & Cs Pi Digital > Productions Ltd is a UK registered limited company, no. 5255609 > > On 6 July 2017 at 15:36, Jonathan Lynch via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Well shoot - thanks Sean >> >> If you shut it down and reopen, it will probably go, but I need to figure >> that one out >> >> Sent from my iPhone >> >>> On Jul 6, 2017, at 10:21 AM, Sean Cole (Pi) via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi Jonathan, >>> >>> Well done on getting this to store. I've just downloaded to my iPhone6 >>> running iOS11b3 and it hangs on the opening page with the title and >> globe. >>> It doesn't appear to go beyond this just yet. It may be just that I'm on >> a >>> beta OS but thought I'd let you know. >>> >>> All the best >>> >>> Sean Cole >>> *Pi Digital Productions Ltd* >>> >>> >>> eMail Ts & Cs Pi Digital >>> Productions Ltd is a UK registered limited company, no. 5255609 >>> >>> On 6 July 2017 at 15:01, Jonathan Lynch via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hi everyone, >>>> >>>> Version 1 of Augmented Earth is now live on the Apple App Store :) >>>> >>>> If you get a chance, please check it out. This is just a soft launch, >> but >>>> I am excited to have it out there. I won't start heavy promotion until >>>> version 1.5. >>>> >>>> I will be posting a map-only version on Livecode Share for explaining >> how >>>> to do 3D webgl Earth maps in LC, prior to my presentation at the >> September >>>> LC Global conference. >>>> >>>> All constructive feedback is welcome, I have much to improve. >>>> >>>> A big thanks to everyone here for all the helpful tips :) >>>> >>>> Here is the link, for iPhone/iPad users: >>>> >>>> https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 >>>> >>>> Sent from my iPhone >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From johnpatten at me.com Thu Jul 6 18:32:50 2017 From: johnpatten at me.com (JOHN PATTEN) Date: Thu, 06 Jul 2017 15:32:50 -0700 Subject: iOS Browser Widget and PDFs? In-Reply-To: <6D295BF6-31AC-41BC-BF83-4845BCF79C8C@me.com> References: <6D295BF6-31AC-41BC-BF83-4845BCF79C8C@me.com> Message-ID: I had it ?Answer" me the path to the pdf in the iOS app on the iPad and it reports back: /var/containerns/Bundle?Application?CA0B0721-80F7-4B24-92C4-0B156D/PTP System.app/Teacher Laptop Replacement Quote (19).dpf This should be the path that the - set url of the widget ?quoteBrowser? - is set to on the , correct? Thank you! > On Jul 6, 2017, at 3:19 PM, JOHN PATTEN via use-livecode wrote: > > Hi All! > > I have little app that I?m using track our department quotes/purchases etc. It pulls the info out of a mySQl db. I have an issue with browser widget displaying the pdf quotes on iOS. The app pulls the PDF out of mysql via: > Put "SELECT attachment FROM quotes WHERE name ='" & jQuote & "'" into btSQL > > put revDataFromQuery(tab, cr, gConnectionID, btSQL) into btData > > put base64Decode(btData) into vtemp > > put specialFolderPath("engine") & "/" & jQuote into vPath > > open file vPath for binary write > > write vtemp to file vPath > > close file vPath > > I then have to replace the spaces in the name of the pdf file with a: > > replace space with "%20" in vPath > set the url of widget "quoteBrowser" of cd id 1067 to "file:" & vPath > > replace "%20" with space in vPath > > set the script button "Print Quote" of cd id 1067 to "on mouseUp" & return & "Launch url " & quote & "file:" & vPath & quote & return & "end mouseUp" > > > Again this works fine on my Mac and on the iOS simulator. The PDF shows up just fine in the browser widget. > > However, when I build the app, and try it out on he actual iPad, it does not. I just get the blank white widget. > > Any suggestions on what I might try? > > Thank you! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Thu Jul 6 19:15:15 2017 From: sundown at pacifier.com (JB) Date: Thu, 6 Jul 2017 16:15:15 -0700 Subject: Shell - c Full Example In-Reply-To: References: <548410A2-CB15-441E-B316-527D5125527A@pacifier.com> Message-ID: You are welcome! I have never used c#. JB > On Jul 6, 2017, at 9:40 AM, Sean Cole (Pi) via use-livecode wrote: > > Hi > Is C# any different in terms of calls and compiling? > > Thanks JB > > Sean Cole > *Pi Digital Productions Ltd* > > On 30 June 2017 at 15:35, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Sow how would you do that? static char rev[MAX -1]? rev[i++] = >> *str & NULL? >>> >>>> >> >> Bob S >>>> >>> On Jun 29, 2017, at 20:20 , Mark Wieder via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>>> char* getReverse(char const str[]){ >>>> static int i=0; >>>> if(*str){ >>>> getReverse(str+1); >>>> } >>>> return rev; >>>> } >>> >>> Nice use of recursion, but note that you're susceptible to buffer >> overflow if you don't limit str to MAX-1 chars. And rev should be >> null-terminated. >>> >>> -- >>> Mark Wieder >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alanstenhouse at hotmail.com Thu Jul 6 19:31:05 2017 From: alanstenhouse at hotmail.com (Alan) Date: Thu, 6 Jul 2017 23:31:05 +0000 Subject: mobile - fullscreenmode "exactFit" In-Reply-To: References: Message-ID: Hi Colin Thanks for the comments. In this particular case I'm not modifying my interface layout for different screen sizes - it's a quick implementation and at this stage isn't a concern. The reminder about the splash screens solved the issue for me though there still must have been some "misfit" - as the app was working ok (in relation to this) in LC8. On re-selecting the same splash screen files, it successfully filled and stretched to cover the screen... what I was expecting. So thanks for the reminder! cheers Alan :-) On 7 Jul 2017, at 6:47 am, Colin Holgate wrote: > Date: Thu, 6 Jul 2017 08:42:27 -0700 > From: Colin Holgate > To: How to use LiveCode > Subject: Re: mobile - fullscreenmode "exactFit" > Message-ID: > Content-Type: text/plain; charset=utf-8 > > On the exactFit question, I still can?t think of a use case for that mode. What it should do is stretch your card contents to fill the screen. The other fullscreenmodes are more useful. > > Do you lay out your interface with code? If not, what?s your approach for handling 16:9 iPhone screen and 4:3 iPad screen? > > One other thing, if you?re testing on a physical iPhone, whether the card fills the whole screen depends on if you have included the Default-568h at 2x.png splash screen. Without that it will only fill the center area, there would be borders too. > > > >> On Jul 5, 2017, at 11:52 PM, Alan via use-livecode wrote: >> >> On mobile, shouldn't >> >> set the fullscreenmode of this stack to "exactFit" >> >> scale the stack so that it fits on, and fills, the mobile screen? >> >> I seem to having problems with this using LC9dp7 currently. >> >> Also have an unrelated problem with a menuButton option called "Dead" not being passed through when selected, though the "Alive" one is successfully on the same button. Weird. Perhaps time to re-boot... >> >> Ideas? >> >> cheers >> >> Alan :-) From waprothero at gmail.com Thu Jul 6 20:31:39 2017 From: waprothero at gmail.com (William Prothero) Date: Thu, 6 Jul 2017 17:31:39 -0700 Subject: Google Static Maps Demo Available In-Reply-To: References: Message-ID: Folks: Thanks to help from Hermann, I am sharing a demo stack that accesses the Google Static Maps API to display maps. This API allows me to display a terrain map, and determine the lat/lon values of any point on the map, I will take a snapshot of the map image and draw symbols on it that will represent geophysical data. You can download the demo at: http://earthlearningsolutions.org/google-static-maps-demo/ I hope you find it useful. Bill P William A. Prothero http://earthlearningsolution.org/ From jonathandlynch at gmail.com Thu Jul 6 20:53:06 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 20:53:06 -0400 Subject: Augmented Earth now on the App Store! In-Reply-To: <645C5E86-9BB8-4237-97EE-DCC833526A51@gmail.com> References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <645C5E86-9BB8-4237-97EE-DCC833526A51@gmail.com> Message-ID: Here is how I have addressed the initial login issue - not going to do constant updates, fear not. I made it so that when it starts out (in initial mode) it presents a Create User button at the top with a field right after it that says you can either create a new user with that button or login an existing user below. If they opt to create a new user, the fields unlock and a Submit button becomes visible at the bottom. The button and field for creating a new user are only visible, and only take up space, in the initial mode. The Submit button is only visible in the CreatingNewUser mode. It is not too cluttered and seems intuitive to me. My intuition is not always spot on, so I am going to test it out on my victims, er... friends and family, before I submit the update to the App Store. Thanks again - these were valuable observations. Sent from my iPhone > On Jul 6, 2017, at 6:30 PM, jonathandlynch at gmail.com wrote: > > Hi Sean, > I am fixing the sign up process right now, and going to submit an update tonight - in the meantime you can press the Universal button (bottom right) again to submit, but I am also adding a submit button at the bottom of the form to avoid confusion. > > It must be hanging up trying get the HTML text for the title space at the top. I will change it to get that HTML text internally and then do an asynchronous load to get the HTML text from my website and load it in whenever it can get it. > > I will also work on the button sizes. > Thank you for the time you put in on this! > > > Sent from my iPhone > >> On Jul 6, 2017, at 6:16 PM, Sean Cole (Pi) via use-livecode wrote: >> >> Hi Jonathan, >> >> I tried a shut down and reopen. I needed to let it sit on the open page for >> a good 5mins or so and finally displayed the 'Hello' prompt. Closing it >> down and restarting it then took only 3-4 seconds after the loading page. >> >> In the registration page the 'Finish' button is off the bottom of the page >> and I can't scroll to it. - >> https://www.dropbox.com/s/b49nqjutuv236wz/IMG_DC61C94076A8-1.jpeg?dl=0 >> >> Also on the registration page, the other fields are greyed out so I can't >> create a profile. Hitting return from the password (h) (what does h and >> s mean?) field comes up with '[Error] Incorrect or inactive app user login >> credentials'. >> >> The text in the Done button is selectable as it all of the other text. It's >> also smaller than the iOS recommended size for fingers (44x44 pixels lores, >> 88 (=44pts) retina). See https://designcode.io/iosdesign-guidelines down at >> Buttons and Font Sizes >> >> Sean Cole >> *Pi Digital Productions Ltd* >> www.pidigital.co.uk >> +44(1634)402193 >> +44(7702)116447 >> 'Don't try to think outside the box. Just remember the truth: There is no >> box!' >> 'For then you realise it is not the box you are trying to look outside of, >> but it is yourself!' >> >> eMail Ts & Cs Pi Digital >> Productions Ltd is a UK registered limited company, no. 5255609 >> >> On 6 July 2017 at 15:36, Jonathan Lynch via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Well shoot - thanks Sean >>> >>> If you shut it down and reopen, it will probably go, but I need to figure >>> that one out >>> >>> Sent from my iPhone >>> >>>> On Jul 6, 2017, at 10:21 AM, Sean Cole (Pi) via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Hi Jonathan, >>>> >>>> Well done on getting this to store. I've just downloaded to my iPhone6 >>>> running iOS11b3 and it hangs on the opening page with the title and >>> globe. >>>> It doesn't appear to go beyond this just yet. It may be just that I'm on >>> a >>>> beta OS but thought I'd let you know. >>>> >>>> All the best >>>> >>>> Sean Cole >>>> *Pi Digital Productions Ltd* >>>> >>>> >>>> eMail Ts & Cs Pi Digital >>>> Productions Ltd is a UK registered limited company, no. 5255609 >>>> >>>> On 6 July 2017 at 15:01, Jonathan Lynch via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Hi everyone, >>>>> >>>>> Version 1 of Augmented Earth is now live on the Apple App Store :) >>>>> >>>>> If you get a chance, please check it out. This is just a soft launch, >>> but >>>>> I am excited to have it out there. I won't start heavy promotion until >>>>> version 1.5. >>>>> >>>>> I will be posting a map-only version on Livecode Share for explaining >>> how >>>>> to do 3D webgl Earth maps in LC, prior to my presentation at the >>> September >>>>> LC Global conference. >>>>> >>>>> All constructive feedback is welcome, I have much to improve. >>>>> >>>>> A big thanks to everyone here for all the helpful tips :) >>>>> >>>>> Here is the link, for iPhone/iPad users: >>>>> >>>>> https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1&mt=8 >>>>> >>>>> Sent from my iPhone >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Thu Jul 6 20:54:35 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Thu, 6 Jul 2017 20:54:35 -0400 Subject: Google Static Maps Demo Available In-Reply-To: References: Message-ID: Thanks for this, Bill Sent from my iPhone > On Jul 6, 2017, at 8:31 PM, William Prothero via use-livecode wrote: > > Folks: > Thanks to help from Hermann, I am sharing a demo stack that accesses the Google Static Maps API to display maps. This API allows me to display a terrain map, and determine the lat/lon values of any point on the map, I will take a snapshot of the map image and draw symbols on it that will represent geophysical data. > > You can download the demo at: > http://earthlearningsolutions.org/google-static-maps-demo/ > > I hope you find it useful. > Bill P > > William A. Prothero > http://earthlearningsolution.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 ahsoftware at sonic.net Thu Jul 6 22:20:36 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 6 Jul 2017 19:20:36 -0700 Subject: Google Static Maps Demo Available In-Reply-To: References: Message-ID: <16bd5d37-5b8e-11f6-ef48-ec1ff4c1b56f@sonic.net> On 07/06/2017 05:31 PM, William Prothero via use-livecode wrote: > Folks: > Thanks to help from Hermann, I am sharing a demo stack that accesses the Google Static Maps API to display maps. This API allows me to display a terrain map, and determine the lat/lon values of any point on the map, I will take a snapshot of the map image and draw symbols on it that will represent geophysical data. > > You can download the demo at: > http://earthlearningsolutions.org/google-static-maps-demo/ Well... erm... not quite sure what I've got going on here. I picked up an api key from Google, but I couldn't paste it into the text field. And I couldn't enter more than one character manually. I finally brought up the property editor a couple of times until I could get rid of the single character and then type the api key into the field one character at a time. That seemed to work. Went out of edit mode and tried to click on the map. That triggered a script error, so I figured it needed to do some setup stuff (loading libraries, etc) with the api key in place. I saved the stack and quit and reloaded the IDE. I launched the stack again and clicked the 'load map' button. That triggered a series of errors to the point where I finally had to disable messages and shut it all down. Obviously I'm missing out on something, but I'm not sure what. But it looks like a promising app. -- Mark Wieder ahsoftware at gmail.com From waprothero at gmail.com Thu Jul 6 22:53:34 2017 From: waprothero at gmail.com (William Prothero) Date: Thu, 6 Jul 2017 19:53:34 -0700 Subject: Google Static Maps Demo Available In-Reply-To: <16bd5d37-5b8e-11f6-ef48-ec1ff4c1b56f@sonic.net> References: <16bd5d37-5b8e-11f6-ef48-ec1ff4c1b56f@sonic.net> Message-ID: <344D07F3-781E-41AD-BF94-41E16418829C@gmail.com> Mark: Hmmmm?. I checked it out and the problem is with LC 9.0 (dp7). The openstack script is in the first card in the main stack. It has the script to start using the various substacks that are needed. If I open it in LC9, this code somehow gets disabled and doesn?t show in the IDE editor. So, the substacks never get ?used.? I tried opening a virgin version in LC 8.1.5(RC3) and it worked as expected. So, I guess this is a bug in the latest LC9 release. I don?t know about the difficulty entering the APIKey. It works for me in LC8.1.5. lI?m on Mac, latest OS. The link to get the latest (fixed) download is: http://earthlearningsolutions.org/google-static-maps-demo/ You need to get this newest version, because I had tested it in LC9 and saved it, so the openstack script was deleted somehow. I?ll be very interested to see if you have more troubles. Best, Bill > On Jul 6, 2017, at 7:20 PM, Mark Wieder via use-livecode wrote: > > On 07/06/2017 05:31 PM, William Prothero via use-livecode wrote: >> Folks: >> Thanks to help from Hermann, I am sharing a demo stack that accesses the Google Static Maps API to display maps. This API allows me to display a terrain map, and determine the lat/lon values of any point on the map, I will take a snapshot of the map image and draw symbols on it that will represent geophysical data. >> You can download the demo at: >> http://earthlearningsolutions.org/google-static-maps-demo/ > > Well... erm... not quite sure what I've got going on here. > > I picked up an api key from Google, but I couldn't paste it into the text field. And I couldn't enter more than one character manually. I finally brought up the property editor a couple of times until I could get rid of the single character and then type the api key into the field one character at a time. That seemed to work. > > Went out of edit mode and tried to click on the map. That triggered a script error, so I figured it needed to do some setup stuff (loading libraries, etc) with the api key in place. I saved the stack and quit and reloaded the IDE. I launched the stack again and clicked the 'load map' button. That triggered a series of errors to the point where I finally had to disable messages and shut it all down. > > Obviously I'm missing out on something, but I'm not sure what. > But it looks like a promising app. > > -- > 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 brahma at hindu.org Thu Jul 6 22:55:23 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 7 Jul 2017 02:55:23 +0000 Subject: Augmented Earth now on the App Store! In-Reply-To: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> Message-ID: <3C0B03E2-895E-4DB2-9B8A-BC8AFFB42593@hindu.org> Downloaded initial user registration failed some how.. no clear feedback on why, but now there is nothing more I can do? anything I try leads to a Error incorect or inaccurate app user login credentials. Going for the gear, choosing new user, enter creds. still get same message. I'm locked out of this app. Also you need to trap for the return key in the name field. use can hit return and a cr is added and the name he entered disappears on line 1 above. you need to put in that field on return # do nothing, and do not pass the return key in the name field? or send the cursor down to the Password field. end return or something like that.. I have to look ? but, looks interesting, I'm impressed by the level of community activity you expect to generate/support? looks "scary" to me unless you have a big staff. I've been thinking about similar things for our new app, but everytime I shy away? BR On 7/6/17, 4:01 AM, "use-livecode on behalf of Jonathan Lynch via use-livecode" wrote: If you get a chance, please check it out. This is just a soft launch, but I am excited to have it out there. I won't start heavy promotion until version 1.5. From brahma at hindu.org Thu Jul 6 23:11:05 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 7 Jul 2017 03:11:05 +0000 Subject: Peculiar behavior of group objects with hide-lock. show-unlock In-Reply-To: <4247b6f2-aa05-27cb-0fea-a68ee5b8289f@hyperactivesw.com> References: <4247b6f2-aa05-27cb-0fea-a68ee5b8289f@hyperactivesw.com> Message-ID: Jacque, you can pull nightly and check out the daily lesson card script. I don't have multiple lock unlock anywhere? I read that in the docs. I made sure 1) Pair only lock/unlock 2) one pair only hide/show in the whole script.. but "no way, no how" could I get them play together. There are clearly rendering issues where (I suspect) the VRam update for the visual effect is almost like running on a separate thread and is running actually slower than the engine, and to make matters mor interesting, some old version of the field is cached and that cached version is still "alive" even after the script issues put empty into fld "daily-lesson-text" # cached version of the field is still floating round in the pretaloka. (world of disembodies souls attached to the earth plane? "ghosts") I stripped out *all* hide and show handlers and trimmed back to 1) lock screen 2) then: put empty into the field; then build the whole text/typesetting with the next lesson 3) unlock screen with visual effect dissolve very fast. OK this works. Except that I *did* want a pause in between where the users see the full background photo to have a brief "oh lovely!" moment, before showing the updated lesson text. As it is now, the lock and unlock serves well. What seems like a lot of code to build/typeset the field happens "instantly" in the background with the screen locked and then the text dissolved and shows the new text. its like the text of the previous lesson magically "melts" into the next new text. Not my intended visual effect, but still pretty cool. But it would be good to figure out how to do this. Going the other route, using no lock but hide the field with visual effect dissolve very fast wait 500 millisecond with messages # user see background graphic # we put empty into the field # run the new data in and typeset it. show the field with visual effect dissolve very fast shows the data from the previous incarnation of the field, before it was emptied. Almost as if it were cached; until you "touch" it. Then "blink" the text updates. I don't have time to build a sample test stack at the moment, but looks like a bug to me. BR On 7/6/17, 8:39 AM, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: I've hit a similar, but not identical, issue and have been planning to submit a bug report but it's been tricky to extract example code from my full project so I haven't got to it yet. There seems to be an issue with nested lockscreens if one of the locks uses a visual effect. My guess is that the one with a visual effect seems to corrupt or override the lock count. The workaround in my current project is to make sure there is only one set of lock/unlock commands, the one with the visual effect. Apparently that didn't work for you. My stack doesn't use "show/hide with visual effect" though. Instead I "lock screen for visual effect" and then later "unlock screen with visual effect." Maybe separating out the command that way would work better. From tom at makeshyft.com Fri Jul 7 00:21:22 2017 From: tom at makeshyft.com (Tom Glod) Date: Fri, 7 Jul 2017 00:21:22 -0400 Subject: fonts v8 vs v9 In-Reply-To: References: Message-ID: Hi Panos.... While looking more closely at a comparison...I can't in my right mind call it a bug since the text rendering looks so much better .... it does look boldish but it could just be the segoe font. so its not a bug...its improved rendering of fonts. check it out https://www.dropbox.com/s/rna2motjgd66k1v/v8-v9-font-rendering.jpg?dl=0 On Thu, Jul 6, 2017 at 4:01 AM, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Tom, > > In LiveCode 9.0 DP-7 we have updated the version of the Skia library (which > is used for font rendering). But this should not make all fonts look > bolded. If this is the case for you, can you file a bug report ( > http://quality.livecode.com) so as we investigate further? > > Best, > Panos > -- > > On Wed, Jul 5, 2017 at 7:45 PM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi everyone > > > > Does anyone know what changed in version 9 to make all fonts look bolded > ? > > the font of the ide seems slightly different too. font inside my > > application...big difference. > > > > Thanks > > > > Tom > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ahsoftware at sonic.net Fri Jul 7 00:40:29 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 6 Jul 2017 21:40:29 -0700 Subject: Google Static Maps Demo Available In-Reply-To: <344D07F3-781E-41AD-BF94-41E16418829C@gmail.com> References: <16bd5d37-5b8e-11f6-ef48-ec1ff4c1b56f@sonic.net> <344D07F3-781E-41AD-BF94-41E16418829C@gmail.com> Message-ID: <611dbf69-8129-94d4-14a1-405aa836a1c8@sonic.net> On 07/06/2017 07:53 PM, William Prothero via use-livecode wrote: > Mark: > Hmmmm?. I checked it out and the problem is with LC 9.0 (dp7). The openstack script is in the first card in the main stack. It has the script to start using the various substacks that are needed. If I open it in LC9, this code somehow gets disabled and doesn?t show in the IDE editor. So, the substacks never get ?used.? I tried opening a virgin version in LC 8.1.5(RC3) and it worked as expected. So, I guess this is a bug in the latest LC9 release. > > I don?t know about the difficulty entering the APIKey. It works for me in LC8.1.5. lI?m on Mac, latest OS. > > The link to get the latest (fixed) download is: > http://earthlearningsolutions.org/google-static-maps-demo/ > > You need to get this newest version, because I had tested it in LC9 and saved it, so the openstack script was deleted somehow. > > I?ll be very interested to see if you have more troubles. Thanks. That fixed all those problems (LC9dp6). No idea what was going on with the text field. So I can load a map, and I can use the slider to zoom. I can type input parameters into the centering fields and the box corners and reload the map to see the changes, and I can see the mouse lat/lon values moving when I move the mouse. Is anything else supposed to happen? Clicking on the map does nothing. I realize the docs say 'The rest is pretty self-explanatory', so maybe I've done it all. -- Mark Wieder ahsoftware at gmail.com From waprothero at gmail.com Fri Jul 7 01:33:40 2017 From: waprothero at gmail.com (William Prothero) Date: Thu, 6 Jul 2017 22:33:40 -0700 Subject: Google Static Maps Demo Available In-Reply-To: <611dbf69-8129-94d4-14a1-405aa836a1c8@sonic.net> References: <16bd5d37-5b8e-11f6-ef48-ec1ff4c1b56f@sonic.net> <344D07F3-781E-41AD-BF94-41E16418829C@gmail.com> <611dbf69-8129-94d4-14a1-405aa836a1c8@sonic.net> Message-ID: <1A4CD376-A691-4C09-8CBF-2704677DF17B@gmail.com> Mark: Yes, you?ve done it all. It was intended just to demo the display of a Google Static Map and show how to get the corners of the image so the lat/lon of the mouse position could be calculated. To do that, I had to rely oh Hermann?s expertise with Javascript to convert a posted solution to LCS. I spent time carefully checking that the corners calculation agreed with the box plotted by the maps api. The map image is also slightly stretched horizontally (to fit my own project map size) and I had to do some tweaking to the corners code to make that work. The links to the Google API get the programmer to the web site that tells how to display streets, display a map of a particular city or other feature, add symbols, etc. For those who need to do that, this should help. It?s pretty trivial to change the URL params, so I felt I could leave that to the user. Actually, the entire thing is pretty trivial, but it did take me quite a bit of time, thrashing through the details because I?d never worked with the Google maps api, so perhaps others might find it useful. My project will continue and plot data on a captured image, scroll the map, etc. I hadn?t planned on including that part in the demo, but could, if requested. Best, Bill P > On Jul 6, 2017, at 9:40 PM, Mark Wieder via use-livecode wrote: > > On 07/06/2017 07:53 PM, William Prothero via use-livecode wrote: >> Mark: >> Hmmmm?. I checked it out and the problem is with LC 9.0 (dp7). The openstack script is in the first card in the main stack. It has the script to start using the various substacks that are needed. If I open it in LC9, this code somehow gets disabled and doesn?t show in the IDE editor. So, the substacks never get ?used.? I tried opening a virgin version in LC 8.1.5(RC3) and it worked as expected. So, I guess this is a bug in the latest LC9 release. >> I don?t know about the difficulty entering the APIKey. It works for me in LC8.1.5. lI?m on Mac, latest OS. >> The link to get the latest (fixed) download is: >> http://earthlearningsolutions.org/google-static-maps-demo/ >> You need to get this newest version, because I had tested it in LC9 and saved it, so the openstack script was deleted somehow. >> I?ll be very interested to see if you have more troubles. > > Thanks. That fixed all those problems (LC9dp6). No idea what was going on with the text field. > > So I can load a map, and I can use the slider to zoom. I can type input parameters into the centering fields and the box corners and reload the map to see the changes, and I can see the mouse lat/lon values moving when I move the mouse. Is anything else supposed to happen? Clicking on the map does nothing. I realize the docs say 'The rest is pretty self-explanatory', so maybe I've done it all. > > -- > 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 alanstenhouse at hotmail.com Fri Jul 7 02:17:12 2017 From: alanstenhouse at hotmail.com (Alan) Date: Fri, 7 Jul 2017 06:17:12 +0000 Subject: Mobile - "Copy Files" tab of Standalone Message-ID: Using LC9dp7 - I'm adding files and a folder to be used by the Standalone Builder in the "Copy Files" tab. For some reason, when adding a file in a sub-folder, it seems to create the sub-folder as well when testing the app in the Simulator - I'm pretty sure that this didn't used to be the case. It's correctly locating it in the specialFolderPath("resources"), just also creating the extra sub-folder before placing it inside there. i.e. I include a file: data/test.txt and I expect that to be in specialFolderPath("resources") &slash & "test.txt" but instead it's in specialFolderPath("resources") & "/data/test.txt" I guess I should check on the device to see if it's the same or not. Any suggestions welcome. cheers Alan From livfoss at mac.com Thu Jul 6 16:27:03 2017 From: livfoss at mac.com (Graham Samuel) Date: Thu, 06 Jul 2017 22:27:03 +0200 Subject: Feature Race: Pick Your Project In-Reply-To: <3089d8bd-b97f-0676-86df-9fb3e528085b@hyperactivesw.com> References: <8404b344b09103bf489dd8a9a.ccf34eb596.20170622143113.cc1a8659fc.e1973c57@mail194.atl121.mcsv.net> <7B3FEA0E-7376-479D-A0A3-C3F4BF139571@hindu.org> <3089d8bd-b97f-0676-86df-9fb3e528085b@hyperactivesw.com> Message-ID: <5C072852-48AF-46F7-BEDE-46034162ACBB@mac.com> I was one of the ones who didn't contribute because I have very little interest in data grids, and right now I have very little time to read this list - so I just went with the 'data grid' headline and concluded that it wasn't for me. Jacque's post belatedly made me regret this. In retrospect I'm glad the funding came in. Sorry I wasn't more help. Graham Sent from my iPad > On 5 Jul 2017, at 21:44, J. Landman Gay via use-livecode wrote: > > Another reason may be the subject title. I'm not sure everyone understands that this feature will improve much more than just datagrids. A subset of users employ datagrids, but everyone needs smooth scrolling in a variety of situations. That's the primary reason I pledged -- I'm not too interested in datagrid performance but the inability to properly scroll fields within groups is big hurdle in almost every project I do. > > I hope more people jump in because I, for one, really need this feature. The sooner the better. > >> On 7/5/17 1:04 PM, Kevin Miller via use-livecode wrote: >> I?m not sure if its apathy or more likely just the holiday weekend. That >> said... >> I?m sorry its taken so long to do Infinite LiveCode. As I?ve said in my >> keynote, in the comments section and on the blog, we wouldn?t be funding a >> new project if it that one wasn?t in the last stages of being wrapped up. >> Android has been mostly delivered and the other platforms and stretch >> goals are a small piece now. We really have finally cracked this project, >> getting it into a build is the last step. >> The reality is that we now need to look at what we are doing next and what >> is affordable. If we don?t fund this project, the knock on effects for the >> platform will be very significant. We?re already a very small team that >> punches well above our weight. We have the potential for a very bright >> future with the rather amazing stuff that you can now do. Check out Ali?s >> blog post on Android and wait a few more days for more. We can build on >> everything we?ve just created and maintain the considerable momentum we >> have built or we can shrink. >> Kind regards, >> Kevin >> Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ >> LiveCode: Everyone can create apps >> On 05/07/2017, 18:24, "use-livecode on behalf of Dan Brown via >> use-livecode" > use-livecode at lists.runrev.com> wrote: >>> The comments section on the pledge page gives a good insight as to why >>> there may be a feeling of apathy towards this fundraiser > > > -- > 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 Fri Jul 7 05:50:54 2017 From: hh at hyperhh.de (hh) Date: Fri, 7 Jul 2017 11:50:54 +0200 Subject: Google Static Maps Demo Available Message-ID: <66457282-C01D-499D-8395-C7D18ADB1997@hyperhh.de> Hi William, this is a great demo, especially your (clever) library functions. It works all fine here and it is really the base one needs for getting everything else through the GMap APIs. Of course, every LC user from all over the world who is not used to work with numeric coords would be happy to have a basic map scroll. Thanks for this demo. It was worth to translate the few js lines for that! Hermann From jonathandlynch at gmail.com Fri Jul 7 06:26:52 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Fri, 7 Jul 2017 06:26:52 -0400 Subject: Augmented Earth now on the App Store! In-Reply-To: <3C0B03E2-895E-4DB2-9B8A-BC8AFFB42593@hindu.org> References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <3C0B03E2-895E-4DB2-9B8A-BC8AFFB42593@hindu.org> Message-ID: Hi Swami, The interface confuses people about whether they are logging in or signing up - I added some things that make that explicit and going to submit as soon as I test on a few friends. If you want to register, fill in the fields for a new user then click the gear again to have the option to submit. Clearly, I tested this in a biased way - not going to make that mistake again. Thanks for checking it out! J Sent from my iPhone > On Jul 6, 2017, at 10:55 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > Downloaded > > initial user registration failed some how.. no clear feedback on why, but now there is nothing more I can do? anything I try leads to a Error incorect or inaccurate app user login credentials. > > Going for the gear, choosing new user, enter creds. still get same message. > > I'm locked out of this app. > > Also you need to trap for the return key in the name field. use can hit return and a cr is added and the name he entered disappears on line 1 above. > > you need to put in that field > > on return > # do nothing, and do not pass the return key in the name field? or send the cursor down to the Password field. > end return > > or something like that.. I have to look ? > > but, looks interesting, I'm impressed by the level of community activity you expect to generate/support? looks "scary" to me unless you have a big staff. I've been thinking about similar things for our new app, but everytime I shy away? > > BR > > On 7/6/17, 4:01 AM, "use-livecode on behalf of Jonathan Lynch via use-livecode" wrote: > > If you get a chance, please check it out. This is just a soft launch, but I am excited to have it out there. I won't start heavy promotion until version 1.5. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Fri Jul 7 07:57:53 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Fri, 7 Jul 2017 07:57:53 -0400 Subject: Biased testing and micro-coaching Message-ID: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> I think my experience of the last two days has taught me something - I have been micro-coaching my friends when they try my app. Just the littlest input, like saying "oh, just press the button again to submit" comes so easily and, apparently mucks up testing entirely. While the harm will be minimal in this case, I can see where it could be disastrous for a large company. What steps do you guys follow for accurate testing when you don't have a budget for proper official testing procedures? Sent from my iPhone From bdrunrev at gmail.com Fri Jul 7 08:02:52 2017 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 7 Jul 2017 13:02:52 +0100 Subject: debugging a CEF browser instance In-Reply-To: <557a17a10bf56b6af63d11c668f89d86@livecode.com> References: <02855171-0054-47B0-9056-4D44DD3217CF@gmail.com> <3DC64DB3-1D14-4816-93F5-A16D3D2F0B66@gmail.com> <557a17a10bf56b6af63d11c668f89d86@livecode.com> Message-ID: Hi Mark, I've now found an app which has embedded the CEF browser within it. This embedded CEF browser has no trouble loading the page in question. This makes it very clear that the problem relates to the way that LC is embedding the CEF browser. This is also confirmed by the fact the page will not load in LC browser widget on OS X. Is there any way of debugging the browser that is embedded in OS X? If not I'll have to put this project on hold without any way to debug any browser instance. Regards Bernard On Thu, Jul 6, 2017 at 8:28 AM, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2017-07-06 08:39, Jonathan Lynch via use-livecode wrote: > >> Why? >> > > In general there is a cost to logging - particularly CEF's which is very > verbose. On Windows you might not notice (as stdout/stderr output is > generally dumped to the equivalent of /dev/null), but on Linux if you > happen to be working from the command-line and running UI stuff using the > browser widget from there then you'll find your terminal flooded with CEF > logging (and I mean flooded!). > > I don't think anyone has asked specifically about having it configurable > before now - although I noticed it would be useful last month ( > http://quality.livecode.com/show_bug.cgi?id=19862) whilst attempting to > figure out why the browser widget only works on *some* linux installs > (seems to be somewhat independent of distribution - the workarounds some > people have found with regards the locale don't seem to work anymore). > > Unfortunately, we aren't any closer to solving the linux problem... After > at least three of us spending more hours than I'd care to comment on trying > to figure out what is happening there, we're working through a couple of > tasks so that we can more easily update CEF to the latest version. > > In particular, making it so that we can build our 'prebuilts' (currently > ICU, OpenSSL and Curl) on vulcan (doing it manually is arduous and > intensely error prone). We can then move the building of the CEF library > component to a prebuilt and automate its generation based on a version tag > (we can thank Spotify for taking over the management of binary releases of > CEF - http://opensource.spotify.com/cefbuilds/index.html - as they've > made it much much easier). > > So we're currently involved in a (small) yak-shave in this regard... > Although one which will also mean we can solve a couple of other issues - > the size of ICU data (has anyone noticed that the 9 engines are somewhat > bigger than 8? That's down in good part to the ICU data), and also the > several minute increase per platform in build time due to the Skia update. > I also hope that this means that over time we can eliminate the thirdparty > submodule entirely - which would be one less point of friction in our > source base. > > Incidentally, Bernard and Jonathon - I take it you are using the browser > widget on Windows? (The reason I ask that is because CEF is only used on > Windows and Linux - Mac/Android and iOS all use the built-in browser - all > three are WebKit derived, like CEF). > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at livecode.com Fri Jul 7 08:25:35 2017 From: mark at livecode.com (Mark Waddingham) Date: Fri, 07 Jul 2017 14:25:35 +0200 Subject: debugging a CEF browser instance In-Reply-To: References: <02855171-0054-47B0-9056-4D44DD3217CF@gmail.com> <3DC64DB3-1D14-4816-93F5-A16D3D2F0B66@gmail.com> <557a17a10bf56b6af63d11c668f89d86@livecode.com> Message-ID: <51d34655b5ed9f5045f82b51be27c4e1@livecode.com> Hi Bernard, On 2017-07-07 14:02, Bernard Devlin via use-livecode wrote: > This makes it very clear that the problem relates to the way that LC is > embedding the CEF browser. This is also confirmed by the fact the page > will > not load in LC browser widget on OS X. Is there any way of debugging > the > browser that is embedded in OS X? If not I'll have to put this project > on > hold without any way to debug any browser instance. Mac does not use CEF - it uses the system WebView (which is Safari). The fact it doesn't work in either Mac's WebView of CEF may suggest that the webpage is doing something which is 'not allowed' by default - they are both WebKit based browsers, so it makes sense that if that is the case it would not work in either. What is the webpage which is not working? If you file a bug report with the details we can look into it - that might be slightly quicker than getting debugging/logging configurable in (at least) the CEF browser. Warmest Regards, Mark -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From prothero at earthlearningsolutions.org Fri Jul 7 10:29:44 2017 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Fri, 7 Jul 2017 07:29:44 -0700 Subject: Biased testing and micro-coaching In-Reply-To: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> Message-ID: <37614F41-4F64-4FC4-AA4A-971F1E8FA3BF@earthlearningsolutions.org> Jonathon, I feel your pain. In my case, I was initiated by my students and very quickly learned how to ask the questions a newbie would ask. I also paid small amounts to graduate students to get their feedback. One of my very effective testers is my grandson, my wife, any of my colleagues who might be enticed to use the app. Looking over the shoulder while these folks use the app can be very illuminating. In summary: 1. Ask friends and relatives first. 2. Perhaps there would be volunteers from the live ode users group. 3. Hire high school students who might have a tech interest. Look over their shoulders as they use the app and dialog to themselves. Actually watching users is invaluable. Good luck, Bill P William Prothero http://es.earthednet.org > On Jul 7, 2017, at 4:57 AM, Jonathan Lynch via use-livecode wrote: > > I think my experience of the last two days has taught me something - I have been micro-coaching my friends when they try my app. > > Just the littlest input, like saying "oh, just press the button again to submit" comes so easily and, apparently mucks up testing entirely. > > While the harm will be minimal in this case, I can see where it could be disastrous for a large company. > > What steps do you guys follow for accurate testing when you don't have a budget for proper official testing procedures? > > Sent from my iPhone > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Fri Jul 7 10:36:11 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 7 Jul 2017 07:36:11 -0700 Subject: Google Static Maps Demo Available In-Reply-To: <1A4CD376-A691-4C09-8CBF-2704677DF17B@gmail.com> References: <16bd5d37-5b8e-11f6-ef48-ec1ff4c1b56f@sonic.net> <344D07F3-781E-41AD-BF94-41E16418829C@gmail.com> <611dbf69-8129-94d4-14a1-405aa836a1c8@sonic.net> <1A4CD376-A691-4C09-8CBF-2704677DF17B@gmail.com> Message-ID: <54ce80ed-e03d-24f7-d5ff-201ad4c8cb55@sonic.net> On 07/06/2017 10:33 PM, William Prothero via use-livecode wrote: > Mark: > Yes, you?ve done it all. Cool. It's working as expected then. It was intended just to demo the display of a Google Static Map and show how to get the corners of the image so the lat/lon of the mouse position could be calculated. To do that, I had to rely oh Hermann?s expertise with Javascript to convert a posted solution to LCS. I spent time carefully checking that the corners calculation agreed with the box plotted by the maps api. The map image is also slightly stretched horizontally (to fit my own project map size) and I had to do some tweaking to the corners code to make that work. > > The links to the Google API get the programmer to the web site that tells how to display streets, display a map of a particular city or other feature, add symbols, etc. For those who need to do that, this should help. It?s pretty trivial to change the URL params, so I felt I could leave that to the user. Actually, the entire thing is pretty trivial, but it did take me quite a bit of time, thrashing through the details because I?d never worked with the Google maps api, so perhaps others might find it useful. > > My project will continue and plot data on a captured image, scroll the map, etc. I hadn?t planned on including that part in the demo, but could, if requested. The demo doesn't seem to be trivial at all, especially looking at the libraries involved - you've put a lot of work into that. -- Mark Wieder ahsoftware at gmail.com From roger.e.eller at sealedair.com Fri Jul 7 10:36:40 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 7 Jul 2017 10:36:40 -0400 Subject: Text style is hit or miss for me Message-ID: I am attempting to add formatting buttons above a field. If the text is typed into the field, my formatting buttons work as expected. When a user pastes text from another application, my formatting works sometimes, but not always. Below is what I use in my Bold button, and Italic button. I want to keep the style that is already applied, and add an additional style, for example, if the selection is already bold, I want it to stay bold but add italics. set the textStyle of the selectedChunk to (the textStyle of the selectedChunk) & "," & "bold" set the textStyle of the selectedChunk to (the textStyle of the selectedChunk) & "," & "italic" How do you guys do formatting buttons? ~Roger From mark at livecode.com Fri Jul 7 10:40:35 2017 From: mark at livecode.com (Mark Waddingham) Date: Fri, 07 Jul 2017 16:40:35 +0200 Subject: Text style is hit or miss for me In-Reply-To: References: Message-ID: Hi Roger, On 2017-07-07 16:36, Roger Eller via use-livecode wrote: > How do you guys do formatting buttons? Try set the textStyle["bold"] of the selectedChunk to true set the textStyle["italic"] of the selectedChunk to true Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ahsoftware at sonic.net Fri Jul 7 10:48:35 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 7 Jul 2017 07:48:35 -0700 Subject: Biased testing and micro-coaching In-Reply-To: <37614F41-4F64-4FC4-AA4A-971F1E8FA3BF@earthlearningsolutions.org> References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <37614F41-4F64-4FC4-AA4A-971F1E8FA3BF@earthlearningsolutions.org> Message-ID: On 07/07/2017 07:29 AM, prothero--- via use-livecode wrote: > Actually watching users is invaluable. Absolutely. And try to resist the urge to help them along. And take notes about where they hesitate or stumble. As a QA engineer, I find that when I'm faced with a new application I have about two weeks where I can reasonably find workflow problems. During that period I try to write down every nitpicking thing I can find and make notes about where I find myself unsure about what comes next, etc. After that time I have become so used to the way it's supposed to work that it's hard to step outside the box and think like a new user. I get into the developer mindset then, and while that's essential for finding deeper bugs it means missing some UX issues. -- Mark Wieder ahsoftware at gmail.com From roger.e.eller at sealedair.com Fri Jul 7 10:59:44 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 7 Jul 2017 10:59:44 -0400 Subject: Text style is hit or miss for me In-Reply-To: References: Message-ID: That worked perfectly for all but plain. In my plain button, I had to write it as: set the textStyle of the selectedChunk to "plain". Thank you, Mark! ~Roger On Fri, Jul 7, 2017 at 10:40 AM, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Roger, > > On 2017-07-07 16:36, Roger Eller via use-livecode wrote: > >> How do you guys do formatting buttons? >> > > Try > > set the textStyle["bold"] of the selectedChunk to true > set the textStyle["italic"] of the selectedChunk to true > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > From jonathandlynch at gmail.com Fri Jul 7 10:59:50 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Fri, 7 Jul 2017 10:59:50 -0400 Subject: Google Static Maps Demo Available In-Reply-To: <54ce80ed-e03d-24f7-d5ff-201ad4c8cb55@sonic.net> References: <16bd5d37-5b8e-11f6-ef48-ec1ff4c1b56f@sonic.net> <344D07F3-781E-41AD-BF94-41E16418829C@gmail.com> <611dbf69-8129-94d4-14a1-405aa836a1c8@sonic.net> <1A4CD376-A691-4C09-8CBF-2704677DF17B@gmail.com> <54ce80ed-e03d-24f7-d5ff-201ad4c8cb55@sonic.net> Message-ID: <4610B725-7BE3-4EB4-B43E-3F1759610D30@gmail.com> Hey guys - just a quick warning about google. Read their TOS very carefully before building an app around their service. One can find several horror stories online about Google cancelling contracts without really explaining why. Bill's stack should work well with a little bit of adaptation for bing maps and OSM providers. Sent from my iPhone > On Jul 7, 2017, at 10:36 AM, Mark Wieder via use-livecode wrote: > >> On 07/06/2017 10:33 PM, William Prothero via use-livecode wrote: >> Mark: >> Yes, you?ve done it all. > > Cool. It's working as expected then. > > It was intended just to demo the display of a Google Static Map and show how to get the corners of the image so the lat/lon of the mouse position could be calculated. To do that, I had to rely oh Hermann?s expertise with Javascript to convert a posted solution to LCS. I spent time carefully checking that the corners calculation agreed with the box plotted by the maps api. The map image is also slightly stretched horizontally (to fit my own project map size) and I had to do some tweaking to the corners code to make that work. >> The links to the Google API get the programmer to the web site that tells how to display streets, display a map of a particular city or other feature, add symbols, etc. For those who need to do that, this should help. It?s pretty trivial to change the URL params, so I felt I could leave that to the user. Actually, the entire thing is pretty trivial, but it did take me quite a bit of time, thrashing through the details because I?d never worked with the Google maps api, so perhaps others might find it useful. >> My project will continue and plot data on a captured image, scroll the map, etc. I hadn?t planned on including that part in the demo, but could, if requested. > > The demo doesn't seem to be trivial at all, especially looking at the libraries involved - you've put a lot of work into that. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Fri Jul 7 12:01:05 2017 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 7 Jul 2017 16:01:05 +0000 Subject: Biased testing and micro-coaching In-Reply-To: <37614F41-4F64-4FC4-AA4A-971F1E8FA3BF@earthlearningsolutions.org> References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <37614F41-4F64-4FC4-AA4A-971F1E8FA3BF@earthlearningsolutions.org> Message-ID: <196C5EF3-E943-47B1-9DAF-8AFEDFFC290A@byu.edu> Jonathan, Here?s a link to my lesson outline when I teach my students about conducting user evaluations of software. It?s still a bit sparse and needs to be fleshed out, but I include some links to a couple of really good articles on evaluation techniques, including one by our very own Jacque Gay. http://livecode.byu.edu/userevals/UserEvals.php Devin On Jul 7, 2017, at 8:29 AM, prothero--- via use-livecode > wrote: Jonathon, I feel your pain. In my case, I was initiated by my students and very quickly learned how to ask the questions a newbie would ask. I also paid small amounts to graduate students to get their feedback. One of my very effective testers is my grandson, my wife, any of my colleagues who might be enticed to use the app. Looking over the shoulder while these folks use the app can be very illuminating. In summary: 1. Ask friends and relatives first. 2. Perhaps there would be volunteers from the live ode users group. 3. Hire high school students who might have a tech interest. Look over their shoulders as they use the app and dialog to themselves. Actually watching users is invaluable. Good luck, Bill P William Prothero http://es.earthednet.org On Jul 7, 2017, at 4:57 AM, Jonathan Lynch via use-livecode wrote: I think my experience of the last two days has taught me something - I have been micro-coaching my friends when they try my app. Just the littlest input, like saying "oh, just press the button again to submit" comes so easily and, apparently mucks up testing entirely. While the harm will be minimal in this case, I can see where it could be disastrous for a large company. What steps do you guys follow for accurate testing when you don't have a budget for proper official testing procedures? Sent from my iPhone _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From dochawk at gmail.com Fri Jul 7 12:02:40 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 7 Jul 2017 09:02:40 -0700 Subject: Biased testing and micro-coaching In-Reply-To: <37614F41-4F64-4FC4-AA4A-971F1E8FA3BF@earthlearningsolutions.org> References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <37614F41-4F64-4FC4-AA4A-971F1E8FA3BF@earthlearningsolutions.org> Message-ID: In another era, Heathkit reportedly used secretaries to test the instructions to their electronics kits. They found that they could only use any given secretary three times, as she would pick up enough doing the first three to overcome errors in future runs without being stopped by them . . . On Fri, Jul 7, 2017 at 7:29 AM, prothero--- via use-livecode < use-livecode at lists.runrev.com> wrote: > Jonathon, > I feel your pain. In my case, I was initiated by my students and very > quickly learned how to ask the questions a newbie would ask. I also paid > small amounts to graduate students to get their feedback. > > One of my very effective testers is my grandson, my wife, any of my > colleagues who might be enticed to use the app. Looking over the shoulder > while these folks use the app can be very illuminating. > > In summary: > 1. Ask friends and relatives first. > 2. Perhaps there would be volunteers from the live ode users group. > 3. Hire high school students who might have a tech interest. Look over > their shoulders as they use the app and dialog to themselves. Actually > watching users is invaluable. > > Good luck, > Bill P > > > William Prothero > http://es.earthednet.org > > > On Jul 7, 2017, at 4:57 AM, Jonathan Lynch via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I think my experience of the last two days has taught me something - I > have been micro-coaching my friends when they try my app. > > > > Just the littlest input, like saying "oh, just press the button again to > submit" comes so easily and, apparently mucks up testing entirely. > > > > While the harm will be minimal in this case, I can see where it could be > disastrous for a large company. > > > > What steps do you guys follow for accurate testing when you don't have a > budget for proper official testing procedures? > > > > Sent from my iPhone > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jonathandlynch at gmail.com Fri Jul 7 12:03:52 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Fri, 7 Jul 2017 12:03:52 -0400 Subject: Biased testing and micro-coaching In-Reply-To: <196C5EF3-E943-47B1-9DAF-8AFEDFFC290A@byu.edu> References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <37614F41-4F64-4FC4-AA4A-971F1E8FA3BF@earthlearningsolutions.org> <196C5EF3-E943-47B1-9DAF-8AFEDFFC290A@byu.edu> Message-ID: Thank you, Devin! Sent from my iPhone > On Jul 7, 2017, at 12:01 PM, Devin Asay via use-livecode wrote: > > Jonathan, > > Here?s a link to my lesson outline when I teach my students about conducting user evaluations of software. It?s still a bit sparse and needs to be fleshed out, but I include some links to a couple of really good articles on evaluation techniques, including one by our very own Jacque Gay. > > http://livecode.byu.edu/userevals/UserEvals.php > > Devin > > On Jul 7, 2017, at 8:29 AM, prothero--- via use-livecode > wrote: > > Jonathon, > I feel your pain. In my case, I was initiated by my students and very quickly learned how to ask the questions a newbie would ask. I also paid small amounts to graduate students to get their feedback. > > One of my very effective testers is my grandson, my wife, any of my colleagues who might be enticed to use the app. Looking over the shoulder while these folks use the app can be very illuminating. > > In summary: > 1. Ask friends and relatives first. > 2. Perhaps there would be volunteers from the live ode users group. > 3. Hire high school students who might have a tech interest. Look over their shoulders as they use the app and dialog to themselves. Actually watching users is invaluable. > > Good luck, > Bill P > > > William Prothero > http://es.earthednet.org > > On Jul 7, 2017, at 4:57 AM, Jonathan Lynch via use-livecode wrote: > > I think my experience of the last two days has taught me something - I have been micro-coaching my friends when they try my app. > > Just the littlest input, like saying "oh, just press the button again to submit" comes so easily and, apparently mucks up testing entirely. > > While the harm will be minimal in this case, I can see where it could be disastrous for a large company. > > What steps do you guys follow for accurate testing when you don't have a budget for proper official testing procedures? > > Sent from my iPhone > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Fri Jul 7 12:12:35 2017 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 7 Jul 2017 16:12:35 +0000 Subject: Text style is hit or miss for me In-Reply-To: References: Message-ID: <9298DB54-A7D6-4C07-A96D-73D43C5E86EB@byu.edu> Roger, The advantage of the array notation for textStyle is that you can explicitly set each style for a given run of text. The disadvantage of the array notation for textStyle is that you have to explicitly un-set each style for a given run of text. ;) set the textStyle[?bold?] of the selectedChunk to false But as you note, if you want to clear out *all* style formatting, the old, non-array method of setting the textStyle to plain works great. Nuke those styles! Devin On Jul 7, 2017, at 8:59 AM, Roger Eller via use-livecode > wrote: That worked perfectly for all but plain. In my plain button, I had to write it as: set the textStyle of the selectedChunk to "plain". Thank you, Mark! ~Roger On Fri, Jul 7, 2017 at 10:40 AM, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: Hi Roger, On 2017-07-07 16:36, Roger Eller via use-livecode wrote: How do you guys do formatting buttons? Try set the textStyle["bold"] of the selectedChunk to true set the textStyle["italic"] of the selectedChunk to true Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From waprothero at gmail.com Fri Jul 7 12:19:27 2017 From: waprothero at gmail.com (William Prothero) Date: Fri, 7 Jul 2017 09:19:27 -0700 Subject: Problem showing card script in IDE in LC9.0.0(dp7) Message-ID: <686254CA-2A8E-4DA0-8A4D-B4211E9A55F1@gmail.com> Folks: LC 9.0.0(dp7) doesn?t show the script of the first card on my application, when I open it in the project browser. If I don?t try to edit the script, then save the app, everything is ok. Going further, it appears that the card script of the last card is not displayed. To work around this, there needs to be a dummy last card. This works in an empty stack. Just make a new stack with a single card, enter something in the script of the first card. Close it, then open again. It?s gone. Then, add another card, then open the script in the first card. Whoopee, it?s there. But, then anything you enter in the script of the last card disappears when entered, closed, and opened again. However, in LC 8.1.5(rc3), it shows as expected. I will report this bug as soon as anybody verifies this. I?m on OSX10.12.5. Best, Bill P William A. Prothero http://earthlearningsolution.org/ From waprothero at gmail.com Fri Jul 7 12:31:24 2017 From: waprothero at gmail.com (William Prothero) Date: Fri, 7 Jul 2017 09:31:24 -0700 Subject: Google Static Maps Demo Available In-Reply-To: <4610B725-7BE3-4EB4-B43E-3F1759610D30@gmail.com> References: <16bd5d37-5b8e-11f6-ef48-ec1ff4c1b56f@sonic.net> <344D07F3-781E-41AD-BF94-41E16418829C@gmail.com> <611dbf69-8129-94d4-14a1-405aa836a1c8@sonic.net> <1A4CD376-A691-4C09-8CBF-2704677DF17B@gmail.com> <54ce80ed-e03d-24f7-d5ff-201ad4c8cb55@sonic.net> <4610B725-7BE3-4EB4-B43E-3F1759610D30@gmail.com> Message-ID: <433443F7-6B12-424D-A1CE-43C81658F973@gmail.com> I just uploaded a new version, with a few minor tweaks to my Google static maps demo stack, at Hermann?s suggestions (same link address I sent previously). You don?t need to get a Google APIKey anymore, but will need it for a real app. If anybody would like to modify it to work with Bing maps or OSM, that would be great and I?d like to see it. Be careful, though, as a critical need, for my intended purpose, is to have the lat/lon values of the corners of the displayed map. The calculations that work for Google may not work for the other map services. For apps that generate a gazillion hits, you may have to pay, too. Best, Bill P > On Jul 7, 2017, at 7:59 AM, Jonathan Lynch via use-livecode wrote: > > Hey guys - just a quick warning about google. Read their TOS very carefully before building an app around their service. One can find several horror stories online about Google cancelling contracts without really explaining why. > > Bill's stack should work well with a little bit of adaptation for bing maps and OSM providers. > > > Sent from my iPhone > >> On Jul 7, 2017, at 10:36 AM, Mark Wieder via use-livecode wrote: >> >>> On 07/06/2017 10:33 PM, William Prothero via use-livecode wrote: >>> Mark: >>> Yes, you?ve done it all. >> >> Cool. It's working as expected then. >> >> It was intended just to demo the display of a Google Static Map and show how to get the corners of the image so the lat/lon of the mouse position could be calculated. To do that, I had to rely oh Hermann?s expertise with Javascript to convert a posted solution to LCS. I spent time carefully checking that the corners calculation agreed with the box plotted by the maps api. The map image is also slightly stretched horizontally (to fit my own project map size) and I had to do some tweaking to the corners code to make that work. >>> The links to the Google API get the programmer to the web site that tells how to display streets, display a map of a particular city or other feature, add symbols, etc. For those who need to do that, this should help. It?s pretty trivial to change the URL params, so I felt I could leave that to the user. Actually, the entire thing is pretty trivial, but it did take me quite a bit of time, thrashing through the details because I?d never worked with the Google maps api, so perhaps others might find it useful. >>> My project will continue and plot data on a captured image, scroll the map, etc. I hadn?t planned on including that part in the demo, but could, if requested. >> >> The demo doesn't seem to be trivial at all, especially looking at the libraries involved - you've put a lot of work into that. >> >> -- >> 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 hh at hyperhh.de Fri Jul 7 12:51:43 2017 From: hh at hyperhh.de (hh) Date: Fri, 7 Jul 2017 18:51:43 +0200 Subject: Problem showing card script in IDE in LC9.0.0(dp7) Message-ID: <40C38FEC-565F-4FB1-8E6C-F1FBCD78261D@hyperhh.de> http://quality.livecode.com/show_bug.cgi?id=19887 From johnpatten at me.com Fri Jul 7 13:00:22 2017 From: johnpatten at me.com (JOHN PATTEN) Date: Fri, 07 Jul 2017 10:00:22 -0700 Subject: iOS Browser Widget and PDFs? SOLVED In-Reply-To: References: <6D295BF6-31AC-41BC-BF83-4845BCF79C8C@me.com> Message-ID: FWIW? The issue was related to the specialFolderPath. When I was testing this aspect of the app I had it point to specialFolderPath(?Desktop"). Naturally, on the iPad I changed it to specialFolderPath(?engine?) thinking that would cover the iOS app. Nope. Apparently you can?t save files (pdfs) to the ?engine? folder. I changed it to specialFolderpath(?Documents?) and everything seems to be good now. Cheers! John Patten SUSD > On Jul 6, 2017, at 3:32 PM, JOHN PATTEN via use-livecode wrote: > > I had it ?Answer" me the path to the pdf in the iOS app on the iPad and it reports back: > > /var/containerns/Bundle?Application?CA0B0721-80F7-4B24-92C4-0B156D/PTP System.app/Teacher Laptop Replacement Quote (19).dpf > > This should be the path that the - set url of the widget ?quoteBrowser? - is set to on the , correct? > > Thank you! > > >> On Jul 6, 2017, at 3:19 PM, JOHN PATTEN via use-livecode wrote: >> >> Hi All! >> >> I have little app that I?m using track our department quotes/purchases etc. It pulls the info out of a mySQl db. I have an issue with browser widget displaying the pdf quotes on iOS. The app pulls the PDF out of mysql via: >> Put "SELECT attachment FROM quotes WHERE name ='" & jQuote & "'" into btSQL >> >> put revDataFromQuery(tab, cr, gConnectionID, btSQL) into btData >> >> put base64Decode(btData) into vtemp >> >> put specialFolderPath("engine") & "/" & jQuote into vPath >> >> open file vPath for binary write >> >> write vtemp to file vPath >> >> close file vPath >> >> I then have to replace the spaces in the name of the pdf file with a: >> >> replace space with "%20" in vPath >> set the url of widget "quoteBrowser" of cd id 1067 to "file:" & vPath >> >> replace "%20" with space in vPath >> >> set the script button "Print Quote" of cd id 1067 to "on mouseUp" & return & "Launch url " & quote & "file:" & vPath & quote & return & "end mouseUp" >> >> >> Again this works fine on my Mac and on the iOS simulator. The PDF shows up just fine in the browser widget. >> >> However, when I build the app, and try it out on he actual iPad, it does not. I just get the blank white widget. >> >> Any suggestions on what I might try? >> >> Thank you! >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Fri Jul 7 13:23:45 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Fri, 7 Jul 2017 13:23:45 -0400 Subject: iOS Browser Widget and PDFs? SOLVED In-Reply-To: References: <6D295BF6-31AC-41BC-BF83-4845BCF79C8C@me.com> Message-ID: <6F5BC70C-3584-41BC-B4D2-F8E042D97271@gmail.com> I think you are safe using special folder path "documents" on all platforms. Sent from my iPhone > On Jul 7, 2017, at 1:00 PM, JOHN PATTEN via use-livecode wrote: > > FWIW? > > The issue was related to the specialFolderPath. When I was testing this aspect of the app I had it point to specialFolderPath(?Desktop"). Naturally, on the iPad I changed it to specialFolderPath(?engine?) thinking that would cover the iOS app. Nope. Apparently you can?t save files (pdfs) to the ?engine? folder. > > I changed it to specialFolderpath(?Documents?) and everything seems to be good now. > > Cheers! > > John Patten > SUSD > > >> On Jul 6, 2017, at 3:32 PM, JOHN PATTEN via use-livecode wrote: >> >> I had it ?Answer" me the path to the pdf in the iOS app on the iPad and it reports back: >> >> /var/containerns/Bundle?Application?CA0B0721-80F7-4B24-92C4-0B156D/PTP System.app/Teacher Laptop Replacement Quote (19).dpf >> >> This should be the path that the - set url of the widget ?quoteBrowser? - is set to on the , correct? >> >> Thank you! >> >> >>> On Jul 6, 2017, at 3:19 PM, JOHN PATTEN via use-livecode wrote: >>> >>> Hi All! >>> >>> I have little app that I?m using track our department quotes/purchases etc. It pulls the info out of a mySQl db. I have an issue with browser widget displaying the pdf quotes on iOS. The app pulls the PDF out of mysql via: >>> Put "SELECT attachment FROM quotes WHERE name ='" & jQuote & "'" into btSQL >>> >>> put revDataFromQuery(tab, cr, gConnectionID, btSQL) into btData >>> >>> put base64Decode(btData) into vtemp >>> >>> put specialFolderPath("engine") & "/" & jQuote into vPath >>> >>> open file vPath for binary write >>> >>> write vtemp to file vPath >>> >>> close file vPath >>> >>> I then have to replace the spaces in the name of the pdf file with a: >>> >>> replace space with "%20" in vPath >>> set the url of widget "quoteBrowser" of cd id 1067 to "file:" & vPath >>> >>> replace "%20" with space in vPath >>> >>> set the script button "Print Quote" of cd id 1067 to "on mouseUp" & return & "Launch url " & quote & "file:" & vPath & quote & return & "end mouseUp" >>> >>> >>> Again this works fine on my Mac and on the iOS simulator. The PDF shows up just fine in the browser widget. >>> >>> However, when I build the app, and try it out on he actual iPad, it does not. I just get the blank white widget. >>> >>> Any suggestions on what I might try? >>> >>> Thank you! >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 7 13:39:39 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Jul 2017 12:39:39 -0500 Subject: Biased testing and micro-coaching In-Reply-To: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> Message-ID: <15d1e22bb78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> http://hyperactivesw.com/resources_testing.html On July 7, 2017 6:59:52 AM Jonathan Lynch via use-livecode wrote: > > What steps do you guys follow for accurate testing when you don't have a > budget for proper official testing procedures? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jonathandlynch at gmail.com Fri Jul 7 13:53:23 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Fri, 7 Jul 2017 13:53:23 -0400 Subject: Biased testing and micro-coaching In-Reply-To: <15d1e22bb78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <15d1e22bb78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Thank you, Jacqueline Sent from my iPhone > On Jul 7, 2017, at 1:39 PM, J. Landman Gay via use-livecode wrote: > > http://hyperactivesw.com/resources_testing.html > > >> On July 7, 2017 6:59:52 AM Jonathan Lynch via use-livecode wrote: >> >> What steps do you guys follow for accurate testing when you don't have a budget for proper official testing procedures? > > -- > 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 brahma at hindu.org Fri Jul 7 15:18:53 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 7 Jul 2017 19:18:53 +0000 Subject: Group does not exist after "copy to this card" Message-ID: <474BEED2-DB65-4207-9297-4CE1CEE1B1D9@hindu.org> I doing this thing of saving a custom control in the loader stack on card 4..but it's behavior is text only stack on external to the stack group "shareUI"" then I have a new init handler that adds the long id's of these controls global sConfigA to then it is super easy to do this anywhere anytime, on other stacks and modules (loader stack is always present in memory and these controls are not overloaded with images so they don't take up a lot of RAM in the app package) copy sConfigA["shareContro"] to this card the control copies and appears and it has a behavior that fires, so far this is all very cool "brilliant" in fact? a new world of view object/classes opens up! wow.. but after the copy is done, the engine still doesn't acknowledge that the grp exists command sivasiva_Share put sConfigA["shareControl"] into tShareControl put exists(group "shareUI") # false copy tShareControl to this card # it works! buttons fire, behavior triggers Wow put exists(group "shareUI") # oops: still returns false end sivasiva_Share so there is no way to prevent the instantiation of multiple copies of the custom control? I *could* copy this particular control to *all* stack on preopenstack and then assume it is present, but there are caveats there? and I want to stay on this path of dynamic instantiation of view "classes" as needed. It has so much potential. I could also do the things of setting flags? but this adds complexity to what should be simple if not [some control exists] create it by copying the template else assume its already there, ready to go end if So we *do* need to know if the control actually copied and is now present on the card, albeit in an unsaved state. BR From jonathandlynch at gmail.com Fri Jul 7 15:49:13 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Fri, 7 Jul 2017 15:49:13 -0400 Subject: Biased testing and micro-coaching In-Reply-To: References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <15d1e22bb78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <537070B3-B1EE-4F52-B9E5-60D8433B631E@gmail.com> From reading these, it looks like my basic steps are these: 1. Make changes to the app 2. Test for usability myself a dozen times, trying things in different orders and in different ways to make it fail 3. Have my testers, which is really about 3 family members, test it to make it fail No coaching, no hints Directly observe their tests very closely Make notes on any moments of confusion, even if they minor Interview them, asking what they were thinking at each step Adjust the help file and add hints - and test those as well 4. Fix as needed and retest 5. Publish 6. Try to find virgin testers for next time, varying in age and mindset Does that sound about right? Sent from my iPhone > On Jul 7, 2017, at 1:53 PM, jonathandlynch at gmail.com wrote: > > Thank you, Jacqueline > > Sent from my iPhone > >> On Jul 7, 2017, at 1:39 PM, J. Landman Gay via use-livecode wrote: >> >> http://hyperactivesw.com/resources_testing.html >> >> >>> On July 7, 2017 6:59:52 AM Jonathan Lynch via use-livecode wrote: >>> >>> What steps do you guys follow for accurate testing when you don't have a budget for proper official testing procedures? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jul 7 16:09:31 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 7 Jul 2017 15:09:31 -0500 Subject: Biased testing and micro-coaching In-Reply-To: <537070B3-B1EE-4F52-B9E5-60D8433B631E@gmail.com> References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <15d1e22bb78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <537070B3-B1EE-4F52-B9E5-60D8433B631E@gmail.com> Message-ID: That's a good summary. It's tedious sometimes but essential. The hardest part by far is keeping your mouth shut. If I had a one-way mirror in a sound-proofed room I'd use that. Another method might be to have the user share their screen and turn off your microphone, but screen sharing is not easy on mobile apps. On 7/7/17 2:49 PM, Jonathan Lynch via use-livecode wrote: >>From reading these, it looks like my basic steps are these: > > 1. Make changes to the app > > 2. Test for usability myself a dozen times, trying things in different orders and in different ways to make it fail > > 3. Have my testers, which is really about 3 family members, test it to make it fail > > No coaching, no hints > > Directly observe their tests very closely > > Make notes on any moments of confusion, even if they minor > > Interview them, asking what they were thinking at each step > > Adjust the help file and add hints - and test those as well > > 4. Fix as needed and retest > > 5. Publish > > 6. Try to find virgin testers for next time, varying in age and mindset > > Does that sound about right? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jonathandlynch at gmail.com Fri Jul 7 16:16:11 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Fri, 7 Jul 2017 16:16:11 -0400 Subject: Biased testing and micro-coaching In-Reply-To: References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <15d1e22bb78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <537070B3-B1EE-4F52-B9E5-60D8433B631E@gmail.com> Message-ID: <19D3F55B-ADB9-4D19-939F-05905FA969B5@gmail.com> Well, 3 out of 3 people who tested my app from this list got stuck signing up, but no one got stuck when I was there to prompt them to use the Universal Options button. So, I have to discipline myself to keep my mouth shut. Everything depends on it. This is my second time reading your article, Jacqueline- but this time I appreciate it much much more! Sent from my iPhone > On Jul 7, 2017, at 4:09 PM, J. Landman Gay via use-livecode wrote: > > That's a good summary. It's tedious sometimes but essential. The hardest part by far is keeping your mouth shut. If I had a one-way mirror in a sound-proofed room I'd use that. Another method might be to have the user share their screen and turn off your microphone, but screen sharing is not easy on mobile apps. > > On 7/7/17 2:49 PM, Jonathan Lynch via use-livecode wrote: >>> From reading these, it looks like my basic steps are these: >> 1. Make changes to the app >> 2. Test for usability myself a dozen times, trying things in different orders and in different ways to make it fail >> 3. Have my testers, which is really about 3 family members, test it to make it fail >> No coaching, no hints >> Directly observe their tests very closely >> Make notes on any moments of confusion, even if they minor >> Interview them, asking what they were thinking at each step >> Adjust the help file and add hints - and test those as well >> 4. Fix as needed and retest >> 5. Publish >> 6. Try to find virgin testers for next time, varying in age and mindset >> Does that sound about right? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jeff at siphonophore.com Fri Jul 7 17:31:20 2017 From: jeff at siphonophore.com (Jeff Reynolds) Date: Fri, 7 Jul 2017 17:31:20 -0400 Subject: Biased testing and micro-coaching Message-ID: <3894BFEE-895B-4821-8765-539F6D752DD6@siphonophore.com> Jonathan, I second bill's approach of watching folks use the app. Years of educational software creation taught me this. I would always make friends with a local teacher that was into tech and they usually were happy to get a period to try something on the kids if it only took one period to do in the lab and was something they thought good first. Things were so self evident on what just worked and what crashed and burned. I really found that the designs that were forced (usually by marketing) always crashed and burned, but the just good ideas that came out of what was it we were really trying to do somehow avoided most all the little design eddies that folks would get a little hung up by. But watching you could quickly see those eddies w.o having to do hard core testing. Sadly this is hard to do for free in a school anymore but hiring some kids or adults will do. It's funny as I've found the same thing with exhibit design. I would always spend a few hours just watching folks after we finished an exhibit. I found it really invaluable to find the little issues and the big ones and you could see so easily what folks were getting and what they were not, what they were looking and and not looking at and how they felt about the exhibit in the whole. Many of these exhibits got very expensive summative evaluations and I found that my just watching observations were right in line with heavy testing and many times a bit more complete and useful for potentially fixing things and learning for the future. Cheers Jeff > On Jul 7, 2017, at 1:53 PM, use-livecode-request at lists.runrev.com wrote: > > Jonathon, > I feel your pain. In my case, I was initiated by my students and very quickly learned how to ask the questions a newbie would ask. I also paid small amounts to graduate students to get their feedback. > > One of my very effective testers is my grandson, my wife, any of my colleagues who might be enticed to use the app. Looking over the shoulder while these folks use the app can be very illuminating. > > In summary: > 1. Ask friends and relatives first. > 2. Perhaps there would be volunteers from the live ode users group. > 3. Hire high school students who might have a tech interest. Look over their shoulders as they use the app and dialog to themselves. Actually watching users is invaluable. > > Good luck, > Bill P From scott at tactilemedia.com Fri Jul 7 17:37:27 2017 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 7 Jul 2017 14:37:27 -0700 Subject: Biased testing and micro-coaching In-Reply-To: <537070B3-B1EE-4F52-B9E5-60D8433B631E@gmail.com> References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <15d1e22bb78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <537070B3-B1EE-4F52-B9E5-60D8433B631E@gmail.com> Message-ID: You don?t have to keep your mouth shut. In fact, you should be vocal, but you want your tester to be more vocal. Generalized suggestions from past experience? - First, explain to the tester in general terms what your app does. Avoid getting into operating specifics. - Tell the tester you want them to verbalize as much as possible their thought process when encountering each screen/interaction process. You goal is to get a sense of what the tester is thinking and why, not just whether or not they exhibit expected behavior (you will have to prompt the tester repeatedly to explain their thinking without scolding or leading). - Explain to your tester there are no right or wrong actions/answers while using your app ? you are trying to observe real world behavior and initial responses to what they see/experience, and their interaction (or lack of it) in no way reflects on their ?intelligence?. - Give the tester one or more planned tasks to complete. Remind them to describe their thinking as they attempt to complete each task. - Each time the tester is shown a new screen/process, ask them what they think they need to do at that point. Ask why. Keep all requests/comments neutral, never correct the tester. If their response doesn?t fit with your intended behavior, ask the tester what they would suggest to improve interaction/outcome, or make the process more intelligible. Avoid allowing the tester complete too many tasks in a row without describing their thought process. - If the tester can?t figure out how to proceed to a next step, give them a hint (if possible) and determine if they are able to understand the interaction. Again, ask for suggestions on what could be improved. Ask why. - Rinse and repeat. - Ask the tester at the end of the test what they felt was the biggest issue with the app. Ask the tester to reiterate how they would correct the problem. Review your list of problems encountered by the tester to confirm your understanding of the issues. - Record/note all responses. Keep written notes at a minimum, use audio and/or video recording to collect more detailed/nuanced responses. In an ideal world, you would record the tester and the screen they interact with concurrently. Hope this helps. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design > On Jul 7, 2017, at 12:49 PM, Jonathan Lynch via use-livecode wrote: > > From reading these, it looks like my basic steps are these: > > 1. Make changes to the app > > 2. Test for usability myself a dozen times, trying things in different orders and in different ways to make it fail > > 3. Have my testers, which is really about 3 family members, test it to make it fail > > No coaching, no hints > > Directly observe their tests very closely > > Make notes on any moments of confusion, even if they minor > > Interview them, asking what they were thinking at each step > > Adjust the help file and add hints - and test those as well > > 4. Fix as needed and retest > > 5. Publish > > 6. Try to find virgin testers for next time, varying in age and mindset > > Does that sound about right? > > Sent from my iPhone > >> On Jul 7, 2017, at 1:53 PM, jonathandlynch at gmail.com wrote: >> >> Thank you, Jacqueline >> >> Sent from my iPhone >> >>> On Jul 7, 2017, at 1:39 PM, J. Landman Gay via use-livecode wrote: >>> >>> http://hyperactivesw.com/resources_testing.html >>> >>> >>>> On July 7, 2017 6:59:52 AM Jonathan Lynch via use-livecode wrote: >>>> >>>> What steps do you guys follow for accurate testing when you don't have a budget for proper official testing procedures? >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Fri Jul 7 17:56:14 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Fri, 7 Jul 2017 17:56:14 -0400 Subject: Biased testing and micro-coaching In-Reply-To: <3894BFEE-895B-4821-8765-539F6D752DD6@siphonophore.com> References: <3894BFEE-895B-4821-8765-539F6D752DD6@siphonophore.com> Message-ID: <3373AFEF-2E07-475B-82AF-EB76A1984630@gmail.com> It sounds like a little bit of direct, intensive observation is worth a lot of testing a a distance. Thanks Jeff Sent from my iPhone > On Jul 7, 2017, at 5:31 PM, Jeff Reynolds via use-livecode wrote: > > Jonathan, > > I second bill's approach of watching folks use the app. Years of educational software creation taught me this. I would always make friends with a local teacher that was into tech and they usually were happy to get a period to try something on the kids if it only took one period to do in the lab and was something they thought good first. Things were so self evident on what just worked and what crashed and burned. I really found that the designs that were forced (usually by marketing) always crashed and burned, but the just good ideas that came out of what was it we were really trying to do somehow avoided most all the little design eddies that folks would get a little hung up by. But watching you could quickly see those eddies w.o having to do hard core testing. Sadly this is hard to do for free in a school anymore but hiring some kids or adults will do. > > It's funny as I've found the same thing with exhibit design. I would always spend a few hours just watching folks after we finished an exhibit. I found it really invaluable to find the little issues and the big ones and you could see so easily what folks were getting and what they were not, what they were looking and and not looking at and how they felt about the exhibit in the whole. Many of these exhibits got very expensive summative evaluations and I found that my just watching observations were right in line with heavy testing and many times a bit more complete and useful for potentially fixing things and learning for the future. > > Cheers > > Jeff > >> On Jul 7, 2017, at 1:53 PM, use-livecode-request at lists.runrev.com wrote: >> >> Jonathon, >> I feel your pain. In my case, I was initiated by my students and very quickly learned how to ask the questions a newbie would ask. I also paid small amounts to graduate students to get their feedback. >> >> One of my very effective testers is my grandson, my wife, any of my colleagues who might be enticed to use the app. Looking over the shoulder while these folks use the app can be very illuminating. >> >> In summary: >> 1. Ask friends and relatives first. >> 2. Perhaps there would be volunteers from the live ode users group. >> 3. Hire high school students who might have a tech interest. Look over their shoulders as they use the app and dialog to themselves. Actually watching users is invaluable. >> >> Good luck, >> Bill P > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Fri Jul 7 18:01:23 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Fri, 7 Jul 2017 18:01:23 -0400 Subject: Biased testing and micro-coaching In-Reply-To: <3373AFEF-2E07-475B-82AF-EB76A1984630@gmail.com> References: <3894BFEE-895B-4821-8765-539F6D752DD6@siphonophore.com> <3373AFEF-2E07-475B-82AF-EB76A1984630@gmail.com> Message-ID: It does help, Scott - sounds like I should segment the testing process with a cycle, running through the test, observe, discuss, note cycle for each group of functionalities. Not unlike PM methodology. Because I am looking to perfect and grow a single app over many years, I should be able to reliably group the functional areas for testing. Thanks! Sent from my iPhone > On Jul 7, 2017, at 5:56 PM, jonathandlynch at gmail.com wrote: > > It sounds like a little bit of direct, intensive observation is worth a lot of testing a a distance. > > Thanks Jeff > > Sent from my iPhone > >> On Jul 7, 2017, at 5:31 PM, Jeff Reynolds via use-livecode wrote: >> >> Jonathan, >> >> I second bill's approach of watching folks use the app. Years of educational software creation taught me this. I would always make friends with a local teacher that was into tech and they usually were happy to get a period to try something on the kids if it only took one period to do in the lab and was something they thought good first. Things were so self evident on what just worked and what crashed and burned. I really found that the designs that were forced (usually by marketing) always crashed and burned, but the just good ideas that came out of what was it we were really trying to do somehow avoided most all the little design eddies that folks would get a little hung up by. But watching you could quickly see those eddies w.o having to do hard core testing. Sadly this is hard to do for free in a school anymore but hiring some kids or adults will do. >> >> It's funny as I've found the same thing with exhibit design. I would always spend a few hours just watching folks after we finished an exhibit. I found it really invaluable to find the little issues and the big ones and you could see so easily what folks were getting and what they were not, what they were looking and and not looking at and how they felt about the exhibit in the whole. Many of these exhibits got very expensive summative evaluations and I found that my just watching observations were right in line with heavy testing and many times a bit more complete and useful for potentially fixing things and learning for the future. >> >> Cheers >> >> Jeff >> >>> On Jul 7, 2017, at 1:53 PM, use-livecode-request at lists.runrev.com wrote: >>> >>> Jonathon, >>> I feel your pain. In my case, I was initiated by my students and very quickly learned how to ask the questions a newbie would ask. I also paid small amounts to graduate students to get their feedback. >>> >>> One of my very effective testers is my grandson, my wife, any of my colleagues who might be enticed to use the app. Looking over the shoulder while these folks use the app can be very illuminating. >>> >>> In summary: >>> 1. Ask friends and relatives first. >>> 2. Perhaps there would be volunteers from the live ode users group. >>> 3. Hire high school students who might have a tech interest. Look over their shoulders as they use the app and dialog to themselves. Actually watching users is invaluable. >>> >>> Good luck, >>> Bill P >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Fri Jul 7 18:24:28 2017 From: waprothero at gmail.com (William Prothero) Date: Fri, 7 Jul 2017 15:24:28 -0700 Subject: Biased testing and micro-coaching In-Reply-To: References: <3894BFEE-895B-4821-8765-539F6D752DD6@siphonophore.com> <3373AFEF-2E07-475B-82AF-EB76A1984630@gmail.com> Message-ID: <8B12D467-7D9C-46AE-9E2B-3D26464BB35E@gmail.com> Jonathon: There are two learning processes going on. One is for the person testing the software, the second is for you, learning what kinds of interface approaches hang up new users. As you learn, by observing users, you will gain approaches that minimize future user problems, and you will find that you will be able to code in a way that avoids them. If it were me, I would start small with the evaluation, and do it first by informal observation, encouraging the user to think out loud as he/she uses the app. You will get a feel for obstacles pretty quickly. You may run out of test users quickly if you use many of them at once, so put as much common sense as you can into changes that you make between new testers. If this is unsuccessful, then you will have to expend more of your resources on testing. Another good thing is to download and try other apps, checking to see how their UI is set up. For example, almost every web delivered login page is the same or similar. Why? Because they work. When numerous apps take a similar approach, learn from them. Good luck. Please post what you learn from your testing. Another piece of advice (worth what it costs you??). Your application is actually huge. Think Facebook and the other biggies. Maintaining it, should it be successful, will be HUGE! Think trollers, spammers, whackos, etc, etc. I had a site where I allowed anybody to create an account (but I had to approve the account to activate it), and got loads of trial logins from spammers and bots. Finally, I just disabled new accounts. I wonder if you might want to consider narrowing the scope of your app, perhaps to a specific education segment. Or, maybe a particular travel segment or for a specific tour company. This would let you get your app out there and identify early issues. A tour company might find a custom branded app that supports their tour company to be appealing. Good luck, Best, Bill P. > On Jul 7, 2017, at 3:01 PM, Jonathan Lynch via use-livecode wrote: > > It does help, Scott - sounds like I should segment the testing process with a cycle, running through the test, observe, discuss, note cycle for each group of functionalities. Not unlike PM methodology. > > Because I am looking to perfect and grow a single app over many years, I should be able to reliably group the functional areas for testing. > > Thanks! > > Sent from my iPhone > >> On Jul 7, 2017, at 5:56 PM, jonathandlynch at gmail.com wrote: >> >> It sounds like a little bit of direct, intensive observation is worth a lot of testing a a distance. >> >> Thanks Jeff >> >> Sent from my iPhone >> >>> On Jul 7, 2017, at 5:31 PM, Jeff Reynolds via use-livecode wrote: >>> >>> Jonathan, >>> >>> I second bill's approach of watching folks use the app. Years of educational software creation taught me this. I would always make friends with a local teacher that was into tech and they usually were happy to get a period to try something on the kids if it only took one period to do in the lab and was something they thought good first. Things were so self evident on what just worked and what crashed and burned. I really found that the designs that were forced (usually by marketing) always crashed and burned, but the just good ideas that came out of what was it we were really trying to do somehow avoided most all the little design eddies that folks would get a little hung up by. But watching you could quickly see those eddies w.o having to do hard core testing. Sadly this is hard to do for free in a school anymore but hiring some kids or adults will do. >>> >>> It's funny as I've found the same thing with exhibit design. I would always spend a few hours just watching folks after we finished an exhibit. I found it really invaluable to find the little issues and the big ones and you could see so easily what folks were getting and what they were not, what they were looking and and not looking at and how they felt about the exhibit in the whole. Many of these exhibits got very expensive summative evaluations and I found that my just watching observations were right in line with heavy testing and many times a bit more complete and useful for potentially fixing things and learning for the future. >>> >>> Cheers >>> >>> Jeff >>> >>>> On Jul 7, 2017, at 1:53 PM, use-livecode-request at lists.runrev.com wrote: >>>> >>>> Jonathon, >>>> I feel your pain. In my case, I was initiated by my students and very quickly learned how to ask the questions a newbie would ask. I also paid small amounts to graduate students to get their feedback. >>>> >>>> One of my very effective testers is my grandson, my wife, any of my colleagues who might be enticed to use the app. Looking over the shoulder while these folks use the app can be very illuminating. >>>> >>>> In summary: >>>> 1. Ask friends and relatives first. >>>> 2. Perhaps there would be volunteers from the live ode users group. >>>> 3. Hire high school students who might have a tech interest. Look over their shoulders as they use the app and dialog to themselves. Actually watching users is invaluable. >>>> >>>> Good luck, >>>> Bill P >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Fri Jul 7 18:44:01 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Fri, 7 Jul 2017 18:44:01 -0400 Subject: Biased testing and micro-coaching In-Reply-To: <8B12D467-7D9C-46AE-9E2B-3D26464BB35E@gmail.com> References: <3894BFEE-895B-4821-8765-539F6D752DD6@siphonophore.com> <3373AFEF-2E07-475B-82AF-EB76A1984630@gmail.com> <8B12D467-7D9C-46AE-9E2B-3D26464BB35E@gmail.com> Message-ID: <9330284F-0442-469C-ADEA-9036B0FFBAA9@gmail.com> Thanks Bill I am thinking of reaching out to Trip Advisor after version 1.5, but focusing on high schools initially. Trolls are a big concern. I have a lot ideas on dealing with that, including taking advantage of the self-correcting nature of social media. I am going to add in a rating system for reports and enable users to exclude poorly rated reports from appearing on their maps. I also want to have a class of users called documentarians, and enable users to see only reports from them. Documentarians will earn half the sponsorship income from their reports, so that will hopefully lead to a bunch of high- quality postings. I also have some ideas for a report review system. All of that will be a start. If the trolling gets too be too much, I could resort to requiring that postings be reviewed before being being posted to certain categories. I have some ideas on how to use trolls as an asset, but that is not fully thought out yet. Sent from my iPhone > On Jul 7, 2017, at 6:24 PM, William Prothero via use-livecode wrote: > > Jonathon: > There are two learning processes going on. One is for the person testing the software, the second is for you, learning what kinds of interface approaches hang up new users. As you learn, by observing users, you will gain approaches that minimize future user problems, and you will find that you will be able to code in a way that avoids them. > > If it were me, I would start small with the evaluation, and do it first by informal observation, encouraging the user to think out loud as he/she uses the app. You will get a feel for obstacles pretty quickly. You may run out of test users quickly if you use many of them at once, so put as much common sense as you can into changes that you make between new testers. If this is unsuccessful, then you will have to expend more of your resources on testing. > > Another good thing is to download and try other apps, checking to see how their UI is set up. For example, almost every web delivered login page is the same or similar. Why? Because they work. When numerous apps take a similar approach, learn from them. > > Good luck. Please post what you learn from your testing. > > Another piece of advice (worth what it costs you??). Your application is actually huge. Think Facebook and the other biggies. Maintaining it, should it be successful, will be HUGE! Think trollers, spammers, whackos, etc, etc. I had a site where I allowed anybody to create an account (but I had to approve the account to activate it), and got loads of trial logins from spammers and bots. Finally, I just disabled new accounts. I wonder if you might want to consider narrowing the scope of your app, perhaps to a specific education segment. Or, maybe a particular travel segment or for a specific tour company. This would let you get your app out there and identify early issues. A tour company might find a custom branded app that supports their tour company to be appealing. > > Good luck, > > Best, > Bill P. > > >> On Jul 7, 2017, at 3:01 PM, Jonathan Lynch via use-livecode wrote: >> >> It does help, Scott - sounds like I should segment the testing process with a cycle, running through the test, observe, discuss, note cycle for each group of functionalities. Not unlike PM methodology. >> >> Because I am looking to perfect and grow a single app over many years, I should be able to reliably group the functional areas for testing. >> >> Thanks! >> >> Sent from my iPhone >> >>> On Jul 7, 2017, at 5:56 PM, jonathandlynch at gmail.com wrote: >>> >>> It sounds like a little bit of direct, intensive observation is worth a lot of testing a a distance. >>> >>> Thanks Jeff >>> >>> Sent from my iPhone >>> >>>> On Jul 7, 2017, at 5:31 PM, Jeff Reynolds via use-livecode wrote: >>>> >>>> Jonathan, >>>> >>>> I second bill's approach of watching folks use the app. Years of educational software creation taught me this. I would always make friends with a local teacher that was into tech and they usually were happy to get a period to try something on the kids if it only took one period to do in the lab and was something they thought good first. Things were so self evident on what just worked and what crashed and burned. I really found that the designs that were forced (usually by marketing) always crashed and burned, but the just good ideas that came out of what was it we were really trying to do somehow avoided most all the little design eddies that folks would get a little hung up by. But watching you could quickly see those eddies w.o having to do hard core testing. Sadly this is hard to do for free in a school anymore but hiring some kids or adults will do. >>>> >>>> It's funny as I've found the same thing with exhibit design. I would always spend a few hours just watching folks after we finished an exhibit. I found it really invaluable to find the little issues and the big ones and you could see so easily what folks were getting and what they were not, what they were looking and and not looking at and how they felt about the exhibit in the whole. Many of these exhibits got very expensive summative evaluations and I found that my just watching observations were right in line with heavy testing and many times a bit more complete and useful for potentially fixing things and learning for the future. >>>> >>>> Cheers >>>> >>>> Jeff >>>> >>>>> On Jul 7, 2017, at 1:53 PM, use-livecode-request at lists.runrev.com wrote: >>>>> >>>>> Jonathon, >>>>> I feel your pain. In my case, I was initiated by my students and very quickly learned how to ask the questions a newbie would ask. I also paid small amounts to graduate students to get their feedback. >>>>> >>>>> One of my very effective testers is my grandson, my wife, any of my colleagues who might be enticed to use the app. Looking over the shoulder while these folks use the app can be very illuminating. >>>>> >>>>> In summary: >>>>> 1. Ask friends and relatives first. >>>>> 2. Perhaps there would be volunteers from the live ode users group. >>>>> 3. Hire high school students who might have a tech interest. Look over their shoulders as they use the app and dialog to themselves. Actually watching users is invaluable. >>>>> >>>>> Good luck, >>>>> Bill P >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Jul 7 20:07:50 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 8 Jul 2017 00:07:50 +0000 Subject: Biased testing and micro-coaching In-Reply-To: References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <15d1e22bb78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I would echo Jacqueline's advice here: " There's no secret to creating a great application that people will use and enjoy. Test the application and everything in it, again and again. Run everything through its paces several times and in different orders. Click every button, read and scroll every field, run every script. Show every dialog?and when you do, try every possible response button. Then get all your friends to do the same thing too. That's it. Everything else I'm about to tell you is just commentary." I myself will run through the app, over and over and OVER again? as Mark says, you will end up in the developer minds set and miss the UX stuff; so you need to step away mentally and do a "reset" on your head space.. then come back and run through it all again. I probably spend 50 % of my time working on content. 30% on code and a full 20% just "thinking about it, how it works, from a user point of view." And you do this away from your computer! Like today little girl told me "I love doing the word puzzles, but when I first came to that screen it was a bit confusing how it was supposed to work. Not everyone will think to click on the "I" icon [supposed to be for "info/help") Maybe you could show instructions the first time?" and "it would be great if you could save the puzzle in a semi-finished state, so I can come back and finish it." This "little girl" in a 10 year-odl body with a 19year old brain that actually has the patience to take a 300 character quote and put the words in order, even if it takes her 20 minutes! Even I won'd do that? but she will, but she might have to run off to school and stop half way through?. Another more mature response to the first beta: "It's all very lovely, but I'm not clued in to what, where we are going ?." In V2 or V3 I'm planning to have a little more curated entry to the app? There's got to be more of "a story here" so you will never get this UX feedback on your own. I have about 40 beta testers.. even they are, frankly terrible about give us feedback. ? if you are non-profit or on shoe string budgets, you can't pay for testing, and volunteers are often super busy people. So you have to be very pro-active in engaging feedback. I'm a bit "in your face" with guests here when I spot someone in my "target market" (young 15-40 educated, Hindu background modern mind set) I've come to know who will be engaged and who will not. But this type of users (Free beta testers) are not UX experts either? so you get either silence or "it works great lovely very handy and responsive on my iPhone" or "it's slow" [android] without telling me exactly what is slow and when. I have deliberately hold mini "focus meetings" here with some of them and drag out from them what is "wrong" with the app, because not being up on UX, these users don't know how to articulate their experience very well. I'm constantly collecting possible beta testers. Apple devices on the developer account are running up close to 45 for this year , with about as many turned off from last year? and we have at least another 30 android uses? but, maybe only 3-5 of these will actually communicate with me. Once I actually find someone who is interested enough and articulate enough and has the time to stop and talk about it, e.g. "I really don't like that timer giving a count down sound. It ruins the experience. Just let me decide how long, then let it run and at the end you can "ding"" OK Aha! then I "got one!" ? i.e. someone you can spend on to help with the UX and milk that dialog about the UX as much as a I can. I have two meetings on the latest beta this afternoon: one with a professional health care lady and her daughter who both test the app and another with a 19year old brilliant university studen, who flew to Kauai just to go on a "study retreat" for some crazy advance bio-genetic engineering exams.. who is very open and articulate about what they think about how it should work. And I have on my schedule to talk to 4 different beta testers remotely This doesn't happen by itself, you have to be super pro active. Once yet get a team of volunteer testers who are engaged, even just 4-5, who communicate well with you, you are good to go. But you might have to work through 100 different individuals before you find those 5. That's my experience so far here? On 7/7/17, 7:53 AM, "use-livecode on behalf of Jonathan Lynch via use-livecode" wrote: Thank you, Jacqueline Sent from my iPhone > On Jul 7, 2017, at 1:39 PM, J. Landman Gay via use-livecode wrote: > > http://hyperactivesw.com/resources_testing.html > > >> On July 7, 2017 6:59:52 AM Jonathan Lynch via use-livecode wrote: >> >> What steps do you guys follow for accurate testing when you don't have a budget for proper official testing procedures? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Fri Jul 7 20:50:33 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Fri, 7 Jul 2017 20:50:33 -0400 Subject: Biased testing and micro-coaching In-Reply-To: References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <15d1e22bb78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <66F26484-67E3-42A2-9DA1-32FF10BAEF59@gmail.com> I am impressed by your circle of beta testers! I have plenty of friends and family that would help, but they are spread around the country. Point taken about folks not communicating so well. It seems like direct observation of them using it could help. The way my brain works, I am decent at figuring out clever solutions, but terrible at realizing what others will find intuitive. It looks like I will need to put in extra effort to cultivate my testers. My plan for very slow early growth is partly to compensate for this issue. It needs to be a near flawless user experience before I start promoting. I can be a beta tester for you, if that would help. I don't resemble your target market in the least, and my UI preferences are odd, but I might have some good ideas. Sent from my iPhone > On Jul 7, 2017, at 8:07 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > I would echo Jacqueline's advice here: > > " There's no secret to creating a great application that people will use and enjoy. Test the application and everything in it, again and again. Run everything through its paces several times and in different orders. Click every button, read and scroll every field, run every script. Show every dialog?and when you do, try every possible response button. Then get all your friends to do the same thing too. > > That's it. Everything else I'm about to tell you is just commentary." > > I myself will run through the app, over and over and OVER again? as Mark says, you will end up in the developer minds set and miss the UX stuff; so you need to step away mentally and do a "reset" on your head space.. then come back and run through it all again. I probably spend 50 % of my time working on content. 30% on code and a full 20% just "thinking about it, how it works, from a user point of view." And you do this away from your computer! > > Like today little girl told me "I love doing the word puzzles, but when I first came to that screen it was a bit confusing how it was supposed to work. Not everyone will think to click on the "I" icon [supposed to be for "info/help") Maybe you could show instructions the first time?" and "it would be great if you could save the puzzle in a semi-finished state, so I can come back and finish it." This "little girl" in a 10 year-odl body with a 19year old brain that actually has the patience to take a 300 character quote and put the words in order, even if it takes her 20 minutes! Even I won'd do that? but she will, but she might have to run off to school and stop half way through?. > > Another more mature response to the first beta: "It's all very lovely, but I'm not clued in to what, where we are going ?." > > In V2 or V3 I'm planning to have a little more curated entry to the app? There's got to be more of "a story here" > > so you will never get this UX feedback on your own. > > I have about 40 beta testers.. even they are, frankly terrible about give us feedback. ? if you are non-profit or on shoe string budgets, you can't pay for testing, and volunteers are often super busy people. So you have to be very pro-active in engaging feedback. I'm a bit "in your face" with guests here when I spot someone in my "target market" (young 15-40 educated, Hindu background modern mind set) I've come to know who will be engaged and who will not. > > But this type of users (Free beta testers) are not UX experts either? so you get either silence or "it works great lovely very handy and responsive on my iPhone" or "it's slow" [android] without telling me exactly what is slow and when. I have deliberately hold mini "focus meetings" here with some of them and drag out from them what is "wrong" with the app, because not being up on UX, these users don't know how to articulate their experience very well. > > I'm constantly collecting possible beta testers. Apple devices on the developer account are running up close to 45 for this year , with about as many turned off from last year? and we have at least another 30 android uses? but, maybe only 3-5 of these will actually communicate with me. Once I actually find someone who is interested enough and articulate enough and has the time to stop and talk about it, e.g. > > "I really don't like that timer giving a count down sound. It ruins the experience. Just let me decide how long, then let it run and at the end you can "ding"" > > OK Aha! then I "got one!" ? i.e. someone you can spend on to help with the UX and milk that dialog about the UX as much as a I can. > > I have two meetings on the latest beta this afternoon: one with a professional health care lady and her daughter who both test the app and another with a 19year old brilliant university studen, who flew to Kauai just to go on a "study retreat" for some crazy advance bio-genetic engineering exams.. who is very open and articulate about what they think about how it should work. And I have on my schedule to talk to 4 different beta testers remotely > > This doesn't happen by itself, you have to be super pro active. Once yet get a team of volunteer testers who are engaged, even just 4-5, who communicate well with you, you are good to go. But you might have to work through 100 different individuals before you find those 5. > > That's my experience so far here? > > > > > > > On 7/7/17, 7:53 AM, "use-livecode on behalf of Jonathan Lynch via use-livecode" wrote: > > Thank you, Jacqueline > > Sent from my iPhone > >> On Jul 7, 2017, at 1:39 PM, J. Landman Gay via use-livecode wrote: >> >> http://hyperactivesw.com/resources_testing.html >> >> >>> On July 7, 2017 6:59:52 AM Jonathan Lynch via use-livecode wrote: >>> >>> What steps do you guys follow for accurate testing when you don't have a budget for proper official testing procedures? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Fri Jul 7 21:24:54 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 7 Jul 2017 18:24:54 -0700 Subject: Biased testing and micro-coaching In-Reply-To: <66F26484-67E3-42A2-9DA1-32FF10BAEF59@gmail.com> References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <15d1e22bb78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <66F26484-67E3-42A2-9DA1-32FF10BAEF59@gmail.com> Message-ID: On 07/07/2017 05:50 PM, Jonathan Lynch via use-livecode wrote: > The way my brain works, I am decent at figuring out clever solutions, but terrible at realizing what others will find intuitive. Heh. You're not alone there. There's a truism that you can't test your own software - you're way to close to the way it *should* work to ever figure out how users are going to try to use it. > my UI preferences are odd, You make that sound like a bad thing... -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Fri Jul 7 21:25:47 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 7 Jul 2017 18:25:47 -0700 Subject: Biased testing and micro-coaching In-Reply-To: References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <15d1e22bb78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 07/07/2017 05:07 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > That's it. Everything else I'm about to tell you is just commentary." Great background story. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Fri Jul 7 23:20:01 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Jul 2017 22:20:01 -0500 Subject: Biased testing and micro-coaching In-Reply-To: References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <15d1e22bb78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <66F26484-67E3-42A2-9DA1-32FF10BAEF59@gmail.com> Message-ID: <15d203612e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On July 7, 2017 8:26:53 PM Mark Wieder via use-livecode wrote: > There's a truism that you can't test your > own software - you're way to close to the way it *should* work to ever > figure out how users are going to try to use it. Oh man is that ever true. I'm lucky enough in one of my current projects to have a small team of paid QA testers (very rare.) They do things I never ever would have thought of. Some of it is so ridiculous that no one in their right mind would try it. I get irritated until I remind myself that we're paying them to do that. So then I fix it. The last one was one of those "out of order" sequences I mentioned. It caused me to rewrite a huge section that forced users into the expected data entry sequence. Took 2 days, but we ended up with a more professional app that also eliminated a lot of error checking. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Fri Jul 7 23:35:24 2017 From: irog at mac.com (Roger Guay) Date: Fri, 07 Jul 2017 20:35:24 -0700 Subject: Division by Zero Error Message-ID: <968991A7-9134-492B-91A1-0BF9C6F0E20E@mac.com> I often find that I have to deal with a division by zero error message in plotting functions, solving equation etc. Are there methods or techniques used to programmatically handle or work-around a possible division by zero? e.g. If I want to evaluate y= 1/(x-3), what can I do to deal with a possible x=3 situation? Thanks for your help, Roger From brahma at hindu.org Sat Jul 8 00:36:58 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 8 Jul 2017 04:36:58 +0000 Subject: Biased testing and micro-coaching In-Reply-To: <66F26484-67E3-42A2-9DA1-32FF10BAEF59@gmail.com> References: <77FC7F3E-D1D9-4F60-AD2C-43EA8A85F7CE@gmail.com> <15d1e22bb78.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <66F26484-67E3-42A2-9DA1-32FF10BAEF59@gmail.com> Message-ID: <28E763BB-0B6A-4BEF-BA8F-08CCCEF6C73B@hindu.org> Your testers can be remote, assuming you get "live wires" who will dedicate time to testing/ communications I always invite them to SLACK asap so they feel they can contact me any time and then we jump into appear.in video rooms. I just exited 2 hours of meetings with one young mom, her daughter and two teen agers. Obvious things like "Will we be able to still listen to the audio if we do other stuff on our phone?" (doable on iOS, not on android?) and "if we return to the same audio from the history, can we start up where we left off? (easy one, current time of mobile player is easily save to the ""Journal") duh or the hard ones: "I think your openings screen rows (links to content) are too big? can we make the smaller young users won't want to scroll all over the place." (why hard? stack holders fascination prioritizing graphics over UX efficiency, those are the hard ones) and yes, there is no substitute for face-to-face? but you can do that on line so easily now. testing our app: sure: go here: git at github.com:Himalayan-Academy/Siva-Siva-App.git pull the nightly branch. if you "don't do git" then send me your UDID (off list) OR if you are on android then super easy: open this page on your phone and click the link to download the PKG http://dev.himalayanacademy.com/looklisten/apps/sivasiva/ Though LC performance on Android is quite bad on some devices. I have some man with a Blackberry running 3 GB ram, with some super process and plenty of HD space. but he complains it is slow? but my more "under powered" Nexus 5 Runs the app quite well. I am also interested in your Augmented Earth project? but I can't get past the log in screen? On 7/7/17, 2:50 PM, "use-livecode on behalf of Jonathan Lynch via use-livecode" wrote: I am impressed by your circle of beta testers! I have plenty of friends and family that would help, but they are spread around the country. Point taken about folks not communicating so well. It seems like direct observation of them using it could help. The way my brain works, I am decent at figuring out clever solutions, but terrible at realizing what others will find intuitive. It looks like I will need to put in extra effort to cultivate my testers. My plan for very slow early growth is partly to compensate for this issue. It needs to be a near flawless user experience before I start promoting. I can be a beta tester for you, if that would help. I don't resemble your target market in the least, and my UI preferences are odd, but I might have some good ideas. From m.schonewille at economy-x-talk.com Sat Jul 8 03:03:17 2017 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 8 Jul 2017 09:03:17 +0200 Subject: Division by Zero Error In-Reply-To: <968991A7-9134-492B-91A1-0BF9C6F0E20E@mac.com> References: <968991A7-9134-492B-91A1-0BF9C6F0E20E@mac.com> Message-ID: Usually, I can predict that a numerator is going to be 0, e.g. in 1/(x^2). I just check the value of the numerator before doing the division. In rare cases, I can't predict the value of the numerator. In those cases, I put a try control structure around the offending lines and some code to clean up after the "final" line. Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com Op 08-Jul-17 om 05:35 schreef Roger Guay via use-livecode: > I often find that I have to deal with a division by zero error message in plotting functions, solving equation etc. Are there methods or techniques used to programmatically handle or work-around a possible division by zero? e.g. If I want to evaluate y= 1/(x-3), what can I do to deal with a possible x=3 situation? > > Thanks for your help, > > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Sat Jul 8 03:04:03 2017 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 8 Jul 2017 09:04:03 +0200 Subject: Division by Zero Error In-Reply-To: References: <968991A7-9134-492B-91A1-0BF9C6F0E20E@mac.com> Message-ID: oh! denominator! Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com Op 08-Jul-17 om 09:03 schreef Mark Schonewille: > Usually, I can predict that a numerator is going to be 0, e.g. in > 1/(x^2). I just check the value of the numerator before doing the division. > > In rare cases, I can't predict the value of the numerator. In those > cases, I put a try control structure around the offending lines and some > code to clean up after the "final" line. > > Kind regards, > > Mark Schonewille > http://economy-x-talk.com > https://www.facebook.com/marksch > > Buy the most extensive book on the > LiveCode language: > http://livecodebeginner.economy-x-talk.com > > Op 08-Jul-17 om 05:35 schreef Roger Guay via use-livecode: >> I often find that I have to deal with a division by zero error message >> in plotting functions, solving equation etc. Are there methods or >> techniques used to programmatically handle or work-around a possible >> division by zero? e.g. If I want to evaluate y= 1/(x-3), what can I do >> to deal with a possible x=3 situation? >> >> Thanks for your help, >> >> Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> From hh at hyperhh.de Sat Jul 8 03:08:43 2017 From: hh at hyperhh.de (hh) Date: Sat, 8 Jul 2017 09:08:43 +0200 Subject: Division by Zero Error Message-ID: -- d0 is what you judge as "is at about zero" for your input -- select it such in size, that you don't get an "overflow" or -- such that 1/d0 is your max ? vertical plot value (= clipping) function f3 x local d0=0.001 if abs(x-3) < d0 then return empty -- don't plot in case of an empty return else return 1/(x-3) end f3 From bdrunrev at gmail.com Sat Jul 8 04:59:13 2017 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 8 Jul 2017 09:59:13 +0100 Subject: debugging a CEF browser instance In-Reply-To: <51d34655b5ed9f5045f82b51be27c4e1@livecode.com> References: <02855171-0054-47B0-9056-4D44DD3217CF@gmail.com> <3DC64DB3-1D14-4816-93F5-A16D3D2F0B66@gmail.com> <557a17a10bf56b6af63d11c668f89d86@livecode.com> <51d34655b5ed9f5045f82b51be27c4e1@livecode.com> Message-ID: Hi Mark, I suspect this is the problem. Is there a list of things which the LC embedded browser forbids? Is there an explanation of the rationale for the embedded browser to behave differently from a default browser? This should be noted in the Dictionary, perhaps in the top entry of: com.livecode.widget.browser. Those who try Livecode for the first time and discover that the browser widget "doesn't work reliably" (which is how it appeared to me) may simply give up on Livecode. Indeed, it might be better if a warning appears when a page attempts to do something that has been restricted (assuming the browser widget throws an exception when such things happen). Regards Bernard On Fri, Jul 7, 2017 at 1:25 PM, Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > > > The fact it doesn't work in either Mac's WebView of CEF may suggest that > the webpage > is doing something which is 'not allowed' by default From hh at hyperhh.de Sat Jul 8 06:22:52 2017 From: hh at hyperhh.de (hh) Date: Sat, 8 Jul 2017 12:22:52 +0200 Subject: Fat widgets Message-ID: This is the current situation: [*] A stack that contains a widget that is compiled with LC 8.1.5 can not be used with any other LC version than LC 8.1.5, [*] A stack that contains a widget that is compiled with LC 9.0.0 can not be used with any other LC version than LC 9.0.0 Mark Waddingham did recently already post thoughts to that here (see below). Option (1) below is the build of "fat widgets" that contain several binaries, one for each currently valid widget format. Would be great, thus one could be "downward compatible" in LC 8/9. Is there any chance to enable such "fat widgets" in the short future? [And how is this solved for the current company-widgets (Clock etc.)?] > On Jun 16, 2017; 11:10 Mark wrote: > > [MatthiasRebbe wrote:] Mark, > > regarding to recompiling widget for newer LC version: > > If i use LC 8 and 9, do i have to recompile it every time i use the > > other version? > > Right now - yes - the lcm (compiled LCB) formats are not compatible. > > There are a couple of potential solutions: > > 1) Make it so that multiple LCM versions can sit in the same extension. > We can package up the lcb toolchain for each version as a distinct > download to help with this. > > 2) Have a plugin in the IDE which fetches a git repo containing a widget > (or widgets) and compiles them locally. lc-compile is really lightweight > and bundled into the IDE so doing this automatically is quite > straight-forward. > > Case (1) would work for people wanting to distribute lce files which > people can just install on their machine. Case (2) is suitable > particularly for community widgets - it would mean that anyone > subscribing to a particular 'widget repo' could get updates as soon as > they are pushed by the maintainer. > > I think it is worth doing (1) regardless - it is a simple matter of > having say 'module.8.lcm' and 'module.9.lcm' files. The 9 format is > unstable until we go GM, but the 8 format is now 'stable' - i.e. won't > change ever again. From kevin at livecode.com Sat Jul 8 06:32:09 2017 From: kevin at livecode.com (Kevin Miller) Date: Sat, 08 Jul 2017 11:32:09 +0100 Subject: Fat widgets In-Reply-To: References: Message-ID: What we do one one large project that uses widgets and moves between 8 and 9 is to automatically recompile them on startup using a script. The logic is simple - if a try determines the widget library functions are not running and available, uninstall the widget, recompile it and reinstall it. Its pretty much instant to do that and its mean that (in this project at least) we?ve stopped thinking about this issue. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 08/07/2017, 11:22, "use-livecode on behalf of hh via use-livecode" wrote: >This is the current situation: >[*] A stack that contains a widget that is compiled with LC 8.1.5 >can not be used with any other LC version than LC 8.1.5, >[*] A stack that contains a widget that is compiled with LC 9.0.0 >can not be used with any other LC version than LC 9.0.0 > >Mark Waddingham did recently already post thoughts to that here (see >below). > >Option (1) below is the build of "fat widgets" that contain several >binaries, >one for each currently valid widget format. Would be great, thus one >could be >"downward compatible" in LC 8/9. > >Is there any chance to enable such "fat widgets" in the short future? >[And how is this solved for the current company-widgets (Clock etc.)?] > >> On Jun 16, 2017; 11:10 Mark wrote: >> > [MatthiasRebbe wrote:] Mark, >> > regarding to recompiling widget for newer LC version: >> > If i use LC 8 and 9, do i have to recompile it every time i use the >> > other version? >> >> Right now - yes - the lcm (compiled LCB) formats are not compatible. >> >> There are a couple of potential solutions: >> >> 1) Make it so that multiple LCM versions can sit in the same extension. >> We can package up the lcb toolchain for each version as a distinct >> download to help with this. >> >> 2) Have a plugin in the IDE which fetches a git repo containing a widget >> (or widgets) and compiles them locally. lc-compile is really lightweight >> and bundled into the IDE so doing this automatically is quite >> straight-forward. >> >> Case (1) would work for people wanting to distribute lce files which >> people can just install on their machine. Case (2) is suitable >> particularly for community widgets - it would mean that anyone >> subscribing to a particular 'widget repo' could get updates as soon as >> they are pushed by the maintainer. >> >> I think it is worth doing (1) regardless - it is a simple matter of >> having say 'module.8.lcm' and 'module.9.lcm' files. The 9 format is >> unstable until we go GM, but the 8 format is now 'stable' - i.e. won't >> change ever again. > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sat Jul 8 08:44:04 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 8 Jul 2017 06:44:04 -0600 Subject: Division by Zero Error In-Reply-To: References: Message-ID: I use the try/catch/finally method mark mentions if there is a chance of divide by 0 errors. That way, no need to predict, just try it, and if theres an error, respond accordingly. On Sat, Jul 8, 2017 at 1:08 AM, hh via use-livecode < use-livecode at lists.runrev.com> wrote: > -- d0 is what you judge as "is at about zero" for your input > -- select it such in size, that you don't get an "overflow" or > -- such that 1/d0 is your max ? vertical plot value (= clipping) > > function f3 x > local d0=0.001 > if abs(x-3) < d0 then > return empty -- don't plot in case of an empty return > else return 1/(x-3) > end f3 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Jul 8 08:59:51 2017 From: mark at livecode.com (Mark Waddingham) Date: Sat, 8 Jul 2017 13:59:51 +0100 Subject: debugging a CEF browser instance In-Reply-To: References: <02855171-0054-47B0-9056-4D44DD3217CF@gmail.com> <3DC64DB3-1D14-4816-93F5-A16D3D2F0B66@gmail.com> <557a17a10bf56b6af63d11c668f89d86@livecode.com> <51d34655b5ed9f5045f82b51be27c4e1@livecode.com> Message-ID: <6AE579E5-57CD-4210-8A21-C6636956762D@livecode.com> Hi Bernard, There's no list, no. The widget is a reasonably thin wrapper around either CEF or (on Mac, iOS and Android) the system provided WebView. Without actually seeing cases to investigate which do not work as expected it is hard to advise what the problem might be (although 'cross origin requests' is one possibility). Certainly as we discover such issues documenting them in the dictionary would be useful. As mentioned before if you could file a bug report so we can look into it, that would be most helpful. Warmest Regards, Mark. Sent from my iPhone > On 8 Jul 2017, at 09:59, Bernard Devlin via use-livecode wrote: > > Hi Mark, > > I suspect this is the problem. Is there a list of things which the LC > embedded browser forbids? Is there an explanation of the rationale for the > embedded browser to behave differently from a default browser? > > This should be noted in the Dictionary, perhaps in the top entry > of: com.livecode.widget.browser. Those who try Livecode for the first time > and discover that the browser widget "doesn't work reliably" (which is how > it appeared to me) may simply give up on Livecode. Indeed, it might be > better if a warning appears when a page attempts to do something that has > been restricted (assuming the browser widget throws an exception when such > things happen). > > Regards > Bernard > > On Fri, Jul 7, 2017 at 1:25 PM, Mark Waddingham via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >> >> The fact it doesn't work in either Mac's WebView of CEF may suggest that >> the webpage >> is doing something which is 'not allowed' by default > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 8 09:30:08 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 8 Jul 2017 15:30:08 +0200 Subject: Fat widgets In-Reply-To: References: Message-ID: <0869241C-3017-4EE4-8415-D8A6F8EE9664@m-r-d.de> Kevin, is it possible to get that script or is it not for the public? Regards, Matthias Matthias Rebbe +49 5741 310000 ?matthiasrebbe.eu ? > Am 08.07.2017 um 12:32 schrieb Kevin Miller via use-livecode >: > > What we do one one large project that uses widgets and moves between 8 and > 9 is to automatically recompile them on startup using a script. The logic > is simple - if a try determines the widget library functions are not > running and available, uninstall the widget, recompile it and reinstall > it. Its pretty much instant to do that and its mean that (in this project > at least) we?ve stopped thinking about this issue. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > > > On 08/07/2017, 11:22, "use-livecode on behalf of hh via use-livecode" > on behalf of > use-livecode at lists.runrev.com > wrote: > >> This is the current situation: >> [*] A stack that contains a widget that is compiled with LC 8.1.5 >> can not be used with any other LC version than LC 8.1.5, >> [*] A stack that contains a widget that is compiled with LC 9.0.0 >> can not be used with any other LC version than LC 9.0.0 >> >> Mark Waddingham did recently already post thoughts to that here (see >> below). >> >> Option (1) below is the build of "fat widgets" that contain several >> binaries, >> one for each currently valid widget format. Would be great, thus one >> could be >> "downward compatible" in LC 8/9. >> >> Is there any chance to enable such "fat widgets" in the short future? >> [And how is this solved for the current company-widgets (Clock etc.)?] >> >>> On Jun 16, 2017; 11:10 Mark wrote: >>>> [MatthiasRebbe wrote:] Mark, >>>> regarding to recompiling widget for newer LC version: >>>> If i use LC 8 and 9, do i have to recompile it every time i use the >>>> other version? >>> >>> Right now - yes - the lcm (compiled LCB) formats are not compatible. >>> >>> There are a couple of potential solutions: >>> >>> 1) Make it so that multiple LCM versions can sit in the same extension. >>> We can package up the lcb toolchain for each version as a distinct >>> download to help with this. >>> >>> 2) Have a plugin in the IDE which fetches a git repo containing a widget >>> (or widgets) and compiles them locally. lc-compile is really lightweight >>> and bundled into the IDE so doing this automatically is quite >>> straight-forward. >>> >>> Case (1) would work for people wanting to distribute lce files which >>> people can just install on their machine. Case (2) is suitable >>> particularly for community widgets - it would mean that anyone >>> subscribing to a particular 'widget repo' could get updates as soon as >>> they are pushed by the maintainer. >>> >>> I think it is worth doing (1) regardless - it is a simple matter of >>> having say 'module.8.lcm' and 'module.9.lcm' files. The 9 format is >>> unstable until we go GM, but the 8 format is now 'stable' - i.e. won't >>> change ever again. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 8 09:34:21 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 8 Jul 2017 15:34:21 +0200 Subject: debugging a CEF browser instance In-Reply-To: <6AE579E5-57CD-4210-8A21-C6636956762D@livecode.com> References: <02855171-0054-47B0-9056-4D44DD3217CF@gmail.com> <3DC64DB3-1D14-4816-93F5-A16D3D2F0B66@gmail.com> <557a17a10bf56b6af63d11c668f89d86@livecode.com> <51d34655b5ed9f5045f82b51be27c4e1@livecode.com> <6AE579E5-57CD-4210-8A21-C6636956762D@livecode.com> Message-ID: Bernard, in case you are filing a bug report could you please post the bug id here? I would like to add a comment with some websites urls i have problems with when using the widget /CEF browser. Regards, Matthias Matthias Rebbe +49 5741 310000 ?matthiasrebbe.eu ? > Am 08.07.2017 um 14:59 schrieb Mark Waddingham via use-livecode >: > > Hi Bernard, > > There's no list, no. The widget is a reasonably thin wrapper around either CEF or (on Mac, iOS and Android) the system provided WebView. > > Without actually seeing cases to investigate which do not work as expected it is hard to advise what the problem might be (although 'cross origin requests' is one possibility). > > Certainly as we discover such issues documenting them in the dictionary would be useful. > > As mentioned before if you could file a bug report so we can look into it, that would be most helpful. > > Warmest Regards, > > Mark. > > Sent from my iPhone > >> On 8 Jul 2017, at 09:59, Bernard Devlin via use-livecode > wrote: >> >> Hi Mark, >> >> I suspect this is the problem. Is there a list of things which the LC >> embedded browser forbids? Is there an explanation of the rationale for the >> embedded browser to behave differently from a default browser? >> >> This should be noted in the Dictionary, perhaps in the top entry >> of: com.livecode.widget.browser. Those who try Livecode for the first time >> and discover that the browser widget "doesn't work reliably" (which is how >> it appeared to me) may simply give up on Livecode. Indeed, it might be >> better if a warning appears when a page attempts to do something that has >> been restricted (assuming the browser widget throws an exception when such >> things happen). >> >> Regards >> Bernard >> >> On Fri, Jul 7, 2017 at 1:25 PM, Mark Waddingham via use-livecode < >> use-livecode at lists.runrev.com > wrote: >> >>> >>> >>> The fact it doesn't work in either Mac's WebView of CEF may suggest that >>> the webpage >>> is doing something which is 'not allowed' by default >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Jul 8 09:43:55 2017 From: kevin at livecode.com (Kevin Miller) Date: Sat, 08 Jul 2017 14:43:55 +0100 Subject: Fat widgets In-Reply-To: <0869241C-3017-4EE4-8415-D8A6F8EE9664@m-r-d.de> References: Message-ID: I don?t see why not: on openStack -- Build widgets and libraries if the environment is "development" then _checkExtension _rootFolder() & "/extensions/com.library.folder.here" -- insert any others here end if end openStack -- -- Remove all the files with the extension pExtension in the -- current directory -- command _removeExtension pExtension get "find . -depth 1 -name " & quote & "*." & pExtension & quote && " -exec rm {} \;" get shell(it) end _removeExtension -- -- _checkExtension pFolder -- -- Proceed to build and install the extension in pFolder if need be -- command _checkExtension pFolder local tOldFolder, tFiles local tExtensionFolder set the itemDel to slash put item -1 of pFolder into tExtensionFolder put the defaultFolder into tOldFolder set the defaultFolder to pFolder put the detailed files into tFiles set the itemDel to comma local tPackageTime, tLcbTime, tPackageName repeat for each line tFile in tFiles local tFilename put urlDecode(item 1 of tFile) into tFilename if tFilename ends with ".lce" then -- Get the last modification date of the package put item 5 of tFile into tPackageTime put urlDecode(tFilename) into tPackageName else if tFilename ends with ".lcb" then -- LCB file we want to check put item 5 of tFile into tLcbTime end if end repeat -- Guess the extension name from the folder - only take the -- first 4 segments, as orientabletext folder, for instance, -- also has the version appended to the widget name local tExtensionName set the itemDel to "." put item 1 to 4 of tExtensionFolder into tExtensionName if tPackageTime is empty or tPackagetime < tLcbTime or \ tExtensionName is not among the lines of the loadedExtensions then -- Missing or outdated extension package, or extension not loaded updateMessage "Building and installing extension" && tExtensionFolder _removeExtension "lci" _removeExtension "lce" _removeExtension "lcm" _removeExtension "xml" -- Make sure to remove the extension beforehand, installation does not -- work properly if the extension already exists revIDEDeveloperExtensionUninstall pFolder wait 500 milliseconds with messages revIDEDeveloperExtensionInstall pFolder load extension from file tPackageName -- Let the IDE load the extension wait 500 milliseconds with messages end if set the defaultFolder to tOldFolder end _checkExtension -- -- _rootFolder -- -- Return the root folder of the application -- function _rootFolder if the environment is "development" then set the itemDel to slash return item 1 to -3 of the filename of me else return specialFolderPath("engine") end if end _rootFolder Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 08/07/2017, 14:30, "use-livecode on behalf of Matthias Rebbe via use-livecode" wrote: >Kevin, > >is it possible to get that script or is it not for the public? > >Regards, >Matthias > >Matthias Rebbe >+49 5741 310000 >matthiasrebbe.eu > From matthias_livecode_150811 at m-r-d.de Sat Jul 8 10:49:52 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 8 Jul 2017 16:49:52 +0200 Subject: Fat widgets In-Reply-To: References: Message-ID: <51840B77-78F1-46E2-AC70-7F4FAFCA43ED@m-r-d.de> Thank you very much. :) This makes it so much easier to test stacks between 8 and 9. I had to make some adjustments, because the source of my extensions is stored somewhere else and the updateMessage is also not present. I get the widget recompiled when i load the stack, but the widget in the stack still does not show up correctly. I have to unload and reload the stack again. Can i somehow refresh the stack w/o having to unload and load again? Matthias Matthias Rebbe +49 5741 310000 ?matthiasrebbe.eu ? > Am 08.07.2017 um 15:43 schrieb Kevin Miller via use-livecode >: > > I don?t see why not: > > on openStack > -- Build widgets and libraries > if the environment is "development" then > _checkExtension _rootFolder() & "/extensions/com.library.folder.here" > -- insert any others here > end if > > end openStack > > -- > -- Remove all the files with the extension pExtension in the > -- current directory > -- > command _removeExtension pExtension > get "find . -depth 1 -name " & quote & "*." & pExtension & quote && " > -exec rm {} \;" > get shell(it) > end _removeExtension > -- > -- _checkExtension pFolder > -- > -- Proceed to build and install the extension in pFolder if need be > -- > command _checkExtension pFolder > local tOldFolder, tFiles > local tExtensionFolder > > set the itemDel to slash > > put item -1 of pFolder into tExtensionFolder > > put the defaultFolder into tOldFolder > set the defaultFolder to pFolder > > put the detailed files into tFiles > > set the itemDel to comma > > local tPackageTime, tLcbTime, tPackageName > > repeat for each line tFile in tFiles > local tFilename > put urlDecode(item 1 of tFile) into tFilename > > if tFilename ends with ".lce" then > -- Get the last modification date of the package > put item 5 of tFile into tPackageTime > put urlDecode(tFilename) into tPackageName > > else if tFilename ends with ".lcb" then > -- LCB file we want to check > put item 5 of tFile into tLcbTime > end if > end repeat > > -- Guess the extension name from the folder - only take the > -- first 4 segments, as orientabletext folder, for instance, > -- also has the version appended to the widget name > local tExtensionName > set the itemDel to "." > put item 1 to 4 of tExtensionFolder into tExtensionName > > if tPackageTime is empty or tPackagetime < tLcbTime or \ > tExtensionName is not among the lines of the loadedExtensions then > -- Missing or outdated extension package, or extension not loaded > updateMessage "Building and installing extension" && tExtensionFolder > > _removeExtension "lci" > _removeExtension "lce" > _removeExtension "lcm" > _removeExtension "xml" > > -- Make sure to remove the extension beforehand, installation does > not > -- work properly if the extension already exists > revIDEDeveloperExtensionUninstall pFolder > > wait 500 milliseconds with messages > > revIDEDeveloperExtensionInstall pFolder > > load extension from file tPackageName > > -- Let the IDE load the extension > wait 500 milliseconds with messages > end if > > set the defaultFolder to tOldFolder > end _checkExtension > > -- > -- _rootFolder > -- > -- Return the root folder of the application > -- > function _rootFolder > if the environment is "development" then > set the itemDel to slash > return item 1 to -3 of the filename of me > > else > return specialFolderPath("engine") > end if > end _rootFolder > > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > > > On 08/07/2017, 14:30, "use-livecode on behalf of Matthias Rebbe via > use-livecode" on behalf of > use-livecode at lists.runrev.com > wrote: > >> Kevin, >> >> is it possible to get that script or is it not for the public? >> >> Regards, >> Matthias >> >> Matthias Rebbe >> +49 5741 310000 >> matthiasrebbe.eu > >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Sat Jul 8 11:26:31 2017 From: irog at mac.com (Roger Guay) Date: Sat, 08 Jul 2017 08:26:31 -0700 Subject: Division by Zero Error In-Reply-To: References: Message-ID: Thanks very much Mark, Herman and Mike. I am using the try/catch method you mention, but it doesn?t seem to work reliably. I?m probably doing something else wrong . . . I?ll keep trying. Thanks again for your time. Roger From hh at hyperhh.de Sat Jul 8 13:27:57 2017 From: hh at hyperhh.de (hh) Date: Sat, 8 Jul 2017 19:27:57 +0200 Subject: Fat widgets Message-ID: <6952D7D7-50CD-4193-8E1E-E2E2B9CB0188@hyperhh.de> Thank you very much for that. This solves the situation where the LC-8 version and the LC-9 version are the same (have the same lcb file). Thus you can only have widgets that use LCB-syntax/features that are present in both LC-8 and LC-9, especially no new/different LCB features from LC-9. > Kevin wrote: > I don?t see why not: > > on openStack > -- Build widgets and libraries > if the environment is "development" then > _checkExtension _rootFolder() & "/extensions/com.library.folder.here" > -- insert any others here > end if > > end openStack > > -- > -- Remove all the files with the extension pExtension in the > -- current directory > -- > command _removeExtension pExtension > get "find . -depth 1 -name " & quote & "*." & pExtension & quote && " > -exec rm {} \;" > get shell(it) > end _removeExtension > -- > -- _checkExtension pFolder > -- > -- Proceed to build and install the extension in pFolder if need be > -- > command _checkExtension pFolder > local tOldFolder, tFiles > local tExtensionFolder > > set the itemDel to slash > > put item -1 of pFolder into tExtensionFolder > > put the defaultFolder into tOldFolder > set the defaultFolder to pFolder > > put the detailed files into tFiles > > set the itemDel to comma > > local tPackageTime, tLcbTime, tPackageName > > repeat for each line tFile in tFiles > local tFilename > put urlDecode(item 1 of tFile) into tFilename > > if tFilename ends with ".lce" then > -- Get the last modification date of the package > put item 5 of tFile into tPackageTime > put urlDecode(tFilename) into tPackageName > > else if tFilename ends with ".lcb" then > -- LCB file we want to check > put item 5 of tFile into tLcbTime > end if > end repeat > > -- Guess the extension name from the folder - only take the > -- first 4 segments, as orientabletext folder, for instance, > -- also has the version appended to the widget name > local tExtensionName > set the itemDel to "." > put item 1 to 4 of tExtensionFolder into tExtensionName > > if tPackageTime is empty or tPackagetime < tLcbTime or \ > tExtensionName is not among the lines of the loadedExtensions then > -- Missing or outdated extension package, or extension not loaded > updateMessage "Building and installing extension" && tExtensionFolder > > _removeExtension "lci" > _removeExtension "lce" > _removeExtension "lcm" > _removeExtension "xml" > > -- Make sure to remove the extension beforehand, installation does > not > -- work properly if the extension already exists > revIDEDeveloperExtensionUninstall pFolder > > wait 500 milliseconds with messages > > revIDEDeveloperExtensionInstall pFolder > > load extension from file tPackageName > > -- Let the IDE load the extension > wait 500 milliseconds with messages > end if > > set the defaultFolder to tOldFolder > end _checkExtension > > -- > -- _rootFolder > -- > -- Return the root folder of the application > -- > function _rootFolder > if the environment is "development" then > set the itemDel to slash > return item 1 to -3 of the filename of me > > else > return specialFolderPath("engine") > end if > end _rootFolder From kevin at runrev.com Sat Jul 8 13:37:18 2017 From: kevin at runrev.com (Kevin Miller) Date: Sat, 8 Jul 2017 18:37:18 +0100 Subject: Fat widgets In-Reply-To: <51840B77-78F1-46E2-AC70-7F4FAFCA43ED@m-r-d.de> References: <51840B77-78F1-46E2-AC70-7F4FAFCA43ED@m-r-d.de> Message-ID: <5DB597EC-E873-4797-8EDA-EBE23ED050F9@runrev.com> I haven't encountered this because our widgets are a library. But - I'm guessing - you could try the revert command? Sent from my iPhone > On 8 Jul 2017, at 15:49, Matthias Rebbe via use-livecode wrote: > > Thank you very much. :) > > This makes it so much easier to test stacks between 8 and 9. > > I had to make some adjustments, because the source of my extensions is stored somewhere else and the updateMessage is also not present. > I get the widget recompiled when i load the stack, but the widget in the stack still does not show up correctly. I have to unload and reload the stack again. > Can i somehow refresh the stack w/o having to unload and load again? From richmondmathewson at gmail.com Sat Jul 8 13:39:06 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 8 Jul 2017 20:39:06 +0300 Subject: Mysterious new MetaCard file Message-ID: I have just received a note that a new file has been uploaded to the MetaCard Yahoo group: https://groups.yahoo.com/neo/groups/MC_IDE/conversations/messages from an email address rdbar814 at sbcglobal.net This purports to be a new version of the mchome file . . . However I feel uncomfortable about it for a number of reasons: 1. Who is "rdbar814" ? 2. Why is there no adequate explanation as to what it really does, because as far as I know there is no way to get metaCard running with an LC 8 or 9 engine? I have downloaded the ZIP file onto my Macintosh, but seriously wonder about the wisdom of unzipping it. Richmond. From ahsoftware at sonic.net Sat Jul 8 13:42:33 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 8 Jul 2017 10:42:33 -0700 Subject: Division by Zero Error In-Reply-To: References: Message-ID: <2c5274e2-551b-58ec-2a5d-627eeb0a1e80@sonic.net> On 07/08/2017 08:26 AM, Roger Guay via use-livecode wrote: > I am using the try/catch method you mention, but it doesn?t seem to work reliably. That's a bit disturbing. Can you post your code? -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Sat Jul 8 13:44:53 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 8 Jul 2017 10:44:53 -0700 Subject: Mysterious new MetaCard file In-Reply-To: References: Message-ID: On 07/08/2017 10:39 AM, Richmond Mathewson via use-livecode wrote: > I have just received a note that a new file has been uploaded to > the MetaCard Yahoo group: > > https://groups.yahoo.com/neo/groups/MC_IDE/conversations/messages > > from an email address rdbar814 at sbcglobal.net > > This purports to be a new version of the mchome file . . . > > However I feel uncomfortable about it for a number of reasons: > > 1. Who is "rdbar814" ? > > 2. Why is there no adequate explanation as to what it really does, > because as far as I know > there is no way to get metaCard running with an LC 8 or 9 engine? > > I have downloaded the ZIP file onto my Macintosh, but seriously wonder > about the wisdom of unzipping it. Well, I have to commend you on your caution. But here's the background information: http://forums.livecode.com/viewtopic.php?f=29&t=2051 -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Sat Jul 8 13:49:32 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 8 Jul 2017 20:49:32 +0300 Subject: Mysterious new MetaCard file In-Reply-To: References: Message-ID: <56ac4edb-3222-3cd8-b24b-075842694cc5@gmail.com> The backgroundInformation still does not explain where or who this new file comes from. Richmond. On 7/8/17 8:44 pm, Mark Wieder via use-livecode wrote: > On 07/08/2017 10:39 AM, Richmond Mathewson via use-livecode wrote: >> I have just received a note that a new file has been uploaded to >> the MetaCard Yahoo group: >> >> https://groups.yahoo.com/neo/groups/MC_IDE/conversations/messages >> >> from an email address rdbar814 at sbcglobal.net >> >> This purports to be a new version of the mchome file . . . >> >> However I feel uncomfortable about it for a number of reasons: >> >> 1. Who is "rdbar814" ? >> >> 2. Why is there no adequate explanation as to what it really does, >> because as far as I know >> there is no way to get metaCard running with an LC 8 or 9 engine? >> >> I have downloaded the ZIP file onto my Macintosh, but seriously wonder >> about the wisdom of unzipping it. > > Well, I have to commend you on your caution. > But here's the background information: > > http://forums.livecode.com/viewtopic.php?f=29&t=2051 > From ahsoftware at sonic.net Sat Jul 8 14:23:38 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 8 Jul 2017 11:23:38 -0700 Subject: Mysterious new MetaCard file In-Reply-To: <56ac4edb-3222-3cd8-b24b-075842694cc5@gmail.com> References: <56ac4edb-3222-3cd8-b24b-075842694cc5@gmail.com> Message-ID: <63969274-2d17-802c-a5b5-b0355927d8ed@sonic.net> On 07/08/2017 10:49 AM, Richmond Mathewson via use-livecode wrote: > The backgroundInformation still does not explain where or who this new > file comes from. Well, yes. It does. rdbar14 at sbcglobal.net is the new moderator of the MC group. Only the moderator(s) can post files in the group. Or, for that matter, post any messages to the group. And as you might read in the forum post, the new MC build in the zip file works with LC8/9. And given that this is the first new MC build in six years, this might be a Big Deal. As Richard Gaskin points out in the forum post, it's the only *real* alternative IDE for the LC engine. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Sat Jul 8 14:42:05 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 8 Jul 2017 21:42:05 +0300 Subject: Mysterious new MetaCard file In-Reply-To: <63969274-2d17-802c-a5b5-b0355927d8ed@sonic.net> References: <56ac4edb-3222-3cd8-b24b-075842694cc5@gmail.com> <63969274-2d17-802c-a5b5-b0355927d8ed@sonic.net> Message-ID: <2d67671b-9b52-9ad3-7464-c603be926331@gmail.com> OK: I'll give the thing a try. Richmond. On 7/8/17 9:23 pm, Mark Wieder via use-livecode wrote: > On 07/08/2017 10:49 AM, Richmond Mathewson via use-livecode wrote: >> The backgroundInformation still does not explain where or who this >> new file comes from. > > Well, yes. It does. > rdbar14 at sbcglobal.net is the new moderator of the MC group. Only the > moderator(s) can post files in the group. Or, for that matter, post > any messages to the group. > And as you might read in the forum post, the new MC build in the zip > file works with LC8/9. > And given that this is the first new MC build in six years, this might > be a Big Deal. As Richard Gaskin points out in the forum post, it's > the only *real* alternative IDE for the LC engine. > From m.schonewille at economy-x-talk.com Sat Jul 8 14:51:54 2017 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 08 Jul 2017 20:51:54 +0200 Subject: Mysterious new MetaCard file In-Reply-To: References: Message-ID: <69f90793-5bad-435d-98b5-c38d5a908b23@economy-x-talk.com> I got it running in 5 minutes. The guy who uploaded it says he has removed all references to passwords. I have no idea why this was a problem for him, but it is nice that he returned the modified files as required by the oss licence. ?Verzonden door BlueMail ? Op 8 jul. 2017 19:40, om 19:40, Richmond Mathewson via use-livecode schreef: >I have just received a note that a new file has been uploaded to >the MetaCard Yahoo group: > >https://groups.yahoo.com/neo/groups/MC_IDE/conversations/messages > >from an email address rdbar814 at sbcglobal.net > >This purports to be a new version of the mchome file . . . > >However I feel uncomfortable about it for a number of reasons: > >1. Who is "rdbar814" ? > >2. Why is there no adequate explanation as to what it really does, >because as far as I know >there is no way to get metaCard running with an LC 8 or 9 engine? > >I have downloaded the ZIP file onto my Macintosh, but seriously wonder >about the wisdom of unzipping it. > >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 ahsoftware at sonic.net Sat Jul 8 15:17:01 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 8 Jul 2017 12:17:01 -0700 Subject: Mysterious new MetaCard file In-Reply-To: <69f90793-5bad-435d-98b5-c38d5a908b23@economy-x-talk.com> References: <69f90793-5bad-435d-98b5-c38d5a908b23@economy-x-talk.com> Message-ID: On 07/08/2017 11:51 AM, Mark Schonewille via use-livecode wrote: > I got it running in 5 minutes. The guy who uploaded it says he has removed all references to passwords. I have no idea why this was a problem for him, but it is nice that he returned the modified files as required by the oss licence. The forum post has the details, but the tl;dr is that the community build of LiveCode doesn't (can't) support password-protected stacks. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Sat Jul 8 15:56:01 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 8 Jul 2017 22:56:01 +0300 Subject: Mysterious new MetaCard file In-Reply-To: References: <69f90793-5bad-435d-98b5-c38d5a908b23@economy-x-talk.com> Message-ID: On 7/8/17 10:17 pm, Mark Wieder via use-livecode wrote: > On 07/08/2017 11:51 AM, Mark Schonewille via use-livecode wrote: >> I got it running in 5 minutes. The guy who uploaded it says he has >> removed all references to passwords. I have no idea why this was a >> problem for him, but it is nice that he returned the modified files >> as required by the oss licence. > > The forum post has the details, but the tl;dr is that the community > build of LiveCode doesn't (can't) support password-protected stacks. > I'm not really worried about that at all as I am 100% content with the LC IDE (well, the 7.1.4 one anyway), and just want to show the MetaCard IDE to my Summer programming pupils. Richmond. From alex at tweedly.net Sat Jul 8 15:59:46 2017 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 8 Jul 2017 20:59:46 +0100 Subject: Group does not exist after "copy to this card" In-Reply-To: <474BEED2-DB65-4207-9297-4CE1CEE1B1D9@hindu.org> References: <474BEED2-DB65-4207-9297-4CE1CEE1B1D9@hindu.org> Message-ID: I have "not a clue", but it looks like no-one else had any good ideas, so instead I'll make a couple of suggestions :-) Try either of the following and see if it tells you anything. command sivasiva_Share put sConfigA["shareControl"] into tShareControl put the name of the last control copy tShareControl to this card # it works! buttons fire, behavior triggers Wow put the name of the last control end sivasiva_Share or command sivasiva_Share put sConfigA["shareControl"] into tShareControl put the number of controls copy tShareControl to this card # it works! buttons fire, behavior triggers Wow put the number of controls end sivasiva_Share If those don't help - try command sivasiva_Share put sConfigA["shareControl"] into tShareControl put exists(group "shareUI") # false copy tShareControl to this card # it works! buttons fire, behavior triggers Wow wait for 0 millisecs with messages -- if this is safe in your environment !! put exists(group "shareUI") # ??? end sivasiva_Share Alex. On 07/07/2017 20:18, Sannyasin Brahmanathaswami via use-livecode wrote: > I doing this thing of saving a custom control in the loader stack on card 4..but it's behavior is text only stack on external to the stack > > group "shareUI"" > > then I have a new init handler that adds the long id's of these controls > > global sConfigA > > to then it is super easy to do this anywhere anytime, on other stacks and modules (loader stack is always present in memory and these controls are not overloaded with images so they don't take up a lot of RAM in the app package) > > copy sConfigA["shareContro"] to this card > > the control copies and appears and it has a behavior that fires, > > so far this is all very cool "brilliant" in fact? a new world of view object/classes opens up! wow.. > > but after the copy is done, the engine still doesn't acknowledge that the grp exists > > command sivasiva_Share > put sConfigA["shareControl"] into tShareControl > put exists(group "shareUI") # false > copy tShareControl to this card # it works! buttons fire, behavior triggers Wow > put exists(group "shareUI") # oops: still returns false > end sivasiva_Share > > so there is no way to prevent the instantiation of multiple copies of the custom control? > > I *could* copy this particular control to *all* stack on preopenstack and then assume it is present, but there are caveats there? and I want to stay on this path of dynamic instantiation of view "classes" as needed. It has so much potential. I could also do the things of setting flags? but this adds complexity to what should be simple > > if not [some control exists] > create it by copying the template > else > assume its already there, ready to go > end if > > > > So we *do* need to know if the control actually copied and is now present on the card, albeit in an unsaved state. > > 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 ambassador at fourthworld.com Sat Jul 8 19:52:09 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 8 Jul 2017 16:52:09 -0700 Subject: Mysterious new MetaCard file In-Reply-To: <69f90793-5bad-435d-98b5-c38d5a908b23@economy-x-talk.com> References: <69f90793-5bad-435d-98b5-c38d5a908b23@economy-x-talk.com> Message-ID: <3f269b5a-a266-087d-22ff-65263194084b@fourthworld.com> Mark Schonewille wrote: > I got it running in 5 minutes. The guy who uploaded it says he has > removed all references to passwords. I have no idea why this was a > problem for him, but it is nice that he returned the modified files > as required by the oss licence. Depends on the license. And in this case the code wasn't password-protected so that was never a concern at all. The thread Mark linked to has the full backstory, but to address those two points here: - MC IDE was released by MetaCard Corp. under the MIT License, which is not only GPL-compatible but also allows use in proprietary works. We felt that was a good choice in case someone might want to use some of the IDE components, and since the "Ask Dialog" and other resources could be copied into a standalone it would be a necessity in such cases. GPL compatibility was just a nice extra; MC IDE went open source about a decade before the LC Community edition was announced, so of course we had know way to know that GPL compatibility would one day also be useful for running with that engine. - The code was open; we were encrypting data. We were storing prefs data in a stack file, and had a longer-term strategy of allowing plugins to use the same API. Since it's possible some data might be sensitive, it made sense to at least encrypt that data stack file on disk so other programs wouldn't be able to read it easily. What Bogs encountered wasn't locked code, just an error thrown by the LC Community engine when it encountered the line that set the password of the data stack. Since all scripts are open, he was able to just remove that and now, as you've seen, it works well. Of course today we have the encrypt and decrypt commands, so if I were doing that now I'd store an encrypted serialized array instead. In fact, now that arrays can be serialized (added late in the game for us graybeards in v3.5 ) I rarely use stack files for storing data anymore, except in the rare cases where I need to store LC objects. -- 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 Sun Jul 9 04:51:45 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 9 Jul 2017 11:51:45 +0300 Subject: Image Metadata Enhancement Request Message-ID: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> Currently LiveCode only accesses the density of an image from its metadata. It would be very usefil indeed if it could access all of an image's metadata. BUG 20025 Richmond. From sundown at pacifier.com Sun Jul 9 07:22:04 2017 From: sundown at pacifier.com (JB) Date: Sun, 9 Jul 2017 04:22:04 -0700 Subject: Image Metadata Enhancement Request In-Reply-To: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> References: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> Message-ID: <3922E90F-1E64-4787-9024-2C75E004A9DC@pacifier.com> I did a web search and found this info. Exiv2 is a C++ library and a command line utility to manage image metadata. It provides fast and easy read and write access to the Exif, IPTC and XMP metadata of images in various formats. Exiv2 is available as free software and with a commercial license, and is used in many projects. JB > On Jul 9, 2017, at 1:51 AM, Richmond Mathewson via use-livecode wrote: > > Currently LiveCode only accesses the density of an image from its metadata. > > It would be very usefil indeed if it could access all of an image's metadata. > > BUG 20025 > > 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 irog at mac.com Sun Jul 9 11:00:10 2017 From: irog at mac.com (Roger Guay) Date: Sun, 09 Jul 2017 08:00:10 -0700 Subject: Division by Zero Error In-Reply-To: <2c5274e2-551b-58ec-2a5d-627eeb0a1e80@sonic.net> References: <2c5274e2-551b-58ec-2a5d-627eeb0a1e80@sonic.net> Message-ID: <72DEC600-F30C-4FCB-BE8A-DE19F7947CA2@mac.com> Yes, but first let me play with it to see if I am doing something else to cause my problem. Roger > On Jul 8, 2017, at 10:42 AM, Mark Wieder via use-livecode wrote: > > On 07/08/2017 08:26 AM, Roger Guay via use-livecode wrote: >> I am using the try/catch method you mention, but it doesn?t seem to work reliably. > > That's a bit disturbing. Can you post your code? > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sun Jul 9 11:19:40 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 9 Jul 2017 08:19:40 -0700 Subject: Image Metadata Enhancement Request In-Reply-To: <3922E90F-1E64-4787-9024-2C75E004A9DC@pacifier.com> References: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> <3922E90F-1E64-4787-9024-2C75E004A9DC@pacifier.com> Message-ID: On 07/09/2017 04:22 AM, JB via use-livecode wrote: > I did a web search and found this info. > > Exiv2 is a C++ library and a command line utility to manage image metadata. It provides fast and easy read and write access to the Exif, IPTC and XMP metadata of images in various formats. Exiv2 is available as free software and with a commercial license, and is used in many projects. Interesting. And it's released under a gplv2 license as well. -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Sun Jul 9 11:27:06 2017 From: mark at livecode.com (Mark Waddingham) Date: Sun, 9 Jul 2017 16:27:06 +0100 Subject: Image Metadata Enhancement Request In-Reply-To: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> References: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> Message-ID: There's a livecodescript library which manipulates exif data: https://github.com/angerangel/livecodeExif Warmest Regards, Mark. Sent from my iPhone > On 9 Jul 2017, at 09:51, Richmond Mathewson via use-livecode wrote: > > Currently LiveCode only accesses the density of an image from its metadata. > > It would be very usefil indeed if it could access all of an image's metadata. > > BUG 20025 > > 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 tom at makeshyft.com Sun Jul 9 11:49:30 2017 From: tom at makeshyft.com (Tom Glod) Date: Sun, 9 Jul 2017 11:49:30 -0400 Subject: modal window = block handler? Message-ID: Hi everyone, i only recently switched to v8 ..and have found out that in this version, opening a modal window does not block the handler that opened it (until the window closes) .... did that used to be a bug that is fixed now?.... is it a bug now? or was it a purposeful change in the engine? anyone familiar with this? Thanks, Tom From mark at livecode.com Sun Jul 9 13:39:08 2017 From: mark at livecode.com (Mark Waddingham) Date: Sun, 9 Jul 2017 18:39:08 +0100 Subject: Image Metadata Enhancement Request In-Reply-To: References: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> <3922E90F-1E64-4787-9024-2C75E004A9DC@pacifier.com> Message-ID: It is GPLv2 or later *or* undisclosed commercial license. So not generally usable except for in pure GPLv3 LiveCode projects (unless you buy a commercial license for it for your specific use). Mark Sent from my iPhone > On 9 Jul 2017, at 16:19, Mark Wieder via use-livecode wrote: > >> On 07/09/2017 04:22 AM, JB via use-livecode wrote: >> I did a web search and found this info. >> Exiv2 is a C++ library and a command line utility to manage image metadata. It provides fast and easy read and write access to the Exif, IPTC and XMP metadata of images in various formats. Exiv2 is available as free software and with a commercial license, and is used in many projects. > > Interesting. And it's released under a gplv2 license as well. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sun Jul 9 14:19:11 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 9 Jul 2017 11:19:11 -0700 Subject: Image Metadata Enhancement Request In-Reply-To: References: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> <3922E90F-1E64-4787-9024-2C75E004A9DC@pacifier.com> Message-ID: <7b1459fa-6f6a-184f-c4e1-17f9f44e4716@sonic.net> On 07/09/2017 10:39 AM, Mark Waddingham via use-livecode wrote: > It is GPLv2 or later *or* undisclosed commercial license. So not generally usable except for in pure GPLv3 LiveCode projects (unless you buy a commercial license for it for your specific use). Urk! Dang lawyers. -- Mark Wieder ahsoftware at gmail.com From revolution at derbrill.de Sun Jul 9 14:20:16 2017 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Sun, 9 Jul 2017 20:20:16 +0200 Subject: modal window = block handler? In-Reply-To: References: Message-ID: <249840CB-B171-4CB2-9CFC-D96B1F5314A1@derbrill.de> Out of curiosity: Is this on a Mac? Do you have Spotify open? http://quality.livecode.com/show_bug.cgi?id=14275 Cheers, Malte From bobsneidar at iotecdigital.com Sun Jul 9 15:05:51 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 9 Jul 2017 19:05:51 +0000 Subject: modal window = block handler? In-Reply-To: References: Message-ID: <90D858E8-0342-45B8-BE60-497E2B86365B@iotecdigital.com> That is remarkable. I am running V8 and modal windows work for me. Put a brealpoint right aftr the call to the modal stack and see if the breakpoint triggers. Bob S > On Jul 9, 2017, at 08:49 , Tom Glod via use-livecode wrote: > > Hi everyone, i only recently switched to v8 ..and have found out that in > this version, opening a modal window does not block the handler that opened > it (until the window closes) .... did that used to be a bug that is fixed > now?.... is it a bug now? or was it a purposeful change in the engine? > anyone familiar with this? > > Thanks, > > Tom From bobsneidar at iotecdigital.com Sun Jul 9 15:07:54 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 9 Jul 2017 19:07:54 +0000 Subject: modal window = block handler? In-Reply-To: <90D858E8-0342-45B8-BE60-497E2B86365B@iotecdigital.com> References: <90D858E8-0342-45B8-BE60-497E2B86365B@iotecdigital.com> Message-ID: Read further I am not using spotify. Bob S > On Jul 9, 2017, at 12:05 , Bob Sneidar via use-livecode wrote: > > That is remarkable. I am running V8 and modal windows work for me. Put a brealpoint right aftr the call to the modal stack and see if the breakpoint triggers. > > Bob S From bobsneidar at iotecdigital.com Sun Jul 9 15:14:31 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 9 Jul 2017 19:14:31 +0000 Subject: Division by Zero Error In-Reply-To: <72DEC600-F30C-4FCB-BE8A-DE19F7947CA2@mac.com> References: <2c5274e2-551b-58ec-2a5d-627eeb0a1e80@sonic.net> <72DEC600-F30C-4FCB-BE8A-DE19F7947CA2@mac.com> Message-ID: <48BB9066-C690-42E5-846F-C5AC74B83650@iotecdigital.com> try -- some code here catch theError breakpoint end try see what theError contains. Bob S > On Jul 9, 2017, at 08:00 , Roger Guay via use-livecode wrote: > > Yes, but first let me play with it to see if I am doing something else to cause my problem. > > Roger From alex at tweedly.net Sun Jul 9 15:24:59 2017 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 9 Jul 2017 20:24:59 +0100 Subject: Image Metadata Enhancement Request In-Reply-To: References: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> Message-ID: <18b9a912-b78c-cc66-b6ba-1c47e786d23b@tweedly.net> Fascinating. That's the code I wrote and released 10 years ago, and now it's found its way onto github without my help. -- Alex. On 09/07/2017 16:27, Mark Waddingham via use-livecode wrote: > There's a livecodescript library which manipulates exif data: > > https://github.com/angerangel/livecodeExif > > Warmest Regards, > > Mark. > > Sent from my iPhone > >> On 9 Jul 2017, at 09:51, Richmond Mathewson via use-livecode wrote: >> >> Currently LiveCode only accesses the density of an image from its metadata. >> >> It would be very usefil indeed if it could access all of an image's metadata. >> >> BUG 20025 >> >> 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 tom at makeshyft.com Sun Jul 9 16:08:38 2017 From: tom at makeshyft.com (Tom Glod) Date: Sun, 9 Jul 2017 16:08:38 -0400 Subject: modal window = block handler? In-Reply-To: References: <90D858E8-0342-45B8-BE60-497E2B86365B@iotecdigital.com> Message-ID: its on windows.....i did a workaround for it . for sure it was continuing the handler after opening the window ...... BUT i did find that there was a space missing between the name of the stack and "as modal" i didn't get an error from the engine ...so i never notice it before. i haven't gone back to check .... stand by I will report back. On Sun, Jul 9, 2017 at 3:07 PM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Read further I am not using spotify. > > Bob S > > > On Jul 9, 2017, at 12:05 , Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > That is remarkable. I am running V8 and modal windows work for me. Put a > brealpoint right aftr the call to the modal stack and see if the breakpoint > triggers. > > > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Sun Jul 9 16:12:18 2017 From: tom at makeshyft.com (Tom Glod) Date: Sun, 9 Jul 2017 16:12:18 -0400 Subject: modal window = block handler? In-Reply-To: References: <90D858E8-0342-45B8-BE60-497E2B86365B@iotecdigital.com> Message-ID: omg its actually doing it ... the correction to the type did not solve it. its continuing to run the handler after the stack is opened as modal. not good. On Sun, Jul 9, 2017 at 4:08 PM, Tom Glod wrote: > its on windows.....i did a workaround for it . > for sure it was continuing the handler after opening the window ...... > > BUT > > i did find that there was a space missing between the name of the stack > and "as modal" > > i didn't get an error from the engine ...so i never notice it before. > > i haven't gone back to check .... stand by I will report back. > > On Sun, Jul 9, 2017 at 3:07 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Read further I am not using spotify. >> >> Bob S >> >> > On Jul 9, 2017, at 12:05 , Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > That is remarkable. I am running V8 and modal windows work for me. Put >> a brealpoint right aftr the call to the modal stack and see if the >> breakpoint triggers. >> > >> > 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 hh at hyperhh.de Sun Jul 9 16:13:27 2017 From: hh at hyperhh.de (hh) Date: Sun, 9 Jul 2017 22:13:27 +0200 Subject: I need a "slider" in a circle Message-ID: Just to 'complete' this thread. Detected today a good solution by Roger Guay from 2012, still up-to-date (this solution is in between a full gauge and a circular slider) http://livecodeshare.runrev.com/stack/645/RadialDialOmatic > Yet another solution: RotationControl. > > This is a control I recently made for use at LC Global in November: > An "ovalslider"-group that is under the control of a behavior button. > Attach the behavior to any LC-Object that has an angle property. > Runs with LC 6/7/8/9 on Mac/Win/linux or with LC 6/7 on Raspi. > For mobile (or at any rate ...) you may have to adjust the layout of > the slider-group(basics are already in the behavior script). > Download the stack (590 KByte because of two demo images, the script > is short) from "sample stacks" of the LC toolbar or from > > http://livecodeshare.runrev.com/stack/837/RotationControl > > [p.s. There is also a new cool TinyIDE from Andy at livecodeshare!] From tom at makeshyft.com Sun Jul 9 16:14:49 2017 From: tom at makeshyft.com (Tom Glod) Date: Sun, 9 Jul 2017 16:14:49 -0400 Subject: modal window = block handler? In-Reply-To: References: <90D858E8-0342-45B8-BE60-497E2B86365B@iotecdigital.com> Message-ID: no spotify On Sun, Jul 9, 2017 at 4:12 PM, Tom Glod wrote: > omg its actually doing it ... the correction to the type did not solve it. > > its continuing to run the handler after the stack is opened as modal. > > not good. > > On Sun, Jul 9, 2017 at 4:08 PM, Tom Glod wrote: > >> its on windows.....i did a workaround for it . >> for sure it was continuing the handler after opening the window ...... >> >> BUT >> >> i did find that there was a space missing between the name of the stack >> and "as modal" >> >> i didn't get an error from the engine ...so i never notice it before. >> >> i haven't gone back to check .... stand by I will report back. >> >> On Sun, Jul 9, 2017 at 3:07 PM, Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Read further I am not using spotify. >>> >>> Bob S >>> >>> > On Jul 9, 2017, at 12:05 , Bob Sneidar via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> > >>> > That is remarkable. I am running V8 and modal windows work for me. Put >>> a brealpoint right aftr the call to the modal stack and see if the >>> breakpoint triggers. >>> > >>> > 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 ahsoftware at sonic.net Sun Jul 9 16:35:37 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 9 Jul 2017 13:35:37 -0700 Subject: Image Metadata Enhancement Request In-Reply-To: <18b9a912-b78c-cc66-b6ba-1c47e786d23b@tweedly.net> References: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> <18b9a912-b78c-cc66-b6ba-1c47e786d23b@tweedly.net> Message-ID: On 07/09/2017 12:24 PM, Alex Tweedly via use-livecode wrote: > Fascinating. > > That's the code I wrote and released 10 years ago, and now it's found > its way onto github without my help. But the fact that it's a script-only snack is rather nice. I made a few tweaks to bring it up to date and issued a PR. I take the typos are yours as well. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Sun Jul 9 16:36:20 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 9 Jul 2017 13:36:20 -0700 Subject: Image Metadata Enhancement Request In-Reply-To: <18b9a912-b78c-cc66-b6ba-1c47e786d23b@tweedly.net> References: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> <18b9a912-b78c-cc66-b6ba-1c47e786d23b@tweedly.net> Message-ID: s/snack/stack/ sheesh -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Sun Jul 9 17:01:22 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 9 Jul 2017 14:01:22 -0700 Subject: modal window = block handler? In-Reply-To: References: Message-ID: <2b519436-d597-b789-36ce-cf47051c88e4@fourthworld.com> Tom Glod wrote: > omg its actually doing it ... the correction to the type did not > solve it. > > its continuing to run the handler after the stack is opened as modal. > > not good. Does it help if you change: open stack "MyStack" as modal ...to: modal "MyStack" ? - rg From jacque at hyperactivesw.com Sun Jul 9 18:05:39 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 9 Jul 2017 17:05:39 -0500 Subject: Image Metadata Enhancement Request In-Reply-To: <18b9a912-b78c-cc66-b6ba-1c47e786d23b@tweedly.net> References: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> <18b9a912-b78c-cc66-b6ba-1c47e786d23b@tweedly.net> Message-ID: Hm. Do you know any angry angels? On 7/9/17 2:24 PM, Alex Tweedly via use-livecode wrote: > Fascinating. > > That's the code I wrote and released 10 years ago, and now it's found > its way onto github without my help. > > -- Alex. > > > On 09/07/2017 16:27, Mark Waddingham via use-livecode wrote: >> There's a livecodescript library which manipulates exif data: >> >> https://github.com/angerangel/livecodeExif >> >> Warmest Regards, >> >> Mark. >> >> Sent from my iPhone >> >>> On 9 Jul 2017, at 09:51, Richmond Mathewson via use-livecode >>> wrote: >>> >>> Currently LiveCode only accesses the density of an image from its >>> metadata. >>> >>> It would be very usefil indeed if it could access all of an image's >>> metadata. >>> >>> BUG 20025 >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Jul 9 18:09:49 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 9 Jul 2017 17:09:49 -0500 Subject: Image Metadata Enhancement Request In-Reply-To: References: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> <18b9a912-b78c-cc66-b6ba-1c47e786d23b@tweedly.net> Message-ID: On 7/9/17 3:36 PM, Mark Wieder via use-livecode wrote: > s/snack/stack/ > sheesh > Actually, I've written scripts that eat stacks. I've written scripts that eat whole computers. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Sun Jul 9 18:50:25 2017 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 9 Jul 2017 23:50:25 +0100 Subject: Image Metadata Enhancement Request In-Reply-To: References: <07deef37-4914-aee9-e472-2389966eff8d@gmail.com> <18b9a912-b78c-cc66-b6ba-1c47e786d23b@tweedly.net> Message-ID: Oh, I definitely claim the typos :-) Yes, it's line-for-line identical to one or two versions before the last one I released. The later version added a few declarations to make it 'explicitVariable' friendly (much needed for me - see "typo" above :-), and a few changes of 'char' to 'byte' - hopefully the same ones you added to bring it up to date. -- Alex. On 09/07/2017 21:35, Mark Wieder via use-livecode wrote: > On 07/09/2017 12:24 PM, Alex Tweedly via use-livecode wrote: >> Fascinating. >> >> That's the code I wrote and released 10 years ago, and now it's found >> its way onto github without my help. > > But the fact that it's a script-only snack is rather nice. > I made a few tweaks to bring it up to date and issued a PR. > I take the typos are yours as well. > From irog at mac.com Sun Jul 9 18:56:34 2017 From: irog at mac.com (Roger Guay) Date: Sun, 09 Jul 2017 15:56:34 -0700 Subject: I need a "slider" in a circle In-Reply-To: References: Message-ID: <8E07EAE9-5853-494B-83F2-CC540C5073C6@mac.com> Thanks very much for the compliment, but give mea day to upload the latest. I?ve made significant improvements to RadialDialOmatic since the original upload. Right now I have to leave for a concert at Ste. Michelle Winery!!. Cheers, Roger > On Jul 9, 2017, at 1:13 PM, hh via use-livecode wrote: > > Just to 'complete' this thread. > > Detected today a good solution by Roger Guay from 2012, still up-to-date > (this solution is in between a full gauge and a circular slider) > > http://livecodeshare.runrev.com/stack/645/RadialDialOmatic > >> Yet another solution: RotationControl. >> >> This is a control I recently made for use at LC Global in November: >> An "ovalslider"-group that is under the control of a behavior button. >> Attach the behavior to any LC-Object that has an angle property. >> Runs with LC 6/7/8/9 on Mac/Win/linux or with LC 6/7 on Raspi. >> For mobile (or at any rate ...) you may have to adjust the layout of >> the slider-group(basics are already in the behavior script). >> Download the stack (590 KByte because of two demo images, the script >> is short) from "sample stacks" of the LC toolbar or from >> >> http://livecodeshare.runrev.com/stack/837/RotationControl >> >> [p.s. There is also a new cool TinyIDE from Andy at livecodeshare!] > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 9 19:39:07 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 10 Jul 2017 01:39:07 +0200 Subject: Fat widgets In-Reply-To: <5DB597EC-E873-4797-8EDA-EBE23ED050F9@runrev.com> References: <51840B77-78F1-46E2-AC70-7F4FAFCA43ED@m-r-d.de> <5DB597EC-E873-4797-8EDA-EBE23ED050F9@runrev.com> Message-ID: <794FDBAD-F2E5-4320-98C8-2EECC4BBB432@m-r-d.de> Thanks Kevin. That?s working. To be honest, i did not know this command until your post. Regards, Matthias Matthias Rebbe +49 5741 310000 ?matthiasrebbe.eu ? > Am 08.07.2017 um 19:37 schrieb Kevin Miller via use-livecode >: > > I haven't encountered this because our widgets are a library. But - I'm guessing - you could try the revert command? > > Sent from my iPhone > >> On 8 Jul 2017, at 15:49, Matthias Rebbe via use-livecode > wrote: >> >> Thank you very much. :) >> >> This makes it so much easier to test stacks between 8 and 9. >> >> I had to make some adjustments, because the source of my extensions is stored somewhere else and the updateMessage is also not present. >> I get the widget recompiled when i load the stack, but the widget in the stack still does not show up correctly. I have to unload and reload the stack again. >> Can i somehow refresh the stack w/o having to unload and load again? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 9 23:13:17 2017 From: james at thehales.id.au (james at thehales.id.au) Date: Mon, 10 Jul 2017 13:13:17 +1000 Subject: Widget course Message-ID: <55A21514-F005-4A90-88F6-79380510CB6D@thehales.id.au> Has any one had success with the widget course? I thought it time to go through the new widget course following last month's LC Global. Unfortunately I can't seem to get past the first lesson. I have tried this in both LC8.15rc3 and LC9dp7 I save the lcb file in my widget folder and then open it via the extension builder. I was successfully able to test the lcb file and so I moved on to the next lesson, installing an lcb library. This is where I have come to grief. I press the "install" button and the log shows two entries. The first informs me the compilation is skipped as it is all up to date (I guess from testing.) The second is an error telling me no version found in...and then a full path to my lcb file. What does this mean? What is not found? The lcb file is most definitely there so what else is missing? When I check in the "Extensions" folder in "My Livecode" there is no widget folder created so the error is for real and is stopping the build. Has something changed since the tutorial was made. I mean this is the simplest of simple exercises. What's gone wrong? I am on a Mac. James From richmondmathewson at gmail.com Mon Jul 10 02:48:32 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 10 Jul 2017 09:48:32 +0300 Subject: Goofy question #7234 Message-ID: <5e7faee7-0829-4c2d-762d-2ef00a2c0f9b@gmail.com> I am obviously missing something . . . . . . so badly so that I've been trawling Danny Goodman's "Complete" HC 2 . . . and NOT getting 'it' . . . SO: one can set up a custom command: on GoRed set the backGroundColor of card 1 to red end GoRed and one can call it: on mouseUp do GoRed end mouseUp and one can set up a custom function: function GoRed set the backGroundColor of card 1 to red end function Now: is the reason I cannot call that function because it takes NO parameters? Richmond. From admin at FlexibleLearning.com Mon Jul 10 03:03:24 2017 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 10 Jul 2017 08:03:24 +0100 Subject: modal window = block handler? Message-ID: <005801d2f94a$a08a9ae0$e19fd0a0$@FlexibleLearning.com> If you open invisible, then display it, a modal will not block. This non-modal behaviour of a modal has been incredibly useful for displaying a progress indicator in a modal window. I do not consider it a bug as such (modal blocks underlying windows, not necessarily code), and would hope this quirk remains available. Otherwise we would need something like "go stack as modal with messages". 2p Hugh Senior > Hi everyone, i only recently switched to v8 ..and have found out that in > this version, opening a modal window does not block the handler that > opened > it (until the window closes) .... did that used to be a bug that is fixed > now?.... is it a bug now? or was it a purposeful change in the engine? > anyone familiar with this? > > Thanks, > > Tom From ali.lloyd at livecode.com Mon Jul 10 03:58:11 2017 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 10 Jul 2017 07:58:11 +0000 Subject: Widget course In-Reply-To: <55A21514-F005-4A90-88F6-79380510CB6D@thehales.id.au> References: <55A21514-F005-4A90-88F6-79380510CB6D@thehales.id.au> Message-ID: Hi James, "no version found in..." refers to module metadata - add metadata version is "1.0.0" to the library and it should hopefully install. I think perhaps the section on metadata should be before the install section. On Mon, Jul 10, 2017 at 4:13 AM james--- via use-livecode < use-livecode at lists.runrev.com> wrote: > Has any one had success with the widget course? > > I thought it time to go through the new widget course following last > month's LC Global. > Unfortunately I can't seem to get past the first lesson. > I have tried this in both LC8.15rc3 and LC9dp7 > I save the lcb file in my widget folder and then open it via the extension > builder. > I was successfully able to test the lcb file and so I moved on to the next > lesson, installing an lcb library. > This is where I have come to grief. > I press the "install" button and the log shows two entries. > The first informs me the compilation is skipped as it is all up to date (I > guess from testing.) > The second is an error telling me no version found in...and then a full > path to my lcb file. > What does this mean? > What is not found? > The lcb file is most definitely there so what else is missing? > When I check in the "Extensions" folder in "My Livecode" there is no > widget folder created so the error is for real and is stopping the build. > > Has something changed since the tutorial was made. > I mean this is the simplest of simple exercises. > What's gone wrong? > > I am on a Mac. > > 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 james at thehales.id.au Mon Jul 10 04:03:43 2017 From: james at thehales.id.au (James Hale) Date: Mon, 10 Jul 2017 18:03:43 +1000 Subject: Widget course Message-ID: OK, looked at actual widgets and see they have metadata items so I added these and the error disappeared. 1. Seems the minimum requirements for the Extension Builder have changed since the course first written (BTW I am using 8.1.5, when I tried in 9dp7 there were even more errors.) Full of confidence I click the "install" button. I am duly asked for icons and click cancel on each request. Log entries seem to have a stutter (repeat everything) but not actual errors reported. open message box and type "put the loadedextensions" scroll through the list - nada magically type "put sayhello()" in message box to be greeted by error. seems LC knows nothing of my library. Check my "Extensions "folder and it is there so am at a loss. Quit LC and reopen. open message box and type "put the loadedextensions" - success type "put sayhello()" in message box - success 2. It seems you need to quit and relaunch LC after installing a library. Not the best. James james at thehales.id.au Tel: +61 3 9386 2516 Fax: +61 3 9386 1387 From selander at tkf.att.ne.jp Mon Jul 10 04:09:49 2017 From: selander at tkf.att.ne.jp (Tim Selander) Date: Mon, 10 Jul 2017 17:09:49 +0900 Subject: Goofy question #7234 In-Reply-To: <5e7faee7-0829-4c2d-762d-2ef00a2c0f9b@gmail.com> References: <5e7faee7-0829-4c2d-762d-2ef00a2c0f9b@gmail.com> Message-ID: <5963364D.6040103@tkf.att.ne.jp> Hi Richmond This works (both scripts in the button): on mouseUp put goRed() end mouseUp function goRed set the backGroundColor of card 1 to red end goRed I think the general idea is that a function returns information. So date() returns the date. But just having a line "date()" in the script causes an error because you haven't told it what to do with the info being returned. So you need "put data()" and then the info will go to the message box. Your function doesn't return any data. That's your choice when you write it. But the engine is still expecting a function to return info, so you still have to say "put" trigger the function. You could write your function with a parameter: function goRed foo set the backGroundColor of foo to red end goRed Then call the function like this: put goRed("card 1") put goRed("card 3") etc., and the one function can be used to turn both card 1 and card 3 (and any other object you specify in foo) red. Hope that helps. Tim Selander Tokyo, Japan On 7/10/17, 15:48, Richmond Mathewson via use-livecode wrote: > I am obviously missing something . . . > > . . . so badly so that I've been trawling Danny Goodman's "Complete" > HC 2 . . . > > and NOT getting 'it' . . . > > SO: one can set up a custom command: > > on GoRed > set the backGroundColor of card 1 to red > end GoRed > > and one can call it: > > on mouseUp > do GoRed > end mouseUp > > and one can set up a custom function: > > function GoRed > set the backGroundColor of card 1 to red > end function > > Now: is the reason I cannot call that function because it takes NO > parameters? > > 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 Mon Jul 10 04:14:05 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 10 Jul 2017 11:14:05 +0300 Subject: Goofy question #7234 In-Reply-To: <5963364D.6040103@tkf.att.ne.jp> References: <5e7faee7-0829-4c2d-762d-2ef00a2c0f9b@gmail.com> <5963364D.6040103@tkf.att.ne.jp> Message-ID: <972ae7e6-07e2-bdfb-bbd7-6cf418aec945@gmail.com> It does help a lot: even if only to stop me looking totally 'Stoooopid' in front of the kids in my Summer classes. Thanks. Richmond. On 7/10/17 11:09 am, Tim Selander via use-livecode wrote: > Hi Richmond > > This works (both scripts in the button): > on mouseUp > put goRed() > end mouseUp > > function goRed > set the backGroundColor of card 1 to red > end goRed > > I think the general idea is that a function returns information. So > date() returns the date. But just having a line "date()" in the script > causes an error because you haven't told it what to do with the info > being returned. So you need "put data()" and then the info will go to > the message box. > > Your function doesn't return any data. That's your choice when you > write it. But the engine is still expecting a function to return info, > so you still have to say "put" trigger the function. > > You could write your function with a parameter: > function goRed foo > set the backGroundColor of foo to red > end goRed > > Then call the function like this: > put goRed("card 1") > put goRed("card 3") > etc., and the one function can be used to turn both card 1 and card 3 > (and any other object you specify in foo) red. > > Hope that helps. > > Tim Selander > Tokyo, Japan > > > > > > On 7/10/17, 15:48, Richmond Mathewson via use-livecode wrote: >> I am obviously missing something . . . >> >> . . . so badly so that I've been trawling Danny Goodman's "Complete" >> HC 2 . . . >> >> and NOT getting 'it' . . . >> >> SO: one can set up a custom command: >> >> on GoRed >> set the backGroundColor of card 1 to red >> end GoRed >> >> and one can call it: >> >> on mouseUp >> do GoRed >> end mouseUp >> >> and one can set up a custom function: >> >> function GoRed >> set the backGroundColor of card 1 to red >> end function >> >> Now: is the reason I cannot call that function because it takes NO >> parameters? >> >> 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 tore.nilsen at me.com Mon Jul 10 04:29:27 2017 From: tore.nilsen at me.com (Tore Nilsen) Date: Mon, 10 Jul 2017 10:29:27 +0200 Subject: Goofy question #7234 In-Reply-To: <5963364D.6040103@tkf.att.ne.jp> References: <5e7faee7-0829-4c2d-762d-2ef00a2c0f9b@gmail.com> <5963364D.6040103@tkf.att.ne.jp> Message-ID: <934A3841-E95C-4814-9D3F-C0AA46BA676B@me.com> Here is what I teach my students: Use the function to return a value to the calling handler, set the properties in the handler, not in the function itself, like this: on mouseUp set backgroundColor of this card to goRed() end mouseUp function goRed return ?red? end goRed The benefit of this is that you can call the function from various handlers and sending whatever parameter you like. Here is a script that returns different colours depending on which card you open when you call the function. Everything is placed in the stack script: on preOpenCard put short name of this card into tCard set backgroundColor of card tCard to setColour(tCard) end preOpenCard function setColour pCard if pCard = ?One? then return ?red? else return ?blue? end if end setColour Regards Tore Nilsen > 10. jul. 2017 kl. 10:09 skrev Tim Selander via use-livecode : > > Hi Richmond > > This works (both scripts in the button): > on mouseUp > put goRed() > end mouseUp > > function goRed > set the backGroundColor of card 1 to red > end goRed > > I think the general idea is that a function returns information. So date() returns the date. But just having a line "date()" in the script causes an error because you haven't told it what to do with the info being returned. So you need "put data()" and then the info will go to the message box. > > Your function doesn't return any data. That's your choice when you write it. But the engine is still expecting a function to return info, so you still have to say "put" trigger the function. > > You could write your function with a parameter: > function goRed foo > set the backGroundColor of foo to red > end goRed > > Then call the function like this: > put goRed("card 1") > put goRed("card 3") > etc., and the one function can be used to turn both card 1 and card 3 (and any other object you specify in foo) red. > > Hope that helps. > > Tim Selander > Tokyo, Japan > > > > > > On 7/10/17, 15:48, Richmond Mathewson via use-livecode wrote: >> I am obviously missing something . . . >> >> . . . so badly so that I've been trawling Danny Goodman's "Complete" HC 2 . . . >> >> and NOT getting 'it' . . . >> >> SO: one can set up a custom command: >> >> on GoRed >> set the backGroundColor of card 1 to red >> end GoRed >> >> and one can call it: >> >> on mouseUp >> do GoRed >> end mouseUp >> >> and one can set up a custom function: >> >> function GoRed >> set the backGroundColor of card 1 to red >> end function >> >> Now: is the reason I cannot call that function because it takes NO parameters? >> >> 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 panos.merakos at livecode.com Mon Jul 10 07:53:06 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 10 Jul 2017 12:53:06 +0100 Subject: [ANN] This Week in LiveCode 90 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 #90 here: https://goo.gl/3kqaRQ 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 MikeKerner at roadrunner.com Mon Jul 10 09:01:08 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jul 2017 09:01:08 -0400 Subject: Goofy question #7234 In-Reply-To: <934A3841-E95C-4814-9D3F-C0AA46BA676B@me.com> References: <5e7faee7-0829-4c2d-762d-2ef00a2c0f9b@gmail.com> <5963364D.6040103@tkf.att.ne.jp> <934A3841-E95C-4814-9D3F-C0AA46BA676B@me.com> Message-ID: In the newfangled LC world, you can even do things the way the engine can - using "return for value" (or just "return") and "return for error" to allow commands to return values, too. Then "it" gets values that are returned, and "the result" gets errors that are returned. 9 is fun. funfunfunfunfunfunfun On Mon, Jul 10, 2017 at 4:29 AM, Tore Nilsen via use-livecode < use-livecode at lists.runrev.com> wrote: > Here is what I teach my students: > > Use the function to return a value to the calling handler, set the > properties in the handler, not in the function itself, like this: > > on mouseUp > set backgroundColor of this card to goRed() > end mouseUp > > function goRed > return ?red? > end goRed > > The benefit of this is that you can call the function from various > handlers and sending whatever parameter you like. Here is a script that > returns different colours > depending on which card you open when you call the function. Everything is > placed in the stack script: > > on preOpenCard > put short name of this card into tCard > set backgroundColor of card tCard to setColour(tCard) > end preOpenCard > > function setColour pCard > if pCard = ?One? then > return ?red? > else > return ?blue? > end if > end setColour > > > Regards > Tore Nilsen > > > 10. jul. 2017 kl. 10:09 skrev Tim Selander via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Richmond > > > > This works (both scripts in the button): > > on mouseUp > > put goRed() > > end mouseUp > > > > function goRed > > set the backGroundColor of card 1 to red > > end goRed > > > > I think the general idea is that a function returns information. So > date() returns the date. But just having a line "date()" in the script > causes an error because you haven't told it what to do with the info being > returned. So you need "put data()" and then the info will go to the message > box. > > > > Your function doesn't return any data. That's your choice when you write > it. But the engine is still expecting a function to return info, so you > still have to say "put" trigger the function. > > > > You could write your function with a parameter: > > function goRed foo > > set the backGroundColor of foo to red > > end goRed > > > > Then call the function like this: > > put goRed("card 1") > > put goRed("card 3") > > etc., and the one function can be used to turn both card 1 and card 3 > (and any other object you specify in foo) red. > > > > Hope that helps. > > > > Tim Selander > > Tokyo, Japan > > > > > > > > > > > > On 7/10/17, 15:48, Richmond Mathewson via use-livecode wrote: > >> I am obviously missing something . . . > >> > >> . . . so badly so that I've been trawling Danny Goodman's "Complete" HC > 2 . . . > >> > >> and NOT getting 'it' . . . > >> > >> SO: one can set up a custom command: > >> > >> on GoRed > >> set the backGroundColor of card 1 to red > >> end GoRed > >> > >> and one can call it: > >> > >> on mouseUp > >> do GoRed > >> end mouseUp > >> > >> and one can set up a custom function: > >> > >> function GoRed > >> set the backGroundColor of card 1 to red > >> end function > >> > >> Now: is the reason I cannot call that function because it takes NO > parameters? > >> > >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From panos.merakos at livecode.com Mon Jul 10 09:23:42 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 10 Jul 2017 14:23:42 +0100 Subject: [ANN] Release 8.1.5 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 8.1.5 Stable. By "Stable", we mean that no reported regressions have been introduced in 8.1.5, compared to the previous Stable release. LiveCode 8.1.5 contains 81 extra bug fixes and new features, compared to LiveCode 8.1.4. Several regression bugs that were introduced in previous releases of LiveCode 8.x have now been fixed, so that makes LiveCode 8.1.5 very stable. Moreover, LiveCode 8.1.5 contains a new build of tsNet external (v1.2.10), which fixes various network-related bugs. Last but not least, LiveCode 8.1.5 includes support for building iOS apps using the latest iOS SDKs, included in Xcode 8.3.3. You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ Warmest regards, The LiveCode Team -- From bobsneidar at iotecdigital.com Mon Jul 10 10:44:05 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Jul 2017 14:44:05 +0000 Subject: modal window = block handler? In-Reply-To: <005801d2f94a$a08a9ae0$e19fd0a0$@FlexibleLearning.com> References: <005801d2f94a$a08a9ae0$e19fd0a0$@FlexibleLearning.com> Message-ID: I'm going to have to disagree here. I open windows modally for the specific purpose of halting code in the calling stack until the modal window is dismissed so that I can proceed with input from the user. An Answer dialog is simply a modal stack if I am not mistaken. It's interesting though that a hidden window is not modal. I will have to experiment with that. Bob S > On Jul 10, 2017, at 24:03 , FlexibleLearning.com via use-livecode wrote: > > (modal blocks underlying windows, not necessarily code) From bobsneidar at iotecdigital.com Mon Jul 10 10:50:10 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Jul 2017 14:50:10 +0000 Subject: Goofy question #7234 In-Reply-To: References: <5e7faee7-0829-4c2d-762d-2ef00a2c0f9b@gmail.com> <5963364D.6040103@tkf.att.ne.jp> <934A3841-E95C-4814-9D3F-C0AA46BA676B@me.com> Message-ID: <1FC02337-4DFE-4B1F-BF52-B41A7607E8D4@iotecdigital.com> That is cool. As soon as 9 release candidates are released I will have to look hard at v9. Unfortunately I do not develop for a living (exactly) so I do not have a lot of time for running a DP through it's paces. Bob S > On Jul 10, 2017, at 06:01 , Mike Kerner via use-livecode wrote: > > In the newfangled LC world, you can even do things the way the engine can - > using "return for value" (or just "return") and "return for error" to allow > commands to return values, too. Then "it" gets values that are returned, > and "the result" gets errors that are returned. 9 is fun. > funfunfunfunfunfunfun From MikeKerner at roadrunner.com Mon Jul 10 10:52:00 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jul 2017 10:52:00 -0400 Subject: [OT] Renewing Apple Developer ID Installer Certificate In-Reply-To: <001401d2f491$69a10040$3ce300c0$@kestner.de> References: <7CAF8F78-A2D2-4A5F-85B6-9BAE93DF3538@gmail.com> <7ec80f6c-a1c3-88c1-2fb1-997129b583e8@knappstersolutions.com> <001401d2f491$69a10040$3ce300c0$@kestner.de> Message-ID: That's only true for apps in the app store. For corporate apps/apps you distribute privately, you have to rebuild them every year with new certs. On Tue, Jul 4, 2017 at 2:47 AM, Tiemo Hollmann TB via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Marty, > even if your certificate expires on wednesday, your old signed apps will > never expire, you just can't sign a new app with the old expired > certificate. > Tiemo > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Marty Knapp via use-livecode > Gesendet: Dienstag, 4. Juli 2017 00:35 > An: Colin Holgate via use-livecode > Cc: Marty Knapp > Betreff: Re: [OT] Renewing Apple Developer ID Installer Certificate > > Thanks Colin. It is a bit different than iOS (and I'm not selling in the > Mac App Store either). What I've done at this point is to generate new > certificates for both the Developer ID Application and Developer ID > Installer. There appears to be no renewal capability. I use AppWrapper to > codesign my apps and in looking at the setup, I'm guessing that Developer > ID Installer certificate, while required in AppWrapper, is only for when > you build an installer package (I use a DMG). > > I'll have to wait till Wednesday when my old certificates expire to see if > I have trouble with the previously signed apps. If someone knows anything > more, I'm all ears. Hopefully I'm good for another 5 years, when I'll > forget how to do this all over again - I love getting old! > > Marty > > I would think that it?s the same as with iOS. When you go back to > https://developer.apple.com/account/mac/certificate/ < > https://developer.apple.com/account/mac/certificate/> after renewing your > subscription it will most likely have an expired certificate. You make a > new one, then go to the provisioning profile for your app, it should show > as expired. Edit it and re-select the certificate, picking the new one. > > > > If the current certificate is still valid for a while you can still edit > the provisioning profile to give it a fresh start. > > > > If you edit a provisioning profile file you should find an > ExpirationDate entry that gives the date it will expire. > > > > > >> On Jul 3, 2017, at 12:23 PM, Marty Knapp via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> I sell and distribute Mac apps from my own website and have the Apple > Developer ID Application Certificate and the Developer ID Installer > Certificate. I've been notified that they will both expire in a couple of > days. > >> > >> According to the Apple web site, if the Developer ID Installer > Certificate expires, users will *not* be able to install any applications > signed with the certificate. (an expired Developer ID Application > Certificate is not a problem for existing installers). > >> > >> What I can't seem to find are instructions on *renewing* the > certificate. I found one article that said I needed to revoke the old one > and then create a new one. That makes me a little nervous. Obviously I > don't want to screw this up and have customers going crazy, while I'm > frantically trying to figure out what to do. > >> > >> You would think that Apple would have an easy Steps 1-2-3 to renew, but > I sure can't find them. Anyone done this recently? Should I revoke the old > one or wait till it expires? > >> > >> Thanks for any help, > >> Marty > >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From paul at researchware.com Mon Jul 10 11:16:17 2017 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Jul 2017 11:16:17 -0400 Subject: modal window = block handler? In-Reply-To: References: <005801d2f94a$a08a9ae0$e19fd0a0$@FlexibleLearning.com> Message-ID: <29cb5353-bf84-63cc-0eb3-d607feb13e24@researchware.com> A related issue I ran into recently: I had a complex modal dialog. In my code for the dialog controls I was calling a routine that had a "wait 0 with messages" statement. I discovered that the wait ... with messages allows user events (for example commandKeyDown, etc.) to kick off other scripts while the modal dialog was still active under OSX. Windows still does a better job of modal actually being modal. This was an older stack under LC6.7.11, so I am not sure if the this is also applies to more recent versions. On 7/10/2017 10:44 AM, Bob Sneidar via use-livecode wrote: > I'm going to have to disagree here. I open windows modally for the specific purpose of halting code in the calling stack until the modal window is dismissed so that I can proceed with input from the user. An Answer dialog is simply a modal stack if I am not mistaken. It's interesting though that a hidden window is not modal. I will have to experiment with that. > > Bob S > > >> On Jul 10, 2017, at 24:03 , FlexibleLearning.com via use-livecode wrote: >> >> (modal blocks underlying windows, not necessarily code) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Mon Jul 10 11:18:27 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jul 2017 11:18:27 -0400 Subject: [ANN] Release 8.1.5 In-Reply-To: References: Message-ID: Anyone else getting a persistent "linking for arm" error when trying to build with 8.1.5? On Mon, Jul 10, 2017 at 9:23 AM, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear List Members, > > We are pleased to announce the release of LiveCode 8.1.5 Stable. By > "Stable", we mean that no reported regressions have been introduced in > 8.1.5, compared to the previous Stable release. > > LiveCode 8.1.5 contains 81 extra bug fixes and new features, compared to > LiveCode 8.1.4. > > Several regression bugs that were introduced in previous releases of > LiveCode 8.x have now been fixed, so that makes LiveCode 8.1.5 very stable. > > Moreover, LiveCode 8.1.5 contains a new build of tsNet external (v1.2.10), > which fixes various network-related bugs. > > Last but not least, LiveCode 8.1.5 includes support for building iOS apps > using the latest iOS SDKs, included in Xcode 8.3.3. > > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > Warmest regards, > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bobsneidar at iotecdigital.com Mon Jul 10 11:18:38 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Jul 2017 15:18:38 +0000 Subject: modal window = block handler? In-Reply-To: <29cb5353-bf84-63cc-0eb3-d607feb13e24@researchware.com> References: <005801d2f94a$a08a9ae0$e19fd0a0$@FlexibleLearning.com> <29cb5353-bf84-63cc-0eb3-d607feb13e24@researchware.com> Message-ID: <50110402-D456-46B0-A6AF-C9E553FF6861@iotecdigital.com> Of course, modal windows do not "halt code execution" in that sense. They could not because you would not be able to use any code in front or back scripts. They prevent the calling handler from proceeding. It's like inserting blocking code where the modal is called. Bob S > On Jul 10, 2017, at 08:16 , Paul Dupuis via use-livecode wrote: > > A related issue I ran into recently: > > I had a complex modal dialog. In my code for the dialog controls I was > calling a routine that had a "wait 0 with messages" statement. I > discovered that the wait ... with messages allows user events (for > example commandKeyDown, etc.) to kick off other scripts while the modal > dialog was still active under OSX. Windows still does a better job of > modal actually being modal. This was an older stack under LC6.7.11, so I > am not sure if the this is also applies to more recent versions. From jacque at hyperactivesw.com Mon Jul 10 11:23:00 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Jul 2017 10:23:00 -0500 Subject: Goofy question #7234 In-Reply-To: <5e7faee7-0829-4c2d-762d-2ef00a2c0f9b@gmail.com> References: <5e7faee7-0829-4c2d-762d-2ef00a2c0f9b@gmail.com> Message-ID: <15d2d18b038.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I wrote this explanation a long time ago for someone else: http://www.hyperactivesw.com/resources_function.html Also, in your command handler example, you don't need "do" which adds unnecessary overhead. This is enough: on mouseUp GoRed end mouseUp -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 10, 2017 1:50:39 AM Richmond Mathewson via use-livecode wrote: > I am obviously missing something . . . > > . . . so badly so that I've been trawling Danny Goodman's "Complete" HC > 2 . . . > > and NOT getting 'it' . . . > > SO: one can set up a custom command: > > on GoRed > set the backGroundColor of card 1 to red > end GoRed > > and one can call it: > > on mouseUp > do GoRed > end mouseUp > > and one can set up a custom function: > > function GoRed > set the backGroundColor of card 1 to red > end function > > Now: is the reason I cannot call that function because it takes NO > parameters? > > 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 merakosp at gmail.com Mon Jul 10 11:25:42 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 10 Jul 2017 16:25:42 +0100 Subject: [ANN] Release 8.1.5 In-Reply-To: References: Message-ID: Hi Mike, I get that occasionally, not sure why and I cannot pin down a reliable recipe. The error goes away if I retry to build. http://quality.livecode.com/show_bug.cgi?id=19080 Best Panos -- On Mon, Jul 10, 2017 at 4:18 PM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Anyone else getting a persistent "linking for arm" error when trying to > build with 8.1.5? > > On Mon, Jul 10, 2017 at 9:23 AM, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Dear List Members, > > > > We are pleased to announce the release of LiveCode 8.1.5 Stable. By > > "Stable", we mean that no reported regressions have been introduced in > > 8.1.5, compared to the previous Stable release. > > > > LiveCode 8.1.5 contains 81 extra bug fixes and new features, compared to > > LiveCode 8.1.4. > > > > Several regression bugs that were introduced in previous releases of > > LiveCode 8.x have now been fixed, so that makes LiveCode 8.1.5 very > stable. > > > > Moreover, LiveCode 8.1.5 contains a new build of tsNet external > (v1.2.10), > > which fixes various network-related bugs. > > > > Last but not least, LiveCode 8.1.5 includes support for building iOS apps > > using the latest iOS SDKs, included in Xcode 8.3.3. > > > > You can get the release at https://downloads.livecode.com/livecode/ or > via > > the automatic updater. > > > > Please report any bugs encountered on our BugZilla at > > http://quality.livecode.com/ > > > > Warmest regards, > > The LiveCode Team > > -- > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From irog at mac.com Mon Jul 10 11:47:38 2017 From: irog at mac.com (Roger Guay) Date: Mon, 10 Jul 2017 08:47:38 -0700 Subject: I need a "slider" in a circle In-Reply-To: <8E07EAE9-5853-494B-83F2-CC540C5073C6@mac.com> References: <8E07EAE9-5853-494B-83F2-CC540C5073C6@mac.com> Message-ID: I just uploaded the latest version of RadialDialOmatic to Rev Sample Stacks. > http://livecodeshare.runrev.com/stack/838/RadialDialOmatic All The best, Roger > On Jul 9, 2017, at 3:56 PM, Roger Guay via use-livecode wrote: > > Thanks very much for the compliment, but give mea day to upload the latest. I?ve made significant improvements to RadialDialOmatic since the original upload. Right now I have to leave for a concert at Ste. Michelle Winery!!. > > Cheers, > > Roger > > > >> On Jul 9, 2017, at 1:13 PM, hh via use-livecode wrote: >> >> Just to 'complete' this thread. >> >> Detected today a good solution by Roger Guay from 2012, still up-to-date >> (this solution is in between a full gauge and a circular slider) From MikeKerner at roadrunner.com Mon Jul 10 12:00:52 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jul 2017 12:00:52 -0400 Subject: [ANN] Release 8.1.5 In-Reply-To: References: Message-ID: I've been fighting with it all morning. The only thing that MIGHT be fixing it is if I switch the build-for devices to something else and then back, and then if I switch the min ios version to 10.3 and then back. I say Might, because I've tried many times, today, across several apps, and finally got something to work for one of them. On Mon, Jul 10, 2017 at 11:25 AM, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Mike, > > I get that occasionally, not sure why and I cannot pin down a reliable > recipe. The error goes away if I retry to build. > > http://quality.livecode.com/show_bug.cgi?id=19080 > > Best > Panos > -- > > On Mon, Jul 10, 2017 at 4:18 PM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Anyone else getting a persistent "linking for arm" error when trying to > > build with 8.1.5? > > > > On Mon, Jul 10, 2017 at 9:23 AM, panagiotis merakos via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Dear List Members, > > > > > > We are pleased to announce the release of LiveCode 8.1.5 Stable. By > > > "Stable", we mean that no reported regressions have been introduced in > > > 8.1.5, compared to the previous Stable release. > > > > > > LiveCode 8.1.5 contains 81 extra bug fixes and new features, compared > to > > > LiveCode 8.1.4. > > > > > > Several regression bugs that were introduced in previous releases of > > > LiveCode 8.x have now been fixed, so that makes LiveCode 8.1.5 very > > stable. > > > > > > Moreover, LiveCode 8.1.5 contains a new build of tsNet external > > (v1.2.10), > > > which fixes various network-related bugs. > > > > > > Last but not least, LiveCode 8.1.5 includes support for building iOS > apps > > > using the latest iOS SDKs, included in Xcode 8.3.3. > > > > > > You can get the release at https://downloads.livecode.com/livecode/ or > > via > > > the automatic updater. > > > > > > Please report any bugs encountered on our BugZilla at > > > http://quality.livecode.com/ > > > > > > Warmest regards, > > > The LiveCode Team > > > -- > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Jul 10 12:09:07 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jul 2017 12:09:07 -0400 Subject: [ANN] Release 8.1.5 In-Reply-To: References: Message-ID: nope, that doesn't fix it every time, either, so ignore that suggestion. I'm on attempt 6 for this app... On Mon, Jul 10, 2017 at 12:00 PM, Mike Kerner wrote: > I've been fighting with it all morning. The only thing that MIGHT be > fixing it is if I switch the build-for devices to something else and then > back, and then if I switch the min ios version to 10.3 and then back. I > say Might, because I've tried many times, today, across several apps, and > finally got something to work for one of them. > > On Mon, Jul 10, 2017 at 11:25 AM, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Mike, >> >> I get that occasionally, not sure why and I cannot pin down a reliable >> recipe. The error goes away if I retry to build. >> >> http://quality.livecode.com/show_bug.cgi?id=19080 >> >> Best >> Panos >> -- >> >> On Mon, Jul 10, 2017 at 4:18 PM, Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> > Anyone else getting a persistent "linking for arm" error when trying to >> > build with 8.1.5? >> > >> > On Mon, Jul 10, 2017 at 9:23 AM, panagiotis merakos via use-livecode < >> > use-livecode at lists.runrev.com> wrote: >> > >> > > Dear List Members, >> > > >> > > We are pleased to announce the release of LiveCode 8.1.5 Stable. By >> > > "Stable", we mean that no reported regressions have been introduced in >> > > 8.1.5, compared to the previous Stable release. >> > > >> > > LiveCode 8.1.5 contains 81 extra bug fixes and new features, compared >> to >> > > LiveCode 8.1.4. >> > > >> > > Several regression bugs that were introduced in previous releases of >> > > LiveCode 8.x have now been fixed, so that makes LiveCode 8.1.5 very >> > stable. >> > > >> > > Moreover, LiveCode 8.1.5 contains a new build of tsNet external >> > (v1.2.10), >> > > which fixes various network-related bugs. >> > > >> > > Last but not least, LiveCode 8.1.5 includes support for building iOS >> apps >> > > using the latest iOS SDKs, included in Xcode 8.3.3. >> > > >> > > You can get the release at https://downloads.livecode.com/livecode/ >> or >> > via >> > > the automatic updater. >> > > >> > > Please report any bugs encountered on our BugZilla at >> > > http://quality.livecode.com/ >> > > >> > > Warmest regards, >> > > The LiveCode Team >> > > -- >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > >> > >> > >> > -- >> > On the first day, God created the heavens and the Earth >> > On the second day, God created the oceans. >> > On the third day, God put the animals on hold for a few hours, >> > and did a little diving. >> > And God said, "This is good." >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From tom at makeshyft.com Mon Jul 10 12:14:00 2017 From: tom at makeshyft.com (Tom Glod) Date: Mon, 10 Jul 2017 12:14:00 -0400 Subject: modal window = block handler? In-Reply-To: <50110402-D456-46B0-A6AF-C9E553FF6861@iotecdigital.com> References: <005801d2f94a$a08a9ae0$e19fd0a0$@FlexibleLearning.com> <29cb5353-bf84-63cc-0eb3-d607feb13e24@researchware.com> <50110402-D456-46B0-A6AF-C9E553FF6861@iotecdigital.com> Message-ID: lesson learned ...... happy i found out about this inconcistency now rather than later. going forward I am using a "wait until mywindowopen = 0 with messages" to make sure i get the same identical behavior on every platform. thanks as always you guys On Mon, Jul 10, 2017 at 11:18 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Of course, modal windows do not "halt code execution" in that sense. They > could not because you would not be able to use any code in front or back > scripts. They prevent the calling handler from proceeding. It's like > inserting blocking code where the modal is called. > > Bob S > > > > On Jul 10, 2017, at 08:16 , Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > A related issue I ran into recently: > > > > I had a complex modal dialog. In my code for the dialog controls I was > > calling a routine that had a "wait 0 with messages" statement. I > > discovered that the wait ... with messages allows user events (for > > example commandKeyDown, etc.) to kick off other scripts while the modal > > dialog was still active under OSX. Windows still does a better job of > > modal actually being modal. This was an older stack under LC6.7.11, so I > > am not sure if the this is also applies to more recent versions. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Mon Jul 10 12:46:15 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jul 2017 12:46:15 -0400 Subject: [ANN] Release 8.1.5 In-Reply-To: References: Message-ID: I was able to get the build to get further by switching the ios version to the latest one (10.3), but now I'm getting a codesigning failed, segmentation fault 11 error. Bug 20030. From merakosp at gmail.com Mon Jul 10 13:02:03 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 10 Jul 2017 18:02:03 +0100 Subject: [ANN] Release 8.1.5 In-Reply-To: References: Message-ID: hmm, I have not seen that before. Which Sierra version are you using? I am on Sierra 10.12.4. Are you using Xcode 8.3.3? What is the terminal output if you type "xcode-select -p"? On Mon, Jul 10, 2017 at 5:46 PM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > I was able to get the build to get further by switching the ios version to > the latest one (10.3), but now I'm getting a codesigning failed, > segmentation fault 11 error. Bug 20030. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Mon Jul 10 13:07:33 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 10 Jul 2017 20:07:33 +0300 Subject: [ANN] Release 8.1.5 In-Reply-To: References: Message-ID: <92aee039-811f-2cd5-83c1-92dfec542294@gmail.com> That's moderately exciting. Richmond. On 7/10/17 4:23 pm, panagiotis merakos via use-livecode wrote: > Dear List Members, > > We are pleased to announce the release of LiveCode 8.1.5 Stable. By > "Stable", we mean that no reported regressions have been introduced in > 8.1.5, compared to the previous Stable release. > > LiveCode 8.1.5 contains 81 extra bug fixes and new features, compared to > LiveCode 8.1.4. > > Several regression bugs that were introduced in previous releases of > LiveCode 8.x have now been fixed, so that makes LiveCode 8.1.5 very stable. > > Moreover, LiveCode 8.1.5 contains a new build of tsNet external (v1.2.10), > which fixes various network-related bugs. > > Last but not least, LiveCode 8.1.5 includes support for building iOS apps > using the latest iOS SDKs, included in Xcode 8.3.3. > > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > Warmest regards, > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Jul 10 13:07:51 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jul 2017 13:07:51 -0400 Subject: [ANN] Release 8.1.5 In-Reply-To: References: Message-ID: 10.12.5 8.3.3 /Applications/Xcode.app/Contents/Developer I've also run into another weird thing with this version of xcode. Thinking that I had a cert or provisioning profile problem, I went in to prefs and pulled up the certs. Every time I do that, xcode creates a new one - both developer and distribution. On Mon, Jul 10, 2017 at 1:02 PM, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > hmm, I have not seen that before. Which Sierra version are you using? I am > on Sierra 10.12.4. > > Are you using Xcode 8.3.3? > > What is the terminal output if you type "xcode-select -p"? > > On Mon, Jul 10, 2017 at 5:46 PM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I was able to get the build to get further by switching the ios version > to > > the latest one (10.3), but now I'm getting a codesigning failed, > > segmentation fault 11 error. Bug 20030. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From admin at FlexibleLearning.com Mon Jul 10 13:18:10 2017 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 10 Jul 2017 18:18:10 +0100 Subject: modal window = block handler? Message-ID: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> Opening a modal as normal (i.e. visible) obviously still does what you specify. We simply have a 'hidden feature' that enables a non-blocking modal should it be required (e.g. a progress indicator that prevents user-clicks on other windows). Hugh Senior FLCo > I'm going to have to disagree here. I open windows modally for the specific > purpose of halting code in the calling stack until the modal window is > dismissed so that I can proceed with input from the user. An Answer dialog is > simply a modal stack if I am not mistaken. It's interesting though that a > hidden window is not modal. I will have to experiment with that. > > Bob S > > > > On Jul 10, 2017, at 24:03 , FlexibleLearning.com via use-livecode livecode at lists.runrev.com> wrote: > > > > (modal blocks underlying windows, not necessarily code) From merakosp at gmail.com Mon Jul 10 13:20:23 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 10 Jul 2017 18:20:23 +0100 Subject: [ANN] Release 8.1.5 In-Reply-To: References: Message-ID: @MIke I guess that Xcode8.3.3 is the one in /Applications/Xcode.app? BTW I would suggest to have separate folders for each Xcode version, to avoid problems where the Xcode version is updated automatically (the one in /Applications/Xcode.app), but LC not yet supports this Xcode version. I have a folder "Xcode" with subfolders "Xcode_8_2_1", "Xcode_8_3_3" etc, and each one of the has the respective "Xcode.app" binary. Regarding the other issue you mentioned, I have not seen it, but I would recommend clearing any old provisioning profiles so as the dropdown does not get too large. The provisioning profiles live in /Users//Library/MobileDevice/Provisioning Profiles/ You could clear the contents of this folder, and then download only the valid provisioning profiles directly from the Apple Dev Centre (and not from Xcode preferences). Then double click on the profile you downloaded, and Xcode will place it in /Users//Library/MobileDevice/Provisioning Profiles/ Now, about the codesign issue itself, I will have a look at the bug report later this week. @Richmond Why moderately exciting, and not super exciting? :) Best, Panos -- On Mon, Jul 10, 2017 at 6:07 PM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > 10.12.5 > 8.3.3 > /Applications/Xcode.app/Contents/Developer > > I've also run into another weird thing with this version of xcode. > Thinking that I had a cert or provisioning profile problem, I went in to > prefs and pulled up the certs. Every time I do that, xcode creates a new > one - both developer and distribution. > > On Mon, Jul 10, 2017 at 1:02 PM, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > hmm, I have not seen that before. Which Sierra version are you using? I > am > > on Sierra 10.12.4. > > > > Are you using Xcode 8.3.3? > > > > What is the terminal output if you type "xcode-select -p"? > > > > On Mon, Jul 10, 2017 at 5:46 PM, Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I was able to get the build to get further by switching the ios version > > to > > > the latest one (10.3), but now I'm getting a codesigning failed, > > > segmentation fault 11 error. Bug 20030. > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Mon Jul 10 13:32:03 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jul 2017 13:32:03 -0400 Subject: [ANN] Release 8.1.5 In-Reply-To: References: Message-ID: I did clear the PP's. I'll try downloading an older xcode to see if that helps, since right now I'm stopped. On Mon, Jul 10, 2017 at 1:20 PM, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > @MIke I guess that Xcode8.3.3 is the one in /Applications/Xcode.app? BTW I > would suggest to have separate folders for each Xcode version, to avoid > problems where the Xcode version is updated automatically (the one > in /Applications/Xcode.app), but LC not yet supports this Xcode version. I > have a folder "Xcode" with subfolders "Xcode_8_2_1", "Xcode_8_3_3" etc, and > each one of the has the respective "Xcode.app" binary. > > Regarding the other issue you mentioned, I have not seen it, but I would > recommend clearing any old provisioning profiles so as the dropdown does > not get too large. The provisioning profiles live in > /Users//Library/MobileDevice/Provisioning Profiles/ > You could clear the contents of this folder, and then download only the > valid provisioning profiles directly from the Apple Dev Centre (and not > from Xcode preferences). Then double click on the profile you downloaded, > and Xcode will place it in /Users//Library/ > MobileDevice/Provisioning > Profiles/ > > Now, about the codesign issue itself, I will have a look at the bug report > later this week. > > @Richmond > Why moderately exciting, and not super exciting? :) > > Best, > Panos > -- > > On Mon, Jul 10, 2017 at 6:07 PM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > 10.12.5 > > 8.3.3 > > /Applications/Xcode.app/Contents/Developer > > > > I've also run into another weird thing with this version of xcode. > > Thinking that I had a cert or provisioning profile problem, I went in to > > prefs and pulled up the certs. Every time I do that, xcode creates a new > > one - both developer and distribution. > > > > On Mon, Jul 10, 2017 at 1:02 PM, panagiotis merakos via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > hmm, I have not seen that before. Which Sierra version are you using? I > > am > > > on Sierra 10.12.4. > > > > > > Are you using Xcode 8.3.3? > > > > > > What is the terminal output if you type "xcode-select -p"? > > > > > > On Mon, Jul 10, 2017 at 5:46 PM, Mike Kerner via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > I was able to get the build to get further by switching the ios > version > > > to > > > > the latest one (10.3), but now I'm getting a codesigning failed, > > > > segmentation fault 11 error. Bug 20030. > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From merakosp at gmail.com Mon Jul 10 13:35:36 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 10 Jul 2017 18:35:36 +0100 Subject: [ANN] Release 8.1.5 In-Reply-To: References: Message-ID: I do not expect an older Xcode version to make the difference, but anyway. Just a clarification, can you build your app using the same setup in 8.1.5 rc3? On Mon, Jul 10, 2017 at 6:32 PM, Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > I did clear the PP's. I'll try downloading an older xcode to see if that > helps, since right now I'm stopped. > > On Mon, Jul 10, 2017 at 1:20 PM, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > @MIke I guess that Xcode8.3.3 is the one in /Applications/Xcode.app? BTW > I > > would suggest to have separate folders for each Xcode version, to avoid > > problems where the Xcode version is updated automatically (the one > > in /Applications/Xcode.app), but LC not yet supports this Xcode version. > I > > have a folder "Xcode" with subfolders "Xcode_8_2_1", "Xcode_8_3_3" etc, > and > > each one of the has the respective "Xcode.app" binary. > > > > Regarding the other issue you mentioned, I have not seen it, but I would > > recommend clearing any old provisioning profiles so as the dropdown does > > not get too large. The provisioning profiles live in > > /Users//Library/MobileDevice/Provisioning Profiles/ > > You could clear the contents of this folder, and then download only the > > valid provisioning profiles directly from the Apple Dev Centre (and not > > from Xcode preferences). Then double click on the profile you downloaded, > > and Xcode will place it in /Users//Library/ > > MobileDevice/Provisioning > > Profiles/ > > > > Now, about the codesign issue itself, I will have a look at the bug > report > > later this week. > > > > @Richmond > > Why moderately exciting, and not super exciting? :) > > > > Best, > > Panos > > -- > > > > On Mon, Jul 10, 2017 at 6:07 PM, Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > 10.12.5 > > > 8.3.3 > > > /Applications/Xcode.app/Contents/Developer > > > > > > I've also run into another weird thing with this version of xcode. > > > Thinking that I had a cert or provisioning profile problem, I went in > to > > > prefs and pulled up the certs. Every time I do that, xcode creates a > new > > > one - both developer and distribution. > > > > > > On Mon, Jul 10, 2017 at 1:02 PM, panagiotis merakos via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > hmm, I have not seen that before. Which Sierra version are you > using? I > > > am > > > > on Sierra 10.12.4. > > > > > > > > Are you using Xcode 8.3.3? > > > > > > > > What is the terminal output if you type "xcode-select -p"? > > > > > > > > On Mon, Jul 10, 2017 at 5:46 PM, Mike Kerner via use-livecode < > > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > > I was able to get the build to get further by switching the ios > > version > > > > to > > > > > the latest one (10.3), but now I'm getting a codesigning failed, > > > > > segmentation fault 11 error. Bug 20030. > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode at lists.runrev.com > > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > > subscription preferences: > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > > > > > -- > > > On the first day, God created the heavens and the Earth > > > On the second day, God created the oceans. > > > On the third day, God put the animals on hold for a few hours, > > > and did a little diving. > > > And God said, "This is good." > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at livecode.org Mon Jul 10 13:39:25 2017 From: paul at livecode.org (Paul Hibbert) Date: Mon, 10 Jul 2017 10:39:25 -0700 Subject: [ANN] Release 8.1.5 In-Reply-To: References: Message-ID: <08492FCB-85E6-43A6-8B17-7B46CB35F225@livecode.org> I just saw the Link Arm error, but the dialogue also suggested updating the path to the Xcode tools, I did this with [ sudo xcode-select -r ] in terminal and all works correctly now. This is with Xcode 8.3 installed in the default Applications folder. I haven?t tried updating Xcode to 8.3.3 just yet though! Paul > On Jul 10, 2017, at 10:32 AM, Mike Kerner via use-livecode wrote: > > I did clear the PP's. I'll try downloading an older xcode to see if that > helps, since right now I'm stopped. > > On Mon, Jul 10, 2017 at 1:20 PM, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> @MIke I guess that Xcode8.3.3 is the one in /Applications/Xcode.app? BTW I >> would suggest to have separate folders for each Xcode version, to avoid >> problems where the Xcode version is updated automatically (the one >> in /Applications/Xcode.app), but LC not yet supports this Xcode version. I >> have a folder "Xcode" with subfolders "Xcode_8_2_1", "Xcode_8_3_3" etc, and >> each one of the has the respective "Xcode.app" binary. >> >> Regarding the other issue you mentioned, I have not seen it, but I would >> recommend clearing any old provisioning profiles so as the dropdown does >> not get too large. The provisioning profiles live in >> /Users//Library/MobileDevice/Provisioning Profiles/ >> You could clear the contents of this folder, and then download only the >> valid provisioning profiles directly from the Apple Dev Centre (and not >> from Xcode preferences). Then double click on the profile you downloaded, >> and Xcode will place it in /Users//Library/ >> MobileDevice/Provisioning >> Profiles/ >> >> Now, about the codesign issue itself, I will have a look at the bug report >> later this week. >> >> @Richmond >> Why moderately exciting, and not super exciting? :) >> >> Best, >> Panos >> -- >> >> On Mon, Jul 10, 2017 at 6:07 PM, Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> 10.12.5 >>> 8.3.3 >>> /Applications/Xcode.app/Contents/Developer >>> >>> I've also run into another weird thing with this version of xcode. >>> Thinking that I had a cert or provisioning profile problem, I went in to >>> prefs and pulled up the certs. Every time I do that, xcode creates a new >>> one - both developer and distribution. >>> >>> On Mon, Jul 10, 2017 at 1:02 PM, panagiotis merakos via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> hmm, I have not seen that before. Which Sierra version are you using? I >>> am >>>> on Sierra 10.12.4. >>>> >>>> Are you using Xcode 8.3.3? >>>> >>>> What is the terminal output if you type "xcode-select -p"? >>>> >>>> On Mon, Jul 10, 2017 at 5:46 PM, Mike Kerner via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> I was able to get the build to get further by switching the ios >> version >>>> to >>>>> the latest one (10.3), but now I'm getting a codesigning failed, >>>>> segmentation fault 11 error. Bug 20030. >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Mon Jul 10 13:46:50 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 10 Jul 2017 18:46:50 +0100 Subject: [ANN] Release 8.1.5 In-Reply-To: <08492FCB-85E6-43A6-8B17-7B46CB35F225@livecode.org> References: <08492FCB-85E6-43A6-8B17-7B46CB35F225@livecode.org> Message-ID: @Paul Thanks for the feedback @Mike After the LiveCode Global on Thursday, I'll update my Mac to Sierra 10.12.5, to see if this is related. On Mon, Jul 10, 2017 at 6:39 PM, Paul Hibbert via use-livecode < use-livecode at lists.runrev.com> wrote: > I just saw the Link Arm error, but the dialogue also suggested updating > the path to the Xcode tools, I did this with [ sudo xcode-select -r ] in > terminal and all works correctly now. This is with Xcode 8.3 installed in > the default Applications folder. I haven?t tried updating Xcode to 8.3.3 > just yet though! > > Paul > > > > > > On Jul 10, 2017, at 10:32 AM, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I did clear the PP's. I'll try downloading an older xcode to see if that > > helps, since right now I'm stopped. > > > > On Mon, Jul 10, 2017 at 1:20 PM, panagiotis merakos via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> @MIke I guess that Xcode8.3.3 is the one in /Applications/Xcode.app? > BTW I > >> would suggest to have separate folders for each Xcode version, to avoid > >> problems where the Xcode version is updated automatically (the one > >> in /Applications/Xcode.app), but LC not yet supports this Xcode > version. I > >> have a folder "Xcode" with subfolders "Xcode_8_2_1", "Xcode_8_3_3" etc, > and > >> each one of the has the respective "Xcode.app" binary. > >> > >> Regarding the other issue you mentioned, I have not seen it, but I would > >> recommend clearing any old provisioning profiles so as the dropdown does > >> not get too large. The provisioning profiles live in > >> /Users//Library/MobileDevice/Provisioning Profiles/ > >> You could clear the contents of this folder, and then download only the > >> valid provisioning profiles directly from the Apple Dev Centre (and not > >> from Xcode preferences). Then double click on the profile you > downloaded, > >> and Xcode will place it in /Users//Library/ > >> MobileDevice/Provisioning > >> Profiles/ > >> > >> Now, about the codesign issue itself, I will have a look at the bug > report > >> later this week. > >> > >> @Richmond > >> Why moderately exciting, and not super exciting? :) > >> > >> Best, > >> Panos > >> -- > >> > >> On Mon, Jul 10, 2017 at 6:07 PM, Mike Kerner via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> 10.12.5 > >>> 8.3.3 > >>> /Applications/Xcode.app/Contents/Developer > >>> > >>> I've also run into another weird thing with this version of xcode. > >>> Thinking that I had a cert or provisioning profile problem, I went in > to > >>> prefs and pulled up the certs. Every time I do that, xcode creates a > new > >>> one - both developer and distribution. > >>> > >>> On Mon, Jul 10, 2017 at 1:02 PM, panagiotis merakos via use-livecode < > >>> use-livecode at lists.runrev.com> wrote: > >>> > >>>> hmm, I have not seen that before. Which Sierra version are you using? > I > >>> am > >>>> on Sierra 10.12.4. > >>>> > >>>> Are you using Xcode 8.3.3? > >>>> > >>>> What is the terminal output if you type "xcode-select -p"? > >>>> > >>>> On Mon, Jul 10, 2017 at 5:46 PM, Mike Kerner via use-livecode < > >>>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>>> I was able to get the build to get further by switching the ios > >> version > >>>> to > >>>>> the latest one (10.3), but now I'm getting a codesigning failed, > >>>>> segmentation fault 11 error. Bug 20030. > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> > >>> > >>> > >>> -- > >>> On the first day, God created the heavens and the Earth > >>> On the second day, God created the oceans. > >>> On the third day, God put the animals on hold for a few hours, > >>> and did a little diving. > >>> And God said, "This is good." > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 10 14:15:16 2017 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 10 Jul 2017 15:15:16 -0300 Subject: modal window = block handler? In-Reply-To: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> References: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> Message-ID: Friends, Just to add a related note here, at least on 9dp5 the "popup" command is also not pausing. It is supposed to pause the handler that calls it until menupick happens but in my experience here it simple keeps running even while the modal is open. This might be related. om om andre On Mon, Jul 10, 2017 at 2:18 PM, FlexibleLearning.com via use-livecode < use-livecode at lists.runrev.com> wrote: > Opening a modal as normal (i.e. visible) obviously still does what you > specify. We simply have a 'hidden feature' that enables a non-blocking > modal > should it be required (e.g. a progress indicator that prevents user-clicks > on other windows). > > Hugh Senior > FLCo > > > I'm going to have to disagree here. I open windows modally for the > specific > > purpose of halting code in the calling stack until the modal window is > > dismissed so that I can proceed with input from the user. An Answer > dialog > is > > simply a modal stack if I am not mistaken. It's interesting though that a > > hidden window is not modal. I will have to experiment with that. > > > > Bob S > > > > > > > On Jul 10, 2017, at 24:03 , FlexibleLearning.com via use-livecode > livecode at lists.runrev.com> wrote: > > > > > > (modal blocks underlying windows, not necessarily code) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bobsneidar at iotecdigital.com Mon Jul 10 14:37:53 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Jul 2017 18:37:53 +0000 Subject: modal window = block handler? In-Reply-To: References: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> Message-ID: EEEK! > On Jul 10, 2017, at 11:15 , Andre Garzia via use-livecode wrote: > > Friends, > > Just to add a related note here, at least on 9dp5 the "popup" command is > also not pausing. It is supposed to pause the handler that calls it until > menupick happens but in my experience here it simple keeps running even > while the modal is open. > > This might be related. > > om om > andre From dave at applicationinsight.com Mon Jul 10 16:12:51 2017 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 10 Jul 2017 21:12:51 +0100 Subject: [ANN] Release 8.1.5 Message-ID: <0D11680C-CC1A-4DDA-BBAF-AC74B851ED67@applicationinsight.com> @Panos LC 8.1.5 builds OK for iOS here: OS X: 10.12.5 Xcode: 8.3.3 Dave > @Paul > Thanks for the feedback > > @Mike > After the LiveCode Global on Thursday, I'll update my Mac to Sierra > 10.12.5, to see if this is related. > > > > On Mon, Jul 10, 2017 at 6:39 PM, Paul Hibbert via use-livecode < > [hidden email] > wrote: > > > I just saw the Link Arm error, but the dialogue also suggested updating > > the path to the Xcode tools, I did this with [ sudo xcode-select -r ] in > > terminal and all works correctly now. This is with Xcode 8.3 installed in > > the default Applications folder. I haven?t tried updating Xcode to 8.3.3 > > just yet though! > > > > Paul > > > > From merakosp at gmail.com Mon Jul 10 16:16:22 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 10 Jul 2017 21:16:22 +0100 Subject: [ANN] Release 8.1.5 In-Reply-To: <0D11680C-CC1A-4DDA-BBAF-AC74B851ED67@applicationinsight.com> References: <0D11680C-CC1A-4DDA-BBAF-AC74B851ED67@applicationinsight.com> Message-ID: Thanks David, good to know. So Sierra 10.12.5 does not seem to be the culprit. Best, Panos -- On Mon, Jul 10, 2017 at 9:12 PM, Dave Kilroy via use-livecode < use-livecode at lists.runrev.com> wrote: > @Panos > > LC 8.1.5 builds OK for iOS here: > OS X: 10.12.5 > Xcode: 8.3.3 > > Dave > > > > @Paul > > Thanks for the feedback > > > > @Mike > > After the LiveCode Global on Thursday, I'll update my Mac to Sierra > > 10.12.5, to see if this is related. > > > > > > > > On Mon, Jul 10, 2017 at 6:39 PM, Paul Hibbert via use-livecode < > > [hidden email] SendEmail.jtp?type=node&node=4716845&i=0>> wrote: > > > > > I just saw the Link Arm error, but the dialogue also suggested updating > > > the path to the Xcode tools, I did this with [ sudo xcode-select -r ] > in > > > terminal and all works correctly now. This is with Xcode 8.3 installed > in > > > the default Applications folder. I haven?t tried updating Xcode to > 8.3.3 > > > just yet though! > > > > > > Paul > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 10 16:41:05 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Jul 2017 15:41:05 -0500 Subject: modal window = block handler? In-Reply-To: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> References: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> Message-ID: <79d8af56-d072-f836-05b3-9c8b1079f954@hyperactivesw.com> On 7/10/17 12:18 PM, FlexibleLearning.com via use-livecode wrote: > Opening a modal as normal (i.e. visible) obviously still does what you > specify. We simply have a 'hidden feature' that enables a non-blocking modal > should it be required (e.g. a progress indicator that prevents user-clicks > on other windows). This is no longer true and affects all stacks that require a modal to block other windows. "Modal" should mean no other actions are possible until the modal is dismissed. The command: modal "stackname" allows the user to click on another window and bring it to the front, and then proceed normally as though the modal didn't exist. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From admin at FlexibleLearning.com Mon Jul 10 16:51:28 2017 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 10 Jul 2017 21:51:28 +0100 Subject: modal window = block handler? In-Reply-To: References: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> Message-ID: <005d01d2f9be$4e37d4f0$eaa77ed0$@FlexibleLearning.com> If ?popup? is non-blocking then it?s a bug. However, I hope that the non-blocking behaviour of ?open invis as modal? is retained, or there is no way to indicate progress in a modal. Hugh Senior FLCo From: Andre Garzia [mailto:andre at andregarzia.com] Sent: 10 July 2017 19:15 To: How to use LiveCode Cc: FlexibleLearning.com Subject: Re: modal window = block handler? Friends, Just to add a related note here, at least on 9dp5 the "popup" command is also not pausing. It is supposed to pause the handler that calls it until menupick happens but in my experience here it simple keeps running even while the modal is open. This might be related. om om andre On Mon, Jul 10, 2017 at 2:18 PM, FlexibleLearning.com via use-livecode > wrote: Opening a modal as normal (i.e. visible) obviously still does what you specify. We simply have a 'hidden feature' that enables a non-blocking modal should it be required (e.g. a progress indicator that prevents user-clicks on other windows). Hugh Senior FLCo > I'm going to have to disagree here. I open windows modally for the specific > purpose of halting code in the calling stack until the modal window is > dismissed so that I can proceed with input from the user. An Answer dialog is > simply a modal stack if I am not mistaken. It's interesting though that a > hidden window is not modal. I will have to experiment with that. > > Bob S > > > > On Jul 10, 2017, at 24:03 , FlexibleLearning.com via use-livecode livecode at lists.runrev.com > wrote: > > > > (modal blocks underlying windows, not necessarily code) _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From jacque at hyperactivesw.com Mon Jul 10 16:54:19 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 10 Jul 2017 15:54:19 -0500 Subject: modal window = block handler? In-Reply-To: <79d8af56-d072-f836-05b3-9c8b1079f954@hyperactivesw.com> References: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> <79d8af56-d072-f836-05b3-9c8b1079f954@hyperactivesw.com> Message-ID: On 7/10/17 3:41 PM, J. Landman Gay via use-livecode wrote: > On 7/10/17 12:18 PM, FlexibleLearning.com via use-livecode wrote: >> Opening a modal as normal (i.e. visible) obviously still does what you >> specify. We simply have a 'hidden feature' that enables a non-blocking >> modal >> should it be required (e.g. a progress indicator that prevents >> user-clicks >> on other windows). > > This is no longer true and affects all stacks that require a modal to > block other windows. "Modal" should mean no other actions are possible > until the modal is dismissed. > > The command: modal "stackname" allows the user to click on another > window and bring it to the front, and then proceed normally as though > the modal didn't exist. > I've added a test stack and comment to http://quality.livecode.com/show_bug.cgi?id=14275 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Mon Jul 10 17:02:41 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jul 2017 17:02:41 -0400 Subject: [ANN] Release 8.1.5 In-Reply-To: References: <08492FCB-85E6-43A6-8B17-7B46CB35F225@livecode.org> Message-ID: I'm getting the same error with XC 8.3. Interesting, though, I think I may have stumbled on the problem. Every time I launch XC and go into my account and the certs/profiles list, XC creates a new cert for development and a new one for distribution. I just went into my keychain, removed all of the certs, re-downloaded them from the website, instead of from xcode, and reinstalled them. Build worked for both apps I tried. As for the linking issue, the thing that seems to fix it is switching the minimum version to 10.3 (i.e. the last one in the list), building, then switching to the minimum I want and building again. On Mon, Jul 10, 2017 at 1:46 PM, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > @Paul > Thanks for the feedback > > @Mike > After the LiveCode Global on Thursday, I'll update my Mac to Sierra > 10.12.5, to see if this is related. > > > > On Mon, Jul 10, 2017 at 6:39 PM, Paul Hibbert via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I just saw the Link Arm error, but the dialogue also suggested updating > > the path to the Xcode tools, I did this with [ sudo xcode-select -r ] in > > terminal and all works correctly now. This is with Xcode 8.3 installed in > > the default Applications folder. I haven?t tried updating Xcode to 8.3.3 > > just yet though! > > > > Paul > > > > > > > > > > > On Jul 10, 2017, at 10:32 AM, Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > I did clear the PP's. I'll try downloading an older xcode to see if > that > > > helps, since right now I'm stopped. > > > > > > On Mon, Jul 10, 2017 at 1:20 PM, panagiotis merakos via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > >> @MIke I guess that Xcode8.3.3 is the one in /Applications/Xcode.app? > > BTW I > > >> would suggest to have separate folders for each Xcode version, to > avoid > > >> problems where the Xcode version is updated automatically (the one > > >> in /Applications/Xcode.app), but LC not yet supports this Xcode > > version. I > > >> have a folder "Xcode" with subfolders "Xcode_8_2_1", "Xcode_8_3_3" > etc, > > and > > >> each one of the has the respective "Xcode.app" binary. > > >> > > >> Regarding the other issue you mentioned, I have not seen it, but I > would > > >> recommend clearing any old provisioning profiles so as the dropdown > does > > >> not get too large. The provisioning profiles live in > > >> /Users//Library/MobileDevice/Provisioning Profiles/ > > >> You could clear the contents of this folder, and then download only > the > > >> valid provisioning profiles directly from the Apple Dev Centre (and > not > > >> from Xcode preferences). Then double click on the profile you > > downloaded, > > >> and Xcode will place it in /Users//Library/ > > >> MobileDevice/Provisioning > > >> Profiles/ > > >> > > >> Now, about the codesign issue itself, I will have a look at the bug > > report > > >> later this week. > > >> > > >> @Richmond > > >> Why moderately exciting, and not super exciting? :) > > >> > > >> Best, > > >> Panos > > >> -- > > >> > > >> On Mon, Jul 10, 2017 at 6:07 PM, Mike Kerner via use-livecode < > > >> use-livecode at lists.runrev.com> wrote: > > >> > > >>> 10.12.5 > > >>> 8.3.3 > > >>> /Applications/Xcode.app/Contents/Developer > > >>> > > >>> I've also run into another weird thing with this version of xcode. > > >>> Thinking that I had a cert or provisioning profile problem, I went in > > to > > >>> prefs and pulled up the certs. Every time I do that, xcode creates a > > new > > >>> one - both developer and distribution. > > >>> > > >>> On Mon, Jul 10, 2017 at 1:02 PM, panagiotis merakos via use-livecode > < > > >>> use-livecode at lists.runrev.com> wrote: > > >>> > > >>>> hmm, I have not seen that before. Which Sierra version are you > using? > > I > > >>> am > > >>>> on Sierra 10.12.4. > > >>>> > > >>>> Are you using Xcode 8.3.3? > > >>>> > > >>>> What is the terminal output if you type "xcode-select -p"? > > >>>> > > >>>> On Mon, Jul 10, 2017 at 5:46 PM, Mike Kerner via use-livecode < > > >>>> use-livecode at lists.runrev.com> wrote: > > >>>> > > >>>>> I was able to get the build to get further by switching the ios > > >> version > > >>>> to > > >>>>> the latest one (10.3), but now I'm getting a codesigning failed, > > >>>>> segmentation fault 11 error. Bug 20030. > > >>>>> _______________________________________________ > > >>>>> use-livecode mailing list > > >>>>> use-livecode at lists.runrev.com > > >>>>> Please visit this url to subscribe, unsubscribe and manage your > > >>>>> subscription preferences: > > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>>> > > >>>> _______________________________________________ > > >>>> use-livecode mailing list > > >>>> use-livecode at lists.runrev.com > > >>>> Please visit this url to subscribe, unsubscribe and manage your > > >>>> subscription preferences: > > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>> > > >>> > > >>> > > >>> > > >>> -- > > >>> On the first day, God created the heavens and the Earth > > >>> On the second day, God created the oceans. > > >>> On the third day, God put the animals on hold for a few hours, > > >>> and did a little diving. > > >>> And God said, "This is good." > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > >>> subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > > > > > > > > > > -- > > > On the first day, God created the heavens and the Earth > > > On the second day, God created the oceans. > > > On the third day, God put the animals on hold for a few hours, > > > and did a little diving. > > > And God said, "This is good." > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bobsneidar at iotecdigital.com Mon Jul 10 17:08:11 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Jul 2017 21:08:11 +0000 Subject: modal window = block handler? In-Reply-To: <005d01d2f9be$4e37d4f0$eaa77ed0$@FlexibleLearning.com> References: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> <005d01d2f9be$4e37d4f0$eaa77ed0$@FlexibleLearning.com> Message-ID: <6F02F02A-0514-4A91-8D60-DDB214AEA5F4@iotecdigital.com> Okay, this has piqued my curiosity. Are you saying that if I open a stack invisible as modal, I can then show that stack later and animated progress indicators will not work?? Bob S > On Jul 10, 2017, at 13:51 , FlexibleLearning.com via use-livecode wrote: > > If ?popup? is non-blocking then it?s a bug. However, I hope that the non-blocking behaviour of ?open invis as modal? is retained, or there is no way to indicate progress in a modal. > > > > Hugh Senior > > FLCo From bobsneidar at iotecdigital.com Mon Jul 10 17:09:40 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Jul 2017 21:09:40 +0000 Subject: modal window = block handler? In-Reply-To: <6F02F02A-0514-4A91-8D60-DDB214AEA5F4@iotecdigital.com> References: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> <005d01d2f9be$4e37d4f0$eaa77ed0$@FlexibleLearning.com> <6F02F02A-0514-4A91-8D60-DDB214AEA5F4@iotecdigital.com> Message-ID: err... will NOW work? Bob S > On Jul 10, 2017, at 14:08 , Bob Sneidar via use-livecode wrote: > > Okay, this has piqued my curiosity. Are you saying that if I open a stack invisible as modal, I can then show that stack later and animated progress indicators will not work?? > > Bob S From paul at researchware.com Mon Jul 10 17:53:18 2017 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Jul 2017 17:53:18 -0400 Subject: modal window = block handler? In-Reply-To: References: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> <79d8af56-d072-f836-05b3-9c8b1079f954@hyperactivesw.com> Message-ID: <43825a39-2646-1745-5c02-f61aa75f094a@researchware.com> On 7/10/2017 4:54 PM, J. Landman Gay via use-livecode wrote: > On 7/10/17 3:41 PM, J. Landman Gay via use-livecode wrote: >> On 7/10/17 12:18 PM, FlexibleLearning.com via use-livecode wrote: >>> Opening a modal as normal (i.e. visible) obviously still does what you >>> specify. We simply have a 'hidden feature' that enables a >>> non-blocking modal >>> should it be required (e.g. a progress indicator that prevents >>> user-clicks >>> on other windows). >> >> This is no longer true and affects all stacks that require a modal to >> block other windows. "Modal" should mean no other actions are >> possible until the modal is dismissed. >> >> The command: modal "stackname" allows the user to click on another >> window and bring it to the front, and then proceed normally as though >> the modal didn't exist. >> > > I've added a test stack and comment to > http://quality.livecode.com/show_bug.cgi?id=14275 > Whatever LiveCode chooses to call them, as developer I (and I think "we") need TWO behaviors for modal windows: 1) present the window and halt the current script on the line that presented the window and prevent any other scripts or actions from executing until that is closed 2) present a modal windows, allow no other scripts or actions to occur, but allow the current handler to continue executing. This would allow for traditional modal dialogs (1) and modal progress indicators (2) From bobsneidar at iotecdigital.com Mon Jul 10 19:26:25 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Jul 2017 23:26:25 +0000 Subject: modal window = block handler? In-Reply-To: <43825a39-2646-1745-5c02-f61aa75f094a@researchware.com> References: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> <79d8af56-d072-f836-05b3-9c8b1079f954@hyperactivesw.com> <43825a39-2646-1745-5c02-f61aa75f094a@researchware.com> Message-ID: <0A60D956-9B78-4248-B417-3D561233D5F3@iotecdigital.com> According to this thread, that is what open invis as modal does. Bob S > On Jul 10, 2017, at 14:53 , Paul Dupuis via use-livecode wrote: > > 2) present a modal windows, allow no other scripts or actions to occur, > but allow the current handler to continue executing. From paul at researchware.com Mon Jul 10 19:34:35 2017 From: paul at researchware.com (Paul Dupuis) Date: Mon, 10 Jul 2017 19:34:35 -0400 Subject: modal window = block handler? In-Reply-To: <0A60D956-9B78-4248-B417-3D561233D5F3@iotecdigital.com> References: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> <79d8af56-d072-f836-05b3-9c8b1079f954@hyperactivesw.com> <43825a39-2646-1745-5c02-f61aa75f094a@researchware.com> <0A60D956-9B78-4248-B417-3D561233D5F3@iotecdigital.com> Message-ID: <4bd0adb5-4cdf-8851-42ed-df7ae3f2af2b@researchware.com> I realize that, but this thread has been discussing whether that is a "bug" or not. I support that there should be a feature, but probably a MORE clearly identified feature. Something LIKE (I am not proposing specific syntax, but illustrating a point) open window "X" as modal paused and open window "X" as modal continue would be clearer that remembering you have to open the model dialog invisible and then show it. On 7/10/2017 7:26 PM, Bob Sneidar via use-livecode wrote: > According to this thread, that is what open invis as modal does. > > Bob S > > >> On Jul 10, 2017, at 14:53 , Paul Dupuis via use-livecode wrote: >> >> 2) present a modal windows, allow no other scripts or actions to occur, >> but allow the current handler to continue executing. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Tue Jul 11 03:20:40 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 11 Jul 2017 09:20:40 +0200 Subject: No screenshot from LC video possible Message-ID: <001901d2fa16$34b07610$9e116230$@kestner.de> Hello, LC 8.1.4, Windows 10 I am using the standard LC videoPayer (directShow) to play H.264 mp4 videos. One essential feature of my program is, that the user can take screenshots from the video, edit and save them. Today I got the second customer call with a Win 10 machine, who can't take screenshots from my LC videos. The video screen is just black on the taken screenshot. This issue does not only happen with the build in LiveCode screenshot feature, but also, if they take a screenshot with the windows print key or other screenshot tools. Up to now, this issue happens only at 2 customers, on all other Win 10 machines, taking a video screenshot works fine. The alwaysBuffer of the videoPlayer is set to false (setting it to true, I don't see any video playing) I also checked to disable the Kaspersky AV on the client computer (Kaspersky has a feature to prevent screenshots), but without success. Btw. the old version of my program with the quicktime player works fine on these machines. I googled a lot, but didn't found any related issues in the net, so I assume, it must be related to the LiveCode implementation of the directShow videoPlayer. But in combination with any special hardware or software setting on these two computers. Has anybody already experienced similar issues or has any shot in the dark, what system options, drivers, other tools in combination with LiveCode could have an influence on taking a screenshot? Any idea, what I could check for is welcome Tiemo From iphonelagi at gmail.com Tue Jul 11 06:03:36 2017 From: iphonelagi at gmail.com (Lagi Pittas) Date: Tue, 11 Jul 2017 11:03:36 +0100 Subject: modal window = block handler? In-Reply-To: <43825a39-2646-1745-5c02-f61aa75f094a@researchware.com> References: <005a01d2f9a0$81ef8f90$85ceaeb0$@FlexibleLearning.com> <79d8af56-d072-f836-05b3-9c8b1079f954@hyperactivesw.com> <43825a39-2646-1745-5c02-f61aa75f094a@researchware.com> Message-ID: I second that emotion. And this shouldn't cause any regressions or refactoring - should be announced by thursday then? ;-) Lagi On 10 July 2017 at 22:53, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > On 7/10/2017 4:54 PM, J. Landman Gay via use-livecode wrote: > > On 7/10/17 3:41 PM, J. Landman Gay via use-livecode wrote: > >> On 7/10/17 12:18 PM, FlexibleLearning.com via use-livecode wrote: > >>> Opening a modal as normal (i.e. visible) obviously still does what you > >>> specify. We simply have a 'hidden feature' that enables a > >>> non-blocking modal > >>> should it be required (e.g. a progress indicator that prevents > >>> user-clicks > >>> on other windows). > >> > >> This is no longer true and affects all stacks that require a modal to > >> block other windows. "Modal" should mean no other actions are > >> possible until the modal is dismissed. > >> > >> The command: modal "stackname" allows the user to click on another > >> window and bring it to the front, and then proceed normally as though > >> the modal didn't exist. > >> > > > > I've added a test stack and comment to > > http://quality.livecode.com/show_bug.cgi?id=14275 > > > > Whatever LiveCode chooses to call them, as developer I (and I think > "we") need TWO behaviors for modal windows: > > 1) present the window and halt the current script on the line that > presented the window and prevent any other scripts or actions from > executing until that is closed > > 2) present a modal windows, allow no other scripts or actions to occur, > but allow the current handler to continue executing. > > This would allow for traditional modal dialogs (1) and modal progress > indicators (2) > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Tue Jul 11 07:12:29 2017 From: paul at researchware.com (Paul Dupuis) Date: Tue, 11 Jul 2017 07:12:29 -0400 Subject: No screenshot from LC video possible In-Reply-To: <001901d2fa16$34b07610$9e116230$@kestner.de> References: <001901d2fa16$34b07610$9e116230$@kestner.de> Message-ID: <2bb6425b-a5bd-2b84-dfee-ec8af4b336fe@researchware.com> My guess is that it could be Digital Rights Management related? If you can screenshot a DRM protected video then, in principle, you could screenshot every frame and encode the frames back into a DRM-free version of the video. Do you know what the videos that had the problem were? On 7/11/2017 3:20 AM, Tiemo Hollmann TB via use-livecode wrote: > Hello, > > LC 8.1.4, Windows 10 > > I am using the standard LC videoPayer (directShow) to play H.264 mp4 videos. > One essential feature of my program is, that the user can take screenshots > from the video, edit and save them. > > Today I got the second customer call with a Win 10 machine, who can't take > screenshots from my LC videos. The video screen is just black on the taken > screenshot. This issue does not only happen with the build in LiveCode > screenshot feature, but also, if they take a screenshot with the windows > print key or other screenshot tools. > > Up to now, this issue happens only at 2 customers, on all other Win 10 > machines, taking a video screenshot works fine. The alwaysBuffer of the > videoPlayer is set to false (setting it to true, I don't see any video > playing) I also checked to disable the Kaspersky AV on the client computer > (Kaspersky has a feature to prevent screenshots), but without success. Btw. > the old version of my program with the quicktime player works fine on these > machines. > > I googled a lot, but didn't found any related issues in the net, so I > assume, it must be related to the LiveCode implementation of the directShow > videoPlayer. But in combination with any special hardware or software > setting on these two computers. > > Has anybody already experienced similar issues or has any shot in the dark, > what system options, drivers, other tools in combination with LiveCode could > have an influence on taking a screenshot? > > Any idea, what I could check for is welcome > > Tiemo > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Tue Jul 11 07:33:10 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 11 Jul 2017 07:33:10 -0400 Subject: No screenshot from LC video possible In-Reply-To: <2bb6425b-a5bd-2b84-dfee-ec8af4b336fe@researchware.com> References: <001901d2fa16$34b07610$9e116230$@kestner.de> <2bb6425b-a5bd-2b84-dfee-ec8af4b336fe@researchware.com> Message-ID: I don't think it's DRM since the OP also said, " Up to now, this issue happens only at 2 customers, on all other Win 10 machines, taking a video screenshot works fine." I'll place my 2 cent bet on the video card. Look for a common thread like - the fails happening on Nvidia, ATI, or built-in graphics controllers. ~Roger On Jul 11, 2017 7:12 AM, "Paul Dupuis via use-livecode" < use-livecode at lists.runrev.com> wrote: > My guess is that it could be Digital Rights Management related? > > If you can screenshot a DRM protected video then, in principle, you > could screenshot every frame and encode the frames back into a DRM-free > version of the video. Do you know what the videos that had the problem > were? > > > On 7/11/2017 3:20 AM, Tiemo Hollmann TB via use-livecode wrote: > > Hello, > > > > LC 8.1.4, Windows 10 > > > > I am using the standard LC videoPayer (directShow) to play H.264 mp4 > videos. > > One essential feature of my program is, that the user can take > screenshots > > from the video, edit and save them. > > > > Today I got the second customer call with a Win 10 machine, who can't > take > > screenshots from my LC videos. The video screen is just black on the > taken > > screenshot. This issue does not only happen with the build in LiveCode > > screenshot feature, but also, if they take a screenshot with the windows > > print key or other screenshot tools. > > > > Up to now, this issue happens only at 2 customers, on all other Win 10 > > machines, taking a video screenshot works fine. The alwaysBuffer of the > > videoPlayer is set to false (setting it to true, I don't see any video > > playing) I also checked to disable the Kaspersky AV on the client > computer > > (Kaspersky has a feature to prevent screenshots), but without success. > Btw. > > the old version of my program with the quicktime player works fine on > these > > machines. > > > > I googled a lot, but didn't found any related issues in the net, so I > > assume, it must be related to the LiveCode implementation of the > directShow > > videoPlayer. But in combination with any special hardware or software > > setting on these two computers. > > > > Has anybody already experienced similar issues or has any shot in the > dark, > > what system options, drivers, other tools in combination with LiveCode > could > > have an influence on taking a screenshot? > > > > Any idea, what I could check for is welcome > > > > Tiemo > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at hyperhh.de Tue Jul 11 07:50:09 2017 From: hh at hyperhh.de (hh) Date: Tue, 11 Jul 2017 13:50:09 +0200 Subject: No screenshot from LC video possible Message-ID: May be connected to fullscreen mode (=black) or windowed mode (=working). From toolbook at kestner.de Tue Jul 11 09:44:36 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 11 Jul 2017 15:44:36 +0200 Subject: AW: No screenshot from LC video possible In-Reply-To: References: Message-ID: <006701d2fa4b$d6f7c920$84e75b60$@kestner.de> Hi Paul, Roger and Hermann, No DRM involved, all videos are self produced and as Roger said, on most machines they are playing fine. The video never is fullscreen, because it is played in a frame within my LC program. The video card and it's handling of the video buffer is also my guess, but up to now, I didn't found an exotic video card on the customer machines and no thread about issues capturing video screenshots. Thanks for your brainstorms Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von hh via use-livecode Gesendet: Dienstag, 11. Juli 2017 13:50 An: use-livecode at lists.runrev.com Cc: hh Betreff: Re: No screenshot from LC video possible May be connected to fullscreen mode (=black) or windowed mode (=working). _______________________________________________ use-livecode mailing list use-livecode at 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 Jul 11 10:54:34 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 11 Jul 2017 15:54:34 +0100 Subject: [ANN] Release 8.1.6 RC-1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 8.1.6 RC-1. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 8.1.6 RC-1 contains 32 bug fixes, new features, as well as security and stability improvements: - A couple of crashes have been fixed. - New version of tsNet (1.2.10) that addresses various network-related bugs is included. - The flow in the interactive tutorials has been improved. A new feature in the script editor has been added, this is the ability to choose from a list of default handlers to add to the object script. Objects no longer have default scripts that appear in the script editor when their empty scripts are edited. Instead, all the associated message handlers for the object type now appear in a list underneath the list of handlers that are present in the script. When clicked, these lines add the selected default handler to the end of the current script. The full release notes are available from: http://downloads.livecode.com/livecode/8_1_6/LiveCodeNotes-8_1_6_rc_1.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ Have fun! The LiveCode Team -- From paul at smarttsoftware.co.uk Tue Jul 11 11:20:38 2017 From: paul at smarttsoftware.co.uk (Paul Richards) Date: Tue, 11 Jul 2017 15:20:38 +0000 Subject: No screenshot from LC video possible In-Reply-To: <006701d2fa4b$d6f7c920$84e75b60$@kestner.de> References: <006701d2fa4b$d6f7c920$84e75b60$@kestner.de> Message-ID: Although this is for a browser and recommended for use by some banks. I have used this "app/plugin" before on Windows and it does prevent screenshots from taking place. https://www.trusteer.com/en/support/rapport-installation-links I don't know if it would interfere with Livecode, but it might be little program like this causing you some pain. Paul -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Tiemo Hollmann TB via use-livecode Sent: 11 July 2017 14:45 To: 'How to use LiveCode' Cc: Tiemo Hollmann TB Subject: AW: No screenshot from LC video possible Hi Paul, Roger and Hermann, No DRM involved, all videos are self produced and as Roger said, on most machines they are playing fine. The video never is fullscreen, because it is played in a frame within my LC program. The video card and it's handling of the video buffer is also my guess, but up to now, I didn't found an exotic video card on the customer machines and no thread about issues capturing video screenshots. Thanks for your brainstorms Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von hh via use-livecode Gesendet: Dienstag, 11. Juli 2017 13:50 An: use-livecode at lists.runrev.com Cc: hh Betreff: Re: No screenshot from LC video possible May be connected to fullscreen mode (=black) or windowed mode (=working). _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From iphonelagi at gmail.com Tue Jul 11 11:32:48 2017 From: iphonelagi at gmail.com (Lagi Pittas) Date: Tue, 11 Jul 2017 16:32:48 +0100 Subject: Augmented Earth now on the App Store! In-Reply-To: References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <3C0B03E2-895E-4DB2-9B8A-BC8AFFB42593@hindu.org> Message-ID: Hi Jonathan, I've tried to to login to the app from an iphone 6 ios 10.3.2 Ive restarted it a couple of time but always the same. The Username and Password field asre white and enabled - I enter the details but no other field is enabled. Now some feedback. My pet peeve (it happened on a subscription site 2 days ago so I'm still smarting from the experience ;-) 1. I have never understood why anybody asks for the original password to change the one you have either forgotten or never received in the email. You are in good (bad?) company Skype does this but also ties you in nots with nobody to talk to. 2. There are TOO many fields on the login page - there should be 2 Big Buttons at the top Create New Account ./ Sign In. In fact off the top of my head, download the UDEMY app to see what I think is very simple and clear. You can ask for all the rest on the second page but also have a SKIP if we/they don't want to enter the other info just yet. 3. The app seems to know it has been run for a second time because the help screen doesnt come up - so again you can leave it logged in even if they exit the program. 4. I would allow a user name and or an email address for logging in 5. The (H) and (S) after the password and new password have no clue that they are clickable the (S) on the New password is not enabled. That bit again is not obvious without clicking. The Words would have fitted with no problem - and in a different colour or as a button. 6. Why is the select user Icon showing when there is nothing to select? Would that show something after I put in my email or logged in in which case it just adds to the confusion. I pressed a few times to see if anything would load. 7. You have Screen Name and Username - Until i looked to the Bottom where it says screen name I assumed the username was my login name (or is it?). I was typing not my full name but a Username (1 word) - The Username (or Email) that is used to login should be together and First unless the first line says . It is not obvious if you expect a first name and last name - I presume it doesn't matter. 8. To reiterate because this to me is the crux none of the other fields except the signup field need to be on the front page - "Show me the Banana" as Steve Krug says and "Don't Make me think" as Seth Godin says. Regards Lagi On 7 July 2017 at 11:26, Jonathan Lynch via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Swami, > The interface confuses people about whether they are logging in or signing > up - I added some things that make that explicit and going to submit as > soon as I test on a few friends. > > If you want to register, fill in the fields for a new user then click the > gear again to have the option to submit. > > Clearly, I tested this in a biased way - not going to make that mistake > again. > > Thanks for checking it out! > J > > Sent from my iPhone > > > On Jul 6, 2017, at 10:55 PM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > > > Downloaded > > > > initial user registration failed some how.. no clear feedback on why, > but now there is nothing more I can do? anything I try leads to a Error > incorect or inaccurate app user login credentials. > > > > Going for the gear, choosing new user, enter creds. still get same > message. > > > > I'm locked out of this app. > > > > Also you need to trap for the return key in the name field. use can hit > return and a cr is added and the name he entered disappears on line 1 above. > > > > you need to put in that field > > > > on return > > # do nothing, and do not pass the return key in the name field? or send > the cursor down to the Password field. > > end return > > > > or something like that.. I have to look ? > > > > but, looks interesting, I'm impressed by the level of community activity > you expect to generate/support? looks "scary" to me unless you have a big > staff. I've been thinking about similar things for our new app, but > everytime I shy away? > > > > BR > > > > On 7/6/17, 4:01 AM, "use-livecode on behalf of Jonathan Lynch via > use-livecode" use-livecode at lists.runrev.com> wrote: > > > > If you get a chance, please check it out. This is just a soft launch, > but I am excited to have it out there. I won't start heavy promotion until > version 1.5. > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Tue Jul 11 11:57:18 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Tue, 11 Jul 2017 11:57:18 -0400 Subject: Augmented Earth now on the App Store! In-Reply-To: References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <3C0B03E2-895E-4DB2-9B8A-BC8AFFB42593@hindu.org> Message-ID: Hi Lagi, Thank you for your feedback! I have changed it so that the initial mode does exactly what you said - it has two options that allow the user to choose to create a new user or sign in. From there it only reveals the fields and buttons that are appropriate for whether the user is logging in, logged in, creating a new user, or editing their information. I am going to update the app on iTunes on Thursday. The core of the app seems to be strong, but the user interface clearly was lacking :( I spent a lot more time working on figuring out the 3D map - I am going to make the interface smooth before I do any promotion. I think we have to require using the current password to change the password, to prevent hacking. I made notes of you other observations as well. Thank you :) Sent from my iPhone > On Jul 11, 2017, at 11:32 AM, Lagi Pittas via use-livecode wrote: > > Hi Jonathan, > > I've tried to to login to the app from an iphone 6 ios 10.3.2 > > Ive restarted it a couple of time but always the same. > > The Username and Password field asre white and enabled - I enter the > details but no other field is enabled. > > > Now some feedback. > > My pet peeve (it happened on a subscription site 2 days ago so I'm still > smarting from the experience ;-) > > 1. I have never understood why anybody asks for the original password to > change the one you have either forgotten or never received in the email. > You are in good (bad?) company Skype does this but also ties you in nots > with nobody to talk to. > > 2. There are TOO many fields on the login page - there should be 2 Big > Buttons at the top Create New Account ./ Sign In. > > In fact off the top of my head, download the UDEMY app to see what I think > is very simple and clear. > > You can ask for all the rest on the second page but also have a SKIP if > we/they don't want to enter the other info just yet. > > 3. The app seems to know it has been run for a second time because the help > screen doesnt come up - so again you can leave it logged in even if they > exit the program. > > 4. I would allow a user name and or an email address for logging in > > 5. The (H) and (S) after the password and new password have no clue that > they are clickable the (S) on the New password is not enabled. > That bit again is not obvious without clicking. The Words > would have fitted with no problem - and in a different colour or as a > button. > > 6. Why is the select user Icon showing when there is nothing to select? > Would that show something after I put in my email or logged in in which > case it just adds to the confusion. I pressed a few times to see if > anything would load. > > 7. You have Screen Name and Username - Until i looked to the Bottom where > it says screen name I assumed the username was my login name (or is it?). > > I was typing not my full name but a Username (1 word) - The Username (or > Email) that is used to login should be together and First unless the first > line says . It is not obvious if you expect a first name and > last name - I presume it doesn't matter. > > 8. To reiterate because this to me is the crux none of the other fields > except the signup field need to be on the front page - "Show me the Banana" > as Steve Krug says and "Don't Make me think" as Seth Godin says. > > Regards Lagi > > > On 7 July 2017 at 11:26, Jonathan Lynch via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Swami, >> The interface confuses people about whether they are logging in or signing >> up - I added some things that make that explicit and going to submit as >> soon as I test on a few friends. >> >> If you want to register, fill in the fields for a new user then click the >> gear again to have the option to submit. >> >> Clearly, I tested this in a biased way - not going to make that mistake >> again. >> >> Thanks for checking it out! >> J >> >> Sent from my iPhone >> >>> On Jul 6, 2017, at 10:55 PM, Sannyasin Brahmanathaswami via use-livecode >> wrote: >>> >>> Downloaded >>> >>> initial user registration failed some how.. no clear feedback on why, >> but now there is nothing more I can do? anything I try leads to a Error >> incorect or inaccurate app user login credentials. >>> >>> Going for the gear, choosing new user, enter creds. still get same >> message. >>> >>> I'm locked out of this app. >>> >>> Also you need to trap for the return key in the name field. use can hit >> return and a cr is added and the name he entered disappears on line 1 above. >>> >>> you need to put in that field >>> >>> on return >>> # do nothing, and do not pass the return key in the name field? or send >> the cursor down to the Password field. >>> end return >>> >>> or something like that.. I have to look ? >>> >>> but, looks interesting, I'm impressed by the level of community activity >> you expect to generate/support? looks "scary" to me unless you have a big >> staff. I've been thinking about similar things for our new app, but >> everytime I shy away? >>> >>> BR >>> >>> On 7/6/17, 4:01 AM, "use-livecode on behalf of Jonathan Lynch via >> use-livecode" > use-livecode at lists.runrev.com> wrote: >>> >>> If you get a chance, please check it out. This is just a soft launch, >> but I am excited to have it out there. I won't start heavy promotion until >> version 1.5. >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From johnpatten at me.com Tue Jul 11 12:42:07 2017 From: johnpatten at me.com (JOHN PATTEN) Date: Tue, 11 Jul 2017 09:42:07 -0700 Subject: Header Widget troubles and orientationchange examples? Message-ID: Hi All, I am trying to do some simple navigation with the header widget. on mouseUp local tActionName put the mouseAction of me into tActionName --if tActionName is not empty then -- Execute script triggered by the given action if tActionName is "back" then go prev card else if tActionName is ?next" then go next card end if end if end mouseUp I have changed the action name to Back and Next. However Back works fine, but Next does not. If i reset the action to ?new item? the next button then works. This doesn?t see quite right. Also, why does it not display the label ?Next? near the icon like it does for ?Back?? Is that because the widget was made to not show labels on additional icons? I am also getting weird results for orientation changes . I am trying to get the header to stay at the top of the window, however on my resize command it appears to only work some of the times. Is there an example of floating around that shows a header widget updating it?s location after each rotation of the device? Thank you! John Patten SUSD From benr_mc at cogapp.com Tue Jul 11 12:45:43 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 11 Jul 2017 17:45:43 +0100 Subject: [ANN] Release 8.1.5 In-Reply-To: References: Message-ID: <8bda7807-5017-f6fc-cbf2-3412b051ff78@cogapp.com> Hi Panos, On 10/07/2017 18:20, panagiotis merakos via use-livecode wrote: > @MIke I guess that Xcode8.3.3 is the one in /Applications/Xcode.app? BTW I > would suggest to have separate folders for each Xcode version, to avoid > problems where the Xcode version is updated automatically (the one > in /Applications/Xcode.app), but LC not yet supports this Xcode version. I > have a folder "Xcode" with subfolders "Xcode_8_2_1", "Xcode_8_3_3" etc, and > each one of the has the respective "Xcode.app" binary. When I've tried something along these lines, I get an error when building standalones that specifically refers to the path /Applications/Xcode.app, as if somewhere in the process it has been hardwired. The error is: linking for arm failed with xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use ?xcode-select --switch path/to/Xcode.app? to specify the Xcode that you wish to use for command line developer tools (or see ?man xcode-select?) I've had to settle for moving the various versions of Xcode in and out of sub-folders, and resetting preferences, each time I switch between LC versions. Evidently you've found a way of making this work - do you know what the magic might be? TIA, Ben From merakosp at gmail.com Tue Jul 11 13:00:32 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 11 Jul 2017 18:00:32 +0100 Subject: [ANN] Release 8.1.5 In-Reply-To: <8bda7807-5017-f6fc-cbf2-3412b051ff78@cogapp.com> References: <8bda7807-5017-f6fc-cbf2-3412b051ff78@cogapp.com> Message-ID: Hi Ben, Yes, this error means that still the old_path_to_xcode_command_line_tools is used (i.e. the /Applications/Xcode.app one). You can change it in two ways: 1) Open a terminal and type: sudo xcode-select -s path/to/new/xcode.app e.g. for me this is: sudo xcode-select -s /Users/panos/Builds/Platforms/Xcode_8_3_3/Xcode.app OR 2) Open the new Xcode and go to menubar Xcode -> Preferences -> Locations and choose the path_to_the_new_Xcode in "Command Line Tools:" What those options do is set the path to the command line tools that will used when commands such as "xcrun" are called from within LiveCode. Those commands are called when building iOS standalones from the Standalone Builder. Hope this helps, Panos -- On Tue, Jul 11, 2017 at 5:45 PM, Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Panos, > > On 10/07/2017 18:20, panagiotis merakos via use-livecode wrote: > >> @MIke I guess that Xcode8.3.3 is the one in /Applications/Xcode.app? BTW I >> would suggest to have separate folders for each Xcode version, to avoid >> problems where the Xcode version is updated automatically (the one >> in /Applications/Xcode.app), but LC not yet supports this Xcode version. I >> have a folder "Xcode" with subfolders "Xcode_8_2_1", "Xcode_8_3_3" etc, >> and >> each one of the has the respective "Xcode.app" binary. >> > > When I've tried something along these lines, I get an error when building > standalones that specifically refers to the path /Applications/Xcode.app, > as if somewhere in the process it has been hardwired. The error is: > > linking for arm failed with xcrun: error: active > developer path > ("/Applications/Xcode.app/Contents/Developer") > does not exist, use ?xcode-select --switch > path/to/Xcode.app? to specify the Xcode that > you wish to use for command line developer > tools (or see ?man xcode-select?) > > I've had to settle for moving the various versions of Xcode in and out of > sub-folders, and resetting preferences, each time I switch between LC > versions. > > Evidently you've found a way of making this work - do you know what the > magic might be? > > TIA, > > Ben > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dan at clearvisiontech.com Tue Jul 11 13:33:28 2017 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 11 Jul 2017 17:33:28 +0000 Subject: [ANN] Release 8.1.5 -- tsneterr Message-ID: <0C01D597-274B-4509-A156-643CECEE87BE@clearvisiontech.com> I am porting a large project from LC 7 to 8.1.5. Occasionally, I get this error when accessing the internet: ?tsneterr: Not initialised? (misspelled, by the way). It works fine for a while, then it just fails. And, once it fails you have to completely restart. Sometimes LC even crashes! It seems to be happening when one network connection isn?t finished and it tries to start another one. I did not have this problem in LC 7 using libURL. So, I?m pretty confident it?s something with tsNet. If it?s because tsNet calls are crashing into each other, and If all calls [by default] are blocking, how could one connection be started before the previous one is completed? I had this problem with previous versions of 8.1, but I was hoping it would be fixed in 8.1.5. Anyone have any insight? I would very much like to move forward with tsNet, but if this isn?t resolved, I can?t. Is it possible to continue with 8.1.5, and still use the old libURL? -Dan From alex at tweedly.net Tue Jul 11 13:36:54 2017 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 11 Jul 2017 18:36:54 +0100 Subject: Header Widget troubles and orientationchange examples? In-Reply-To: References: Message-ID: <81702fb1-07bc-7f22-f13d-0e0277442f0a@tweedly.net> On 11/07/2017 17:42, JOHN PATTEN via use-livecode wrote: > Hi All, > > I am trying to do some simple navigation with the header widget. > ... > I have changed the action name to Back and Next. However Back works fine, but Next does not. If i reset the action to ?new item? the next button then works. Not sure about that one. If it's a small stack and you're ok with it - email direct to me and I'll take a look. It took me a few tries but I finally did get my Header Widget to do (more or less) what I want. > This doesn?t see quite right. Also, why does it not display the label ?Next? near the icon like it does for ?Back?? Is that because the widget was made to not show labels on additional icons? If you disable "first item left", then all icons act the same. If it is enabled, then all the items except the first one (i.e. those to the right of the title) are controlled by the choice of "icon" or "text" in itemStyle. The first/left one seems to be exceptional, and always displays both icon and text - and that matches the visual behaviour of most, if not all, of Apple's iOS apps - so I guess there's a guideline somewhere that recommends it. However, there are other iOS apps that don't follow that convention, so I think it would be worht putting in an enhancement request asking to be able to do it. Alex. From prothero at earthlearningsolutions.org Tue Jul 11 14:18:07 2017 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Tue, 11 Jul 2017 11:18:07 -0700 Subject: Augmented Earth now on the App Store! In-Reply-To: References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <3C0B03E2-895E-4DB2-9B8A-BC8AFFB42593@hindu.org> Message-ID: Jonathon, Re password changing. If someone has forgotten their password, what most sites do is send a reset link to a registered email. For even better security, a code is sent to the user's message system, which must be received and entered before reset can be accomplished. If a person has logged in, and wants to change their password, I don't see why they would be required to enter their old password, but they must know it, or,they wouldn't have been able to log in. My 2 cents, Bill P William Prothero http://es.earthednet.org > On Jul 11, 2017, at 8:57 AM, Jonathan Lynch via use-livecode wrote: > > Hi Lagi, > > Thank you for your feedback! > I have changed it so that the initial mode does exactly what you said - it has two options that allow the user to choose to create a new user or sign in. > > From there it only reveals the fields and buttons that are appropriate for whether the user is logging in, logged in, creating a new user, or editing their information. > > I am going to update the app on iTunes on Thursday. The core of the app seems to be strong, but the user interface clearly was lacking :( > > I spent a lot more time working on figuring out the 3D map - I am going to make the interface smooth before I do any promotion. > > I think we have to require using the current password to change the password, to prevent hacking. > > I made notes of you other observations as well. > > Thank you :) > > Sent from my iPhone > >> On Jul 11, 2017, at 11:32 AM, Lagi Pittas via use-livecode wrote: >> >> Hi Jonathan, >> >> I've tried to to login to the app from an iphone 6 ios 10.3.2 >> >> Ive restarted it a couple of time but always the same. >> >> The Username and Password field asre white and enabled - I enter the >> details but no other field is enabled. >> >> >> Now some feedback. >> >> My pet peeve (it happened on a subscription site 2 days ago so I'm still >> smarting from the experience ;-) >> >> 1. I have never understood why anybody asks for the original password to >> change the one you have either forgotten or never received in the email. >> You are in good (bad?) company Skype does this but also ties you in nots >> with nobody to talk to. >> >> 2. There are TOO many fields on the login page - there should be 2 Big >> Buttons at the top Create New Account ./ Sign In. >> >> In fact off the top of my head, download the UDEMY app to see what I think >> is very simple and clear. >> >> You can ask for all the rest on the second page but also have a SKIP if >> we/they don't want to enter the other info just yet. >> >> 3. The app seems to know it has been run for a second time because the help >> screen doesnt come up - so again you can leave it logged in even if they >> exit the program. >> >> 4. I would allow a user name and or an email address for logging in >> >> 5. The (H) and (S) after the password and new password have no clue that >> they are clickable the (S) on the New password is not enabled. >> That bit again is not obvious without clicking. The Words >> would have fitted with no problem - and in a different colour or as a >> button. >> >> 6. Why is the select user Icon showing when there is nothing to select? >> Would that show something after I put in my email or logged in in which >> case it just adds to the confusion. I pressed a few times to see if >> anything would load. >> >> 7. You have Screen Name and Username - Until i looked to the Bottom where >> it says screen name I assumed the username was my login name (or is it?). >> >> I was typing not my full name but a Username (1 word) - The Username (or >> Email) that is used to login should be together and First unless the first >> line says . It is not obvious if you expect a first name and >> last name - I presume it doesn't matter. >> >> 8. To reiterate because this to me is the crux none of the other fields >> except the signup field need to be on the front page - "Show me the Banana" >> as Steve Krug says and "Don't Make me think" as Seth Godin says. >> >> Regards Lagi >> >> >> On 7 July 2017 at 11:26, Jonathan Lynch via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hi Swami, >>> The interface confuses people about whether they are logging in or signing >>> up - I added some things that make that explicit and going to submit as >>> soon as I test on a few friends. >>> >>> If you want to register, fill in the fields for a new user then click the >>> gear again to have the option to submit. >>> >>> Clearly, I tested this in a biased way - not going to make that mistake >>> again. >>> >>> Thanks for checking it out! >>> J >>> >>> Sent from my iPhone >>> >>>> On Jul 6, 2017, at 10:55 PM, Sannyasin Brahmanathaswami via use-livecode >>> wrote: >>>> >>>> Downloaded >>>> >>>> initial user registration failed some how.. no clear feedback on why, >>> but now there is nothing more I can do? anything I try leads to a Error >>> incorect or inaccurate app user login credentials. >>>> >>>> Going for the gear, choosing new user, enter creds. still get same >>> message. >>>> >>>> I'm locked out of this app. >>>> >>>> Also you need to trap for the return key in the name field. use can hit >>> return and a cr is added and the name he entered disappears on line 1 above. >>>> >>>> you need to put in that field >>>> >>>> on return >>>> # do nothing, and do not pass the return key in the name field? or send >>> the cursor down to the Password field. >>>> end return >>>> >>>> or something like that.. I have to look ? >>>> >>>> but, looks interesting, I'm impressed by the level of community activity >>> you expect to generate/support? looks "scary" to me unless you have a big >>> staff. I've been thinking about similar things for our new app, but >>> everytime I shy away? >>>> >>>> BR >>>> >>>> On 7/6/17, 4:01 AM, "use-livecode on behalf of Jonathan Lynch via >>> use-livecode" >> use-livecode at lists.runrev.com> wrote: >>>> >>>> If you get a chance, please check it out. This is just a soft launch, >>> but I am excited to have it out there. I won't start heavy promotion until >>> version 1.5. >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Jul 11 14:34:37 2017 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 11 Jul 2017 19:34:37 +0100 Subject: Augmented Earth now on the App Store! In-Reply-To: References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <3C0B03E2-895E-4DB2-9B8A-BC8AFFB42593@hindu.org> Message-ID: On 11/07/2017 19:18, prothero--- via use-livecode wrote: > If a person has logged in, and wants to change their password, I don't see why they would be required to enter their old password, but they must know it, or,they wouldn't have been able to log in. > That's done to prevent someone else changing the password if the screen has been left unattended. Alex. From matthias_livecode_150811 at m-r-d.de Tue Jul 11 15:26:12 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 11 Jul 2017 21:26:12 +0200 Subject: [ANN] Release 8.1.5 -- tsneterr In-Reply-To: <0C01D597-274B-4509-A156-643CECEE87BE@clearvisiontech.com> References: <0C01D597-274B-4509-A156-643CECEE87BE@clearvisiontech.com> Message-ID: <07269E48-E40E-4980-AFB9-3F27892DCBB9@m-r-d.de> Dan, before creating the standalone you can disable the tsNet external To unload: dispatch "revUnloadLibrary" to stack "tsNetLibUrl" To load again: dispatch "revLoadLibrary" to stack ?tsNetLibUrl" Regards, Matthias Matthias Rebbe +49 5741 310000 ?matthiasrebbe.eu ? > Am 11.07.2017 um 19:33 schrieb Dan Friedman via use-livecode >: > > I am porting a large project from LC 7 to 8.1.5. Occasionally, I get this error when accessing the internet: ?tsneterr: Not initialised? (misspelled, by the way). It works fine for a while, then it just fails. And, once it fails you have to completely restart. Sometimes LC even crashes! > > It seems to be happening when one network connection isn?t finished and it tries to start another one. I did not have this problem in LC 7 using libURL. So, I?m pretty confident it?s something with tsNet. > > If it?s because tsNet calls are crashing into each other, and If all calls [by default] are blocking, how could one connection be started before the previous one is completed? > > I had this problem with previous versions of 8.1, but I was hoping it would be fixed in 8.1.5. > > Anyone have any insight? I would very much like to move forward with tsNet, but if this isn?t resolved, I can?t. Is it possible to continue with 8.1.5, and still use the old libURL? > > > -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 richmondmathewson at gmail.com Tue Jul 11 15:41:07 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 11 Jul 2017 22:41:07 +0300 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: I am impressed with the new default handler list . . . BUT . . . I wonder why, on choosing either mouseDown or mouseUp it prompts me for a mouseButton number . . . if this feature is meant to speed things up, it doesn't, as one normally spends time choosing the default handler and then deleting the mouseButton thing. A great idea that needs a bit of sorting out. Richmond. On 7/11/17 5:54 pm, panagiotis merakos via use-livecode wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 8.1.6 RC-1. > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > > LiveCode 8.1.6 RC-1 contains 32 bug fixes, new features, as well as > security and stability improvements: > > - A couple of crashes have been fixed. > - New version of tsNet (1.2.10) that addresses various network-related bugs > is included. > - The flow in the interactive tutorials has been improved. > > A new feature in the script editor has been added, this is the ability to > choose from a list of default handlers to add to the object script. > > Objects no longer have default scripts that appear in the script editor > when their empty scripts are edited. Instead, all the associated message > handlers for the object type now appear in a list underneath the list of > handlers that are present in the script. When clicked, these lines add the > selected default handler to the end of the current script. > > The full release notes are available from: > http://downloads.livecode.com/livecode/8_1_6/LiveCodeNotes-8_1_6_rc_1.pdf > > > Feedback > ======== > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Tue Jul 11 15:42:42 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Tue, 11 Jul 2017 15:42:42 -0400 Subject: Augmented Earth now on the App Store! In-Reply-To: References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <3C0B03E2-895E-4DB2-9B8A-BC8AFFB42593@hindu.org> Message-ID: <4E873A0C-CAF8-40EC-9226-22511AFDF868@gmail.com> As it stands right now - they do not have to reenter their password. If they are logged in, they just change it and submit changes. But, if they are logged they can see their password at any time. The version I am submitting on Thursday makes the process more obvious. I do need to make password recovery an option. This app has so many facets, I just have not gotten to that yet. I will do that before I have a promotable version. I made the choice not to require email addresses, but we will see how long that lasts. If someone does not remember their password and did not enter an email address, they won't have a recovery mechanism. The libertarian in me wants to impose a few restrictions as possible, but the realist in me thinks the trolls will become too problematic. Sent from my iPhone > On Jul 11, 2017, at 2:34 PM, Alex Tweedly via use-livecode wrote: > > > >> On 11/07/2017 19:18, prothero--- via use-livecode wrote: >> If a person has logged in, and wants to change their password, I don't see why they would be required to enter their old password, but they must know it, or,they wouldn't have been able to log in. >> > That's done to prevent someone else changing the password if the screen has been left unattended. > > 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 Tue Jul 11 15:46:45 2017 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 11 Jul 2017 20:46:45 +0100 Subject: Augmented Earth now on the App Store! In-Reply-To: References: <04B787E8-B23B-4E2D-8992-8EED953741A9@gmail.com> <3C0B03E2-895E-4DB2-9B8A-BC8AFFB42593@hindu.org> Message-ID: <6a454517-e459-9b05-a54e-826f569d2f81@tweedly.net> On 11/07/2017 19:18, prothero--- via use-livecode wrote: > Jonathon, > Re password changing. If someone has forgotten their password, what most sites do is send a reset link to a registered email. For even better security, a code is sent to the user's message system, which must be received and entered before reset can be accomplished. Actually, I disagree with "For even better security,..." My email comes via my server, under my control. SMS messages come via some mobile phone operator - and there have been multiple well-proven cases of operators demonstrating *very* poor security - you call them up, say you've lost your phone and would like your phone number switched to your new phone/SIM. They ask you some security questions (anyone think they could find my address and birthdate ?) - and then switch the phone number to the new SIM. And then the fraudster gets all SMS messages from your bank, websites, etc., and you don't. [In the UK, they are *supposed* to use the higher level of security questioning - but sometimes don't, and are sometimes vulnerable to special pleading and feeling sorry for the apparent loss-victim. see for instance http://www.telegraph.co.uk/technology/internet-security/11896024/How-to-protect-yourself-from-SIM-swap-scams.html So I'd prefer to stick to email verifications :-) Alex. From ambassador at fourthworld.com Tue Jul 11 15:50:49 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Jul 2017 12:50:49 -0700 Subject: Augmented Earth now on the App Store! In-Reply-To: <4E873A0C-CAF8-40EC-9226-22511AFDF868@gmail.com> References: <4E873A0C-CAF8-40EC-9226-22511AFDF868@gmail.com> Message-ID: <210c50eb-ff5d-1a67-b2af-bdac3a1de56e@fourthworld.com> jonathandlynch wrote: > I do need to make password recovery an option. Please don't. Reset is good, but recovery means the password is stored in the system, which is generally no longer done. Instead only a hash of the password is stored, which allows it to be reset but never recovered. Peter Brett posted some notes here on hashing passwords a while back: http://lists.runrev.com/pipermail/use-livecode/2017-March/235091.html -- 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 jonathandlynch at gmail.com Tue Jul 11 16:27:30 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Tue, 11 Jul 2017 16:27:30 -0400 Subject: Augmented Earth now on the App Store! In-Reply-To: <210c50eb-ff5d-1a67-b2af-bdac3a1de56e@fourthworld.com> References: <4E873A0C-CAF8-40EC-9226-22511AFDF868@gmail.com> <210c50eb-ff5d-1a67-b2af-bdac3a1de56e@fourthworld.com> Message-ID: Thanks Richard - for sure I will implement this on the server side. Sent from my iPhone > On Jul 11, 2017, at 3:50 PM, Richard Gaskin via use-livecode wrote: > > jonathandlynch wrote: > > > I do need to make password recovery an option. > > Please don't. > > Reset is good, but recovery means the password is stored in the system, which is generally no longer done. Instead only a hash of the password is stored, which allows it to be reset but never recovered. > > Peter Brett posted some notes here on hashing passwords a while back: > http://lists.runrev.com/pipermail/use-livecode/2017-March/235091.html > > -- > 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 benr_mc at cogapp.com Tue Jul 11 17:03:43 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 11 Jul 2017 22:03:43 +0100 Subject: [ANN] Release 8.1.5 In-Reply-To: References: <8bda7807-5017-f6fc-cbf2-3412b051ff78@cogapp.com> Message-ID: Thanks Panos. But what happens when switching back to an older LC which references an older Xcode - do I have to redo the incantation below each time? Or should it always be set to the latest Xcode, regardless of which one LC is using to build with? Many thanks, Ben On 11/07/2017 18:00, panagiotis merakos via use-livecode wrote: > Hi Ben, > > Yes, this error means that still the old_path_to_xcode_command_line_tools > is used (i.e. the /Applications/Xcode.app one). You can change it in two > ways: > > 1) Open a terminal and type: > > sudo xcode-select -s path/to/new/xcode.app > > e.g. for me this is: > > sudo xcode-select -s /Users/panos/Builds/Platforms/Xcode_8_3_3/Xcode.app > > > OR > > > 2) Open the new Xcode and go to menubar Xcode -> Preferences -> Locations > and choose the path_to_the_new_Xcode in "Command Line Tools:" > > > What those options do is set the path to the command line tools that will > used when commands such as "xcrun" are called from within LiveCode. Those > commands are called when building iOS standalones from the Standalone > Builder. > > > Hope this helps, > > Panos > > -- > > > > On Tue, Jul 11, 2017 at 5:45 PM, Ben Rubinstein via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Panos, >> >> On 10/07/2017 18:20, panagiotis merakos via use-livecode wrote: >> >>> @MIke I guess that Xcode8.3.3 is the one in /Applications/Xcode.app? BTW I >>> would suggest to have separate folders for each Xcode version, to avoid >>> problems where the Xcode version is updated automatically (the one >>> in /Applications/Xcode.app), but LC not yet supports this Xcode version. I >>> have a folder "Xcode" with subfolders "Xcode_8_2_1", "Xcode_8_3_3" etc, >>> and >>> each one of the has the respective "Xcode.app" binary. >>> >> >> When I've tried something along these lines, I get an error when building >> standalones that specifically refers to the path /Applications/Xcode.app, >> as if somewhere in the process it has been hardwired. The error is: >> >> linking for arm failed with xcrun: error: active >> developer path >> ("/Applications/Xcode.app/Contents/Developer") >> does not exist, use ?xcode-select --switch >> path/to/Xcode.app? to specify the Xcode that >> you wish to use for command line developer >> tools (or see ?man xcode-select?) >> >> I've had to settle for moving the various versions of Xcode in and out of >> sub-folders, and resetting preferences, each time I switch between LC >> versions. >> >> Evidently you've found a way of making this work - do you know what the >> magic might be? >> >> TIA, >> >> Ben >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jonathandlynch at gmail.com Tue Jul 11 17:22:01 2017 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 11 Jul 2017 17:22:01 -0400 Subject: Server Basics Everyone Should Do Message-ID: Richard's comment about storing password hashes rather than actual passwords has got me to thinking that there are probably several basic server activities developers should do when creating a database. Doing these things from the beginning will help avoid future headaches. Despite a couple decades of coding experience, I have not done much with servers, so I was only able to think of a few basics, but maybe you guys could add to it, so that other LC developers can avoid these pitfalls? - Store password hashes rather than passwords, using a proven, established method of 1-way encrypting passwords. - Work on a development server rather than the production server, and copy the dev server stack over to the main stack when every thing is tested and ready for an update. - Store backups and old versions of the server stack, and server files, somewhere other than the server, so that it is easy to recover if a hacker should ransack the server or if some faulty piece of server-side code sneaks through testing. - Use indexing, with a scheme for increasing levels of indexing, to speed up server searches as the record base grows. - Regularly change admin passwords for the server, to deter hacking. If anyone has other suggestions, please add them. J -- Do all things with love From matthias_livecode_150811 at m-r-d.de Tue Jul 11 17:39:50 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 11 Jul 2017 23:39:50 +0200 Subject: [ANN] Release 8.1.5 -- tsneterr In-Reply-To: <07269E48-E40E-4980-AFB9-3F27892DCBB9@m-r-d.de> References: <0C01D597-274B-4509-A156-643CECEE87BE@clearvisiontech.com> <07269E48-E40E-4980-AFB9-3F27892DCBB9@m-r-d.de> Message-ID: <28EFFE42-6AFB-45B6-84AB-DD839B0D0536@m-r-d.de> Hi Dan, reading my comment makes me think that it is confusing. What i wanted to say was, To use the ?old? libURL unload tsNET as described, then create the standalone. The standalone then will use the old libURL. One little caveat. The created standalone still contains the tsNET external, although it does not use it. See Bug?19900 Regards, Matthias Matthias Rebbe +49 5741 310000 ?matthiasrebbe.eu ? > Am 11.07.2017 um 21:26 schrieb Matthias Rebbe via use-livecode >: > > Dan, > > before creating the standalone you can disable the tsNet external > To unload: > > dispatch "revUnloadLibrary" to stack "tsNetLibUrl" > > To load again: > dispatch "revLoadLibrary" to stack ?tsNetLibUrl" > > Regards, > Matthias > > Matthias Rebbe > +49 5741 310000 > ?matthiasrebbe.eu >? > >> Am 11.07.2017 um 19:33 schrieb Dan Friedman via use-livecode >>: >> >> I am porting a large project from LC 7 to 8.1.5. Occasionally, I get this error when accessing the internet: ?tsneterr: Not initialised? (misspelled, by the way). It works fine for a while, then it just fails. And, once it fails you have to completely restart. Sometimes LC even crashes! >> >> It seems to be happening when one network connection isn?t finished and it tries to start another one. I did not have this problem in LC 7 using libURL. So, I?m pretty confident it?s something with tsNet. >> >> If it?s because tsNet calls are crashing into each other, and If all calls [by default] are blocking, how could one connection be started before the previous one is completed? >> >> I had this problem with previous versions of 8.1, but I was hoping it would be fixed in 8.1.5. >> >> Anyone have any insight? I would very much like to move forward with tsNet, but if this isn?t resolved, I can?t. Is it possible to continue with 8.1.5, and still use the old libURL? >> >> >> -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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 11 17:46:59 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 11 Jul 2017 22:46:59 +0100 Subject: [ANN] Release 8.1.5 In-Reply-To: References: <8bda7807-5017-f6fc-cbf2-3412b051ff78@cogapp.com> Message-ID: Hi Ben, It is safer to those steps every time you have to use a different Xcode version (with older LC versions), since if you don't that, you *might* see some unexpected (and completely non-descriptive) errors when building iOS standalones. May I ask why you have to switch back to an older LC version? Is there a bug in the current newest LC version that prevents you from using it? Best, Panos -- On Tue, Jul 11, 2017 at 10:03 PM, Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Panos. > > But what happens when switching back to an older LC which references an > older Xcode - do I have to redo the incantation below each time? Or should > it always be set to the latest Xcode, regardless of which one LC is using > to build with? > > Many thanks, > > Ben > > > On 11/07/2017 18:00, panagiotis merakos via use-livecode wrote: > >> Hi Ben, >> >> Yes, this error means that still the old_path_to_xcode_command_line_tools >> is used (i.e. the /Applications/Xcode.app one). You can change it in two >> ways: >> >> 1) Open a terminal and type: >> >> sudo xcode-select -s path/to/new/xcode.app >> >> e.g. for me this is: >> >> sudo xcode-select -s /Users/panos/Builds/Platforms/Xcode_8_3_3/Xcode.app >> >> >> OR >> >> >> 2) Open the new Xcode and go to menubar Xcode -> Preferences -> Locations >> and choose the path_to_the_new_Xcode in "Command Line Tools:" >> >> >> What those options do is set the path to the command line tools that will >> used when commands such as "xcrun" are called from within LiveCode. Those >> commands are called when building iOS standalones from the Standalone >> Builder. >> >> >> Hope this helps, >> >> Panos >> >> -- >> >> >> >> On Tue, Jul 11, 2017 at 5:45 PM, Ben Rubinstein via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hi Panos, >>> >>> On 10/07/2017 18:20, panagiotis merakos via use-livecode wrote: >>> >>> @MIke I guess that Xcode8.3.3 is the one in /Applications/Xcode.app? BTW >>>> I >>>> would suggest to have separate folders for each Xcode version, to avoid >>>> problems where the Xcode version is updated automatically (the one >>>> in /Applications/Xcode.app), but LC not yet supports this Xcode >>>> version. I >>>> have a folder "Xcode" with subfolders "Xcode_8_2_1", "Xcode_8_3_3" etc, >>>> and >>>> each one of the has the respective "Xcode.app" binary. >>>> >>>> >>> When I've tried something along these lines, I get an error when building >>> standalones that specifically refers to the path /Applications/Xcode.app, >>> as if somewhere in the process it has been hardwired. The error is: >>> >>> linking for arm failed with xcrun: error: active >>> developer path >>> ("/Applications/Xcode.app/Contents/Developer") >>> does not exist, use ?xcode-select --switch >>> path/to/Xcode.app? to specify the Xcode that >>> you wish to use for command line developer >>> tools (or see ?man xcode-select?) >>> >>> I've had to settle for moving the various versions of Xcode in and out of >>> sub-folders, and resetting preferences, each time I switch between LC >>> versions. >>> >>> Evidently you've found a way of making this work - do you know what the >>> magic might be? >>> >>> TIA, >>> >>> Ben >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 11 17:52:30 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 11 Jul 2017 22:52:30 +0100 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: H Richmond, Thanks for the feedback. The default handlers appear exactly as they are in the dictionary. Indeed, the mouseUp handler for example does take a parameter (see dictionary). If you don't need to do different things in the mouseUp handler depending on the , you can just ignore it (e.g. no need to delete this param), and it will act just like a regular mouseUp handler with no params. Best, Panos -- On Tue, Jul 11, 2017 at 8:41 PM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > I am impressed with the new default handler list . . . > > BUT . . . I wonder why, on choosing either mouseDown or mouseUp it prompts > me for a mouseButton number . . . > > if this feature is meant to speed things up, it doesn't, as one normally > spends time choosing the default > handler and then deleting the mouseButton thing. > > A great idea that needs a bit of sorting out. > > Richmond. > > > On 7/11/17 5:54 pm, panagiotis merakos via use-livecode wrote: > >> Dear list members, >> >> We are pleased to announce the release of LiveCode 8.1.6 RC-1. >> >> Getting the Release >> =================== >> You can get the release at https://downloads.livecode.com/livecode/ or >> via >> the automatic updater. >> >> >> Release Contents >> ================ >> >> LiveCode 8.1.6 RC-1 contains 32 bug fixes, new features, as well as >> security and stability improvements: >> >> - A couple of crashes have been fixed. >> - New version of tsNet (1.2.10) that addresses various network-related >> bugs >> is included. >> - The flow in the interactive tutorials has been improved. >> >> A new feature in the script editor has been added, this is the ability to >> choose from a list of default handlers to add to the object script. >> >> Objects no longer have default scripts that appear in the script editor >> when their empty scripts are edited. Instead, all the associated message >> handlers for the object type now appear in a list underneath the list of >> handlers that are present in the script. When clicked, these lines add the >> selected default handler to the end of the current script. >> >> The full release notes are available from: >> http://downloads.livecode.com/livecode/8_1_6/LiveCodeNotes-8_1_6_rc_1.pdf >> >> >> Feedback >> ======== >> Please report any bugs encountered on our BugZilla at >> http://quality.livecode.com/ >> >> >> Have fun! >> The LiveCode Team >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Tue Jul 11 17:55:49 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Jul 2017 14:55:49 -0700 Subject: unlocked fields beep on text entry Message-ID: I have a couple of fields with, according to the inspector, visible, focus with keyboard, focuskorder, and autohlite set, and nothing else. I can click into them, but I can't enter text--it simply beeps. It has no behavior. I trapped keyup, and single stepped, and it doesn't go anywhere. What else could cause this? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Jul 11 18:00:31 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 11 Jul 2017 15:00:31 -0700 Subject: unlocked fields beep on text entry In-Reply-To: References: Message-ID: On Tue, Jul 11, 2017 at 2:55 PM, Dr. Hawkins wrote: > > What else could cause this? > grr. It *is* going to a different handler, that's noticing I'm not typing numbers. My custom property for the value type was wrong. Hmm, I think it's a keydown getting handled. grr. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From matthias_livecode_150811 at m-r-d.de Tue Jul 11 18:05:36 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 12 Jul 2017 00:05:36 +0200 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: Matthias Rebbe +49 5741 310000 ?matthiasrebbe.eu ? > > > A new feature in the script editor has been added, this is the ability to > choose from a list of default handlers to add to the object script. I am not sure if i like this new handler list. At least at that place. I find it somehow disturbing. I am not sure if this is the correct expression. Is there a way to hide that list in the editor? Or is there a way to make at least the height of that list smaller? From kevin at livecode.com Tue Jul 11 18:07:42 2017 From: kevin at livecode.com (Kevin Miller) Date: Tue, 11 Jul 2017 23:07:42 +0100 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: Is it something perhaps you could get used to? We are working hard to attract new users to the platform. This has come up again and again in user testing. This evening we tested this new handler list on new users for the first time. It went over very well. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 11/07/2017, 23:05, "use-livecode on behalf of Matthias Rebbe via use-livecode" wrote: > >Matthias Rebbe >+49 5741 310000 >?matthiasrebbe.eu ? >> >> >> A new feature in the script editor has been added, this is the ability >>to >> choose from a list of default handlers to add to the object script. > >I am not sure if i like this new handler list. At least at that place. I >find it somehow disturbing. I am not sure if this is the correct >expression. >Is there a way to hide that list in the editor? Or is there a way to make >at least the height of that list smaller? >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Tue Jul 11 18:12:14 2017 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 12 Jul 2017 00:12:14 +0200 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: <2279C545-712F-4A52-B706-B67FCE721227@me.com> I have played a bit with the enhanced script editor and while I like the idea with the handler lists I am not sure that the implementation is as good as it could be. I find it a bit confusing to see a list of handlers in the handler list without any actual handlers in the script itself. From my experiences teaching coding with LiveCode, I think that my students also will find this a bit confusing. I think the handlers should be moved to a menu or a scrolling list above the list that shows which handlers are currently used in the script. Then there will be a clear visual division between handlers created by the user and handlers that are available to the user. It is also important that this menu/list is labeled properly. In a script with a lot of handlers, the handler list will eventually be pushed out of sight the way it is implemented now. If this list should be helpful to more inexperienced users, it is vital that the most common handlers for any given control appear at the top of the list. The more esoteric once can be placed at the bottom of the menu/list. It is also vital to think through which handlers are shown in the script of which control, especially since you can place almost any handler in the script of any control, as long as there is a call to that handler further up in the message hierarchy. Better uniformity in how the handlers are presented when inserted into the script is needed. The mouseUp handler comes with comments explaining the handler, whereas the mouseDown handler does not. Also, params containing the same values should be called the same. In mouseUp the parameter is called mouseButtonNumer, in moouseDown it is called pMouseButton. These are some of my initial thoughts about what I think can be a very useful enhancement to the editor. Regards Tore Nilsen > 11. jul. 2017 kl. 16:54 skrev panagiotis merakos via use-livecode : > > Dear list members, > > We are pleased to announce the release of LiveCode 8.1.6 RC-1. > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > > LiveCode 8.1.6 RC-1 contains 32 bug fixes, new features, as well as > security and stability improvements: > > - A couple of crashes have been fixed. > - New version of tsNet (1.2.10) that addresses various network-related bugs > is included. > - The flow in the interactive tutorials has been improved. > > A new feature in the script editor has been added, this is the ability to > choose from a list of default handlers to add to the object script. > > Objects no longer have default scripts that appear in the script editor > when their empty scripts are edited. Instead, all the associated message > handlers for the object type now appear in a list underneath the list of > handlers that are present in the script. When clicked, these lines add the > selected default handler to the end of the current script. > > The full release notes are available from: > http://downloads.livecode.com/livecode/8_1_6/LiveCodeNotes-8_1_6_rc_1.pdf > > > Feedback > ======== > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > > Have fun! > The LiveCode Team > -- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Tue Jul 11 18:36:47 2017 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 11 Jul 2017 23:36:47 +0100 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: On 11/07/2017 23:07, Kevin Miller via use-livecode wrote: > Is it something perhaps you could get used to? > > We are working hard to attract new users to the platform. This has come up > again and again in user testing. This evening we tested this new handler > list on new users for the first time. It went over very well. So keep it. Make it on by default. Make it configurable so others can hide it if they want. Alex. From tore.nilsen at me.com Tue Jul 11 18:40:12 2017 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 12 Jul 2017 00:40:12 +0200 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: <2279C545-712F-4A52-B706-B67FCE721227@me.com> References: <2279C545-712F-4A52-B706-B67FCE721227@me.com> Message-ID: <778B2F77-2D19-43CA-B36E-4FCFD0F73748@me.com> Just to make my points a bit clearer, here is a list of what enhancements to the handler list I think will be helpful: 1. Put the list in a menu/scrolling list field above the current list showing actual handlers in the script 2. Label this menu/list clearly as ?Common handlers? to make sure that users understand that this list does not contain all available handlers for this control. 3. Put the most used/most likely used handlers for each control at the top of the list 4. Make sure that all inserted handlers are presented in the same way, a comment giving a brief description of the handler is a good thing for beginners 5. Make sure that all parameters are named in a uniform way. 6. Group handlers in the list by their functionality 7. Make the list searchable/let the user filter the list 8. Do not repeat the list in the menu at the top of the script editor. This menu should only contain actual handlers inserted into the script because of the ?play/run? button next to it. You can not run a handler that is not a part of the script. I think that this list of available/common handlers can be very helpful if it is implemented in a good way. I like the fact that comments are provided with the handlers, This makes it a valuable feature for beginners. I can really see myself using these comments as an example for my students on how to write comments for their own handlers and functions. I would welcome any change in this feature that makes it clearer and less confusing, especially for beginners. Regards Tore Nilsen > > > >> 11. jul. 2017 kl. 16:54 skrev panagiotis merakos via use-livecode : >> >> Dear list members, >> >> We are pleased to announce the release of LiveCode 8.1.6 RC-1. >> >> Getting the Release >> =================== >> You can get the release at https://downloads.livecode.com/livecode/ or via >> the automatic updater. >> >> >> Release Contents >> ================ >> >> LiveCode 8.1.6 RC-1 contains 32 bug fixes, new features, as well as >> security and stability improvements: >> >> - A couple of crashes have been fixed. >> - New version of tsNet (1.2.10) that addresses various network-related bugs >> is included. >> - The flow in the interactive tutorials has been improved. >> >> A new feature in the script editor has been added, this is the ability to >> choose from a list of default handlers to add to the object script. >> >> Objects no longer have default scripts that appear in the script editor >> when their empty scripts are edited. Instead, all the associated message >> handlers for the object type now appear in a list underneath the list of >> handlers that are present in the script. When clicked, these lines add the >> selected default handler to the end of the current script. >> >> The full release notes are available from: >> http://downloads.livecode.com/livecode/8_1_6/LiveCodeNotes-8_1_6_rc_1.pdf >> >> >> Feedback >> ======== >> Please report any bugs encountered on our BugZilla at >> http://quality.livecode.com/ >> >> >> Have fun! >> The LiveCode Team >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 11 19:03:11 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 11 Jul 2017 23:03:11 +0000 Subject: Set the tooltip of a datagrid Message-ID: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> Hi all. Not sure if anyone has thought of a way to get the dgDataOfHover (so to speak) of a datagrid. By that I mean, I would like to display a tooltip of selected data from a table datagrid record whenever I hover over a control of that record. That would have to bean a mouseWithin handler in the datagrid script that waited a period of time with messages, then triggered a handler that would discern the control being hovered over and deduce the record from that. Bob S From ahsoftware at sonic.net Tue Jul 11 19:54:46 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 11 Jul 2017 16:54:46 -0700 Subject: Set the tooltip of a datagrid In-Reply-To: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> References: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> Message-ID: <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> On 07/11/2017 04:03 PM, Bob Sneidar via use-livecode wrote: > Hi all. > > Not sure if anyone has thought of a way to get the dgDataOfHover (so to speak) of a datagrid. By that I mean, I would like to display a tooltip of selected data from a table datagrid record whenever I hover over a control of that record. That would have to bean a mouseWithin handler in the datagrid script that waited a period of time with messages, then triggered a handler that would discern the control being hovered over and deduce the record from that. Don't know if this meets your needs, but I set the tooltip of datagrid elements in the FillInData handler of the datagrid row behavior script. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Tue Jul 11 21:11:30 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Jul 2017 01:11:30 +0000 Subject: Set the tooltip of a datagrid In-Reply-To: <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> References: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> Message-ID: <3215C96B-3323-43C8-A590-30D01EEF5001@iotecdigital.com> That is half the battle, but the trick is how to detect I am hovering over a datagrid element in the first place. Bob S > On Jul 11, 2017, at 16:54 , Mark Wieder via use-livecode wrote: > >> Hi all. >> Not sure if anyone has thought of a way to get the dgDataOfHover (so to speak) of a datagrid. By that I mean, I would like to display a tooltip of selected data from a table datagrid record whenever I hover over a control of that record. That would have to bean a mouseWithin handler in the datagrid script that waited a period of time with messages, then triggered a handler that would discern the control being hovered over and deduce the record from that. > > Don't know if this meets your needs, but I set the tooltip of datagrid elements in the FillInData handler of the datagrid row behavior script. > > -- > Mark Wieder > ahsoftware at gmail.com From ahsoftware at sonic.net Tue Jul 11 21:37:37 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 11 Jul 2017 18:37:37 -0700 Subject: Set the tooltip of a datagrid In-Reply-To: <3215C96B-3323-43C8-A590-30D01EEF5001@iotecdigital.com> References: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> <3215C96B-3323-43C8-A590-30D01EEF5001@iotecdigital.com> Message-ID: On 07/11/2017 06:11 PM, Bob Sneidar via use-livecode wrote: > That is half the battle, but the trick is how to detect I am hovering over a datagrid element in the first place. It's a tooltip. You shouldn't have to do anything special. Here's how I set the tooltip of widgets in the PowerTools datagrid: set the tooltip of image tWidgetNum of me to "someString" -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Tue Jul 11 21:43:06 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Jul 2017 01:43:06 +0000 Subject: Set the tooltip of a datagrid In-Reply-To: References: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> <3215C96B-3323-43C8-A590-30D01EEF5001@iotecdigital.com> Message-ID: Yup. But now what I want to do is intercept the hover message, or whatever that is that detects I am over a datagrid control, then set the tooltip to a string that represents selected datagrid data. The idea is that even though I have a subset of data actually displaying in the datagrid, I preload ALL the columns of the table in the dgData, and I want to be able to display more data from a particular record in the tooltip, depending on which record I am hovering over. That means I need some kind of message that gets sent to the datagrid when I am hovering over an element. I tried editing the script of the behavior, but of course that cannot be edited. I suppose I will have to copy the behavior of the datagrid to an independent button to play around with this. I was hoping there might be an easier way to do this. Bob S > On Jul 11, 2017, at 18:37 , Mark Wieder via use-livecode wrote: > > It's a tooltip. > You shouldn't have to do anything special. > Here's how I set the tooltip of widgets in the PowerTools datagrid: > > set the tooltip of image tWidgetNum of me to "someString" > > -- > Mark Wieder From hh at hyperhh.de Tue Jul 11 21:58:49 2017 From: hh at hyperhh.de (hh) Date: Wed, 12 Jul 2017 03:58:49 +0200 Subject: [ANN] Release 8.1.6 RC-1 Message-ID: <1FB0DB0E-5ADC-428E-941F-500924876712@hyperhh.de> Very good: The idea and also all the refinement proposals. It would also be great if the prototypes were editable. Bad: Some of the prototypes use protected names like "filename" as parameters. So they don't compile ... From terry.judd at unimelb.edu.au Tue Jul 11 22:04:49 2017 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 12 Jul 2017 02:04:49 +0000 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: <778B2F77-2D19-43CA-B36E-4FCFD0F73748@me.com> References: <2279C545-712F-4A52-B706-B67FCE721227@me.com> <778B2F77-2D19-43CA-B36E-4FCFD0F73748@me.com> Message-ID: <45E1C76D-A5E6-42B0-80D8-4106919236EA@unimelb.edu.au> I?ve just had a quick play with the enhanced script editor and these all seem like good suggestions to me, and in the script editor pane of the preferences window I?d allow the user to (i) hide/show the list of available common handlers and (ii) hide/show included comments on their functionality. Terry... On 12/07/2017 8:40 am, "use-livecode on behalf of Tore Nilsen via use-livecode" wrote: Just to make my points a bit clearer, here is a list of what enhancements to the handler list I think will be helpful: 1. Put the list in a menu/scrolling list field above the current list showing actual handlers in the script 2. Label this menu/list clearly as ?Common handlers? to make sure that users understand that this list does not contain all available handlers for this control. 3. Put the most used/most likely used handlers for each control at the top of the list 4. Make sure that all inserted handlers are presented in the same way, a comment giving a brief description of the handler is a good thing for beginners 5. Make sure that all parameters are named in a uniform way. 6. Group handlers in the list by their functionality 7. Make the list searchable/let the user filter the list 8. Do not repeat the list in the menu at the top of the script editor. This menu should only contain actual handlers inserted into the script because of the ?play/run? button next to it. You can not run a handler that is not a part of the script. I think that this list of available/common handlers can be very helpful if it is implemented in a good way. I like the fact that comments are provided with the handlers, This makes it a valuable feature for beginners. I can really see myself using these comments as an example for my students on how to write comments for their own handlers and functions. I would welcome any change in this feature that makes it clearer and less confusing, especially for beginners. Regards Tore Nilsen > > > >> 11. jul. 2017 kl. 16:54 skrev panagiotis merakos via use-livecode : >> >> Dear list members, >> >> We are pleased to announce the release of LiveCode 8.1.6 RC-1. >> >> Getting the Release >> =================== >> You can get the release at https://downloads.livecode.com/livecode/ or via >> the automatic updater. >> >> >> Release Contents >> ================ >> >> LiveCode 8.1.6 RC-1 contains 32 bug fixes, new features, as well as >> security and stability improvements: >> >> - A couple of crashes have been fixed. >> - New version of tsNet (1.2.10) that addresses various network-related bugs >> is included. >> - The flow in the interactive tutorials has been improved. >> >> A new feature in the script editor has been added, this is the ability to >> choose from a list of default handlers to add to the object script. >> >> Objects no longer have default scripts that appear in the script editor >> when their empty scripts are edited. Instead, all the associated message >> handlers for the object type now appear in a list underneath the list of >> handlers that are present in the script. When clicked, these lines add the >> selected default handler to the end of the current script. >> >> The full release notes are available from: >> http://downloads.livecode.com/livecode/8_1_6/LiveCodeNotes-8_1_6_rc_1.pdf >> >> >> Feedback >> ======== >> Please report any bugs encountered on our BugZilla at >> http://quality.livecode.com/ >> >> >> Have fun! >> The LiveCode Team >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Tue Jul 11 22:09:09 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 11 Jul 2017 20:09:09 -0600 Subject: Set the tooltip of a datagrid In-Reply-To: References: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> <3215C96B-3323-43C8-A590-30D01EEF5001@iotecdigital.com> Message-ID: There should be a couple ways.. Assuming the tooltip data and the displayed data are already associated, you can do as suggested and pass in the popop information as part of the dgdata.. Then in the fillindata you 'set the tooltip of field 1 of me to ... the data that was passed in with the array. To do this though i _Think_ you'd need a custom behavior for every column. To get around this, you could use a mouseenter in the script of the datagrid itself that does something like.. on mouseenter get the text of the target -- then use the text of the target to look up your tooltip data and.. set the tooltip of the target to "whateveryouwant" end mouseenter i tested by setting the tooltip to a random number and it seems to work fine. If you're using a form rather than a grid, its much easier, just use the first method in the behavior script to set whatever tooltips you like as part of the fillindata. A single script edit to handle all tooltips. On Tue, Jul 11, 2017 at 7:43 PM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Yup. But now what I want to do is intercept the hover message, or whatever > that is that detects I am over a datagrid control, then set the tooltip to > a string that represents selected datagrid data. The idea is that even > though I have a subset of data actually displaying in the datagrid, I > preload ALL the columns of the table in the dgData, and I want to be able > to display more data from a particular record in the tooltip, depending on > which record I am hovering over. That means I need some kind of message > that gets sent to the datagrid when I am hovering over an element. > > I tried editing the script of the behavior, but of course that cannot be > edited. I suppose I will have to copy the behavior of the datagrid to an > independent button to play around with this. I was hoping there might be an > easier way to do this. > > Bob S > > > > On Jul 11, 2017, at 18:37 , Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > It's a tooltip. > > You shouldn't have to do anything special. > > Here's how I set the tooltip of widgets in the PowerTools datagrid: > > > > set the tooltip of image tWidgetNum of me to "someString" > > > > -- > > Mark Wieder > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue Jul 11 23:01:17 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 Jul 2017 22:01:17 -0500 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: <15d34be5c48.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'd vote for this, a configurable option would make everyone happy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 11, 2017 5:38:43 PM Alex Tweedly via use-livecode wrote: > > > On 11/07/2017 23:07, Kevin Miller via use-livecode wrote: >> Is it something perhaps you could get used to? >> >> We are working hard to attract new users to the platform. This has come up >> again and again in user testing. This evening we tested this new handler >> list on new users for the first time. It went over very well. > So keep it. > Make it on by default. > Make it configurable so others can hide it if they want. > > 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 james at thehales.id.au Tue Jul 11 23:57:52 2017 From: james at thehales.id.au (james at thehales.id.au) Date: Wed, 12 Jul 2017 13:57:52 +1000 Subject: 8.16rc1 release notes - wow! Message-ID: <59144B41-FDD9-43F5-BAE7-8C1CBA89B312@thehales.id.au> I was really blown away by the changes and bug fixes listed in the 8.16rc1 release notes. Then I looked a bit closer and thought many seemed familiar. It seems the script to compile the release notes has either gotten greedy or something else has changed as it has grabbed quite a few additions from the 8.15 release and even claimed the new ones for itself. James From ahsoftware at sonic.net Wed Jul 12 00:29:15 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 11 Jul 2017 21:29:15 -0700 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: On 07/11/2017 03:07 PM, Kevin Miller via use-livecode wrote: > Is it something perhaps you could get used to? > > We are working hard to attract new users to the platform. This has come up > again and again in user testing. This evening we tested this new handler > list on new users for the first time. It went over very well. After all the commotion here, I had to go take a look. So I loaded the new build, and after the initial shock I kind of like it. I think the changes I would make would be to have the text of the loadable handlers dimmed to gray, so that it's obvious that they're not in the script, and to start with a blank line, like the one that separates the real handlers from the wannabes. -- Mark Wieder ahsoftware at gmail.com From paul at livecode.org Wed Jul 12 01:21:54 2017 From: paul at livecode.org (Paul Hibbert) Date: Tue, 11 Jul 2017 22:21:54 -0700 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: <15d34be5c48.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <15d34be5c48.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Configurable sounds like a great idea to me too. I?d like to see a more defined break from the regular handlers if that?s possible. Also there is a Typo - PasteKey in the Field script is missing the ?P? - it just states asteKey, I wondered what that was! :) Paul > On Jul 11, 2017, at 8:01 PM, J. Landman Gay via use-livecode wrote: > > I'd vote for this, a configurable option would make everyone happy. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On July 11, 2017 5:38:43 PM Alex Tweedly via use-livecode wrote: > >> >> >> On 11/07/2017 23:07, Kevin Miller via use-livecode wrote: >>> Is it something perhaps you could get used to? >>> >>> We are working hard to attract new users to the platform. This has come up >>> again and again in user testing. This evening we tested this new handler >>> list on new users for the first time. It went over very well. >> So keep it. >> Make it on by default. >> Make it configurable so others can hide it if they want. >> >> 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 richmondmathewson at gmail.com Wed Jul 12 03:04:54 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 12 Jul 2017 10:04:54 +0300 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: <38a484d5-c3a1-bd0c-4012-93b07cb3e2d3@gmail.com> I think that this new feature is really wonderful; especially as new users of LiveCode won't have to wait (like I did) for 5 years to find out about "MouseEnter" :) Richmond. On 7/12/17 12:52 am, panagiotis merakos via use-livecode wrote: > H Richmond, > > Thanks for the feedback. > > The default handlers appear exactly as they are in the dictionary. Indeed, > the mouseUp handler for example does take a parameter > (see dictionary). > > If you don't need to do different things in the mouseUp handler depending > on the , you can just ignore it (e.g. no need to delete > this param), and it will act just like a regular mouseUp handler with no > params. > > Best, > Panos > -- > > On Tue, Jul 11, 2017 at 8:41 PM, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I am impressed with the new default handler list . . . >> >> BUT . . . I wonder why, on choosing either mouseDown or mouseUp it prompts >> me for a mouseButton number . . . >> >> if this feature is meant to speed things up, it doesn't, as one normally >> spends time choosing the default >> handler and then deleting the mouseButton thing. >> >> A great idea that needs a bit of sorting out. >> >> Richmond. >> >> >> On 7/11/17 5:54 pm, panagiotis merakos via use-livecode wrote: >> >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 8.1.6 RC-1. >>> >>> Getting the Release >>> =================== >>> You can get the release at https://downloads.livecode.com/livecode/ or >>> via >>> the automatic updater. >>> >>> >>> Release Contents >>> ================ >>> >>> LiveCode 8.1.6 RC-1 contains 32 bug fixes, new features, as well as >>> security and stability improvements: >>> >>> - A couple of crashes have been fixed. >>> - New version of tsNet (1.2.10) that addresses various network-related >>> bugs >>> is included. >>> - The flow in the interactive tutorials has been improved. >>> >>> A new feature in the script editor has been added, this is the ability to >>> choose from a list of default handlers to add to the object script. >>> >>> Objects no longer have default scripts that appear in the script editor >>> when their empty scripts are edited. Instead, all the associated message >>> handlers for the object type now appear in a list underneath the list of >>> handlers that are present in the script. When clicked, these lines add the >>> selected default handler to the end of the current script. >>> >>> The full release notes are available from: >>> http://downloads.livecode.com/livecode/8_1_6/LiveCodeNotes-8_1_6_rc_1.pdf >>> >>> >>> Feedback >>> ======== >>> Please report any bugs encountered on our BugZilla at >>> http://quality.livecode.com/ >>> >>> >>> Have fun! >>> The LiveCode Team >>> -- >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 12 03:05:46 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 12 Jul 2017 10:05:46 +0300 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: <8e06f9aa-aa03-112f-3c96-ffdb6e1edb6f@gmail.com> That's not a bad idea: to turn on/off this feature in the preferences. Richmond. On 7/12/17 1:05 am, Matthias Rebbe via use-livecode wrote: > Matthias Rebbe > +49 5741 310000 > ?matthiasrebbe.eu ? >> >> A new feature in the script editor has been added, this is the ability to >> choose from a list of default handlers to add to the object script. > I am not sure if i like this new handler list. At least at that place. I find it somehow disturbing. I am not sure if this is the correct expression. > Is there a way to hide that list in the editor? Or is there a way to make at least the height of that list smaller? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 12 03:06:53 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 12 Jul 2017 10:06:53 +0300 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: "We are working hard to attract new users" . . . Well that feature certainly should make things quite a bit easier! Richmond. On 7/12/17 1:07 am, Kevin Miller via use-livecode wrote: > Is it something perhaps you could get used to? > > We are working hard to attract new users to the platform. This has come up > again and again in user testing. This evening we tested this new handler > list on new users for the first time. It went over very well. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > > > On 11/07/2017, 23:05, "use-livecode on behalf of Matthias Rebbe via > use-livecode" use-livecode at lists.runrev.com> wrote: > >> Matthias Rebbe >> +49 5741 310000 >> ?matthiasrebbe.eu ? >>> >>> A new feature in the script editor has been added, this is the ability >>> to >>> choose from a list of default handlers to add to the object script. >> I am not sure if i like this new handler list. At least at that place. I >> find it somehow disturbing. I am not sure if this is the correct >> expression. >> Is there a way to hide that list in the editor? Or is there a way to make >> at least the height of that list smaller? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 12 03:08:51 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 12 Jul 2017 10:08:51 +0300 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: <2279C545-712F-4A52-B706-B67FCE721227@me.com> References: <2279C545-712F-4A52-B706-B67FCE721227@me.com> Message-ID: I'm going to show this version to "my" kids this afternoon . . . Richmond. On 7/12/17 1:12 am, Tore Nilsen via use-livecode wrote: > I have played a bit with the enhanced script editor and while I like the idea with the handler lists I am not sure that the implementation is as good as it could be. > > I find it a bit confusing to see a list of handlers in the handler list without any actual handlers in the script itself. From my experiences teaching coding with LiveCode, I think that my students also will find this a bit confusing. I think the handlers should be moved to a menu or a scrolling list above the list that shows which handlers are currently used in the script. Then there will be a clear visual division between handlers created by the user and handlers that are available to the user. It is also important that this menu/list is labeled properly. In a script with a lot of handlers, the handler list will eventually be pushed out of sight the way it is implemented now. > If this list should be helpful to more inexperienced users, it is vital that the most common handlers for any given control appear at the top of the list. The more esoteric once can be placed at the bottom of the menu/list. It is also vital to think through which handlers are shown in the script of which control, especially since you can place almost any handler in the script of any control, as long as there is a call to that handler further up in the message hierarchy. > Better uniformity in how the handlers are presented when inserted into the script is needed. The mouseUp handler comes with comments explaining the handler, whereas the mouseDown handler does not. Also, params containing the same values should be called the same. In mouseUp the parameter is called mouseButtonNumer, in moouseDown it is called pMouseButton. > > These are some of my initial thoughts about what I think can be a very useful enhancement to the editor. > > Regards > Tore Nilsen > > > > >> 11. jul. 2017 kl. 16:54 skrev panagiotis merakos via use-livecode : >> >> Dear list members, >> >> We are pleased to announce the release of LiveCode 8.1.6 RC-1. >> >> Getting the Release >> =================== >> You can get the release at https://downloads.livecode.com/livecode/ or via >> the automatic updater. >> >> >> Release Contents >> ================ >> >> LiveCode 8.1.6 RC-1 contains 32 bug fixes, new features, as well as >> security and stability improvements: >> >> - A couple of crashes have been fixed. >> - New version of tsNet (1.2.10) that addresses various network-related bugs >> is included. >> - The flow in the interactive tutorials has been improved. >> >> A new feature in the script editor has been added, this is the ability to >> choose from a list of default handlers to add to the object script. >> >> Objects no longer have default scripts that appear in the script editor >> when their empty scripts are edited. Instead, all the associated message >> handlers for the object type now appear in a list underneath the list of >> handlers that are present in the script. When clicked, these lines add the >> selected default handler to the end of the current script. >> >> The full release notes are available from: >> http://downloads.livecode.com/livecode/8_1_6/LiveCodeNotes-8_1_6_rc_1.pdf >> >> >> Feedback >> ======== >> Please report any bugs encountered on our BugZilla at >> http://quality.livecode.com/ >> >> >> Have fun! >> The LiveCode Team >> -- >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Jul 12 05:01:58 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 12 Jul 2017 11:01:58 +0200 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: <7A13B56B-0652-44D0-9458-DD31B488BF20@m-r-d.de> This feature in general is a good idea. But - make it more visible that those handler are not current handler of the script, e.g. grey out that list - allow a bigger space between the script handler and the handler list - show this list by default, so new users see that list by default, but allow the user to switch if of in prefs - if disabled in the prefs, allow the user to show the list by pressing a short key or - put this list somewhere else, but not below the script handler Matthias > Am 12.07.2017 um 00:07 schrieb Kevin Miller via use-livecode : > > Is it something perhaps you could get used to? > > We are working hard to attract new users to the platform. This has come up > again and again in user testing. This evening we tested this new handler > list on new users for the first time. It went over very well. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > > > On 11/07/2017, 23:05, "use-livecode on behalf of Matthias Rebbe via > use-livecode" use-livecode at lists.runrev.com> wrote: > >> >> Matthias Rebbe >> +49 5741 310000 >> ?matthiasrebbe.eu ? >>> >>> >>> A new feature in the script editor has been added, this is the ability >>> to >>> choose from a list of default handlers to add to the object script. >> >> I am not sure if i like this new handler list. At least at that place. I >> find it somehow disturbing. I am not sure if this is the correct >> expression. >> Is there a way to hide that list in the editor? Or is there a way to make >> at least the height of that list smaller? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at techstrategies.com.au Wed Jul 12 06:14:53 2017 From: charles at techstrategies.com.au (Charles Warwick) Date: Wed, 12 Jul 2017 20:14:53 +1000 Subject: [ANN] Release 8.1.5 -- tsneterr In-Reply-To: <0C01D597-274B-4509-A156-643CECEE87BE@clearvisiontech.com> References: <0C01D597-274B-4509-A156-643CECEE87BE@clearvisiontech.com> Message-ID: <6d2a87ae-b8d6-273b-fa2e-f9e31df66011@techstrategies.com.au> Hi Dan, The error message "Not initialised" (the spelling is correct depending on where you live ;-) ) indicates that the tsNet external isn't running. If you are using libUrl which I am guessing you are, tsNet is initialised on startup, so this would indicate that it has either been shut down by calling tsNetClose directly, or by a call to the libUrl "resetAll" or "libUrlCancel" commands (which temporarily shut down the external and start it back up to clear all connections). I have seen code posted on the list in the past which invoked "resetAll" to deal with issues in older versions of libUrl. Do you use these commands at all in your project? Regards, Charles On 12/07/2017 3:33 AM, Dan Friedman via use-livecode wrote: > I am porting a large project from LC 7 to 8.1.5. Occasionally, I get this error when accessing the internet: ?tsneterr: Not initialised? (misspelled, by the way). It works fine for a while, then it just fails. And, once it fails you have to completely restart. Sometimes LC even crashes! > > It seems to be happening when one network connection isn?t finished and it tries to start another one. I did not have this problem in LC 7 using libURL. So, I?m pretty confident it?s something with tsNet. > > If it?s because tsNet calls are crashing into each other, and If all calls [by default] are blocking, how could one connection be started before the previous one is completed? > > I had this problem with previous versions of 8.1, but I was hoping it would be fixed in 8.1.5. > > Anyone have any insight? I would very much like to move forward with tsNet, but if this isn?t resolved, I can?t. Is it possible to continue with 8.1.5, and still use the old libURL? > > > -Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Wed Jul 12 09:45:35 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 12 Jul 2017 15:45:35 +0200 Subject: like doing a short test for me?, was: No screenshot from LC video possible Message-ID: <00fc01d2fb15$2470e870$6d52b950$@kestner.de> Hello, Windows developers only! since I have no idea, what the reason of my "no screenshot" problem is, I want to try to compare system configurations of the machines, where this problem occurs to find with some luck, what they have in common and so perhaps the source of this issue, though I probably won't see the wood for the trees. Up to now, I only have two customers with this issue and so it is hard to search for "exotic" similarities. If you would like to help me and make a test for me, please download my little test program from http:// www.kestner.de/material/screenshot-test1.livecode 1. Open the LC 8.1.4 program and klick the left button, it should play a video, which was unpacked in the same dir as the livecode file in the left window and make a screenshot in the right window 2. if the right window only is black (screenshot was not successful), try to make a screenshot with "Alt Gr" + "Print" of the left video window and paste it into word or other program to see, if windows can take a screenshot. 3. Do the same with the right button (without videobuffer) If any of these test cases didn't produced a screenshot of the video, I would like to get your system informations (I will delete them right after evaluation) and the notice, which case didn't produced a screenshot. If both test cases produced a screenshot, you don't have to send me any notice. You can retrieve the system informations here: - press ?Windows-Key? + ?R?. - type "msinfo32" - Choose menu ?File - Export?, enter a filename ?Systeminformationen_xy.txt? - send me this file as PM If you have concerns about your privacy, please delete all personal information from the log file, like your IP number, you name of the machine or whatever you want. Thank you for your help. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Dienstag, 11. Juli 2017 09:21 An: LiveCode User Liste senden Cc: Tiemo Hollmann TB Betreff: No screenshot from LC video possible Hello, LC 8.1.4, Windows 10 I am using the standard LC videoPayer (directShow) to play H.264 mp4 videos. One essential feature of my program is, that the user can take screenshots from the video, edit and save them. Today I got the second customer call with a Win 10 machine, who can't take screenshots from my LC videos. The video screen is just black on the taken screenshot. This issue does not only happen with the build in LiveCode screenshot feature, but also, if they take a screenshot with the windows print key or other screenshot tools. Up to now, this issue happens only at 2 customers, on all other Win 10 machines, taking a video screenshot works fine. The alwaysBuffer of the videoPlayer is set to false (setting it to true, I don't see any video playing) I also checked to disable the Kaspersky AV on the client computer (Kaspersky has a feature to prevent screenshots), but without success. Btw. the old version of my program with the quicktime player works fine on these machines. I googled a lot, but didn't found any related issues in the net, so I assume, it must be related to the LiveCode implementation of the directShow videoPlayer. But in combination with any special hardware or software setting on these two computers. Has anybody already experienced similar issues or has any shot in the dark, what system options, drivers, other tools in combination with LiveCode could have an influence on taking a screenshot? Any idea, what I could check for is welcome Tiemo _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Jul 12 09:45:19 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 12 Jul 2017 09:45:19 -0400 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: <7A13B56B-0652-44D0-9458-DD31B488BF20@m-r-d.de> References: <7A13B56B-0652-44D0-9458-DD31B488BF20@m-r-d.de> Message-ID: Configurable would be great, because that would be the start of having Macros, and having those macros be configurable, and having them be able to do things like using the hilited text to build a structure On Wed, Jul 12, 2017 at 5:01 AM, Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > This feature in general is a good idea. > > But > - make it more visible that those handler are not current handler of the > script, e.g. grey out that list > - allow a bigger space between the script handler and the handler list > - show this list by default, so new users see that list by default, but > allow the user to switch if of in prefs > - if disabled in the prefs, allow the user to show the list by pressing a > short key > > or > - put this list somewhere else, but not below the script handler > > Matthias > > > Am 12.07.2017 um 00:07 schrieb Kevin Miller via use-livecode < > use-livecode at lists.runrev.com>: > > > > Is it something perhaps you could get used to? > > > > We are working hard to attract new users to the platform. This has come > up > > again and again in user testing. This evening we tested this new handler > > list on new users for the first time. It went over very well. > > > > Kind regards, > > > > Kevin > > > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > > LiveCode: Everyone can create apps > > > > > > > > > > On 11/07/2017, 23:05, "use-livecode on behalf of Matthias Rebbe via > > use-livecode" > use-livecode at lists.runrev.com> wrote: > > > >> > >> Matthias Rebbe > >> +49 5741 310000 > >> ?matthiasrebbe.eu ? > >>> > >>> > >>> A new feature in the script editor has been added, this is the ability > >>> to > >>> choose from a list of default handlers to add to the object script. > >> > >> I am not sure if i like this new handler list. At least at that place. I > >> find it somehow disturbing. I am not sure if this is the correct > >> expression. > >> Is there a way to hide that list in the editor? Or is there a way to > make > >> at least the height of that list smaller? > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From brahma at hindu.org Wed Jul 12 10:26:18 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 12 Jul 2017 14:26:18 +0000 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: I had almost the same sense as Mark on this. Distracting at first, but no really in the And since we are look at usability of the script editor and add ons I would LOVE to have the ability to show "sections" in my scripts I think it was years ago, or maybe even nowin GLX? anyway, Jerry Daniels had that, where some kind of convention at the beginning of a comment, would cause it to appear on the left panel list. I often use things like this in my comments ######### GRAPHIC EFFECTS ########### It would really help me if we could see this in the left. Exactly what to notation should be, probably needs thought. Another simpler convention would be wherever */ SHOW THE FIRST LINE OF THIS COMMENT Or if people use that to comment out whole blocks then we need a new convention. like perhaps like this which I know some use: --> SCRIPT SECTION If we like this, and can agree on a convention, I will file an official enhancement request. I suppose that preference could even be added to the script editor which would allow something like Show Script Sections __ [check] beginning with ______ [we enter the chars we want to use to show the first line of that comment] i.e. user configurable (since opinions will be all over the place on what to use) BR On 7/11/17, 6:29 PM, "use-livecode on behalf of Mark Wieder via use-livecode" wrote: After all the commotion here, I had to go take a look. So I loaded the new build, and after the initial shock I kind of like it. I think the changes I would make would be to have the text of the loadable handlers dimmed to gray, so that it's obvious that they're not in the script, and to start with a blank line, like the one that separates the real handlers from the wannabes. From bernd.niggemann at uni-wh.de Wed Jul 12 10:08:50 2017 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 12 Jul 2017 07:08:50 -0700 (PDT) Subject: [ANN] north widget Message-ID: <1499868530830-4716915.post@n4.nabble.com> North is a widget that indicates north like a compass or direction indicator. http://forums.livecode.com/viewtopic.php?f=93&t=29486 Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-north-widget-tp4716915.html Sent from the Revolution - User mailing list archive at Nabble.com. From brahma at hindu.org Wed Jul 12 10:40:22 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 12 Jul 2017 14:40:22 +0000 Subject: Native Livecode Pinch and Zoom Message-ID: It appears we won't get pinch and zoom in the browser widget on mobile. It's back to using a native LC interface for a big map adventure where the user can zoom into an area and then pinch back out The use case is still the same: use a "Maha" = enormous/big SVG graphic that looks awesome and sharp at any zoom level Hopefully, soon LC will support a native display of this. In the meantime, before I go hacking away from ground zero, trying to trap gestures and changing the rect of the image object on the fly? I would be interested in any example of this that anyone has already done using native LC code. The zoom of player to degrees is deprecated, and we are not seeing any alternatives in the dictionary. There is an obscure something that I just found that only works on Mac and windows: XPDFViewer_Zoom viewerName, {"width" | "fit" | "actual" | "in" | "out" | percent} The magnify extension is only on desktop Any hope for us on Mobile for pinch and zoom in and out? BR From merakosp at gmail.com Wed Jul 12 11:00:03 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 12 Jul 2017 16:00:03 +0100 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: Hi all, Thank you for the feedback. I am afraid that all those useful suggestions will be buried in the use-list, so I have filed an enhancement request that summarizes the most common suggestions about improving the default handlers as discussed here. http://quality.livecode.com/show_bug.cgi?id=20066 Best, Panos -- On Wed, Jul 12, 2017 at 3:26 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > I had almost the same sense as Mark on this. Distracting at first, but no > really in the > > > And since we are look at usability of the script editor and add ons I > would LOVE to have the ability to show "sections" in my scripts > > I think it was years ago, or maybe even nowin GLX? anyway, Jerry Daniels > had that, where some kind of convention at the beginning of a comment, > would cause it to appear on the left panel list. > > I often use things like this in my comments > > ######### GRAPHIC EFFECTS ########### > > It would really help me if we could see this in the left. Exactly what > to notation should be, probably needs thought. > > Another simpler convention would be wherever > > */ SHOW THE FIRST LINE OF THIS COMMENT > > Or if people use that to comment out whole blocks then we need a new > convention. like perhaps like this which I know some use: > > --> SCRIPT SECTION > > If we like this, and can agree on a convention, I will file an official > enhancement request. > > I suppose that preference could even be added to the script editor which > would allow something like > > Show Script Sections __ [check] beginning with ______ [we enter the chars > we want to use to show the first line of that comment] > > i.e. user configurable (since opinions will be all over the place on what > to use) > > > > BR > > > > > On 7/11/17, 6:29 PM, "use-livecode on behalf of Mark Wieder via > use-livecode" use-livecode at lists.runrev.com> wrote: > > After all the commotion here, I had to go take a look. So I loaded the > new build, and after the initial shock I kind of like it. I think the > changes I would make would be to have the text of the loadable handlers > dimmed to gray, so that it's obvious that they're not in the script, > and > to start with a blank line, like the one that separates the real > handlers from the wannabes. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jbv at souslelogo.com Wed Jul 12 11:11:57 2017 From: jbv at souslelogo.com (jbv) Date: Wed, 12 Jul 2017 17:11:57 +0200 Subject: Refreshing question In-Reply-To: References: Message-ID: Hi guys I have a web page that displays various informations that need to be updated/refreshed every minute. What is the best way to achieve that ? 1- client side : a settimeout in a js script that triggers a LC script on a remote server via xmlhttp, and returns xml data that is analyzed and displayed; 2- server side : a cron job triggers the script every minute and writes the output data in a specific location on the server; and then the web page reads that data via a simple LC script via an xmlhttp request... I forgot to mention : the data are the same for anyone connected to the web page. Thanks in advance. jbv From dan at clearvisiontech.com Wed Jul 12 11:13:14 2017 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 12 Jul 2017 15:13:14 +0000 Subject: [ANN] Release 8.1.5 -- tsneterr Message-ID: <6C5FA5A4-5EAA-4B4F-9670-A96A754336BF@clearvisiontech.com> Matthias, If I build the standalone with tsNet selected, could I call: dispatch "revUnloadLibrary" to stack "tsNetLibUrl" at runtime to switch back to libURL? If so, this would give me the option to use either one. Thanks! -Dan On 7/11/17, 6:13 PM, "use-livecode on behalf of use-livecode-request at lists.runrev.com" wrote: Hi Dan, reading my comment makes me think that it is confusing. What i wanted to say was, To use the ?old? libURL unload tsNET as described, then create the standalone. The standalone then will use the old libURL. One little caveat. The created standalone still contains the tsNET external, although it does not use it. See Bug?19900 Regards, Matthias Matthias Rebbe +49 5741 310000 ?matthiasrebbe.eu ? From matthias_livecode_150811 at m-r-d.de Wed Jul 12 11:22:55 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 12 Jul 2017 17:22:55 +0200 Subject: [ANN] Release 8.1.5 -- tsneterr In-Reply-To: <6C5FA5A4-5EAA-4B4F-9670-A96A754336BF@clearvisiontech.com> References: <6C5FA5A4-5EAA-4B4F-9670-A96A754336BF@clearvisiontech.com> Message-ID: You mean, you want to call that in the standalone? I am not sure. I would say this is a question either for Charles Warwick or the people at Livecode. > Am 12.07.2017 um 17:13 schrieb Dan Friedman via use-livecode : > > Matthias, > > If I build the standalone with tsNet selected, could I call: > > dispatch "revUnloadLibrary" to stack "tsNetLibUrl" > > at runtime to switch back to libURL? If so, this would give me the option to use either one. > > Thanks! > -Dan > > > On 7/11/17, 6:13 PM, "use-livecode on behalf of use-livecode-request at lists.runrev.com" wrote: > > Hi Dan, > > reading my comment makes me think that it is confusing. > What i wanted to say was, > > To use the ?old? libURL unload tsNET as described, then create the standalone. > The standalone then will use the old libURL. > > One little caveat. The created standalone still contains the tsNET external, although it does not use it. See Bug?19900 > > Regards, > Matthias > > Matthias Rebbe > +49 5741 310000 > ?matthiasrebbe.eu ? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Wed Jul 12 11:34:55 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 12 Jul 2017 11:34:55 -0400 Subject: Refreshing question In-Reply-To: References: Message-ID: <6A512A07-EE47-459D-AF35-E7C5F51A2B36@gmail.com> If the data is always the same, then I would update a page and have the browser read it. Are you looking to reload the whole page or just update a few data points? Sent from my iPhone > On Jul 12, 2017, at 11:11 AM, jbv via use-livecode wrote: > > Hi guys > I have a web page that displays various informations > that need to be updated/refreshed every minute. > What is the best way to achieve that ? > > 1- client side : a settimeout in a js script that > triggers a LC script on a remote server via xmlhttp, > and returns xml data that is analyzed and displayed; > > 2- server side : a cron job triggers the script > every minute and writes the output data in a > specific location on the server; and then the > web page reads that data via a simple LC script > via an xmlhttp request... > > I forgot to mention : the data are the same for > anyone connected to the web page. > > Thanks in advance. > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Jul 12 11:41:51 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 12 Jul 2017 11:41:51 -0400 Subject: Native Livecode Pinch and Zoom In-Reply-To: References: Message-ID: <003c01d2fb25$6213eb40$263bc1c0$@net> I get pinch-and-zoom on both mobile platforms using the mobile browser control. My html expert has had to tweak a couple of html pages now and again to make it work. Other on-line pages don?t pinch-and-zoom but they also don?t pinch-and-zoom in Safari/Chrome either. I tried the browser widget and it is nice that you can use it in the IDE and Mobile but backed it out because the browser widget is missing "canretreat" property and "retreat" command. 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: Wednesday, July 12, 2017 10:40 AM To: How LiveCode Cc: Sannyasin Brahmanathaswami Subject: Native Livecode Pinch and Zoom It appears we won't get pinch and zoom in the browser widget on mobile. It's back to using a native LC interface for a big map adventure where the user can zoom into an area and then pinch back out The use case is still the same: use a "Maha" = enormous/big SVG graphic that looks awesome and sharp at any zoom level Hopefully, soon LC will support a native display of this. In the meantime, before I go hacking away from ground zero, trying to trap gestures and changing the rect of the image object on the fly? I would be interested in any example of this that anyone has already done using native LC code. The zoom of player to degrees is deprecated, and we are not seeing any alternatives in the dictionary. There is an obscure something that I just found that only works on Mac and windows: XPDFViewer_Zoom viewerName, {"width" | "fit" | "actual" | "in" | "out" | percent} The magnify extension is only on desktop Any hope for us on Mobile for pinch and zoom in and out? 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 devin_asay at byu.edu Wed Jul 12 11:43:13 2017 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 12 Jul 2017 15:43:13 +0000 Subject: Native Livecode Pinch and Zoom In-Reply-To: References: Message-ID: <7222CEAB-9745-44D9-ACA3-7828F2354C6F@byu.edu> On Jul 12, 2017, at 8:40 AM, Sannyasin Brahmanathaswami via use-livecode > wrote: It appears we won't get pinch and zoom in the browser widget on mobile. It's back to using a native LC interface for a big map adventure where the user can zoom into an area and then pinch back out The use case is still the same: use a "Maha" = enormous/big SVG graphic that looks awesome and sharp at any zoom level Hopefully, soon LC will support a native display of this. In the meantime, before I go hacking away from ground zero, trying to trap gestures and changing the rect of the image object on the fly? I would be interested in any example of this that anyone has already done using native LC code. The zoom of player to degrees is deprecated, and we are not seeing any alternatives in the dictionary. There is an obscure something that I just found that only works on Mac and windows: XPDFViewer_Zoom viewerName, {"width" | "fit" | "actual" | "in" | "out" | percent} The magnify extension is only on desktop Any hope for us on Mobile for pinch and zoom in and out? BR, I put together a tutorial for my students on how to implement pinch gestures with images. It is in turn adapted from a LiveCode Ltd tutorial on pinch gestures. It might be a good starting point for your project. http://livecode.byu.edu/mobile/gesturesExercise.php HTH Devin Devin Asay Director Office of Digital Humanities Brigham Young University From warren at warrensweb.us Wed Jul 12 11:44:19 2017 From: warren at warrensweb.us (Warren Samples) Date: Wed, 12 Jul 2017 10:44:19 -0500 Subject: Refreshing question In-Reply-To: References: Message-ID: On 07/12/2017 10:11 AM, jbv via use-livecode wrote: > Hi guys > I have a web page that displays various informations > that need to be updated/refreshed every minute. > What is the best way to achieve that ? > > 1- client side : a settimeout in a js script that > triggers a LC script on a remote server via xmlhttp, > and returns xml data that is analyzed and displayed; > > 2- server side : a cron job triggers the script > every minute and writes the output data in a > specific location on the server; and then the > web page reads that data via a simple LC script > via an xmlhttp request... > > I forgot to mention : the data are the same for > anyone connected to the web page. > > Thanks in advance. > jbv > This seems quite unrelated to the topic you replied to but... You can put something like this in the of your webpage: where 15 is the number of seconds to wait in this example. This assumes the page contains a script which displays the current data every time it's called. Warren From mark at livecode.com Wed Jul 12 11:55:12 2017 From: mark at livecode.com (Mark Waddingham) Date: Wed, 12 Jul 2017 17:55:12 +0200 Subject: Native Livecode Pinch and Zoom In-Reply-To: <003c01d2fb25$6213eb40$263bc1c0$@net> References: <003c01d2fb25$6213eb40$263bc1c0$@net> Message-ID: <64245535e2d4f175968b6691e093db45@livecode.com> Hi Ralph, On 2017-07-12 17:41, Ralph DiMola via use-livecode wrote: > I get pinch-and-zoom on both mobile platforms using the mobile browser > control. My html expert has had to tweak a couple of html pages now > and again to make it work. Other on-line pages don?t pinch-and-zoom > but they also don?t pinch-and-zoom in Safari/Chrome either. I tried > the browser widget and it is nice that you can use it in the IDE and > Mobile but backed it out because the browser widget is missing > "canretreat" property and "retreat" command. Could you file a bug about this? (And any differences in parity between widget and mobileControl, for that matter!). IIRC we added: go back in widget .. go forward in widget ... To navigate forward / back (so the retreat command is at least catered for I think). There's also: do ... in widget ... (although this was a horrendous mistake syntactically which we are now realizing!) launch url ... in widget ... If you put 'widget' into the LiveCodeScript section of the dictionary then you'll see the widget specific tailorings of normal LiveCode Script syntax. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jbv at souslelogo.com Wed Jul 12 12:23:08 2017 From: jbv at souslelogo.com (jbv) Date: Wed, 12 Jul 2017 18:23:08 +0200 Subject: Refreshing question In-Reply-To: <6A512A07-EE47-459D-AF35-E7C5F51A2B36@gmail.com> References: <6A512A07-EE47-459D-AF35-E7C5F51A2B36@gmail.com> Message-ID: On Wed, July 12, 2017 5:34 pm, jonathandlynch at gmail.com wrote: > If the data is always the same, then I would update a page and have the > browser read it. > > Are you looking to reload the whole page or just update a few data > points? > I really need to reload the xml data only, as the user will have the possibility to make some choices and changes on the page, and according to those changes, only some parts of the data will be displayed, or will be displayed in a different way... Thanks jbv From mark at livecode.com Wed Jul 12 12:28:43 2017 From: mark at livecode.com (Mark Waddingham) Date: Wed, 12 Jul 2017 18:28:43 +0200 Subject: Refreshing question In-Reply-To: References: <6A512A07-EE47-459D-AF35-E7C5F51A2B36@gmail.com> Message-ID: <19d35d01b47691e61241a46d286166fe@livecode.com> On 2017-07-12 18:23, jbv via use-livecode wrote: > On Wed, July 12, 2017 5:34 pm, jonathandlynch at gmail.com wrote: >> If the data is always the same, then I would update a page and have >> the >> browser read it. >> >> Are you looking to reload the whole page or just update a few data >> points? >> > > I really need to reload the xml data only, as the user will have the > possibility to make some choices and changes on the page, and according > to those changes, only some parts of the data will be displayed, or > will be displayed in a different way... I can see two main options: 1) If the data is expensive to recompute each time, or if you are expecting the number of fetches (for all users) of the data to vastly exceed the number of recomputations then you are probably better off recomputing at a fixed interval in a cron job, and serving the computed data statically. 2) If, however, the data is very cheap to recompute each time, or if you aren't expecting the number of fetches (for all users) of the data to be that much more frequent than the number of recomputations then you are probably better off computing it on demand for a request. There is a third option, which is essentially a combination of the 2 - recompute lazily. If a request comes in and the data needs recomputed, recompute it and ensure all other requests block and wait for it. Then serve it statically to all requests. Option (3) is probably the easiest (it has less 'moving parts'), followed by (2) and then (3). Note: If you need to selectively return data, based on the request, then (2) is probably the best option. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Wed Jul 12 12:30:00 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 12 Jul 2017 19:30:00 +0300 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: <46a62ab0-1b5d-bf28-aefe-9695c0689479@gmail.com> My feedback is here: http://forums.livecode.com/viewtopic.php?f=6&t=29487 including soundings from kids on my summer course. Richmond. From mark at livecode.com Wed Jul 12 12:31:10 2017 From: mark at livecode.com (Mark Waddingham) Date: Wed, 12 Jul 2017 18:31:10 +0200 Subject: Refreshing question In-Reply-To: <19d35d01b47691e61241a46d286166fe@livecode.com> References: <6A512A07-EE47-459D-AF35-E7C5F51A2B36@gmail.com> <19d35d01b47691e61241a46d286166fe@livecode.com> Message-ID: <5029393fe077265c5b42a49f376316e6@livecode.com> On 2017-07-12 18:28, Mark Waddingham via use-livecode wrote: > Option (3) is probably the easiest (it has less 'moving parts'), > followed by (2) and then (3). I meant to say (2) is probably the easiest (it has less 'moving parts'), followed by (1) and then (3). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From prothero at earthlearningsolutions.org Wed Jul 12 12:34:56 2017 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Wed, 12 Jul 2017 09:34:56 -0700 Subject: Refreshing question In-Reply-To: References: <6A512A07-EE47-459D-AF35-E7C5F51A2B36@gmail.com> Message-ID: <126C544D-742D-48EE-89F0-1AA3E508A02B@earthlearningsolutions.org> I'm curious how you manage nearly simultaneous change requests from different users. I can see issues if your application is some kind of real time multi-user game, but if the changes are stored to a file or database, it makes sense. This idea seems interesting and I'm thinking how I might use it. Bill P William Prothero http://es.earthednet.org > On Jul 12, 2017, at 9:23 AM, jbv via use-livecode wrote: > >> On Wed, July 12, 2017 5:34 pm, jonathandlynch at gmail.com wrote: >> If the data is always the same, then I would update a page and have the >> browser read it. >> >> Are you looking to reload the whole page or just update a few data >> points? >> > > I really need to reload the xml data only, as the user will have the > possibility to make some choices and changes on the page, and according > to those changes, only some parts of the data will be displayed, or > will be displayed in a different way... > > Thanks > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthlearningsolutions.org Wed Jul 12 12:37:35 2017 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Wed, 12 Jul 2017 09:37:35 -0700 Subject: Refreshing question In-Reply-To: <5029393fe077265c5b42a49f376316e6@livecode.com> References: <6A512A07-EE47-459D-AF35-E7C5F51A2B36@gmail.com> <19d35d01b47691e61241a46d286166fe@livecode.com> <5029393fe077265c5b42a49f376316e6@livecode.com> Message-ID: <7E634F61-02A7-4811-A586-99DF567C7531@earthlearningsolutions.org> Whoops, I missed the earlier posts. My question was answered. Bill William Prothero http://es.earthednet.org > On Jul 12, 2017, at 9:31 AM, Mark Waddingham via use-livecode wrote: > >> On 2017-07-12 18:28, Mark Waddingham via use-livecode wrote: >> Option (3) is probably the easiest (it has less 'moving parts'), >> followed by (2) and then (3). > > I meant to say (2) is probably the easiest (it has less 'moving parts'), followed by (1) and then (3). > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Jul 12 12:36:38 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Jul 2017 16:36:38 +0000 Subject: Set the tooltip of a datagrid In-Reply-To: References: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> <3215C96B-3323-43C8-A590-30D01EEF5001@iotecdigital.com> Message-ID: <4AD64B47-C2F8-4FA0-B5B5-8362D935B55F@iotecdigital.com> Great tip! (pun intended) So here is what I came up with. Keep in mind that tKeyList is a list of columns I want in the tooltip. The idea is to present the user with a tooltip containing summary information on the datagrid data record. I had to prepend a counter to each key so that it would sort based on the order of the items in tKeyList. Arrays. SHEESH! Sure would be nice if the keys were in the order they were added! I will probably move the relevant code into another handler in my Utilities backscript, then pass the long id of the target, and the key list to that handler. I will also probably update this handler so that in the event no keylist is passed, I will get the datagrid column labels, and use those for a key list. on mouseEnter local tKeyList wait 1 second with messages put the target into tTargetName put tTargetName into tTarget -- we need to preserver the original name if the first word of tTarget is not "field" then pass mouseEnter end if put "sitename,addr1,city,state,zip,contactname,contactphone,contactemail," into tKeyList put "itname,itphone,itemail" after keyList replace quote with empty in tTargetName put the last word of tTargetName into tLine put the dgDataOfLine [tLine] of me into aLineData repeat for each item tKey in tKeyList add 1 to tCounter put aLineData [tKey] into aRecordData [tCounter & ". " & tKey] end repeat put arrayToText(aRecordData, "record") into tText sort lines of tText set the tooltip of tTarget to tText show the tooltip of tTarget breakpoint pass mouseEnter end mouseEnter function arrayToText aArrayData, pFormat, pStripRecordKeys if aArrayData is not an array then put "ERROR: Data passed is not an array!" into theValue return theValue end if if pStripRecordKeys is not in "true|false" then put false into pStripRecordKeys -- sort tArrayKeys ascending -- may be an array of values put the keys of aArrayData into tArrayKeys sort lines of tArrayKeys numeric ascending put line 1 of tArrayKeys is 0 into tHasHeader -- convert single array to numeric array of arrays if line 1 of tArrayKeys is not a number then put aArrayData into aTempArray [1] put aTempArray into aArrayData put the keys of aArrayData into tArrayKeys end if switch pFormat case "record" repeat for each line tArrayKey in tArrayKeys put aArrayData [tArrayKey] into aArrayRecord put the keys of aArrayRecord into tColumnKeys repeat for each line tColumnKey in tColumnKeys put tColumnKey & ": " & aArrayRecord [tColumnKey] & cr after tValue end repeat end repeat break case "table" -- table header if not tHasHeader then put cr into tValue repeat for each line tArrayKey in tArrayKeys add 1 to tCount put aArrayData [tArrayKey] into aArrayRecord put the keys of aArrayRecord into tColumnKeys sort lines of tColumnKeys numeric ascending repeat for each line tColumnKey in tColumnKeys if pStripRecordKeys and (char 1 of tColumnKey is "@") then next repeat if tCount = 1 and not tHasHeader then put tColumnKey & tab after line 1 of tValue put aArrayRecord [tColumnKey] & tab after tValue end repeat put cr into last char of tValue end repeat break end switch return tValue end arrayToText Bob S > On Jul 11, 2017, at 19:09 , Mike Bonner via use-livecode wrote: > > There should be a couple ways.. Assuming the tooltip data and the displayed > data are already associated, you can do as suggested and pass in the popop > information as part of the dgdata.. Then in the fillindata you 'set the > tooltip of field 1 of me to ... the data that was passed in with the array. > To do this though i _Think_ you'd need a custom behavior for every > column. > > To get around this, you could use a mouseenter in the script of the > datagrid itself that does something like.. > > on mouseenter > get the text of the target > -- then use the text of the target to look up your tooltip data and.. > set the tooltip of the target to "whateveryouwant" > > end mouseenter > > i tested by setting the tooltip to a random number and it seems to work > fine. > > If you're using a form rather than a grid, its much easier, just use the > first method in the behavior script to set whatever tooltips you like as > part of the fillindata. A single script edit to handle all tooltips. From ambassador at fourthworld.com Wed Jul 12 12:39:44 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Jul 2017 09:39:44 -0700 Subject: Native Livecode Pinch and Zoom In-Reply-To: <64245535e2d4f175968b6691e093db45@livecode.com> References: <64245535e2d4f175968b6691e093db45@livecode.com> Message-ID: <2eaf1d2e-fed7-0ed0-3928-c871506363f8@fourthworld.com> Should we also consider adding aomething like a "zoomable" property for images? Sure, we can do it in script, but it's non-trivial and most get it wrong, e.g.: ..where the zoom is based around the centerpoint of the image rather than the touch location. That makes it impossible to zoom in to see details in a corner of an image, for example. There are improved versions in the forums, but given the widespread use of pinch-to-zoom and and efforts underway to expand the user base to better meet new user expectations, would it be possible to turn that work into a property setting? Interactive wipe transitions would also be valuable, arguably more so, but I recognize that's a more complicated matter and I'm already straying OT here.... -- 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 jonathandlynch at gmail.com Wed Jul 12 12:42:52 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 12 Jul 2017 12:42:52 -0400 Subject: Refreshing question In-Reply-To: References: <6A512A07-EE47-459D-AF35-E7C5F51A2B36@gmail.com> Message-ID: <84973ABF-CD76-49CC-B69F-0C92CFBD07FB@gmail.com> You can access the online data through LC, either synchronously or asynchronously, and process it as you need in LC. Then, you can send that data to the browser widget where you use Javascript to display it within the browser, by setting the innerHTML of a div or some other method. In this way, your data will update seamlessly without having any sort of obnoxious page reload. A page reload might not be bad for a simple page, but can be disruptive for a complex page. This method also minimizes the amount of data transferred, if that is an issue. Sent from my iPhone > On Jul 12, 2017, at 12:23 PM, jbv via use-livecode wrote: > >> On Wed, July 12, 2017 5:34 pm, jonathandlynch at gmail.com wrote: >> If the data is always the same, then I would update a page and have the >> browser read it. >> >> Are you looking to reload the whole page or just update a few data >> points? >> > > I really need to reload the xml data only, as the user will have the > possibility to make some choices and changes on the page, and according > to those changes, only some parts of the data will be displayed, or > will be displayed in a different way... > > Thanks > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Jul 12 12:56:22 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Jul 2017 09:56:22 -0700 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: <45E1C76D-A5E6-42B0-80D8-4106919236EA@unimelb.edu.au> References: <45E1C76D-A5E6-42B0-80D8-4106919236EA@unimelb.edu.au> Message-ID: <84603ea4-02a4-6312-c68b-716519f49fa8@fourthworld.com> Terry Judd wrote: > I?ve just had a quick play with the enhanced script editor and these > all seem like good suggestions to me, and in the script editor pane of > the preferences window I?d allow the user to (i) hide/show the list of > available common handlers and (ii) hide/show included comments on > their functionality. If the toggle is either in-window or in the SE's View menu that would be great. I would caution against adding more stuff to the Prefs window, for reasons too lengthy to indulge in here. I also like the suggestion to color the suggested handler names slightly gray to further distinguish them from those that actually exist. Ideally the gray would be slightly darker than the one used to indicate disabled state, just gray enough to distinguish them. And as long as we're improving the SE UX, can we please allow the background color preference setting to affect both panes in the SE, the editing field (as it does now) and also the handler list (not yet)? Bug 11204 - Script Editor Enhancement: use same color for both editing field and handler list Background and foreground colors are VERY important for long typing sessions, but the value of supporting them here is compromised by requiring that the handler list always remain stark white. When we adjust colors we usually do so to reduce contrast to mitigate eye strain, but with the handler list color non-settable it quickly becomes the most visually-dominant element in the window, even though it has a very secondary role compared to the main editing field. -- 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 Wed Jul 12 13:02:43 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 12 Jul 2017 20:02:43 +0300 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: <84603ea4-02a4-6312-c68b-716519f49fa8@fourthworld.com> References: <45E1C76D-A5E6-42B0-80D8-4106919236EA@unimelb.edu.au> <84603ea4-02a4-6312-c68b-716519f49fa8@fourthworld.com> Message-ID: <7704a901-a8ce-e2dc-d16d-e318611d5ecc@gmail.com> On 7/12/17 7:56 pm, Richard Gaskin via use-livecode wrote: for reasons too lengthy to indulge in here. Please could you indulge in them somewhere so we can understand your argument fully. Richmond. From ambassador at fourthworld.com Wed Jul 12 13:05:19 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Jul 2017 10:05:19 -0700 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: <846c69bb-f4d3-5e57-5cbb-9da72879d243@fourthworld.com> Kevin Miller wrote: > We are working hard to attract new users to the platform. This has > come up again and again in user testing. This evening we tested this > new handler list on new users for the first time. It went over very > well. It does indeed seem very helpful, but even better to hear that the team is making time for user testing. Perhaps a blog post about that would be a great read, not only to better appreciate the thinking behind changes but also to inspire your audience of developers to adopt similar methodologies. So much of software success these days is based around UX far more than algorithms. Encouraging good design practice helps your audience be more successful, and raises the visibility of the platform as a whole along the way. Supporting these efforts to better serve new users, have you had a moment to consider this quickie?: Bug 19511 - UX: Move "User Guide" higher in the Help menu An investment of just a few minutes can help make learning resources much more readily discoverable. If you have time for further refinement of other items in the Help menu I'm at your service, feel free to call anytime. But if a first pass were limited to the very minor suggestions outlined there, I believe it would cut down on some of the forum posts stemming from people not knowing LC ships with a wonderfully comprehensive User Guide. -- 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 bonnmike at gmail.com Wed Jul 12 13:44:22 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 12 Jul 2017 11:44:22 -0600 Subject: Set the tooltip of a datagrid In-Reply-To: <4AD64B47-C2F8-4FA0-B5B5-8362D935B55F@iotecdigital.com> References: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> <3215C96B-3323-43C8-A590-30D01EEF5001@iotecdigital.com> <4AD64B47-C2F8-4FA0-B5B5-8362D935B55F@iotecdigital.com> Message-ID: rather than get the data of the line (unkeyed) can you just grab the index, and use that to pick out your tooltip? (barely glanced at this so far, so i might be way off) On Wed, Jul 12, 2017 at 10:36 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Great tip! (pun intended) > > So here is what I came up with. Keep in mind that tKeyList is a list of > columns I want in the tooltip. The idea is to present the user with a > tooltip containing summary information on the datagrid data record. I had > to prepend a counter to each key so that it would sort based on the order > of the items in tKeyList. Arrays. SHEESH! Sure would be nice if the keys > were in the order they were added! > > I will probably move the relevant code into another handler in my > Utilities backscript, then pass the long id of the target, and the key list > to that handler. I will also probably update this handler so that in the > event no keylist is passed, I will get the datagrid column labels, and use > those for a key list. > > on mouseEnter > local tKeyList > wait 1 second with messages > put the target into tTargetName > put tTargetName into tTarget -- we need to preserver the original name > > if the first word of tTarget is not "field" then > pass mouseEnter > end if > > put "sitename,addr1,city,state,zip,contactname,contactphone,contactemail," > into tKeyList > put "itname,itphone,itemail" after keyList > replace quote with empty in tTargetName > put the last word of tTargetName into tLine > put the dgDataOfLine [tLine] of me into aLineData > > repeat for each item tKey in tKeyList > add 1 to tCounter > put aLineData [tKey] into aRecordData [tCounter & ". " & tKey] > end repeat > > put arrayToText(aRecordData, "record") into tText > sort lines of tText > set the tooltip of tTarget to tText > show the tooltip of tTarget > breakpoint > pass mouseEnter > end mouseEnter > > function arrayToText aArrayData, pFormat, pStripRecordKeys > if aArrayData is not an array then > put "ERROR: Data passed is not an array!" into theValue > return theValue > end if > > if pStripRecordKeys is not in "true|false" then put false into > pStripRecordKeys > -- sort tArrayKeys ascending > > -- may be an array of values > put the keys of aArrayData into tArrayKeys > sort lines of tArrayKeys numeric ascending > put line 1 of tArrayKeys is 0 into tHasHeader > > -- convert single array to numeric array of arrays > if line 1 of tArrayKeys is not a number then > put aArrayData into aTempArray [1] > put aTempArray into aArrayData > put the keys of aArrayData into tArrayKeys > end if > > switch pFormat > case "record" > repeat for each line tArrayKey in tArrayKeys > put aArrayData [tArrayKey] into aArrayRecord > put the keys of aArrayRecord into tColumnKeys > > repeat for each line tColumnKey in tColumnKeys > put tColumnKey & ": " & aArrayRecord [tColumnKey] & cr > after tValue > end repeat > end repeat > break > case "table" > -- table header > if not tHasHeader then put cr into tValue > > repeat for each line tArrayKey in tArrayKeys > add 1 to tCount > put aArrayData [tArrayKey] into aArrayRecord > put the keys of aArrayRecord into tColumnKeys > sort lines of tColumnKeys numeric ascending > > repeat for each line tColumnKey in tColumnKeys > if pStripRecordKeys and (char 1 of tColumnKey is "@") > then next repeat > > if tCount = 1 and not tHasHeader then put tColumnKey & > tab after line 1 of tValue > put aArrayRecord [tColumnKey] & tab after tValue > end repeat > > put cr into last char of tValue > end repeat > break > end switch > > return tValue > end arrayToText > > Bob S > > > > On Jul 11, 2017, at 19:09 , Mike Bonner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > There should be a couple ways.. Assuming the tooltip data and the > displayed > > data are already associated, you can do as suggested and pass in the > popop > > information as part of the dgdata.. Then in the fillindata you 'set the > > tooltip of field 1 of me to ... the data that was passed in with the > array. > > To do this though i _Think_ you'd need a custom behavior for every > > column. > > > > To get around this, you could use a mouseenter in the script of the > > datagrid itself that does something like.. > > > > on mouseenter > > get the text of the target > > -- then use the text of the target to look up your tooltip data and.. > > set the tooltip of the target to "whateveryouwant" > > > > end mouseenter > > > > i tested by setting the tooltip to a random number and it seems to work > > fine. > > > > If you're using a form rather than a grid, its much easier, just use the > > first method in the behavior script to set whatever tooltips you like as > > part of the fillindata. A single script edit to handle all tooltips. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Wed Jul 12 13:47:19 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Jul 2017 17:47:19 +0000 Subject: Set the tooltip of a datagrid In-Reply-To: <4AD64B47-C2F8-4FA0-B5B5-8362D935B55F@iotecdigital.com> References: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> <3215C96B-3323-43C8-A590-30D01EEF5001@iotecdigital.com> <4AD64B47-C2F8-4FA0-B5B5-8362D935B55F@iotecdigital.com> Message-ID: <6EA32D91-A17A-4F1E-BE3E-22D935427B32@iotecdigital.com> Okay now my problem is that now the line "show the toolTip of tTarget" generates an error, but it doesn't say WHAT the error is. If I use a try catch and get the error I get this: 69,112,12,1. sitename: Integrated Office Technologies Santa Fe Springs 547,112,12 Could it be that for some reason the tooltip is too long?? Bob S From bonnmike at gmail.com Wed Jul 12 13:52:51 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 12 Jul 2017 11:52:51 -0600 Subject: Set the tooltip of a datagrid In-Reply-To: <6EA32D91-A17A-4F1E-BE3E-22D935427B32@iotecdigital.com> References: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> <3215C96B-3323-43C8-A590-30D01EEF5001@iotecdigital.com> <4AD64B47-C2F8-4FA0-B5B5-8362D935B55F@iotecdigital.com> <6EA32D91-A17A-4F1E-BE3E-22D935427B32@iotecdigital.com> Message-ID: Are you sure you need that line at all? Seems like once the tooltip is set, it will show up after the tooltipdelay has passed. At least it did for me in my quicky experiment. On Wed, Jul 12, 2017 at 11:47 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Okay now my problem is that now the line "show the toolTip of tTarget" > generates an error, but it doesn't say WHAT the error is. If I use a try > catch and get the error I get this: > > 69,112,12,1. sitename: Integrated Office Technologies Santa Fe Springs > 547,112,12 > > Could it be that for some reason the tooltip is too long?? > > 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 bobsneidar at iotecdigital.com Wed Jul 12 13:54:55 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Jul 2017 17:54:55 +0000 Subject: Set the tooltip of a datagrid In-Reply-To: References: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> <3215C96B-3323-43C8-A590-30D01EEF5001@iotecdigital.com> <4AD64B47-C2F8-4FA0-B5B5-8362D935B55F@iotecdigital.com> <6EA32D91-A17A-4F1E-BE3E-22D935427B32@iotecdigital.com> Message-ID: Yes just figured that out thank you. Initially it wasn't displaying, but I think that was because of an early bug which I already quashed. Apparently there is no command for showing a tooltip. Bob S > On Jul 12, 2017, at 10:52 , Mike Bonner via use-livecode wrote: > > Are you sure you need that line at all? Seems like once the tooltip is > set, it will show up after the tooltipdelay has passed. At least it did > for me in my quicky experiment. From johnpatten at me.com Wed Jul 12 14:00:01 2017 From: johnpatten at me.com (JOHN PATTEN) Date: Wed, 12 Jul 2017 11:00:01 -0700 Subject: MobileControlCreate Scroller? Message-ID: <4605BC15-F943-4303-8992-D0A1001C5722@me.com> Hi All, I have a group that consists of a couple of buttons and a field. The field can contain text that fits nicely with it, and at times, text that is outside the bounds of the field. This app is targeted for an iPhone. I wanted to create a mobile scroller to allow the user to scroll the field when the text is longer than the field. I am using the tutorial online (http://lessons.livecode.com/m/4069/l/94412-creating-a-native-scroller-to-scroll-a-field ) and this scrip. I have placed the script in the stack as the group containing the field is a background and appears on every card. On cards where the text extends beyond the field, the mobile scroller appears, however when I scroll the field in the iPhone, the text does not move and I don?t see the text below the boundary of the field. What am i doing incorrect? local sScrollerID on preOpenCard local tScrollerRect,tContentRect if environment() is not "mobile" then exit preOpenCard mobileControlCreate "scroller", "loremScroll" put the result into sScrollerID put the rect of fld "FieldNotes" of group id 1012 into tScrollerRect --put the rect of group id 1012 into tScrollerRect put the topleft of fld "FieldNotes" of group id 1012 & "," & the right of fld "FieldNotes" of group id 1012 &","&( the top of fld "FieldNotes" of group id 1012 + the formattedHeight of fld "FieldNotes" of group id 1012) into tContentRect mobileControlSet "loremScroll", "rect", tScrollerRect mobileControlSet "loremScroll", "contentRect", tContentRect mobileControlSet "loremScroll", "visible", true mobileControlSet "loremScroll", "scrollingEnabled", true mobileControlSet "loremScroll", "vIndicator", true mobileControlSet "loremScroll", "vscroll", 0 mobileControlSet "loremScroll", "canBounce", true end preOpenCard on scrollerDidScroll hOffset, vOffset // When the user scrolls move the displayed content set the vScroll of fld "scrollMe" to vOffset --set the vScroll of group id 1012 to vOffset end scrollerDidScroll Thank you! John Patten SUSD From ahsoftware at sonic.net Wed Jul 12 14:01:54 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 12 Jul 2017 11:01:54 -0700 Subject: Set the tooltip of a datagrid In-Reply-To: <6EA32D91-A17A-4F1E-BE3E-22D935427B32@iotecdigital.com> References: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> <3215C96B-3323-43C8-A590-30D01EEF5001@iotecdigital.com> <4AD64B47-C2F8-4FA0-B5B5-8362D935B55F@iotecdigital.com> <6EA32D91-A17A-4F1E-BE3E-22D935427B32@iotecdigital.com> Message-ID: On 07/12/2017 10:47 AM, Bob Sneidar via use-livecode wrote: > Okay now my problem is that now the line "show the toolTip of tTarget" generates an error, but it doesn't say WHAT the error is. If I use a try catch and get the error I get this: > > 69,112,12,1. sitename: Integrated Office Technologies Santa Fe Springs > 547,112,12 > > Could it be that for some reason the tooltip is too long?? More likely because that isn't valid syntax. If you want to do that instead of letting the OS handle it you're going to have to create your own tooltip mechanism. Better to set the tooltip text and let the computer do its magic. -- Mark Wieder ahsoftware at gmail.com From johnpatten at me.com Wed Jul 12 14:03:04 2017 From: johnpatten at me.com (JOHN PATTEN) Date: Wed, 12 Jul 2017 11:03:04 -0700 Subject: MobileControlCreate Scroller? SOLVED In-Reply-To: <4605BC15-F943-4303-8992-D0A1001C5722@me.com> References: <4605BC15-F943-4303-8992-D0A1001C5722@me.com> Message-ID: <54B1BC10-4194-47A4-8C4F-7FEE245D0CE4@me.com> Never mind :( I hate when that happens :) wrong fld name in > On Jul 12, 2017, at 11:00 AM, JOHN PATTEN via use-livecode wrote: > > Hi All, > > I have a group that consists of a couple of buttons and a field. The field can contain text that fits nicely with it, and at times, text that is outside the bounds of the field. This app is targeted for an iPhone. I wanted to create a mobile scroller to allow the user to scroll the field when the text is longer than the field. > > I am using the tutorial online (http://lessons.livecode.com/m/4069/l/94412-creating-a-native-scroller-to-scroll-a-field ) and this scrip. I have placed the script in the stack as the group containing the field is a background and appears on every card. > > On cards where the text extends beyond the field, the mobile scroller appears, however when I scroll the field in the iPhone, the text does not move and I don?t see the text below the boundary of the field. > > What am i doing incorrect? > > > local sScrollerID > > on preOpenCard > > local tScrollerRect,tContentRect > > if environment() is not "mobile" then exit preOpenCard > > mobileControlCreate "scroller", "loremScroll" > > put the result into sScrollerID > > put the rect of fld "FieldNotes" of group id 1012 into tScrollerRect > > --put the rect of group id 1012 into tScrollerRect > > put the topleft of fld "FieldNotes" of group id 1012 & "," & the right of fld "FieldNotes" of group id 1012 &","&( the top of fld "FieldNotes" of group id 1012 + the formattedHeight of fld "FieldNotes" of group id 1012) into tContentRect > > mobileControlSet "loremScroll", "rect", tScrollerRect > > mobileControlSet "loremScroll", "contentRect", tContentRect > > mobileControlSet "loremScroll", "visible", true > > mobileControlSet "loremScroll", "scrollingEnabled", true > > mobileControlSet "loremScroll", "vIndicator", true > > mobileControlSet "loremScroll", "vscroll", 0 > > mobileControlSet "loremScroll", "canBounce", true > > end preOpenCard > > > on scrollerDidScroll hOffset, vOffset > > // When the user scrolls move the displayed content > > set the vScroll of fld "scrollMe" to vOffset > > --set the vScroll of group id 1012 to vOffset > > end scrollerDidScroll > > > > Thank you! > John Patten > SUSD > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Wed Jul 12 14:03:45 2017 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 12 Jul 2017 11:03:45 -0700 Subject: Set the tooltip of a datagrid In-Reply-To: References: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> <3215C96B-3323-43C8-A590-30D01EEF5001@iotecdigital.com> <4AD64B47-C2F8-4FA0-B5B5-8362D935B55F@iotecdigital.com> <6EA32D91-A17A-4F1E-BE3E-22D935427B32@iotecdigital.com> Message-ID: <7eb6e514-7e06-3a17-f395-b53b8f468f7f@pdslabs.net> BUT you can set the toolTipDelay, to speed up or slow down its appearance. That's about it. Phil Davis On 7/12/17 10:54 AM, Bob Sneidar via use-livecode wrote: > Yes just figured that out thank you. Initially it wasn't displaying, but I think that was because of an early bug which I already quashed. Apparently there is no command for showing a tooltip. > > Bob S > > >> On Jul 12, 2017, at 10:52 , Mike Bonner via use-livecode wrote: >> >> Are you sure you need that line at all? Seems like once the tooltip is >> set, it will show up after the tooltipdelay has passed. At least it did >> for me in my quicky experiment. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dan at clearvisiontech.com Wed Jul 12 14:34:55 2017 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 12 Jul 2017 18:34:55 +0000 Subject: [ANN] Release 8.1.5 -- tsneterr Message-ID: <3450D77E-012E-4D47-B5B5-AD8CC06514BB@clearvisiontech.com> Charles, Yes, I do have resetAll in my scripts. I use it when a communications error has occurred as a way to reset and try again. If tsNet is in play, I gather I should not call resetAll? If not, is there something else I should be doing? Also, is there a way (via a property) to determine if tsNet or libURL is handling the network? Thank you! -Dan On 7/12/17, 9:38 AM, "use-livecode on behalf of use-livecode-request at lists.runrev.com" wrote: Hi Dan, The error message "Not initialised" (the spelling is correct depending on where you live ;-) ) indicates that the tsNet external isn't running. If you are using libUrl which I am guessing you are, tsNet is initialised on startup, so this would indicate that it has either been shut down by calling tsNetClose directly, or by a call to the libUrl "resetAll" or "libUrlCancel" commands (which temporarily shut down the external and start it back up to clear all connections). I have seen code posted on the list in the past which invoked "resetAll" to deal with issues in older versions of libUrl. Do you use these commands at all in your project? Regards, Charles From jacque at hyperactivesw.com Wed Jul 12 14:40:46 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Jul 2017 13:40:46 -0500 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: On 7/12/17 9:26 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > And since we are look at usability of the script editor and add ons I would LOVE to have the ability to show "sections" in my scripts > > I think it was years ago, or maybe even nowin GLX? anyway, Jerry Daniels had that, where some kind of convention at the beginning of a comment, would cause it to appear on the left panel list. I regularly do something like this: on _____UTILITIES_____ end _____UTILITIES_____ It shows up in the handler list as a label with a pseudo-divider line. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Jul 12 15:36:21 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Jul 2017 12:36:21 -0700 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: <7704a901-a8ce-e2dc-d16d-e318611d5ecc@gmail.com> References: <7704a901-a8ce-e2dc-d16d-e318611d5ecc@gmail.com> Message-ID: Richmond Mathewson wrote: > On 7/12/17 7:56 pm, Richard Gaskin via use-livecode wrote: > > for reasons too lengthy to indulge in here. > > > Please could you indulge in them somewhere so we can understand your > argument fully. For future readers to better understand my reply here, it may be helpful to include the relevant portion of the message so they can know what's being described: If the toggle is either in-window or in the SE's View menu that would be great. I would caution against adding more stuff to the Prefs window, for reasons too lengthy to indulge in here. TL;DR version: Immediacy. Rambling version: Discoverability is part of this, and, once discovered, ease of access becomes another important part. If you want to change something you're looking at, it's often better to provide the means to do so in the thing being looked at, rather than in one of several panes contained in some separate window which may be found by accessing an item tucked away at the bottom of a menu. A user will be able to discover that something can be changed in relation to the conceptual distance between the thing being changed and the location of the control that makes the change. Ideally (and admitting up front that we don't live in an ideal universe, so there is no one-size-fits-all rule for every design problem), this would translate to a hierarchy that favors, in order of discoverability: 1. The content region of the window (rare for View options, since that's usually where the user puts their own stuff, but definitely at the forefront of user consciousness). 2. A secondary pane within the window (such as the View options at the bottom of many popular apps like Apple's TextEdit). 3. A menu item accessible while the window they want to change is in front (most HIGs specify a View menu for exactly this purpose). 4. A separate window which can be opened from a menu item (typically "Preferences" on Mac and "Options" on Windows). (Side note: Context menus are not even considered here since they never include options not also available through more evident means.) This hierarchy of immediacy might tempt us to cram every option directly in the user's window, but of course throwing all options in front of the user often backfires with cognitive overload and visual clutter, so we want to think carefully about what goes where. Whether an option is part of the local view, or a menu, or better handled through a separate Preferences window isn't always obvious with complete confidence, and like most things can involve a bit of guessing (though guessing can be mitigated with A/B user testing). But there are some questions that can be helpful in making that choice: - Might the user want to change the setting more than once? Things like the script editing field's background color is often set once and rarely if ever changed. It's a good candidate for the Prefs window. Things like ordering handlers either alphabetically or sequentially may be changed several times per session, a good candidate for a View pane at the bottom of the window, or at very least a menu item with a memorable shortcut. I can envision wanting to toggle the visibility of suggested handlers frequently during a session. - Are there any potential downsides to leaving the default? As handy as the new list is, it risks confusion at first. Certainly not cripplingly so, and easily learnable, but it must be learned. When a single control contains content used two different purposes, it's not necessarily a red flag but may be a yellow flag, requiring the designer to proceed with caution. Providing some self-evident means of turning those off helps communicate to the user that, handy as they are, they are of secondary importance to the list of handlers actually in the script being viewed. It's helpful to keep in mind that a very large majority of users never change any prefs in any app at all*, so anything we tuck away from immediate view off into a Preferences window should be the subset of options whose defaults are completely without downside. - Are there any potential downsides to providing control over the setting directly in the context it applies to? Clutter is always a risk. And with anything involving reading or writing text, vertical space is a VERY high priority, esp. given that the most common screen size by far (roughly twice as many as the second-leading size) is only 768px tall. So while we always want to be mindful of clutter, we want to be especially mindful of vertical screen space in any layout involving scrolling text. Adding a new View pane would a poor choice for this reason. But the LC SE has plenty of rarely-used space in the bottom-most group already there, currently used for left-aligned notifications but the rest usually empty. Since the group already has space, there seems little downside to considering a couple of the most frequently used View options there, such as perhaps hiding the suggested handlers and ordering of the handlers in that list. If that's at all problematic (textual controls are likely too long to fit, and icons too abstract to be worth using), having those available in a View menu takes no screen real estate and still keeps them in a more discoverable local context. Extra bonus points that putting that in a menu is probably the most cost-effective option in terms of development time. There may be other reasons, but this has already gotten waaaay too long. :) * In UX circles they bandy about "80% of users never change preference settings" so often it's usually taken for granted, but this morning as I noted that above I wondered about the actual research behind it. Of course that rubric applies only to consumer apps. There are many reasons why guidelines established from consumer research don't apply to developer tools, given the very narrow and highly specific demographic developers represent. That caveat out of the way, for general app design it can be useful to learn about, so I did a quick search this morning. My brief effort didn't turn up that original "80%" figure (would be nice if someone here has time to find it and provide a link), but along the way I found this gem from Jared Spool @ User Interface Engineering: What we found was really interesting. Less than 5% of the users we surveyed had changed any settings at all. More than 95% had kept the settings in the exact configuration that the program installed in. ... (Big takeaway: If you?re a programmer or designer, then you?re not like most people. Just because you change your settings in apps you use doesn?t mean that your users will, unless they are also programmers and designers.) We?ve repeated this experiment in various forms over the years. We?ve found it to be consistently true: users rarely change their settings. Like everything else at UIE.com, the details there are worth reading. That experiment has somewhat limited scope, but given how closely it seems to match other findings it seems worth at least noting the takeaway there: Consider your app's defaults very carefully, because for most users they'll be the only options they'll ever experience. -- 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 terry.judd at unimelb.edu.au Wed Jul 12 15:57:47 2017 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 12 Jul 2017 19:57:47 +0000 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: <84603ea4-02a4-6312-c68b-716519f49fa8@fourthworld.com> References: <45E1C76D-A5E6-42B0-80D8-4106919236EA@unimelb.edu.au> <84603ea4-02a4-6312-c68b-716519f49fa8@fourthworld.com> Message-ID: <634564BB-1040-48D5-AFD6-B7FD8A321D8C@unimelb.edu.au> On 13/07/2017 2:56 am, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: I would caution against adding more stuff to the Prefs window, for reasons too lengthy to indulge in here. Perhaps having a button in the script editor that links to the script editor pane of the prefs window would be a useful enhancement then ? if not for configuring the default handler list, then just generally? Terry... From bobsneidar at iotecdigital.com Wed Jul 12 16:05:04 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Jul 2017 20:05:04 +0000 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: Message-ID: <1AFF1AEE-4707-447A-82FE-9CCCCE00BB03@iotecdigital.com> Brilliant as usual. Bob S > On Jul 12, 2017, at 11:40 , J. Landman Gay via use-livecode wrote: > >> And since we are look at usability of the script editor and add ons I would LOVE to have the ability to show "sections" in my scripts >> I think it was years ago, or maybe even nowin GLX? anyway, Jerry Daniels had that, where some kind of convention at the beginning of a comment, would cause it to appear on the left panel list. > > I regularly do something like this: > > on _____UTILITIES_____ > end _____UTILITIES_____ > > It shows up in the handler list as a label with a pseudo-divider line. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From hh at hyperhh.de Wed Jul 12 16:09:29 2017 From: hh at hyperhh.de (hh) Date: Wed, 12 Jul 2017 22:09:29 +0200 Subject: [ANN] Release 8.1.6 RC-1 Message-ID: > RG wrote: > I would caution against adding more stuff to the Prefs window, for > reasons too lengthy to indulge in here. The new stuff could replace "Compatibility" (and "Updates" could be replaced with one link to downloads.livecode.com). From hello at simonsmith.co Wed Jul 12 16:10:53 2017 From: hello at simonsmith.co (Simon Smith) Date: Wed, 12 Jul 2017 22:10:53 +0200 Subject: Refreshing question In-Reply-To: <84973ABF-CD76-49CC-B69F-0C92CFBD07FB@gmail.com> References: <6A512A07-EE47-459D-AF35-E7C5F51A2B36@gmail.com> <84973ABF-CD76-49CC-B69F-0C92CFBD07FB@gmail.com> Message-ID: Hi Couple of ways you could look at doing it. Depending on the formatting of the page, you could use an iframe and just get the page that is getting loaded each time to refresh with something like - this would just reload the section of the page and not the entire page. You could also use a jquery to reload just a portion of the page and something like:
$(document).ready(function () { setInterval(function() { $("#content").load("http://mydomain.com/script.ls"); }, 5000); }) If the data that you are wanting to display is in XML, and you are just wanting to load that XML file every minute, I would look at using Jquery's AJAX functionality, (http://api.jquery.com/jquery.ajax/) wrapped inside a setTimeout function. Simon Carpe diem *Simon Smith* m. +27 83 306 7862 On Wed, Jul 12, 2017 at 6:42 PM, Jonathan Lynch via use-livecode < use-livecode at lists.runrev.com> wrote: > You can access the online data through LC, either synchronously or > asynchronously, and process it as you need in LC. > > Then, you can send that data to the browser widget where you use > Javascript to display it within the browser, by setting the innerHTML of a > div or some other method. > > In this way, your data will update seamlessly without having any sort of > obnoxious page reload. A page reload might not be bad for a simple page, > but can be disruptive for a complex page. > > This method also minimizes the amount of data transferred, if that is an > issue. > > Sent from my iPhone > > > On Jul 12, 2017, at 12:23 PM, jbv via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > >> On Wed, July 12, 2017 5:34 pm, jonathandlynch at gmail.com wrote: > >> If the data is always the same, then I would update a page and have the > >> browser read it. > >> > >> Are you looking to reload the whole page or just update a few data > >> points? > >> > > > > I really need to reload the xml data only, as the user will have the > > possibility to make some choices and changes on the page, and according > > to those changes, only some parts of the data will be displayed, or > > will be displayed in a different way... > > > > Thanks > > jbv > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Wed Jul 12 16:36:42 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Jul 2017 20:36:42 +0000 Subject: Set the tooltip of a datagrid In-Reply-To: References: <02ED1B2B-E9F4-460A-95FB-5C9D89EAF47F@iotecdigital.com> <0bde9cf7-4f91-16c9-aefc-3c15e5e927a5@sonic.net> <3215C96B-3323-43C8-A590-30D01EEF5001@iotecdigital.com> <4AD64B47-C2F8-4FA0-B5B5-8362D935B55F@iotecdigital.com> <6EA32D91-A17A-4F1E-BE3E-22D935427B32@iotecdigital.com> Message-ID: Well I just discovered an amazing thing. You can get the dgData of a CONTROL of a datagrid and it still returns the data. For instance if you know that the dgLine you want is 3 and the control name is siteid 0003, you can put the dgDataOfLine [3] of field "siteid 0003" into aData and you will get the array for that line! It appears you can do that for ANY control in a datagrid! Why is this important?? Because if all I know is the name of the target (in this case a field in a datagrid) I can at least get the line number it belongs to, but how do I then discern the name of the datagrid it belongs to in order to get the dgDataOfLine?? Turns out that because of this you do not need to! You might think getting the owner of the control would do it, but you at least have to get the owner of the owner, and for some datagrids there are two other groups that are parent owners of THAT group before you get to the actual datagrid group. It just all depends. All irrelevant because the syntax above works a peach! Bob S From bobsneidar at iotecdigital.com Wed Jul 12 17:07:33 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Jul 2017 21:07:33 +0000 Subject: Error Report Message-ID: I just compiled a Mac standalone. App works in the IDE. I get this error when I point at a datagrid control. This is my new function for displaying a tooltip when pointing at a datagrid record. The error "Chunk: error in range start expression" is what throws me. I am passing the long ID of the datagrid control, and I am noticing that the ID of the control is in the millions (as you would expect of a stack that makes extensive use of datagrids for loading data from a database). Am I running into the issue of capping the id of an object?? Executing at 2:04:18 PM on Wednesday, July 12, 2017 Type: Chunk: error in range start expression Object: group 'dgSites' of group 'grpSites' of card 'Main' of stack '/Applications/Forms Generator.app/Contents/MacOS/Forms Generator 8.livecode' Line: dgToolTip tTarget, tKeyList Line Num: 4932 Hint: dgIndexOfLine Comments: From bobsneidar at iotecdigital.com Wed Jul 12 17:09:37 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Jul 2017 21:09:37 +0000 Subject: Error Report In-Reply-To: References: Message-ID: NVM I figured it out. I am failing to filter out datagrid objects that are NOT fields. I thought I had taken care of that but I guess not. Bob S > On Jul 12, 2017, at 14:07 , Bob Sneidar via use-livecode wrote: > > I just compiled a Mac standalone. App works in the IDE. I get this error when I point at a datagrid control. This is my new function for displaying a tooltip when pointing at a datagrid record. > > The error "Chunk: error in range start expression" is what throws me. I am passing the long ID of the datagrid control, and I am noticing that the ID of the control is in the millions (as you would expect of a stack that makes extensive use of datagrids for loading data from a database). Am I running into the issue of capping the id of an object?? > > Executing at 2:04:18 PM on Wednesday, July 12, 2017 > Type: Chunk: error in range start expression > Object: group 'dgSites' of group 'grpSites' of card 'Main' of stack '/Applications/Forms Generator.app/Contents/MacOS/Forms Generator 8.livecode' > Line: dgToolTip tTarget, tKeyList > Line Num: 4932 > Hint: dgIndexOfLine > > Comments: > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 12 17:14:45 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Jul 2017 16:14:45 -0500 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: References: <7704a901-a8ce-e2dc-d16d-e318611d5ecc@gmail.com> Message-ID: <4a73fbe0-9d94-b815-56ab-9904c60c5ee3@hyperactivesw.com> On 7/12/17 2:36 PM, Richard Gaskin via use-livecode wrote: > * In UX circles they bandy about "80% of users never change preference > settings" so often it's usually taken for granted, but this morning as I > noted that above I wondered about the actual research behind it. > > Of course that rubric applies only to consumer apps. There are many > reasons why guidelines established from consumer research don't apply to > developer tools, given the very narrow and highly specific demographic > developers represent. We're developers. The script editor puts up its own menu bar where several options can be changed on the fly. Variable checking and commenting are handled in the Edit menu, and I'd put a "Show default scripts" toggle there. It seems intuitive and consistent to me. The Debug menu is another option, but not as closely related. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jul 12 17:15:11 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Jul 2017 16:15:11 -0500 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: <1AFF1AEE-4707-447A-82FE-9CCCCE00BB03@iotecdigital.com> References: <1AFF1AEE-4707-447A-82FE-9CCCCE00BB03@iotecdigital.com> Message-ID: <3aac34d5-e1e6-4601-b02a-b292d5e5753f@hyperactivesw.com> I can't take credit, I first saw Ken Ray do it. On 7/12/17 3:05 PM, Bob Sneidar via use-livecode wrote: > Brilliant as usual. > > Bob S > > >> On Jul 12, 2017, at 11:40 , J. Landman Gay via use-livecode wrote: >> >>> And since we are look at usability of the script editor and add ons I would LOVE to have the ability to show "sections" in my scripts >>> I think it was years ago, or maybe even nowin GLX? anyway, Jerry Daniels had that, where some kind of convention at the beginning of a comment, would cause it to appear on the left panel list. >> >> I regularly do something like this: >> >> on _____UTILITIES_____ >> end _____UTILITIES_____ >> >> It shows up in the handler list as a label with a pseudo-divider line. >> >> -- >> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jul 12 17:15:49 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Jul 2017 16:15:49 -0500 Subject: [ANN] Release 8.1.6 RC-1 In-Reply-To: <1AFF1AEE-4707-447A-82FE-9CCCCE00BB03@iotecdigital.com> References: <1AFF1AEE-4707-447A-82FE-9CCCCE00BB03@iotecdigital.com> Message-ID: I can't take credit, I first saw Ken Ray do it. On 7/12/17 3:05 PM, Bob Sneidar via use-livecode wrote: > Brilliant as usual. > > Bob S > > >> On Jul 12, 2017, at 11:40 , J. Landman Gay via use-livecode wrote: >> >>> And since we are look at usability of the script editor and add ons I would LOVE to have the ability to show "sections" in my scripts >>> I think it was years ago, or maybe even nowin GLX? anyway, Jerry Daniels had that, where some kind of convention at the beginning of a comment, would cause it to appear on the left panel list. >> >> I regularly do something like this: >> >> on _____UTILITIES_____ >> end _____UTILITIES_____ >> >> It shows up in the handler list as a label with a pseudo-divider line. >> >> -- >> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Wed Jul 12 17:31:14 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Jul 2017 21:31:14 +0000 Subject: Error Report In-Reply-To: References: Message-ID: <83678D25-D9D6-4377-8479-14BE7CD9274A@iotecdigital.com> Hmmm... wrapping the entire contents of the dgToolTip handler in a try catch solves the problem, and the handler works flawlessly. Problem solved but I don't know why! Bob S From bobsneidar at iotecdigital.com Wed Jul 12 17:53:01 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Jul 2017 21:53:01 +0000 Subject: Error Report In-Reply-To: <83678D25-D9D6-4377-8479-14BE7CD9274A@iotecdigital.com> References: <83678D25-D9D6-4377-8479-14BE7CD9274A@iotecdigital.com> Message-ID: I found it. Apparently the header labels are themselves fields. I was filtering for fields but not excluding field "headerLabel". Bob S > On Jul 12, 2017, at 14:31 , Bob Sneidar via use-livecode wrote: > > Hmmm... wrapping the entire contents of the dgToolTip handler in a try catch solves the problem, and the handler works flawlessly. Problem solved but I don't know why! > > Bob S From bobsneidar at iotecdigital.com Wed Jul 12 18:04:16 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Jul 2017 22:04:16 +0000 Subject: dgToolTip Snippet Message-ID: Hi all. If anyone is interested, I have a working version of a datagrid tooltip handler. It requires the arrayToText handler as written but that can be replaced by another function of your choosing that takes an array and returns some kind of text representation of it. (printKeys comes to mind but I'm not sure it would work well for a tooltip). Put this code in your datagrid script: -------- on mouseEnter put the long id of the target into tTarget -- replace the following key list with whatever datagrid column names you want in the tooltip -- if you exclude tKeyList it will include every column of the datagrid -- if you hold down the shift key when entering the datagrid it will also include every column of the datagrid put "customername,industry,salesperson,contactname,contactphone,contactemail" into tKeyList dgToolTip tTarget, tKeyList end mouseEnter on mouseLeave try set the tooltip of tTarget to empty end try end mouseLeave -------- Put this code in a backscript somewhere: -------- on dgToolTip tTarget, tKeyList put the name of tTarget into tTargetName if tTargetName contains "HeaderLabel" or the first word of tTargetName is not "field" then exit dgToolTip end if replace quote with empty in tTargetName put the last word of tTargetName into tLine put the dgDataOfLine [tLine] of tTarget into aLineData if tKeyList is empty or the shiftKey is down then put the keys of aLineData into tKeyList sort lines of tKeyList ascending replace cr with comma in tKeyList end if repeat for each item tKey in tKeyList add 1 to tCounter put aLineData [tKey] into aRecordData [tCounter & ". " & tKey] end repeat put arrayToText(aRecordData, "record") into tText sort lines of tText numeric ascending by word 1 of each set the tooltip of tTarget to tText end dgToolTip function arrayToText aArrayData, pFormat, pStripRecordKeys if aArrayData is not an array then put "ERROR: Data passed is not an array!" into theValue return theValue end if if pStripRecordKeys is not in "true|false" then put false into pStripRecordKeys -- sort tArrayKeys ascending -- may be an array of values put the keys of aArrayData into tArrayKeys sort lines of tArrayKeys numeric ascending put line 1 of tArrayKeys is 0 into tHasHeader -- convert single array to numeric array of arrays if line 1 of tArrayKeys is not a number then put aArrayData into aTempArray [1] put aTempArray into aArrayData put the keys of aArrayData into tArrayKeys end if switch pFormat case "record" repeat for each line tArrayKey in tArrayKeys put aArrayData [tArrayKey] into aArrayRecord put the keys of aArrayRecord into tColumnKeys repeat for each line tColumnKey in tColumnKeys put tColumnKey & ": " & aArrayRecord [tColumnKey] & cr after tValue end repeat end repeat break case "table" -- table header if not tHasHeader then put cr into tValue repeat for each line tArrayKey in tArrayKeys add 1 to tCount put aArrayData [tArrayKey] into aArrayRecord put the keys of aArrayRecord into tColumnKeys sort lines of tColumnKeys numeric ascending repeat for each line tColumnKey in tColumnKeys if pStripRecordKeys and (char 1 of tColumnKey is "@") then next repeat if tCount = 1 and not tHasHeader then put tColumnKey & tab after line 1 of tValue put aArrayRecord [tColumnKey] & tab after tValue end repeat put cr into last char of tValue end repeat break end switch return tValue end arrayToText -------- From bobsneidar at iotecdigital.com Wed Jul 12 18:19:57 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Jul 2017 22:19:57 +0000 Subject: dgToolTip Snippet In-Reply-To: References: Message-ID: Whoops! Also include in your datagrid script local tTarget > On Jul 12, 2017, at 15:04 , Bob Sneidar via use-livecode wrote: > > Put this code in your datagrid script: From benr_mc at cogapp.com Thu Jul 13 06:24:56 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 13 Jul 2017 11:24:56 +0100 Subject: Codesigning fail LC 8.1.5, Xocde 8.3.3 Message-ID: Have proved that Xcode can make a default project, build and install on an iPad running 10.3.2. This is on a fresh MacBook running Sierra. Used a couple of weeks ago (with LC 8.1.4) for the same purpose (my main machine is on El Capitan, hence can't have Xcode 8.3.3, hence can't build for 10.3.2), successfully. Not used since. On attempting to update the build, got a load of invalid entitlements stuff. Used xcode to reset certificates until it could build again. Now, under either LC 8.1.4 or 8.1.5, I get a message codesigning failed with /bin/sh: line 1: 869 Segmentation fault 11 ... I'm cranking ahead of a demo tomorrow - any suggestions as to how I go from here? Many thanks, Ben From merakosp at gmail.com Thu Jul 13 06:39:25 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 13 Jul 2017 11:39:25 +0100 Subject: Codesigning fail LC 8.1.5, Xocde 8.3.3 In-Reply-To: References: Message-ID: Hi Ben, Yes, this probably happens because you have more than one certificates with the same name (and one of them is valid, the other is not). The standalone builder uses the name of the certificate to sign the binary, so it probably picks the invalid one and this causes problems. Mike Kerner had the same problem, and here is how he resolved it: "I'm getting the same error with XC 8.3. Interesting, though, I think I may have stumbled on the problem. Every time I launch XC and go into my account and the certs/profiles list, XC creates a new cert for development and a new one for distribution. I just went into my keychain, removed all of the certs, re-downloaded them from the Apple Dev website, instead of from xcode, and reinstalled them. Build worked for both apps I tried." A proper fix in the standalone builder will come soon, which will allow to choose the certificate based on the unique HEX id rather than the (non-unique) name. http://quality.livecode.com/show_bug.cgi?id=20030 Hope this helps, Panos -- On Thu, Jul 13, 2017 at 11:24 AM, Ben Rubinstein via use-livecode < use-livecode at lists.runrev.com> wrote: > Have proved that Xcode can make a default project, build and install on an > iPad running 10.3.2. This is on a fresh MacBook running Sierra. > > Used a couple of weeks ago (with LC 8.1.4) for the same purpose (my main > machine is on El Capitan, hence can't have Xcode 8.3.3, hence can't build > for 10.3.2), successfully. Not used since. > > On attempting to update the build, got a load of invalid entitlements > stuff. Used xcode to reset certificates until it could build again. > > Now, under either LC 8.1.4 or 8.1.5, I get a message > codesigning failed with /bin/sh: line 1: 869 Segmentation fault 11 > ... > > I'm cranking ahead of a demo tomorrow - any suggestions as to how I go > from here? > > Many thanks, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From charles at techstrategies.com.au Thu Jul 13 06:52:26 2017 From: charles at techstrategies.com.au (Charles Warwick) Date: Thu, 13 Jul 2017 20:52:26 +1000 Subject: [ANN] Release 8.1.5 -- tsneterr In-Reply-To: <3450D77E-012E-4D47-B5B5-AD8CC06514BB@clearvisiontech.com> References: <3450D77E-012E-4D47-B5B5-AD8CC06514BB@clearvisiontech.com> Message-ID: Hi Dan, The resetAll command is very destructive, in that it closes all currently open connections. In certain circumstances it has been required when using the traditional libUrl library to work around network errors and in order to maintain feature parity, it does also work with tsNet. However I generally would not recommend using it with tsNet as there are other mechanisms available in tsNet to enable it to handle network problems more gracefully. I recommend taking a look at the tsNetSetTimeouts function that is available in tsNet 1.2.10 (which is included in LC 8.1.5). In particular, have a look at the pLowSpeedTime and pLowSpeedLimit parameters to that function. They allow you to set a minimum number of bytes that must be sent/received within a specified time period for the connection to be considered acceptable by tsNet. If the speed of transfer falls below that amount, the connection will be timed out returning control to your script. This should prevent connections from stalling and not returning - which is generally where the use of resetAll comes into play. If you are using apps within a mobile environment where network connectivity can come and go frequently, it may also be worth setting "tsNetLibUrlReuseConnection false" at the start of your application. Having said all of that, it is still possible to use resetAll, though some care must be taken. With tsNet, it briefly disables the external and then re-enables it. My guess is that another handler is trying to process a URL request while the resetAll is being performed. The easiest way to see if tsNet is in use by libUrl is: putthebehaviorofstack"revLibUrl"intotLibUrlDriver if tLibUrlDriver isemptythen answer"tsNet is disabled" else answer"tsNet in use" end if Best Regards, Charles On 13/07/2017 4:34 AM, Dan Friedman via use-livecode wrote: > Charles, > > Yes, I do have resetAll in my scripts. I use it when a communications error has occurred as a way to reset and try again. If tsNet is in play, I gather I should not call resetAll? If not, is there something else I should be doing? Also, is there a way (via a property) to determine if tsNet or libURL is handling the network? > > Thank you! > > -Dan > > > On 7/12/17, 9:38 AM, "use-livecode on behalf of use-livecode-request at lists.runrev.com" wrote: > > Hi Dan, > > The error message "Not initialised" (the spelling is correct depending > on where you live ;-) ) indicates that the tsNet external isn't running. > > If you are using libUrl which I am guessing you are, tsNet is > initialised on startup, so this would indicate that it has either been > shut down by calling tsNetClose directly, or by a call to the libUrl > "resetAll" or "libUrlCancel" commands (which temporarily shut down the > external and start it back up to clear all connections). > > I have seen code posted on the list in the past which invoked "resetAll" > to deal with issues in older versions of libUrl. Do you use these > commands at all in your project? > > Regards, > > Charles > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Thu Jul 13 07:48:27 2017 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 13 Jul 2017 13:48:27 +0200 Subject: AW: like doing a short test for me?, was: No screenshot from LC video possible In-Reply-To: <00fc01d2fb15$2470e870$6d52b950$@kestner.de> References: <00fc01d2fb15$2470e870$6d52b950$@kestner.de> Message-ID: <002001d2fbcd$f2095110$d61bf330$@kestner.de> My fault, obviously some people of you, who wanted to make the test couldn' even play my video. I forgot that a standard Windows machine doesn't have a codec for h.264 videos on board. So you would have had to install a codec (like the LAV filters). I now modified my test program, so that you can choose any of your own video files on your computer. So, if you would like to do another test, read below, my previous posting Thanks Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Mittwoch, 12. Juli 2017 15:46 An: 'How to use LiveCode' Cc: Tiemo Hollmann TB Betreff: like doing a short test for me?, was: No screenshot from LC video possible Hello, Windows developers only! since I have no idea, what the reason of my "no screenshot" problem is, I want to try to compare system configurations of the machines, where this problem occurs to find with some luck, what they have in common and so perhaps the source of this issue, though I probably won't see the wood for the trees. Up to now, I only have two customers with this issue and so it is hard to search for "exotic" similarities. If you would like to help me and make a test for me, please download my little test program from 1. Open the LC 8.1.4 program and klick the left button, it should play a video, which was unpacked in the same dir as the livecode file in the left window and make a screenshot in the right window 2. if the right window only is black (screenshot was not successful), try to make a screenshot with "Alt Gr" + "Print" of the left video window and paste it into word or other program to see, if windows can take a screenshot. 3. Do the same with the right button (without videobuffer) If any of these test cases didn't produced a screenshot of the video, I would like to get your system informations (I will delete them right after evaluation) and the notice, which case didn't produced a screenshot. If both test cases produced a screenshot, you don't have to send me any notice. You can retrieve the system informations here: - press ?Windows-Key? + ?R?. - type "msinfo32" - Choose menu ?File - Export?, enter a filename ?Systeminformationen_xy.txt? - send me this file as PM If you have concerns about your privacy, please delete all personal information from the log file, like your IP number, you name of the machine or whatever you want. Thank you for your help. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Dienstag, 11. Juli 2017 09:21 An: LiveCode User Liste senden Cc: Tiemo Hollmann TB Betreff: No screenshot from LC video possible Hello, LC 8.1.4, Windows 10 I am using the standard LC videoPayer (directShow) to play H.264 mp4 videos. One essential feature of my program is, that the user can take screenshots from the video, edit and save them. Today I got the second customer call with a Win 10 machine, who can't take screenshots from my LC videos. The video screen is just black on the taken screenshot. This issue does not only happen with the build in LiveCode screenshot feature, but also, if they take a screenshot with the windows print key or other screenshot tools. Up to now, this issue happens only at 2 customers, on all other Win 10 machines, taking a video screenshot works fine. The alwaysBuffer of the videoPlayer is set to false (setting it to true, I don't see any video playing) I also checked to disable the Kaspersky AV on the client computer (Kaspersky has a feature to prevent screenshots), but without success. Btw. the old version of my program with the quicktime player works fine on these machines. I googled a lot, but didn't found any related issues in the net, so I assume, it must be related to the LiveCode implementation of the directShow videoPlayer. But in combination with any special hardware or software setting on these two computers. Has anybody already experienced similar issues or has any shot in the dark, what system options, drivers, other tools in combination with LiveCode could have an influence on taking a screenshot? Any idea, what I could check for is welcome Tiemo _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Jul 13 10:38:22 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 13 Jul 2017 14:38:22 +0000 Subject: [ANN] Release 8.1.5 -- tsneterr In-Reply-To: References: <3450D77E-012E-4D47-B5B5-AD8CC06514BB@clearvisiontech.com> Message-ID: <365D1B3D-A922-4FF3-9720-B56599A4C9E4@hindu.org> Aloha, Charles: This connection speed feedback looks awesome. Does TSnet handle/monitor speed on all all the port 80/443 calls? set the url of widget "browser" to "https://www.himalayanacademy.com" I created a "horrible hack" to ping our server every few milliseconds ala Apple's own web page for this which returns a single word "success" but I'm hitting our own server instead. local sConnectedStatus, sPingCount on pingServer if sConnectedStatus = true then put 0 into sPingCount exit pingServer else if sPingCount is > 10 then put "false" into sConnectedStatus # disable some modules that need the internet or put up a message put 0 into sPingCount exit pingServer else add 1 to sPingCount put url "http:www.himalayanacademy.com/ping.txt" to sConnectedStatus # contains one word: "true" send pingServer to me in 333 milliseconds end if end if end pingServer function getConnectedStatus return sConnectedStatus end getConnecdtedStatus # where any given module can decide to try again ? by issue pingServer at a later time. ------------------------- the above actually works? there is probably a more sophisticated "best practices" way to do this? but my "baby XTalk" works? basically tries for almost 3 seconds + to access the internet before informing the user they are not connected OTOH, I see Spotify will tell me "not connected" to the internet if I am on a very low 3G connection where the phone at "one bar" bandwidth" They obviouslydo not want users to have a bad experience trying to stream some music or podcast. I would be interesting to know their metric for when they consider the users disconnected. So it would really be great, even for simple web calls, to inform users something like "Low bandwidth detected. Please be patient, items called from our server will take a bit more time." or something "sweet" like that.. instead of just a loading icon that "takes forever" (from the user point of view). In some case we need to be even more "dramatic" e.g. "This new module is a 22MB of download data, your bandwidth is low. Do you want to continue, or wait until you are on WIFI?" with "Cancel" or "Continue Download" On 7/13/17, 12:52 AM, "use-livecode on behalf of Charles Warwick via use-livecode" wrote: They allow you to set a minimum number of bytes that must be sent/received within a specified time period for the connection to be considered acceptable by tsNet. If the speed of transfer falls below that amount, the connection will be timed out returning control to your script. From ahsoftware at sonic.net Thu Jul 13 11:38:09 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 13 Jul 2017 08:38:09 -0700 Subject: OT: FontGate Message-ID: The authenticity of a deed is in doubt because it?s dated a year before the font it?s typed in was released. -- Mark Wieder ahsoftware at gmail.com From panos.merakos at livecode.com Thu Jul 13 12:45:35 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 13 Jul 2017 17:45:35 +0100 Subject: [ANN] Release 9.0.0 DP-8 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.0.0 DP-8. Developer Preview Release ========================= Warning: this is not a stable release. Please ensure that you back up your stacks before testing them. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.0.0 DP-8 comes with 25 bugfixes. Moreover, more than 40 bugfixes that were fixed in LiveCode 8.1.x, are now merged into LiveCode 9.0.0 DP-8. In addition, LiveCode 9.0.0 DP-8 includes a lot of amazing new features: - Widgets now work correctly in HTML5 standalones (apart from Browser Widget) - Script Editor: Support for auto completion of square bracket `[`, parenthesis `(` or double quote `"` is now added - A new "Edit Behavior Script" option is now added to the contextual menu - Support for accepting socket connections on a port in the ephemeral port range is now added - Foreign handlers can now use 'objc' as the language, and in that case can bind to both instance and class methods of Objective-C objects (Mac-only) And of course, the ability to choose from a list of default handlers to add to the object script in the script editor, originally implemented in LiveCode 8.1.6 RC-1 has been included in LiveCode 9.0 DP-8, too. New script libraries: - A new QR Code Generation script library has been added. The public domain licensed QR Code Generator Library (sQuiRt) by John Craig has been added to the community repository for ease of maintenance and use. - A new HTTPd script library has been added. The HTTP Server library can be used to receive and respond to HTTP requests in your application. New experimental features: - [Experimental] A new "Mac Native Button" widget is added to LiveCode's widget collection. This was the result of the implementation of Objective-C FFI (Foreign Function Interface) in LCB. - [Experimental] A new "Android Native Field" widget is added to LiveCode's widget collection. [[ See known issues ]] As stated before, Objective-C FFI is Mac-only in this DP release. It might work on iOS too, as long as you do not do anything that requires thread jumping. In this context, "experimental" means that these features will continue to be developed and supported. However, how they are used in script may change during the development cycle of 9, before it gets to final release. Known issues ================ - The Browser widget can cause hang in the IDE in some Linux distros - see http://quality.livecode.com/show_bug.cgi?id=19658 - The Android Native Button widget uses "labelColor", not "foregound"/"textColor" to set the text color - The Android Native Button widget "enabled" (and "disabled") property does not work if you set it by script. - The HTTPd script library does not load on startup, so you have to issue the following command from the message box to load it manually: start using stack "httpd" - Unfortunately we tried to get the android native field widget into DP 8 at the last minute, but discovered that it crashes when it becomes focused. We will of course try to fix this issue as soon as possible. The full release notes are available from: http://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0_dp_8.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From MikeKerner at roadrunner.com Thu Jul 13 12:47:21 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 13 Jul 2017 12:47:21 -0400 Subject: iOS "Invalid Entitlements" In-Reply-To: <103F221B-8781-4882-A9BD-120D9B41944E@hindu.org> References: <103F221B-8781-4882-A9BD-120D9B41944E@hindu.org> Message-ID: Trying to debug invalid entitlements, and I'm not seeing the problem. Compiles fine, codesigns fine. I don't run into an issue until installing on a physical device. I have checked the physical device's UDID to confirm that it is in the ProvisionedDevices section relevant output from codesign: get-task-allow aps-environment production relevant output from security cms get-task-allow ps-environment production com.apple.developer.default-data-protection NSFileProtectionComplete From bobsneidar at iotecdigital.com Thu Jul 13 13:01:44 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 13 Jul 2017 17:01:44 +0000 Subject: OT: FontGate In-Reply-To: References: Message-ID: <0ECCA6C1-C236-43AA-AA36-ED736C9AF0C6@iotecdigital.com> Well that poses a problem now doesn't it? But if Pakistan justice works anything like ours, the wrong people will end up in jail. Bob S > On Jul 13, 2017, at 08:38 , Mark Wieder via use-livecode wrote: > > The authenticity of a deed is in doubt because it?s dated a year before the font it?s typed in was released. > > > > -- > Mark Wieder > ahsoftware at gmail.com From benr_mc at cogapp.com Thu Jul 13 13:21:06 2017 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 13 Jul 2017 18:21:06 +0100 Subject: Codesigning fail LC 8.1.5, Xocde 8.3.3 In-Reply-To: References: Message-ID: <22e95424-aeef-387c-11ba-42e5c02417b3@cogapp.com> Hi Panos, (Apologies didn't have a chance to reply before) - fantastic, that sorted it. Thanks for the swift reply. FFR, a slightly quicker fix than Mike's - perhaps easier to see because this was on a clean machine - I looked in keychain and it was obvious that of two identically named certs, one was younger than the other; so I deleted the older one and that fixed it - no need to re-downlaod. BTW this has partly arisen because when I used xcode to sort out certificates, it seems to be creating ones that expire in a week? Has anyone else seen this? thanks again, Ben On 13/07/2017 11:39, panagiotis merakos via use-livecode wrote: > Hi Ben, > > Yes, this probably happens because you have more than one certificates with > the same name (and one of them is valid, the other is not). The standalone > builder uses the name of the certificate to sign the binary, so it probably > picks the invalid one and this causes problems. > > Mike Kerner had the same problem, and here is how he resolved it: > > "I'm getting the same error with XC 8.3. > Interesting, though, I think I may have stumbled on the problem. > Every time I launch XC and go into my account and the certs/profiles list, > XC creates a new cert for development and a new one for distribution. I > just went into my keychain, removed all of the certs, re-downloaded them > from the Apple Dev website, instead of from xcode, and reinstalled them. > Build > worked for both apps I tried." > > A proper fix in the standalone builder will come soon, which will allow to > choose the certificate based on the unique HEX id rather than the > (non-unique) name. > > http://quality.livecode.com/show_bug.cgi?id=20030 > > Hope this helps, > Panos > -- > > On Thu, Jul 13, 2017 at 11:24 AM, Ben Rubinstein via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Have proved that Xcode can make a default project, build and install on an >> iPad running 10.3.2. This is on a fresh MacBook running Sierra. >> >> Used a couple of weeks ago (with LC 8.1.4) for the same purpose (my main >> machine is on El Capitan, hence can't have Xcode 8.3.3, hence can't build >> for 10.3.2), successfully. Not used since. >> >> On attempting to update the build, got a load of invalid entitlements >> stuff. Used xcode to reset certificates until it could build again. >> >> Now, under either LC 8.1.4 or 8.1.5, I get a message >> codesigning failed with /bin/sh: line 1: 869 Segmentation fault 11 >> ... >> >> I'm cranking ahead of a demo tomorrow - any suggestions as to how I go >> from here? >> >> Many thanks, >> >> Ben From bobsneidar at iotecdigital.com Thu Jul 13 13:23:48 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 13 Jul 2017 17:23:48 +0000 Subject: Codesigning fail LC 8.1.5, Xocde 8.3.3 In-Reply-To: <22e95424-aeef-387c-11ba-42e5c02417b3@cogapp.com> References: <22e95424-aeef-387c-11ba-42e5c02417b3@cogapp.com> Message-ID: <83B740E8-AB04-4708-B36B-898F317DD6F1@iotecdigital.com> When you create the cert is there anything that allows you to define the period? Bob S > On Jul 13, 2017, at 10:21 , Ben Rubinstein via use-livecode wrote: > > Hi Panos, > > (Apologies didn't have a chance to reply before) - fantastic, that sorted it. Thanks for the swift reply. > > FFR, a slightly quicker fix than Mike's - perhaps easier to see because this was on a clean machine - I looked in keychain and it was obvious that of two identically named certs, one was younger than the other; so I deleted the older one and that fixed it - no need to re-downlaod. > > BTW this has partly arisen because when I used xcode to sort out certificates, it seems to be creating ones that expire in a week? Has anyone else seen this? > > thanks again, > > Ben From merakosp at gmail.com Thu Jul 13 13:29:29 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 13 Jul 2017 18:29:29 +0100 Subject: Codesigning fail LC 8.1.5, Xocde 8.3.3 In-Reply-To: <83B740E8-AB04-4708-B36B-898F317DD6F1@iotecdigital.com> References: <22e95424-aeef-387c-11ba-42e5c02417b3@cogapp.com> <83B740E8-AB04-4708-B36B-898F317DD6F1@iotecdigital.com> Message-ID: Hi all, I think that the free provisioning profiles expire after a week. Not sure about certificates. The certificates I have created expire after 1 year. Best regards, Panos -- On Thu, Jul 13, 2017 at 6:23 PM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > When you create the cert is there anything that allows you to define the > period? > > Bob S > > > > On Jul 13, 2017, at 10:21 , Ben Rubinstein via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Panos, > > > > (Apologies didn't have a chance to reply before) - fantastic, that > sorted it. Thanks for the swift reply. > > > > FFR, a slightly quicker fix than Mike's - perhaps easier to see because > this was on a clean machine - I looked in keychain and it was obvious that > of two identically named certs, one was younger than the other; so I > deleted the older one and that fixed it - no need to re-downlaod. > > > > BTW this has partly arisen because when I used xcode to sort out > certificates, it seems to be creating ones that expire in a week? Has > anyone else seen this? > > > > thanks again, > > > > Ben > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Thu Jul 13 13:47:54 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 13 Jul 2017 17:47:54 +0000 Subject: Caveat on save script only stack --> went to standalone Message-ID: <0C1D305C-13C3-42A5-B4A6-6FE65127C7D1@hindu.org> Interesting caveat create new stack (small splash/loader/engine) My Loader.livecode Add eye-candy graphic, quit button create new stack / script only / save as my-loader.livecodescript #checks for presence of file in $HOME/Dropbox/coolApp.livecode # handles mouseup on quit button? # that's it save? then apply this stack as the behavior for the Above "splash stack" So far so good, it all works ------- phase 1 SA time go to SA settings add my-loader.livecodescript to My Loader.livecode stack files save SA now go back to Script Editor add a few lines to my-loader.livecodescript save Get a very peculiar error messages about possible data loss. never ever seen in the history of my use of MC, RunRev, LC Oh Wait? the stack being save/edited now is the one that was copied to the bundle! if though minutes ago, that tab in the script editor was reading and writing to the *original* my-loader.livecodescript that was/is outside the SA app bundle BR From brahma at hindu.org Thu Jul 13 13:58:37 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 13 Jul 2017 17:58:37 +0000 Subject: Native Livecode Pinch and Zoom In-Reply-To: <64245535e2d4f175968b6691e093db45@livecode.com> References: <003c01d2fb25$6213eb40$263bc1c0$@net> <64245535e2d4f175968b6691e093db45@livecode.com> Message-ID: <3BC06E5B-1A11-400F-8E3F-5C48A2A5B1BA@hindu.org> @ Ralph as we say in HawaiI "Oh! Ho!" What is this: " >I get pinch-and-zoom on both mobile platforms using the mobile browser >control. My html expert has had to tweak a couple of html pages now >and again to make it work. Can you ask him what the secret is? Pleeze! @ Richard: Requesting engine level "zoomable" is not OT at all. It's mission critical on small devices and would take LC apps to on phones to whole "'nother" level. There is AnimationEngine also, that can be leveraged to some extent for this same purpose. but you have get some math going on ?so, right "non-trivial" It would be great if it were easier. BR On 7/12/17, 5:55 AM, "use-livecode on behalf of Mark Waddingham via use-livecode" wrote: Hi Ralph, On 2017-07-12 17:41, Ralph DiMola via use-livecode wrote: >I get pinch-and-zoom on both mobile platforms using the mobile browser >control. My html expert has had to tweak a couple of html pages now >and again to make it work. Other on-line pages don?t pinch-and-zoom >but they also don?t pinch-and-zoom in Safari/Chrome either. I tried >the browser widget and it is nice that you can use it in the IDE and >Mobile but backed it out because the browser widget is missing >"canretreat" property and "retreat" command. Could you file a bug about this? (And any differences in parity between widget and mobileControl, for that matter!). IIRC we added: go back in widget .. go forward in widget ... To navigate forward / back (so the retreat command is at least catered for I think). There's also: do ... in widget ... (although this was a horrendous mistake syntactically which we are now realizing!) launch url ... in widget ... If you put 'widget' into the LiveCodeScript section of the dictionary then you'll see the widget specific tailorings of normal LiveCode Script syntax. Warmest Regards, Mark. From MikeKerner at roadrunner.com Thu Jul 13 14:04:08 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 13 Jul 2017 14:04:08 -0400 Subject: Codesigning fail LC 8.1.5, Xocde 8.3.3 In-Reply-To: References: <22e95424-aeef-387c-11ba-42e5c02417b3@cogapp.com> <83B740E8-AB04-4708-B36B-898F317DD6F1@iotecdigital.com> Message-ID: Bob, I have filed a bug report with Apple. Every time I go into XC 8.3.x, open the settings, and hit "Manage Certificates", it creates a new developer cert and a new distribution cert. On Thu, Jul 13, 2017 at 1:29 PM, panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > I think that the free provisioning profiles expire after a week. Not sure > about certificates. The certificates I have created expire after 1 year. > > Best regards, > Panos > -- > > On Thu, Jul 13, 2017 at 6:23 PM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > When you create the cert is there anything that allows you to define the > > period? > > > > Bob S > > > > > > > On Jul 13, 2017, at 10:21 , Ben Rubinstein via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Hi Panos, > > > > > > (Apologies didn't have a chance to reply before) - fantastic, that > > sorted it. Thanks for the swift reply. > > > > > > FFR, a slightly quicker fix than Mike's - perhaps easier to see because > > this was on a clean machine - I looked in keychain and it was obvious > that > > of two identically named certs, one was younger than the other; so I > > deleted the older one and that fixed it - no need to re-downlaod. > > > > > > BTW this has partly arisen because when I used xcode to sort out > > certificates, it seems to be creating ones that expire in a week? Has > > anyone else seen this? > > > > > > thanks again, > > > > > > Ben > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Thu Jul 13 14:08:06 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 13 Jul 2017 21:08:06 +0300 Subject: LiveCode 8, LiveCode 9, their intersection and other questions. In-Reply-To: References: Message-ID: <216a68c8-2ffa-635a-904b-b61beb53c753@gmail.com> As a developer (of sorts) who does most of his work on a fairly antiquated Macintosh system (10.7.8 Lion) and on various Ubuntu-based systems (14.04 & 16.04) I am interested to know how much longer development on the 8.x.x series is intended to last (as 9.0.0 dp 5 went Mavericks and above).. I am also interested to know if new features initially tried in the 8.x.x series are being "pushed forward" whether any features in 9 are going to be backported into the 8.x.x. series. AND, if one develops using versions of LiveCode that will only work when deployed on a Macintosh on Mavericks or higher whether standalones spun off from those versions will run on earlier versions of Mac OS? Richmond. From rdimola at evergreeninfo.net Thu Jul 13 14:34:13 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 13 Jul 2017 14:34:13 -0400 Subject: Native Livecode Pinch and Zoom In-Reply-To: <3BC06E5B-1A11-400F-8E3F-5C48A2A5B1BA@hindu.org> References: <003c01d2fb25$6213eb40$263bc1c0$@net> <64245535e2d4f175968b6691e093db45@livecode.com> <3BC06E5B-1A11-400F-8E3F-5C48A2A5B1BA@hindu.org> Message-ID: <005401d2fc06$a09469d0$e1bd3d70$@net> I believe it was by setting the initial zoom, I sent him an email and will forward the info when he responds. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Sannyasin Brahmanathaswami via use-livecode Sent: Thursday, July 13, 2017 1:59 PM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: Native Livecode Pinch and Zoom @ Ralph as we say in HawaiI "Oh! Ho!" What is this: " >I get pinch-and-zoom on both mobile platforms using the mobile browser >control. My html expert has had to tweak a couple of html pages now >and again to make it work. Can you ask him what the secret is? Pleeze! @ Richard: Requesting engine level "zoomable" is not OT at all. It's mission critical on small devices and would take LC apps to on phones to whole "'nother" level. There is AnimationEngine also, that can be leveraged to some extent for this same purpose. but you have get some math going on ?so, right "non-trivial" It would be great if it were easier. BR On 7/12/17, 5:55 AM, "use-livecode on behalf of Mark Waddingham via use-livecode" wrote: Hi Ralph, On 2017-07-12 17:41, Ralph DiMola via use-livecode wrote: >I get pinch-and-zoom on both mobile platforms using the mobile browser >control. My html expert has had to tweak a couple of html pages now >and again to make it work. Other on-line pages don?t pinch-and-zoom >but they also don?t pinch-and-zoom in Safari/Chrome either. I tried >the browser widget and it is nice that you can use it in the IDE and >Mobile but backed it out because the browser widget is missing >"canretreat" property and "retreat" command. Could you file a bug about this? (And any differences in parity between widget and mobileControl, for that matter!). IIRC we added: go back in widget .. go forward in widget ... To navigate forward / back (so the retreat command is at least catered for I think). There's also: do ... in widget ... (although this was a horrendous mistake syntactically which we are now realizing!) launch url ... in widget ... If you put 'widget' into the LiveCodeScript section of the dictionary then you'll see the widget specific tailorings of normal LiveCode Script syntax. Warmest Regards, Mark. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Jul 13 15:05:33 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 13 Jul 2017 15:05:33 -0400 Subject: Codesigning fail LC 8.1.5, Xocde 8.3.3 In-Reply-To: References: <22e95424-aeef-387c-11ba-42e5c02417b3@cogapp.com> <83B740E8-AB04-4708-B36B-898F317DD6F1@iotecdigital.com> Message-ID: I just got a reply from Apple. The drop-down list isn't for filtering, it's just so you can select which cert you wish to add, which was not clear to me. On Thu, Jul 13, 2017 at 2:04 PM, Mike Kerner wrote: > Bob, > I have filed a bug report with Apple. Every time I go into XC 8.3.x, open > the settings, and hit "Manage Certificates", it creates a new developer > cert and a new distribution cert. > > On Thu, Jul 13, 2017 at 1:29 PM, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi all, >> >> I think that the free provisioning profiles expire after a week. Not sure >> about certificates. The certificates I have created expire after 1 year. >> >> Best regards, >> Panos >> -- >> >> On Thu, Jul 13, 2017 at 6:23 PM, Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> > When you create the cert is there anything that allows you to define the >> > period? >> > >> > Bob S >> > >> > >> > > On Jul 13, 2017, at 10:21 , Ben Rubinstein via use-livecode < >> > use-livecode at lists.runrev.com> wrote: >> > > >> > > Hi Panos, >> > > >> > > (Apologies didn't have a chance to reply before) - fantastic, that >> > sorted it. Thanks for the swift reply. >> > > >> > > FFR, a slightly quicker fix than Mike's - perhaps easier to see >> because >> > this was on a clean machine - I looked in keychain and it was obvious >> that >> > of two identically named certs, one was younger than the other; so I >> > deleted the older one and that fixed it - no need to re-downlaod. >> > > >> > > BTW this has partly arisen because when I used xcode to sort out >> > certificates, it seems to be creating ones that expire in a week? Has >> > anyone else seen this? >> > > >> > > thanks again, >> > > >> > > Ben >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Thu Jul 13 17:48:01 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Jul 2017 14:48:01 -0700 Subject: LiveCode 8, LiveCode 9, their intersection and other questions. In-Reply-To: <216a68c8-2ffa-635a-904b-b61beb53c753@gmail.com> References: <216a68c8-2ffa-635a-904b-b61beb53c753@gmail.com> Message-ID: Richmond Mathewson wrote: > I am also interested to know if new features initially tried in the > 8.x.x series are being "pushed forward" whether any features in 9 are > going to be backported into the 8.x.x. series. I don't understand "pushed forward", but each new version should be a superset of the last, so everything in v8 will be in v9 and more. As for backporting, LC folks explained here that with v8 forward they're back to the sort of conventional development patterns we see with most software: Once any given version goes Stable, new features go into a new version, Some critical bug fixes will go into both, but to minimize risk of regressions feature additions are kept to a minimum in Stable versions. When a new version becomes Stable, work ends on the older version, and a newer version is begun for adding new features. Work on 7 and earlier ended when v8 was released as Stable. When 9 becomes Stable work on v8 will end, and v10 will be created for new features, and so on. -- 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 Jul 13 17:53:18 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Jul 2017 14:53:18 -0700 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: References: Message-ID: panagiotis wrote: > We are pleased to announce the release of LiveCode 9.0.0 DP-8. ... > - A new HTTPd script library has been added. The HTTP Server > library can be used to receive and respond to HTTP requests > in your application. A very valuable addition. I'm curious about what prompted that development effort, and does it support HTTPS connections, or CGI? > New experimental features: > > - [Experimental] A new "Mac Native Button" widget is added to > LiveCode's widget collection. The Dictionary for this new version doesn't load on Linux this time (hangs the process actually, one of the known issues), so forgive this question probably answered there: Does the syntax for that button style use "button" or "widget"? What does this do differently from the "Standard" button style? Does it have the same properties and message handling options we're used to with buttons? -- 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 Jul 13 18:24:47 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 13 Jul 2017 22:24:47 +0000 Subject: Caveat on save script only stack --> went to standalone In-Reply-To: <0C1D305C-13C3-42A5-B4A6-6FE65127C7D1@hindu.org> References: <0C1D305C-13C3-42A5-B4A6-6FE65127C7D1@hindu.org> Message-ID: <8E751836-4D08-41E1-8FA1-DB8502F33BC8@iotecdigital.com> Not a caveat. It's a full blown bug. I ran into that compiling apps too. I build for one platform at a time and quit between each build to prevent it. I reported it and filed a bug report, but I do not think anything was ever done about it. If I don't I get messages when I do the second build that there are stacks with the same name that need to be purged. That means that the stack being opened is NOT THE SAME STACK as the one in MEMORY!!!!! BOOOOOOOOOO!!!!! Hope someone looks into this. Bob S > On Jul 13, 2017, at 10:47 , Sannyasin Brahmanathaswami via use-livecode wrote: > > Interesting caveat > > create new stack (small splash/loader/engine) > > My Loader.livecode > > Add eye-candy graphic, quit button > > create new stack / script only / save as my-loader.livecodescript > #checks for presence of file in $HOME/Dropbox/coolApp.livecode > # handles mouseup on quit button? > # that's it > > save? then apply this stack as the behavior for the Above "splash stack" > > So far so good, it all works > > ------- phase 1 SA time > go to SA settings > add my-loader.livecodescript to My Loader.livecode stack files > save SA > now go back to Script Editor add a few lines to my-loader.livecodescript > save > > Get a very peculiar error messages about possible data loss. never ever seen in the history of my use of MC, RunRev, LC > > Oh Wait? the stack being save/edited now is the one that was copied to the bundle! if though minutes ago, that tab in the script editor was reading and writing to the *original* my-loader.livecodescript that was/is outside the SA app bundle > > BR From monte at appisle.net Thu Jul 13 19:55:23 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 14 Jul 2017 09:55:23 +1000 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: References: Message-ID: <685EBFE9-CC14-4CC3-85C5-BCA1E91192B8@appisle.net> > On 14 Jul 2017, at 7:53 am, Richard Gaskin via use-livecode wrote: > > panagiotis wrote: > > > We are pleased to announce the release of LiveCode 9.0.0 DP-8. > ... > > - A new HTTPd script library has been added. The HTTP Server > > library can be used to receive and respond to HTTP requests > > in your application. > > A very valuable addition. I'm curious about what prompted that development effort, and does it support HTTPS connections, or CGI? One of my recent projects has been to create a test runner for HTML5. So all our tests that we run on the CI server are bundled up into a HTML5 app and run. In order to get the results back into LiveCode I made the simple HTTP server to handle callbacks that the HTML5 engine sends when it is served from localhost. I separated it into a script library so I could reuse it down the track in FileMaker for web views. I expect others will like to use it for serving browser widget content etc too. It is a rather simplified server script but it?s open source so if you need more than it offers feel free to send a PR. It doesn?t have a normal CGI interface. As the request comes in a callback is delivered to the object that started the server so your response can be dynamically generated. > > > New experimental features: > > > > - [Experimental] A new "Mac Native Button" widget is added to > > LiveCode's widget collection. > > The Dictionary for this new version doesn't load on Linux this time (hangs the process actually, one of the known issues), so forgive this question probably answered there: > > Does the syntax for that button style use "button" or "widget?? widget > > What does this do differently from the "Standard" button style? It?s the actual native view rather than us getting details of how to draw a button from the OS and drawing it ourselves. It?s mainly an example but it would be useful for layering a button over another native view. > > Does it have the same properties and message handling options we're used to with buttons? Not yet. I believe it only has mouseUp. Cheers Monte From monte at appisle.net Thu Jul 13 20:02:48 2017 From: monte at appisle.net (Monte Goulding) Date: Fri, 14 Jul 2017 10:02:48 +1000 Subject: LiveCode 8, LiveCode 9, their intersection and other questions. In-Reply-To: References: <216a68c8-2ffa-635a-904b-b61beb53c753@gmail.com> Message-ID: Yep, what Richard said. The only caveat at present is we are implementing new IDE features in 8.1 point releases so that we can have iterative incremental improvement in stable versions for our user testing. Cheers Monte From alex at tweedly.net Thu Jul 13 20:19:39 2017 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 14 Jul 2017 01:19:39 +0100 Subject: Finding errors in a standalone Message-ID: <5bb3b448-2f99-ef14-c9d7-f91661f29103@tweedly.net> After all these years, I'm finally trying to build a non-trivial standalone (pretty much everything I've done up till now has been either used from the IDE or from 'stackrunner' or similar). The app runs fine in the IDE, but when I run as a standalone, it gives me a dialog box - title is "Execution Error" - content is completely empty - 'close' button What am I doing wrong ? How do I get actual useful info when something goes wrong ? I suspect it's failing when I call tsNetInit - but it does that whether I "search for inclusions" or specify them myself (and include Internet, SSL, etc). Is there any way to check what has been included ? Or any other clues / suggestions ? Thanks Alex. From dochawk at gmail.com Thu Jul 13 20:38:02 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Jul 2017 17:38:02 -0700 Subject: Finding errors in a standalone In-Reply-To: <5bb3b448-2f99-ef14-c9d7-f91661f29103@tweedly.net> References: <5bb3b448-2f99-ef14-c9d7-f91661f29103@tweedly.net> Message-ID: On Thu, Jul 13, 2017 at 5:19 PM, Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > > > I suspect it's failing when I call tsNetInit - but it does that whether I > "search for inclusions" or specify them myself (and include Internet, SSL, > etc). Is there any way to check what has been included ? > I have a stack with a huge scrolling field, and a "ck stuff" handler. on ck stuff put stuff put stuff after field msgs of cd 1 of stack watchStack end ck So at a troublesome point, you could answer "checking it" ck someVariable & cr & cr the executionContexts answer "checked it" in the IDE, I often put a red dot or a breakpoint after the first put of ck (and, yes, this is how I used to debug fortran, and even my painful ventures into C and C++) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From alex at tweedly.net Thu Jul 13 20:59:26 2017 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 14 Jul 2017 01:59:26 +0100 Subject: Finding errors in a standalone In-Reply-To: References: <5bb3b448-2f99-ef14-c9d7-f91661f29103@tweedly.net> Message-ID: On 14/07/2017 01:38, Dr. Hawkins wrote: > > > On Thu, Jul 13, 2017 at 5:19 PM, Alex Tweedly via use-livecode > > > wrote: > > > > I suspect it's failing when I call tsNetInit - but it does that > whether I "search for inclusions" or specify them myself (and > include Internet, SSL, etc). Is there any way to check what has > been included ? > > > I have a stack with a huge scrolling field, and a "ck stuff" handler. > Yeah - it's the equivalent of that (but writing to a log file) that makes me think it's tsNetInit that's the problem. But I don't know what to do next - Internet is included (manually, and hopefully also by search for inclusions), I'm using Business edition, so why would tsNetInit fail ? Thanks Alex From MikeKerner at roadrunner.com Thu Jul 13 22:56:09 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 13 Jul 2017 22:56:09 -0400 Subject: iOS "Invalid Entitlements" In-Reply-To: References: <103F221B-8781-4882-A9BD-120D9B41944E@hindu.org> Message-ID: annnnnnnd it looks like this might be a case of the issue being related to appID's being case sensitive. ugh. On Thu, Jul 13, 2017 at 12:47 PM, Mike Kerner wrote: > Trying to debug invalid entitlements, and I'm not seeing the problem. > Compiles fine, codesigns fine. I don't run into an issue until > installing on a physical device. > I have checked the physical device's UDID to confirm that it is in the > ProvisionedDevices section > relevant output from codesign: > > get-task-allow > > > > aps-environment > > production > > > relevant output from security cms > > get-task-allow > > > > ps-environment > > production > > com.apple.developer.default-data-protection > > NSFileProtectionComplete > > > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Thu Jul 13 23:40:16 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Jul 2017 22:40:16 -0500 Subject: Finding errors in a standalone In-Reply-To: References: <5bb3b448-2f99-ef14-c9d7-f91661f29103@tweedly.net> Message-ID: On 7/13/17 7:59 PM, Alex Tweedly via use-livecode wrote: > > > On 14/07/2017 01:38, Dr. Hawkins wrote: >> >> >> On Thu, Jul 13, 2017 at 5:19 PM, Alex Tweedly via use-livecode >> > >> wrote: >> >> >> >> I suspect it's failing when I call tsNetInit - but it does that >> whether I "search for inclusions" or specify them myself (and >> include Internet, SSL, etc). Is there any way to check what has >> been included ? >> >> >> I have a stack with a huge scrolling field, and a "ck stuff" handler. >> > Yeah - it's the equivalent of that (but writing to a log file) that > makes me think it's tsNetInit that's the problem. But I don't know what > to do next - Internet is included (manually, and hopefully also by > search for inclusions), I'm using Business edition, so why would > tsNetInit fail ? Being ignorant of almost everything about internet connection details, I've never called tsNetInit. I just include the internet library in my standalone and it works. I'm gussing it initializes itself when the library loads. What happens if you remove that command? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Thu Jul 13 23:48:03 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 13 Jul 2017 20:48:03 -0700 Subject: Finding errors in a standalone In-Reply-To: <5bb3b448-2f99-ef14-c9d7-f91661f29103@tweedly.net> References: <5bb3b448-2f99-ef14-c9d7-f91661f29103@tweedly.net> Message-ID: <59683EF3.9070804@sonic.net> On 07/13/2017 05:19 PM, Alex Tweedly via use-livecode wrote: > What am I doing wrong ? How do I get actual useful info when something > goes wrong ? Well, you already have a license for PowerDebug, which will enable to to debug running standalone apps in the same subnet (include the library when you build, launch the IDE, then launch the app: breakpoints, errors, etc will be caught). But it's dependent on having a working network connection, so if tsNet is getting in the way of that I don't think it'll help. -- Mark Wieder ahsoftware at gmail.com From charles at techstrategies.com.au Fri Jul 14 00:01:41 2017 From: charles at techstrategies.com.au (Charles Warwick) Date: Fri, 14 Jul 2017 14:01:41 +1000 Subject: Finding errors in a standalone In-Reply-To: References: <5bb3b448-2f99-ef14-c9d7-f91661f29103@tweedly.net> Message-ID: On 14/07/2017 1:40 PM, J. Landman Gay via use-livecode wrote: > On 7/13/17 7:59 PM, Alex Tweedly via use-livecode wrote: >> >> Yeah - it's the equivalent of that (but writing to a log file) that >> makes me think it's tsNetInit that's the problem. But I don't know >> what to do next - Internet is included (manually, and hopefully also >> by search for inclusions), I'm using Business edition, so why would >> tsNetInit fail ? > > Being ignorant of almost everything about internet connection details, > I've never called tsNetInit. I just include the internet library in my > standalone and it works. I'm gussing it initializes itself when the > library loads. What happens if you remove that command? > Is there any chance that the tsNet library was unloaded (by calling: dispatch "revUnloadLibrary" to stack "tsNetLibURL") prior to creating the standalone? If it has been unloaded, then you would need to specifically include the tsNet inclusion to be able to use tsNet commands directly. If the tsNet is actually loaded, then including the Internet library will automatically include tsNet as well (as tsNetInit will automatically be called on startup of revLibURL). Cheers, Charles From richmondmathewson at gmail.com Fri Jul 14 04:45:40 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 14 Jul 2017 11:45:40 +0300 Subject: "Silly" fun for the weekend Message-ID: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> Anyone who is bored/at a loose end/slightly bonkers can fool around with my "exam" for my kids: http://forums.livecode.com/viewtopic.php?f=22&t=29498&p=155915#p155915 Would be glad of feedback. Richmond. From richmondmathewson at gmail.com Fri Jul 14 05:20:30 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 14 Jul 2017 12:20:30 +0300 Subject: intersect . . . invisible images Message-ID: Oh dear, oh dear, oh dear . . . There I am fooling around setting up an "exam" for my "kiddiewinks" when I discovered something quite unsuspected about intersect ; So I have some code that goes something like this: if intersect(img"A",img"B",4) then add 1 to SCORE set the vis of img "B" to false end if now I am making img "B"invisible to that the gameplayer doesn't rack up points be performing a repeated intersect BUT the intersect CONTINUES registering with a hidden image this is a "bally nuisance, old bean" Richmond. From mark at livecode.com Fri Jul 14 05:37:15 2017 From: mark at livecode.com (Mark Waddingham) Date: Fri, 14 Jul 2017 11:37:15 +0200 Subject: intersect . . . invisible images In-Reply-To: References: Message-ID: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> On 2017-07-14 11:20, Richmond Mathewson via use-livecode wrote: > Oh dear, oh dear, oh dear . . . > > There I am fooling around setting up an "exam" for my "kiddiewinks" > when I discovered something quite unsuspected about intersect ; > > So I have some code that goes something like this: > > if intersect(img"A",img"B",4) then > add 1 to SCORE > set the vis of img "B" to false > end if > > now I am making img "B"invisible to that the gameplayer doesn't > rack up points be performing a repeated intersect > > BUT > > the intersect CONTINUES registering with a hidden image How about: if the visible of img "B" and intersect(img "A", img "B", 4) then add 1 to SCORE set the vis of img "B" to false end if Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Fri Jul 14 06:01:11 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 14 Jul 2017 13:01:11 +0300 Subject: intersect . . . invisible images In-Reply-To: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> Message-ID: Thanks, Mark, that is a solution that would work very well. In my solution to the problem I just "parked" the images off-screen once they had been intersected with. HOWEVER . . . at the risk of sound a teeny-weeny bit b*tchy . . . It does seem illogical that while one can set levels of transparency with interset an image can continue intersecting with another when it is, supposedly, invisible . . . Certainly, having to explain THAT to children is going to make them take an even more dim view of adults than I hope they do already. Best, Richmond. On 7/14/17 12:37 pm, Mark Waddingham via use-livecode wrote: > On 2017-07-14 11:20, Richmond Mathewson via use-livecode wrote: >> Oh dear, oh dear, oh dear . . . >> >> There I am fooling around setting up an "exam" for my "kiddiewinks" >> when I discovered something quite unsuspected about intersect ; >> >> So I have some code that goes something like this: >> >> if intersect(img"A",img"B",4) then >> add 1 to SCORE >> set the vis of img "B" to false >> end if >> >> now I am making img "B"invisible to that the gameplayer doesn't >> rack up points be performing a repeated intersect >> >> BUT >> >> the intersect CONTINUES registering with a hidden image > > How about: > > if the visible of img "B" and intersect(img "A", img "B", 4) then > add 1 to SCORE > set the vis of img "B" to false > end if > > Warmest Regards, > > Mark. > From iphonelagi at gmail.com Fri Jul 14 06:40:26 2017 From: iphonelagi at gmail.com (Lagi Pittas) Date: Fri, 14 Jul 2017 11:40:26 +0100 Subject: intersect . . . invisible images In-Reply-To: References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> Message-ID: Hi Richmond I would think there could be use cases where that would be useful (hidden monsters, unexploded bombs) I assumed that they left this undocumented feature (bug?) in because the "fix" is so simple but with the other use cases not so simple - or is it? Lagi On 14 July 2017 at 11:01, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks, Mark, that is a solution that would work very well. > > In my solution to the problem I just "parked" the images off-screen once > they had been intersected with. > > HOWEVER . . . at the risk of sound a teeny-weeny bit b*tchy . . . > > It does seem illogical that while one can set levels of transparency with > interset > an image can continue intersecting with another when it is, supposedly, > invisible . . . > > Certainly, having to explain THAT to children is going to make them take > an even > more dim view of adults than I hope they do already. > > Best, Richmond. > > On 7/14/17 12:37 pm, Mark Waddingham via use-livecode wrote: > >> On 2017-07-14 11:20, Richmond Mathewson via use-livecode wrote: >> >>> Oh dear, oh dear, oh dear . . . >>> >>> There I am fooling around setting up an "exam" for my "kiddiewinks" >>> when I discovered something quite unsuspected about intersect ; >>> >>> So I have some code that goes something like this: >>> >>> if intersect(img"A",img"B",4) then >>> add 1 to SCORE >>> set the vis of img "B" to false >>> end if >>> >>> now I am making img "B"invisible to that the gameplayer doesn't >>> rack up points be performing a repeated intersect >>> >>> BUT >>> >>> the intersect CONTINUES registering with a hidden image >>> >> >> How about: >> >> if the visible of img "B" and intersect(img "A", img "B", 4) then >> add 1 to SCORE >> set the vis of img "B" to false >> end if >> >> Warmest Regards, >> >> Mark. >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jonathandlynch at gmail.com Fri Jul 14 06:44:28 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Fri, 14 Jul 2017 06:44:28 -0400 Subject: LiveCode crashing when I try to make a Mac standalone Message-ID: I have tried this with 8.1.5 rc2, 8.1.5, and 8.1.6 rc1. LiveCode unexpectedly quits while making the standalone. Sometimes it gets far enough for the resulting app to function and sometimes it does not. The resulting app does not appear to have the icon attached. What are some things I should be checking for? Sent from my iPhone From richmondmathewson at gmail.com Fri Jul 14 07:00:14 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 14 Jul 2017 14:00:14 +0300 Subject: intersect . . . invisible images In-Reply-To: References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> Message-ID: Those invisible images are a bit like hidden monsters; jumping out at unwary programmers! Richmond. On 7/14/17 1:40 pm, Lagi Pittas via use-livecode wrote: > Hi Richmond > > I would think there could be use cases where that would be useful (hidden > monsters, unexploded bombs) > > I assumed that they left this undocumented feature (bug?) in because the > "fix" is so simple but with the other use cases not so simple - or is it? > > Lagi > > On 14 July 2017 at 11:01, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Thanks, Mark, that is a solution that would work very well. >> >> In my solution to the problem I just "parked" the images off-screen once >> they had been intersected with. >> >> HOWEVER . . . at the risk of sound a teeny-weeny bit b*tchy . . . >> >> It does seem illogical that while one can set levels of transparency with >> interset >> an image can continue intersecting with another when it is, supposedly, >> invisible . . . >> >> Certainly, having to explain THAT to children is going to make them take >> an even >> more dim view of adults than I hope they do already. >> >> Best, Richmond. >> >> On 7/14/17 12:37 pm, Mark Waddingham via use-livecode wrote: >> >>> On 2017-07-14 11:20, Richmond Mathewson via use-livecode wrote: >>> >>>> Oh dear, oh dear, oh dear . . . >>>> >>>> There I am fooling around setting up an "exam" for my "kiddiewinks" >>>> when I discovered something quite unsuspected about intersect ; >>>> >>>> So I have some code that goes something like this: >>>> >>>> if intersect(img"A",img"B",4) then >>>> add 1 to SCORE >>>> set the vis of img "B" to false >>>> end if >>>> >>>> now I am making img "B"invisible to that the gameplayer doesn't >>>> rack up points be performing a repeated intersect >>>> >>>> BUT >>>> >>>> the intersect CONTINUES registering with a hidden image >>>> >>> How about: >>> >>> if the visible of img "B" and intersect(img "A", img "B", 4) then >>> add 1 to SCORE >>> set the vis of img "B" to false >>> end if >>> >>> Warmest Regards, >>> >>> Mark. >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Fri Jul 14 07:07:19 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 14 Jul 2017 12:07:19 +0100 Subject: LiveCode crashing when I try to make a Mac standalone In-Reply-To: References: Message-ID: Hi Jonathan, You could: 1. Type in the message box: "put true into grevdevelopment" 2. And then "edit the script of stack revsaveasstandalone" 3. Add breakpoints to the command "revSaveAsMacStandalone" 4. Save as standalone 5. The debugger should now stop at the first breakpoint 6. Click the "step over" button until you find the line that causes the crash However, since LC should not crash, I would suggest you file a bug report and attach (or send to panos.merakos at livecode.com directly) the sample stack Best regards, Panos -- On Fri, Jul 14, 2017 at 11:44 AM, Jonathan Lynch via use-livecode < use-livecode at lists.runrev.com> wrote: > I have tried this with 8.1.5 rc2, 8.1.5, and 8.1.6 rc1. > > LiveCode unexpectedly quits while making the standalone. Sometimes it gets > far enough for the resulting app to function and sometimes it does not. The > resulting app does not appear to have the icon attached. > > What are some things I should be checking for? > > Sent from my iPhone > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at livecode.com Fri Jul 14 07:11:49 2017 From: mark at livecode.com (Mark Waddingham) Date: Fri, 14 Jul 2017 13:11:49 +0200 Subject: intersect . . . invisible images In-Reply-To: References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> Message-ID: <5e51d4dab6c9bffcbdb7684d289753c9@livecode.com> On 2017-07-14 12:01, Richmond Mathewson via use-livecode wrote: > It does seem illogical that while one can set levels of transparency > with interset > an image can continue intersecting with another when it is, > supposedly, invisible . . . Originally intersect only worked on the rects of the objects - I don't think it ever took visibility into account (nor blendLevel, for that matter). When we (I think it was me, actually) added the support for pixel-level intersection we just extended the rect approach - so, again, visibility (nor blendLevel) were considered. The threshold parameter isn't really setting levels of transparency - it is telling intersect what level of transparency and above should be considered as being 'actually there' - which means you can have some control over what is considered 'the actual thing you want to intersect' and what is considered 'just background'. Basically intersect works by generating a 'sharp' mask (i.e. which pixels are 'on' and which are 'off') by rendering the object offscreen and then taking any pixel with alpha > threshold as being 'on' and any pixel with alpha < threshold being 'off'. Two objects then intersect if when their masks are overlapped there is at least one pixel which is 'on' in both. As Lagi pointed out one can imagine that there are use-cases where you want to know whether two things intersect regardless of whether they can be seen (i.e. visible false, or blendLevel 100). Indeed, I don't recall anyone ever commenting on this - so either it was too long ago and I have since forgotten, or it is useful the way it currently is. Indeed, one could consider the current 'intersects' as a 'non-effective' form. i.e. It works with the pixels the object is composed of regardless of how they are rendered visually. This does suggest that an 'effective' form is missing - one which takes into account blendLevel and visible. (There's even another point of variance here - you might not actually want blendLevel taken into account - imagine ghost sprites - you might want them very transparent when rendered, but to still intersect as if they had 0 blendLevel). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From rdimola at evergreeninfo.net Fri Jul 14 09:52:44 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 14 Jul 2017 09:52:44 -0400 Subject: Native Livecode Pinch and Zoom In-Reply-To: <3BC06E5B-1A11-400F-8E3F-5C48A2A5B1BA@hindu.org> References: <003c01d2fb25$6213eb40$263bc1c0$@net> <64245535e2d4f175968b6691e093db45@livecode.com> <3BC06E5B-1A11-400F-8E3F-5C48A2A5B1BA@hindu.org> Message-ID: <002601d2fca8$7804ee20$680eca60$@net> BR, We got ?Pinch-and-zoom? to work by adding a viewport meta-tag into the head of our html files: Hope this helps... 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: Thursday, July 13, 2017 1:59 PM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: Native Livecode Pinch and Zoom @ Ralph as we say in HawaiI "Oh! Ho!" What is this: " >I get pinch-and-zoom on both mobile platforms using the mobile browser >control. My html expert has had to tweak a couple of html pages now >and again to make it work. Can you ask him what the secret is? Pleeze! @ Richard: Requesting engine level "zoomable" is not OT at all. It's mission critical on small devices and would take LC apps to on phones to whole "'nother" level. There is AnimationEngine also, that can be leveraged to some extent for this same purpose. but you have get some math going on ?so, right "non-trivial" It would be great if it were easier. BR On 7/12/17, 5:55 AM, "use-livecode on behalf of Mark Waddingham via use-livecode" wrote: Hi Ralph, On 2017-07-12 17:41, Ralph DiMola via use-livecode wrote: >I get pinch-and-zoom on both mobile platforms using the mobile browser >control. My html expert has had to tweak a couple of html pages now >and again to make it work. Other on-line pages don?t pinch-and-zoom >but they also don?t pinch-and-zoom in Safari/Chrome either. I tried >the browser widget and it is nice that you can use it in the IDE and >Mobile but backed it out because the browser widget is missing >"canretreat" property and "retreat" command. Could you file a bug about this? (And any differences in parity between widget and mobileControl, for that matter!). IIRC we added: go back in widget .. go forward in widget ... To navigate forward / back (so the retreat command is at least catered for I think). There's also: do ... in widget ... (although this was a horrendous mistake syntactically which we are now realizing!) launch url ... in widget ... If you put 'widget' into the LiveCodeScript section of the dictionary then you'll see the widget specific tailorings of normal LiveCode Script syntax. Warmest Regards, Mark. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Fri Jul 14 10:31:17 2017 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 14 Jul 2017 15:31:17 +0100 Subject: Finding errors in a standalone In-Reply-To: References: <5bb3b448-2f99-ef14-c9d7-f91661f29103@tweedly.net> Message-ID: <0caa698f-fddb-c47c-dc31-18413f654080@tweedly.net> On 14/07/2017 04:40, J. Landman Gay via use-livecode wrote: > > Being ignorant of almost everything about internet connection details, > I've never called tsNetInit. I just include the internet library in my > standalone and it works. I'm gussing it initializes itself when the > library loads. What happens if you remove that command? > I don't have a good reason for calling tsNetInit (I wanted to use tsNet features, looked in the dictionary, saw that it had an "initialization" handler - so I used it :-) Removing that call means I get further - but I still get this "anonymous" 'Execution error' dialog box with no info in it - I think very time I call "tsNetPost". I guess the *real* question is not about tsNet - it is what info *should* I get when some failure happens. What have I done wrong to make this error dialog be empty of any useful content ? And then maybe what diagnostic info can I get about included libraries, or these failures ? -- Alex. From alex at tweedly.net Fri Jul 14 10:34:53 2017 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 14 Jul 2017 15:34:53 +0100 Subject: Finding errors in a standalone In-Reply-To: <59683EF3.9070804@sonic.net> References: <5bb3b448-2f99-ef14-c9d7-f91661f29103@tweedly.net> <59683EF3.9070804@sonic.net> Message-ID: <2e6a33e4-b0dc-6e9d-7597-12d6e428d4b8@tweedly.net> On 14/07/2017 04:48, Mark Wieder via use-livecode wrote: > > Well, you already have a license for PowerDebug, which will enable to > to debug running standalone apps in the same subnet (include the > library when you build, launch the IDE, then launch the app: > breakpoints, errors, etc will be caught). But it's dependent on having > a working network connection, so if tsNet is getting in the way of > that I don't think it'll help. > Mark - I had forgotten about Powerdebug, and that it could debug standalones; I guess I've been doing server-side things for too long :-) You said "...(include the library when you build, ..." How do I do that ? Is there a document hiding somewhere on how to use Powerdebug ? Clicking on the "?" icon just gives me an error message "There was an error executing a script in stack About Powerdebug. No more information is available because the stack is password protected." Thanks Alex. From brahma at hindu.org Fri Jul 14 10:44:20 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 14 Jul 2017 14:44:20 +0000 Subject: intersect . . . invisible images In-Reply-To: <5e51d4dab6c9bffcbdb7684d289753c9@livecode.com> References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> <5e51d4dab6c9bffcbdb7684d289753c9@livecode.com> Message-ID: Indeed, I won't list them but I get at least 5 use cases popping into my head the moment I saw this, where one would want the intersection between 1 object and an invisible object 2: just one: solution to a puzzle could be invisible. as user moves tiles around the intersect would trigger "got it" for placement. In fact I am using another algorithm for this very use case where we do stuff like store the loc of the hidden object then on mouse drag check the abs of the loc of the dragged vsibiel object ?. and I'm thinking think, sheesh? I thinking I could be using intersect instead? is intersect expensive on mobile? Performant on Android? BR On 7/14/17, 1:11 AM, "use-livecode on behalf of Mark Waddingham via use-livecode" wrote: As Lagi pointed out one can imagine that there are use-cases where you want to know whether two things intersect regardless of whether they can be seen (i.e. visible false, or blendLevel 100). Indeed, I don't recall anyone ever commenting on this - so either it was too long ago and I have since forgotten, or it is useful the way it currently is. From ahsoftware at sonic.net Fri Jul 14 12:12:11 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 14 Jul 2017 09:12:11 -0700 Subject: Finding errors in a standalone In-Reply-To: <2e6a33e4-b0dc-6e9d-7597-12d6e428d4b8@tweedly.net> References: <5bb3b448-2f99-ef14-c9d7-f91661f29103@tweedly.net> <59683EF3.9070804@sonic.net> <2e6a33e4-b0dc-6e9d-7597-12d6e428d4b8@tweedly.net> Message-ID: <0fad6379-1680-0570-1d2c-f593d0bcfb3e@sonic.net> On 07/14/2017 07:34 AM, Alex Tweedly via use-livecode wrote: > Clicking on the "?" icon just gives me an error message > "There was an error executing a script in stack About Powerdebug. No > more information is available because the stack is password protected." That's bizarre - it's definitely not protected. And yes, there's a doc and library in the zip file. I'll email you off list. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Fri Jul 14 12:19:46 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jul 2017 11:19:46 -0500 Subject: intersect . . . invisible images In-Reply-To: References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> Message-ID: <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I'm not sure why the explanation would be difficult. Existence is different from appearance. Intersect looks for existence at a particular location, visibility is how the object looks. Substitute "blue" for "visible" and it's the same thing. On July 14, 2017 5:03:09 AM Richmond Mathewson via use-livecode wrote: > It does seem illogical that while one can set levels of transparency > with interset > an image can continue intersecting with another when it is, supposedly, > invisible . . . > > Certainly, having to explain THAT to children is going to make them take > an even > more dim view of adults than I hope they do already. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Fri Jul 14 12:38:13 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Jul 2017 10:38:13 -0600 Subject: intersect . . . invisible images In-Reply-To: <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: The invisible man still had to worry about opening doors and bumping into things. His shin could intercept painfully with the corner of a coffee table whether visible or not. On Fri, Jul 14, 2017 at 10:19 AM, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm not sure why the explanation would be difficult. Existence is > different from appearance. Intersect looks for existence at a particular > location, visibility is how the object looks. > > Substitute "blue" for "visible" and it's the same thing. > > > On July 14, 2017 5:03:09 AM Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > > It does seem illogical that while one can set levels of transparency >> with interset >> an image can continue intersecting with another when it is, supposedly, >> invisible . . . >> >> Certainly, having to explain THAT to children is going to make them take >> an even >> more dim view of adults than I hope they do already. >> > > -- > 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 bonnmike at gmail.com Fri Jul 14 13:01:01 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Jul 2017 11:01:01 -0600 Subject: "Silly" fun for the weekend In-Reply-To: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> Message-ID: Heres my take. https://www.dropbox.com/s/c40jiwn36lrohgy/Ant%20Maze.livecode?dl=0 On Fri, Jul 14, 2017 at 2:45 AM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > Anyone who is bored/at a loose end/slightly bonkers > can fool around with my "exam" for my kids: > > http://forums.livecode.com/viewtopic.php?f=22&t=29498&p=155915#p155915 > > Would be glad of feedback. > > 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 Fri Jul 14 13:22:51 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 14 Jul 2017 20:22:51 +0300 Subject: intersect . . . invisible images In-Reply-To: <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: If intersect looks for existence rather than appearance why does it tale transparency levels into consideration? R. On 7/14/17 7:19 pm, J. Landman Gay via use-livecode wrote: > I'm not sure why the explanation would be difficult. Existence is > different from appearance. Intersect looks for existence at a > particular location, visibility is how the object looks. > > Substitute "blue" for "visible" and it's the same thing. > > > On July 14, 2017 5:03:09 AM Richmond Mathewson via use-livecode > wrote: > >> It does seem illogical that while one can set levels of transparency >> with interset >> an image can continue intersecting with another when it is, supposedly, >> invisible . . . >> >> Certainly, having to explain THAT to children is going to make them take >> an even >> more dim view of adults than I hope they do already. > > -- > 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 richmondmathewson at gmail.com Fri Jul 14 13:26:58 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 14 Jul 2017 20:26:58 +0300 Subject: intersect . . . invisible images In-Reply-To: References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <7e6b380d-4e17-3dbf-7c94-fa48c66f7be6@gmail.com> I hope his shin does; unless, of course, his transparency level is below a certain threshold. The problem is NOT the invisible man; it's the kid he fathered on a visible woman so we have the 50% visible child, also known as "The situation that H.G.Wells didn't think about too carefully." Things get even more difficult in further generation with the 5% visible descendant, the 95% visible distant cousin and so forth. Richmond. On 7/14/17 7:38 pm, Mike Bonner via use-livecode wrote: > The invisible man still had to worry about opening doors and bumping into > things. His shin could intercept painfully with the corner of a coffee > table whether visible or not. > > On Fri, Jul 14, 2017 at 10:19 AM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I'm not sure why the explanation would be difficult. Existence is >> different from appearance. Intersect looks for existence at a particular >> location, visibility is how the object looks. >> >> Substitute "blue" for "visible" and it's the same thing. >> >> >> On July 14, 2017 5:03:09 AM Richmond Mathewson via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> It does seem illogical that while one can set levels of transparency >>> with interset >>> an image can continue intersecting with another when it is, supposedly, >>> invisible . . . >>> >>> Certainly, having to explain THAT to children is going to make them take >>> an even >>> more dim view of adults than I hope they do already. >>> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Fri Jul 14 13:39:20 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Jul 2017 11:39:20 -0600 Subject: intersect . . . invisible images In-Reply-To: <7e6b380d-4e17-3dbf-7c94-fa48c66f7be6@gmail.com> References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7e6b380d-4e17-3dbf-7c94-fa48c66f7be6@gmail.com> Message-ID: Hes the invisible man with a multi-phasing skill. Just being invisible doesn't remove him from physical constraints. Add the ability to set a phase state based on transparency level and there ya go. You're welcome. On Fri, Jul 14, 2017 at 11:26 AM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > I hope his shin does; unless, of course, his transparency level is below a > certain threshold. > > The problem is NOT the invisible man; it's the kid he fathered on a > visible woman so we > have the 50% visible child, also known as "The situation that H.G.Wells > didn't think about too > carefully." > > Things get even more difficult in further generation with the 5% visible > descendant, > the 95% visible distant cousin and so forth. > > Richmond. > > > On 7/14/17 7:38 pm, Mike Bonner via use-livecode wrote: > >> The invisible man still had to worry about opening doors and bumping into >> things. His shin could intercept painfully with the corner of a coffee >> table whether visible or not. >> >> On Fri, Jul 14, 2017 at 10:19 AM, J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> I'm not sure why the explanation would be difficult. Existence is >>> different from appearance. Intersect looks for existence at a particular >>> location, visibility is how the object looks. >>> >>> Substitute "blue" for "visible" and it's the same thing. >>> >>> >>> On July 14, 2017 5:03:09 AM Richmond Mathewson via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> It does seem illogical that while one can set levels of transparency >>> >>>> with interset >>>> an image can continue intersecting with another when it is, supposedly, >>>> invisible . . . >>>> >>>> Certainly, having to explain THAT to children is going to make them take >>>> an even >>>> more dim view of adults than I hope they do already. >>>> >>>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Fri Jul 14 13:46:55 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 14 Jul 2017 20:46:55 +0300 Subject: "Silly" fun for the weekend In-Reply-To: References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> Message-ID: Why not post it to the Forum? R. On 7/14/17 8:01 pm, Mike Bonner via use-livecode wrote: > Heres my take. > https://www.dropbox.com/s/c40jiwn36lrohgy/Ant%20Maze.livecode?dl=0 > > On Fri, Jul 14, 2017 at 2:45 AM, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Anyone who is bored/at a loose end/slightly bonkers >> can fool around with my "exam" for my kids: >> >> http://forums.livecode.com/viewtopic.php?f=22&t=29498&p=155915#p155915 >> >> Would be glad of feedback. >> >> 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 brahma at hindu.org Fri Jul 14 13:57:39 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 14 Jul 2017 17:57:39 +0000 Subject: intersect . . . invisible images In-Reply-To: <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: OT: your physical/food body is "intersected" by your pranic, astral, mental and superconscious bodies, all of which are "invisible." Hopefully they fully intersect most of the time unless you are sleeping or actively astral traveling. (Not a good idea for the untrained) but I would change the coloir scheme, substitute "light blue" for invisible (some people, children, cats *can* see them) and it?s the same thing. then when you die, all you just "delete" the first two objects (food body, energy body) (ha!) so yes, I think children will do fine with this. BR On 7/14/17, 6:19 AM, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: I'm not sure why the explanation would be difficult. Existence is different from appearance. Intersect looks for existence at a particular location, visibility is how the object looks. Substitute "blue" for "visible" and it's the same thing. From richmondmathewson at gmail.com Fri Jul 14 13:59:20 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 14 Jul 2017 20:59:20 +0300 Subject: "Silly" fun for the weekend In-Reply-To: References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> Message-ID: <20971c4d-0a2c-95b4-1701-e955892cbe45@gmail.com> You are a lot kinder than me; when my "ant" bashed into a wall I sent it all the way back to the start and took away its points and made the food items reappear. Richmond. On 7/14/17 8:01 pm, Mike Bonner via use-livecode wrote: > Heres my take. > https://www.dropbox.com/s/c40jiwn36lrohgy/Ant%20Maze.livecode?dl=0 > > On Fri, Jul 14, 2017 at 2:45 AM, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Anyone who is bored/at a loose end/slightly bonkers >> can fool around with my "exam" for my kids: >> >> http://forums.livecode.com/viewtopic.php?f=22&t=29498&p=155915#p155915 >> >> Would be glad of feedback. >> >> 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 brahma at hindu.org Fri Jul 14 13:59:41 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 14 Jul 2017 17:59:41 +0000 Subject: intersect . . . invisible images In-Reply-To: <7e6b380d-4e17-3dbf-7c94-fa48c66f7be6@gmail.com> References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <7e6b380d-4e17-3dbf-7c94-fa48c66f7be6@gmail.com> Message-ID: Ha! It not that deterministic: Your blend level is a matter of person evolutionary "work" that you have or have not done to date. Oh.. this metaphor has great edu possibilities. BR On 7/14/17, 7:26 AM, "use-livecode on behalf of Richmond Mathewson via use-livecode" wrote: I hope his shin does; unless, of course, his transparency level is below a certain threshold. The problem is NOT the invisible man; it's the kid he fathered on a visible woman so we have the 50% visible child, also known as "The situation that H.G.Wells didn't think about too carefully." Things get even more difficult in further generation with the 5% visible descendant, the 95% visible distant cousin and so forth. From richmondmathewson at gmail.com Fri Jul 14 14:10:53 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 14 Jul 2017 21:10:53 +0300 Subject: intersect . . . invisible images In-Reply-To: References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> I'm not sure if all the adherents to the Use-List would accept the existence of the pranic, astral, mental and superconscious bodies as they are empirically unverifiable. LiveCode and object within a LiveCode stack, are, on the other hand 100% empirically verifiable. It might be argued that talk of pranic, astral, mental and superconscious bodies came from the realm of metaphysical belief and therefore were not entirely relevant to talking about the physical world. Yes, I know that the invisible man was fictional, but so does everyone else as well. Richmond. On 7/14/17 8:57 pm, Sannyasin Brahmanathaswami via use-livecode wrote: > OT: your physical/food body is "intersected" by your pranic, astral, mental and superconscious bodies, all of which are "invisible." Hopefully they fully intersect most of the time unless you are sleeping or actively astral traveling. (Not a good idea for the untrained) but I would change the coloir scheme, substitute "light blue" for invisible (some people, children, cats *can* see them) and it?s the same thing. then when you die, all you just "delete" the first two objects (food body, energy body) (ha!) > > so yes, I think children will do fine with this. > > BR > > > On 7/14/17, 6:19 AM, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: > > I'm not sure why the explanation would be difficult. Existence is different > from appearance. Intersect looks for existence at a particular location, > visibility is how the object looks. > > Substitute "blue" for "visible" and it's the same thing. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 14 14:16:20 2017 From: mark at livecode.com (Mark Waddingham) Date: Fri, 14 Jul 2017 19:16:20 +0100 Subject: intersect . . . invisible images In-Reply-To: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> Message-ID: As I attempted to explain (clearly not very well!) intersect uses the transparency of pixels of the object when rendered in isolation to determine what parts of the object should be used to check for intersection. For example, you might have an image which incorporates a mostly transparent drop shadow. By choosing an appropriate threshold, the shape which actually gets interacted in that case can be everything but the drop shadow. Mark. Sent from my iPhone > On 14 Jul 2017, at 19:10, Richmond Mathewson via use-livecode wrote: > > I'm not sure if all the adherents to the Use-List would accept the existence > of the pranic, astral, mental and superconscious bodies > as they are empirically unverifiable. > > LiveCode and object within a LiveCode stack, are, on the other hand 100% empirically verifiable. > > It might be argued that talk of pranic, astral, mental and superconscious bodies > came from the realm of metaphysical belief and therefore were not entirely relevant > to talking about the physical world. > > Yes, I know that the invisible man was fictional, but so does everyone else as well. > > Richmond. > >> On 7/14/17 8:57 pm, Sannyasin Brahmanathaswami via use-livecode wrote: >> OT: your physical/food body is "intersected" by your pranic, astral, mental and superconscious bodies, all of which are "invisible." Hopefully they fully intersect most of the time unless you are sleeping or actively astral traveling. (Not a good idea for the untrained) but I would change the coloir scheme, substitute "light blue" for invisible (some people, children, cats *can* see them) and it?s the same thing. then when you die, all you just "delete" the first two objects (food body, energy body) (ha!) >> >> so yes, I think children will do fine with this. >> >> BR >> >> >> On 7/14/17, 6:19 AM, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: >> >> I'm not sure why the explanation would be difficult. Existence is different >> from appearance. Intersect looks for existence at a particular location, >> visibility is how the object looks. >> Substitute "blue" for "visible" and it's the same thing. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Jul 14 14:42:15 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 14 Jul 2017 21:42:15 +0300 Subject: intersect . . . invisible images In-Reply-To: References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> Message-ID: <6d47901e-59ee-f3ef-5d6d-364948d62955@gmail.com> You explained it well enough . . . however some of us (well, 2 of us at least) do love wandering off topic. Richmond. On 7/14/17 9:16 pm, Mark Waddingham via use-livecode wrote: > As I attempted to explain (clearly not very well!) intersect uses the transparency of pixels of the object when rendered in isolation to determine what parts of the object should be used to check for intersection. > > For example, you might have an image which incorporates a mostly transparent drop shadow. By choosing an appropriate threshold, the shape which actually gets interacted in that case can be everything but the drop shadow. > > Mark. > > Sent from my iPhone > >> On 14 Jul 2017, at 19:10, Richmond Mathewson via use-livecode wrote: >> >> I'm not sure if all the adherents to the Use-List would accept the existence >> of the pranic, astral, mental and superconscious bodies >> as they are empirically unverifiable. >> >> LiveCode and object within a LiveCode stack, are, on the other hand 100% empirically verifiable. >> >> It might be argued that talk of pranic, astral, mental and superconscious bodies >> came from the realm of metaphysical belief and therefore were not entirely relevant >> to talking about the physical world. >> >> Yes, I know that the invisible man was fictional, but so does everyone else as well. >> >> Richmond. >> >>> On 7/14/17 8:57 pm, Sannyasin Brahmanathaswami via use-livecode wrote: >>> OT: your physical/food body is "intersected" by your pranic, astral, mental and superconscious bodies, all of which are "invisible." Hopefully they fully intersect most of the time unless you are sleeping or actively astral traveling. (Not a good idea for the untrained) but I would change the coloir scheme, substitute "light blue" for invisible (some people, children, cats *can* see them) and it?s the same thing. then when you die, all you just "delete" the first two objects (food body, energy body) (ha!) >>> >>> so yes, I think children will do fine with this. >>> >>> BR >>> >>> >>> On 7/14/17, 6:19 AM, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: >>> >>> I'm not sure why the explanation would be difficult. Existence is different >>> from appearance. Intersect looks for existence at a particular location, >>> visibility is how the object looks. >>> Substitute "blue" for "visible" and it's the same thing. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Jul 14 14:44:07 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 14 Jul 2017 18:44:07 +0000 Subject: intersect . . . invisible images In-Reply-To: References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> Message-ID: <6863688B-A4C5-4A63-91F7-41E668CA1F7E@hindu.org> Ahh, very helpful to understand that utilization. On 7/14/17, 8:16 AM, "use-livecode on behalf of Mark Waddingham via use-livecode" wrote: For example, you might have an image which incorporates a mostly transparent drop shadow. By choosing an appropriate threshold, the shape which actually gets interacted in that case can be everything but the drop shadow. From ambassador at fourthworld.com Fri Jul 14 14:44:28 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Jul 2017 11:44:28 -0700 Subject: intersect . . . invisible images In-Reply-To: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> References: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> Message-ID: <239ad69d-979f-2590-59d8-e0d900eee8f0@fourthworld.com> Richmond Mathewson wrote: > I'm not sure if all the adherents to the Use-List would accept the > existence of the pranic, astral, mental and superconscious bodies > as they are empirically unverifiable. > > LiveCode and object within a LiveCode stack, are, on the other hand > 100% empirically verifiable. > > It might be argued that talk of pranic, astral, mental and > superconscious bodies came from the realm of metaphysical belief > and therefore were not entirely relevant to talking about the > physical world. We can observe that there is a difference between a living person and as dead body. No one has discovered the exact mechanism that distinguishes the two. But we all see it, even if we have different names for it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From martyknappster at gmail.com Fri Jul 14 14:46:21 2017 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 14 Jul 2017 11:46:21 -0700 Subject: High Sierra & LC Message-ID: <8d4b330c-bbab-9013-67ca-94b95a00aa4b@gmail.com> I just downloaded the latest Mac OS beta - High Sierra and attempted to run 2 different apps that were built with LC 6.6.5. When I tried to print from each, they both crashed before the system print dialog appeared. They both function fine running on Sierra. Has anyone done any testing with their apps? I understand that High Sierra is beta, but I do want to be ready when it ships this Fall. Do later versions of LC on High Sierra work OK for anyone? Marty From jacque at hyperactivesw.com Fri Jul 14 14:51:12 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jul 2017 13:51:12 -0500 Subject: intersect . . . invisible images In-Reply-To: References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> <15d41e549e0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <8f37c4e4-c48a-f818-39f8-22a0b038e15a@hyperactivesw.com> On 7/14/17 12:22 PM, Richmond Mathewson via use-livecode wrote: > If intersect looks for existence rather than appearance why does it tale > transparency levels into consideration? That just exchanges the dimensions of the object rectangle for the position of its "visible" outline. It is still checking for position/existence -- the existence of visible pixels. The ability to check for the actual position of the object outline is a newer addition; the original intersect function only looked at the object rectangle. Likely the addition of the visible pixels parameter, which is very useful, confuses the concept which is still purely positional. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tore.nilsen at me.com Fri Jul 14 14:53:01 2017 From: tore.nilsen at me.com (Tore Nilsen) Date: Fri, 14 Jul 2017 20:53:01 +0200 Subject: High Sierra & LC In-Reply-To: <8d4b330c-bbab-9013-67ca-94b95a00aa4b@gmail.com> References: <8d4b330c-bbab-9013-67ca-94b95a00aa4b@gmail.com> Message-ID: <4E79B7B4-3653-4562-8AAD-457A09081462@me.com> I can not start any version of LC in beta 3 of High Sierra. In beta 1 and 2 LC hung when I tried to access the color palette. Regards Tore Nilsen > 14. jul. 2017 kl. 20:46 skrev Marty Knapp via use-livecode : > > I just downloaded the latest Mac OS beta - High Sierra and attempted to run 2 different apps that were built with LC 6.6.5. When I tried to print from each, they both crashed before the system print dialog appeared. They both function fine running on Sierra. Has anyone done any testing with their apps? I understand that High Sierra is beta, but I do want to be ready when it ships this Fall. Do later versions of LC on High Sierra work OK for anyone? > > Marty > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Fri Jul 14 14:56:49 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 14 Jul 2017 11:56:49 -0700 Subject: High Sierra & LC In-Reply-To: <8d4b330c-bbab-9013-67ca-94b95a00aa4b@gmail.com> References: <8d4b330c-bbab-9013-67ca-94b95a00aa4b@gmail.com> Message-ID: <8D001832-3DAB-494C-901F-F28433B4CC49@gmail.com> 7.1.4 is intermittent, sometimes it opens fine. 8.1.4 and 8.1.5 have issues if they are set to open in 32 bit. 9.0.0 seems fine. Downloading 8.1.6 now to see how that does. > On Jul 14, 2017, at 11:46 AM, Marty Knapp via use-livecode wrote: > > I just downloaded the latest Mac OS beta - High Sierra and attempted to run 2 different apps that were built with LC 6.6.5. When I tried to print from each, they both crashed before the system print dialog appeared. They both function fine running on Sierra. Has anyone done any testing with their apps? I understand that High Sierra is beta, but I do want to be ready when it ships this Fall. Do later versions of LC on High Sierra work OK for anyone? > > Marty > From brahma at hindu.org Fri Jul 14 15:08:22 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 14 Jul 2017 19:08:22 +0000 Subject: intersect . . . invisible images In-Reply-To: <239ad69d-979f-2590-59d8-e0d900eee8f0@fourthworld.com> References: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> <239ad69d-979f-2590-59d8-e0d900eee8f0@fourthworld.com> Message-ID: LOL. OK way OT now.. (Richmond I have a long way to go to catch up to you on OT?) the so-called "100% empirical" is such a bogus idea in the first place, as many a modern brain scientist will tell you. And we know some of the top "empirically trained" guys. What measurements, by whom and under what circumstances? As for "inner bodies" well, seen by many though no more measureable to the limited mind than are the photons from the sun that are streaming through us all at this very moment. Streaming photons are also "based on belief" -- a cultural consensus surrounding nuclear physics and their choice of instrumentation to "visualize" a phenomena that is in fact "invisible" and onlyl verifiable by inference. As much an illusion as American Exceptionalism (we are actually a 2nd tier nation slipping into 3rd tier territory.) But you "believe" what the nuclear physicists actually tell us about sub-atomic particle motion. Therein lies the slippery slope of the line between "100 empirical" vs "belief" Their theories can (and do and have) changed over time. Some would think that what one imagines is "metaphysical," perhaps, but nevertheless just as "real" It's no less real than the butter on your toast. FYI: the butter on your toast is a hologram painted on your brain by your 5 senses. What you imagine is just another painting, by a different painter?.way OT now? I better stop there. I'm only very thankful that what Mark Waddinginton "imagines" does indeed enter the empirical realm, eventually. On 7/14/17, 8:44 AM, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: > It might be argued that talk of pranic, astral, mental and > superconscious bodies came from the realm of metaphysical belief > and therefore were not entirely relevant to talking about the > physical world. We can observe that there is a difference between a living person and as dead body. No one has discovered the exact mechanism that distinguishes the two. But we all see it, even if we have different names for it. From brahma at hindu.org Fri Jul 14 15:35:02 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 14 Jul 2017 19:35:02 +0000 Subject: "Silly" fun for the weekend In-Reply-To: References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> Message-ID: <53C5313E-6126-4759-B13F-B75B9A4FF34C@hindu.org> I'm not bored or at loose ends.. but looking for game models, this 60+ couldn't stop. got all 7 raisins, out in 349 secs? you could speed it up a lot! How would we (how do "they") implement the movement of a player on screen (in this case, the ant) on mobile? Silly fun was in fact addictive. I don' t think I could have stopped if I had wanted to. I can use this! On 7/14/17, 7:01 AM, "use-livecode on behalf of Mike Bonner via use-livecode" wrote: Heres my take. https://www.dropbox.com/s/c40jiwn36lrohgy/Ant%20Maze.livecode?dl=0 On Fri, Jul 14, 2017 at 2:45 AM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: >Anyone who is bored/at a loose end/slightly bonkers >can fool around with my "exam" for my kids: > >http://forums.livecode.com/viewtopic.php?f=22&t=29498&p=155915#p155915 > >Would be glad of feedback. > >Richmond. From dochawk at gmail.com Fri Jul 14 15:46:21 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 14 Jul 2017 12:46:21 -0700 Subject: "Silly" fun for the weekend In-Reply-To: <20971c4d-0a2c-95b4-1701-e955892cbe45@gmail.com> References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> <20971c4d-0a2c-95b4-1701-e955892cbe45@gmail.com> Message-ID: On Fri, Jul 14, 2017 at 10:59 AM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > You are a lot kinder than me; when my "ant" bashed into a wall > I sent it all the way back to the start and took away its points > and made the food items reappear. > > I've somehow managed to overcome my inclination to write a genetic algorithm to evolve the ant that can do this optimally . . . I'm just too far behind on my main project, and even further on my game . .. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Fri Jul 14 15:59:47 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Jul 2017 13:59:47 -0600 Subject: "Silly" fun for the weekend In-Reply-To: <53C5313E-6126-4759-B13F-B75B9A4FF34C@hindu.org> References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> <53C5313E-6126-4759-B13F-B75B9A4FF34C@hindu.org> Message-ID: A standard on mobile for this sort of thing seems to be a simulated d-pad type control. Though using the accelerometers isn't difficult and could make it a real challenge when trying not to touch walls. (perhaps change things so that wall touches are ok, but there are holes to avoid like a marble maze game) I keep hoping someone will implement box2d, but that will probably (hopefully) happen once we reach 10. On Fri, Jul 14, 2017 at 1:35 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > I'm not bored or at loose ends.. but looking for game models, this 60+ > couldn't stop. got all 7 raisins, out in 349 secs? you could speed it up a > lot! > > How would we (how do "they") implement the movement of a player on screen > (in this case, the ant) on mobile? > > Silly fun was in fact addictive. I don' t think I could have stopped if I > had wanted to. I can use this! > > > > On 7/14/17, 7:01 AM, "use-livecode on behalf of Mike Bonner via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Heres my take. > https://www.dropbox.com/s/c40jiwn36lrohgy/Ant%20Maze.livecode?dl=0 > > On Fri, Jul 14, 2017 at 2:45 AM, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > > >Anyone who is bored/at a loose end/slightly bonkers > >can fool around with my "exam" for my kids: > > > >http://forums.livecode.com/viewtopic.php?f=22&t=29498&p= > 155915#p155915 > > > >Would be glad of feedback. > > > >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 Fri Jul 14 16:11:10 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 14 Jul 2017 23:11:10 +0300 Subject: "Silly" fun for the weekend In-Reply-To: <53C5313E-6126-4759-B13F-B75B9A4FF34C@hindu.org> References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> <53C5313E-6126-4759-B13F-B75B9A4FF34C@hindu.org> Message-ID: <54adae3f-5659-a60b-4dc2-e0d35fd2ea28@gmail.com> Please do feel free to use this, I'm glad that it might be slightly more use than just an end of quickie summer course test. Best, Richmond. On 7/14/17 10:35 pm, Sannyasin Brahmanathaswami via use-livecode wrote: > I'm not bored or at loose ends.. but looking for game models, this 60+ couldn't stop. got all 7 raisins, out in 349 secs? you could speed it up a lot! > > How would we (how do "they") implement the movement of a player on screen (in this case, the ant) on mobile? > > Silly fun was in fact addictive. I don' t think I could have stopped if I had wanted to. I can use this! > > > > On 7/14/17, 7:01 AM, "use-livecode on behalf of Mike Bonner via use-livecode" wrote: > > Heres my take. > https://www.dropbox.com/s/c40jiwn36lrohgy/Ant%20Maze.livecode?dl=0 > > On Fri, Jul 14, 2017 at 2:45 AM, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > > >Anyone who is bored/at a loose end/slightly bonkers > >can fool around with my "exam" for my kids: > > > >http://forums.livecode.com/viewtopic.php?f=22&t=29498&p=155915#p155915 > > > >Would be glad of feedback. > > > >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 jacque at hyperactivesw.com Fri Jul 14 16:20:35 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jul 2017 15:20:35 -0500 Subject: "Silly" fun for the weekend In-Reply-To: References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> <53C5313E-6126-4759-B13F-B75B9A4FF34C@hindu.org> Message-ID: <2dfd00d7-090e-a469-e978-8b63a8b31723@hyperactivesw.com> On 7/14/17 2:59 PM, Mike Bonner via use-livecode wrote: > A standard on mobile for this sort of thing seems to be a simulated d-pad > type control. Though using the accelerometers isn't difficult and could > make it a real challenge when trying not to touch walls. I've also seen mobile games where just touching the screen moves the avatar to that position. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jul 14 16:21:38 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jul 2017 15:21:38 -0500 Subject: Finding errors in a standalone In-Reply-To: <0caa698f-fddb-c47c-dc31-18413f654080@tweedly.net> References: <5bb3b448-2f99-ef14-c9d7-f91661f29103@tweedly.net> <0caa698f-fddb-c47c-dc31-18413f654080@tweedly.net> Message-ID: <070d9409-61eb-1c1e-f3d4-37c2fea279d5@hyperactivesw.com> On 7/14/17 9:31 AM, Alex Tweedly via use-livecode wrote: > I guess the *real* question is not about tsNet - it is what info > *should* I get when some failure happens. The result contains any LC errors, and apparently there were none. The "it" variable contains whatever is returned by the server. The script should check both. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephen at barncard.com Fri Jul 14 17:28:46 2017 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 14 Jul 2017 21:28:46 +0000 Subject: intersect . . . invisible images In-Reply-To: References: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> <239ad69d-979f-2590-59d8-e0d900eee8f0@fourthworld.com> Message-ID: And of course, this dovetails nicely into Jacque's disappearing socks theory. Lol on this wonderful thread. I love you guys. On Fri, Jul 14, 2017 at 12:08 Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > LOL. OK way OT now.. (Richmond I have a long way to go to catch up to you > on OT?) the so-called "100% empirical" is such a bogus idea in the first > place, as many a modern brain scientist will tell you. And we know some of > the top "empirically trained" guys. What measurements, by whom and under > what circumstances? > > As for "inner bodies" well, seen by many though no more measureable to the > limited mind than are the photons from the sun that are streaming through > us all at this very moment. Streaming photons are also "based on belief" > -- a cultural consensus surrounding nuclear physics and their choice of > instrumentation to "visualize" a phenomena that is in fact "invisible" and > onlyl verifiable by inference. As much an illusion as American > Exceptionalism (we are actually a 2nd tier nation slipping into 3rd tier > territory.) But you "believe" what the nuclear physicists actually tell us > about sub-atomic particle motion. Therein lies the slippery slope of the > line between "100 empirical" vs "belief" Their theories can (and do and > have) changed over time. Some would think that what one imagines is > "metaphysical," perhaps, but nevertheless just as "real" It's no less > real than the butter on your toast. FYI: the butter on your toast is a > hologram painted on your brain by your 5 senses. What you imagine is just > another painting, by a different painter?.way OT now? I better stop > there. I'm only very thankful that what Mark Waddinginton "imagines" does > indeed enter the empirical realm, eventually. > > On 7/14/17, 8:44 AM, "use-livecode on behalf of Richard Gaskin via > use-livecode" use-livecode at lists.runrev.com> wrote: > > > It might be argued that talk of pranic, astral, mental and > > superconscious bodies came from the realm of metaphysical belief > > and therefore were not entirely relevant to talking about the > > physical world. > > > We can observe that there is a difference between a living person and > as > dead body. No one has discovered the exact mechanism that > distinguishes > the two. But we all see it, even if we have different names for it. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From tore.nilsen at me.com Fri Jul 14 18:41:00 2017 From: tore.nilsen at me.com (Tore Nilsen) Date: Sat, 15 Jul 2017 00:41:00 +0200 Subject: High Sierra & LC In-Reply-To: <8D001832-3DAB-494C-901F-F28433B4CC49@gmail.com> References: <8d4b330c-bbab-9013-67ca-94b95a00aa4b@gmail.com> <8D001832-3DAB-494C-901F-F28433B4CC49@gmail.com> Message-ID: <420CBE8E-6658-4D68-B0DF-68198777266F@me.com> 9.0 db 8 and 8.14 and 8.15 opens fine in 64 bit mode, trying to set any color via the color palette crashes any of these versions of LC. Tore > 14. jul. 2017 kl. 20:56 skrev Colin Holgate via use-livecode : > > 7.1.4 is intermittent, sometimes it opens fine. 8.1.4 and 8.1.5 have issues if they are set to open in 32 bit. 9.0.0 seems fine. Downloading 8.1.6 now to see how that does. > > > >> On Jul 14, 2017, at 11:46 AM, Marty Knapp via use-livecode wrote: >> >> I just downloaded the latest Mac OS beta - High Sierra and attempted to run 2 different apps that were built with LC 6.6.5. When I tried to print from each, they both crashed before the system print dialog appeared. They both function fine running on Sierra. Has anyone done any testing with their apps? I understand that High Sierra is beta, but I do want to be ready when it ships this Fall. Do later versions of LC on High Sierra work OK for anyone? >> >> Marty >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Jul 14 18:48:39 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 14 Jul 2017 15:48:39 -0700 Subject: postgres table query not getting all names Message-ID: Sometime ago, I wrote my own getTableNames() because revDatabaseTableNames() would consistently fail to find them all. Now, it to is filing. It is, in essence, *put* "SELECT table_name FROM information_schema.tables ;" \ & cr into dcmd *put* revDataFromQuery(,cr,db,dcmd) into tabList *return* tabList I have another chunk of code which is now acting up: *put* getTableNames(dhbkSrvrDb) into dhSrvTbls *put* "dhStatTbl" into dhtbl_stat *if* dhtbl_stat is not among the words of dhSrvTbls *then* *put* "CREATE TABLE " & dhtbl_stat . . . blah blah blah table dhStatTbl already exists, yet the conditional is reached. It executes, and throws an error because this table is already there. This is, to be mild, a brutal bug. Might there be something I'm missing? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From martyknappster at gmail.com Fri Jul 14 18:49:11 2017 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 14 Jul 2017 15:49:11 -0700 Subject: High Sierra & LC In-Reply-To: <420CBE8E-6658-4D68-B0DF-68198777266F@me.com> References: <8d4b330c-bbab-9013-67ca-94b95a00aa4b@gmail.com> <8D001832-3DAB-494C-901F-F28433B4CC49@gmail.com> <420CBE8E-6658-4D68-B0DF-68198777266F@me.com> Message-ID: <24c04f83-29b6-cff1-e732-eaafcd2a943e@knappstersolutions.com> With the release of High Sierra scheduled for this Fall (Sept/Oct?), it would be nice to hear from the mother ship what is happening with this. If no version of LC will produce an app that will run reliably on it, I would think there would be more concern? Marty > 9.0 db 8 and 8.14 and 8.15 opens fine in 64 bit mode, trying to set any color via the color palette crashes any of these versions of LC. > > Tore > >> 14. jul. 2017 kl. 20:56 skrev Colin Holgate via use-livecode : >> >> 7.1.4 is intermittent, sometimes it opens fine. 8.1.4 and 8.1.5 have issues if they are set to open in 32 bit. 9.0.0 seems fine. Downloading 8.1.6 now to see how that does. >> >> >> >>> On Jul 14, 2017, at 11:46 AM, Marty Knapp via use-livecode wrote: >>> >>> I just downloaded the latest Mac OS beta - High Sierra and attempted to run 2 different apps that were built with LC 6.6.5. When I tried to print from each, they both crashed before the system print dialog appeared. They both function fine running on Sierra. Has anyone done any testing with their apps? I understand that High Sierra is beta, but I do want to be ready when it ships this Fall. Do later versions of LC on High Sierra work OK for anyone? >>> >>> Marty >>> From bobsneidar at iotecdigital.com Fri Jul 14 18:50:20 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Jul 2017 22:50:20 +0000 Subject: High Sierra & LC In-Reply-To: <24c04f83-29b6-cff1-e732-eaafcd2a943e@knappstersolutions.com> References: <8d4b330c-bbab-9013-67ca-94b95a00aa4b@gmail.com> <8D001832-3DAB-494C-901F-F28433B4CC49@gmail.com> <420CBE8E-6658-4D68-B0DF-68198777266F@me.com> <24c04f83-29b6-cff1-e732-eaafcd2a943e@knappstersolutions.com> Message-ID: I'm sure they are on it. Bob S > On Jul 14, 2017, at 15:49 , Marty Knapp via use-livecode wrote: > > With the release of High Sierra scheduled for this Fall (Sept/Oct?), it would be nice to hear from the mother ship what is happening with this. If no version of LC will produce an app that will run reliably on it, I would think there would be more concern? > > Marty From tore.nilsen at me.com Fri Jul 14 18:54:19 2017 From: tore.nilsen at me.com (Tore Nilsen) Date: Sat, 15 Jul 2017 00:54:19 +0200 Subject: High Sierra & LC In-Reply-To: <24c04f83-29b6-cff1-e732-eaafcd2a943e@knappstersolutions.com> References: <8d4b330c-bbab-9013-67ca-94b95a00aa4b@gmail.com> <8D001832-3DAB-494C-901F-F28433B4CC49@gmail.com> <420CBE8E-6658-4D68-B0DF-68198777266F@me.com> <24c04f83-29b6-cff1-e732-eaafcd2a943e@knappstersolutions.com> Message-ID: At this stage in the development of High Sierra I guess it is hard to tell whether or not difficulties in using LC or apps created with LC is caused by bugs in the OS or incompatibilities in LC. I think their policy is to address any incompatibilities in LC once the OS is out of beta. Tore > 15. jul. 2017 kl. 00:49 skrev Marty Knapp via use-livecode : > > With the release of High Sierra scheduled for this Fall (Sept/Oct?), it would be nice to hear from the mother ship what is happening with this. If no version of LC will produce an app that will run reliably on it, I would think there would be more concern? > > Marty >> 9.0 db 8 and 8.14 and 8.15 opens fine in 64 bit mode, trying to set any color via the color palette crashes any of these versions of LC. >> >> Tore >> >>> 14. jul. 2017 kl. 20:56 skrev Colin Holgate via use-livecode : >>> >>> 7.1.4 is intermittent, sometimes it opens fine. 8.1.4 and 8.1.5 have issues if they are set to open in 32 bit. 9.0.0 seems fine. Downloading 8.1.6 now to see how that does. >>> >>> >>> >>>> On Jul 14, 2017, at 11:46 AM, Marty Knapp via use-livecode wrote: >>>> >>>> I just downloaded the latest Mac OS beta - High Sierra and attempted to run 2 different apps that were built with LC 6.6.5. When I tried to print from each, they both crashed before the system print dialog appeared. They both function fine running on Sierra. Has anyone done any testing with their apps? I understand that High Sierra is beta, but I do want to be ready when it ships this Fall. Do later versions of LC on High Sierra work OK for anyone? >>>> >>>> Marty >>>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Jul 14 19:08:48 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Jul 2017 23:08:48 +0000 Subject: High Sierra & LC In-Reply-To: References: <8d4b330c-bbab-9013-67ca-94b95a00aa4b@gmail.com> <8D001832-3DAB-494C-901F-F28433B4CC49@gmail.com> <420CBE8E-6658-4D68-B0DF-68198777266F@me.com> <24c04f83-29b6-cff1-e732-eaafcd2a943e@knappstersolutions.com> Message-ID: <5EE3949B-B6E1-4589-95E7-7DA341469580@iotecdigital.com> Apparently the big thing they are doing is they are updating the file system. Bob S > On Jul 14, 2017, at 15:54 , Tore Nilsen via use-livecode wrote: > > At this stage in the development of High Sierra I guess it is hard to tell whether or not difficulties in using LC or apps created with LC is caused by bugs in the OS or incompatibilities in LC. I think their policy is to address any incompatibilities in LC once the OS is out of beta. > > Tore From ahsoftware at sonic.net Fri Jul 14 19:13:51 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 14 Jul 2017 16:13:51 -0700 Subject: postgres table query not getting all names In-Reply-To: References: Message-ID: <73af8e55-051e-2d0a-2ab9-a192a27dbac0@sonic.net> On 07/14/2017 03:48 PM, Dr. Hawkins via use-livecode wrote: > Sometime ago, I wrote my own getTableNames() because > revDatabaseTableNames() would consistently fail to find them all. > > Now, it to is filing. > > It is, in essence, > > *put* "SELECT table_name FROM information_schema.tables ;" \ > > & cr into dcmd > > *put* revDataFromQuery(,cr,db,dcmd) into tabList > > *return* tabList > > I have another chunk of code which is now acting up: > > *put* getTableNames(dhbkSrvrDb) into dhSrvTbls > > *put* "dhStatTbl" into dhtbl_stat > > *if* dhtbl_stat is not among the words of dhSrvTbls *then* > > *put* "CREATE TABLE " & dhtbl_stat . . . blah blah blah > > > table dhStatTbl already exists, yet the conditional is reached. It > executes, and throws an error because this table is already there. > > > This is, to be mild, a brutal bug. > > Might there be something I'm missing? > Just a guess, but the concept of 'word' is pretty slippery. You might try 'true words' or make a comma-separated list and look among the items or... -- Mark Wieder ahsoftware at gmail.com From colinholgate at gmail.com Fri Jul 14 19:18:01 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 14 Jul 2017 16:18:01 -0700 Subject: High Sierra & LC In-Reply-To: <5EE3949B-B6E1-4589-95E7-7DA341469580@iotecdigital.com> References: <8d4b330c-bbab-9013-67ca-94b95a00aa4b@gmail.com> <8D001832-3DAB-494C-901F-F28433B4CC49@gmail.com> <420CBE8E-6658-4D68-B0DF-68198777266F@me.com> <24c04f83-29b6-cff1-e732-eaafcd2a943e@knappstersolutions.com> <5EE3949B-B6E1-4589-95E7-7DA341469580@iotecdigital.com> Message-ID: <71F9C9C0-A86C-4425-9669-6629CFA33FB9@gmail.com> I?m seeing the current issues without having gone to APFS. I did do that for the first beta, but it had some very bad things about it, and after I had to wipe my drive and recover files I decided to not go back to it yet. It shouldn?t really affect whether apps work correctly. > On Jul 14, 2017, at 4:08 PM, Bob Sneidar via use-livecode wrote: > > Apparently the big thing they are doing is they are updating the file system. > > Bob S > > >> On Jul 14, 2017, at 15:54 , Tore Nilsen via use-livecode wrote: >> >> At this stage in the development of High Sierra I guess it is hard to tell whether or not difficulties in using LC or apps created with LC is caused by bugs in the OS or incompatibilities in LC. I think their policy is to address any incompatibilities in LC once the OS is out of beta. >> >> Tore > > From alex at tweedly.net Fri Jul 14 20:37:35 2017 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 15 Jul 2017 01:37:35 +0100 Subject: Finding errors in a standalone In-Reply-To: <070d9409-61eb-1c1e-f3d4-37c2fea279d5@hyperactivesw.com> References: <5bb3b448-2f99-ef14-c9d7-f91661f29103@tweedly.net> <0caa698f-fddb-c47c-dc31-18413f654080@tweedly.net> <070d9409-61eb-1c1e-f3d4-37c2fea279d5@hyperactivesw.com> Message-ID: I guess I asked that question rather badly. I didn't mean "what info should I get from tsNetInit ?" I meant "what info should I get when a standalone app crashes" ? All I'm getting now is this empty dialog box that says "execution error" and has no further info. Well, it turns out I finally tracked it down : it was a missing inclusion for mergJSON. The app has a splash stack, then the real stack, and lots of behaviour stacks - so it wasn't doing very well on "search for inclusions", so I was doing manual inclusions. The problem always occurred when I tried to do some network activity (hence me being suspicious that I was was misusing tsNet). In fact, the app always does asynch POSTs, and includes some info which comes from an array, as JSON data, via calls to arrayToJSON(). I thought I was OK because I had ticked both JSON Library and mergJSON-x86_64 not realizing there is also an entry for "mergJSON". Fixed that - and all seems to be happy for now. Thanks again to everyone who helped. Alex. On 14/07/2017 21:21, J. Landman Gay via use-livecode wrote: > On 7/14/17 9:31 AM, Alex Tweedly via use-livecode wrote: >> I guess the *real* question is not about tsNet - it is what info >> *should* I get when some failure happens. > > The result contains any LC errors, and apparently there were none. The > "it" variable contains whatever is returned by the server. The script > should check both. > From james at thehales.id.au Fri Jul 14 21:50:38 2017 From: james at thehales.id.au (james at thehales.id.au) Date: Sat, 15 Jul 2017 11:50:38 +1000 Subject: Correct img format for browser widget. Message-ID: Can someone tell me the correct format for an image src tag to use with the browser widget? I have a folder of HTML and an associated folder of images yet I am unable to get the images to show. They are .png. I have tried Src = "full path to image" Src = "relative path to image" Src ="file://fullpath to image" Src="binfile:/full path to image" None of them work, although the last does show a ? Icon where the image should appear. All the others show nothing. James From brahma at hindu.org Fri Jul 14 21:53:26 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 15 Jul 2017 01:53:26 +0000 Subject: "Silly" fun for the weekend In-Reply-To: <54adae3f-5659-a60b-4dc2-e0d35fd2ea28@gmail.com> References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> <53C5313E-6126-4759-B13F-B75B9A4FF34C@hindu.org> <54adae3f-5659-a60b-4dc2-e0d35fd2ea28@gmail.com> Message-ID: <0CABCC62-DE43-46FF-B2C3-4747E592AA7F@hindu.org> 1) We just dress up the screen with some incredible artwork (of which we have tons) 2) instead of picking up food, you hit on "surprises" which make a sound or say something and then give you a teaser question like What is the difference between "empirical" and "metaphysical" __ 1) none really __ 2) It's all in your mind one way or the other __ 3) These silly nit picky points have nothing to do with unconditional love when the person choose # 3 they get to move on thru the maze.. i.e. turn it into super fun "edutainment" just how to move the player along? Monument Valley just released their latest. That *entire* app is based on this maze model at least $ ? million in graphic arts and CGI programming Except that you come out dumber than you went in Because your brain shuts down for the duration? But the graphics are awesome BR On 7/14/17, 10:11 AM, "use-livecode on behalf of Richmond Mathewson via use-livecode" wrote: Please do feel free to use this, I'm glad that it might be slightly more use than just an end of quickie summer course test. Best, Richmond. On 7/14/17 10:35 pm, Sannyasin Brahmanathaswami via use-livecode wrote: >I'm not bored or at loose ends.. but looking for game models, this 60+ couldn't stop. got all 7 raisins, out in 349 secs? you could speed it up a lot! > >How would we (how do "they") implement the movement of a player on screen (in this case, the ant) on mobile? > >Silly fun was in fact addictive. I don' t think I could have stopped if I had wanted to. I can use this! > > > >On 7/14/17, 7:01 AM, "use-livecode on behalf of Mike Bonner via use-livecode" wrote: > > Heres my take. > https://www.dropbox.com/s/c40jiwn36lrohgy/Ant%20Maze.livecode?dl=0 From brahma at hindu.org Fri Jul 14 22:16:11 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 15 Jul 2017 02:16:11 +0000 Subject: "Silly" fun for the weekend In-Reply-To: <2dfd00d7-090e-a469-e978-8b63a8b31723@hyperactivesw.com> References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> <53C5313E-6126-4759-B13F-B75B9A4FF34C@hindu.org> <2dfd00d7-090e-a469-e978-8b63a8b31723@hyperactivesw.com> Message-ID: <1CDEC31E-1B64-45E6-9C6F-E02A711C78DB@hindu.org> confirmed, I just re-downloaded again Monument Valley 1, that's exactly how they make "little alice" (or whatever her name is) move around the castle walkways. tap and she goes there (if she can) So I guess the algorithm would be 1) when you tap on a place on the maze that in fact the little girl can get to? 2) you have a path stored 3) you move the player along the path to the point of the last tap. But we need more all paths thru out the maze would have to be present. But that's almost too easy? you could spot an apple off in the corner, scan the maze and see that it's reachable, then all you do it click on the apple and the player would move through? Monument valley solves this by setting up barriers; then you not only move Alice along.. you have to change the scene to provide the right "gangway" for her to get upstairs and then out that's the actual challenge? using that model without all the added barriers may not work, with out their million dollar budget we would never get it done. OK back to Mike's idea: we just emulate a game control d-pad on screen? custom control group. draggable If you need to get it out of the way 4 triangles with a pause button in the center. yep that would work? and another option laid out horizontally. users will recognize it like any audio movie controller, takes less space left up pause down right < ^ = _ > where my chars above are small player control icons with no labels. But d-Pad might be easier reached with the thumb if he is holding her phone in the same hand at the same time. On 7/14/17, 10:20 AM, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: I've also seen mobile games where just touching the screen moves the avatar to that position. From ahsoftware at sonic.net Fri Jul 14 22:16:37 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 14 Jul 2017 19:16:37 -0700 Subject: "Silly" fun for the weekend In-Reply-To: <0CABCC62-DE43-46FF-B2C3-4747E592AA7F@hindu.org> References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> <53C5313E-6126-4759-B13F-B75B9A4FF34C@hindu.org> <54adae3f-5659-a60b-4dc2-e0d35fd2ea28@gmail.com> <0CABCC62-DE43-46FF-B2C3-4747E592AA7F@hindu.org> Message-ID: On 07/14/2017 06:53 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Monument Valley just released their latest. But not for Android yet. ...damn you, Apple... -- Mark Wieder ahsoftware at gmail.com From scott at tactilemedia.com Sat Jul 15 02:01:01 2017 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 14 Jul 2017 23:01:01 -0700 Subject: "Silly" fun for the weekend In-Reply-To: References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> <53C5313E-6126-4759-B13F-B75B9A4FF34C@hindu.org> <54adae3f-5659-a60b-4dc2-e0d35fd2ea28@gmail.com> <0CABCC62-DE43-46FF-B2C3-4747E592AA7F@hindu.org> Message-ID: <20C6079D-85E1-443A-AF6D-3273ABACA9E8@tactilemedia.com> Mark, Monument Valley isn?t Apple, it's Ustwo Games. Blame them :-) If MV2 isn?t in the Play Store yet, have you gotten ahold of the add-ons for MV1? Forgotten Shores and Ida?s (RED) Dream? Definitely worth purchasing, IMO. Generally, people seem to be complaining that the challenge in the new version is lower than v1. But there are some new mechanics to be played, there are some touching moments between the new characters, and the splitting of story between the characters is quite creative. The best description I ever read of the game: ?Monument Valley isn't a game, it?s an experience.? It won an Apple Design Award for good reason. Scott Rossi Creative Director Tactile Media, UX/UI Design > On Jul 14, 2017, at 7:16 PM, Mark Wieder via use-livecode wrote: > > On 07/14/2017 06:53 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > >> Monument Valley just released their latest. > > But not for Android yet. > ...damn you, Apple... > > -- > Mark Wieder > ahsoftware at gmail.com > From jacque at hyperactivesw.com Sat Jul 15 02:32:37 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Jul 2017 01:32:37 -0500 Subject: intersect . . . invisible images In-Reply-To: References: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> <239ad69d-979f-2590-59d8-e0d900eee8f0@fourthworld.com> Message-ID: <9b83045e-e2dc-f4c0-2111-47bf966aad9d@hyperactivesw.com> On 7/14/17 4:28 PM, Stephen Barncard via use-livecode wrote: > And of course, this dovetails nicely into Jacque's disappearing socks > theory. I lost a sock about six years ago and it still hasn't shown up. I've kept the single remaining one of the pair in hopes that the missing one would hone in on it and find its way home. So now you're saying it's been in the dryer the whole time and I haven't found the right way to intersect with it yet? Great. I don't know how to change its visible property. I loved that sock. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jul 15 02:47:47 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Jul 2017 01:47:47 -0500 Subject: "Silly" fun for the weekend In-Reply-To: <53C5313E-6126-4759-B13F-B75B9A4FF34C@hindu.org> References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> <53C5313E-6126-4759-B13F-B75B9A4FF34C@hindu.org> Message-ID: <2656333b-c530-b840-a089-3a39e01d4300@hyperactivesw.com> Got you beat, 319 seconds. Richmond, you need to set the navigationArrows to false (and hopefully back to the user setting after the game.) I had other stacks open and the up arrow key kept popping them to the front. That caused script errors about how it couldn't find object "ant". Even so, it was fun and cute. I think your kids will love it. :) On 7/14/17 2:35 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > I'm not bored or at loose ends.. but looking for game models, this 60+ couldn't stop. got all 7 raisins, out in 349 secs? you could speed it up a lot! > > How would we (how do "they") implement the movement of a player on screen (in this case, the ant) on mobile? > > Silly fun was in fact addictive. I don' t think I could have stopped if I had wanted to. I can use this! > > > > On 7/14/17, 7:01 AM, "use-livecode on behalf of Mike Bonner via use-livecode" wrote: > > Heres my take. > https://www.dropbox.com/s/c40jiwn36lrohgy/Ant%20Maze.livecode?dl=0 > > On Fri, Jul 14, 2017 at 2:45 AM, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > > >Anyone who is bored/at a loose end/slightly bonkers > >can fool around with my "exam" for my kids: > > > >http://forums.livecode.com/viewtopic.php?f=22&t=29498&p=155915#p155915 > > > >Would be glad of feedback. > > > >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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at hyperhh.de Sat Jul 15 10:20:09 2017 From: hh at hyperhh.de (hh) Date: Sat, 15 Jul 2017 16:20:09 +0200 Subject: Correct img format for browser widget. Message-ID: <4747CDBC-6135-4E9E-B487-D1C01B5E627D@hyperhh.de> You have to set it in the HTML, with HTML-syntax. LC Script may help with that by sending the imagedata to the HTML page. Examples how to do this can be found (look at handler "chooseScript" in the card's script and make the widget or revBrowser display visible) as follows. [a] using a browser widget with LC 8/9 on Mac/Win/linux: http://livecodeshare.runrev.com/stack/826/LC-ImageToolBox89%3A-Basics_ROI [b] using revBrowser with LC 6/7/8/9, Mac only: http://livecodeshare.runrev.com/stack/827/LCImageToolBox6789%3A-Basics_ROI Or download [a] or [b] directly into LC 8/9 (Mac/win/linux) or LC 6/7/8/9 (Mac) from "Sample stacks" of the LC toolbar. > James H. wrote: > Can someone tell me the correct format for an image src tag to use with the browser widget? > I have a folder of HTML and an associated folder of images yet I am unable to get the images to show. > They are .png. > I have tried > Src = "full path to image" > Src = "relative path to image" > Src ="file://fullpath to image" > Src="binfile:/full path to image" > > None of them work, although the last does show a ? Icon where the image should appear. All the others show nothing. From roger.e.eller at sealedair.com Sat Jul 15 10:23:37 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 15 Jul 2017 10:23:37 -0400 Subject: intersect . . . invisible images In-Reply-To: <9b83045e-e2dc-f4c0-2111-47bf966aad9d@hyperactivesw.com> References: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> <239ad69d-979f-2590-59d8-e0d900eee8f0@fourthworld.com> <9b83045e-e2dc-f4c0-2111-47bf966aad9d@hyperactivesw.com> Message-ID: try open sock for write write sock until EOS -- (end of sock) close sock end try On Sat, Jul 15, 2017 at 2:32 AM, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 7/14/17 4:28 PM, Stephen Barncard via use-livecode wrote: > >> And of course, this dovetails nicely into Jacque's disappearing socks >> theory. >> > > I lost a sock about six years ago and it still hasn't shown up. I've kept > the single remaining one of the pair in hopes that the missing one would > hone in on it and find its way home. > > So now you're saying it's been in the dryer the whole time and I haven't > found the right way to intersect with it yet? Great. I don't know how to > change its visible property. > > I loved that sock. > > -- > 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 Sat Jul 15 10:40:55 2017 From: hh at hyperhh.de (hh) Date: Sat, 15 Jul 2017 16:40:55 +0200 Subject: Correct img format for browser widget. Message-ID: ... Or in case you meant simple HTML load (not canvas2d): where src = "full http-path to image" (local server is running) or src = "relative path to image" for example: src="http://localhost:8888/tests/images/myimage42.png" src="../images/myimage42.png" The relative path has to be relative to the *calling webpage* (the stack path doesn't matter). > James H. wrote: > Can someone tell me the correct format for an image src tag to use with the browser widget? > I have a folder of HTML and an associated folder of images yet I am unable to get the images to show. > They are .png. > I have tried > Src = "full path to image" > Src = "relative path to image" > Src ="file://fullpath to image" > Src="binfile:/full path to image" > > None of them work, although the last does show a ? Icon where the image should appear. All the others show nothing. From brahma at hindu.org Sat Jul 15 11:25:11 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 15 Jul 2017 15:25:11 +0000 Subject: Bug? ResizeControl Triggers From Outside of CustomControl with Assigned Behavior Message-ID: WE have a peculiar bug, at least I think it is a bug. Where 1) navigation bar at bottom of screen, a custom control with a bkgnd grc 50 px tall 1024 wide and 4 widgets on it. 2) has assigned behavior "behavior_bottomToolsNav" # with some complex dynamic layout stuff happening to handle change of orientation # the four widgets will automatically find their proper relative position in either orientation 3) It has a resize control that does the dynamic layout change when the device is turn one way or the other. BUG: I'm working way up on this card "far away" from the rect of the bottom tool bar. context: 1) paste a chevron widget? supposed serve as a go next button 2) switch to select tool, change the shape of the widget and the bottom bar's icons change position So I put this in the behavrio just to confirm on resizeControl answer "gotcha!" with "OK" LayoutControl end resizeControl and indeed, on resizing the widget outside the custom control resize is "heard" by that behavior OK close card, do not save try again, this time adjust some other object on the card, outside the custom control.. yep! same thing.. nothing to do with my widget. I can change the rect of a fld up the card and the bottom bar "reacts" shouldn't resizeControl only be triggered by "me" ?? assuming this is a bug, I hacked around it with this: on resizeControl put the childControlNames of me into tNavControls if the short name of the target is not among the lines of tNavControls then answer "That's not in me!" with "OK"; exit to top else LayoutControl end if end resizeControl for testing and then this for production on resizeControl put the childControlNames of me into tNavControls if the short name of the target is among the lines of tNavControls then LayoutControl end if end resizeControl But do we agree? this is a bug? From jacque at hyperactivesw.com Sat Jul 15 11:45:47 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Jul 2017 10:45:47 -0500 Subject: Bug? ResizeControl Triggers From Outside of CustomControl with Assigned Behavior In-Reply-To: References: Message-ID: <15d46ed5810.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I saw this recently. It isn't a bug, the navigation group is a background group so it will catch any message that isn't blocked earlier in the message path. You can put an empty resizecontrol handler in objects that shouldn't respond, or check in the group script that the target is one of the group members, as you did. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 15, 2017 10:27:08 AM Sannyasin Brahmanathaswami via use-livecode wrote: > WE have a peculiar bug, at least I think it is a bug. > > Where > > 1) navigation bar at bottom of screen, a custom control with a bkgnd grc > 50 px tall 1024 wide and 4 widgets on it. > > 2) has assigned behavior "behavior_bottomToolsNav" > # with some complex dynamic layout stuff happening to handle change of > orientation > # the four widgets will automatically find their proper relative position > in either orientation > > 3) It has a resize control that does the dynamic layout change when the > device is turn one way or the other. > > > > BUG: > > I'm working way up on this card "far away" from the rect of the bottom tool > bar. > > context: > 1) paste a chevron widget? supposed serve as a go next button > 2) switch to select tool, change the shape of the widget and the bottom > bar's icons change position > > So I put this in the behavrio just to confirm > > on resizeControl > answer "gotcha!" with "OK" > LayoutControl > end resizeControl > > and indeed, on resizing the widget outside the custom control resize is > "heard" by that behavior > OK close card, do not save > > try again, this time adjust some other object on the card, outside the > custom control.. yep! same thing.. nothing to do with my widget. I can > change the rect of a fld up the card and the bottom bar "reacts" > > shouldn't > > resizeControl > > only be triggered by "me" > > ?? > > assuming this is a bug, I hacked around it with this: > > on resizeControl > put the childControlNames of me into tNavControls > if the short name of the target is not among the lines of tNavControls then > answer "That's not in me!" with "OK"; exit to top > else > LayoutControl > end if > end resizeControl > for testing and then this for production > > on resizeControl > put the childControlNames of me into tNavControls > if the short name of the target is among the lines of tNavControls then > LayoutControl > end if > end resizeControl > > But do we agree? this is a bug? > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Jul 15 11:45:51 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 15 Jul 2017 18:45:51 +0300 Subject: Self Abuse . . . Message-ID: <5586d147-dbf8-4948-5be8-5459d363a1d4@gmail.com> You're lonely, you feel unloved, so reaching out with both hands you grab . . . . . . the pack of cards and spread them out, face down, on the table . . . Aaagh . . . you know you have hit an all-time low when it comes to this . . . So? Why not pop over here: http://forums.livecode.com/viewtopic.php?f=25&t=29501 And abuse yourself in an altogether more stylish way? Hope you're all having a groovy weekend, Richmond. From ahsoftware at sonic.net Sat Jul 15 11:55:06 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 15 Jul 2017 08:55:06 -0700 Subject: "Silly" fun for the weekend In-Reply-To: <20C6079D-85E1-443A-AF6D-3273ABACA9E8@tactilemedia.com> References: <52155b63-bf43-012e-90b4-b9edc4d8f67e@gmail.com> <53C5313E-6126-4759-B13F-B75B9A4FF34C@hindu.org> <54adae3f-5659-a60b-4dc2-e0d35fd2ea28@gmail.com> <0CABCC62-DE43-46FF-B2C3-4747E592AA7F@hindu.org> <20C6079D-85E1-443A-AF6D-3273ABACA9E8@tactilemedia.com> Message-ID: On 07/14/2017 11:01 PM, Scott Rossi via use-livecode wrote: > Mark, Monument Valley isn?t Apple, it's Ustwo Games. Blame them :-) Scott- yeah, I get that. But the fact is that Apple managed to get UsTwo to give them an exclusive so they could announce the new game with the new iStuff announcements and thumb their nose at Google. So I can still throw shade on Apple for this. > > If MV2 isn?t in the Play Store yet, have you gotten ahold of the add-ons for MV1? > Forgotten Shores and Ida?s (RED) Dream? Definitely worth purchasing, IMO. Yep - been through all of those. And as soon as I did I said I'd buy whatever UsTwo came out with. Brilliant. Now I'm sitting here with money in hand anxiously waiting for the gates to open. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Sat Jul 15 12:24:40 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Jul 2017 11:24:40 -0500 Subject: intersect . . . invisible images In-Reply-To: References: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> <239ad69d-979f-2590-59d8-e0d900eee8f0@fourthworld.com> <9b83045e-e2dc-f4c0-2111-47bf966aad9d@hyperactivesw.com> Message-ID: <15d4710f540.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It errored with "can't find object" and crashed my dryer. :-( -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On July 15, 2017 9:25:35 AM Roger Eller via use-livecode wrote: > try > open sock for write > write sock until EOS -- (end of sock) > close sock > end try > > > On Sat, Jul 15, 2017 at 2:32 AM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 7/14/17 4:28 PM, Stephen Barncard via use-livecode wrote: >> >>> And of course, this dovetails nicely into Jacque's disappearing socks >>> theory. >>> >> >> I lost a sock about six years ago and it still hasn't shown up. I've kept >> the single remaining one of the pair in hopes that the missing one would >> hone in on it and find its way home. >> >> So now you're saying it's been in the dryer the whole time and I haven't >> found the right way to intersect with it yet? Great. I don't know how to >> change its visible property. >> >> I loved that sock. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Sat Jul 15 13:42:07 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 15 Jul 2017 10:42:07 -0700 Subject: intersect . . . invisible images In-Reply-To: <15d4710f540.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> <239ad69d-979f-2590-59d8-e0d900eee8f0@fourthworld.com> <9b83045e-e2dc-f4c0-2111-47bf966aad9d@hyperactivesw.com> <15d4710f540.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 07/15/2017 09:24 AM, J. Landman Gay via use-livecode wrote: > It errored with "can't find object" and crashed my dryer. :-( that's because there's no a 'catch' clause. try open dryer get socks catch missingSock put missingSock into dryer finally close dryer end try > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On July 15, 2017 9:25:35 AM Roger Eller via use-livecode > wrote: > >> try >> open sock for write >> write sock until EOS -- (end of sock) >> close sock >> end try -- Mark Wieder ahsoftware at gmail.com From bonnmike at gmail.com Sat Jul 15 13:49:17 2017 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 15 Jul 2017 11:49:17 -0600 Subject: intersect . . . invisible images In-Reply-To: References: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> <239ad69d-979f-2590-59d8-e0d900eee8f0@fourthworld.com> <9b83045e-e2dc-f4c0-2111-47bf966aad9d@hyperactivesw.com> <15d4710f540.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I think part of the problem might be the connection with the quantum here. Even if the sock is located momentarily, there is no telling how fast or what direction it is actually going. There is also the question of quantum "spin" which would seem to indicate that the washer is a co-culprit in the socks disappearance. So i guess my question is this.. One sock is still available. Perhaps there is a "spooky action at a distance" affect going on, IE quantum entanglement. If so, could one add energy to the available sock, and then read the response in the entangled sock for location purposes? On Sat, Jul 15, 2017 at 11:42 AM, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 07/15/2017 09:24 AM, J. Landman Gay via use-livecode wrote: > >> It errored with "can't find object" and crashed my dryer. :-( >> > > that's because there's no a 'catch' clause. > > try > open dryer > get socks > catch missingSock > put missingSock into dryer > finally > close dryer > end try > > >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> On July 15, 2017 9:25:35 AM Roger Eller via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> try >>> open sock for write >>> write sock until EOS -- (end of sock) >>> close sock >>> end try >>> >> > -- > 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 jacque at hyperactivesw.com Sat Jul 15 17:39:54 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Jul 2017 16:39:54 -0500 Subject: intersect . . . invisible images In-Reply-To: References: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> <239ad69d-979f-2590-59d8-e0d900eee8f0@fourthworld.com> <9b83045e-e2dc-f4c0-2111-47bf966aad9d@hyperactivesw.com> <15d4710f540.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: It compiles but it puts the sock back into the dryer where it disappears again. Maybe we need a SOCKS proxy to intercept it. On 7/15/17 12:42 PM, Mark Wieder via use-livecode wrote: > On 07/15/2017 09:24 AM, J. Landman Gay via use-livecode wrote: >> It errored with "can't find object" and crashed my dryer. :-( > > that's because there's no a 'catch' clause. > > try > open dryer > get socks > catch missingSock > put missingSock into dryer > finally > close dryer > end try > >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> On July 15, 2017 9:25:35 AM Roger Eller via use-livecode >> wrote: >> >>> try >>> open sock for write >>> write sock until EOS -- (end of sock) >>> close sock >>> end try > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jul 15 17:43:57 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Jul 2017 16:43:57 -0500 Subject: intersect . . . invisible images In-Reply-To: References: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> <239ad69d-979f-2590-59d8-e0d900eee8f0@fourthworld.com> <9b83045e-e2dc-f4c0-2111-47bf966aad9d@hyperactivesw.com> <15d4710f540.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: The dryer spins too, so the effect is doubled. You may be on to something here. We should foot the cost of investigation and proceed apace. On 7/15/17 12:49 PM, Mike Bonner via use-livecode wrote: > I think part of the problem might be the connection with the quantum here. > Even if the sock is located momentarily, there is no telling how fast or > what direction it is actually going. > > There is also the question of quantum "spin" which would seem to indicate > that the washer is a co-culprit in the socks disappearance. > > So i guess my question is this.. One sock is still available. Perhaps > there is a "spooky action at a distance" affect going on, IE quantum > entanglement. If so, could one add energy to the available sock, and then > read the response in the entangled sock for location purposes? > > On Sat, Jul 15, 2017 at 11:42 AM, Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 07/15/2017 09:24 AM, J. Landman Gay via use-livecode wrote: >> >>> It errored with "can't find object" and crashed my dryer. :-( >>> >> >> that's because there's no a 'catch' clause. >> >> try >> open dryer >> get socks >> catch missingSock >> put missingSock into dryer >> finally >> close dryer >> end try >> >> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> >>> On July 15, 2017 9:25:35 AM Roger Eller via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> try >>>> open sock for write >>>> write sock until EOS -- (end of sock) >>>> close sock >>>> end try >>>> >>> >> -- >> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terry.judd at unimelb.edu.au Sat Jul 15 21:05:33 2017 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 16 Jul 2017 01:05:33 +0000 Subject: Mobile - missing? files added in copy files pane of standalone builder Message-ID: If I add files that are in the same folder as the stack file in the copy and then in the app (simulator or real device) if I ?put the files?, then the added files are included in the listing. However, if the added files are in a different folder (e.g. ?stuff/test.pdf?) then they don?t show up. Should they, or is there something that I?m missing? LC 8.1.6 (rc1) Terry... From brahma at hindu.org Sat Jul 15 22:20:19 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 16 Jul 2017 02:20:19 +0000 Subject: Livecode on iPod Message-ID: <5EA61650-A9FB-4922-B895-1A2113A2C339@hindu.org> I have a young user that was given an iPod by his family. UDID: FFFFFFFF############################5C OS: iPhone OS 10.3.2 Device: iPod7,1 (iPod7,1) Capacity: 14.9 GB will LiveCode apps run on this? the SA builder does not show "iPod" under iOS. BR From colinholgate at gmail.com Sat Jul 15 22:24:37 2017 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 15 Jul 2017 19:24:37 -0700 Subject: Livecode on iPod In-Reply-To: <5EA61650-A9FB-4922-B895-1A2113A2C339@hindu.org> References: <5EA61650-A9FB-4922-B895-1A2113A2C339@hindu.org> Message-ID: <8151D83D-46C7-45AC-8D0A-353FD37A4C63@gmail.com> I would bet yes, but UDIDs that start with FFFF are fake. There are many ways to get the real UDID, if you want to create a build for them that they are included in the provisioning file. Look at this site as an example: https://www.getudid.io Settings wise is should be like iPhone. > On Jul 15, 2017, at 7:20 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > I have a young user that was given an iPod by his family. > > UDID: FFFFFFFF############################5C > OS: iPhone OS 10.3.2 > Device: iPod7,1 (iPod7,1) > Capacity: 14.9 GB > > will LiveCode apps run on this? the SA builder does not show "iPod" under iOS. > > 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 bogdanoff at me.com Sat Jul 15 22:37:22 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 15 Jul 2017 19:37:22 -0700 Subject: Livecode Soraco Message-ID: <6C0386B3-F96B-454B-8234-BAB2ED9B4AD9@me.com> Hi all, I?m investigating the use of software license protection, and a particular service, since it seems to have most of the features that I need in my desktop app?protection, license management, integrating with WooCommerce, etc. https://soraco.co/quick-license-manager/ It uses a Window application to manage things. Its application in a Livecode runtime seems possible, but trying to understand their documentation is quickly going over my LC script-only head. Windows seems fairly straightforward: https://support.soraco.co/hc/en-us/articles/208584886-Protect-an-Executable-without-code-changes Mac delves into Objective C etc.: https://support.soraco.co/hc/en-us/articles/203287440-How-to-protect-a-Mac-OS-X-application-with-QLM Is this a job for Livecode Builder? I?m sure I?ll need help with this. Is this something one of yous guys can help me implement; is it something for Livecode Ltd? Any comments? Peter Bogdanoff From paul at livecode.org Sat Jul 15 22:50:34 2017 From: paul at livecode.org (Paul Hibbert) Date: Sat, 15 Jul 2017 19:50:34 -0700 Subject: Livecode on iPod In-Reply-To: <5EA61650-A9FB-4922-B895-1A2113A2C339@hindu.org> References: <5EA61650-A9FB-4922-B895-1A2113A2C339@hindu.org> Message-ID: > On Jul 15, 2017, at 7:20 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > the SA builder does not show "iPod" under iOS. It does for me! :) I see three options; iPod, iPhone and iPad iPod and iPhone iPad Paul From james at thehales.id.au Sun Jul 16 01:53:51 2017 From: james at thehales.id.au (James Hale) Date: Sun, 16 Jul 2017 15:53:51 +1000 Subject: Correct img format for browser widget. Message-ID: <2DE8450C-9B75-4CD7-AE2C-7AEBEC8EE290@thehales.id.au> hh wrote: > ... Or in case you meant simple HTML load (not canvas2d): > > > where src = "full http-path to image" (local server is running) > or src = "relative path to image" Actually I am not loading a file from a server, I am setting the htmltext of the widget. The file I am loading is actually a markdown which I convert to xhtml using mergMarkdownToXHTML. I then set the htmltext of the widget to this converted content. Now the text etc all display fine as I would expect, however the images don't. The image tags in the markdown are correctly converted to but obviously the path to the image file is not being correctly interpreted by LC. If I was to display this in a text field (by setting its htmltext) I would need to change the img tag's src attribute to include the "binfile:/" prefix. When I do this the image displays as expected in the text field. However, this displays the images at the size they exist on disk. I notice the dictionary (which is using the browser widget) does not do this. It actually scales the images down where required. So I thought rather than set the htmltext of the field, let me set the htmltext of a browser widget. However none of the forms of the URL for the images that I have tried work. I do not know javascript and while I can sort of follow the logic behind the guide display in the dictionary I can't fathom how it actually works. It is taking the markdown, converting it the a form of html and it correctly shows the text and the images. I am trying to do this without the javascript. James From hh at hyperhh.de Sun Jul 16 05:45:40 2017 From: hh at hyperhh.de (hh) Date: Sun, 16 Jul 2017 11:45:40 +0200 Subject: Correct img format for browser widget. Message-ID: <33A4F3EE-7164-4C23-862F-524E58392DC2@hyperhh.de> You can have that without a (local) server when using a browser widget. Although you can NOT display an image from disk without javascript by only setting the htmltext with a correct filepath, for example as follows. (This is a browser engine thing, can not be influenced by the widget.) Example htmltext of the widget or text of the file "flower2b.html": But it works if you set the URL of the widget to a (local) html-file that has exactly this text as html (if 'flower.png' is in the same folder). *** Then the htmltext of the widget is 'anchored' in the local file system and can use a full or relative path. BTW. To display an image "/home/jh/images/flower.png" from disk in a field for example at size 80x60 at char 42: 1. create an img "i1" 2. set the filename of img "i1" to "/home/jh/images/flower.png" 3. set the width of img "i1" to 80; set the height of img "i1" to 60 4. set the imagesource of char 42 of fld 1 to "i1" > James H. wrote: > > hh wrote: > > ... Or in case you meant simple HTML load (not canvas2d): > > > > where src = "full http-path to image" (local server is running) > > or src = "relative path to image" > > Actually I am not loading a file from a server, I am setting the htmltext of the widget. > > The file I am loading is actually a markdown which I convert to xhtml using mergMarkdownToXHTML. > I then set the htmltext of the widget to this converted content. > Now the text etc all display fine as I would expect, however the images don't. > The image tags in the markdown are correctly converted to but obviously the path to the image file is not being correctly interpreted by LC. > If I was to display this in a text field (by setting its htmltext) I would need to change the img tag's src attribute to include the "binfile:/" prefix. > When I do this the image displays as expected in the text field. > > However, this displays the images at the size they exist on disk. > > I notice the dictionary (which is using the browser widget) does not do this. It actually scales the images down where required. > So I thought rather than set the htmltext of the field, let me set the htmltext of a browser widget. > However none of the forms of the URL for the images that I have tried work. > I do not know javascript and while I can sort of follow the logic behind the guide display in the dictionary I can't fathom how it actually works. > It is taking the markdown, converting it the a form of html and it correctly shows the text and the images. > I am trying to do this without the javascript. From jonathandlynch at gmail.com Sun Jul 16 08:53:12 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 16 Jul 2017 08:53:12 -0400 Subject: Correct img format for browser widget. In-Reply-To: <2DE8450C-9B75-4CD7-AE2C-7AEBEC8EE290@thehales.id.au> References: <2DE8450C-9B75-4CD7-AE2C-7AEBEC8EE290@thehales.id.au> Message-ID: <8B059364-8856-4E4C-9E98-B48CFE22FB76@gmail.com> Hi James, Can you post an example of your actual filepath? With HTML, the first part of the path to the local disk usually looks like this: "file:///C:/users/pictures/mypicture.png" LC should be able to give you the right full path to a document- but make sure to try using the "file:///" prefix inside the HTML text of the browser widget. I have not tested this, but it has worked for me in the past. Sent from my iPhone > On Jul 16, 2017, at 1:53 AM, James Hale via use-livecode wrote: > > hh wrote: > >> ... Or in case you meant simple HTML load (not canvas2d): >> >> >> where src = "full http-path to image" (local server is running) >> or src = "relative path to image" > > Actually I am not loading a file from a server, I am setting the htmltext of the widget. > > The file I am loading is actually a markdown which I convert to xhtml using mergMarkdownToXHTML. > I then set the htmltext of the widget to this converted content. > Now the text etc all display fine as I would expect, however the images don't. > The image tags in the markdown are correctly converted to but obviously the path to the image file is not being correctly interpreted by LC. > If I was to display this in a text field (by setting its htmltext) I would need to change the img tag's src attribute to include the "binfile:/" prefix. > When I do this the image displays as expected in the text field. > > However, this displays the images at the size they exist on disk. > > I notice the dictionary (which is using the browser widget) does not do this. It actually scales the images down where required. > So I thought rather than set the htmltext of the field, let me set the htmltext of a browser widget. > However none of the forms of the URL for the images that I have tried work. > I do not know javascript and while I can sort of follow the logic behind the guide display in the dictionary I can't fathom how it actually works. > It is taking the markdown, converting it the a form of html and it correctly shows the text and the images. > I am trying to do this without the javascript. > > > 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 Sent from my iPhone > On Jul 16, 2017, at 1:53 AM, James Hale via use-livecode wrote: > > hh wrote: > >> ... Or in case you meant simple HTML load (not canvas2d): >> >> >> where src = "full http-path to image" (local server is running) >> or src = "relative path to image" > > Actually I am not loading a file from a server, I am setting the htmltext of the widget. > > The file I am loading is actually a markdown which I convert to xhtml using mergMarkdownToXHTML. > I then set the htmltext of the widget to this converted content. > Now the text etc all display fine as I would expect, however the images don't. > The image tags in the markdown are correctly converted to but obviously the path to the image file is not being correctly interpreted by LC. > If I was to display this in a text field (by setting its htmltext) I would need to change the img tag's src attribute to include the "binfile:/" prefix. > When I do this the image displays as expected in the text field. > > However, this displays the images at the size they exist on disk. > > I notice the dictionary (which is using the browser widget) does not do this. It actually scales the images down where required. > So I thought rather than set the htmltext of the field, let me set the htmltext of a browser widget. > However none of the forms of the URL for the images that I have tried work. > I do not know javascript and while I can sort of follow the logic behind the guide display in the dictionary I can't fathom how it actually works. > It is taking the markdown, converting it the a form of html and it correctly shows the text and the images. > I am trying to do this without the javascript. > > > 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 jonathandlynch at gmail.com Sun Jul 16 09:02:42 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 16 Jul 2017 09:02:42 -0400 Subject: Correct img format for browser widget. In-Reply-To: <8B059364-8856-4E4C-9E98-B48CFE22FB76@gmail.com> References: <2DE8450C-9B75-4CD7-AE2C-7AEBEC8EE290@thehales.id.au> <8B059364-8856-4E4C-9E98-B48CFE22FB76@gmail.com> Message-ID: One other solution... You can convert the image source to a data URL. You can construct the htmltext for the dataurl in LC, and replace the current image SRC information with dataURL SRC information. Then, when you set the htmltext of the browser widget, the images will show up without needing to access the local file from within the widget. Sent from my iPhone > On Jul 16, 2017, at 8:53 AM, jonathandlynch at gmail.com wrote: > > Hi James, > > Can you post an example of your actual filepath? > > With HTML, the first part of the path to the local disk usually looks like this: > > "file:///C:/users/pictures/mypicture.png" > > LC should be able to give you the right full path to a document- but make sure to try using the "file:///" prefix inside the HTML text of the browser widget. > > I have not tested this, but it has worked for me in the past. > > Sent from my iPhone > > On Jul 16, 2017, at 1:53 AM, James Hale via use-livecode wrote: > >> hh wrote: >> >>> ... Or in case you meant simple HTML load (not canvas2d): >>> >>> >>> where src = "full http-path to image" (local server is running) >>> or src = "relative path to image" >> >> Actually I am not loading a file from a server, I am setting the htmltext of the widget. >> >> The file I am loading is actually a markdown which I convert to xhtml using mergMarkdownToXHTML. >> I then set the htmltext of the widget to this converted content. >> Now the text etc all display fine as I would expect, however the images don't. >> The image tags in the markdown are correctly converted to but obviously the path to the image file is not being correctly interpreted by LC. >> If I was to display this in a text field (by setting its htmltext) I would need to change the img tag's src attribute to include the "binfile:/" prefix. >> When I do this the image displays as expected in the text field. >> >> However, this displays the images at the size they exist on disk. >> >> I notice the dictionary (which is using the browser widget) does not do this. It actually scales the images down where required. >> So I thought rather than set the htmltext of the field, let me set the htmltext of a browser widget. >> However none of the forms of the URL for the images that I have tried work. >> I do not know javascript and while I can sort of follow the logic behind the guide display in the dictionary I can't fathom how it actually works. >> It is taking the markdown, converting it the a form of html and it correctly shows the text and the images. >> I am trying to do this without the javascript. >> >> >> 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 > > Sent from my iPhone > >> On Jul 16, 2017, at 1:53 AM, James Hale via use-livecode wrote: >> >> hh wrote: >> >>> ... Or in case you meant simple HTML load (not canvas2d): >>> >>> >>> where src = "full http-path to image" (local server is running) >>> or src = "relative path to image" >> >> Actually I am not loading a file from a server, I am setting the htmltext of the widget. >> >> The file I am loading is actually a markdown which I convert to xhtml using mergMarkdownToXHTML. >> I then set the htmltext of the widget to this converted content. >> Now the text etc all display fine as I would expect, however the images don't. >> The image tags in the markdown are correctly converted to but obviously the path to the image file is not being correctly interpreted by LC. >> If I was to display this in a text field (by setting its htmltext) I would need to change the img tag's src attribute to include the "binfile:/" prefix. >> When I do this the image displays as expected in the text field. >> >> However, this displays the images at the size they exist on disk. >> >> I notice the dictionary (which is using the browser widget) does not do this. It actually scales the images down where required. >> So I thought rather than set the htmltext of the field, let me set the htmltext of a browser widget. >> However none of the forms of the URL for the images that I have tried work. >> I do not know javascript and while I can sort of follow the logic behind the guide display in the dictionary I can't fathom how it actually works. >> It is taking the markdown, converting it the a form of html and it correctly shows the text and the images. >> I am trying to do this without the javascript. >> >> >> 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 jonathandlynch at gmail.com Sun Jul 16 09:10:04 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 16 Jul 2017 09:10:04 -0400 Subject: Correct img format for browser widget. In-Reply-To: <33A4F3EE-7164-4C23-862F-524E58392DC2@hyperhh.de> References: <33A4F3EE-7164-4C23-862F-524E58392DC2@hyperhh.de> Message-ID: <9698009A-8DE3-4CCD-8D35-2A3F973328E0@gmail.com> Hi Hermann, Is this part of the same-source policy for web pages? The HTML file and the image file needing to be in the same folder? Sent from my iPhone > On Jul 16, 2017, at 5:45 AM, hh via use-livecode wrote: > > You can have that without a (local) server when using a browser widget. > > Although you can NOT display an image from disk without javascript by > only setting the htmltext with a correct filepath, for example as follows. > (This is a browser engine thing, can not be influenced by the widget.) > > Example htmltext of the widget or text of the file "flower2b.html": > > > But it works if you set the URL of the widget to a (local) html-file that > has exactly this text as html (if 'flower.png' is in the same folder). > *** Then the htmltext of the widget is 'anchored' in the local file system > and can use a full or relative path. > > BTW. To display an image "/home/jh/images/flower.png" from disk in a field > for example at size 80x60 at char 42: > > 1. create an img "i1" > 2. set the filename of img "i1" to "/home/jh/images/flower.png" > 3. set the width of img "i1" to 80; set the height of img "i1" to 60 > 4. set the imagesource of char 42 of fld 1 to "i1" > >> James H. wrote: >>> hh wrote: >>> ... Or in case you meant simple HTML load (not canvas2d): >>> >>> where src = "full http-path to image" (local server is running) >>> or src = "relative path to image" >> >> Actually I am not loading a file from a server, I am setting the htmltext of the widget. >> >> The file I am loading is actually a markdown which I convert to xhtml using mergMarkdownToXHTML. >> I then set the htmltext of the widget to this converted content. >> Now the text etc all display fine as I would expect, however the images don't. >> The image tags in the markdown are correctly converted to but obviously the path to the image file is not being correctly interpreted by LC. >> If I was to display this in a text field (by setting its htmltext) I would need to change the img tag's src attribute to include the "binfile:/" prefix. >> When I do this the image displays as expected in the text field. >> >> However, this displays the images at the size they exist on disk. >> >> I notice the dictionary (which is using the browser widget) does not do this. It actually scales the images down where required. >> So I thought rather than set the htmltext of the field, let me set the htmltext of a browser widget. >> However none of the forms of the URL for the images that I have tried work. >> I do not know javascript and while I can sort of follow the logic behind the guide display in the dictionary I can't fathom how it actually works. >> It is taking the markdown, converting it the a form of html and it correctly shows the text and the images. >> I am trying to do this without the javascript. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Sun Jul 16 09:22:29 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 16 Jul 2017 09:22:29 -0400 Subject: Correct img format for browser widget. In-Reply-To: <9698009A-8DE3-4CCD-8D35-2A3F973328E0@gmail.com> References: <33A4F3EE-7164-4C23-862F-524E58392DC2@hyperhh.de> <9698009A-8DE3-4CCD-8D35-2A3F973328E0@gmail.com> Message-ID: <8871B78E-796C-4617-B3C6-C312E6B8C672@gmail.com> So - thinking about this dime more - the browser widget uses a dummy URL if not told to load a specific URL, and the dummy URL would not have permission to access local drives, for security reasons. That would mean the "file:///" prefix would not work either. So he would have to either save the HTML file to the local disk, or convert to dataURLs. Fortunately, it is only a few lines of code to convert to a dataURL, and he can build it into his HTML without having to use JavaScript. Sent from my iPhone > On Jul 16, 2017, at 9:10 AM, jonathandlynch at gmail.com wrote: > > Hi Hermann, > > Is this part of the same-source policy for web pages? The HTML file and the image file needing to be in the same folder? > > Sent from my iPhone > >> On Jul 16, 2017, at 5:45 AM, hh via use-livecode wrote: >> >> You can have that without a (local) server when using a browser widget. >> >> Although you can NOT display an image from disk without javascript by >> only setting the htmltext with a correct filepath, for example as follows. >> (This is a browser engine thing, can not be influenced by the widget.) >> >> Example htmltext of the widget or text of the file "flower2b.html": >> >> >> But it works if you set the URL of the widget to a (local) html-file that >> has exactly this text as html (if 'flower.png' is in the same folder). >> *** Then the htmltext of the widget is 'anchored' in the local file system >> and can use a full or relative path. >> >> BTW. To display an image "/home/jh/images/flower.png" from disk in a field >> for example at size 80x60 at char 42: >> >> 1. create an img "i1" >> 2. set the filename of img "i1" to "/home/jh/images/flower.png" >> 3. set the width of img "i1" to 80; set the height of img "i1" to 60 >> 4. set the imagesource of char 42 of fld 1 to "i1" >> >>> James H. wrote: >>>> hh wrote: >>>> ... Or in case you meant simple HTML load (not canvas2d): >>>> >>>> where src = "full http-path to image" (local server is running) >>>> or src = "relative path to image" >>> >>> Actually I am not loading a file from a server, I am setting the htmltext of the widget. >>> >>> The file I am loading is actually a markdown which I convert to xhtml using mergMarkdownToXHTML. >>> I then set the htmltext of the widget to this converted content. >>> Now the text etc all display fine as I would expect, however the images don't. >>> The image tags in the markdown are correctly converted to but obviously the path to the image file is not being correctly interpreted by LC. >>> If I was to display this in a text field (by setting its htmltext) I would need to change the img tag's src attribute to include the "binfile:/" prefix. >>> When I do this the image displays as expected in the text field. >>> >>> However, this displays the images at the size they exist on disk. >>> >>> I notice the dictionary (which is using the browser widget) does not do this. It actually scales the images down where required. >>> So I thought rather than set the htmltext of the field, let me set the htmltext of a browser widget. >>> However none of the forms of the URL for the images that I have tried work. >>> I do not know javascript and while I can sort of follow the logic behind the guide display in the dictionary I can't fathom how it actually works. >>> It is taking the markdown, converting it the a form of html and it correctly shows the text and the images. >>> I am trying to do this without the javascript. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Sun Jul 16 09:37:20 2017 From: hh at hyperhh.de (hh) Date: Sun, 16 Jul 2017 15:37:20 +0200 Subject: Correct img format for browser widget. Message-ID: <2710679C-A41D-470B-93D3-F8F6FBF33B81@hyperhh.de> > Jonathan wrote: > Is this part of the same-source policy for web pages? The HTML file and the image file > needing to be in the same folder? No. I wrote this only because the example used a relative path pointing to the same folder: > Example htmltext of the widget or text of the file "flower2b.html": > But the same-source-policy is becoming more and more strong. The browser (or webkit repspectively) wants a clear "base-url" when making the decision whether 'same-source' is fulfilled. This may be a problem here because such a "base-url" is derived by also checking the html-file origin. And in the case of an empty URL of the widget (htmltext only is set) there is no file origin ... From jonathandlynch at gmail.com Sun Jul 16 10:20:23 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 16 Jul 2017 10:20:23 -0400 Subject: Correct img format for browser widget. In-Reply-To: <2710679C-A41D-470B-93D3-F8F6FBF33B81@hyperhh.de> References: <2710679C-A41D-470B-93D3-F8F6FBF33B81@hyperhh.de> Message-ID: <75F66A6C-6E58-4C09-BB4D-258139065AB0@gmail.com> James - if you look at the example stack on LiveCode share "browser widget image manipulator" it has some LC code for creating a dataURl for an image. Use that to create the data URL for the image. Basically: Get the image info from the image file like this: Put URL "binfile:imagepath" into timageinfo Put base64encode(timageinfo) into timageinfo Replace linefeed with empty in timageinfo Then you follow the example in the stack for putting that base 64 image information into the SRC of the image. Then you replace your old SRC with the new SRC in the htmltext. Then you set the HTML text of your widget with the adjusted HTMLtext. In this way you won't have to use JavaScript and it should display well. If this does not work, let me know and I will write out the script. Sent from my iPhone On Jul 16, 2017, at 9:37 AM, hh via use-livecode wrote: >> Jonathan wrote: >> Is this part of the same-source policy for web pages? The HTML file and the image file >> needing to be in the same folder? > > No. I wrote this only because the example used a relative path pointing to the same folder: > >> Example htmltext of the widget or text of the file "flower2b.html": >> > > But the same-source-policy is becoming more and more strong. > The browser (or webkit repspectively) wants a clear "base-url" when making the decision > whether 'same-source' is fulfilled. > This may be a problem here because such a "base-url" is derived by also checking the > html-file origin. And in the case of an empty URL of the widget (htmltext only is set) > there is no file origin ... > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Sun Jul 16 10:21:20 2017 From: hh at hyperhh.de (hh) Date: Sun, 16 Jul 2017 16:21:20 +0200 Subject: Correct img format for browser widget. Message-ID: <9C51D94B-1193-4250-9F81-6818C131146F@hyperhh.de> An option for James could be to put ONE html-file in the images folder with content: And then set any image of that images folder by changing the HTML by javascript: on mouseUp put "flower2.png" into nn -- give the name directly put line 42 of myImages into nn -- a list containing the image names setImage nn,400,300 end mouseUp on setImage iName,iWidth,iHeight put "var jh = document.getElementById('jh');" & \ "jh.setAttribute('src','" & iName & "');" & \ "jh.setAttribute('width','" & iWidth & "');" & \ "jh.setAttribute('height','" & iHeight & "');" & \ "jh.setAttribute('alt','"&iName&"');" into js do js in widget "browser" end setImage (If there are several images to be displayed at once then simply replicate the id in the html and correspondingly the js in the handler.) From jonathandlynch at gmail.com Sun Jul 16 11:06:37 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 16 Jul 2017 11:06:37 -0400 Subject: Weird variable thing in 8.1.5 Message-ID: <4D5B69D9-40BA-4AED-9449-B6BA1736F729@gmail.com> I just created a button with this script: On mouseup Put "test" into tTest End mouseUp It would not compile, producing the following error: Compilation error at line 2 (Chunk: can't create a variable with that name (explicitVariables?)) near "tTest", char 15 Why would this happen? Nobody would ever be able to use 8.1.5 if that always happened, so what would make it happen now? Sent from my iPhone From dave at applicationinsight.com Sun Jul 16 11:07:58 2017 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 16 Jul 2017 16:07:58 +0100 Subject: Livecode on iPod Message-ID: <37CD3C42-AA02-41AC-B398-CB9EE7149C86@applicationinsight.com> I?ve used www.getudid.io in the past and sometimes received non-functioning UDIDs - and bad UDIDs are a pain to deal with? Of course maybe the website works now - however I recommend that people connect their iOS devices to a machine running the latest version of iTunes and use that to get their UDIDs - and in my experience iTunes provides 100% reliable UDIDs Kind regards Dave PS: and yes, LiveCode apps run fine on iPods > I would bet yes, but UDIDs that start with FFFF are fake. There are many ways to get the real UDID, if you want to create a build for them that they are included in the provisioning file. Look at this site as an example: > > https://www.getudid.io > > Settings wise is should be like iPhone. > > > On Jul 15, 2017, at 7:20 PM, Sannyasin Brahmanathaswami via use-livecode <[hidden email] > wrote: > > > > I have a young user that was given an iPod by his family. > > > > UDID: FFFFFFFF############################5C > > OS: iPhone OS 10.3.2 > > Device: iPod7,1 (iPod7,1) > > Capacity: 14.9 GB > > > > will LiveCode apps run on this? the SA builder does not show "iPod" under iOS. > > > > BR From merakosp at gmail.com Sun Jul 16 11:14:42 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Sun, 16 Jul 2017 16:14:42 +0100 Subject: Weird variable thing in 8.1.5 In-Reply-To: <4D5B69D9-40BA-4AED-9449-B6BA1736F729@gmail.com> References: <4D5B69D9-40BA-4AED-9449-B6BA1736F729@gmail.com> Message-ID: Hi Jonathan, This is because you have enabled Strict Compilation Mode. To fix that error: 1) add "local tTest" before "Put "test" into tTest" OR 2) Disable strict compilation (LC Preferences -> Script Editor -> Strict Compilation Mode) Best, Panos -- On Sun, Jul 16, 2017 at 4:06 PM, Jonathan Lynch via use-livecode < use-livecode at lists.runrev.com> wrote: > I just created a button with this script: > > On mouseup > Put "test" into tTest > End mouseUp > > It would not compile, producing the following error: > > Compilation error at line 2 (Chunk: can't create a variable with that name > (explicitVariables?)) near "tTest", char 15 > > Why would this happen? > > Nobody would ever be able to use 8.1.5 if that always happened, so what > would make it happen now? > > Sent from my iPhone > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jonathandlynch at gmail.com Sun Jul 16 11:21:33 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 16 Jul 2017 11:21:33 -0400 Subject: Weird variable thing in 8.1.5 In-Reply-To: References: <4D5B69D9-40BA-4AED-9449-B6BA1736F729@gmail.com> Message-ID: <96AD723F-37CC-4753-8365-5E3C8761F63B@gmail.com> Thanks Panos It is amazing how many options LC has. :) Sent from my iPhone > On Jul 16, 2017, at 11:14 AM, panagiotis merakos via use-livecode wrote: > > Hi Jonathan, > > This is because you have enabled Strict Compilation Mode. To fix that error: > > 1) add "local tTest" before "Put "test" into tTest" > > OR > > 2) Disable strict compilation (LC Preferences -> Script Editor -> Strict > Compilation Mode) > > Best, > Panos > -- > > On Sun, Jul 16, 2017 at 4:06 PM, Jonathan Lynch via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I just created a button with this script: >> >> On mouseup >> Put "test" into tTest >> End mouseUp >> >> It would not compile, producing the following error: >> >> Compilation error at line 2 (Chunk: can't create a variable with that name >> (explicitVariables?)) near "tTest", char 15 >> >> Why would this happen? >> >> Nobody would ever be able to use 8.1.5 if that always happened, so what >> would make it happen now? >> >> Sent from my iPhone >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bob at bobhall.net Sun Jul 16 11:47:49 2017 From: bob at bobhall.net (Bob Hall) Date: Sun, 16 Jul 2017 11:47:49 -0400 Subject: Help Testing Small Script Editor Enhancement Message-ID: <099ABB7A-A340-45E8-9649-7B77AE85168B@bobhall.net> I?m looking for testing help. The work I did is for MacOS but I would love Linux and Windows users to also try out the changes looking for side effects. I don?t have the resources to perform adequate testing of the changes and need a little help before I submit my pull request. The enhancement is for MacOS Users enabling control+tab to cycle the tabs in the script editor (command-tab is OS reserved on MacOS). I?m not going to go into how to apply the fix but this should be attempted only by more advanced users. The code works on 9.0.0dp8 ONLY. Some re-factoring of the SE has gone on so this fix is for 9dp8 only. You can see my proposed changes on Github at: https://github.com/livecode/livecode-ide/compare/develop...bhall2001:bugfix/20096?expand=1 For anyone who takes the time to install these changes especially on Linux/Windows I thank you!!!!!!! Bob Hall From jonathandlynch at gmail.com Sun Jul 16 13:05:50 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 16 Jul 2017 13:05:50 -0400 Subject: Should RunRev create a testing circle for developers? Message-ID: <601A4FE6-8037-4F1A-BD8E-5FCAA21FE2AE@gmail.com> I don't know if this is a good idea or not, but thought I would throw it out there. Would it be helpful if the Mothership had a group activity where developers could put in a certain number of hours testing others' apps, and then cash in for an equal number of hours from other developers getting their own apps tested? Sent from my iPhone From chipsm at themartinz.com Sun Jul 16 13:43:13 2017 From: chipsm at themartinz.com (** Clarence P Martin **) Date: Sun, 16 Jul 2017 10:43:13 -0700 Subject: Weird variable thing in 8.1.5 In-Reply-To: <4D5B69D9-40BA-4AED-9449-B6BA1736F729@gmail.com> References: <4D5B69D9-40BA-4AED-9449-B6BA1736F729@gmail.com> Message-ID: <044501d2fe5a$ffb6fda0$ff24f8e0$@themartinz.com> Check in your script editor window under the Edit Sub-menu and look to see if "variable checking" is checked. That means that you need to declare any variables before you can use them. If you uncheck this, LiveCode will not require you to declare variables. Some people don't use variable checking and other do. That is a personal preference. Look up variable checking in the manual and you can decide what to do. Sincerely, Clarence Martin Email: chipsm at themartinz.com Cell: 626 6965561 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Jonathan Lynch via use-livecode Sent: Sunday, July 16, 2017 8:07 AM To: use-livecode at lists.runrev.com Cc: jonathandlynch at gmail.com Subject: Weird variable thing in 8.1.5 I just created a button with this script: On mouseup Put "test" into tTest End mouseUp It would not compile, producing the following error: Compilation error at line 2 (Chunk: can't create a variable with that name (explicitVariables?)) near "tTest", char 15 Why would this happen? Nobody would ever be able to use 8.1.5 if that always happened, so what would make it happen now? Sent from my iPhone _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Sun Jul 16 13:49:11 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Sun, 16 Jul 2017 13:49:11 -0400 Subject: Weird variable thing in 8.1.5 In-Reply-To: <044501d2fe5a$ffb6fda0$ff24f8e0$@themartinz.com> References: <4D5B69D9-40BA-4AED-9449-B6BA1736F729@gmail.com> <044501d2fe5a$ffb6fda0$ff24f8e0$@themartinz.com> Message-ID: <530893D4-DA54-4C6F-A17B-F659ECCC7A87@gmail.com> That was it - must have gotten clicked by accident. In 14 years with LC I have never used that option. Sent from my iPhone > On Jul 16, 2017, at 1:43 PM, ** Clarence P Martin ** via use-livecode wrote: > > Check in your script editor window under the Edit Sub-menu and look to see > if "variable checking" is checked. That means that you need to declare any > variables before you can use them. If you uncheck this, LiveCode will not > require you to declare variables. > Some people don't use variable checking and other do. That is a personal > preference. Look up variable checking in the manual and you can decide what > to do. > > Sincerely, > > Clarence Martin > Email: chipsm at themartinz.com > Cell: 626 6965561 > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Jonathan Lynch via use-livecode > Sent: Sunday, July 16, 2017 8:07 AM > To: use-livecode at lists.runrev.com > Cc: jonathandlynch at gmail.com > Subject: Weird variable thing in 8.1.5 > > I just created a button with this script: > > On mouseup > Put "test" into tTest > End mouseUp > > It would not compile, producing the following error: > > Compilation error at line 2 (Chunk: can't create a variable with that name > (explicitVariables?)) near "tTest", char 15 > > Why would this happen? > > Nobody would ever be able to use 8.1.5 if that always happened, so what > would make it happen now? > > Sent from my iPhone > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Jul 16 15:11:35 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 16 Jul 2017 12:11:35 -0700 Subject: Help Testing Small Script Editor Enhancement In-Reply-To: <099ABB7A-A340-45E8-9649-7B77AE85168B@bobhall.net> References: <099ABB7A-A340-45E8-9649-7B77AE85168B@bobhall.net> Message-ID: <0b1c078f-5a83-5104-efdf-23b41739f620@sonic.net> On 07/16/2017 08:47 AM, Bob Hall via use-livecode wrote: > I?m looking for testing help. The work I did is for MacOS but I would love Linux and Windows users to also try out the changes looking for side effects. I don?t have the resources to perform adequate testing of the changes and need a little help before I submit my pull request. > > The enhancement is for MacOS Users enabling control+tab to cycle the tabs in the script editor (command-tab is OS reserved on MacOS). I?m not going to go into how to apply the fix but this should be attempted only by more advanced users. The code works on 9.0.0dp8 ONLY. Some re-factoring of the SE has gone on so this fix is for 9dp8 only. > > You can see my proposed changes on Github at: > https://github.com/livecode/livecode-ide/compare/develop...bhall2001:bugfix/20096?expand=1 Work fine here after patching LC9dp8. Linux Mint 17.2 cinnamon (control-tab to cycle) -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Sun Jul 16 15:25:13 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 16 Jul 2017 19:25:13 +0000 Subject: Livecode on iPod In-Reply-To: <8151D83D-46C7-45AC-8D0A-353FD37A4C63@gmail.com> References: <5EA61650-A9FB-4922-B895-1A2113A2C339@hindu.org> <8151D83D-46C7-45AC-8D0A-353FD37A4C63@gmail.com> Message-ID: <9686B494-5660-4ECE-A425-EB148270752D@hindu.org> UDID FFFFFFF "fake" ? But developer.apple.com device portal accepts them? ?? BR On 7/15/17, 4:24 PM, "use-livecode on behalf of Colin Holgate via use-livecode" wrote: I would bet yes, but UDIDs that start with FFFF are fake. From bobsneidar at iotecdigital.com Sun Jul 16 15:25:43 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 16 Jul 2017 19:25:43 +0000 Subject: postgres table query not getting all names In-Reply-To: <73af8e55-051e-2d0a-2ab9-a192a27dbac0@sonic.net> References: <73af8e55-051e-2d0a-2ab9-a192a27dbac0@sonic.net> Message-ID: <33C9E769-85D0-4087-86C2-D02960989594@iotecdigital.com> If there is a built in function for getting the schema of the particular database, I would use that. For instance you can query sqLite master database for a list of tables using: SELECT * FROM my_db.sqlite_master mySQL can be queried using SHOW TABLES Googling this indicates that for postgres the syntax is: SELECT table_name FROM information_schema.tables WHERE table_schema='public' AND table_type='BASE TABLE'; Bob S > On Jul 14, 2017, at 16:13 , Mark Wieder via use-livecode wrote: > > On 07/14/2017 03:48 PM, Dr. Hawkins via use-livecode wrote: >> Sometime ago, I wrote my own getTableNames() because >> revDatabaseTableNames() would consistently fail to find them all. >> Now, it to is filing. >> It is, in essence, >> *put* "SELECT table_name FROM information_schema.tables ;" \ >> & cr into dcmd >> *put* revDataFromQuery(,cr,db,dcmd) into tabList >> *return* tabList >> I have another chunk of code which is now acting up: >> *put* getTableNames(dhbkSrvrDb) into dhSrvTbls >> *put* "dhStatTbl" into dhtbl_stat >> *if* dhtbl_stat is not among the words of dhSrvTbls *then* >> *put* "CREATE TABLE " & dhtbl_stat . . . blah blah blah >> table dhStatTbl already exists, yet the conditional is reached. It >> executes, and throws an error because this table is already there. >> This is, to be mild, a brutal bug. >> Might there be something I'm missing? > > Just a guess, but the concept of 'word' is pretty slippery. > You might try 'true words' or make a comma-separated list and look among the items or... > > -- > 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 jacque at hyperactivesw.com Sun Jul 16 15:27:35 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 16 Jul 2017 14:27:35 -0500 Subject: Mobile - missing? files added in copy files pane of standalone builder In-Reply-To: References: Message-ID: On 7/15/17 8:05 PM, Terry Judd via use-livecode wrote: > If I add files that are in the same folder as the stack file in the copy and then in the app (simulator or real device) if I ?put the files?, then the added files are included in the listing. However, if the added files are in a different folder (e.g. ?stuff/test.pdf?) then they don?t show up. Should they, or is there something that I?m missing? > > LC 8.1.6 (rc1) That's expected behavior, the files function isn't recursive. By default, it returns only files in the default folder but you can specify a different folder by adding an optional folder parameter. Over the years a few people have posted recursive directory walk scripts, but since you already know the folders included in the standalone it's probably easier to just ask for each listing individually if there aren't too many. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Jul 16 15:37:11 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 16 Jul 2017 14:37:11 -0500 Subject: Help Testing Small Script Editor Enhancement In-Reply-To: <0b1c078f-5a83-5104-efdf-23b41739f620@sonic.net> References: <099ABB7A-A340-45E8-9649-7B77AE85168B@bobhall.net> <0b1c078f-5a83-5104-efdf-23b41739f620@sonic.net> Message-ID: On 7/16/17 2:11 PM, Mark Wieder via use-livecode wrote: > On 07/16/2017 08:47 AM, Bob Hall via use-livecode wrote: >> The enhancement is for MacOS Users enabling control+tab to cycle the >> tabs in the script editor (command-tab is OS reserved on MacOS). I?m >> not going to go into how to apply the fix but this should be attempted >> only by more advanced users. The code works on 9.0.0dp8 ONLY. Some >> re-factoring of the SE has gone on so this fix is for 9dp8 only. >> >> You can see my proposed changes on Github at: >> https://github.com/livecode/livecode-ide/compare/develop...bhall2001:bugfix/20096?expand=1 >> >> > > Work fine here after patching LC9dp8. > Linux Mint 17.2 cinnamon (control-tab to cycle) > This is going to totally screw up a macro I've been using for 15+ years. I know I'm a voice in the wilderness but if this gets officially implemented I hope there's an option to turn it off, or supply your own key combination. I use control-tab to switch between edit and browse mode because the built-in combo is impossible for me to reach comfortably. You can imagine how ingrained that is by now. Please give us some control over the behavior. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Sun Jul 16 15:38:10 2017 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 16 Jul 2017 20:38:10 +0100 Subject: Weird variable thing in 8.1.5 In-Reply-To: <530893D4-DA54-4C6F-A17B-F659ECCC7A87@gmail.com> References: <4D5B69D9-40BA-4AED-9449-B6BA1736F729@gmail.com> <044501d2fe5a$ffb6fda0$ff24f8e0$@themartinz.com> <530893D4-DA54-4C6F-A17B-F659ECCC7A87@gmail.com> Message-ID: On 16/07/2017 18:49, Jonathan Lynch via use-livecode wrote: > > In 14 years with LC I have never used that option. > > You should try it :-) Can be a bit of a pain to add all the local variable declarations - BUT every so often it will help you discover a typo in a variable name, and suddenly you've fixed a potential bug that was lurking in your code. And the cost of the time to add those declarations is nothing compared to diagnosing and fixing bugs reported by distant users. -- Alex. P.S. of course, YMMV. My taping skulls are bid, so I often spill thongs wring - maybe you don't hive that problem :-) From bobsneidar at iotecdigital.com Sun Jul 16 15:42:54 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 16 Jul 2017 19:42:54 +0000 Subject: intersect . . . invisible images In-Reply-To: <9b83045e-e2dc-f4c0-2111-47bf966aad9d@hyperactivesw.com> References: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> <239ad69d-979f-2590-59d8-e0d900eee8f0@fourthworld.com> <9b83045e-e2dc-f4c0-2111-47bf966aad9d@hyperactivesw.com> Message-ID: It's not a theory. It's a demonstrable fact. I cannot comment on the status of Jacque'a missing sock though, as a certain cat I once had who himself professed to have been "sent back" by a future owner of Jacques Time Travel stack to test it's veracity, was unable to return to his own time because said owner failed to take into account an extremely obscure but involving recursion in said time travel stack. The cat, who had evolved to the point that he could actually communicate psychically, had nevertheless not lost his primal instinct to tear to shreads anything in his immediate vicinity when vexed, proceeded to "unweave" an item of clothing that may or may not have matched the description of Jacque's missing sock. Bob S > On Jul 14, 2017, at 23:32 , J. Landman Gay via use-livecode wrote: > >> And of course, this dovetails nicely into Jacque's disappearing socks >> theory. > > I lost a sock about six years ago and it still hasn't shown up. I've kept the single remaining one of the pair in hopes that the missing one would hone in on it and find its way home. > > So now you're saying it's been in the dryer the whole time and I haven't found the right way to intersect with it yet? Great. I don't know how to change its visible property. > > I loved that sock. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Sun Jul 16 15:43:41 2017 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 16 Jul 2017 19:43:41 +0000 Subject: intersect . . . invisible images In-Reply-To: References: <70cdc276-be1f-9637-034d-58460ec69f55@gmail.com> <239ad69d-979f-2590-59d8-e0d900eee8f0@fourthworld.com> <9b83045e-e2dc-f4c0-2111-47bf966aad9d@hyperactivesw.com> Message-ID: > On Jul 16, 2017, at 12:42 , Bob Sneidar via use-livecode wrote: > > said owner failed to take into account an extremely obscure BUG From ahsoftware at sonic.net Sun Jul 16 15:50:34 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 16 Jul 2017 12:50:34 -0700 Subject: Help Testing Small Script Editor Enhancement In-Reply-To: References: <099ABB7A-A340-45E8-9649-7B77AE85168B@bobhall.net> <0b1c078f-5a83-5104-efdf-23b41739f620@sonic.net> Message-ID: <07bc8b80-be19-185e-7b93-799b36dd7757@sonic.net> On 07/16/2017 12:37 PM, J. Landman Gay via use-livecode wrote: > This is going to totally screw up a macro I've been using for 15+ years. > I know I'm a voice in the wilderness but if this gets officially > implemented I hope there's an option to turn it off, or supply your own > key combination. > > I use control-tab to switch between edit and browse mode because the > built-in combo is impossible for me to reach comfortably. You can > imagine how ingrained that is by now. Please give us some control over > the behavior. > I do the same in PowerTools. No problem. The patch is implemented in a behavior script of the script editor, so unless you're trying to switch modes while the editor is in front there's no conflict. I was worried about that too, so it was the first thing I tested. -- Mark Wieder ahsoftware at gmail.com From terry.judd at unimelb.edu.au Sun Jul 16 16:09:41 2017 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 16 Jul 2017 20:09:41 +0000 Subject: Mobile - missing? files added in copy files pane of standalone builder In-Reply-To: References: Message-ID: <7BB9F0AB-C3EA-4242-81F6-44A0C69A22E5@unimelb.edu.au> Ok, so when adding files in the ?copy files? pane I can only include files that are in the same folder (on disk) as the stack file if I want them to end up in the engine/home folder? I though assuming that the paths that are listed in the ?Non-stack files in the application? represent the location of the original file but that when the standalone was built they are all be copied into the same folder in the app? I thought I?d added externals this way in the past and had them work for example. Terry... On 17/07/2017 5:27 am, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: On 7/15/17 8:05 PM, Terry Judd via use-livecode wrote: > If I add files that are in the same folder as the stack file in the copy and then in the app (simulator or real device) if I ?put the files?, then the added files are included in the listing. However, if the added files are in a different folder (e.g. ?stuff/test.pdf?) then they don?t show up. Should they, or is there something that I?m missing? > > LC 8.1.6 (rc1) That's expected behavior, the files function isn't recursive. By default, it returns only files in the default folder but you can specify a different folder by adding an optional folder parameter. Over the years a few people have posted recursive directory walk scripts, but since you already know the folders included in the standalone it's probably easier to just ask for each listing individually if there aren't too many. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Jul 16 16:12:16 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 16 Jul 2017 15:12:16 -0500 Subject: Help Testing Small Script Editor Enhancement In-Reply-To: <07bc8b80-be19-185e-7b93-799b36dd7757@sonic.net> References: <099ABB7A-A340-45E8-9649-7B77AE85168B@bobhall.net> <0b1c078f-5a83-5104-efdf-23b41739f620@sonic.net> <07bc8b80-be19-185e-7b93-799b36dd7757@sonic.net> Message-ID: On 7/16/17 2:50 PM, Mark Wieder via use-livecode wrote: > On 07/16/2017 12:37 PM, J. Landman Gay via use-livecode wrote: > >> This is going to totally screw up a macro I've been using for 15+ >> years. I know I'm a voice in the wilderness but if this gets >> officially implemented I hope there's an option to turn it off, or >> supply your own key combination. >> >> I use control-tab to switch between edit and browse mode because the >> built-in combo is impossible for me to reach comfortably. You can >> imagine how ingrained that is by now. Please give us some control over >> the behavior. >> > > I do the same in PowerTools. No problem. > > The patch is implemented in a behavior script of the script editor, so > unless you're trying to switch modes while the editor is in front > there's no conflict. I was worried about that too, so it was the first > thing I tested. > I suppose I could live with that. As it is now, switching to browse mode with the script editor in focus brings the defaultstack to the front automatically and you're set to go. I didn't set that up myself, so I assumed it was part of the IDE. I guess I could click the stack manually. I wonder if any others would be affected by the change. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bob at bobhall.net Sun Jul 16 16:33:42 2017 From: bob at bobhall.net (Bob Hall) Date: Sun, 16 Jul 2017 16:33:42 -0400 Subject: Help Testing Small Script Editor Enhancement In-Reply-To: References: <099ABB7A-A340-45E8-9649-7B77AE85168B@bobhall.net> <0b1c078f-5a83-5104-efdf-23b41739f620@sonic.net> Message-ID: > On Jul 16, 2017, at 3:37 PM, J. Landman Gay via use-livecode > wrote: > > This is going to totally screw up a macro I've been using for 15+ years. I know I'm a voice in the wilderness but if this gets officially implemented I hope there's an option to turn it off, or supply your own key combination. > LOL. I haven?t been using the control-tab for 15 years to switch between edit and run modes. However, I had been using it for 3 years. Yes it was painful for me to switch my favorite key sequence. But it had to be done. The control-tab ?fix? I?m proposing will only effect MacOS users and I would not expect Linux or Windows users to be effected at all by the MacOS control-tab. If you are on Linux/Windows it should not matter whether the Script Editor is top window or not. I don?t expect an easy adoption of this ?new? key combination by Livecode. If adopted, I would also not expect an option to turn it on/off or change the combo as the behavior is considered to be a standard key combo of MacOS, right? If you are using control-tab with a custom macro, see if control-` might work for you. If not, possibly option-tab? Bob From jacque at hyperactivesw.com Sun Jul 16 17:31:49 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 16 Jul 2017 16:31:49 -0500 Subject: Help Testing Small Script Editor Enhancement In-Reply-To: References: <099ABB7A-A340-45E8-9649-7B77AE85168B@bobhall.net> <0b1c078f-5a83-5104-efdf-23b41739f620@sonic.net> Message-ID: <535715be-04d5-59d9-dff4-4ac569a7210b@hyperactivesw.com> On 7/16/17 3:33 PM, Bob Hall via use-livecode wrote: > >> On Jul 16, 2017, at 3:37 PM, J. Landman Gay via use-livecode > wrote: >> >> This is going to totally screw up a macro I've been using for 15+ years. I know I'm a voice in the wilderness but if this gets officially implemented I hope there's an option to turn it off, or supply your own key combination. >> > > LOL. I haven?t been using the control-tab for 15 years to switch between edit and run modes. However, I had been using it for 3 years. Yes it was painful for me to switch my favorite key sequence. But it had to be done. > > The control-tab ?fix? I?m proposing will only effect MacOS users and I would not expect Linux or Windows users to be effected at all by the MacOS control-tab. If you are on Linux/Windows it should not matter whether the Script Editor is top window or not. > > I don?t expect an easy adoption of this ?new? key combination by Livecode. If adopted, I would also not expect an option to turn it on/off or change the combo as the behavior is considered to be a standard key combo of MacOS, right? > > If you are using control-tab with a custom macro, see if control-` might work for you. If not, possibly option-tab? I used Cmd-tab for 20 years, which was the HC standard before LC, and painfully switched to Control-tab when Apple stole that key combo from us. I don't want to do that again. But since the change only affects the script editor, it isn't as drastic as I was afraid of. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Jul 16 17:58:03 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 16 Jul 2017 16:58:03 -0500 Subject: Mobile - missing? files added in copy files pane of standalone builder In-Reply-To: <7BB9F0AB-C3EA-4242-81F6-44A0C69A22E5@unimelb.edu.au> References: <7BB9F0AB-C3EA-4242-81F6-44A0C69A22E5@unimelb.edu.au> Message-ID: <1adafb75-e11c-fe42-af0e-02ce55a4cd22@hyperactivesw.com> The app structure respects the folder hierarchy you had during development. For easiest access everywhere, put your folders inside the one that holds the mainstack. Then use specialFolderPath("resources") in your scripts to refer to the subfolders. That function will return the mainstack's folder during development, and the path to the subfolders in a standalone on any platform. Macs no longer allow assets in the engine folder, so specialFolderPath("resources") translates to the place where your subfolders actually reside. That is, even if your script refers to the engine folder, the function will look in the resources folder. You don't need to create a resources folder on your hard drive, that is done automatically when the standalone is built. Just make the other folders sub-directories of the mainstack's folder and include them in the copy files pane. On 7/16/17 3:09 PM, Terry Judd via use-livecode wrote: > Ok, so when adding files in the ?copy files? pane I can only include files that are in the same folder (on disk) as the stack file if I want them to end up in the engine/home folder? I though assuming that the paths that are listed in the ?Non-stack files in the application? represent the location of the original file but that when the standalone was built they are all be copied into the same folder in the app? I thought I?d added externals this way in the past and had them work for example. > > Terry... > > On 17/07/2017 5:27 am, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: > > On 7/15/17 8:05 PM, Terry Judd via use-livecode wrote: > > If I add files that are in the same folder as the stack file in the copy and then in the app (simulator or real device) if I ?put the files?, then the added files are included in the listing. However, if the added files are in a different folder (e.g. ?stuff/test.pdf?) then they don?t show up. Should they, or is there something that I?m missing? > > > > LC 8.1.6 (rc1) > > That's expected behavior, the files function isn't recursive. By > default, it returns only files in the default folder but you can specify > a different folder by adding an optional folder parameter. > > Over the years a few people have posted recursive directory walk > scripts, but since you already know the folders included in the > standalone it's probably easier to just ask for each listing > individually if there aren't too many. > > -- > 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 ahsoftware at sonic.net Sun Jul 16 18:01:10 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 16 Jul 2017 15:01:10 -0700 Subject: Help Testing Small Script Editor Enhancement In-Reply-To: References: <099ABB7A-A340-45E8-9649-7B77AE85168B@bobhall.net> <0b1c078f-5a83-5104-efdf-23b41739f620@sonic.net> Message-ID: <58d672bd-067f-6275-b67a-bad12c1c15e8@sonic.net> On 07/16/2017 01:33 PM, Bob Hall via use-livecode wrote: > The control-tab ?fix? I?m proposing will only effect MacOS users and I would not expect Linux or Windows users to be effected at all by the MacOS control-tab. If you are on Linux/Windows it should not matter whether the Script Editor is top window or not. Well, as I noted, it *does* affect linux, but not in a bad way. Control-tab continues to iterate through the tabs as long as the script editor is in front, and continues to switch modes when it's not. -- Mark Wieder ahsoftware at gmail.com From terry.judd at unimelb.edu.au Sun Jul 16 18:38:58 2017 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sun, 16 Jul 2017 22:38:58 +0000 Subject: Mobile - missing? files added in copy files pane of standalone builder In-Reply-To: <1adafb75-e11c-fe42-af0e-02ce55a4cd22@hyperactivesw.com> References: <7BB9F0AB-C3EA-4242-81F6-44A0C69A22E5@unimelb.edu.au>, <1adafb75-e11c-fe42-af0e-02ce55a4cd22@hyperactivesw.com> Message-ID: <5F0A354F-B069-48B2-9419-BF50DF44BCE6@unimelb.edu.au> Thanks for the advice Jacqueline - I use the resources folder for writing/ reading files to/from all the time but haven't been in the habit of using the copy files pane for adding resources. I'll give all that a go. Terry... Sent from my iPhone > On 17 Jul 2017, at 7:58 am, J. Landman Gay via use-livecode wrote: > > The app structure respects the folder hierarchy you had during development. For easiest access everywhere, put your folders inside the one that holds the mainstack. > > Then use specialFolderPath("resources") in your scripts to refer to the subfolders. That function will return the mainstack's folder during development, and the path to the subfolders in a standalone on any platform. > > Macs no longer allow assets in the engine folder, so specialFolderPath("resources") translates to the place where your subfolders actually reside. That is, even if your script refers to the engine folder, the function will look in the resources folder. > > You don't need to create a resources folder on your hard drive, that is done automatically when the standalone is built. Just make the other folders sub-directories of the mainstack's folder and include them in the copy files pane. > >> On 7/16/17 3:09 PM, Terry Judd via use-livecode wrote: >> Ok, so when adding files in the ?copy files? pane I can only include files that are in the same folder (on disk) as the stack file if I want them to end up in the engine/home folder? I though assuming that the paths that are listed in the ?Non-stack files in the application? represent the location of the original file but that when the standalone was built they are all be copied into the same folder in the app? I thought I?d added externals this way in the past and had them work for example. >> Terry... >> On 17/07/2017 5:27 am, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: >> On 7/15/17 8:05 PM, Terry Judd via use-livecode wrote: >> > If I add files that are in the same folder as the stack file in the copy and then in the app (simulator or real device) if I ?put the files?, then the added files are included in the listing. However, if the added files are in a different folder (e.g. ?stuff/test.pdf?) then they don?t show up. Should they, or is there something that I?m missing? >> > >> > LC 8.1.6 (rc1) >> That's expected behavior, the files function isn't recursive. By >> default, it returns only files in the default folder but you can specify >> a different folder by adding an optional folder parameter. >> Over the years a few people have posted recursive directory walk >> scripts, but since you already know the folders included in the >> standalone it's probably easier to just ask for each listing >> individually if there aren't too many. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bob at bobhall.net Sun Jul 16 18:50:31 2017 From: bob at bobhall.net (Bob Hall) Date: Sun, 16 Jul 2017 18:50:31 -0400 Subject: Help Testing Small Script Editor Enhancement In-Reply-To: <58d672bd-067f-6275-b67a-bad12c1c15e8@sonic.net> References: <099ABB7A-A340-45E8-9649-7B77AE85168B@bobhall.net> <0b1c078f-5a83-5104-efdf-23b41739f620@sonic.net> <58d672bd-067f-6275-b67a-bad12c1c15e8@sonic.net> Message-ID: <17B0B187-A85D-46F4-9E20-CBAB4CCECDF9@bobhall.net> > On Jul 16, 2017, at 6:01 PM, Mark Wieder via use-livecode wrote: > > Well, as I noted, it *does* affect linux, but not in a bad way. Control-tab continues to iterate through the tabs as long as the script editor is in front, and continues to switch modes when it's not. That?s a bug that I need to address. I missed the point Mark W. made that control-tab cycled through the tabs on Linux. That should not happen with the Linux SE. My intent is that only MacOS SE users would have the option. I?m in the process of getting a Debian system up on a VM to see what?s going on. I?ll go through my code and figure out what I need to fix this so it works as I intended. Thanks Mark for finding this. Bob From brahma at hindu.org Sun Jul 16 19:42:54 2017 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 16 Jul 2017 23:42:54 +0000 Subject: Bug? ResizeControl Triggers From Outside of CustomControl with Assigned Behavior In-Reply-To: <15d46ed5810.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <15d46ed5810.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <921899C4-E570-4E7A-891C-2118416F507A@hindu.org> I'm hitting this again? in order to stylize a widget I grouped it (by itself) now we get to do the cool effects/inks to make it look good. But it also is used as a button. and I place the group on all the cards in the stack, Now we have 3 different backgrounds all of which expect mouse events. I can't any use case where you would want any group to trap a mouse event outside its rect. Seems only to introduce chaos. Especially where many custom controls may want to be shared on multiple cards? it "goes crazy" and debugging the msg path and hacking around this issue, starts to get nightmarish BR On 7/15/17, 5:46 AM, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: I saw this recently. It isn't a bug, the navigation group is a background group so it will catch any message that isn't blocked earlier in the message path. You can put an empty resizecontrol handler in objects that shouldn't respond, or check in the group script that the target is one of the group members, as you did. From monte at appisle.net Sun Jul 16 19:52:55 2017 From: monte at appisle.net (Monte Goulding) Date: Mon, 17 Jul 2017 09:52:55 +1000 Subject: Bug? ResizeControl Triggers From Outside of CustomControl with Assigned Behavior In-Reply-To: <921899C4-E570-4E7A-891C-2118416F507A@hindu.org> References: <15d46ed5810.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <921899C4-E570-4E7A-891C-2118416F507A@hindu.org> Message-ID: <3CD04848-2FFA-476C-944F-9CE4ECA75252@appisle.net> > On 17 Jul 2017, at 9:42 am, Sannyasin Brahmanathaswami via use-livecode wrote: > > I can't any use case where you would want any group to trap a mouse event outside its rect. It sounds like you want sharedBehavior on and backgroundBehavior off If it?s a background it behaves like it?s a layer between card and stack so all card messages travel through it. That?s the way backgrounds work and changing that would break a _lot_ of code! Cheers Monte From jeff at siphonophore.com Sun Jul 16 20:41:34 2017 From: jeff at siphonophore.com (Jeff Reynolds) Date: Sun, 16 Jul 2017 20:41:34 -0400 Subject: intersect . . . invisible images Message-ID: <204475E6-1AF2-4973-877F-93EFC2E0069A@siphonophore.com> I think it's not quark and dryer spins that take away those lost locks but an intersection of this universe with another existing in the same space but different dimensions. And if the infinite number of universes theory is true the one universe must be the recipient of all said lost socks from all the other infinite number of universes and that is a shocking universe to contemplate. So Richmond be careful the intersections you try to map or you may find yourself in an episode of the twilight zone trying to find a little lost girl... Cheers, Jeff Jeffrey Reynolds 6620 Michaels Dr Bethesda, MD 20817 301.469.8562 From ahsoftware at sonic.net Sun Jul 16 21:59:03 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 16 Jul 2017 18:59:03 -0700 Subject: intersect . . . invisible images In-Reply-To: <204475E6-1AF2-4973-877F-93EFC2E0069A@siphonophore.com> References: <204475E6-1AF2-4973-877F-93EFC2E0069A@siphonophore.com> Message-ID: <5056be79-23ce-82c2-bbe1-6d968f1a1ba5@sonic.net> On 07/16/2017 05:41 PM, Jeff Reynolds via use-livecode wrote: > I think it's not quark and dryer spins that take away those lost locks but an intersection of this universe with another existing in the same space but different dimensions. And if the infinite number of universes theory is true the one universe must be the recipient of all said lost socks from all the other infinite number of universes and that is a shocking universe to contemplate. Ah... the fabled socksth dimension... -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Sun Jul 16 22:02:37 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 16 Jul 2017 19:02:37 -0700 Subject: Help Testing Small Script Editor Enhancement In-Reply-To: <17B0B187-A85D-46F4-9E20-CBAB4CCECDF9@bobhall.net> References: <099ABB7A-A340-45E8-9649-7B77AE85168B@bobhall.net> <0b1c078f-5a83-5104-efdf-23b41739f620@sonic.net> <58d672bd-067f-6275-b67a-bad12c1c15e8@sonic.net> <17B0B187-A85D-46F4-9E20-CBAB4CCECDF9@bobhall.net> Message-ID: <1cbc000f-148f-4d1c-4533-cade0eb2e37f@sonic.net> On 07/16/2017 03:50 PM, Bob Hall via use-livecode wrote: > >> On Jul 16, 2017, at 6:01 PM, Mark Wieder via use-livecode wrote: >> >> Well, as I noted, it *does* affect linux, but not in a bad way. Control-tab continues to iterate through the tabs as long as the script editor is in front, and continues to switch modes when it's not. > > That?s a bug that I need to address. I missed the point Mark W. made that control-tab cycled through the tabs on Linux. That should not happen with the Linux SE. My intent is that only MacOS SE users would have the option. > > I?m in the process of getting a Debian system up on a VM to see what?s going on. I?ll go through my code and figure out what I need to fix this so it works as I intended. Thanks Mark for finding this. Er... wait... what?... I wasn't reporting a bug. Everything works the way I thought it would. Control-tab cycles through tabs with and without the patch, and the patch doesn't interfere with switching modes when the script editor isn't in the foreground. -- Mark Wieder ahsoftware at gmail.com From MikeKerner at roadrunner.com Sun Jul 16 22:04:04 2017 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 16 Jul 2017 22:04:04 -0400 Subject: Livecode on iPod In-Reply-To: <9686B494-5660-4ECE-A425-EB148270752D@hindu.org> References: <5EA61650-A9FB-4922-B895-1A2113A2C339@hindu.org> <8151D83D-46C7-45AC-8D0A-353FD37A4C63@gmail.com> <9686B494-5660-4ECE-A425-EB148270752D@hindu.org> Message-ID: Yes, and good luck deploying to it. On Sun, Jul 16, 2017 at 3:25 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > UDID > > FFFFFFF "fake" > > ? > > But developer.apple.com device portal accepts them? > > ?? > > BR > > > > On 7/15/17, 4:24 PM, "use-livecode on behalf of Colin Holgate via > use-livecode" use-livecode at lists.runrev.com> wrote: > > I would bet yes, but UDIDs that start with FFFF are fake. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From james at thehales.id.au Sun Jul 16 23:42:39 2017 From: james at thehales.id.au (James Hale) Date: Mon, 17 Jul 2017 13:42:39 +1000 Subject: Correct img format for browser widget. Message-ID: <03DF8DD5-B680-40FF-913B-CA849713092F@thehales.id.au> Thank you so much Hermann and Jonathan It took me a little time but I worked out what to do after looking at your suggestions. The fact that setting the htmltext of the browser widget breaks the img URL's makes sense from a security and logical point of view. I then tried Jonathan's technique of using the image data. This worked a treat but for some files was quite slow on my larger files. e.g. one html had 200 images. It took some 20 secs for the browser to load. So I thought I would try Hermann's later suggesting of just saving the file as an html and setting the URL of the browser to it. The conversion from markdown left the img tags in the correct format for a browser to locate the files. After finding Trevor's function for correctly URL encoding the file name I was able to successfully load the files into the browser widget and display the images. The 200 image file loaded in less than a second which was good. The final issue was the varying width of the images. I simply loaded an array keyed on the file names with a single value, image width. I didn't want any widths greater than 800 pixels so a simply if statement set all widths > 800 to 800 Then a simple replace loop using the image size array "gimagescale"... repeat for each key ikey in gimagescale replace ikey"e&" " with ikey"e&" width = ""e&gimagescale[ikey]"e in nfile end repeat and the img tags were in a format I wanted. Loading into the browser widget was fast and the images all fitted in the browser's width. Setting the htmltext of a field was my first choice. But the html of the converted markdown docs was more than LC's htmltext function could handle. And to be honest, the browser's rendering looked better. Had the html been simpler, using a field would have been just as fast. Anyway, my issue is resolved. Thank you both again for your help. James From jacque at hyperactivesw.com Mon Jul 17 02:06:13 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Jul 2017 01:06:13 -0500 Subject: intersect . . . invisible images In-Reply-To: <204475E6-1AF2-4973-877F-93EFC2E0069A@siphonophore.com> References: <204475E6-1AF2-4973-877F-93EFC2E0069A@siphonophore.com> Message-ID: <15d4f277808.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On July 16, 2017 7:43:27 PM Jeff Reynolds via use-livecode wrote: > I think it's not quark and dryer spins that take away those lost locks but > an intersection of this universe with another existing in the same space > but different dimensions. And if the infinite number of universes theory is > true the one universe must be the recipient of all said lost socks from all > the other infinite number of universes and that is a shocking universe to > contemplate. > > So Richmond be careful the intersections you try to map or you may find > yourself in an episode of the twilight zone trying to find a little lost > girl... Has anyone noticed that since we hijacked this thread, Richmond has disappeared? Richmond, if you can hear me through that wall, do you see my sock? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at hyperhh.de Mon Jul 17 03:40:05 2017 From: hh at hyperhh.de (hh) Date: Mon, 17 Jul 2017 09:40:05 +0200 Subject: intersect . . . invisible images Message-ID: <91FA18F3-43C7-4222-9C6F-66E3341D06BB@hyperhh.de> > JLG wrote: > Has anyone noticed that since we hijacked this thread, Richmond has > disappeared? He has the lost sock, because men wearing kilts have three woollen socks. (Sorry, if you laugh now, one minute later, you are wrong. They simply have a spare sock with them, just like a good car has a spare wheel attached.) From richmondmathewson at gmail.com Mon Jul 17 03:56:45 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 17 Jul 2017 10:56:45 +0300 Subject: intersect . . . invisible images In-Reply-To: <91FA18F3-43C7-4222-9C6F-66E3341D06BB@hyperhh.de> References: <91FA18F3-43C7-4222-9C6F-66E3341D06BB@hyperhh.de> Message-ID: <5f26f1c4-256f-bd6a-4be8-7c95a4b78984@gmail.com> That's because Richmond doesn't share your sense of humour, and never really could understand North American jokes . . . R. On 7/17/17 10:40 am, hh via use-livecode wrote: >> JLG wrote: >> Has anyone noticed that since we hijacked this thread, Richmond has >> disappeared? > He has the lost sock, because men wearing kilts have three woollen socks. > > (Sorry, if you laugh now, one minute later, you are wrong. They simply have > a spare sock with them, just like a good car has a spare wheel attached.) > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 17 03:59:24 2017 From: hh at hyperhh.de (hh) Date: Mon, 17 Jul 2017 09:59:24 +0200 Subject: [ANN] Release 9.0.0 DP-8 Message-ID: > Panos M. wrote: > Script Editor: Support for auto completion of square bracket `[`, > parenthesis `(` or double quote `"` is now added. After writing a long script I really like this feature and miss it already in LC 8.1.6. I wonder what's the reason to leave out braces "{}" (may be needed for connecting to LCB) and single quotes (good for writing an already quoted javascript string)? From richmondmathewson at gmail.com Mon Jul 17 04:06:04 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 17 Jul 2017 11:06:04 +0300 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: References: Message-ID: Not universally popular: http://forums.livecode.com/viewtopic.php?f=8&t=29505 Mayhap it could be made an option adjustable in the Script Editor section of the Preferences? Richmond. On 7/17/17 10:59 am, hh via use-livecode wrote: >> Panos M. wrote: >> Script Editor: Support for auto completion of square bracket `[`, >> parenthesis `(` or double quote `"` is now added. > After writing a long script I really like this feature and miss it > already in LC 8.1.6. > > I wonder what's the reason to leave out braces "{}" (may be needed for > connecting to LCB) and single quotes (good for writing an already quoted > javascript string)? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 17 04:18:23 2017 From: hh at hyperhh.de (hh) Date: Mon, 17 Jul 2017 10:18:23 +0200 Subject: intersect . . . invisible images Message-ID: <561427BC-E713-410B-A31B-D49094B0332D@hyperhh.de> > Richmond M. wrote: > That's because Richmond doesn't share your sense of humour, > and never really could understand North American jokes . . . As I read this thread (as a non-native speaker), none of the jokes was against you as person. And mine was based on a very old forum thread connected to a sock in the sense of the irish "seven drunken nights". Some of the misunderstanding may be due to the fact that you, being a linguist, are deeper in the meaning of some wording and phrasing than others. At any rate: Sorry from me. From richmondmathewson at gmail.com Mon Jul 17 04:47:48 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 17 Jul 2017 11:47:48 +0300 Subject: intersect . . . invisible images In-Reply-To: <561427BC-E713-410B-A31B-D49094B0332D@hyperhh.de> References: <561427BC-E713-410B-A31B-D49094B0332D@hyperhh.de> Message-ID: <948245c9-6356-5d59-f051-560560565606@gmail.com> You have NOTHING to apologise for: I never thought the jokes were against me (which they weren't); although, to be honest, I only wear 2 socks when I'm wearing my kilt, although, right now, as it is high summer here in Bulgaria, I am wearing my kilt with NO socks, just a pair of open-toed sandals . . . What I stated was " . . . doesn't share your sense of humour", and you, as a non-native speaker must be very well aware of how culturally dependent jokes are. Here in Bulgaria, although I speak Bulgarian reasonably well, I tend to avoid attempting jokes as they always misfire, or people laugh politely and I am filled with self-doubt. My wife, who is Bulgarian, and I have been married for some 26 years, and she still does not find most of my jokes funny; even those that have my people in stitches with laughter. She finds my black humour actively offensive . . . . . . let's try a wee experiment: ----- Trauma Alert: potentially highly offensive joke approaching: if you are of a sensitive disposition go and feed the cat ------ I went to see a friend of mine who is the secretary of the local bicyclists club. He told me that his wife had died, and because he had no money to pay for her to be buried in a graveyard he'd buried her in the garden. He then took me into the garden to see his wife's grave. Her bare bottom was sticking up out of the ground. I asked him why this was. He replied that he needed somewhere to park his bike. ------ You can come back now ----- Now I was told that by my older son, Alexander, who stays in Munich. He found it very funny, as did his Music Professor (who told it to him) who is German. My wife found it foul and tasteless (well, it IS tasteless). ------ Re: intersect . . . invisible images ------ Very many people, moving to another country INTERSECT with various aspects of the culture of the new country they are in, and are unaware of the INVISIBLE components until they suffer the hard knocks. Moving from Scotland to England, or the other way round, there's probably a blendLevel of about 25% Between Britain and Canada/USA a blendLevel of about 50% Between all those countries and the Islamic world about 90% (this, in case we are aware of the terrible consequences). Having worked in 17 countries with a variety of overlapping and non-overlapping cultural tropes experience teaches me to be 100% opaque at all times. ------------ Anyway, people have been making jokes on this Use-List at my expense for ages; but my ego is so big I just bathe in the light of attention :) Love, Richmond. On 7/17/17 11:18 am, hh via use-livecode wrote: >> Richmond M. wrote: >> That's because Richmond doesn't share your sense of humour, >> and never really could understand North American jokes . . . > As I read this thread (as a non-native speaker), none of the jokes > was against you as person. And mine was based on a very old forum > thread connected to a sock in the sense of the irish "seven drunken > nights". > > Some of the misunderstanding may be due to the fact that you, being > a linguist, are deeper in the meaning of some wording and phrasing > than others. > > At any rate: Sorry from 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 merakosp at gmail.com Mon Jul 17 05:05:14 2017 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 17 Jul 2017 10:05:14 +0100 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: References: Message-ID: @Hermann I am not sure if "{}" were left out on purpose or not, I'll ask Monte. However, if you want to add them, you have to: 0. Open the script of an object (needed for loading the SE behaviors 1. Type in the msg box: edit the script of stack "com.livecode.scripteditor.behavior.editorcommon" at 2968 2. Add the lines case "{" put "}" into tCompletionChar 3. Click Apply Note: If you want the changes to be saved permanently you either have to change the permissions of the LC .app bundle (currently they are read-only), OR open this file (Toolset/palettes/script editor/behaviors/revsecommoneditorbehavior.livecodescript ) with an external Text editor as admin and save those changes. @Richmond >>>>>Mayhap it could be made an option adjustable in the Script Editor section of the Preferences? Yes, this will make everyone happy, although I personally find this feature *really* useful. Best, Panos -- On Mon, Jul 17, 2017 at 8:59 AM, hh via use-livecode < use-livecode at lists.runrev.com> wrote: > > Panos M. wrote: > > Script Editor: Support for auto completion of square bracket `[`, > > parenthesis `(` or double quote `"` is now added. > > After writing a long script I really like this feature and miss it > already in LC 8.1.6. > > I wonder what's the reason to leave out braces "{}" (may be needed for > connecting to LCB) and single quotes (good for writing an already quoted > javascript string)? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iphonelagi at gmail.com Mon Jul 17 05:13:09 2017 From: iphonelagi at gmail.com (Lagi Pittas) Date: Mon, 17 Jul 2017 10:13:09 +0100 Subject: intersect . . . invisible images In-Reply-To: <948245c9-6356-5d59-f051-560560565606@gmail.com> References: <561427BC-E713-410B-A31B-D49094B0332D@hyperhh.de> <948245c9-6356-5d59-f051-560560565606@gmail.com> Message-ID: Hi, I Didn't laugh or smile at that (not because it wasn't funny) but because it didn't have the same effect as when as a teenager I first heard it on the Parkinson show in the mid 70s from Billy Connolly. I just went onto youtube and guess what I still laughed at the original which is very different (more morbid) except for the punchline It also has to do with the "infectious laughter" of the audience. You laugh louder in the Cinema than when at home watching the same film by yourself - The Black Knight in Monty Python & the Holy Grail anyone? Here is the original in all its glory (?) https://www.youtube.com/watch?v=Slw08b3bHFE Regards Lagi On 17 July 2017 at 09:47, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > You have NOTHING to apologise for: > > I never thought the jokes were against me (which they weren't); > although, to be honest, I only wear 2 socks when I'm wearing my kilt, > although, right now, as it is high summer here in Bulgaria, I am wearing > my kilt > with NO socks, just a pair of open-toed sandals . . . > > What I stated was " . . . doesn't share your sense of humour", > and you, as a non-native speaker must be very well aware of how > culturally dependent jokes are. > > Here in Bulgaria, although I speak Bulgarian reasonably well, > I tend to avoid attempting jokes as they always misfire, or people > laugh politely and I am filled with self-doubt. > > My wife, who is Bulgarian, and I have been married for some 26 years, > and she still does not find most of my jokes funny; even those that have > my people in stitches with laughter. She finds my black humour > actively offensive . . . > > . . . let's try a wee experiment: > > ----- Trauma Alert: potentially highly offensive joke approaching: if you > are of a sensitive > disposition go and feed the cat ------ > > I went to see a friend of mine who is the secretary of the local > bicyclists club. > He told me that his wife had died, and because he had no money to pay for > her to be buried in a graveyard he'd buried her in the garden. > > He then took me into the garden to see his wife's grave. Her bare bottom > was sticking > up out of the ground. I asked him why this was. > > He replied that he needed somewhere to park his bike. > > ------ You can come back now ----- > > Now I was told that by my older son, Alexander, who stays in Munich. > He found it very funny, as did his Music Professor (who told it to him) > who is German. > > My wife found it foul and tasteless (well, it IS tasteless). > > ------ Re: intersect . . . invisible images ------ > > Very many people, moving to another country INTERSECT with various > aspects of the culture of the new country they are in, and are unaware > of the INVISIBLE components until they suffer the hard knocks. > > Moving from Scotland to England, or the other way round, there's probably > a blendLevel of about 25% > > Between Britain and Canada/USA a blendLevel of about 50% > > Between all those countries and the Islamic world about 90% (this, in case > we are aware of the terrible consequences). > > Having worked in 17 countries with a variety of overlapping and > non-overlapping cultural tropes > experience teaches me to be 100% opaque at all times. > > ------------ > > Anyway, people have been making jokes on this Use-List at my expense for > ages; but my ego > is so big I just bathe in the light of attention :) > > Love, Richmond. > > On 7/17/17 11:18 am, hh via use-livecode wrote: > >> Richmond M. wrote: >>> That's because Richmond doesn't share your sense of humour, >>> and never really could understand North American jokes . . . >>> >> As I read this thread (as a non-native speaker), none of the jokes >> was against you as person. And mine was based on a very old forum >> thread connected to a sock in the sense of the irish "seven drunken >> nights". >> >> Some of the misunderstanding may be due to the fact that you, being >> a linguist, are deeper in the meaning of some wording and phrasing >> than others. >> >> At any rate: Sorry from me. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Mon Jul 17 06:26:14 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 17 Jul 2017 13:26:14 +0300 Subject: intersect . . . invisible images In-Reply-To: References: <561427BC-E713-410B-A31B-D49094B0332D@hyperhh.de> <948245c9-6356-5d59-f051-560560565606@gmail.com> Message-ID: <7af11c48-eaa3-db3f-8789-1b9a64647d35@gmail.com> Thank you very much indeed: although I will NOT show that to the teenagers here. Richmond. On 7/17/17 12:13 pm, Lagi Pittas via use-livecode wrote: > Hi, > > > I Didn't laugh or smile at that (not because it wasn't funny) but because > it didn't have the same effect as when as a teenager I first heard it on > the Parkinson show in the mid 70s from Billy Connolly. > > I just went onto youtube and guess what I still laughed at the original > which is very different (more morbid) except for the punchline > > It also has to do with the "infectious laughter" of the audience. You laugh > louder in the Cinema than when at home watching the same film by yourself - > The Black Knight in Monty Python & the Holy Grail anyone? > > Here is the original in all its glory (?) > > https://www.youtube.com/watch?v=Slw08b3bHFE > > Regards Lagi > > On 17 July 2017 at 09:47, Richmond Mathewson via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> You have NOTHING to apologise for: >> >> I never thought the jokes were against me (which they weren't); >> although, to be honest, I only wear 2 socks when I'm wearing my kilt, >> although, right now, as it is high summer here in Bulgaria, I am wearing >> my kilt >> with NO socks, just a pair of open-toed sandals . . . >> >> What I stated was " . . . doesn't share your sense of humour", >> and you, as a non-native speaker must be very well aware of how >> culturally dependent jokes are. >> >> Here in Bulgaria, although I speak Bulgarian reasonably well, >> I tend to avoid attempting jokes as they always misfire, or people >> laugh politely and I am filled with self-doubt. >> >> My wife, who is Bulgarian, and I have been married for some 26 years, >> and she still does not find most of my jokes funny; even those that have >> my people in stitches with laughter. She finds my black humour >> actively offensive . . . >> >> . . . let's try a wee experiment: >> >> ----- Trauma Alert: potentially highly offensive joke approaching: if you >> are of a sensitive >> disposition go and feed the cat ------ >> >> I went to see a friend of mine who is the secretary of the local >> bicyclists club. >> He told me that his wife had died, and because he had no money to pay for >> her to be buried in a graveyard he'd buried her in the garden. >> >> He then took me into the garden to see his wife's grave. Her bare bottom >> was sticking >> up out of the ground. I asked him why this was. >> >> He replied that he needed somewhere to park his bike. >> >> ------ You can come back now ----- >> >> Now I was told that by my older son, Alexander, who stays in Munich. >> He found it very funny, as did his Music Professor (who told it to him) >> who is German. >> >> My wife found it foul and tasteless (well, it IS tasteless). >> >> ------ Re: intersect . . . invisible images ------ >> >> Very many people, moving to another country INTERSECT with various >> aspects of the culture of the new country they are in, and are unaware >> of the INVISIBLE components until they suffer the hard knocks. >> >> Moving from Scotland to England, or the other way round, there's probably >> a blendLevel of about 25% >> >> Between Britain and Canada/USA a blendLevel of about 50% >> >> Between all those countries and the Islamic world about 90% (this, in case >> we are aware of the terrible consequences). >> >> Having worked in 17 countries with a variety of overlapping and >> non-overlapping cultural tropes >> experience teaches me to be 100% opaque at all times. >> >> ------------ >> >> Anyway, people have been making jokes on this Use-List at my expense for >> ages; but my ego >> is so big I just bathe in the light of attention :) >> >> Love, Richmond. >> >> On 7/17/17 11:18 am, hh via use-livecode wrote: >> >>> Richmond M. wrote: >>>> That's because Richmond doesn't share your sense of humour, >>>> and never really could understand North American jokes . . . >>>> >>> As I read this thread (as a non-native speaker), none of the jokes >>> was against you as person. And mine was based on a very old forum >>> thread connected to a sock in the sense of the irish "seven drunken >>> nights". >>> >>> Some of the misunderstanding may be due to the fact that you, being >>> a linguist, are deeper in the meaning of some wording and phrasing >>> than others. >>> >>> At any rate: Sorry from me. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Jul 17 06:26:41 2017 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 17 Jul 2017 06:26:41 -0400 Subject: intersect . . . invisible images In-Reply-To: References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> Message-ID: On Jul 14, 2017 6:01 AM, "Richmond Mathewson via use-livecode" < use-livecode at lists.runrev.com> wrote: > > It does seem illogical that while one can set levels of transparency with interset > an image can continue intersecting with another when it is, supposedly, invisible . . . > > Certainly, having to explain THAT to children is going to make them take an even > more dim view of adults than I hope they do already. > > Best, Richmond. > An invisible image is like the wind. When you intersect with it, you can feel it and know it's there. Adding dust particles to the wind is like setting it's visible property to true. ~Roger From richmondmathewson at gmail.com Mon Jul 17 06:28:10 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 17 Jul 2017 13:28:10 +0300 Subject: intersect . . . invisible images In-Reply-To: References: <5bfb9c15c8a0bfc59feb73977ebd74b9@livecode.com> Message-ID: <89dc2c4d-ffa0-dcad-7cdd-ec3454804209@gmail.com> That's very powerful imagery; Thanks. Richmond. On 7/17/17 1:26 pm, Roger Eller via use-livecode wrote: > On Jul 14, 2017 6:01 AM, "Richmond Mathewson via use-livecode" < > use-livecode at lists.runrev.com> wrote: >> It does seem illogical that while one can set levels of transparency with > interset >> an image can continue intersecting with another when it is, supposedly, > invisible . . . >> Certainly, having to explain THAT to children is going to make them take > an even >> more dim view of adults than I hope they do already. >> >> Best, Richmond. >> > An invisible image is like the wind. When you intersect with it, you can > feel it and know it's there. Adding dust particles to the wind is like > setting it's visible property to true. > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Mon Jul 17 06:41:25 2017 From: mark at livecode.com (Mark Waddingham) Date: Mon, 17 Jul 2017 12:41:25 +0200 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: References: Message-ID: On 2017-07-17 11:05, panagiotis merakos via use-livecode wrote: > @Hermann > > I am not sure if "{}" were left out on purpose or not, I'll ask Monte. > However, if you want to add them, you have to: On Purpose. '{' is not a valid LCS bracket - so it shouldn't be appear outside of strings. Similarly, single-quote isn't a valid LCS token - so it shouldn't appear outside of strings. Indeed, bracket completion has to ignore content of strings otherwise you can't write stuff like: put ( ")" & "'" ) & ( "'" ) into tVar Without funky things happening. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jbv at souslelogo.com Mon Jul 17 06:55:19 2017 From: jbv at souslelogo.com (jbv) Date: Mon, 17 Jul 2017 12:55:19 +0200 Subject: Livecode server, timeout and processes Message-ID: Hello forum A few days ago I ran into a severe problem with livecode server. A subtil and unexpected change in the way one of my clients inputs data via his app caused an endless loop to appear in one of the LC scripts on the server, which lead to a 504 Gateway Timeout error. As this script is called during a login procedure, it triggered pretty quickly a kind of chain reaction with many side effects : - many 504 Gateway Timeout errors in browsers - many 500 Internal server errors - huge slow down of the server - emails not sent/nor received in webmails - several other services unavailable due to server slowdown... All these problems were caused by the accumulation of livecode server processes on the server that kept running even if timeout errors were issued. As the source of the problem took a few hours to track down and to fix, we (on-rev support and I) had to kill dozens of processes manually to avoid any server crash. I know this might sound amateuristic to most of you, but nevertheless I was wondering if there is any way to prevent something like that, like for instance having all timedout processes to be killed automatically, or even better : avoiding any endless loop in the first place... Thanks in advance. jbv From panos.merakos at livecode.com Mon Jul 17 07:24:11 2017 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 17 Jul 2017 12:24:11 +0100 Subject: [ANN] This Week in LiveCode 91 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 #91 here: https://goo.gl/kWftcT 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 jonathandlynch at gmail.com Mon Jul 17 06:41:44 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Mon, 17 Jul 2017 06:41:44 -0400 Subject: Correct img format for browser widget. In-Reply-To: <03DF8DD5-B680-40FF-913B-CA849713092F@thehales.id.au> References: <03DF8DD5-B680-40FF-913B-CA849713092F@thehales.id.au> Message-ID: <78550F16-0BBB-4946-A48E-AEFF93066E75@gmail.com> It sounds like the dataURL method costs about a tenth of a second per image, for moderately large images. I had never tested that, but it's good to know. For my purposes right now, that is not an issue, but it could be for plenty of situations. Sent from my iPhone > On Jul 16, 2017, at 11:42 PM, James Hale via use-livecode wrote: > > Thank you so much Hermann and Jonathan > > It took me a little time but I worked out what to do after looking at your suggestions. > > The fact that setting the htmltext of the browser widget breaks the img URL's makes sense from a security and logical point of view. > > I then tried Jonathan's technique of using the image data. > This worked a treat but for some files was quite slow on my larger files. > e.g. one html had 200 images. It took some 20 secs for the browser to load. > > So I thought I would try Hermann's later suggesting of just saving the file as an html and setting the URL of the browser to it. > The conversion from markdown left the img tags in the correct format for a browser to locate the files. > > After finding Trevor's function for correctly URL encoding the file name I was able to successfully load the files into the browser widget and display the images. > The 200 image file loaded in less than a second which was good. > > The final issue was the varying width of the images. > I simply loaded an array keyed on the file names with a single value, image width. > I didn't want any widths greater than 800 pixels so a simply if statement set all widths > 800 to 800 > Then a simple replace loop using the image size array "gimagescale"... > repeat for each key ikey in gimagescale > > replace ikey"e&" " with ikey"e&" width = ""e&gimagescale[ikey]"e in nfile > > end repeat > > and the img tags were in a format I wanted. > > Loading into the browser widget was fast and the images all fitted in the browser's width. > > Setting the htmltext of a field was my first choice. But the html of the converted markdown docs was more than LC's htmltext function could handle. > And to be honest, the browser's rendering looked better. > Had the html been simpler, using a field would have been just as fast. > > Anyway, my issue is resolved. > > Thank you both again for your help. > > 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 jonathandlynch at gmail.com Mon Jul 17 08:00:48 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Mon, 17 Jul 2017 08:00:48 -0400 Subject: LiveCode crashing when I try to make a Mac standalone In-Reply-To: References: Message-ID: <9AE90A9E-0CB5-423B-9F0A-1208264E2C19@gmail.com> Thank you Panos Sent from my iPhone > On Jul 14, 2017, at 7:07 AM, panagiotis merakos via use-livecode wrote: > > Hi Jonathan, > > You could: > > 1. Type in the message box: "put true into grevdevelopment" > 2. And then "edit the script of stack revsaveasstandalone" > 3. Add breakpoints to the command "revSaveAsMacStandalone" > 4. Save as standalone > 5. The debugger should now stop at the first breakpoint > 6. Click the "step over" button until you find the line that causes the > crash > > However, since LC should not crash, I would suggest you file a bug report > and attach (or send to panos.merakos at livecode.com directly) the sample stack > > Best regards, > Panos > -- > > On Fri, Jul 14, 2017 at 11:44 AM, Jonathan Lynch via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I have tried this with 8.1.5 rc2, 8.1.5, and 8.1.6 rc1. >> >> LiveCode unexpectedly quits while making the standalone. Sometimes it gets >> far enough for the resulting app to function and sometimes it does not. The >> resulting app does not appear to have the icon attached. >> >> What are some things I should be checking for? >> >> Sent from my iPhone >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Mon Jul 17 08:00:53 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Mon, 17 Jul 2017 08:00:53 -0400 Subject: Correct img format for browser widget. In-Reply-To: <03DF8DD5-B680-40FF-913B-CA849713092F@thehales.id.au> References: <03DF8DD5-B680-40FF-913B-CA849713092F@thehales.id.au> Message-ID: Hi James, Just a quick note - you can set the max-width of images in CSS. That will limit their size with just one line. Sent from my iPhone > On Jul 16, 2017, at 11:42 PM, James Hale via use-livecode wrote: > > Thank you so much Hermann and Jonathan > > It took me a little time but I worked out what to do after looking at your suggestions. > > The fact that setting the htmltext of the browser widget breaks the img URL's makes sense from a security and logical point of view. > > I then tried Jonathan's technique of using the image data. > This worked a treat but for some files was quite slow on my larger files. > e.g. one html had 200 images. It took some 20 secs for the browser to load. > > So I thought I would try Hermann's later suggesting of just saving the file as an html and setting the URL of the browser to it. > The conversion from markdown left the img tags in the correct format for a browser to locate the files. > > After finding Trevor's function for correctly URL encoding the file name I was able to successfully load the files into the browser widget and display the images. > The 200 image file loaded in less than a second which was good. > > The final issue was the varying width of the images. > I simply loaded an array keyed on the file names with a single value, image width. > I didn't want any widths greater than 800 pixels so a simply if statement set all widths > 800 to 800 > Then a simple replace loop using the image size array "gimagescale"... > repeat for each key ikey in gimagescale > > replace ikey"e&" " with ikey"e&" width = ""e&gimagescale[ikey]"e in nfile > > end repeat > > and the img tags were in a format I wanted. > > Loading into the browser widget was fast and the images all fitted in the browser's width. > > Setting the htmltext of a field was my first choice. But the html of the converted markdown docs was more than LC's htmltext function could handle. > And to be honest, the browser's rendering looked better. > Had the html been simpler, using a field would have been just as fast. > > Anyway, my issue is resolved. > > Thank you both again for your help. > > 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 hh at hyperhh.de Mon Jul 17 08:33:18 2017 From: hh at hyperhh.de (hh) Date: Mon, 17 Jul 2017 14:33:18 +0200 Subject: [ANN] Release 9.0.0 DP-8 Message-ID: > Mark Waddingham wrote: > On 2017-07-17 11:05, panagiotis merakos via use-livecode wrote: > > @Hermann > > I am not sure if "{}" were left out on purpose or not, I'll ask Monte. > > However, if you want to add them, you have to: > > On Purpose. '{' is not a valid LCS bracket - so it shouldn't be appear > outside of strings. > Similarly, single-quote isn't a valid LCS token - so it shouldn't appear > outside of strings. > Indeed, bracket completion has to ignore content of strings otherwise > you can't write stuff like: > put ( ")" & "'" ) & ( "'" ) into tVar > Without funky things happening. Accepted that it's not there, of course. But honestly, what I don't understand in your argumentation is: Code completion doesn't force "{" or "'" to be outside of a string!? Isn't this more a thing of editing only than of debugging/compiling? The current completions occur also while I am typing inside of a string... > single-quote isn't a valid LCS token - so it shouldn't appear outside > of strings The following compiles ;-) on shouldn'tYouNotAppear? answer "Just for fun: No." end shouldn'tYouNotAppear? From mark at livecode.com Mon Jul 17 09:36:57 2017 From: mark at livecode.com (Mark Waddingham) Date: Mon, 17 Jul 2017 15:36:57 +0200 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: References: Message-ID: <48038da9d14605861caa183213163d88@livecode.com> On 2017-07-17 14:33, hh via use-livecode wrote: > Isn't this more a thing of editing only than of debugging/compiling? > The current completions occur also while I am typing inside of a > string.. Okay, so having just read the form thread as well... There are two things here: 1) Bracket highlighting 2) Bracket completion They should both be preferences. Secondly, both should really only function on 'real' tokens which are part of script (hence why '{' isn't appropriate at this time for it to function on). If you are typing a string or a comment then it shouldn't trigger completion nor highlighting. This is actually quite hard to get right efficiently (indeed, a lot of editors don't get this right, so I end up turning such features off). > on shouldn'tYouNotAppear? > answer "Just for fun: No." > end shouldn'tYouNotAppear? Heh - well ' was a bad example - its something we'd prefer wasn't allowed in identifiers as it means the token cannot be used for anything else (e.g. this stack's textColor). Similarly, the fact that '.' is also allowed in identifiers means that it could never be an operator (e.g. tRect.x). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From james at thehales.id.au Mon Jul 17 10:40:04 2017 From: james at thehales.id.au (james at thehales.id.au) Date: Tue, 18 Jul 2017 00:40:04 +1000 Subject: Correct img format for browser widget. In-Reply-To: References: <03DF8DD5-B680-40FF-913B-CA849713092F@thehales.id.au> Message-ID: Hi Jonathan, Cool. Works a treat and no need for array. Using a percentage also means I can allow the browser widget to be resized. Very cool. James On 17 Jul 2017, at 22:00, jonathandlynch at gmail.com wrote: > Just a quick note - you can set the max-width of images in CSS. That will limit their size with just one line. From ambassador at fourthworld.com Mon Jul 17 12:00:46 2017 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Jul 2017 09:00:46 -0700 Subject: Livecode server, timeout and processes In-Reply-To: References: Message-ID: <88bd262c-38c3-ae34-1e7e-3b2b15f86cbd@fourthworld.com> jbv wrote: > A few days ago I ran into a severe problem with livecode server. > A subtil and unexpected change in the way one of my clients inputs > data via his app caused an endless loop to appear in one of the LC > scripts on the server, which lead to a 504 Gateway Timeout error. > As this script is called during a login procedure, it triggered > pretty quickly a kind of chain reaction with many side effects : > - many 504 Gateway Timeout errors in browsers > - many 500 Internal server errors > - huge slow down of the server > - emails not sent/nor received in webmails > - several other services unavailable due to server slowdown... > > All these problems were caused by the accumulation of livecode > server processes on the server that kept running even if timeout > errors were issued. > As the source of the problem took a few hours to track down and > to fix, we (on-rev support and I) had to kill dozens of processes > manually to avoid any server crash. > > I know this might sound amateuristic to most of you, but nevertheless > I was wondering if there is any way to prevent something like that, > like for instance having all timedout processes to be killed > automatically, or even better : avoiding any endless loop in the first > place... Without seeing the code it won't be possible to offer suggestions on prevention. As for remedies, SSH is a must for server management. I believe on-rev offers SSH access on request. Once you have direct access to the machine you can monitor processes and kill any errant ones. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ahsoftware at sonic.net Mon Jul 17 12:39:16 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 17 Jul 2017 09:39:16 -0700 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: References: Message-ID: On 07/17/2017 03:41 AM, Mark Waddingham via use-livecode wrote: > Indeed, bracket completion has to ignore content of strings otherwise > you can't write stuff like: > > put ( ")" & "'" ) & ( "'" ) into tVar > > Without funky things happening. ...and with good reason. I can't think why I would *ever* write that. If I had to do something that daft I'd write it as put ")''" into tVar but I would hope the occasion would never arise. -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Mon Jul 17 12:42:21 2017 From: mark at livecode.com (Mark Waddingham) Date: Mon, 17 Jul 2017 18:42:21 +0200 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: References: Message-ID: <9811f8a526bf534e412277121562c87f@livecode.com> On 2017-07-17 18:39, Mark Wieder via use-livecode wrote: > On 07/17/2017 03:41 AM, Mark Waddingham via use-livecode wrote: > >> Indeed, bracket completion has to ignore content of strings otherwise >> you can't write stuff like: >> >> put ( ")" & "'" ) & ( "'" ) into tVar >> >> Without funky things happening. > > ...and with good reason. I can't think why I would *ever* write that. > If I had to do something that daft I'd write it as > > put ")''" into tVar > > but I would hope the occasion would never arise. Indeed - it is a bit of tortuous example... However cases of double quotes, single-quotes, un-balanced brackets, braces and parentheses all occur in various domains - most notably anything which processes or generates source-code. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ahsoftware at sonic.net Mon Jul 17 12:46:11 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 17 Jul 2017 09:46:11 -0700 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: References: Message-ID: <5deefb56-4ece-8167-7643-410e54c8bb84@sonic.net> On 07/17/2017 03:41 AM, Mark Waddingham via use-livecode wrote: > On Purpose. '{' is not a valid LCS bracket - so it shouldn't be appear > outside of strings. I would find "{}" completion *inside* strings very useful in generating json key:value pairs. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Mon Jul 17 12:49:37 2017 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 17 Jul 2017 09:49:37 -0700 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: References: Message-ID: <1c150655-18cf-7b42-48de-a390a08342be@sonic.net> On 07/17/2017 05:33 AM, hh via use-livecode wrote: > The following compiles ;-) > > on shouldn'tYouNotAppear? > answer "Just for fun: No." > end shouldn'tYouNotAppear? I *do* use "?" trailers in the ruby sense for functions that return boolean values. But double negatives? Eek! -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Mon Jul 17 13:52:42 2017 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Jul 2017 12:52:42 -0500 Subject: intersect . . . invisible images In-Reply-To: <5f26f1c4-256f-bd6a-4be8-7c95a4b78984@gmail.com> References: <91FA18F3-43C7-4222-9C6F-66E3341D06BB@hyperhh.de> <5f26f1c4-256f-bd6a-4be8-7c95a4b78984@gmail.com> Message-ID: <82e52d4c-5db2-360f-13f8-8777d326d7d7@hyperactivesw.com> On 7/17/17 2:56 AM, Richmond Mathewson via use-livecode wrote: > That's because Richmond doesn't share your sense of humour, > and never really could understand North American jokes . . . In this case it's probably because you were either an infant or mostly just potential when the Twilight Zone series first aired. You are also at a disadvantage because it was American TV and I'm not sure if or when it was shown elsewhere. "Little Girl Lost" involved a child that disappeared into another dimension through an invisible portal in her bedroom wall: There are links on YouTube too. It wasn't my favorite episode but it's one of the classics. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Mon Jul 17 15:29:17 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Jul 2017 12:29:17 -0700 Subject: postgres table query not getting all names In-Reply-To: <33C9E769-85D0-4087-86C2-D02960989594@iotecdigital.com> References: <73af8e55-051e-2d0a-2ab9-a192a27dbac0@sonic.net> <33C9E769-85D0-4087-86C2-D02960989594@iotecdigital.com> Message-ID: On Sun, Jul 16, 2017 at 12:25 PM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > If there is a built in function for getting the schema of the particular > database, I would use that. For instance you can query sqLite master > database for a list of tables using: > That's where I started, but getTableNames() frequently missed tables. Adding my own query ws a self-defense. I don't remember whether I reported this and the mothership couldn't reproduce, or whether it clearly couldn't be reproduced. Iirc, it only affected postgres, and that my own function uses getTableNames() for mySQL There is no possibility of allowing access to my database; confidential information from far too many people. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Mon Jul 17 15:36:18 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 17 Jul 2017 22:36:18 +0300 Subject: intersect . . . invisible images In-Reply-To: <82e52d4c-5db2-360f-13f8-8777d326d7d7@hyperactivesw.com> References: <91FA18F3-43C7-4222-9C6F-66E3341D06BB@hyperhh.de> <5f26f1c4-256f-bd6a-4be8-7c95a4b78984@gmail.com> <82e52d4c-5db2-360f-13f8-8777d326d7d7@hyperactivesw.com> Message-ID: <1d024c6b-157f-f32b-f48b-4e873039e986@gmail.com> My parents got a TV when I was 9 (1971), but, because they were educational and social snobs did not allow me to watch anything except "nice" children's programmes on the BBC (one of the presenters later went to prison for paedophilia). I did not really get into TV until, oddly enough, I was shipped off to boarding school where I encountered all the cheap American series such as 'Planet of the Apes' (the series - which I now own on DVD), "Alias Smith and Jones" and that one with Telly Savalas sucking a lollipop, Oh, and, inevitably "Mission Impossible". Plus loads of cowboy stuff. These gave me an incredibly distorted view of American culture (as it did to many school kids brought up inwith the British Isles in the 1970s) which was not completely wiped away by 3 years in Carbondale, Illinois (with a few side trips to Pennsylvania and Connecticut). My "high spot" was when I met a Sin-Eater in the Ozarks, in Arkansas. One thing it did not do was tell me anything about an American sense of humour. After all the series all seemed to consist of John Wayne knock-offs walking around as if they had filled their underpants, men dressed up as odd-looking chimpanzees, or Peter Graves watching tape-recorders disappear in puffs of smoke in the backs of sleazy head shops. Actually, in Britain we had our own sort of 'Twilight Zone', also called 'The 1970s' when nothing worked, 90% of everyone was on constant strike because the Labour Party couldn't keep the Unions happy, and we had electricity cuts (Unions), the "Work to Rule" rubbish and so on. After the 'Twilight Zone" we had "The Woman in The Blue Suit" who was neither better nor worse, only very, very different. Then we had "The Man with No Face" . . . by which time I'd b*ggered off to more interesting places such as Egypt, Sweden, Israel, the UAE, and just post-Commie Bulgaria. However, I have watched 'ALF' at various times dubbed into 7 languages; but never in the original. Not forgetting "Mein namen is Herr Bond." Richmond. On 7/17/17 8:52 pm, J. Landman Gay via use-livecode wrote: > On 7/17/17 2:56 AM, Richmond Mathewson via use-livecode wrote: >> That's because Richmond doesn't share your sense of humour, >> and never really could understand North American jokes . . . > > In this case it's probably because you were either an infant or mostly > just potential when the Twilight Zone series first aired. You are also > at a disadvantage because it was American TV and I'm not sure if or > when it was shown elsewhere. > > "Little Girl Lost" involved a child that disappeared into another > dimension through an invisible portal in her bedroom wall: > > > > There are links on YouTube too. It wasn't my favorite episode but it's > one of the classics. > From monte at appisle.net Mon Jul 17 17:25:18 2017 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Jul 2017 07:25:18 +1000 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: <48038da9d14605861caa183213163d88@livecode.com> References: <48038da9d14605861caa183213163d88@livecode.com> Message-ID: <7838E279-A4E9-47EA-87BA-0B644B4AEB65@appisle.net> > On 17 Jul 2017, at 11:36 pm, Mark Waddingham via use-livecode wrote: > > Okay, so having just read the form thread as well... > > There are two things here: > > 1) Bracket highlighting > > 2) Bracket completion > > They should both be preferences. > > Secondly, both should really only function on 'real' tokens which are part of script (hence why '{' isn't appropriate at this time for it to function on). If you are typing a string or a comment then it shouldn't trigger completion nor highlighting. This is actually quite hard to get right efficiently (indeed, a lot of editors don't get this right, so I end up turning such features off). Actually it?s quite helpful within strings. Consider a string to be used with the merge function or just the likelihood of wanting a pair of brackets in a string rather than a single one. As for quotes as they are not valid within a string if you are typing one it?s highly likely you want two and to concatenate something between. For example: put ?foo baz? ? come along later and edit to put ?foo? && tBar && ?baz? There is already an autocomplete preference which the bracket completion and control structure completion checks but it?s currently not exposed in the IDE UI. Do we want fine grained control over which parts of autocompletion we want active? That could be confusing. Bracket highlighting does need a color pref? I guess if this is empty it could turn it off entirely if people want that. Cheers Monte From bogdanoff at me.com Mon Jul 17 17:40:59 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 17 Jul 2017 14:40:59 -0700 Subject: Find some text characters Message-ID: Is there a easy way to do this?: Given this htmlText that may contain Chinese characters and/or some horizontal tabs? 大胆的强 I want to know if this data contains Chinese characters, that is an entity with 5 numbers between the ?#? and the ?;? Only data containing 5 numbers between the ?#? and the ?;? would return true. Having ONLY " ? but not the other would return false. Thanks for suggestions! Peter Bogdanoff From dochawk at gmail.com Mon Jul 17 17:57:51 2017 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Jul 2017 14:57:51 -0700 Subject: intersect . . . invisible images In-Reply-To: <1d024c6b-157f-f32b-f48b-4e873039e986@gmail.com> References: <91FA18F3-43C7-4222-9C6F-66E3341D06BB@hyperhh.de> <5f26f1c4-256f-bd6a-4be8-7c95a4b78984@gmail.com> <82e52d4c-5db2-360f-13f8-8777d326d7d7@hyperactivesw.com> <1d024c6b-157f-f32b-f48b-4e873039e986@gmail.com> Message-ID: On Mon, Jul 17, 2017 at 12:36 PM, Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > > These gave me an incredibly distorted view of American culture . . . > > After all the series all seemed to consist of John Wayne knock-offs > walking around > as if they had filled their underpants, men dressed up as odd-looking > chimpanzees, > or Peter Graves watching tape-recorders disappear in puffs of smoke in the > backs of sleazy head shops. > What nonsense--we don't walk around looking as if our draws were just filled! Unless, that is, we were standing too close to one of the participants at the daily high noon gunfight on main street, and got our whiskers trimmed . . . (and you've also tripped across the reason we invented CDs--it wasn't about audio; we just got tired of buying new tape players each week . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jonathandlynch at gmail.com Mon Jul 17 17:59:25 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Mon, 17 Jul 2017 17:59:25 -0400 Subject: Find some text characters In-Reply-To: References: Message-ID: <98B925AF-ED8E-4AEB-98E8-27C7F153AF07@gmail.com> If the number of chars in tItem = 8 then... You always have three extra chars, so that should be right. If you need an itemdelimiter, use "&" and check if the number of chars in each item = 7 Sent from my iPhone > On Jul 17, 2017, at 5:40 PM, Peter Bogdanoff via use-livecode wrote: > > Is there a easy way to do this?: > > Given this htmlText that may contain Chinese characters and/or some horizontal tabs? > > 大胆的强 > > I want to know if this data contains Chinese characters, that is an entity with 5 numbers between the ?#? and the ?;? > > Only data containing 5 numbers between the ?#? and the ?;? would return true. Having ONLY " ? but not the other would return false. > > Thanks for suggestions! > > Peter Bogdanoff > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Bernd.Niggemann at uni-wh.de Mon Jul 17 18:20:57 2017 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Mon, 17 Jul 2017 22:20:57 +0000 Subject: Find some text characters Message-ID: Given this htmlText that may contain Chinese characters and/or some horizontal tabs? 大胆的强 I want to know if this data contains Chinese characters, that is an entity with 5 numbers between the ?#? and the ?;? according to google-translate this means "bold and strong" maybe this is a way? set the htmlText of field 1 to "

大胆的强

" put the number of truewords of field 1 into field 2 set the itemDelimiter to tab put cr & the number of items of field 1 after field 2 still doesn't tell you if is numbers or not though Kind regards Bernd From jonathandlynch at gmail.com Mon Jul 17 18:33:26 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Mon, 17 Jul 2017 18:33:26 -0400 Subject: Find some text characters In-Reply-To: References: Message-ID: Could replace tab with empty first, if the tabs do not matter in the final product I imagine LC provides many ways to do this :) Sent from my iPhone > On Jul 17, 2017, at 6:20 PM, Niggemann, Bernd via use-livecode wrote: > > > Given this htmlText that may contain Chinese characters and/or some horizontal > tabs? > > 大胆的强 > > I want to know if this data contains Chinese characters, that is an entity with > 5 numbers between the ?#? and the ?;? > > > > > according to google-translate this means "bold and strong" > > maybe this is a way? > > > set the htmlText of field 1 to "

大胆的强

" > > put the number of truewords of field 1 into field 2 > > set the itemDelimiter to tab > > put cr & the number of items of field 1 after field 2 > > still doesn't tell you if is numbers or not though > > Kind regards > Bernd > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 17 18:45:16 2017 From: dunbarx at aol.com (dunbarx) Date: Mon, 17 Jul 2017 15:45:16 -0700 (PDT) Subject: Find some text characters In-Reply-To: References: Message-ID: <1500331516034-4717143.post@n4.nabble.com> This cries out for regex. Thierry? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Find-some-text-characters-tp4717138p4717143.html Sent from the Revolution - User mailing list archive at Nabble.com. From jonathandlynch at gmail.com Mon Jul 17 19:50:44 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Mon, 17 Jul 2017 19:50:44 -0400 Subject: Find some text characters In-Reply-To: <1500331516034-4717143.post@n4.nabble.com> References: <1500331516034-4717143.post@n4.nabble.com> Message-ID: Another way, just for fun Put empty into tnums Repeat for each char tchar in tstring If isnumber(tchar) = true then Put tchar after tnums Else if tnums <> empty then If the number of chars in tnums = 5 then Put tnums & linefeed after tnumlist End if Put empty into tnums End if End repeat This should give a list of all 5 number sets Sent from my iPhone > On Jul 17, 2017, at 6:45 PM, dunbarx via use-livecode wrote: > > This cries out for regex. > > Thierry? > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Find-some-text-characters-tp4717138p4717143.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Mon Jul 17 19:59:45 2017 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Mon, 17 Jul 2017 19:59:45 -0400 Subject: Find some text characters In-Reply-To: References: <1500331516034-4717143.post@n4.nabble.com> Message-ID: <12EFAFCC-D760-490F-A839-3A40FAD94571@gmail.com> Another way... just playing around Replace tab with empty in tstring Replace ";" with empty in tstring Replace "#" with empty in tstring Replace "&" with linefeed in tstring Repeat for each line tLine in tstring If the number of chars in tLine = 5 then Put tLine and linefeed after tList End if End repeat Delete char -1 of tList Sent from my iPhone > On Jul 17, 2017, at 7:50 PM, jonathandlynch at gmail.com wrote: > > Another way, just for fun > > Put empty into tnums > Repeat for each char tchar in tstring > > If isnumber(tchar) = true then > Put tchar after tnums > Else if tnums <> empty then > If the number of chars in tnums = 5 then > Put tnums & linefeed after tnumlist > End if > Put empty into tnums > End if > End repeat > > This should give a list of all 5 number sets > > Sent from my iPhone > >> On Jul 17, 2017, at 6:45 PM, dunbarx via use-livecode wrote: >> >> This cries out for regex. >> >> Thierry? >> >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Find-some-text-characters-tp4717138p4717143.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Mon Jul 17 21:53:22 2017 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 18 Jul 2017 03:53:22 +0200 Subject: Find some text characters In-Reply-To: References: Message-ID: 2017-07-17 23:40 GMT+02:00 Peter Bogdanoff via use-livecode < use-livecode at lists.runrev.com>: > Is there a easy way to do this?: > > Given this htmlText that may contain Chinese characters and/or some > horizontal tabs? > > 大胆的强 > > I want to know if this data contains Chinese characters, that is an entity > with 5 numbers between the ?#? and the ?;? > > Only data containing 5 numbers between the ?#? and the ?;? would return > true. Having ONLY " ? but not the other would return false. > > Thanks for suggestions! > > Peter Bogdanoff > > ?Hi Peter, ? ?Mmm, not sure you'll get *only* Chinese characters, but at least any entity with only 5 numbers. This function returns true if find any, false otherwise: ? function testForChinese T ?xt? ? -- any htmltext? return matchText( ?Txt , "&#\d{5};") end testForChinese ?Regards, Thierry? -- ------------------------------------------------ Thierry Douez - sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From jiml at netrin.com Mon Jul 17 21:58:11 2017 From: jiml at netrin.com (Jim Lambert) Date: Mon, 17 Jul 2017 18:58:11 -0700 Subject: intersect . . . invisible images References: Message-ID: <79DF7D91-0E18-4978-95B7-FD0D42511F24@netrin.com> > Richmond wrote: > > all the cheap American series... Oh, and, inevitably "Mission Impossible?. Yesterday the actor Martin Landau, who appeared in that show, died at the age of 89. Jim Lambert From th.douez at gmail.com Mon Jul 17 23:54:27 2017 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 18 Jul 2017 05:54:27 +0200 Subject: Find some text characters In-Reply-To: References: Message-ID: 2017-07-18 3:53 GMT+02:00 Thierry Douez : > >> I want to know if this data contains Chinese characters >> >> Thanks for suggestions! >> >> Peter Bogdanoff >> >> > ?Hi Peter, > ?Ok, back after my second morning coffee :) A better way to check for Chinese code points would be something like that (not tested and never used myself) : function testForChinese utf8Text return matchText( utf8Text, "\p{Han}") end testForChinese Of course, it won't work with htmlText, but straight with the text of a field, assuming it's coded in UTF8 !!! HTH, Thierry ? > ? > ?Mmm, not sure you'll get *only* Chinese characters, > but at least any entity with only 5 numbers. > > This function returns true if find any, false otherwise: > ? > function testForChinese T > ?xt? > ? -- any htmltext? > return matchText( > ?Txt > , "&#\d{5};") > end testForChinese > > ?Regards, > > Thierry? > -- ------------------------------------------------ Thierry Douez - sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From bogdanoff at me.com Tue Jul 18 00:31:15 2017 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 17 Jul 2017 21:31:15 -0700 Subject: Find some text characters In-Reply-To: References: Message-ID: <67E722A4-B4B5-476E-9749-A3C8BB2A2FD9@me.com> Thierry, I ended up using your first Regex example?works great! It is very good to know about \p{} matches?everything from Arabic to Yi. That may come in handy later. Thanks, Peter > On Jul 17, 2017, at 8:54 PM, Thierry Douez via use-livecode wrote: > > 2017-07-18 3:53 GMT+02:00 Thierry Douez : > >> >>> I want to know if this data contains Chinese characters >>> >>> Thanks for suggestions! >>> >>> Peter Bogdanoff >>> >>> >> ?Hi Peter, >> > > > ?Ok, back after my second morning coffee :) > > A better way to check for Chinese code points would be > something like that (not tested and never used myself) : > > > function testForChinese utf8Text > return matchText( utf8Text, "\p{Han}") > end testForChinese > > Of course, it won't work with htmlText, but straight with > the text of a field, assuming it's coded in UTF8 !!! > > > HTH, > > Thierry > ? > >> ? >> ?Mmm, not sure you'll get *only* Chinese characters, >> but at least any entity with only 5 numbers. >> >> This function returns true if find any, false otherwise: >> ? >> function testForChinese T >> ?xt? >> ? -- any htmltext? >> return matchText( >> ?Txt >> , "&#\d{5};") >> end testForChinese >> >> ?Regards, >> >> Thierry? >> > > > -- > ------------------------------------------------ > Thierry Douez - sunny-tdz.com > sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Tue Jul 18 00:43:12 2017 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 18 Jul 2017 06:43:12 +0200 Subject: Find some text characters In-Reply-To: <67E722A4-B4B5-476E-9749-A3C8BB2A2FD9@me.com> References: <67E722A4-B4B5-476E-9749-A3C8BB2A2FD9@me.com> Message-ID: 2017-07-18 6:31 GMT+02:00 Peter Bogdanoff via use-livecode < use-livecode at lists.runrev.com>: > Thierry, I ended up using your first Regex example?works great! > > It is very good to know about \p{} matches?everything from Arabic to Yi. That may come in handy later. > > Thanks, > > Peter > > ?Glad that you like it :) ? > >> function testForChinese T > >> ?xt? > >> ? -- any htmltext? > >> return matchText( > >> ?Txt > >> , "&#\d{5};") > >> end testForChinese > ?funny way to re-organize my 3 lines of code ??? Might be a Opera thing ??? should be read as: function testForChinese Txt return matchText( Txt, "&#\d{5};" ) end testForChinese -- ------------------------------------------------ Thierry Douez - sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From richmondmathewson at gmail.com Tue Jul 18 03:41:03 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 18 Jul 2017 10:41:03 +0300 Subject: intersect . . . invisible images In-Reply-To: <79DF7D91-0E18-4978-95B7-FD0D42511F24@netrin.com> References: <79DF7D91-0E18-4978-95B7-FD0D42511F24@netrin.com> Message-ID: I remember him as particularly good as Geppetto in a film of Pinocchio. Richmond. On 7/18/17 4:58 am, Jim Lambert via use-livecode wrote: >> Richmond wrote: >> >> all the cheap American series... Oh, and, inevitably "Mission Impossible?. > Yesterday the actor Martin Landau, who appeared in that show, died at the age of 89. > > Jim Lambert > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Tue Jul 18 03:59:11 2017 From: mark at livecode.com (Mark Waddingham) Date: Tue, 18 Jul 2017 09:59:11 +0200 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: <7838E279-A4E9-47EA-87BA-0B644B4AEB65@appisle.net> References: <48038da9d14605861caa183213163d88@livecode.com> <7838E279-A4E9-47EA-87BA-0B644B4AEB65@appisle.net> Message-ID: On 2017-07-17 23:25, Monte Goulding via use-livecode wrote: > Actually it?s quite helpful within strings. Consider a string to be > used with the merge function or just the likelihood of wanting a pair > of brackets in a string rather than a single one. As for quotes as > they are not valid within a string if you are typing one it?s highly > likely you want two and to concatenate something between. For example: > > put ?foo baz? > ? come along later and edit to > put ?foo? && tBar && ?baz? > > There is already an autocomplete preference which the bracket > completion and control structure completion checks but it?s currently > not exposed in the IDE UI. Do we want fine grained control over which > parts of autocompletion we want active? That could be confusing. > > Bracket highlighting does need a color pref? I guess if this is empty > it could turn it off entirely if people want that. I think it is worth having a preference for both highlighting and completion - it serves people's individual tastes, and as long as the preference is discoverable then it won't add any complexity. Ideally highlighting would be context aware - so outside of a string, it highlights other brackets outside of strings; but when in a string it highlights brackets in strings: put (1 "a(2" & tVar ")2" )1 after tFoo (Numbers used to indicate matching pairs) I was thinking in terms of syntactically - missing the point of in-string highlighting (as HH and Mark Wieder pointed out). Indeed, the current approach is an approximation to the ideal and adding { and } to highlighting wouldn't do any harm; and would serve the use-case of JSON and similar generation. In terms of ' then, for much the same reason that would probably be useful - although that might require a bit more work on the highlighting code as it isn't a matched pair (@montegoulding?). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From monte at appisle.net Tue Jul 18 04:17:39 2017 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Jul 2017 18:17:39 +1000 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: References: <48038da9d14605861caa183213163d88@livecode.com> <7838E279-A4E9-47EA-87BA-0B644B4AEB65@appisle.net> Message-ID: <1D9E9E58-C81A-423D-84FC-A6513E5E3CB1@appisle.net> > On 18 Jul 2017, at 5:59 pm, Mark Waddingham via use-livecode wrote: > > I think it is worth having a preference for both highlighting and completion - it serves people's individual tastes, and as long as the preference is discoverable then it won't add any complexity. OK, I?ll open a report about those > > Ideally highlighting would be context aware - so outside of a string, it highlights other brackets outside of strings; but when in a string it highlights brackets in strings: > > put (1 "a(2" & tVar ")2" )1 after tFoo > > (Numbers used to indicate matching pairs) I think it doesn?t currently do what you are suggesting but in the case above it does what you want anyway ;-) > > I was thinking in terms of syntactically - missing the point of in-string highlighting (as HH and Mark Wieder pointed out). > > Indeed, the current approach is an approximation to the ideal and adding { and } to highlighting wouldn't do any harm; and would serve the use-case of JSON and similar generation. > > In terms of ' then, for much the same reason that would probably be useful - although that might require a bit more work on the highlighting code as it isn't a matched pair (@montegoulding?). Should be the same as quote so not a big issue if it?s helpful. Cheers Monte From selander at tkf.att.ne.jp Tue Jul 18 04:38:49 2017 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 18 Jul 2017 17:38:49 +0900 Subject: Sending an FTP command from one web server to another? Message-ID: <596DC919.7050901@tkf.att.ne.jp> Hi, My company gave up on hosting our email and website at on-rev.com back when they were having lots of reliability problems. We're using a host in Japan; no LC server installed, nor is it installable. I still have our Founder's account on on-rev.com, and use quite a few .lc scripts, calling them from iframes in web pages hosted on the new host. Our radio programs' mp3 files are stored on the new host. I want one of my scripts on on-rev.com to get the directory listing of the mp3 files on the new host. The ftp command from LC tutorials works fine from LC desktop (Community edition, Mac) to get the filelist: put url "ftp://user:pass at domain.com/folder/" into myVariable Put when I call it from the server .lc script on on-rev, the result is: error Failed to connect to gmoserver.jp port 21: Connection refused (gmoserver.jp is our new host here in Japan.) Any ideas why the connection would be refused when coming from on-rev, but not LC desktop? Anyways around this? Thanks in advance. Tim Selander Tokyo, Japan From richmondmathewson at gmail.com Tue Jul 18 05:19:04 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 18 Jul 2017 12:19:04 +0300 Subject: Exposing ourselves Message-ID: <07dca8a6-a17e-1f0a-c03d-4fcbd85fa594@gmail.com> "it?s currently not exposed in the IDE UI" 1. How can we work out what features are "latent" in LiveCode but are hidden? 2. How can we 'hack' the IDE to expose any of those features we may find useful? Richmond. From monte at appisle.net Tue Jul 18 05:48:53 2017 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Jul 2017 19:48:53 +1000 Subject: Exposing ourselves In-Reply-To: <07dca8a6-a17e-1f0a-c03d-4fcbd85fa594@gmail.com> References: <07dca8a6-a17e-1f0a-c03d-4fcbd85fa594@gmail.com> Message-ID: <2D83B0A6-0340-4F9D-8C8B-B1FF67096871@appisle.net> > On 18 Jul 2017, at 7:19 pm, Richmond Mathewson via use-livecode wrote: > > "it?s currently not exposed in the IDE UI" > > 1. How can we work out what features are "latent" in LiveCode but are hidden? > > 2. How can we 'hack' the IDE to expose any of those features we may find useful? https://github.com/livecode/livecode-ide From richmondmathewson at gmail.com Tue Jul 18 05:50:31 2017 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 18 Jul 2017 12:50:31 +0300 Subject: Exposing ourselves In-Reply-To: <2D83B0A6-0340-4F9D-8C8B-B1FF67096871@appisle.net> References: <07dca8a6-a17e-1f0a-c03d-4fcbd85fa594@gmail.com> <2D83B0A6-0340-4F9D-8C8B-B1FF67096871@appisle.net> Message-ID: That is rather an opaque answer. Richmond. On 7/18/17 12:48 pm, Monte Goulding via use-livecode wrote: >> On 18 Jul 2017, at 7:19 pm, Richmond Mathewson via use-livecode wrote: >> >> "it?s currently not exposed in the IDE UI" >> >> 1. How can we work out what features are "latent" in LiveCode but are hidden? >> >> 2. How can we 'hack' the IDE to expose any of those features we may find useful? > https://github.com/livecode/livecode-ide > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Jul 18 06:12:53 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 18 Jul 2017 12:12:53 +0200 Subject: Sending an FTP command from one web server to another? In-Reply-To: <596DC919.7050901@tkf.att.ne.jp> References: <596DC919.7050901@tkf.att.ne.jp> Message-ID: <636E97A1-9C49-41F0-B1FE-7C95ABC07CF9@m-r-d.de> Do you have ssh access for your on-rev account? If not, ask support to enable it for you. Try to use ftp from the commandline, just to see if gmoserver.jp accepts that connection. If that also doesn?t work, then i would assume that your server is blocking the incoming connection from on-rev. If that works, then livecode server seems to have a problem with ftp outgoing connections. Matthias Matthias Rebbe +49 5741 310000 ?matthiasrebbe.eu ? > Am 18.07.2017 um 10:38 schrieb Tim Selander via use-livecode >: > > Hi, > > My company gave up on hosting our email and website at on-rev.com back when they were having lots of reliability problems. We're using a host in Japan; no LC server installed, nor is it installable. > > I still have our Founder's account on on-rev.com , and use quite a few .lc scripts, calling them from iframes in web pages hosted on the new host. > > Our radio programs' mp3 files are stored on the new host. I want one of my scripts on on-rev.com to get the directory listing of the mp3 files on the new host. The ftp command from LC tutorials works fine from LC desktop (Community edition, Mac) to get the filelist: > put url "ftp://user:pass at domain.com/folder/ " into myVariable > > Put when I call it from the server .lc script on on-rev, the result is: > error Failed to connect to gmoserver.jp port 21: Connection refused > > (gmoserver.jp is our new host here in Japan.) > > Any ideas why the connection would be refused when coming from on-rev, but not LC desktop? Anyways around this? > > Thanks in advance. > > Tim Selander > Tokyo, Japan > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From selander at tkf.att.ne.jp Tue Jul 18 06:50:29 2017 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 18 Jul 2017 19:50:29 +0900 Subject: Sending an FTP command from one web server to another? In-Reply-To: <636E97A1-9C49-41F0-B1FE-7C95ABC07CF9@m-r-d.de> References: <596DC919.7050901@tkf.att.ne.jp> <636E97A1-9C49-41F0-B1FE-7C95ABC07CF9@m-r-d.de> Message-ID: <596DE7F5.5080000@tkf.att.ne.jp> Hi Matthias, Good idea. I just sent support an email asking to have ssh activated! I'll post again with results! Tim Selander Tokyo, Japan On 2017.07.18, 19:12, Matthias Rebbe via use-livecode wrote: > Do you have ssh access for your on-rev account? If not, ask support to enable it for you. > > Try to use ftp from the commandline, just to see if gmoserver.jp accepts that connection. If that also doesn?t work, then i would assume that your server is blocking the incoming connection from on-rev. If that works, then livecode server seems to have a problem with ftp outgoing connections. > > Matthias > Matthias Rebbe > +49 5741 310000 > ?matthiasrebbe.eu ? > >> Am 18.07.2017 um 10:38 schrieb Tim Selander via use-livecode >: >> >> Hi, >> >> My company gave up on hosting our email and website at on-rev.com back when they were having lots of reliability problems. We're using a host in Japan; no LC server installed, nor is it installable. >> >> I still have our Founder's account on on-rev.com , and use quite a few .lc scripts, calling them from iframes in web pages hosted on the new host. >> >> Our radio programs' mp3 files are stored on the new host. I want one of my scripts on on-rev.com to get the directory listing of the mp3 files on the new host. The ftp command from LC tutorials works fine from LC desktop (Community edition, Mac) to get the filelist: >> put url "ftp://user:pass at domain.com/folder/ " into myVariable >> >> Put when I call it from the server .lc script on on-rev, the result is: >> error Failed to connect to gmoserver.jp port 21: Connection refused >> >> (gmoserver.jp is our new host here in Japan.) >> >> Any ideas why the connection would be refused when coming from on-rev, but not LC desktop? Anyways around this? >> >> Thanks in advance. >> >> Tim Selander >> Tokyo, Japan >> From matthias_livecode_150811 at m-r-d.de Tue Jul 18 07:34:15 2017 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 18 Jul 2017 13:34:15 +0200 Subject: Sending an FTP command from one web server to another? In-Reply-To: <596DE7F5.5080000@tkf.att.ne.jp> References: <596DC919.7050901@tkf.att.ne.jp> <636E97A1-9C49-41F0-B1FE-7C95ABC07CF9@m-r-d.de> <596DE7F5.5080000@tkf.att.ne.jp> Message-ID: <371DE521-ADE1-46EE-8667-4854AFC55CE4@m-r-d.de> Hi Tim, i had some time during lunch and made a quick test on my on-rev account at the Jasmine server. I am able to list the files of a non on-rev server without problems using livecode server. Jasmine runs version 7.1.0 of lc server. Regards, Matthias Matthias Rebbe +49 5741 310000 ?matthiasrebbe.eu ? > Am 18.07.2017 um 12:50 schrieb Tim Selander via use-livecode >: > > Hi Matthias, > > Good idea. I just sent support an email asking to have ssh activated! > > I'll post again with results! > > Tim Selander > Tokyo, Japan > > On 2017.07.18, 19:12, Matthias Rebbe via use-livecode wrote: >> Do you have ssh access for your on-rev account? If not, ask support to enable it for you. >> >> Try to use ftp from the commandline, just to see if gmoserver.jp > accepts that connection. If that also doesn?t work, then i would assume that your server is blocking the incoming connection from on-rev. If that works, then livecode server seems to have a problem with ftp outgoing connections. >> >> Matthias >> Matthias Rebbe >> +49 5741 310000 >> ?matthiasrebbe.eu >? >> >>> Am 18.07.2017 um 10:38 schrieb Tim Selander via use-livecode >>: >>> >>> Hi, >>> >>> My company gave up on hosting our email and website at on-rev.com > back when they were having lots of reliability problems. We're using a host in Japan; no LC server installed, nor is it installable. >>> >>> I still have our Founder's account on on-rev.com >, and use quite a few .lc scripts, calling them from iframes in web pages hosted on the new host. >>> >>> Our radio programs' mp3 files are stored on the new host. I want one of my scripts on on-rev.com > to get the directory listing of the mp3 files on the new host. The ftp command from LC tutorials works fine from LC desktop (Community edition, Mac) to get the filelist: >>> put url "ftp://user:pass at domain.com/folder/ >" into myVariable >>> >>> Put when I call it from the server .lc script on on-rev, the result is: >>> error Failed to connect to gmoserver.jp > port 21: Connection refused >>> >>> (gmoserver.jp > is our new host here in Japan.) >>> >>> Any ideas why the connection would be refused when coming from on-rev, but not LC desktop? Anyways around this? >>> >>> Thanks in advance. >>> >>> Tim Selander >>> Tokyo, Japan >>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From selander at tkf.att.ne.jp Tue Jul 18 08:57:33 2017 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 18 Jul 2017 21:57:33 +0900 Subject: Sending an FTP command from one web server to another? In-Reply-To: <636E97A1-9C49-41F0-B1FE-7C95ABC07CF9@m-r-d.de> References: <596DC919.7050901@tkf.att.ne.jp> <636E97A1-9C49-41F0-B1FE-7C95ABC07CF9@m-r-d.de> Message-ID: <596E05BD.4030304@tkf.att.ne.jp> Hi again, Reporting back for.... RevRun support was very quick at activating ssh on my account -- thanks! However, using ftp from the commandline to gmoserver.jp resulted in the same message: connection refused OK, time to take a new tack on the problem! Thanks for the tip, Matthias. Tim Selander Tokyo, Japan On 2017.07.18, 19:12, Matthias Rebbe via use-livecode wrote: > Do you have ssh access for your on-rev account? If not, ask support to enable it for you. > > Try to use ftp from the commandline, just to see if gmoserver.jp accepts that connection. If that also doesn?t work, then i would assume that your server is blocking the incoming connection from on-rev. If that works, then livecode server seems to have a problem with ftp outgoing connections. > > Matthias > Matthias Rebbe > +49 5741 310000 > ?matthiasrebbe.eu ? > >> Am 18.07.2017 um 10:38 schrieb Tim Selander via use-livecode >: >> >> Hi, >> >> My company gave up on hosting our email and website at on-rev.com back when they were having lots of reliability problems. We're using a host in Japan; no LC server installed, nor is it installable. >> >> I still have our Founder's account on on-rev.com , and use quite a few .lc scripts, calling them from iframes in web pages hosted on the new host. >> >> Our radio programs' mp3 files are stored on the new host. I want one of my scripts on on-rev.com to get the directory listing of the mp3 files on the new host. The ftp command from LC tutorials works fine from LC desktop (Community edition, Mac) to get the filelist: >> put url "ftp://user:pass at domain.com/folder/ " into myVariable >> >> Put when I call it from the server .lc script on on-rev, the result is: >> error Failed to connect to gmoserver.jp port 21: Connection refused >> >> (gmoserver.jp is our new host here in Japan.) >> >> Any ideas why the connection would be refused when coming from on-rev, but not LC desktop? Anyways around this? >> >> Thanks in advance. >> >> Tim Selander >> Tokyo, Japan >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From beofonemind at gmail.com Tue Jul 18 09:11:37 2017 From: beofonemind at gmail.com (Tom Glod) Date: Tue, 18 Jul 2017 09:11:37 -0400 Subject: Weird variable thing in 8.1.5 In-Reply-To: References: <4D5B69D9-40BA-4AED-9449-B6BA1736F729@gmail.com> <044501d2fe5a$ffb6fda0$ff24f8e0$@themartinz.com> <530893D4-DA54-4C6F-A17B-F659ECCC7A87@gmail.com> Message-ID: I can't imagine the number of hours I would lose without having that option on. I have about 50000 lines of code if not more..... So maybe I need it more than most people. On Jul 16, 2017 3:38 PM, "Alex Tweedly via use-livecode" < use-livecode at lists.runrev.com> wrote: > > > On 16/07/2017 18:49, Jonathan Lynch via use-livecode wrote: > >> >> In 14 years with LC I have never used that option. >> >> >> You should try it :-) > > Can be a bit of a pain to add all the local variable declarations - BUT > every so often it will help you discover a typo in a variable name, and > suddenly you've fixed a potential bug that was lurking in your code. And > the cost of the time to add those declarations is nothing compared to > diagnosing and fixing bugs reported by distant users. > > -- Alex. > P.S. of course, YMMV. > My taping skulls are bid, so I often spill thongs wring - maybe you don't > hive that problem :-) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From selander at tkf.att.ne.jp Tue Jul 18 09:26:26 2017 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 18 Jul 2017 22:26:26 +0900 Subject: Sending an FTP command from one web server to another? In-Reply-To: <371DE521-ADE1-46EE-8667-4854AFC55CE4@m-r-d.de> References: <596DC919.7050901@tkf.att.ne.jp> <636E97A1-9C49-41F0-B1FE-7C95ABC07CF9@m-r-d.de> <596DE7F5.5080000@tkf.att.ne.jp> <371DE521-ADE1-46EE-8667-4854AFC55CE4@m-r-d.de> Message-ID: <596E0C82.2070703@tkf.att.ne.jp> Hi again Matthias, I remembered I was given an ftp account on a colleague's server awhile back -- tried that and got access with both LC server and via ssh on sage.on-rev. So gmoserver.jp is blocking access from sage.on-rev somehow... Back to the drawing board. Thanks for your time and input. Tim On 2017.07.18, 20:34, Matthias Rebbe via use-livecode wrote: > Hi Tim, > > i had some time during lunch and made a quick test on my on-rev account at the Jasmine server. > I am able to list the files of a non on-rev server without problems using livecode server. Jasmine runs version 7.1.0 of lc server. > > Regards, > Matthias > > > > Matthias Rebbe > +49 5741 310000 > ?matthiasrebbe.eu ? > >> Am 18.07.2017 um 12:50 schrieb Tim Selander via use-livecode >: >> >> Hi Matthias, >> >> Good idea. I just sent support an email asking to have ssh activated! >> >> I'll post again with results! >> >> Tim Selander >> Tokyo, Japan >> >> On 2017.07.18, 19:12, Matthias Rebbe via use-livecode wrote: >>> Do you have ssh access for your on-rev account? If not, ask support to enable it for you. >>> >>> Try to use ftp from the commandline, just to see if gmoserver.jp > accepts that connection. If that also doesn?t work, then i would assume that your server is blocking the incoming connection from on-rev. If that works, then livecode server seems to have a problem with ftp outgoing connections. >>> >>> Matthias >>> Matthias Rebbe >>> +49 5741 310000 >>> ?matthiasrebbe.eu >? >>> >>>> Am 18.07.2017 um 10:38 schrieb Tim Selander via use-livecode >>: >>>> >>>> Hi, >>>> >>>> My company gave up on hosting our email and website at on-rev.com > back when they were having lots of reliability problems. We're using a host in Japan; no LC server installed, nor is it installable. >>>> >>>> I still have our Founder's account on on-rev.com >, and use quite a few .lc scripts, calling them from iframes in web pages hosted on the new host. >>>> >>>> Our radio programs' mp3 files are stored on the new host. I want one of my scripts on on-rev.com > to get the directory listing of the mp3 files on the new host. The ftp command from LC tutorials works fine from LC desktop (Community edition, Mac) to get the filelist: >>>> put url "ftp://user:pass at domain.com/folder/ >" into myVariable >>>> >>>> Put when I call it from the server .lc script on on-rev, the result is: >>>> error Failed to connect to gmoserver.jp > port 21: Connection refused >>>> >>>> (gmoserver.jp > is our new host here in Japan.) >>>> >>>> Any ideas why the connection would be refused when coming from on-rev, but not LC desktop? Anyways around this? >>>> >>>> Thanks in advance. >>>> >>>> Tim Selander >>>> Tokyo, Japan >>>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bob at bobhall.net Tue Jul 18 09:38:30 2017 From: bob at bobhall.net (Bob Hall) Date: Tue, 18 Jul 2017 09:38:30 -0400 Subject: Exposing ourselves In-Reply-To: References: <07dca8a6-a17e-1f0a-c03d-4fcbd85fa594@gmail.com> <2D83B0A6-0340-4F9D-8C8B-B1FF67096871@appisle.net> Message-ID: <939B6965-A977-48E3-B25A-6786FCBE0D77@bobhall.net> It?s is very possible to create a plugin that customizes the IDE/Script Editor to your likely. I have a startup script that modifies many of the settings and applies ?bug" fixes to the IDE/Script Editor when my Dev environment opens. ?Bug? fixes are things that either are truly a bug in the IDE (real or my opinion) or I just don?t care for the UX that Livecode provided out of the box. I also use a couple of IDE/SE enhancers provided by fellow Livecoders. It?s very cool that I am able to modify my dev environment to my liking down to the menu items or wha'ts in a window in the App. Now back to the crux of the problem. There is very limited documentation (besides the source code) on how to edit the IDE/Script Editor or how one might use the APIs in the IDE/Script Editor. This seems to me to be the perfect type of project led by the Community. Personally I?d envision a simple markdown based repository on Github. Maybe if there?s a need to get all fancy it could be either a Gitbook or mkdocs based repository. If we wanted to go overboard maybe a stack with a doc reader in it so it?s available in the IDE??? I don?t think there needs to be too much structure. Maybe just a defined Chapter/sub-chapter structure and place where anyone can edit/post to. Thoughts? Bob Hall From rdimola at evergreeninfo.net Tue Jul 18 09:41:47 2017 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 18 Jul 2017 09:41:47 -0400 Subject: Android Full Screen Browser. In-Reply-To: <596E0C82.2070703@tkf.att.ne.jp> References: <596DC919.7050901@tkf.att.ne.jp> <636E97A1-9C49-41F0-B1FE-7C95ABC07CF9@m-r-d.de> <596DE7F5.5080000@tkf.att.ne.jp> <371DE521-ADE1-46EE-8667-4854AFC55CE4@m-r-d.de> <596E0C82.2070703@tkf.att.ne.jp> Message-ID: <001f01d2ffcb$9a8dbd70$cfa93850$@net> My Current project is implementing epubjs to view EBooks on mobile using the browser control. There is a "full screen" option in the epubjs tool bar. I clicked it and figured What could it do? I made the browser control a specific size so this button is worthless. On iOS it does nothing but on Android Nougat it actually goes full screen! The browser control gets resized to the full card obscuring my LC controls in headers, footers and a side bar. I like it. This enables one to use the full real-estate of the device without "intenting" out to another app. The exit full screen button then resizes the browser window back to the size and where I had it via LCS when the card started. SO... I will dig into the java and see what is doing this. Being able to go full screen using java in an LC browser is a very desirable feature. I wish it also worked on iOS. I will report when I find out how epubjs is doing this. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From bob at bobhall.net Tue Jul 18 09:46:44 2017 From: bob at bobhall.net (Bob Hall) Date: Tue, 18 Jul 2017 09:46:44 -0400 Subject: [ANN] Release 9.0.0 DP-8 In-Reply-To: <1D9E9E58-C81A-423D-84FC-A6513E5E3CB1@appisle.net> References: <48038da9d14605861caa183213163d88@livecode.com> <7838E279-A4E9-47EA-87BA-0B644B4AEB65@appisle.net> <1D9E9E58-C81A-423D-84FC-A6513E5E3CB1@appisle.net> Message-ID: <2F9F6560-F292-4A4F-92C7-44C11B1764DC@bobhall.net> I?ve had the completion capability on my local dev environment for a couple of years via a plugin that I wrote. I wrestled with these same problems years ago. I actually find that it is benefitial to have BOTH completion and no completion. Having a setting to change this is combersome. It is an on-the-fly desire. So here?s how I solved the problem in my IDE startup script? Hold down the option key and you get completion. no option key, no completion. If you?d like to try this on your own, put this into a plugin that loads this into the frontscript. Don?t use LC 9dp8 though as you won?t get the non-option key effect of the pairings... Bob /* * auto complete common pairings with