From richmondmathewson at gmail.com Mon Feb 1 04:21:01 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 1 Feb 2016 11:21:01 +0200 Subject: Richmond gets into drag In-Reply-To: <8698F4C8-673E-4D56-B13C-8596163CC99D@livecode.org> References: <8698F4C8-673E-4D56-B13C-8596163CC99D@livecode.org> Message-ID: <56AF237D.5090406@gmail.com> Well, that got your attention! So: I'm getting bogged down with a stack with a custom windowShape that I want to drag around my screen with grab-handles . . . So: In drag with grab-handles . . . . AND then I'm trying to work out a resize button. Richmond. From hh at livecode.org Mon Feb 1 04:53:13 2016 From: hh at livecode.org (-hh) Date: Mon, 1 Feb 2016 10:53:13 +0100 Subject: Richmond gets into drag Message-ID: Richmond, 1. Can you "click through" the transparency to desktop on Linux? I couldn't manage that (what works on Mac/Win). 2. Be aware of a nasty resize problem with Linux + LC6. When you are done you could compare with a solution that's fast enough for Raspi (runs also, faster, on newer MacOS X, Win7-10, newer Ubuntu): Shaped RaspiStack #2 http://forums.livecode.com/viewtopic.php?f=76&t=26397 and please tell us your improvements. Hermann From klaus at major-k.de Mon Feb 1 05:20:19 2016 From: klaus at major-k.de (Klaus major-k) Date: Mon, 1 Feb 2016 11:20:19 +0100 Subject: LC 8, new pushbuttons In-Reply-To: <1454283361527-4700593.post@n4.nabble.com> References: <94F6D5BA-B814-4417-9D60-B087F2BC1E48@major-k.de> <1454283361527-4700593.post@n4.nabble.com> Message-ID: Hi Bernd, > Am 01.02.2016 um 00:36 schrieb BNig : > > Hi Klaus, > > I don't see a way for the push button, maybe they will add this later, if I fill out an enhancement request!? > but maybe you could use a navigation > bar with just one item. > It fires on mouseDown though and you have to fake the hilite/unhilite > because it does not unhilite. > > You could use this script to experiment in the script of the navigation bar > widget called "nBar", > ---------------------------------- > local sNavHiliteColor = "0,121,255" > > on navigate > set the navHiliteColor of widget "nBar" to sNavHiliteColor > put "navigate" && the milliseconds into field "fRes" > set the selectedItem of widget "nBar" to 2 > put the navHiliteColor of widget "nBar" into line 2 of field "fRes" > send "resetColor" to me in 0 milliseconds > end navigate > > on resetColor > if the mouse is down then > send resetColor to me in 30 milliseconds > else > set the navHiliteColor of widget "nBar" to "120,120,120" > end if > end resetColor > ??????????????? will try this, thank you very much! > Kind regards > Bernd Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Mon Feb 1 05:05:42 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 1 Feb 2016 12:05:42 +0200 Subject: Richmond gets into drag In-Reply-To: References: Message-ID: <56AF2DF6.9030607@gmail.com> On 1.02.2016 11:53, [-hh] wrote: > Richmond, > > 1. Can you "click through" the transparency to desktop on Linux? I couldn't manage that (what works on Mac/Win). I've just tried that, and, no, I cannot. > 2. Be aware of a nasty resize problem with Linux + LC6. I'm using LC 7.1 (abandoned LC 6 when the stable version of 7.0 became available). > > When you are done you could compare with a solution that's fast enough for Raspi (runs also, faster, on newer MacOS X, Win7-10, newer Ubuntu): I'm not having a problem with my funny window shapes; what I am having a problem with is how to drag my funny shape and resize the underlying stack. > > Shaped RaspiStack #2 > http://forums.livecode.com/viewtopic.php?f=76&t=26397 Back on the above this evening. > > and please tell us your improvements. > > Hermann > _______________________________________________ > Richmond. From peter.brett at livecode.com Mon Feb 1 06:16:22 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 1 Feb 2016 11:16:22 +0000 Subject: [ANN] This Week in LiveCode 18 Message-ID: <56AF3E86.8060107@livecode.com> 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 #18 here: https://goo.gl/BA22ye 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! Are you doing something interesting with LiveCode Community Edition? Please get in touch and get it featured in "This Week in LiveCode"! Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From klaus at major-k.de Mon Feb 1 07:47:57 2016 From: klaus at major-k.de (Klaus major-k) Date: Mon, 1 Feb 2016 13:47:57 +0100 Subject: LC 8, new pushbuttons In-Reply-To: References: <94F6D5BA-B814-4417-9D60-B087F2BC1E48@major-k.de> <1454283361527-4700593.post@n4.nabble.com> Message-ID: <9AB5AF77-2821-4822-9414-E15DCB166D3E@major-k.de> Hi all, > Am 01.02.2016 um 11:20 schrieb Klaus major-k : > Hi Bernd, >> Am 01.02.2016 um 00:36 schrieb BNig : >> Hi Klaus, >> I don't see a way for the push button, > maybe they will add this later, if I fill out an enhancement request!? and feature requested: Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From brahma at hindu.org Mon Feb 1 11:58:14 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 1 Feb 2016 16:58:14 +0000 Subject: Ken Burn's Effect Library for Livecode In-Reply-To: References: Message-ID: On January 31, 2016 at 1:09:32 PM, Scott Rossi (scott at tactilemedia.com) wrote: My *untested* opinion is that getting an actual Ken Burns effect natively in LC is going to be difficult, if not impossible. It would be great to see someone pull this off. But to accomplish the actual slow/smooth 60fps motion of the effect, I think you'd be better off using a browser object along with a jquery/Javascript slider to move your images around -- there are dozens of libraries/plugins out there. I?m actually getting quite reasonable results using AnimationEngine?s aeScaleRect. It?s not as smooth as we might like in professional video context, but it works in an 1200X900 stack here and also in my iPhone, actually better on my iPHone 6+ ? I will post a link again to the stack in a few days? It?s a whole new world for me after years with my head buried in text/data/web code processes. So code is probably worst possible practices, but it works. iPad mini performance? not so good? I have to switch over to my Himalayan Academy Publications Production Manager ?hat" here for a minute: Keeping the production process down to ?fast/doable? is a key component of the big picture strategy. If you have literally 100+ of modules envisioned, and you go out to HTML5 for this? good luck with getting anything produced over a six month period of time. I produced the Gurudeva.app in under 3 months with help from Jacqueline. This is LiveCode?s forte? I don?t see getting that kind of content out the door with HTML5, We have to be integrating tools, nav bar, text content, puzzles communications with API?s on the web server? all in the same environment/module. Someone recently tried to pitch Unity to me for this kind of thing. Forget it. You end up with 200 MB monsters. We have another initiative in progress where were are hiring a developer in Belaruse at from eLance to create an html5 presentation and despite his incredible rates ($35.00/hr) it?s going to take a lot of time and $ just to get the simplest of presentations done. If anyone knows of html5 IDE that have the same breadth and depth as LiveCode, I?m all ears. But for now I just dont? see anything but LiveCode that has this kind of scope for getting things done quickly and with as little overhead as possible that can speak to the wide range of requirements. Maybe I am hopelessly blinded by my attachment to this toolbox, but we also have in house video production, Unity production, book production etc going on all around me and what come out of the development process / man hours? the ROI with LiveCode continues to beat anything I see going on. If you just want to do video with voice over? sure? that?s easy? but not something with the interactivity people expect these days. I just wish we could do go stack URL ?http://some module.livecode? on iOS?.? So hopefully LC ?> html5 will actually work soon...? so far I?m not seeing it though?. From brahma at hindu.org Mon Feb 1 12:14:02 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 1 Feb 2016 17:14:02 +0000 Subject: Ken Burn's Effect Library for Livecode In-Reply-To: <1454279251162-4700591.post@n4.nabble.com> References: <8802DF99-1092-436C-AF27-C09D1227CE52@earthednet.org> <1454279251162-4700591.post@n4.nabble.com> Message-ID: On January 31, 2016 at 12:51:18 PM, BNig (bernd.niggemann at uni-wh.de) wrote: I like it! Have you thought about, for some of this, using those whiteboard animations? They seem to draw attention. And I?ve seen another type where a hand brings in symbols, one by one, as a narration continues. This might be more suitable for livecode. The animated drawing would have to have some kind of path that could be extracted from images or diagrams, probably svg paths. Might get complex, but then again, it would be generally useful to have that capability. Best, Bill Yes, white board could very doable in LiveCode? I need to finish my tool box so I don?t have to code every move by hand? I?m getting close. things can get super complex very fast and this is all new to me? and putting all the code into the card script or stack script starts to becomes a snake pit. So my current algorithm is: every object has custom props that store its ?journey? these are just startsize and location, them Move1,Move2,Move3,Move4,Move5 with rects and speeds. ( I don?t envision a scene that moves a single object more than 5 times? though you could?.) Bujilding it becomes quite easy: object on screen.. move it resize it, snap? move it, resize it, snap, move it resize it , snap.. entering speeds as you go which you can tweak later after review. then we have generic handlers that can trigger the journey of any object with call backs for ?nextEvent? a new ball game for me and the learning curve on customProps, call backs, setting flags on and off etc. is keeping my little gray cells very green (sometimes red!) AndI keep hitting performance issues and I?m not very experienced on optimization where the screen pixels are the issue. But learning that setting repeat loops where the target are pixels is not the same as if the target is text inside a variable. You can overwhelm the CPU?So we have to be willing to live inside the constraints. But it?s fun and it?s working! From devin_asay at byu.edu Mon Feb 1 13:32:40 2016 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 1 Feb 2016 18:32:40 +0000 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: Message-ID: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> > On Jan 30, 2016, at 9:02 PM, Terry Judd wrote: > > On 31/01/2016 1:56 pm, "use-livecode on behalf of Sannyasin > Brahmanathaswami" brahma at hindu.org> wrote: > >> Does anyone have any method to ?feather? the edges of a fld, rect or grc? >> >> Any inner glow or outer glow leaves a sharp edge on the object no matter >> what we do. >> >> Any options there? > > Even if you use both inner and outer glow in combination with no object > boder? I would try Terry?s approach. User outer glow, but set the lineSize to 0. Use the same color for the object fill and the outer glow color. Devin Devin Asay Office of Digital Humanities Brigham Young University From bornstein at designeq.com Mon Feb 1 13:53:47 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Mon, 1 Feb 2016 10:53:47 -0800 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: If you set the line size to 0, the outer glow disappears. On Mon, Feb 1, 2016 at 10:32 AM, Devin Asay wrote: > > > On Jan 30, 2016, at 9:02 PM, Terry Judd > wrote: > > > > On 31/01/2016 1:56 pm, "use-livecode on behalf of Sannyasin > > Brahmanathaswami" > brahma at hindu.org> wrote: > > > >> Does anyone have any method to ?feather? the edges of a fld, rect or > grc? > >> > >> Any inner glow or outer glow leaves a sharp edge on the object no matter > >> what we do. > >> > >> Any options there? > > > > Even if you use both inner and outer glow in combination with no object > > boder? > > I would try Terry?s approach. User outer glow, but set the lineSize to 0. > Use the same color for the object fill and the outer glow color. > > Devin > > Devin Asay > 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 > -- Regards, Howard Bornstein ----------------------- www.designeq.com From blueback09 at gmail.com Mon Feb 1 15:28:00 2016 From: blueback09 at gmail.com (Matt Maier) Date: Mon, 1 Feb 2016 12:28:00 -0800 Subject: snapshot and animation capture In-Reply-To: References: <56A9FA0B.1030600@gmail.com> <56ABAE98.401@gmail.com> <56ABBF03.4080604@gmail.com> Message-ID: Also, I switched from exporting to an image and just had it export straight to a file, then set the filename of the image to that file. The behavior of an image when it's got a direct snapshot in it, and when its filename is set, is not consistent. I skipped the voyage if exploration and just used the approach that had worked before. On Jan 30, 2016 16:28, "Matt Maier" wrote: > I got a reasonable facsimile of my original vision by just using an entire > substack to define the capture area. > > on mouseUp > set the blendlevel of stack "untitled 3" to 50 > set the loc of stack "untitled 3" to the screenloc > go stack "untitled 3" > end mouseUp > > Untitled 3 is a stack with button "exit" and button "snap". The first > button just closes the stack. The second button executes the following > script. > > on mouseUp > set the cCaptureRect of stack "untitled 3" to the rect of stack > "untitled 3" > set the loc of stack "untitled 3" to -1000,-1000 > close stack "untitled 3" > -- wait 200 milliseconds > put the cCaptureRect of stack "untitled 3" into tBlerg > export snapshot from rect tBlerg to image "captureHolder" of stack > "untitled 1" > end mouseUp > > Apparently it takes around 200 milliseconds for the stack window to > actually close. At least, sometimes it was still in the way, or only > partially faded out when the snapshot was captured. Moving it out of the > way, however, seems to happen instantly. > > The snapshot comes from the inside of the stack window, not including the > decorations. > > On Fri, Jan 29, 2016 at 11:35 AM, Richmond > wrote: > >> So, I thought I'd have a bash at rolling my own, but got stuck: >> >> on mouseUp >> put topleft of img "border.png" & "," & the bottomright of img >> "border.png" into ZZZZ >> put quote & ZZZZ & quote into fld "guff" >> put fld "guff" into QQQQ >> export snapshot from rect QQQQ of stack "Super Snap" to file >> "QQQQ.png" as PNG >> end mouseUp >> >> the thing gets stuck on the "export snapshot" line . . . cannot think why >> . . . >> >> image "snapBTN.png": execution error at line 5 (import: error in >> expression), char 1 >> >> that stuff about "char 1" makes NO sense at all. >> >> >> 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 devin_asay at byu.edu Mon Feb 1 15:42:18 2016 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 1 Feb 2016 20:42:18 +0000 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: > On Feb 1, 2016, at 11:53 AM, Howard Bornstein wrote: > > If you set the line size to 0, the outer glow disappears. For what kind of object? I tested it on a graphic object. Devin Devin Asay Office of Digital Humanities Brigham Young University From brahma at hindu.org Mon Feb 1 23:37:40 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 2 Feb 2016 04:37:40 +0000 Subject: Fade In and Out Using Blend Level: Performance Issues Message-ID: I am trying to overcome the limitations we face with Mobile where our transitions are Limited to for example on IOS only flip there is no dissolve or anything like that. So I am using the blend level of the object or an image in setting this up or down to try and emulate fade in and fadeout effect but we are getting very poor performance. Works OK on desktop. it seems also have to have to do with the size of the object for example you can fade in and out. A small object did not see too much of a CPU hit but if you fade in and out an 1200 x 900 pixel Image then on the iPhone it can be very slow even if you have each repeat set to just a few milliseconds? it still takes several secondes to compelte. I am using the following handlers if anyone has any ideas about optimizing this I would be very interested. I think probably there's no way to do better and these repeat loops that are forcing the screen to update the entire pixel map are probably always going to perform very badly and I may need to just abandon this effect. command revealWithBlendLevel, pSpeed,pIterations repeat pIterations times set the blendlevel of control gCurrentHiddenControl to pIterations subtract 1 from pIterations wait pSpeed milliseconds end repeat end revealWithBlendLevel on fadeInObject pLevel put 1 into tIncr repeat pLevel times set the blendlevel of image 1 to tIncr add 1 to tIncr wait 10 milliseconds end repeat end fadeInObject command fadeOutCurrentControl pSpeed put (the blendlevel of control gCurrentShowingControl) +1 into tLevel set the blendlevel of control gCurrentShowingControl to tLevel if tLevel < 100 then send fadeOutCurrentControl to this stack in pSpeed ticks else lastRevealDone end if end fadeOutCurrentControl BR From brahma at hindu.org Mon Feb 1 23:51:00 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 2 Feb 2016 04:51:00 +0000 Subject: Using [ Control "SomeImageName" ] VS [image "SomeImageName"] Message-ID: I using some scripts lately where it seems convenient to do something like this: global gCurrentHiddenControl, gCurrentShowingControl # then: command fadeOutCurrentControl pSpeed put (the blendlevel of control gCurrentShowingControl) +1 into tLevel set the blendlevel of control gCurrentShowingControl to tLevel if tLevel < 100 then send fadeOutCurrentControl to this stack in pSpeed ticks else lastRevealDone end if end fadeOutCurrentControl # OR (testing which is better? send in time or repeat loops command revealWithBlendLevel, pSpeed,pIterations repeat pIterations times set the blendlevel of control gCurrentHiddenControl to pIterations subtract 1 from pIterations wait pSpeed milliseconds end repeat end revealWithBlendLevel How much of hit on the processing time are we inducing by not specify the control type? Is it a trivial amount of extra time? or is it seriously impacting performance? One never knows. OTOH? Seeing Animation Engine?s method which uses the long ID *AND* a specific control declaration. aeChangeRect the long ID of img "stage-1_layer-1", tNewLocation,tMove1Speed,?out? makes me wonder if using control ?someShortname? is maybe shooting app performance in the foot ?? BR From scott at tactilemedia.com Tue Feb 2 00:26:47 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 01 Feb 2016 21:26:47 -0800 Subject: Fade In and Out Using Blend Level: Performance Issues In-Reply-To: References: Message-ID: Are you saying you can't use "dissolve"? It works on iOS, but if you can't use it on Android, you might have to use a less preferred transition. In an attempt to keep things snappy in my own stacks, I usually set the effectRate to 1000 along with dissolve very fast. Most of the time, I leave acceleratedRendering enabled, but sometimes it's worth trying disabled. When possible, it can help to limit the effect to a rect. It probably won't make a difference but you can hide/show an object along with a visual effect. hide img 1 with visual effect dissolve very fast When doing a scripted dissolve with blendLevel, I prefer to sacrifice smoothness for speed. I usually use 10 steps (10% increments) with a delay of 0 to 5 millisecs. I never go beyond 20 steps because the effect takes too long to run. On tablet size screens, you might be out of luck with a scripted dissolve. If your image has a resizeQuality greater than "normal", you might try setting it to normal before doing the fade. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/1/16, 8:37 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: >I am trying to overcome the limitations we face with Mobile where our >transitions are Limited to for example on IOS only flip there is no >dissolve or anything like that. > >So I am using the blend level of the object or an image in setting this >up or down to try and emulate fade in and fadeout effect but we are >getting very poor performance. Works OK on desktop. > > it seems also have to have to do with the size of the object for example >you can fade in and out. A small object did not see too much of a CPU hit >but if you fade in and out an 1200 x 900 pixel Image then on the iPhone >it can be very slow even if you have each repeat set to just a few >milliseconds? it still takes several secondes to compelte. > > I am using the following handlers if anyone has any ideas about >optimizing this I would be very interested. I think probably there's no >way to do better and these repeat loops that are forcing the screen to >update the entire pixel map are probably always going to perform very >badly and I may need to just abandon this effect. > > >command revealWithBlendLevel, pSpeed,pIterations > > repeat pIterations times > > set the blendlevel of control gCurrentHiddenControl to pIterations > > subtract 1 from pIterations > > wait pSpeed milliseconds > > end repeat > >end revealWithBlendLevel > > >on fadeInObject pLevel > > put 1 into tIncr > > repeat pLevel times > > set the blendlevel of image 1 to tIncr > > add 1 to tIncr > > wait 10 milliseconds > > end repeat > >end fadeInObject > > >command fadeOutCurrentControl pSpeed > > put (the blendlevel of control gCurrentShowingControl) +1 into tLevel > > set the blendlevel of control gCurrentShowingControl to tLevel > > if tLevel < 100 then > > send fadeOutCurrentControl to this stack in pSpeed ticks > > else > > lastRevealDone > > end if > >end fadeOutCurrentControl > > >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 ali.lloyd at livecode.com Tue Feb 2 04:51:26 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Tue, 02 Feb 2016 09:51:26 +0000 Subject: Using [ Control "SomeImageName" ] VS [image "SomeImageName"] In-Reply-To: References: Message-ID: Yes, in general specifying the control type when referring to the control by name will be very slightly faster than not doing so - this is because when cycling through the controls of a card to see if there is a match, a non-matching control type can be instantly disregarded (a constant time operation). When using control "SomeImageName" the engine will have to check the name against the names of each control on the card until it finds a match. In theory name checking is also constant time, however because we allow somewhat fuzzy chunk expressions that is not quite true in practice. E.g. local tVar put the name of button 1 into tVar put the long id of button tVar will work. For that to work, our name matching function has to find the offset of the first and next quote (if they exist), and compare substrings caselessly. In the worst case scenario, you might have a million buttons and one image all named "SomeExtremelyLongStringButton1", ... "SomeExtremelyLongStringButton100000", "SomeExtremelyLongStringImage" It would turn out to much quicker to specify image rather than use control. Controls referenced by id are cached, so on a stack / card with many controls especially of the same type, it will usually be better to reference a control by id (and then it is irrelevant whether you specify the type or not). On Tue, Feb 2, 2016 at 4:51 AM Sannyasin Brahmanathaswami wrote: > I using some scripts lately where it seems convenient to do something like > this: > > > > global gCurrentHiddenControl, gCurrentShowingControl > > > # then: > > > command fadeOutCurrentControl pSpeed > > put (the blendlevel of control gCurrentShowingControl) +1 into tLevel > > set the blendlevel of control gCurrentShowingControl to tLevel > > if tLevel < 100 then > > send fadeOutCurrentControl to this stack in pSpeed ticks > > else > > lastRevealDone > > end if > > end fadeOutCurrentControl > > > # OR (testing which is better? send in time or repeat loops > > > command revealWithBlendLevel, pSpeed,pIterations > > repeat pIterations times > > set the blendlevel of control gCurrentHiddenControl to pIterations > > subtract 1 from pIterations > > wait pSpeed milliseconds > > end repeat > > end revealWithBlendLevel > > > How much of hit on the processing time are we inducing by not specify the > control type? Is it a trivial amount of extra time? or is it seriously > impacting performance? One never knows. > > OTOH? Seeing Animation Engine?s method which uses the long ID *AND* a > specific control declaration. > > > aeChangeRect the long ID of img "stage-1_layer-1", > tNewLocation,tMove1Speed,?out? > > > makes me wonder if using > > > control ?someShortname? is maybe shooting app performance in the foot > > > ?? > > > 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 klaus at major-k.de Tue Feb 2 08:19:09 2016 From: klaus at major-k.de (Klaus major-k) Date: Tue, 2 Feb 2016 14:19:09 +0100 Subject: LC 8, "Selector" widget question/discussion Message-ID: <37C62EEA-A9BA-42D6-BDC3-DE03BB73F938@major-k.de> Hi all, we have this new ?Selector? widget in LC 8. Do you think it would make sense (or comply to any HIG) if this would be ?wrap?-able?? I mean that we could have two or more lines of continuous numbers like 1 2 3 4 5 6 7 8 9 10 11 ? in ONE widget, know what I mean? I would like to have it :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From peter.brett at livecode.com Tue Feb 2 09:35:18 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 2 Feb 2016 14:35:18 +0000 Subject: LC 8, "Selector" widget question/discussion In-Reply-To: <37C62EEA-A9BA-42D6-BDC3-DE03BB73F938@major-k.de> References: <37C62EEA-A9BA-42D6-BDC3-DE03BB73F938@major-k.de> Message-ID: <56B0BEA6.3050609@livecode.com> On 02/02/2016 13:19, Klaus major-k wrote: > Hi all, > > we have this new ?Selector? widget in LC 8. > Hi Klaus, We currently do not plan to ship the "Selector" widget as one of the built-in widgets in LiveCode 8.0. I'll be removing it in a forthcoming Developer Preview release. We're focussing our widget efforts for the initial release of LiveCode 8 onto a small number of high-quality widgets, and we don't feel that the "Selector" widget should be one of them. Of course, that means that we are not planning to make any enhancements to it. However, don't let that stop you from taking the "Selector" widget's source code and using it to build a new open source widget that does the same thing, but better! Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From klaus at major-k.de Tue Feb 2 09:58:39 2016 From: klaus at major-k.de (Klaus major-k) Date: Tue, 2 Feb 2016 15:58:39 +0100 Subject: LC 8, "Selector" widget question/discussion In-Reply-To: <56B0BEA6.3050609@livecode.com> References: <37C62EEA-A9BA-42D6-BDC3-DE03BB73F938@major-k.de> <56B0BEA6.3050609@livecode.com> Message-ID: <47EFD39C-C654-4285-BA5E-B9AE2D383E24@major-k.de> Hi Peter, > Am 02.02.2016 um 15:35 schrieb Peter TB Brett : > > On 02/02/2016 13:19, Klaus major-k wrote: > > Hi all, > > > > we have this new ?Selector? widget in LC 8. > > > > Hi Klaus, > > We currently do not plan to ship the "Selector" widget as one of the built-in widgets in LiveCode 8.0. I'll be removing it in a forthcoming Developer Preview release. > We're focussing our widget efforts for the initial release of LiveCode 8 onto a small number of high-quality widgets, and we don't feel that the "Selector" widget should be one of them. > Of course, that means that we are not planning to make any enhancements to it. OK, get it. > However, don't let that stop you from taking the "Selector" widget's source code and using it to build a new open source widget that does the same thing, but better! No, thanks, not my cup of tea! :-) > Peter Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From bdrunrev at gmail.com Tue Feb 2 11:05:16 2016 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 2 Feb 2016 16:05:16 +0000 Subject: Can Handler Know What Params It Should Have Message-ID: I know the params can be called to find out what parameters were passed to the handler when it is called. However, I'm wondering if a handler has a way of knowing what parameters it had at the time it was defined. I don't think so. Regards Bernard From smaclean at madmansoft.com Tue Feb 2 11:40:05 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 2 Feb 2016 11:40:05 -0500 Subject: [TRYING AGAIN] Secure Sockets Issue Message-ID: <87F0559D-27DE-4A86-912C-2C2554A019F6@madmansoft.com> Hi All, Going to give this another go: I can not get two LC apps to connect and transmit to each other via secure sockets. They connect fine and transmit fine without trying to secure them. As far as I can tell, doing this on the server: accept secure connections on port 5210 with message ?someoneConnected" And this on the client: open secure socket to (field "host" & ":5210") with message ?chatConnected" Should create a secure connection between the two apps. However, doing so, while the client does connect to the server, when the client sends data to the server, the socket just closes. No error is returned. By removing the secure keyword form the server script, when the client sends data, the following error is returned: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol The client then closes the socket without firing the ?socketClosed? message ????????? In researching this, I?ve come across the lesson on LiveCode.com : http://lessons.livecode.com/m/4071/l/12924-how-to-communicate-with-other-applications-using-sockets but that doesn?t even mention secure sockets. I?ve also found: http://runtime-revolution.278305.n4.nabble.com/documentation-for-open-socket-using-certificate-and-key-sccept-only-ssl-td4691771.html In which Mark Waddingham replies, but there is no real answer and http://use-livecode.runrev.narkive.com/iBKN5kKd/secure-sockets In which Bj?rnke von Gierke asks numerous questions, but gives up when no answers come. My own post on the forums (http://forums.livecode.com/viewtopic.php?f=11&t=26225 ) with sample files also has no responses. I?ll file a bug report if needed, but I?m hoping I?m just missing something ?simple? here. With sockets now on mobile, being able to communicate securely is a must have. Thanks in advance, Steve MacLean From dochawk at gmail.com Tue Feb 2 11:45:02 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 2 Feb 2016 08:45:02 -0800 Subject: [TRYING AGAIN] Secure Sockets Issue In-Reply-To: <87F0559D-27DE-4A86-912C-2C2554A019F6@madmansoft.com> References: <87F0559D-27DE-4A86-912C-2C2554A019F6@madmansoft.com> Message-ID: On Tue, Feb 2, 2016 at 8:40 AM, Stephen MacLean wrote: > And this on the client: > > open secure socket to (field "host" & ":5210") with message > ?chatConnected" > > Should create a secure connection between the two apps. > > somewhere in the archives you will find a master/slave pair I wrote--and a post by someone that fixed them :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From littlejamesw at mac.com Tue Feb 2 11:45:33 2016 From: littlejamesw at mac.com (James Little) Date: Tue, 02 Feb 2016 08:45:33 -0800 Subject: Global Warming Reader App, In-Reply-To: <0950955D-F75F-44F5-A240-DCC363CCFE82@mac.com> References: <1EBB5981-27C1-4C58-AE38-D78BB6465C63@mac.com> <0950955D-F75F-44F5-A240-DCC363CCFE82@mac.com> Message-ID: <4D5CAEF9-2EC8-4EE6-91E0-CE716AC7FEED@mac.com> Dear Livecoders, Could someone test the Windows version of the Global Warming Reader. Updated Windows & Mac desktop versions are at: http://globalwarmingapps.org/downloads.html I?ve posted the livecode source code at: http://globalwarmingapps.org/source-code.html Pardon a few basic questions: Can a user open this Livecode file in a Community version, though it was developed in an Indy version? To make this available to a Windows user, I assume that I would need to duplicate this program on a Windows machine. Correct? I could use some up-votes on the MIT Climate CoLab site (you must register first, which takes 30 seconds): http://climatecolab.org/web/guest/plans/-/plans/contestId/1303501/phaseId/1313706/planId/1327125 We need informed, trusted messengers, who can talk with family, friends, neighbors about the solutions to climate change and who can correct misinformation. My hope is that Global Warming News Readers, developed at multiple sites around the world can create these trusted messengers and keep them informed. (semi-OT below) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ?Sorry ? but no one?s allowed to give up - our children and grandchildren will still be fighting this battle ? ? as Dave Roberts has said. ?Unless someone like you cares a whole awful lot, Nothing is going to get better. It?s not.? Dr. Seuss, The Lorax ?So in Paris, the UN has finally delivered. Now it?s up to the nations, companies, civil society and all our institutions - from universities, churches, hospitals, service agencies and local governments - to immediately and aggressively move this effort forward. If we sit back, Paris? words will remain just that. Rather, we need to lean forward, to lead a nearly wartime mobilization of efforts to switch to clean energy, to transform our economies away from fossil fuels. Besides averting planetary-scale disaster for our species, the co-benefits of that transformation will be many, including the creation of great numbers of jobs, major benefits to public health and ecological systems, and greater international stability as we move away from the price volatility and political combustibility of fossil fuels. Paris may be an historic turning point in that effort.? Timmons Roberts ??The best way to ? improve civilization?s future prospects is for civil society all over the world - climate justice advocates, community and religious leaders, business and financial executives - to push harder that ever to turn the noble but non-binding aspirations declared in Paris into rapid, concrete transformations of our energy, agriculture, consumerist, and other socioeconomic systems.? Mark Hertsgaard My wife prefers the quote from the movie ?The Martian?: we need ?to science the shit out of this thing.? In reality, innovation will be one major part of the solution but we need thousands of interventions at an individual, local, national and international level. We need silver buckshot, not a silver bullet, to paraphrase Al Gore. Thanks for any input. Jim Little On Jan 29, 2016, at 6:28 PM, James Little wrote: > > Hi Bill, > > Thanks for your input. > > The current Global Warming Reader App consists of 2 lists of websites, organized by category (Activism, Communication, Denial, Economics, Global, Individual, National, News, Oceans, Solutions, Science, ?). One list includes ?All" the sites that I?ve found that I thought were useful. The second list is a selected list of what I thought were the ?Best? sites. They can be launched in the user?s browser or in a widget browser within the app. > > The other component is a list of notes, organized by topic (Advocacy, BlogComments, Communication, Economics, Justice, Politics, Science, Solutions ? ). > > The user can add or delete from either list of websites and can add or delete notes. Thus, they can customize the app to their locale and their particular interests. The website lists and notes are stored as arrays in custom properties of card 1 of the substack. > > I find this reader particularly useful for keeping up on news about global warming and for taking personal notes. I find it useful for writing comments about an on-line article and writing letters to editors. I try to look at the website under the category ?News? of the ?Best? list everyday and take notes from anything that looks particularly worthy. Once per week I try to look at all the websites in the ?Best? list. Below are the websites under ?News? in the ?Best? list that I check daily: > > CascadiaClimatection.org ? a calendar of climate change activism in the Seattle area > > CommonDreams.org/climate/ ? a news site with commentary by many well-known activists > > DailyClimate.org ? a fairly complete news site, including editorials and op-eds from major newspapers > > Sightline.org/news/ ? a news site for climate activism in the Pacific NW > > SkepticalScience.com ? a more technical climate science focused news site > > TheGuardian.com/environment/ ? environmental news with a UK focus > > So, this is a news reader app to keep up with the latest on global warming. Perhaps it?s a useful initial tool to develop in Livecode. It needs improvement. It still has bugs. The user interface can be improved. Perhaps there should be a way to share urls or notes between users via a server. Perhaps there are other features that we can consider. Perhaps others would like to start anew to develop a global warming new reader. I would like to support these efforts in whatever way I can, either by taking the lead or by assisting. I want to support any and all tools that we can develop in Livecode to address the challenges of climate change. > > Is it useful to list it as a project on the MIT Climate CoLab site under the Public Attitudes and Behaviors Workspace? My hope is that this will make it more publicly known and perhaps draw in some outsiders to Livecode. The more up votes that we get on the MIT Climate CoLab site, the more attention we will receive. I believe folks need to register and sign in to vote. > > Regards, > > Jim From smaclean at madmansoft.com Tue Feb 2 12:06:36 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 2 Feb 2016 12:06:36 -0500 Subject: [TRYING AGAIN] Secure Sockets Issue In-Reply-To: References: <87F0559D-27DE-4A86-912C-2C2554A019F6@madmansoft.com> Message-ID: <3F828FB3-EC3D-416A-A6C0-E4D29C21DFB4@madmansoft.com> One of the links in my post was a link to one of yours. Didn?t see a fix there, but will keep looking. Best, Steve MacLean > On Feb 2, 2016, at 11:45 AM, Dr. Hawkins wrote: > > On Tue, Feb 2, 2016 at 8:40 AM, Stephen MacLean > wrote: > >> And this on the client: >> >> open secure socket to (field "host" & ":5210") with message >> ?chatConnected" >> >> Should create a secure connection between the two apps. >> >> > somewhere in the archives you will find a master/slave pair I wrote--and a > post by someone that fixed them :) > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sc at sahores-conseil.com Tue Feb 2 12:35:39 2016 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 2 Feb 2016 18:35:39 +0100 Subject: Can Handler Know What Params It Should Have In-Reply-To: References: Message-ID: <27AB8212-7603-49C5-9BB3-D92A1B650C1F@sahores-conseil.com> Bernard, It?s the way most AI programs are running (functional programming + lambda-calcul => 24/7 enabled recursive call-backs) 1.- as a startup example : on idle if var1 and var2 is ? ? then get function function_1 else get function function_n end if end idle or more simple : on idle get function function_1(var1, var2) end idle function function_1 ? end function_1 ? function function_n ? end function_n 2.- where idle can be replaced with a first direct call (on startup, on opencard,?) to function_1 as long as function_n ends up with : wait 10 send function_1 to me in 10 ticks ? garbage collector HTH, > Le 2 f?vr. 2016 ? 17:05, Bernard Devlin a ?crit : > > I know the params can be called to find out what parameters were passed to > the handler when it is called. However, I'm wondering if a handler has a > way of knowing what parameters it had at the time it was defined. > > I don't think so. > > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From smaclean at madmansoft.com Tue Feb 2 12:44:34 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 2 Feb 2016 12:44:34 -0500 Subject: **SPAM** [TRYING AGAIN] Secure Sockets Issue In-Reply-To: <87F0559D-27DE-4A86-912C-2C2554A019F6@madmansoft.com> References: <87F0559D-27DE-4A86-912C-2C2554A019F6@madmansoft.com> Message-ID: <24DF1C85-A135-4226-B1DC-EF115D563234@madmansoft.com> > On Feb 2, 2016, at 11:40 AM, Stephen MacLean wrote: > > Hi All, > > Going to give this another go: > > I can not get two LC apps to connect and transmit to each other via secure sockets. They connect fine and transmit fine without trying to secure them. > > As far as I can tell, doing this on the server: > > accept secure connections on port 5210 with message ?someoneConnected" > > And this on the client: > > open secure socket to (field "host" & ":5210") with message ?chatConnected" > > Should create a secure connection between the two apps. > > However, doing so, while the client does connect to the server, when the client sends data to the server, the socket just closes. No error is returned. > > By removing the secure keyword form the server script, when the client sends data, the following error is returned: > > error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol > > The client then closes the socket without firing the ?socketClosed? message > > ????????? > > In researching this, I?ve come across the lesson on LiveCode.com : http://lessons.livecode.com/m/4071/l/12924-how-to-communicate-with-other-applications-using-sockets but that doesn?t even mention secure sockets. > > I?ve also found: > http://runtime-revolution.278305.n4.nabble.com/documentation-for-open-socket-using-certificate-and-key-sccept-only-ssl-td4691771.html > > In which Mark Waddingham replies, but there is no real answer > > and > > http://use-livecode.runrev.narkive.com/iBKN5kKd/secure-sockets > > In which Bj?rnke von Gierke asks numerous questions, but gives up when no answers come. > > My own post on the forums (http://forums.livecode.com/viewtopic.php?f=11&t=26225 ) with sample files also has no responses. > > I?ll file a bug report if needed, but I?m hoping I?m just missing something ?simple? here. With sockets now on mobile, being able to communicate securely is a must have. > > Thanks in advance, > > Steve MacLean Forgot to mention, this is with LC 7.1.1GM Indy. Thanks, Steve MacLean From mwieder at ahsoftware.net Tue Feb 2 13:00:52 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Feb 2016 10:00:52 -0800 Subject: Using [ Control "SomeImageName" ] VS [image "SomeImageName"] In-Reply-To: References: Message-ID: <56B0EED4.80502@ahsoftware.net> On 02/02/2016 01:51 AM, Ali Lloyd wrote: > Controls referenced by id are cached, so on a stack / card with many > controls especially of the same type, it will usually be better to > reference a control by id (and then it is irrelevant whether you specify > the type or not). > PLEASE don't encourage people to reference objects by id. That's the main reason we can't have proper version control in LC. -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Tue Feb 2 13:21:49 2016 From: mark at livecode.com (Mark Waddingham) Date: Tue, 02 Feb 2016 19:21:49 +0100 Subject: Using [ Control "SomeImageName" ] VS [image "SomeImageName"] In-Reply-To: <56B0EED4.80502@ahsoftware.net> References: <56B0EED4.80502@ahsoftware.net> Message-ID: <3f896c53ed5c99f859c261e835d2c2d3@livecode.com> On 2016-02-02 19:00, Mark Wieder wrote: > > PLEASE don't encourage people to reference objects by id. > That's the main reason we can't have proper version control in LC. If you only use ids as a runtime property (i.e. don't assume they remain the same across sessions) then that usage has no impact on the difficulty of having *distributed* version control in LC... -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ali.lloyd at livecode.com Tue Feb 2 13:46:33 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Tue, 02 Feb 2016 18:46:33 +0000 Subject: Using [ Control "SomeImageName" ] VS [image "SomeImageName"] In-Reply-To: <3f896c53ed5c99f859c261e835d2c2d3@livecode.com> References: <56B0EED4.80502@ahsoftware.net> <3f896c53ed5c99f859c261e835d2c2d3@livecode.com> Message-ID: I was just answering the question asked :-) What I usually do (and what we generally do in the IDE) is get a target object's long ID, put it in a variable and use that for subsequent references. That way you only pay the (again, very small) performance penalty once per usage. Obviously YMMV, I would never blanket-recommend ANY optimisation strategy as these things are almost always specific to the use case. On Tue, 2 Feb 2016 at 18:21, Mark Waddingham wrote: > On 2016-02-02 19:00, Mark Wieder wrote: > > > > PLEASE don't encourage people to reference objects by id. > > That's the main reason we can't have proper version control in LC. > > If you only use ids as a runtime property (i.e. don't assume they remain > the same across sessions) then that usage has no impact on the > difficulty of having *distributed* version control in LC... > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From benr_mc at cogapp.com Tue Feb 2 13:49:01 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 2 Feb 2016 18:49:01 +0000 Subject: clipboard access on mobile (iOS) Message-ID: <56B0FA1D.4060409@cogapp.com> Hi all, Before I give up; is there anyway to programmatically set the clipboard on iOS? (Extra points for general mobile solution, but right now my need is on iOS.) At this point I'd accept filthy hacks (it's an internal tool). I want to be able to set the clipboard to some text, and can't find a way. Is there one? TIA, Ben From tore.nilsen at me.com Tue Feb 2 13:55:52 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 02 Feb 2016 19:55:52 +0100 Subject: clipboard access on mobile (iOS) In-Reply-To: <56B0FA1D.4060409@cogapp.com> References: <56B0FA1D.4060409@cogapp.com> Message-ID: <58130589-D2F5-4C3F-985B-00B2ABF55ED8@me.com> Have you tried to put the text you want into an invisible field, and then copy the text from this field using the copy command in your code? From the way I understand the documentation this should work on all platforms. Tore > 2. feb. 2016 kl. 19.49 skrev Ben Rubinstein : > > Hi all, > > Before I give up; is there anyway to programmatically set the clipboard on iOS? (Extra points for general mobile solution, but right now my need is on iOS.) > > At this point I'd accept filthy hacks (it's an internal tool). I want to be able to set the clipboard to some text, and can't find a way. Is there one? > > 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 monte at appisle.net Tue Feb 2 14:24:27 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 3 Feb 2016 06:24:27 +1100 Subject: clipboard access on mobile (iOS) In-Reply-To: <56B0FA1D.4060409@cogapp.com> References: <56B0FA1D.4060409@cogapp.com> Message-ID: <38FF2C8A-F12B-4237-9B8E-BC8313A49E0B@appisle.net> I think you need an external... Not sure if Fraser implemented mobile clipboards during his recent work on it though. Sent from my iPhone > On 3 Feb 2016, at 5:49 AM, Ben Rubinstein wrote: > > Hi all, > > Before I give up; is there anyway to programmatically set the clipboard on iOS? (Extra points for general mobile solution, but right now my need is on iOS.) > > At this point I'd accept filthy hacks (it's an internal tool). I want to be able to set the clipboard to some text, and can't find a way. Is there one? > > 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 smaclean at madmansoft.com Tue Feb 2 14:38:54 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 2 Feb 2016 14:38:54 -0500 Subject: [TRYING AGAIN] Secure Sockets Issue In-Reply-To: References: <87F0559D-27DE-4A86-912C-2C2554A019F6@madmansoft.com> Message-ID: <45E1A3A9-A7A1-4E17-B9DB-425D8A8ADA94@madmansoft.com> > On Feb 2, 2016, at 11:45 AM, Dr. Hawkins wrote: > > On Tue, Feb 2, 2016 at 8:40 AM, Stephen MacLean > wrote: > >> And this on the client: >> >> open secure socket to (field "host" & ":5210") with message >> ?chatConnected" >> >> Should create a secure connection between the two apps. >> >> > somewhere in the archives you will find a master/slave pair I wrote--and a > post by someone that fixed them :) > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 Sorry, the only one I found with master/slave didn?t deal with sockets. Also, sorry about the SPAM notice in my other reply, even my email server seems to not like me, lol! Best, Steve MacLean From mwieder at ahsoftware.net Tue Feb 2 15:11:46 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Feb 2016 12:11:46 -0800 Subject: Using [ Control "SomeImageName" ] VS [image "SomeImageName"] In-Reply-To: References: <56B0EED4.80502@ahsoftware.net> <3f896c53ed5c99f859c261e835d2c2d3@livecode.com> Message-ID: <56B10D82.2000509@ahsoftware.net> Ali (and Mark) > I was just answering the question asked :-) Heh. > > What I usually do (and what we generally do in the IDE) is get a target > object's long ID, put it in a variable and use that for subsequent > references. That way you only pay the (again, very small) performance > penalty once per usage. Obviously YMMV, I would never blanket-recommend ANY > optimisation strategy as these things are almost always specific to the use > case. Yes. Point taken. And, of course, I do the same. My objection is to a blanket strategy to refer to object by numeric id. No problems at all with storing an object's id or long id into a variable and then using that variable for whatever fiendish scheme a developer may come up with. -- Mark Wieder ahsoftware at gmail.com From hh at livecode.org Tue Feb 2 15:16:52 2016 From: hh at livecode.org (-hh) Date: Tue, 2 Feb 2016 21:16:52 +0100 Subject: Can Handler Know What Params It Should Have Message-ID: <1BB9F7F8-7015-4783-BBFB-14AC9F9271E3@livecode.org> Bernard wrote: > I know the params can be called to find out what parameters were > passed to the handler when it is called. However, I'm wondering > if a handler has a way of knowing what parameters it had at the > time it was defined. I don't think so. Regards Bernard Yes, that's my opinion too, for user handlers, but not for LC/reserved handlers. This is the simple explanation I use for myself: [1] For any *user handler*, the answer is NO, because there are not "the parameters" in a definition. For example on handler x1,x2 put ( x1,x2 ) end handler is equivalent to on handler put ( param(1),param(2) ) end handler [2] For a *LC handler* we can see the defined params by calling the params in the handler without params. For example on mouseUp put the params end mouseUp yields: MouseUp "1" (if left-clicked) Means: We can use, where b is the 'reserved' LC param, for example on mouseUp b,x1,x2 put (x1,x2) end mouseUp or equivalently on mouseUp put (param(2),param(3)) end mouseUp ======= Hermann From brahma at hindu.org Tue Feb 2 15:34:43 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 2 Feb 2016 20:34:43 +0000 Subject: Fade In and Out Using Blend Level: Performance Issues In-Reply-To: References: Message-ID: Wow, very helpful. What it the issue with scripted repeat loops that touch the pixel map of Tablet sized screens? I do notice this slowdown in iPad Mini? but it?s only 1024 X 768? so why is it slower? BR On February 1, 2016 at 7:27:12 PM, Scott Rossi (scott at tactilemedia.com) wrote: Are you saying you can't use "dissolve"? It works on iOS, but if you can't use it on Android, you might have to use a less preferred transition. In an attempt to keep things snappy in my own stacks, I usually set the effectRate to 1000 along with dissolve very fast. Most of the time, I leave acceleratedRendering enabled, but sometimes it's worth trying disabled. When possible, it can help to limit the effect to a rect. It probably won't make a difference but you can hide/show an object along with a visual effect. hide img 1 with visual effect dissolve very fast When doing a scripted dissolve with blendLevel, I prefer to sacrifice smoothness for speed. I usually use 10 steps (10% increments) with a delay of 0 to 5 millisecs. I never go beyond 20 steps because the effect takes too long to run. On tablet size screens, you might be out of luck with a scripted dissolve. If your image has a resizeQuality greater than "normal", you might try setting it to normal before doing the fade. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From scott at tactilemedia.com Tue Feb 2 15:44:15 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 02 Feb 2016 12:44:15 -0800 Subject: Multiple Mobile Shutdown Messages? Message-ID: Hi All: I'm wondering if there are different messages sent on mobile (iOS) when an app is backgrounded versus when the app is swipe-dismissed (removed from the list of backgrounded apps). I'm trying to set up a sort of "reset" behavior in an app that allows starting from screen 1 instead of starting from the last saved point. I'm saving user settings normally in a on shutDown handler, but I can't figure out it there's some way to detect when the app has been "fully closed" (removed), so when the user relaunches the app it knows to start fresh from screen 1. The only thing that comes to mind is a time stamp and setting an arbitrary session time threshold, like 10 minutes: if the user relaunches within the time limit they go back to where they left off, but if relaunching outside the time limit, they start over. Obviously this isn't ideal as it forces a 10 minute wait to really start over. Is there another message besides shutDown that I'm missing? I'd prefer not to use a reset button as this is never done on iOS -- when apps are removed from the backgrounded apps list, they usually "know" to start over. Any ideas? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From MikeKerner at roadrunner.com Tue Feb 2 16:19:12 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 2 Feb 2016 16:19:12 -0500 Subject: Multiple Mobile Shutdown Messages? In-Reply-To: References: Message-ID: I haven't played with this, but thinking aloud: 1) Set the plist so the app doesn't exit on suspend 2) Therefore, you won't get an exit message unless the app is quit. Set a flag 3) on preOpenStack check for the flag. On Tue, Feb 2, 2016 at 3:44 PM, Scott Rossi wrote: > Hi All: > > I'm wondering if there are different messages sent on mobile (iOS) when an > app is backgrounded versus when the app is swipe-dismissed (removed from > the list of backgrounded apps). > > I'm trying to set up a sort of "reset" behavior in an app that allows > starting from screen 1 instead of starting from the last saved point. I'm > saving user settings normally in a on shutDown handler, but I can't figure > out it there's some way to detect when the app has been "fully closed" > (removed), so when the user relaunches the app it knows to start fresh > from screen 1. > > The only thing that comes to mind is a time stamp and setting an arbitrary > session time threshold, like 10 minutes: if the user relaunches within the > time limit they go back to where they left off, but if relaunching outside > the time limit, they start over. Obviously this isn't ideal as it forces > a 10 minute wait to really start over. Is there another message besides > shutDown that I'm missing? > > I'd prefer not to use a reset button as this is never done on iOS -- when > apps are removed from the backgrounded apps list, they usually "know" to > start over. > > Any ideas? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mwieder at ahsoftware.net Tue Feb 2 16:21:26 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Feb 2016 13:21:26 -0800 Subject: Using [ Control "SomeImageName" ] VS [image "SomeImageName"] In-Reply-To: <56B10D82.2000509@ahsoftware.net> References: <56B0EED4.80502@ahsoftware.net> <3f896c53ed5c99f859c261e835d2c2d3@livecode.com> <56B10D82.2000509@ahsoftware.net> Message-ID: <56B11DD6.9040204@ahsoftware.net> By the way... did I mention that I *really* appreciate the team's presence on this list? -- Mark Wieder ahsoftware at gmail.com From iowahengst at mac.com Tue Feb 2 16:11:10 2016 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 02 Feb 2016 15:11:10 -0600 Subject: Multiple Mobile Shutdown Messages? In-Reply-To: References: Message-ID: <818401E2-28CE-4739-8FCA-A00BC5AE5CB1@mac.com> Hi Scott, I use the plist hack that allows suspend. When I reopen the stack from the suspended state, I?m pretty darn sure the StartUp handler is not triggered. It is triggered when the app is opened fresh? can you make sure of that? be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Feb 2, 2016, at 2:44 PM, Scott Rossi wrote: > > Hi All: > > I'm wondering if there are different messages sent on mobile (iOS) when an > app is backgrounded versus when the app is swipe-dismissed (removed from > the list of backgrounded apps). > > I'm trying to set up a sort of "reset" behavior in an app that allows > starting from screen 1 instead of starting from the last saved point. I'm > saving user settings normally in a on shutDown handler, but I can't figure > out it there's some way to detect when the app has been "fully closed" > (removed), so when the user relaunches the app it knows to start fresh > from screen 1. > > The only thing that comes to mind is a time stamp and setting an arbitrary > session time threshold, like 10 minutes: if the user relaunches within the > time limit they go back to where they left off, but if relaunching outside > the time limit, they start over. Obviously this isn't ideal as it forces > a 10 minute wait to really start over. Is there another message besides > shutDown that I'm missing? > > I'd prefer not to use a reset button as this is never done on iOS -- when > apps are removed from the backgrounded apps list, they usually "know" to > start over. > > Any ideas? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smaclean at madmansoft.com Tue Feb 2 16:54:30 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 2 Feb 2016 16:54:30 -0500 Subject: Multiple Mobile Shutdown Messages? In-Reply-To: References: Message-ID: <8D6F9FD1-2298-49F8-875F-AC5B7F9C832E@madmansoft.com> Hi Scott, There are different notifications sent to an app, one of which is: - applicationWillTerminate: Tells the delegate when the app is about to terminate. Monte?s http://mergext.com/home/mergnotify/ will help you get access to those notifications, although I don?t know for sure if it gets this one. More info can be found here: https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/#//apple_ref/c/data/UIApplicationWillTerminateNotification Mike Kerner?s suggestions may also work. hth, Steve MacLean > On Feb 2, 2016, at 3:44 PM, Scott Rossi wrote: > > Hi All: > > I'm wondering if there are different messages sent on mobile (iOS) when an > app is backgrounded versus when the app is swipe-dismissed (removed from > the list of backgrounded apps). > > I'm trying to set up a sort of "reset" behavior in an app that allows > starting from screen 1 instead of starting from the last saved point. I'm > saving user settings normally in a on shutDown handler, but I can't figure > out it there's some way to detect when the app has been "fully closed" > (removed), so when the user relaunches the app it knows to start fresh > from screen 1. > > The only thing that comes to mind is a time stamp and setting an arbitrary > session time threshold, like 10 minutes: if the user relaunches within the > time limit they go back to where they left off, but if relaunching outside > the time limit, they start over. Obviously this isn't ideal as it forces > a 10 minute wait to really start over. Is there another message besides > shutDown that I'm missing? > > I'd prefer not to use a reset button as this is never done on iOS -- when > apps are removed from the backgrounded apps list, they usually "know" to > start over. > > Any ideas? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ali.lloyd at livecode.com Tue Feb 2 17:07:07 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Tue, 02 Feb 2016 22:07:07 +0000 Subject: Using [ Control "SomeImageName" ] VS [image "SomeImageName"] In-Reply-To: <56B11DD6.9040204@ahsoftware.net> References: <56B0EED4.80502@ahsoftware.net> <3f896c53ed5c99f859c261e835d2c2d3@livecode.com> <56B10D82.2000509@ahsoftware.net> <56B11DD6.9040204@ahsoftware.net> Message-ID: :-D Re-reading my original reply, I see that I did actually say "...it will usually be better to reference a control by id..." when I definitely should have said "...it will usually be quicker to reference a control by id..." On Tue, Feb 2, 2016 at 9:21 PM Mark Wieder wrote: > By the way... did I mention that I *really* appreciate the team's > presence on this list? > > -- > 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 scott at tactilemedia.com Tue Feb 2 17:25:26 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 02 Feb 2016 14:25:26 -0800 Subject: Multiple Mobile Shutdown Messages? In-Reply-To: References: Message-ID: Thanks for the suggestions. The pList option could work, but what message is sent when launching the stack from the backgrounded state? Resume? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/2/16, 1:19 PM, "use-livecode on behalf of Mike Kerner" wrote: >I haven't played with this, but thinking aloud: >1) Set the plist so the app doesn't exit on suspend >2) Therefore, you won't get an exit message unless the app is quit. Set a >flag >3) on preOpenStack check for the flag. > >On Tue, Feb 2, 2016 at 3:44 PM, Scott Rossi >wrote: > >> Hi All: >> >> I'm wondering if there are different messages sent on mobile (iOS) when >>an >> app is backgrounded versus when the app is swipe-dismissed (removed from >> the list of backgrounded apps). >> >> I'm trying to set up a sort of "reset" behavior in an app that allows >> starting from screen 1 instead of starting from the last saved point. >>I'm >> saving user settings normally in a on shutDown handler, but I can't >>figure >> out it there's some way to detect when the app has been "fully closed" >> (removed), so when the user relaunches the app it knows to start fresh >> from screen 1. >> >> The only thing that comes to mind is a time stamp and setting an >>arbitrary >> session time threshold, like 10 minutes: if the user relaunches within >>the >> time limit they go back to where they left off, but if relaunching >>outside >> the time limit, they start over. Obviously this isn't ideal as it >>forces >> a 10 minute wait to really start over. Is there another message besides >> shutDown that I'm missing? >> >> I'd prefer not to use a reset button as this is never done on iOS -- >>when >> apps are removed from the backgrounded apps list, they usually "know" to >> start over. >> >> Any ideas? >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 scott at tactilemedia.com Tue Feb 2 18:11:38 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 02 Feb 2016 15:11:38 -0800 Subject: Multiple Mobile Shutdown Messages? In-Reply-To: References: Message-ID: OK, it looks like the "startup" message is indeed the way to go: sent when launching fresh, not sent when launching after suspended. Thanks guys. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/2/16, 2:25 PM, "use-livecode on behalf of Scott Rossi" wrote: >Thanks for the suggestions. The pList option could work, but what message >is sent when launching the stack from the backgrounded state? Resume? > >Thanks & Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > > > > >On 2/2/16, 1:19 PM, "use-livecode on behalf of Mike Kerner" >MikeKerner at roadrunner.com> wrote: > >>I haven't played with this, but thinking aloud: >>1) Set the plist so the app doesn't exit on suspend >>2) Therefore, you won't get an exit message unless the app is quit. Set >>a >>flag >>3) on preOpenStack check for the flag. >> >>On Tue, Feb 2, 2016 at 3:44 PM, Scott Rossi >>wrote: >> >>> Hi All: >>> >>> I'm wondering if there are different messages sent on mobile (iOS) when >>>an >>> app is backgrounded versus when the app is swipe-dismissed (removed >>>from >>> the list of backgrounded apps). >>> >>> I'm trying to set up a sort of "reset" behavior in an app that allows >>> starting from screen 1 instead of starting from the last saved point. >>>I'm >>> saving user settings normally in a on shutDown handler, but I can't >>>figure >>> out it there's some way to detect when the app has been "fully closed" >>> (removed), so when the user relaunches the app it knows to start fresh >>> from screen 1. >>> >>> The only thing that comes to mind is a time stamp and setting an >>>arbitrary >>> session time threshold, like 10 minutes: if the user relaunches within >>>the >>> time limit they go back to where they left off, but if relaunching >>>outside >>> the time limit, they start over. Obviously this isn't ideal as it >>>forces >>> a 10 minute wait to really start over. Is there another message >>>besides >>> shutDown that I'm missing? >>> >>> I'd prefer not to use a reset button as this is never done on iOS -- >>>when >>> apps are removed from the backgrounded apps list, they usually "know" >>>to >>> start over. >>> >>> Any ideas? >>> >>> Thanks & Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 scott at tactilemedia.com Tue Feb 2 18:18:43 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 02 Feb 2016 15:18:43 -0800 Subject: Multiple Mobile Shutdown Messages? In-Reply-To: References: Message-ID: Actually, openStack seems to work the same -- not sent after resuming from being backgrounded. So several options to be had :-) Thanks again, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/2/16, 3:11 PM, "use-livecode on behalf of Scott Rossi" wrote: >OK, it looks like the "startup" message is indeed the way to go: sent when >launching fresh, not sent when launching after suspended. > >Thanks guys. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > > > > >On 2/2/16, 2:25 PM, "use-livecode on behalf of Scott Rossi" >scott at tactilemedia.com> wrote: > >>Thanks for the suggestions. The pList option could work, but what >>message >>is sent when launching the stack from the backgrounded state? Resume? >> >>Thanks & Regards, >> >>Scott Rossi >>Creative Director >>Tactile Media, UX/UI Design >> >> >> >> >>On 2/2/16, 1:19 PM, "use-livecode on behalf of Mike Kerner" >>>MikeKerner at roadrunner.com> wrote: >> >>>I haven't played with this, but thinking aloud: >>>1) Set the plist so the app doesn't exit on suspend >>>2) Therefore, you won't get an exit message unless the app is quit. Set >>>a >>>flag >>>3) on preOpenStack check for the flag. >>> >>>On Tue, Feb 2, 2016 at 3:44 PM, Scott Rossi >>>wrote: >>> >>>> Hi All: >>>> >>>> I'm wondering if there are different messages sent on mobile (iOS) >>>>when >>>>an >>>> app is backgrounded versus when the app is swipe-dismissed (removed >>>>from >>>> the list of backgrounded apps). >>>> >>>> I'm trying to set up a sort of "reset" behavior in an app that allows >>>> starting from screen 1 instead of starting from the last saved point. >>>>I'm >>>> saving user settings normally in a on shutDown handler, but I can't >>>>figure >>>> out it there's some way to detect when the app has been "fully closed" >>>> (removed), so when the user relaunches the app it knows to start fresh >>>> from screen 1. >>>> >>>> The only thing that comes to mind is a time stamp and setting an >>>>arbitrary >>>> session time threshold, like 10 minutes: if the user relaunches within >>>>the >>>> time limit they go back to where they left off, but if relaunching >>>>outside >>>> the time limit, they start over. Obviously this isn't ideal as it >>>>forces >>>> a 10 minute wait to really start over. Is there another message >>>>besides >>>> shutDown that I'm missing? >>>> >>>> I'd prefer not to use a reset button as this is never done on iOS -- >>>>when >>>> apps are removed from the backgrounded apps list, they usually "know" >>>>to >>>> start over. >>>> >>>> Any ideas? >>>> >>>> Thanks & Regards, >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media, UX/UI Design >>>> >>>> >>>> >>>> From brahma at hindu.org Tue Feb 2 21:55:20 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 3 Feb 2016 02:55:20 +0000 Subject: Fade In and Out Using Blend Level: Performance Issues In-Reply-To: References: Message-ID: FYI Jacque says dissolve is working on Android. So I will just, for now, leave scripted blendLevel repeat loops out of the mix entirely. On February 2, 2016 at 10:34:42 AM, Sannyasin Brahmanathaswami (brahma at hindu.org) wrote: Wow, very helpful. What it the issue with scripted repeat loops that touch the pixel map of Tablet sized screens? I do notice this slowdown in iPad Mini? but it?s only 1024 X 768? so why is it slower? BR From brahma at hindu.org Tue Feb 2 21:59:40 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 3 Feb 2016 02:59:40 +0000 Subject: Using [ Control "SomeImageName" ] VS [image "SomeImageName"] In-Reply-To: References: <56B0EED4.80502@ahsoftware.net> <3f896c53ed5c99f859c261e835d2c2d3@livecode.com> <56B10D82.2000509@ahsoftware.net> <56B11DD6.9040204@ahsoftware.net> Message-ID: On February 2, 2016 at 12:07:34 PM, Ali Lloyd (ali.lloyd at livecode.com) wrote: > By the way... did I mention that I *really* appreciate the team's > presence on this list? > So do I! Can you look at my earlier post? perhaps I should open up a new thread ?Best Practices ? Passing control reference by variables in scripts? on preOpenCard put the long id of img "HaLogo" into tHaLogo end preOpenCard #then later command setStage set the loc of tHALogo to the screenLoc end setStage generates an error ?? BR From mwieder at ahsoftware.net Tue Feb 2 22:20:24 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Feb 2016 19:20:24 -0800 Subject: Using [ Control "SomeImageName" ] VS [image "SomeImageName"] In-Reply-To: References: <56B0EED4.80502@ahsoftware.net> <3f896c53ed5c99f859c261e835d2c2d3@livecode.com> <56B10D82.2000509@ahsoftware.net> <56B11DD6.9040204@ahsoftware.net> Message-ID: <56B171F8.4040706@ahsoftware.net> On 02/02/2016 06:59 PM, Sannyasin Brahmanathaswami wrote: > on preOpenCard > > put the long id of img "HaLogo" into tHaLogo > > end preOpenCard > > > #then later > > > command setStage > > set the loc of tHALogo to the screenLoc > > end setStage > > > generates an error What kind of an error? That code works here for me. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Tue Feb 2 22:34:59 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 2 Feb 2016 19:34:59 -0800 Subject: Using [ Control "SomeImageName" ] VS [image "SomeImageName"] In-Reply-To: References: Message-ID: <56B17563.9000907@fourthworld.com> Brahmanathaswami wrote: > Can you look at my earlier post? perhaps I should open up a new thread > > ?Best Practices ? Passing control reference by variables in scripts? > > on preOpenCard > put the long id of img "HaLogo" into tHaLogo > end preOpenCard > > #then later > > command setStage > set the loc of tHALogo to the screenLoc > end setStage > > generates an error > > ?? Is tHaLogo declared as a global or script-local somewhere? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brahma at hindu.org Wed Feb 3 00:54:10 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 3 Feb 2016 05:54:10 +0000 Subject: Using [ Control "SomeImageName" ] VS [image "SomeImageName"] In-Reply-To: <56B17563.9000907@fourthworld.com> References: <56B17563.9000907@fourthworld.com> Message-ID: OH? duh?. no! ha (red in the face) This does work? fabulous! local tHALogo, tCompanyTitle on preOpenCard setStage end preOpenCard on opencard scene1 end opencard command setStage # be sure to declare all objects in local outside all handlers put the long id of fld "companyTitle" into tCompanyTitle put the long id of img "HaLogo" into tHaLogo set the rect of tHALogo to 0,0,500,500 set the loc of tHALogo to the loc of this card set the loc of tCompanyTitle to 1170,-123 hide grp "Navigators" end setStage command scene1 wait 500 milliseconds aeLockMoves aeChangeRect tHALogo, 40,40,220,220,1500,"overshoot" aeMoveTo tCompanyTitle, the loc of this card, 1500, "inOut" aeUnlockMoves end scene1 on aeChangeRectDone set the uNextEvent of this card to ?scene2" nextEvent end aeChangeRectDone On February 2, 2016 at 5:35:23 PM, Richard Gaskin (ambassador at fourthworld.com) wrote: Is tHaLogo declared as a global or script-local somewhere?Oh From th.douez at gmail.com Wed Feb 3 04:55:18 2016 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 3 Feb 2016 10:55:18 +0100 Subject: AW: Re: Regex help needed... In-Reply-To: <56AD6AFD.4060606@fourthworld.com> References: <56AD5526.5010502@researchware.com> <56AD6AFD.4060606@fourthworld.com> Message-ID: ?? > Regex has been around a long time > and lots of smart computer science types has > spent time coming up with ways to optimize its performance for pattern > matching. That's was true, it's still true and will always be true! and here are some benchmarks done in a late rainy sunday evening: * Regex2 faster than Chunk by: 2.1 times* For the details: 1) Regex1 is the original regex, Chunk1 is from Richard, Regex2 is mine. 2) You can noticed the difference in time depending on the value of pPage ( that's a normal behavior with regex) 3) I've done the calculation the same way as Richard did, so you can compare ****** aPage = 1, Same? true true Regex1: 8943 ms Chunk1: 210 ms Regex2: 99 ms Regex2 faster than orig regex by: 90.3 times Regex2 faster than Chunk by: 2.1 times ****** aPage = 2, Same? true true Regex1: 9946 ms Chunk1: 212 ms Regex2: 100 ms Regex2 faster than orig regex by: 99.5 times Regex2 faster than Chunk by: 2.1 times ****** aPage = 3, Same? true true Regex1: 4451 ms Chunk1: 210 ms Regex2: 98 ms Regex2 faster than orig regex by: 45.4 times Regex2 faster than Chunk by: 2.1 times ****** aPage = 4, Same? true true Regex1: 11465 ms Chunk1: 200 ms Regex2: 98 ms Regex2 faster than orig regex by: 117 times Regex2 faster than Chunk by: 2 times ****** aPage = 5, Same? true true Regex1: 11457 ms Chunk1: 201 ms Regex2: 94 ms Regex2 faster than orig regex by: 121.9 times Regex2 faster than Chunk by: 2.1 times Kind regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From lan.kc.macmail at gmail.com Wed Feb 3 05:08:20 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 3 Feb 2016 18:08:20 +0800 Subject: AppleScript vs VBScript Message-ID: Took up Ali's invitation to give amending the LC Dictionary via GitHub a go. With regard to - do as The OS X explanation of 'the result' is quite straight forward and easy to demonstrate. On OS X systems any result returned by the script language is placed in the > result. do "6 / 2" as AppleScript put "Good Result: " & the result & cr into msg do "6 / 0" as AppleScript put "Error Result: " & the result after msg --produces in the msg box Good Result: 3.0 Error Result: execution error I know very little about Windows but the Dictionary entry is quite confusing: On Windows systems, the result function will return the value of the global > variable called "result" in the script that was executed (or empty if no > such variable was defined)...Any scripts on Windows which contain > references to WScript will fail to run as WScript objects do not exist in > the LiveCode Environment. Return values should therefore be placed within > the global result variable instead of using WScript.Echo. Searching the List for VBScript examples I see nowhere where a global 'result' variable is defined but a simple test if LC's 'the result' contains "error". For WScript examples I can't find anything that seems to return anything, they all seem to just do something and in most cases seem to be offered as an solution outside of LC. Also, why use the 'global result' instead of WScript.Echo if do as WScript wont run at all in LC? I would appreciate if someone could provide a basic VBScript example like the AppleScript one above, that demonstrates both valid and error returns. ALSO, if someone could please decipher what is written about Windows and tell me what it means in plain English. I get the impression that VBScript behaves like AppleScript. For WScript I get the impression that it's talking about a completely different scenario - WScript is being run outside of LC and you are interested in checking on it's progress. This doesn't seem to related to: do as and probably belongs elsewhere. Thanks. From toolbook at kestner.de Wed Feb 3 06:07:29 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 3 Feb 2016 12:07:29 +0100 Subject: How to create a hyperlink within a text field? Message-ID: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> Hello, just not to invent the wheel again. I have a long text field with a table of contents at the beginning and headlines for chapters and I would like to make the table of content clickable as hyperlinks, so that the user is forwarded to the wanted chapter in the same field. I can set the textstyle of each chapter in the table of content to "link" and handle the click in "on linkClicked pLink", no problem about that. The question is, how to handle the field scrolling to the wanted chapter headline after clicking on the hyperlink. When using "find whole pLink in the target", the find command finds first the chapter headline in the table of content and stops at the top. I could cheat this, by doubleing the find command, so that the second find command goes on searching and finds the real chapter headline and scrolls the field to the wanted chapter. But I think that there must be a more straight forward way to realize this kind of hyperlink. Thanks Tiemo From bdrunrev at gmail.com Wed Feb 3 06:22:58 2016 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 3 Feb 2016 11:22:58 +0000 Subject: Can Handler Know What Params It Should Have In-Reply-To: <27AB8212-7603-49C5-9BB3-D92A1B650C1F@sahores-conseil.com> References: <27AB8212-7603-49C5-9BB3-D92A1B650C1F@sahores-conseil.com> Message-ID: Hi Pierre I think we might be talking about different things. For a few minutes, I thought you were saying that "get function someFunctionName()" would return the "signature" of that function (in Java the "signature" of a handler is "name param1 paramN"). But in LC it appears we can't ask the runtime for information about defined code. I tried running what I understood you to be saying, and it did not work. On reflection, I think you are providing a mechanism to hard code a number of different handlers, in response to a handler receiving a (varying) number of possible parameters. Basically, it seems that other languages are able to introspect in a way that we can't in LC. Another thing I think would be good, would be to have an "undefined" handler. Smalltalk has this; IIRC so does TCL. Regards Bernard On Tue, Feb 2, 2016 at 5:35 PM, Pierre Sahores wrote: > Bernard, > > It?s the way most AI programs are running (functional programming + > lambda-calcul => 24/7 enabled recursive call-backs) > > 1.- as a startup example : > > on idle > if var1 and var2 is ? ? then > get function function_1 > else > get function function_n > end if > end idle > > or more simple : > > on idle > get function function_1(var1, var2) > end idle > > function function_1 > ? > end function_1 > > ? > > > function function_n > ? > end function_n > > 2.- where idle can be replaced with a first direct call (on startup, on > opencard,?) to function_1 as long as function_n ends up with : > > wait 10 > send function_1 to me in 10 ticks ? garbage collector > > HTH, > > > > From bdrunrev at gmail.com Wed Feb 3 06:28:24 2016 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 3 Feb 2016 11:28:24 +0000 Subject: Can Handler Know What Params It Should Have In-Reply-To: <1BB9F7F8-7015-4783-BBFB-14AC9F9271E3@livecode.org> References: <1BB9F7F8-7015-4783-BBFB-14AC9F9271E3@livecode.org> Message-ID: Hi Hermann Even with the "LC handler" it's not quite giving me what I'd like. It's still providing data from params(), rather than, for example, returning mouseUp pNumberOfMouseButtonClicked. I was hoping that a handler could provide information about itself at compile time, rather than simply what was passed to it during runtime. Regards Bernard On Tue, Feb 2, 2016 at 8:16 PM, [-hh] wrote: > Bernard wrote: > > I know the params can be called to find out what parameters were > > passed to the handler when it is called. However, I'm wondering > > if a handler has a way of knowing what parameters it had at the > > time it was defined. I don't think so. Regards Bernard > > Yes, that's my opinion too, for user handlers, but not for LC/reserved > handlers. This is the simple explanation I use for myself: > > [1] For any *user handler*, the answer is NO, because there are > not "the parameters" in a definition. For example > > on handler x1,x2 > put ( x1,x2 ) > end handler > > is equivalent to > > on handler > put ( param(1),param(2) ) > end handler > > [2] For a *LC handler* we can see the defined params by calling the > params in the handler without params. For example > > on mouseUp > put the params > end mouseUp > > yields: MouseUp "1" (if left-clicked) > Means: We can use, where b is the 'reserved' LC param, for example > > on mouseUp b,x1,x2 > put (x1,x2) > end mouseUp > > or equivalently > > on mouseUp > put (param(2),param(3)) > end mouseUp > > ======= > Hermann > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Feb 3 06:31:04 2016 From: kevin at livecode.com (Kevin Miller) Date: Wed, 03 Feb 2016 11:31:04 +0000 Subject: Multiple Mobile Shutdown Messages? In-Reply-To: References: Message-ID: You might also be interested to know that the whole issue with background apps/suspend/resume will be much improved in LC 8. All this time working on the various architecture projects is letting us address all kinds of longstanding issues! There will still be some work to do on the part of the developer to use this properly, we'll document what you need to do and think about when this is ready. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 02/02/2016 23:18, "use-livecode on behalf of Scott Rossi" wrote: >Actually, openStack seems to work the same -- not sent after resuming from >being backgrounded. So several options to be had :-) > >Thanks again, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > > > > >On 2/2/16, 3:11 PM, "use-livecode on behalf of Scott Rossi" >scott at tactilemedia.com> wrote: > >>OK, it looks like the "startup" message is indeed the way to go: sent >>when >>launching fresh, not sent when launching after suspended. >> >>Thanks guys. >> >>Regards, >> >>Scott Rossi >>Creative Director >>Tactile Media, UX/UI Design >> >> >> >> >>On 2/2/16, 2:25 PM, "use-livecode on behalf of Scott Rossi" >>>scott at tactilemedia.com> wrote: >> >>>Thanks for the suggestions. The pList option could work, but what >>>message >>>is sent when launching the stack from the backgrounded state? Resume? >>> >>>Thanks & Regards, >>> >>>Scott Rossi >>>Creative Director >>>Tactile Media, UX/UI Design >>> >>> >>> >>> >>>On 2/2/16, 1:19 PM, "use-livecode on behalf of Mike Kerner" >>>>>MikeKerner at roadrunner.com> wrote: >>> >>>>I haven't played with this, but thinking aloud: >>>>1) Set the plist so the app doesn't exit on suspend >>>>2) Therefore, you won't get an exit message unless the app is quit. >>>>Set >>>>a >>>>flag >>>>3) on preOpenStack check for the flag. >>>> >>>>On Tue, Feb 2, 2016 at 3:44 PM, Scott Rossi >>>>wrote: >>>> >>>>> Hi All: >>>>> >>>>> I'm wondering if there are different messages sent on mobile (iOS) >>>>>when >>>>>an >>>>> app is backgrounded versus when the app is swipe-dismissed (removed >>>>>from >>>>> the list of backgrounded apps). >>>>> >>>>> I'm trying to set up a sort of "reset" behavior in an app that allows >>>>> starting from screen 1 instead of starting from the last saved point. >>>>>I'm >>>>> saving user settings normally in a on shutDown handler, but I can't >>>>>figure >>>>> out it there's some way to detect when the app has been "fully >>>>>closed" >>>>> (removed), so when the user relaunches the app it knows to start >>>>>fresh >>>>> from screen 1. >>>>> >>>>> The only thing that comes to mind is a time stamp and setting an >>>>>arbitrary >>>>> session time threshold, like 10 minutes: if the user relaunches >>>>>within >>>>>the >>>>> time limit they go back to where they left off, but if relaunching >>>>>outside >>>>> the time limit, they start over. Obviously this isn't ideal as it >>>>>forces >>>>> a 10 minute wait to really start over. Is there another message >>>>>besides >>>>> shutDown that I'm missing? >>>>> >>>>> I'd prefer not to use a reset button as this is never done on iOS -- >>>>>when >>>>> apps are removed from the backgrounded apps list, they usually "know" >>>>>to >>>>> start over. >>>>> >>>>> Any ideas? >>>>> >>>>> Thanks & Regards, >>>>> >>>>> Scott Rossi >>>>> Creative Director >>>>> Tactile Media, UX/UI Design >>>>> >>>>> >>>>> >>>>> > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Wed Feb 3 06:38:03 2016 From: mark at livecode.com (Mark Waddingham) Date: Wed, 03 Feb 2016 12:38:03 +0100 Subject: Can Handler Know What Params It Should Have In-Reply-To: References: Message-ID: <751c3b42b0cddf63df109be7608cefa3@livecode.com> On 2016-02-02 17:05, Bernard Devlin wrote: > I know the params can be called to find out what parameters were passed > to > the handler when it is called. However, I'm wondering if a handler has > a > way of knowing what parameters it had at the time it was defined. There isn't currently a way to get this information, no. We currently have 'the params' which returns a string form of the handlers invocation (which, is somewhat flawed as you can have array valued parameters, and strings containing quote), paramCount() which returns the number of parameters actually passed, and param(i) which returns the value (not converted to a string) of the i'th parameter passed to the current call. Perhaps something like a 'paramName(i)' function? Can you give more information about your use-case? Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From bdrunrev at gmail.com Wed Feb 3 06:53:29 2016 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 3 Feb 2016 11:53:29 +0000 Subject: AW: Re: Regex help needed... In-Reply-To: <56AD5B73.3000707@ahsoftware.net> References: <56AD2FD8.30703@researchware.com> <56AD4B31.9040807@fourthworld.com> <56AD5526.5010502@researchware.com> <56AD5B73.3000707@ahsoftware.net> Message-ID: Hi Mark, There's huge differences in how regex implementations perform in different languages. For example: http://raid6.com.au/~onlyjob/posts/arena/ Perl outperforms everything in that test. I've never assumed that LC's "perl compatiable regex library" is going to perform at the speed which actual Perl performs. I've always assumed that being "perl compatible" just meant that all syntactically-correct Perl regexs should run with LC's implementation, without needing any kind of change in how the regex is formatted. There was an academic paper I came across 15 years ago, which showed that Tcl out-performed Perl. Now it seems Perl outperforms Tcl, suggesting that one or the other has made changes to their underlying engine which impact regex performance. Or that the tests I read about 15 years ago were just testing regex features which resulted in Tcl out-performing Perl, and vice-versa in the above test. It would be great if LC's implementation was as fast as Perl's. Here's a page comparing several implementations of PCRE (with some non-pcre regex implementations): http://sljit.sourceforge.net/regex_perf.html One of the things we had in LC5 which was phenomenally fast, was searching through the styledText of a field. That fast way of searching particular text structures got lost in the migration to LC8. Regards Bernard From peter.brett at livecode.com Wed Feb 3 07:02:11 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 3 Feb 2016 12:02:11 +0000 Subject: AW: Re: Regex help needed... In-Reply-To: References: <56AD2FD8.30703@researchware.com> <56AD4B31.9040807@fourthworld.com> <56AD5526.5010502@researchware.com> <56AD5B73.3000707@ahsoftware.net> Message-ID: <56B1EC43.9060005@livecode.com> On 03/02/2016 11:53, Bernard Devlin wrote: > Perl outperforms everything in that test. I've never assumed that LC's > "perl compatiable regex library" is going to perform at the speed which > actual Perl performs. I've always assumed that being "perl compatible" just > meant that all syntactically-correct Perl regexs should run with LC's > implementation, without needing any kind of change in how the regex is > formatted. To be precise, LiveCode uses the PCRE library, which is generally considered to be the *definitive* implementation of Perl Compatible Regular Expressions: http://www.pcre.org/. There isn't a special LiveCode-specific implementation of regular expressions involved. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From panos.merakos at livecode.com Wed Feb 3 07:32:57 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 3 Feb 2016 12:32:57 +0000 Subject: Release 6.7.9 RC 1 / 7.1.2 RC 1 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 6.7.9 RC 1 and 7.1.2 RC 1. *Release Contents* - 31 bugs are fixed in LiveCode 6.7.9 RC 1 - 35 bugs are fixed in LiveCode 7.1.2 RC 1 (in addition to the 31 bugs fixed in 6.7.9 RC 1, which are also fixed in 7.1.2 RC 1). Moreover, this release includes important security updates to some of the thirdparty libraries LiveCode uses. More specifically, OpenSSL is updated to version 1.0.1q and libpng is updated to version 1.5.26. This release also allows you to select Xcode 7.2.x (including Xcode 7.2.1 - released today) in the Preferences > Mobile Support pane, and thus allowing users to deploy on iOS 9.2 simulator. *Getting the Release* To get the release please download the installer directly at: http://downloads.livecode.com Warmest regards, The LiveCode Team -- From th.douez at gmail.com Wed Feb 3 07:34:24 2016 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 3 Feb 2016 13:34:24 +0100 Subject: AW: Re: Regex help needed... In-Reply-To: References: <56AD2FD8.30703@researchware.com> <56AD4B31.9040807@fourthworld.com> <56AD5526.5010502@researchware.com> <56AD5B73.3000707@ahsoftware.net> Message-ID: There's huge differences in how regex implementations perform in different > languages. For example: http://raid6.com.au/~onlyjob/posts/arena/ > ?Last year, I did some experiments: I had a 100 lines of LiveCode with a bunch of really big Regex. It took 120 seconds on my Macbook to run. I tried diffferent ways to write/modify the regex, and it always keep running around 120 seconds. Then, using my sunnYperl external, I copy/paste all my regex ( not one modification ) and rewrite the LC part in Perl (a bit more work but not that much). I came down to 9 seconds. ? Kind regards, Thierry? -- ------------------------------------------------ Thierry Douez - http://sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From ali.lloyd at livecode.com Wed Feb 3 07:39:57 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Wed, 03 Feb 2016 12:39:57 +0000 Subject: AW: Re: Regex help needed... In-Reply-To: References: <56AD2FD8.30703@researchware.com> <56AD4B31.9040807@fourthworld.com> <56AD5526.5010502@researchware.com> <56AD5B73.3000707@ahsoftware.net> Message-ID: On Wed, Feb 3, 2016 at 11:53 AM Bernard Devlin wrote: > One of the things we had in LC5 which was phenomenally fast, was searching > through the styledText of a field. That fast way of searching particular > text structures got lost in the migration to LC8. Could you expand on this a little? I'm not sure exactly what you mean by 'searching through the styledText of a field'. Thanks, Ali From peter.brett at livecode.com Wed Feb 3 08:34:03 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 3 Feb 2016 13:34:03 +0000 Subject: Mobile suspend and resume [was: Re: Multiple Mobile Shutdown Messages?] In-Reply-To: References: Message-ID: <56B201CB.7050101@livecode.com> On 03/02/2016 11:31, Kevin Miller wrote: > You might also be interested to know that the whole issue with background > apps/suspend/resume will be much improved in LC 8. All this time working > on the various architecture projects is letting us address all kinds of > longstanding issues! There will still be some work to do on the part of > the developer to use this properly, we'll document what you need to do and > think about when this is ready. You can track progress of the mobile suspend and resume feature here: http://quality.livecode.com/show_bug.cgi?id=16829 Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From MikeKerner at roadrunner.com Wed Feb 3 08:36:08 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 3 Feb 2016 08:36:08 -0500 Subject: Mobile suspend and resume [was: Re: Multiple Mobile Shutdown Messages?] In-Reply-To: <56B201CB.7050101@livecode.com> References: <56B201CB.7050101@livecode.com> Message-ID: yay! On Wed, Feb 3, 2016 at 8:34 AM, Peter TB Brett wrote: > On 03/02/2016 11:31, Kevin Miller wrote: > >> You might also be interested to know that the whole issue with background >> apps/suspend/resume will be much improved in LC 8. All this time working >> on the various architecture projects is letting us address all kinds of >> longstanding issues! There will still be some work to do on the part of >> the developer to use this properly, we'll document what you need to do and >> think about when this is ready. >> > > You can track progress of the mobile suspend and resume feature here: > > http://quality.livecode.com/show_bug.cgi?id=16829 > > Peter > > -- > Dr Peter Brett > LiveCode Open Source Team > > LiveCode on reddit: https://reddit.com/r/livecode > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Feb 3 08:37:26 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 3 Feb 2016 08:37:26 -0500 Subject: Multiple Mobile Shutdown Messages? In-Reply-To: References: Message-ID: yay! On Wed, Feb 3, 2016 at 6:31 AM, Kevin Miller wrote: > You might also be interested to know that the whole issue with background > apps/suspend/resume will be much improved in LC 8. All this time working > on the various architecture projects is letting us address all kinds of > longstanding issues! There will still be some work to do on the part of > the developer to use this properly, we'll document what you need to do and > think about when this is ready. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > > > On 02/02/2016 23:18, "use-livecode on behalf of Scott Rossi" > scott at tactilemedia.com> wrote: > > >Actually, openStack seems to work the same -- not sent after resuming from > >being backgrounded. So several options to be had :-) > > > >Thanks again, > > > >Scott Rossi > >Creative Director > >Tactile Media, UX/UI Design > > > > > > > > > >On 2/2/16, 3:11 PM, "use-livecode on behalf of Scott Rossi" > > >scott at tactilemedia.com> wrote: > > > >>OK, it looks like the "startup" message is indeed the way to go: sent > >>when > >>launching fresh, not sent when launching after suspended. > >> > >>Thanks guys. > >> > >>Regards, > >> > >>Scott Rossi > >>Creative Director > >>Tactile Media, UX/UI Design > >> > >> > >> > >> > >>On 2/2/16, 2:25 PM, "use-livecode on behalf of Scott Rossi" > >> >>scott at tactilemedia.com> wrote: > >> > >>>Thanks for the suggestions. The pList option could work, but what > >>>message > >>>is sent when launching the stack from the backgrounded state? Resume? > >>> > >>>Thanks & Regards, > >>> > >>>Scott Rossi > >>>Creative Director > >>>Tactile Media, UX/UI Design > >>> > >>> > >>> > >>> > >>>On 2/2/16, 1:19 PM, "use-livecode on behalf of Mike Kerner" > >>> >>>MikeKerner at roadrunner.com> wrote: > >>> > >>>>I haven't played with this, but thinking aloud: > >>>>1) Set the plist so the app doesn't exit on suspend > >>>>2) Therefore, you won't get an exit message unless the app is quit. > >>>>Set > >>>>a > >>>>flag > >>>>3) on preOpenStack check for the flag. > >>>> > >>>>On Tue, Feb 2, 2016 at 3:44 PM, Scott Rossi > >>>>wrote: > >>>> > >>>>> Hi All: > >>>>> > >>>>> I'm wondering if there are different messages sent on mobile (iOS) > >>>>>when > >>>>>an > >>>>> app is backgrounded versus when the app is swipe-dismissed (removed > >>>>>from > >>>>> the list of backgrounded apps). > >>>>> > >>>>> I'm trying to set up a sort of "reset" behavior in an app that allows > >>>>> starting from screen 1 instead of starting from the last saved point. > >>>>>I'm > >>>>> saving user settings normally in a on shutDown handler, but I can't > >>>>>figure > >>>>> out it there's some way to detect when the app has been "fully > >>>>>closed" > >>>>> (removed), so when the user relaunches the app it knows to start > >>>>>fresh > >>>>> from screen 1. > >>>>> > >>>>> The only thing that comes to mind is a time stamp and setting an > >>>>>arbitrary > >>>>> session time threshold, like 10 minutes: if the user relaunches > >>>>>within > >>>>>the > >>>>> time limit they go back to where they left off, but if relaunching > >>>>>outside > >>>>> the time limit, they start over. Obviously this isn't ideal as it > >>>>>forces > >>>>> a 10 minute wait to really start over. Is there another message > >>>>>besides > >>>>> shutDown that I'm missing? > >>>>> > >>>>> I'd prefer not to use a reset button as this is never done on iOS -- > >>>>>when > >>>>> apps are removed from the backgrounded apps list, they usually "know" > >>>>>to > >>>>> start over. > >>>>> > >>>>> Any ideas? > >>>>> > >>>>> Thanks & Regards, > >>>>> > >>>>> Scott Rossi > >>>>> Creative Director > >>>>> Tactile Media, UX/UI Design > >>>>> > >>>>> > >>>>> > >>>>> > > > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 toolbook at kestner.de Wed Feb 3 08:39:34 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 3 Feb 2016 14:39:34 +0100 Subject: AW: How to create a hyperlink within a text field? In-Reply-To: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> Message-ID: <007701d15e88$518cf310$f4a6d930$@kestner.de> Alternativly I also tried to work with lineOffset and setting the vScoll of the field. The lineOffset gives me the number of the found textline, but not the visible line number of a scrolling field with word wrap, which can be resized. In such a field the "effective" line number can vary, depending on the current size of the field. Is there anything such as the "effective lineOffset", or even better a direct approach to scroll to the found chunck? Probably I don't see the obvious. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB Gesendet: Mittwoch, 3. Februar 2016 12:07 An: LiveCode User Liste senden Betreff: How to create a hyperlink within a text field? Hello, just not to invent the wheel again. I have a long text field with a table of contents at the beginning and headlines for chapters and I would like to make the table of content clickable as hyperlinks, so that the user is forwarded to the wanted chapter in the same field. I can set the textstyle of each chapter in the table of content to "link" and handle the click in "on linkClicked pLink", no problem about that. The question is, how to handle the field scrolling to the wanted chapter headline after clicking on the hyperlink. When using "find whole pLink in the target", the find command finds first the chapter headline in the table of content and stops at the top. I could cheat this, by doubleing the find command, so that the second find command goes on searching and finds the real chapter headline and scrolls the field to the wanted chapter. But I think that there must be a more straight forward way to realize this kind of hyperlink. 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 mark at livecode.com Wed Feb 3 08:51:12 2016 From: mark at livecode.com (Mark Waddingham) Date: Wed, 03 Feb 2016 14:51:12 +0100 Subject: Multiple Mobile Shutdown =?UTF-8?Q?Messages=3F?= In-Reply-To: References: Message-ID: <1eee9fc6737c4b8bcdc7955bb46a6f79@livecode.com> On 2016-02-03 00:18, Scott Rossi wrote: > Actually, openStack seems to work the same -- not sent after resuming > from > being backgrounded. So several options to be had :-) Yes - this should work for your purposes (if I understand your intent correctly!). At the moment... If 'exits on suspend' is true then you will receive a startup message when the app is launched, and then a shutdown message whenever the app ceases to be foreground. The app will essentially restart entirely each time the user goes back to it. If 'exits on suspend' is false then you will receive a startup message when the app is launched, and then no other messages. When an app is suspended, it will resume at exactly the same place it was before. If the OS decides to kill it (or the user does), you won't get any notification and it will relaunch from scratch (i.e. you'll get a startup message again) next time. So, in your case, if you get a startup message (which triggers the openStack message) it means the app was either killed by the user or the OS and so should start from the beginning; otherwise you can assume that the app will be in the same place as it was before it was put into the background and you need to do nothing. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Wed Feb 3 09:23:19 2016 From: mark at livecode.com (Mark Waddingham) Date: Wed, 03 Feb 2016 15:23:19 +0100 Subject: AW: How to create a hyperlink within a text =?UTF-8?Q?field=3F?= In-Reply-To: <007701d15e88$518cf310$f4a6d930$@kestner.de> References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> <007701d15e88$518cf310$f4a6d930$@kestner.de> Message-ID: <1da710f938f2149cf9344e4d8fc0b493@livecode.com> On 2016-02-03 14:39, Tiemo Hollmann TB wrote: > Alternativly I also tried to work with lineOffset and setting the > vScoll of > the field. The lineOffset gives me the number of the found textline, > but not > the visible line number of a scrolling field with word wrap, which can > be > resized. In such a field the "effective" line number can vary, > depending on > the current size of the field. > Is there anything such as the "effective lineOffset", or even better a > direct approach to scroll to the found chunck? Probably I don't see the > obvious. You should be able to use the formattedRect for this. set the vScroll of field 1 to item 2 of the formattedRect of - the top of field 1 You might have to apply a small amount of 'fudge' to take into account any margins and such... Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From lists at mangomultimedia.com Wed Feb 3 09:23:37 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 3 Feb 2016 09:23:37 -0500 Subject: AppleScript vs VBScript In-Reply-To: References: Message-ID: On Wed, Feb 3, 2016 at 5:08 AM, Kay C Lan wrote: > > Searching the List for VBScript examples I see nowhere where a global > 'result' variable is defined but a simple test if LC's 'the result' > contains "error". > Here is a VBScript I have used in the past that sets the so that the value is returned to LiveCode. ================== dim theSubError dim theProcesses On Error Resume Next 'grabs the full process list and puts it in a var if Err.Number = 0 then set objService = getobject("winmgmts:") for each Process in objService.InstancesOf("Win32_process") theProcesses = theProcesses & Process.Name & vbLf Next end if if Err.Number <> 0 then result = Err.Number & ": " & Err.Description else result = theProcesses end if ================== -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From benr_mc at cogapp.com Wed Feb 3 09:37:09 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 3 Feb 2016 14:37:09 +0000 Subject: Mobile suspend and resume [was: Re: Multiple Mobile Shutdown Messages?] In-Reply-To: <56B201CB.7050101@livecode.com> References: <56B201CB.7050101@livecode.com> Message-ID: <56B21095.8090707@cogapp.com> On 03/02/2016 13:34, Peter TB Brett wrote: > You can track progress of the mobile suspend and resume feature here: > > http://quality.livecode.com/show_bug.cgi?id=16829 This is good news! Is there any reason not to track progress here http://quality.livecode.com/show_bug.cgi?id=11845 ? Or should the latter now be closed with a reference to the new one? thanks, Ben From benr_mc at cogapp.com Wed Feb 3 09:38:23 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 3 Feb 2016 14:38:23 +0000 Subject: access user's videos on iOS Message-ID: <56B210DF.2000405@cogapp.com> We an use mobilePickMedia to access the user's audio library, and then play a selected audio file. Is there any mechanism to access the user's video library, on iOS (in particular) or Android? TIA Ben From roland.huettmann at gmail.com Wed Feb 3 09:55:39 2016 From: roland.huettmann at gmail.com (Roland Huettmann) Date: Wed, 3 Feb 2016 15:55:39 +0100 Subject: Moving the mouse pointer by script Message-ID: Looking up lots of sites and messages, I could not find a way moving (dragging) the mouse pointer using a script. Or am I just blind? This is for an animation sequence... instead of the user dragging an object, the object is dragged using the mouse without user interaction - so the pointer is visually moving on the screen from A to B. The mouse pointer is just moving to some location doing some action and the user watching it. It should give a lesson to the user. A video can be made, but that is not what we intend to do. It should be real. Any suggestions? Roland I AM VERY HAPPY WITH 7.1. IT IS STABLE SO FAR: AND THAT IS MOST IMPORTANT TO ME. MANY THANKS TO THE DEDICATED ENDLESSLY WORKING TEAM IN GOOD OLD SCOTLAND. CHEERS TO ALL OF THEM. From klaus at major-k.de Wed Feb 3 10:01:56 2016 From: klaus at major-k.de (Klaus major-k) Date: Wed, 3 Feb 2016 16:01:56 +0100 Subject: Moving the mouse pointer by script In-Reply-To: References: Message-ID: Hi Roland, > Am 03.02.2016 um 15:55 schrieb Roland Huettmann : > > Looking up lots of sites and messages, I could not find a way moving > (dragging) the mouse pointer using a script. > > Or am I just blind? > > This is for an animation sequence... instead of the user dragging an > object, the object is dragged using the mouse without user interaction - so > the pointer is visually moving on the screen from A to B. The mouse pointer > is just moving to some location doing some action and the user watching it. > It should give a lesson to the user. > > A video can be made, but that is not what we intend to do. It should be > real. > > Any suggestions? check ?the screenmouseloc? in the dictionary. This is the only (location) property of the mouse that you can actually SET. > Roland > > I AM VERY HAPPY WITH 7.1. IT IS STABLE SO FAR: AND THAT IS MOST IMPORTANT > TO ME. > MANY THANKS TO THE DEDICATED ENDLESSLY WORKING TEAM IN GOOD OLD SCOTLAND. > CHEERS TO ALL OF THEM. Maybe version 7.1.2 (RC1) will make you even more happy? :-D It was published today. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From lan.kc.macmail at gmail.com Wed Feb 3 10:25:26 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 3 Feb 2016 23:25:26 +0800 Subject: AppleScript vs VBScript In-Reply-To: References: Message-ID: Ah, just the person I was hoping would answer. I see in the last script how you've declared in VBScript, but I believe this below script is also your script and is not declared, you simple check LC's own 'the result'. (line wraps are probably all over the place) ############## put the uActiveServerLoginVBScript of me into theScript replace "[[Domain]]" with theConfigA["settings"]["credential provider domain"] in theScript -- "directory.something.corp:389" replace "[[Query]]" with theConfigA["settings"]["credential provider query"] in theScript -- "ou=Users,dc=something,dc=corp" replace "[[Username]]" with pProjectA["credentials"]["login"] in theScript replace "[[Password]]" with wgdb_decryptString(pProjectA["credentials"]["password"]) in theScript replace "[[UserKey]]" with theConfigA["settings"]["credential provider user query key"] in theScript do theScript as "vbscript" if the result begins with "error," then put item 2 to -1 of the result into theError else put the result into theADUserInfo ## last name, first name & cr & group & tab & group ... -- CN=,OU=Groups,DC=,DC=corp end if ############## So again this leave me wonder as to the real situation with Windows? Can it be like OS X where you simply check LC's 'the result' ? On Windows how do you know when you NEED to declare in VBScript and when you don't ? From peter.brett at livecode.com Wed Feb 3 10:49:09 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 3 Feb 2016 15:49:09 +0000 Subject: Mobile suspend and resume [was: Re: Multiple Mobile Shutdown Messages?] In-Reply-To: <56B21095.8090707@cogapp.com> References: <56B201CB.7050101@livecode.com> <56B21095.8090707@cogapp.com> Message-ID: <56B22175.1010903@livecode.com> On 03/02/2016 14:37, Ben Rubinstein wrote: > On 03/02/2016 13:34, Peter TB Brett wrote: >> You can track progress of the mobile suspend and resume feature here: >> >> http://quality.livecode.com/show_bug.cgi?id=16829 > > This is good news! > > Is there any reason not to track progress here > http://quality.livecode.com/show_bug.cgi?id=11845 > ? > > Or should the latter now be closed with a reference to the new one? They're related, but not the same issue. Think about it this way: fixing 11845 is part of fixing 16829, but not vice versa. I'll link the two bugs. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From lists at mangomultimedia.com Wed Feb 3 11:39:28 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 3 Feb 2016 11:39:28 -0500 Subject: AppleScript vs VBScript In-Reply-To: References: Message-ID: On Wed, Feb 3, 2016 at 10:25 AM, Kay C Lan wrote: > > I see in the last script how you've declared in VBScript, but I > believe this below script is also your script and is not declared, > you simple check LC's own 'the result'. > > (line wraps are probably all over the place) > > ############## > put the uActiveServerLoginVBScript of me into theScript > The actual script is in uActiveServerLoginVBScript. Does that not have declared in it anywhere? That is my code but I haven't looked at it in a long time. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From pmbrig at gmail.com Wed Feb 3 11:58:09 2016 From: pmbrig at gmail.com (Peter Brigham) Date: Wed, 3 Feb 2016 11:58:09 -0500 Subject: How to create a hyperlink within a text field? In-Reply-To: <007701d15e88$518cf310$f4a6d930$@kestner.de> References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> <007701d15e88$518cf310$f4a6d930$@kestner.de> Message-ID: Two ways to do it. The first and simplest is to lock the screen and do 2 finds in succession, as you suggested. The second is to get the lineoffsets of the link text and scroll to the second occurrence of it. Once you find the line offset of the actual chapter heading, use "the formattedheight of line 1 to chapterLineNbr of fld xxx" to get the scroll, and then set it accordingly. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Wed, Feb 3, 2016 at 8:39 AM, Tiemo Hollmann TB wrote: > Alternativly I also tried to work with lineOffset and setting the vScoll of > the field. The lineOffset gives me the number of the found textline, but > not > the visible line number of a scrolling field with word wrap, which can be > resized. In such a field the "effective" line number can vary, depending on > the current size of the field. > Is there anything such as the "effective lineOffset", or even better a > direct approach to scroll to the found chunck? Probably I don't see the > obvious. > Tiemo > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag > von Tiemo Hollmann TB > Gesendet: Mittwoch, 3. Februar 2016 12:07 > An: LiveCode User Liste senden > Betreff: How to create a hyperlink within a text field? > > Hello, > > just not to invent the wheel again. I have a long text field with a table > of > contents at the beginning and headlines for chapters and I would like to > make the table of content clickable as hyperlinks, so that the user is > forwarded to the wanted chapter in the same field. > > I can set the textstyle of each chapter in the table of content to "link" > and handle the click in "on linkClicked pLink", no problem about that. > > The question is, how to handle the field scrolling to the wanted chapter > headline after clicking on the hyperlink. When using "find whole pLink in > the target", the find command finds first the chapter headline in the table > of content and stops at the top. I could cheat this, by doubleing the find > command, so that the second find command goes on searching and finds the > real chapter headline and scrolls the field to the wanted chapter. > > But I think that there must be a more straight forward way to realize this > kind of hyperlink. > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at livecode.com Wed Feb 3 11:59:30 2016 From: mark at livecode.com (Mark Waddingham) Date: Wed, 03 Feb 2016 17:59:30 +0100 Subject: AppleScript vs VBScript In-Reply-To: References: Message-ID: <63f4fde78a1160616813b69edef56559@livecode.com> On 2016-02-03 16:25, Kay C Lan wrote: > So again this leave me wonder as to the real situation with Windows? > Can it > be like OS X where you simply check LC's 'the result' ? On Windows how > do > you know when you NEED to declare in VBScript and when you > don't ? My AppleScript and VBScript are a little rusty, however if I recall correctly... All statements in AppleScript notionally return a value (just like JavaScript). This means that if you execute a snippet of AppleScript, there is a well-defined 'result' which can be returned. So all the engine does for AppleScript is use the returned value from the 'exec code snippet' API that is used to set 'the result' on the LiveCode side. In contrast, no statements in VBScript return a value - only expressions do. This means that when you execute a snippet of VBScript there is no return value to be had from the API which is used. To work-around this the engine does the following: 1) execute snippet of VBScript 2) if the script has declared a global 'result' variable, take the value of that and set 'the result' on the LiveCode side 3) if the script has not declared a global 'result' variable, then set 'the result' to empty on the LiveCode side Therefore, in answer to your question, if you want your VBScript code snippet to return a value to LiveCode when using 'do ... as ...', you have to declare a global variable called 'result' in the snippet and set that to the return value you want LiveCode to see (in that snippet). Hope this helps! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From pmbrig at gmail.com Wed Feb 3 12:01:08 2016 From: pmbrig at gmail.com (Peter Brigham) Date: Wed, 3 Feb 2016 12:01:08 -0500 Subject: How to create a hyperlink within a text field? In-Reply-To: <007701d15e88$518cf310$f4a6d930$@kestner.de> References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> <007701d15e88$518cf310$f4a6d930$@kestner.de> Message-ID: A third alternative: split off the chapter title list into another field -- a list field -- and then you can just do a simple find in your text field when the user clicks in the chapter list field. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Wed, Feb 3, 2016 at 8:39 AM, Tiemo Hollmann TB wrote: > Alternativly I also tried to work with lineOffset and setting the vScoll of > the field. The lineOffset gives me the number of the found textline, but > not > the visible line number of a scrolling field with word wrap, which can be > resized. In such a field the "effective" line number can vary, depending on > the current size of the field. > Is there anything such as the "effective lineOffset", or even better a > direct approach to scroll to the found chunck? Probably I don't see the > obvious. > Tiemo > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag > von Tiemo Hollmann TB > Gesendet: Mittwoch, 3. Februar 2016 12:07 > An: LiveCode User Liste senden > Betreff: How to create a hyperlink within a text field? > > Hello, > > just not to invent the wheel again. I have a long text field with a table > of > contents at the beginning and headlines for chapters and I would like to > make the table of content clickable as hyperlinks, so that the user is > forwarded to the wanted chapter in the same field. > > I can set the textstyle of each chapter in the table of content to "link" > and handle the click in "on linkClicked pLink", no problem about that. > > The question is, how to handle the field scrolling to the wanted chapter > headline after clicking on the hyperlink. When using "find whole pLink in > the target", the find command finds first the chapter headline in the table > of content and stops at the top. I could cheat this, by doubleing the find > command, so that the second find command goes on searching and finds the > real chapter headline and scrolls the field to the wanted chapter. > > But I think that there must be a more straight forward way to realize this > kind of hyperlink. > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed Feb 3 12:43:59 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 3 Feb 2016 09:43:59 -0800 Subject: [ANN]SoCal LUG meeting Thurs., Feb 4 Message-ID: <56B23C5F.9020205@fourthworld.com> The next meeting of the SoCal LiveCode User Group is tomorrow, Feb 4, at 7PM in Pasadena. Details in the forum: http://forums.livecode.com/viewtopic.php?f=50&t=26469 -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From hh at livecode.org Wed Feb 3 12:51:27 2016 From: hh at livecode.org (-hh) Date: Wed, 3 Feb 2016 18:51:27 +0100 Subject: AW: How to create a hyperlink within a text field? Message-ID: <0B1C3EAB-B9FC-40A2-8E99-2777695EFEDF@livecode.org> Hi, Bernd and I had once a long thread in the forum about selecting text where we found *the selectedLoc* to be very useful. Means here: [1] When writing the chapters mark their offset in your text in a separate list, one line per mark [or as metadata of each link]. [2] Then walk once through the text, select the offsets and denote the wanted scroll based on the selectedLoc and the field's top (you may even adjust to "centering" or "scroll-to-2nd-line" here). Then add these scrolls to your list and lookup this list when clicking the link [or add these scrolls to the metadata of each link]. If you resize the field or change the textsize/the textfont of the field then simply update the list [or the metadata of each link]. ======= Hermann From monte at appisle.net Wed Feb 3 15:03:13 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 4 Feb 2016 07:03:13 +1100 Subject: access user's videos on iOS In-Reply-To: <56B210DF.2000405@cogapp.com> References: <56B210DF.2000405@cogapp.com> Message-ID: <2F1B885A-157D-4CDA-B9DE-DEEF8CC8B5A7@appisle.net> Take a look at mergMP Sent from my iPhone > On 4 Feb 2016, at 1:38 AM, Ben Rubinstein wrote: > > We an use mobilePickMedia to access the user's audio library, and then play a selected audio file. > > Is there any mechanism to access the user's video library, on iOS (in particular) or Android? > > 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 ambassador at fourthworld.com Wed Feb 3 15:06:57 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 3 Feb 2016 12:06:57 -0800 Subject: AW: Re: Regex help needed... In-Reply-To: References: Message-ID: <56B25DE1.3050007@fourthworld.com> Thierry Douez write: >> Regex has been around a long time >> and lots of smart computer science types has >> spent time coming up with ways to optimize its performance for pattern >> matching. > > That's was true, it's still true and will always be true! It's true that there are almost always ways to improve performance using any method, but there are times when one method may be faster than another so it's worth testing out, as you did here: > and here are some benchmarks > done in a late rainy sunday evening: > > > * Regex2 faster than Chunk by: 2.1 times* Great results - what was the regex you used for that? > For the details: > > 1) Regex1 is the original regex, Chunk1 is from Richard, Regex2 is mine. > 2) You can noticed the difference in time depending on the value of pPage > ( that's a normal behavior with regex) > 3) I've done the calculation the same way as Richard did, so you can compare > > > > ****** aPage = 1, Same? true true > Regex1: 8943 ms > Chunk1: 210 ms > Regex2: 99 ms > Regex2 faster than orig regex by: 90.3 times > Regex2 faster than Chunk by: 2.1 times > > ****** aPage = 2, Same? true true > Regex1: 9946 ms > Chunk1: 212 ms > Regex2: 100 ms > Regex2 faster than orig regex by: 99.5 times > Regex2 faster than Chunk by: 2.1 times > > ****** aPage = 3, Same? true true > Regex1: 4451 ms > Chunk1: 210 ms > Regex2: 98 ms > Regex2 faster than orig regex by: 45.4 times > Regex2 faster than Chunk by: 2.1 times > > ****** aPage = 4, Same? true true > Regex1: 11465 ms > Chunk1: 200 ms > Regex2: 98 ms > Regex2 faster than orig regex by: 117 times > Regex2 faster than Chunk by: 2 times > > ****** aPage = 5, Same? true true > Regex1: 11457 ms > Chunk1: 201 ms > Regex2: 94 ms > Regex2 faster than orig regex by: 121.9 times > Regex2 faster than Chunk by: 2.1 times > -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From roland.huettmann at gmail.com Wed Feb 3 15:52:29 2016 From: roland.huettmann at gmail.com (Roland Huettmann) Date: Wed, 3 Feb 2016 21:52:29 +0100 Subject: Moving the mouse pointer by script In-Reply-To: References: Message-ID: Yes, that was the answer. Somehow I overlooked it. As a little starter for those who need it here is a little script. Without the wait command, the mouse movement is not visible. on mouseUp get the topleft of this stack add 10 to item 1 of it add 30 to item 2 of it put 1 into x put the width of this stack * 2 into n repeat n if item 1 of it >= the right of this stack then put x * -1 into x end if add x to item 1 of it set the screenMouseLoc to it wait 1 end repeat end mouseUp Roland On 3 February 2016 at 16:01, Klaus major-k wrote: > Hi Roland, > > > Am 03.02.2016 um 15:55 schrieb Roland Huettmann < > roland.huettmann at gmail.com>: > > > > Looking up lots of sites and messages, I could not find a way moving > > (dragging) the mouse pointer using a script. > > > > Or am I just blind? > > > > This is for an animation sequence... instead of the user dragging an > > object, the object is dragged using the mouse without user interaction - > so > > the pointer is visually moving on the screen from A to B. The mouse > pointer > > is just moving to some location doing some action and the user watching > it. > > It should give a lesson to the user. > > > > A video can be made, but that is not what we intend to do. It should be > > real. > > > > Any suggestions? > > check ?the screenmouseloc? in the dictionary. > This is the only (location) property of the mouse that you can actually > SET. > > > Roland > > > > I AM VERY HAPPY WITH 7.1. IT IS STABLE SO FAR: AND THAT IS MOST IMPORTANT > > TO ME. > > MANY THANKS TO THE DEDICATED ENDLESSLY WORKING TEAM IN GOOD OLD SCOTLAND. > > CHEERS TO ALL OF THEM. > > Maybe version 7.1.2 (RC1) will make you even more happy? :-D > It was published today. > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Feb 3 16:03:22 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 03 Feb 2016 13:03:22 -0800 Subject: Moving the mouse pointer by script In-Reply-To: References: Message-ID: As Klaus said, screenMouseLoc is what you need. In my case, I'd like to know how not only how to move the mouse, but to drag an object via script as well. Obviously one can set the loc of the object, but is there way to trick LiveCode into thinking the mouse is down so that the standard actions of dragging and resizing can be accomplished as well without having to do those actions by separate script? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/3/16, 6:55 AM, "use-livecode on behalf of Roland Huettmann" wrote: >Looking up lots of sites and messages, I could not find a way moving >(dragging) the mouse pointer using a script. > >Or am I just blind? > >This is for an animation sequence... instead of the user dragging an >object, the object is dragged using the mouse without user interaction - >so >the pointer is visually moving on the screen from A to B. The mouse >pointer >is just moving to some location doing some action and the user watching >it. >It should give a lesson to the user. > >A video can be made, but that is not what we intend to do. It should be >real. > >Any suggestions? > >Roland > >I AM VERY HAPPY WITH 7.1. IT IS STABLE SO FAR: AND THAT IS MOST IMPORTANT >TO ME. >MANY THANKS TO THE DEDICATED ENDLESSLY WORKING TEAM IN GOOD OLD SCOTLAND. >CHEERS TO ALL OF THEM. >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at mac.com Wed Feb 3 16:05:00 2016 From: cszasz at mac.com (Charles Szasz) Date: Wed, 03 Feb 2016 14:05:00 -0700 Subject: Launching a PDF file stored within a desktop app Message-ID: Has anyone come up with a script to launch a PDF that is a file within a desktop app? I was thinking of including a PDF Help file within an app. Sent from my iPad From roger.e.eller at sealedair.com Wed Feb 3 16:25:14 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 3 Feb 2016 16:25:14 -0500 Subject: Launching a PDF file stored within a desktop app In-Reply-To: References: Message-ID: Only within an embedded browser, but it works. ~Roger On Wed, Feb 3, 2016 at 4:05 PM, Charles Szasz wrote: > Has anyone come up with a script to launch a PDF that is a file within a > desktop app? I was thinking of including a PDF Help file within an app. > > Sent from my iPad > > From bonnmike at gmail.com Wed Feb 3 16:39:06 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 3 Feb 2016 14:39:06 -0700 Subject: Moving the mouse pointer by script In-Reply-To: References: Message-ID: If I can find the code, somewhere around here I have an external that sends clicks. For my use I had it send a down and up, was using it as part of a remote control system. (so that I could run my computer, from my android device) If I can locate the code, it shouldn't be too hard to separate the 2 things (down and up) so that you can use it to click and hold, and send the up when you wish.. The livecode built in click does down and up, and doesn't work outside livecode. Going in search of the code. On Wed, Feb 3, 2016 at 2:03 PM, Scott Rossi wrote: > As Klaus said, screenMouseLoc is what you need. > > In my case, I'd like to know how not only how to move the mouse, but to > drag an object via script as well. Obviously one can set the loc of the > object, but is there way to trick LiveCode into thinking the mouse is down > so that the standard actions of dragging and resizing can be accomplished > as well without having to do those actions by separate script? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/3/16, 6:55 AM, "use-livecode on behalf of Roland Huettmann" > roland.huettmann at gmail.com> wrote: > > >Looking up lots of sites and messages, I could not find a way moving > >(dragging) the mouse pointer using a script. > > > >Or am I just blind? > > > >This is for an animation sequence... instead of the user dragging an > >object, the object is dragged using the mouse without user interaction - > >so > >the pointer is visually moving on the screen from A to B. The mouse > >pointer > >is just moving to some location doing some action and the user watching > >it. > >It should give a lesson to the user. > > > >A video can be made, but that is not what we intend to do. It should be > >real. > > > >Any suggestions? > > > >Roland > > > >I AM VERY HAPPY WITH 7.1. IT IS STABLE SO FAR: AND THAT IS MOST IMPORTANT > >TO ME. > >MANY THANKS TO THE DEDICATED ENDLESSLY WORKING TEAM IN GOOD OLD SCOTLAND. > >CHEERS TO ALL OF THEM. > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Feb 3 15:10:12 2016 From: pete at lcsql.com (Peter Haworth) Date: Wed, 03 Feb 2016 20:10:12 +0000 Subject: AW: Re: Regex help needed... In-Reply-To: <56B25DE1.3050007@fourthworld.com> References: <56B25DE1.3050007@fourthworld.com> Message-ID: Hi Thierry, I might have missed it but did you publish your Regex2 to the list? Pete On Wed, Feb 3, 2016 at 12:07 PM Richard Gaskin wrote: > Thierry Douez write: > > >> Regex has been around a long time > >> and lots of smart computer science types has > >> spent time coming up with ways to optimize its performance for pattern > >> matching. > > > > That's was true, it's still true and will always be true! > > It's true that there are almost always ways to improve performance using > any method, but there are times when one method may be faster than > another so it's worth testing out, as you did here: > > > and here are some benchmarks > > done in a late rainy sunday evening: > > > > > > * Regex2 faster than Chunk by: 2.1 times* > > Great results - what was the regex you used for that? > > > > For the details: > > > > 1) Regex1 is the original regex, Chunk1 is from Richard, Regex2 is mine. > > 2) You can noticed the difference in time depending on the value of pPage > > ( that's a normal behavior with regex) > > 3) I've done the calculation the same way as Richard did, so you can > compare > > > > > > > > ****** aPage = 1, Same? true true > > Regex1: 8943 ms > > Chunk1: 210 ms > > Regex2: 99 ms > > Regex2 faster than orig regex by: 90.3 times > > Regex2 faster than Chunk by: 2.1 times > > > > ****** aPage = 2, Same? true true > > Regex1: 9946 ms > > Chunk1: 212 ms > > Regex2: 100 ms > > Regex2 faster than orig regex by: 99.5 times > > Regex2 faster than Chunk by: 2.1 times > > > > ****** aPage = 3, Same? true true > > Regex1: 4451 ms > > Chunk1: 210 ms > > Regex2: 98 ms > > Regex2 faster than orig regex by: 45.4 times > > Regex2 faster than Chunk by: 2.1 times > > > > ****** aPage = 4, Same? true true > > Regex1: 11465 ms > > Chunk1: 200 ms > > Regex2: 98 ms > > Regex2 faster than orig regex by: 117 times > > Regex2 faster than Chunk by: 2 times > > > > ****** aPage = 5, Same? true true > > Regex1: 11457 ms > > Chunk1: 201 ms > > Regex2: 94 ms > > Regex2 faster than orig regex by: 121.9 times > > Regex2 faster than Chunk by: 2.1 times > > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Wed Feb 3 18:18:07 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 3 Feb 2016 16:18:07 -0700 Subject: Moving the mouse pointer by script In-Reply-To: References: Message-ID: nope, can't find it. If you have a handle on LCB you could try using com.livecode.foreign in lcb to set up a mousedown and mouseup. From cszasz at mac.com Wed Feb 3 18:28:16 2016 From: cszasz at mac.com (Charles Szasz) Date: Wed, 03 Feb 2016 16:28:16 -0700 Subject: Launching a PDF file stored within a desktop app Message-ID: <954AD987-5557-4608-83F3-4F30B2C1CFE6@mac.com> Roger, How well does printing does the printing work on Windows and Mac? Sent from my iPad From paul at livecode.org Wed Feb 3 18:50:33 2016 From: paul at livecode.org (Paul Hibbert) Date: Wed, 3 Feb 2016 15:50:33 -0800 Subject: Launching a PDF file stored within a desktop app In-Reply-To: References: Message-ID: <97E6CAEC-0EF2-4ACF-A415-DF17D9DE3C8C@livecode.org> Charles, Check out: launch url or? launch [documentPath with] applicationPath in the dictionary example script? on mouseUp put the effective fileName of this stack into tPdf set the itemDel to slash delete item -1 of tPdf put "/Support/Instructions.pdf" after tPdf launch tPdf with "/Applications/Preview.app" end mouseUp ?works for me in a standalone if you add a folder ?Support' containing the ?Instructions.pdf' in the ?Copy Files? pane of the ?Standalone Application Settings?. For this to work in the IDE, make sure the ?Support? folder is next to the Livecode stack. Paul > On 3 Feb 2016, at 13:05, Charles Szasz > wrote: > > Has anyone come up with a script to launch a PDF that is a file within a desktop app? I was thinking of including a PDF Help file within an app. > > Sent from my iPad > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bornstein at designeq.com Wed Feb 3 19:26:59 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Wed, 3 Feb 2016 16:26:59 -0800 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: As did I. What happened when you set the linesize to 0? On Mon, Feb 1, 2016 at 12:42 PM, Devin Asay wrote: > > > On Feb 1, 2016, at 11:53 AM, Howard Bornstein > wrote: > > > > If you set the line size to 0, the outer glow disappears. > > For what kind of object? I tested it on a graphic object. > > Devin > > Devin Asay > 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 > -- Regards, Howard Bornstein ----------------------- www.designeq.com From lan.kc.macmail at gmail.com Wed Feb 3 19:07:18 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 4 Feb 2016 08:07:18 +0800 Subject: AppleScript vs VBScript In-Reply-To: <63f4fde78a1160616813b69edef56559@livecode.com> References: <63f4fde78a1160616813b69edef56559@livecode.com> Message-ID: Thanks Mark, that is certainly much clearer than what the Dictionary says. I've found this nice short example on the List but before I add it to the Dictionary I would appreciate if someone could confirm it works in the latest version of Windows. The poster made a snide comment that it may or may not work with certain flavours of VBScript & Windows: put "result = FormatCurrency(25432)" into tScript do tScript as vbscript put the result As long as your system region settings are what you expect you should get $25,432.00 in the message box On Thu, Feb 4, 2016 at 12:59 AM, Mark Waddingham wrote: > On 2016-02-03 16:25, Kay C Lan wrote: > >> So again this leave me wonder as to the real situation with Windows? Can >> it >> be like OS X where you simply check LC's 'the result' ? On Windows how do >> you know when you NEED to declare in VBScript and when you don't >> ? >> > > My AppleScript and VBScript are a little rusty, however if I recall > correctly... > > All statements in AppleScript notionally return a value (just like > JavaScript). This means that if you execute a snippet of AppleScript, there > is a well-defined 'result' which can be returned. So all the engine does > for AppleScript is use the returned value from the 'exec code snippet' API > that is used to set 'the result' on the LiveCode side. > > In contrast, no statements in VBScript return a value - only expressions > do. This means that when you execute a snippet of VBScript there is no > return value to be had from the API which is used. To work-around this the > engine does the following: > 1) execute snippet of VBScript > 2) if the script has declared a global 'result' variable, take the value > of that and set 'the result' on the LiveCode side > 3) if the script has not declared a global 'result' variable, then set > 'the result' to empty on the LiveCode side > > Therefore, in answer to your question, if you want your VBScript code > snippet to return a value to LiveCode when using 'do ... as ...', you have > to declare a global variable called 'result' in the snippet and set that to > the return value you want LiveCode to see (in that snippet). > > Hope this helps! > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Wed Feb 3 20:19:20 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 4 Feb 2016 01:19:20 +0000 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: Hi Howard - the outerglow (and innerglow) of an object display fine for me on both a field and an (and this bit is important) *opaque* graphic object when their borderWidth and lineSize properties are respectively set to 0. Terry... On 4/02/2016 11:26 am, "use-livecode on behalf of Howard Bornstein" wrote: >As did I. What happened when you set the linesize to 0? > >On Mon, Feb 1, 2016 at 12:42 PM, Devin Asay wrote: > >> >> > On Feb 1, 2016, at 11:53 AM, Howard Bornstein >> wrote: >> > >> > If you set the line size to 0, the outer glow disappears. >> >> For what kind of object? I tested it on a graphic object. >> >> Devin >> >> Devin Asay >> 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 >> > > > >-- >Regards, > >Howard Bornstein >----------------------- >www.designeq.com >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Feb 3 20:57:43 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 3 Feb 2016 17:57:43 -0800 Subject: export variables to launched process? Message-ID: <56B2B017.9050103@fourthworld.com> I've successfully exported variables to a process run with shell, e.g.: put shell("export somevar='Hello!'; ./test.sh") ...where test.sh simply echoes somevar to verify that it got it. Now I have a process I need to read and write to, but I don't know how to export variables to it - clues? -- 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 devin_asay at byu.edu Wed Feb 3 21:09:56 2016 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 4 Feb 2016 02:09:56 +0000 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> , Message-ID: Howard, I'll bet it's what Terry said. I remember being surprised once when effects didn't work on a transparent graphic. Devin Sent from my iPhone > On Feb 3, 2016, at 6:21 PM, Terry Judd wrote: > > Hi Howard - the outerglow (and innerglow) of an object display fine for me > on both a field and an (and this bit is important) *opaque* graphic object > when their borderWidth and lineSize properties are respectively set to 0. > > Terry... > > On 4/02/2016 11:26 am, "use-livecode on behalf of Howard Bornstein" > bornstein at designeq.com> wrote: > >> As did I. What happened when you set the linesize to 0? >> >>> On Mon, Feb 1, 2016 at 12:42 PM, Devin Asay wrote: >>> >>> >>>>> On Feb 1, 2016, at 11:53 AM, Howard Bornstein >>>> wrote: >>>> >>>> If you set the line size to 0, the outer glow disappears. >>> >>> For what kind of object? I tested it on a graphic object. >>> >>> Devin >>> >>> Devin Asay >>> 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 >> >> >> >> -- >> Regards, >> >> Howard Bornstein >> ----------------------- >> www.designeq.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 lan.kc.macmail at gmail.com Wed Feb 3 21:20:19 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 4 Feb 2016 10:20:19 +0800 Subject: How to create a hyperlink within a text field? In-Reply-To: References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> <007701d15e88$518cf310$f4a6d930$@kestner.de> Message-ID: On Thu, Feb 4, 2016 at 12:58 AM, Peter Brigham wrote: > Two ways to do it. The first and simplest is to lock the screen and do 2 > finds in succession, as you suggested. It's not that simple. If your chapter is called 'Opinions' or 'LiveCode' or something else that may frequently appear in your text you can not guarantee it will be the 2nd find. The second is to get the lineoffsets > of the link text and scroll to the second occurrence of it. With lineOffset you can guarantee that it will be the first line found by determining how long your TOC is or on what line the 'body' of your information starts within your field and using this as the parameter. select line (lineOffset(tHeading, fld "Interesting stuf", 27) + 3) of fld "interesting stuff" Once you find > the line offset of the actual chapter heading, use "the formattedheight of > line 1 to chapterLineNbr of fld xxx" to get the scroll, and then set it > accordingly. > > It is a pity you have to do that. It would be nice if 'select line x of fld y' had a [top | middle | bottom] option. Currently if you 'select line 15 of fld "my field"' regardless of the number of soft wrapped lines, hard line 15 will be scrolled to appear as the bottom visible line in your fld. Why they didn't make it the top line I'm not sure as I'd think that more useful, but still, having a choice would be nice. You can move your line to the 2nd bottom line - line lineOffset() + 1, or 3rd bottom line - line lineOffset() + 2, etc etc. and you can rough fudge it to the middle, but you need the fomattedheight to get it to the top. HTH From iowahengst at mac.com Wed Feb 3 21:40:24 2016 From: iowahengst at mac.com (Randy Hengst) Date: Wed, 03 Feb 2016 20:40:24 -0600 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: When the graphic or button is transparent and show name is selected, you should see the outerGlow effect around the name of the control. be well, randy www.classroomFocusedSoftware.com > On Feb 3, 2016, at 7:19 PM, Terry Judd wrote: > > Hi Howard - the outerglow (and innerglow) of an object display fine for me > on both a field and an (and this bit is important) *opaque* graphic object > when their borderWidth and lineSize properties are respectively set to 0. > > Terry... > > On 4/02/2016 11:26 am, "use-livecode on behalf of Howard Bornstein" > bornstein at designeq.com> wrote: > >> As did I. What happened when you set the linesize to 0? >> >>> On Mon, Feb 1, 2016 at 12:42 PM, Devin Asay wrote: >>> >>> >>>>> On Feb 1, 2016, at 11:53 AM, Howard Bornstein >>>> wrote: >>>> >>>> If you set the line size to 0, the outer glow disappears. >>> >>> For what kind of object? I tested it on a graphic object. >>> >>> Devin >>> >>> Devin Asay >>> 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 >> >> >> >> -- >> Regards, >> >> Howard Bornstein >> ----------------------- >> www.designeq.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 bernd.niggemann at uni-wh.de Wed Feb 3 21:24:36 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 3 Feb 2016 18:24:36 -0800 (PST) Subject: Moving the mouse pointer by script In-Reply-To: References: Message-ID: <1454552676899-4700697.post@n4.nabble.com> Hi Scott, just looked at it and if I understand what you want to do then the drag command does it. make a small graphic "g1" place it into the center of a card make a button "bDrag" and place it in the topLeft cornder another button in the lower half of the card script of that button -------------------------------- on mouseUp put the bottomRight of btn "bDrag" into tStart subtract 1 from item 1 of tStart subtract 1 from item 2 of tStart put loc of grc "g1" into tEnd choose the pointer tool select button "bDrag" set the dragSpeed to 100 drag button 1 from tStart to tEnd choose the browse tool end mouseUp ------------------------------ this will change the size of the button and you can watch this. You can also move the button without changing its size if you don't select and edit mode the script etc. movement is not super smooth but it moves. DragSpeed controls speed. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Moving-the-mouse-pointer-by-script-tp4700669p4700697.html Sent from the Revolution - User mailing list archive at Nabble.com. From roger.e.eller at sealedair.com Wed Feb 3 21:55:09 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 3 Feb 2016 21:55:09 -0500 Subject: Launching a PDF file stored within a desktop app In-Reply-To: <954AD987-5557-4608-83F3-4F30B2C1CFE6@mac.com> References: <954AD987-5557-4608-83F3-4F30B2C1CFE6@mac.com> Message-ID: I have only used the browser method for viewing a PDF in a Windows exe. It should print though, just as it would from a browser. On Feb 3, 2016 6:28 PM, "Charles Szasz" wrote: > Roger, > > How well does printing does the printing work on Windows and Mac? > > Sent from my iPad > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bornstein at designeq.com Wed Feb 3 22:38:45 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Wed, 3 Feb 2016 19:38:45 -0800 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: Yes this is true and understood. However, I've been working with Brahmanathswami to find a solution for a transparent object because, as he says, "Any inner glow or outer glow leaves a sharp edge on the object no matter what we do." (with an opaque object) He was looking for a way to feather images within LC and an opaque graphic object won't do that (as far as I can tell). On Wed, Feb 3, 2016 at 5:19 PM, Terry Judd wrote: > Hi Howard - the outerglow (and innerglow) of an object display fine for me > on both a field and an (and this bit is important) *opaque* graphic object > when their borderWidth and lineSize properties are respectively set to 0. > > Terry... > > On 4/02/2016 11:26 am, "use-livecode on behalf of Howard Bornstein" > bornstein at designeq.com> wrote: > > >As did I. What happened when you set the linesize to 0? > > > >On Mon, Feb 1, 2016 at 12:42 PM, Devin Asay wrote: > > > >> > >> > On Feb 1, 2016, at 11:53 AM, Howard Bornstein > > >> wrote: > >> > > >> > If you set the line size to 0, the outer glow disappears. > >> > >> For what kind of object? I tested it on a graphic object. > >> > >> Devin > >> > >> Devin Asay > >> 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 > >> > > > > > > > >-- > >Regards, > > > >Howard Bornstein > >----------------------- > >www.designeq.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 > -- Regards, Howard Bornstein ----------------------- www.designeq.com From jacque at hyperactivesw.com Wed Feb 3 23:38:01 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 3 Feb 2016 22:38:01 -0600 Subject: How to create a hyperlink within a text field? In-Reply-To: References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> <007701d15e88$518cf310$f4a6d930$@kestner.de> Message-ID: <56B2D5A9.5090008@hyperactivesw.com> A little trick: Create or import a transparent 1x1 pixel image. Hide it. Make each line in the table of contents into linked text. The html of each line looks like this: Chapter one In the body text of the field, place a marker character before the chapter heading. I'm using "#", like this: #Chapter One Then set the imagesource of char 1 of the line to the ID of the transparent image. You won't be able to see the first character after that but the text is still there. The htmltext of that line looks like this:

Chapter One

The line will be slightly indented by one pixel, but it shouldn't be noticeable. If you center the heading, it is imperceptible. In the field script: on linkclicked pURL put "#" before pURL put lineoffset(pURL, the formattedtext of me) into tLineNum set the scroll of me to the effective textheight of me * (tLineNum-1) end linkclicked If you choose a marker character that doesn't exist in the body text, lineoffset will always return the correct line. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Wed Feb 3 23:44:09 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 03 Feb 2016 20:44:09 -0800 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: The way one *should* be able to do this is using the innerGlow effect. However, by itself, using the basic setting is not strong enough, and the spread effect is backwards (increases outward, rather than inward -- bug) so that's useless. You can achieve a feather effect using multiple objects stacked on top of each other, but then you have to ask is that worth doing. If you have to do anything with the set of objects, such as move it around or scale it, then the effect is probably too much trouble, especially on mobile. You can create a feather effect by grouping the source image with a mask image that contains a painted rectangular inner glow effect. If you set the centerRect of the mask image to appropriate dimensions (the radius of glow at each corner of the image), you can resize the group and keep the glow effect intact with no loss of quality. FYI, you can create a transparent graphic with innerGlow using an ink effect. For example, set the backColor of the graphic to black, apply a white innerGlow (255 opacity), and set the ink of the graphic to blendScreen. This will make all black in the graphic transparent while keeping the white intact. But again, the innerGlow is fairly weak. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/3/16, 7:38 PM, "use-livecode on behalf of Howard Bornstein" wrote: >Yes this is true and understood. However, I've been working with >Brahmanathswami to find a solution for a transparent object because, as he >says, "Any inner glow or outer glow leaves a sharp edge on the object no >matter what we do." (with an opaque object) > >He was looking for a way to feather images within LC and an opaque graphic >object won't do that (as far as I can tell). > >On Wed, Feb 3, 2016 at 5:19 PM, Terry Judd >wrote: > >> Hi Howard - the outerglow (and innerglow) of an object display fine for >>me >> on both a field and an (and this bit is important) *opaque* graphic >>object >> when their borderWidth and lineSize properties are respectively set to >>0. >> >> Terry... >> >> On 4/02/2016 11:26 am, "use-livecode on behalf of Howard Bornstein" >> > bornstein at designeq.com> wrote: >> >> >As did I. What happened when you set the linesize to 0? >> > >> >On Mon, Feb 1, 2016 at 12:42 PM, Devin Asay wrote: >> > >> >> >> >> > On Feb 1, 2016, at 11:53 AM, Howard Bornstein >>> > >> >> wrote: >> >> > >> >> > If you set the line size to 0, the outer glow disappears. >> >> >> >> For what kind of object? I tested it on a graphic object. >> >> >> >> Devin >> >> >> >> Devin Asay >> >> 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 >> >> >> > >> > >> > >> >-- >> >Regards, >> > >> >Howard Bornstein >> >----------------------- >> >www.designeq.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 >> > > > >-- >Regards, > >Howard Bornstein >----------------------- >www.designeq.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 terry.judd at unimelb.edu.au Thu Feb 4 00:45:32 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 4 Feb 2016 05:45:32 +0000 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: OK, what about this? Transparent (non opaque) graphic object with a 1 pixel linesize. Apply an outer glow - this will display equally on either side of the border. Then alter the border colour to match the glow where it adjoins the border. The border ?disappears? but it may or may not simulate the effect you are looking for. Terry... On 4/02/2016 3:44 pm, "use-livecode on behalf of Scott Rossi" wrote: >The way one *should* be able to do this is using the innerGlow effect. >However, by itself, using the basic setting is not strong enough, and the >spread effect is backwards (increases outward, rather than inward -- bug) >so that's useless. > >You can achieve a feather effect using multiple objects stacked on top of >each other, but then you have to ask is that worth doing. If you have to >do anything with the set of objects, such as move it around or scale it, >then the effect is probably too much trouble, especially on mobile. > >You can create a feather effect by grouping the source image with a mask >image that contains a painted rectangular inner glow effect. If you set >the centerRect of the mask image to appropriate dimensions (the radius of >glow at each corner of the image), you can resize the group and keep the >glow effect intact with no loss of quality. > >FYI, you can create a transparent graphic with innerGlow using an ink >effect. For example, set the backColor of the graphic to black, apply a >white innerGlow (255 opacity), and set the ink of the graphic to >blendScreen. This will make all black in the graphic transparent while >keeping the white intact. But again, the innerGlow is fairly weak. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > > > > >On 2/3/16, 7:38 PM, "use-livecode on behalf of Howard Bornstein" >bornstein at designeq.com> wrote: > >>Yes this is true and understood. However, I've been working with >>Brahmanathswami to find a solution for a transparent object because, as >>he >>says, "Any inner glow or outer glow leaves a sharp edge on the object no >>matter what we do." (with an opaque object) >> >>He was looking for a way to feather images within LC and an opaque >>graphic >>object won't do that (as far as I can tell). >> >>On Wed, Feb 3, 2016 at 5:19 PM, Terry Judd >>wrote: >> >>> Hi Howard - the outerglow (and innerglow) of an object display fine for >>>me >>> on both a field and an (and this bit is important) *opaque* graphic >>>object >>> when their borderWidth and lineSize properties are respectively set to >>>0. >>> >>> Terry... >>> >>> On 4/02/2016 11:26 am, "use-livecode on behalf of Howard Bornstein" >>> >> bornstein at designeq.com> wrote: >>> >>> >As did I. What happened when you set the linesize to 0? >>> > >>> >On Mon, Feb 1, 2016 at 12:42 PM, Devin Asay >>>wrote: >>> > >>> >> >>> >> > On Feb 1, 2016, at 11:53 AM, Howard Bornstein >>>>> > >>> >> wrote: >>> >> > >>> >> > If you set the line size to 0, the outer glow disappears. >>> >> >>> >> For what kind of object? I tested it on a graphic object. >>> >> >>> >> Devin >>> >> >>> >> Devin Asay >>> >> 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 >>> >> >>> > >>> > >>> > >>> >-- >>> >Regards, >>> > >>> >Howard Bornstein >>> >----------------------- >>> >www.designeq.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 >>> >> >> >> >>-- >>Regards, >> >>Howard Bornstein >>----------------------- >>www.designeq.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 bornstein at designeq.com Thu Feb 4 00:50:06 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Wed, 3 Feb 2016 21:50:06 -0800 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: > > You can achieve a feather effect using multiple objects stacked on top of > each other, but then you have to ask is that worth doing. If you have to > do anything with the set of objects, such as move it around or scale it, > then the effect is probably too much trouble, especially on mobile. > This is how we did it?using multiple graphic objects stacked. However, I used a gradient for each edge and used Outer Glow. I think it would be a lot of work to script this for general work but Brahmanathaswami seems to think it will be worthwhile to try it. I'm interested to see what he comes up with. You can create a feather effect by grouping the source image with a mask > image that contains a painted rectangular inner glow effect. If you set > the centerRect of the mask image to appropriate dimensions (the radius of > glow at each corner of the image), you can resize the group and keep the > glow effect intact with no loss of quality. > I couldn't get this to look anything like feathering because it always had a hard edge. Maybe that is because of the weakness of the inner glow? > FYI, you can create a transparent graphic with innerGlow using an ink > effect. For example, set the backColor of the graphic to black, apply a > white innerGlow (255 opacity), and set the ink of the graphic to > blendScreen. This will make all black in the graphic transparent while > keeping the white intact. But again, the innerGlow is fairly weak. > I couldn't get this to work at all. When I set the blending ink to BlendScreen, the black graphic became completely transparent, regardless of the inner glow settings. FWIW, I was able to easily create a feathered image for an oval or circular feather with one graphic object. To do it for a rectangle, took 4 graphic objects. In each case, we used Outer Glow with a gradient?radial for the oval, linear for the rectangle. > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/3/16, 7:38 PM, "use-livecode on behalf of Howard Bornstein" > bornstein at designeq.com> wrote: > > >Yes this is true and understood. However, I've been working with > >Brahmanathswami to find a solution for a transparent object because, as he > >says, "Any inner glow or outer glow leaves a sharp edge on the object no > >matter what we do." (with an opaque object) > > > >He was looking for a way to feather images within LC and an opaque graphic > >object won't do that (as far as I can tell). > > > >On Wed, Feb 3, 2016 at 5:19 PM, Terry Judd > >wrote: > > > >> Hi Howard - the outerglow (and innerglow) of an object display fine for > >>me > >> on both a field and an (and this bit is important) *opaque* graphic > >>object > >> when their borderWidth and lineSize properties are respectively set to > >>0. > >> > >> Terry... > >> > >> On 4/02/2016 11:26 am, "use-livecode on behalf of Howard Bornstein" > >> >> bornstein at designeq.com> wrote: > >> > >> >As did I. What happened when you set the linesize to 0? > >> > > >> >On Mon, Feb 1, 2016 at 12:42 PM, Devin Asay > wrote: > >> > > >> >> > >> >> > On Feb 1, 2016, at 11:53 AM, Howard Bornstein > >> >> > > >> >> wrote: > >> >> > > >> >> > If you set the line size to 0, the outer glow disappears. > >> >> > >> >> For what kind of object? I tested it on a graphic object. > >> >> > >> >> Devin > >> >> > >> >> Devin Asay > >> >> 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 > >> >> > >> > > >> > > >> > > >> >-- > >> >Regards, > >> > > >> >Howard Bornstein > >> >----------------------- > >> >www.designeq.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 > >> > > > > > > > >-- > >Regards, > > > >Howard Bornstein > >----------------------- > >www.designeq.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 > -- Regards, Howard Bornstein ----------------------- www.designeq.com From bornstein at designeq.com Thu Feb 4 00:52:58 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Wed, 3 Feb 2016 21:52:58 -0800 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: On Wed, Feb 3, 2016 at 9:45 PM, Terry Judd wrote: > OK, what about this? > > Transparent (non opaque) graphic object with a 1 pixel linesize. Apply an > outer glow - this will display equally on either side of the border. Then > alter the border colour to match the glow where it adjoins the border. The > border ?disappears? but it may or may not simulate the effect you are > looking for. > This is exactly what I did and it works pretty well. Unfortunately, while it works fine for creating a feathered rectangle (or oval), it doesn't really work for feathering an image, because you don't want the glow to be on the inside of the image. > > Terry... > > On 4/02/2016 3:44 pm, "use-livecode on behalf of Scott Rossi" > scott at tactilemedia.com> wrote: > > >The way one *should* be able to do this is using the innerGlow effect. > >However, by itself, using the basic setting is not strong enough, and the > >spread effect is backwards (increases outward, rather than inward -- bug) > >so that's useless. > > > >You can achieve a feather effect using multiple objects stacked on top of > >each other, but then you have to ask is that worth doing. If you have to > >do anything with the set of objects, such as move it around or scale it, > >then the effect is probably too much trouble, especially on mobile. > > > >You can create a feather effect by grouping the source image with a mask > >image that contains a painted rectangular inner glow effect. If you set > >the centerRect of the mask image to appropriate dimensions (the radius of > >glow at each corner of the image), you can resize the group and keep the > >glow effect intact with no loss of quality. > > > >FYI, you can create a transparent graphic with innerGlow using an ink > >effect. For example, set the backColor of the graphic to black, apply a > >white innerGlow (255 opacity), and set the ink of the graphic to > >blendScreen. This will make all black in the graphic transparent while > >keeping the white intact. But again, the innerGlow is fairly weak. > > > >Regards, > > > >Scott Rossi > >Creative Director > >Tactile Media, UX/UI Design > > > > > > > > > >On 2/3/16, 7:38 PM, "use-livecode on behalf of Howard Bornstein" > > >bornstein at designeq.com> wrote: > > > >>Yes this is true and understood. However, I've been working with > >>Brahmanathswami to find a solution for a transparent object because, as > >>he > >>says, "Any inner glow or outer glow leaves a sharp edge on the object no > >>matter what we do." (with an opaque object) > >> > >>He was looking for a way to feather images within LC and an opaque > >>graphic > >>object won't do that (as far as I can tell). > >> > >>On Wed, Feb 3, 2016 at 5:19 PM, Terry Judd > >>wrote: > >> > >>> Hi Howard - the outerglow (and innerglow) of an object display fine for > >>>me > >>> on both a field and an (and this bit is important) *opaque* graphic > >>>object > >>> when their borderWidth and lineSize properties are respectively set to > >>>0. > >>> > >>> Terry... > >>> > >>> On 4/02/2016 11:26 am, "use-livecode on behalf of Howard Bornstein" > >>> >>> bornstein at designeq.com> wrote: > >>> > >>> >As did I. What happened when you set the linesize to 0? > >>> > > >>> >On Mon, Feb 1, 2016 at 12:42 PM, Devin Asay > >>>wrote: > >>> > > >>> >> > >>> >> > On Feb 1, 2016, at 11:53 AM, Howard Bornstein > >>> >>> > > >>> >> wrote: > >>> >> > > >>> >> > If you set the line size to 0, the outer glow disappears. > >>> >> > >>> >> For what kind of object? I tested it on a graphic object. > >>> >> > >>> >> Devin > >>> >> > >>> >> Devin Asay > >>> >> 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 > >>> >> > >>> > > >>> > > >>> > > >>> >-- > >>> >Regards, > >>> > > >>> >Howard Bornstein > >>> >----------------------- > >>> >www.designeq.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 > >>> > >> > >> > >> > >>-- > >>Regards, > >> > >>Howard Bornstein > >>----------------------- > >>www.designeq.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 > -- Regards, Howard Bornstein ----------------------- www.designeq.com From scott at tactilemedia.com Thu Feb 4 02:03:55 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 03 Feb 2016 23:03:55 -0800 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: I'm guessing you guys want the final result to be rectangular and not oval-shaped. That's too bad because you could use a radial gradient using a single color (i.e. white to white) in a graphic with the inner color set to 100% transparent -- this makes a near-perfect mask but only in oval shape. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/3/16, 9:50 PM, "use-livecode on behalf of Howard Bornstein" wrote: >>You can achieve a feather effect using multiple objects stacked on top of >>each other, but then you have to ask is that worth doing. If you have to >>do anything with the set of objects, such as move it around or scale it, >>then the effect is probably too much trouble, especially on mobile. >> > >This is how we did it?using multiple graphic objects stacked. However, I >used a gradient for each edge and used Outer Glow. I think it would be a >lot of work to script this for general work but Brahmanathaswami seems to >think it will be worthwhile to try it. I'm interested to see what he comes >up with. From smudge.andy at googlemail.com Thu Feb 4 02:20:48 2016 From: smudge.andy at googlemail.com (AndyP) Date: Wed, 3 Feb 2016 23:20:48 -0800 (PST) Subject: Launching a PDF file stored within a desktop app In-Reply-To: References: Message-ID: <1454570448627-4700706.post@n4.nabble.com> you could start by embedding the pdf in your app in a custom property and spit it out as required. see this post with links to examples. http://runtime-revolution.278305.n4.nabble.com/Ann-Save-and-Deploy-files-to-and-from-Custom-Properties-td4700387.html ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Launching-a-PDF-file-stored-within-a-desktop-app-tp4700683p4700706.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Thu Feb 4 03:17:43 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 4 Feb 2016 09:17:43 +0100 Subject: AW: How to create a hyperlink within a text field? In-Reply-To: <56B2D5A9.5090008@hyperactivesw.com> References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> <007701d15e88$518cf310$f4a6d930$@kestner.de> <56B2D5A9.5090008@hyperactivesw.com> Message-ID: <001e01d15f24$86052300$920f6900$@kestner.de> Thanks Jacque, I like it everytime to see the variety of solutions on the same issue. I think yours is the most elegant and compact one. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von J. Landman Gay Gesendet: Donnerstag, 4. Februar 2016 05:38 An: How to use LiveCode Betreff: Re: How to create a hyperlink within a text field? A little trick: Create or import a transparent 1x1 pixel image. Hide it. Make each line in the table of contents into linked text. The html of each line looks like this: Chapter one In the body text of the field, place a marker character before the chapter heading. I'm using "#", like this: #Chapter One Then set the imagesource of char 1 of the line to the ID of the transparent image. You won't be able to see the first character after that but the text is still there. The htmltext of that line looks like this:

Chapter One

The line will be slightly indented by one pixel, but it shouldn't be noticeable. If you center the heading, it is imperceptible. In the field script: on linkclicked pURL put "#" before pURL put lineoffset(pURL, the formattedtext of me) into tLineNum set the scroll of me to the effective textheight of me * (tLineNum-1) end linkclicked If you choose a marker character that doesn't exist in the body text, lineoffset will always return the correct 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 From mark at livecode.com Thu Feb 4 03:36:35 2016 From: mark at livecode.com (Mark Waddingham) Date: Thu, 04 Feb 2016 09:36:35 +0100 Subject: export variables to launched =?UTF-8?Q?process=3F?= In-Reply-To: <56B2B017.9050103@fourthworld.com> References: <56B2B017.9050103@fourthworld.com> Message-ID: On 2016-02-04 02:57, Richard Gaskin wrote: > I've successfully exported variables to a process run with shell, e.g.: > > put shell("export somevar='Hello!'; ./test.sh") > > ...where test.sh simply echoes somevar to verify that it got it. > > Now I have a process I need to read and write to, but I don't know how > to export variables to it - clues? A process that gets launched either via shell or open process will inherit the environment variables set by the engine... So I think doing: put "Hello!" into $somevar put shell("./test.sh") or open process ... for ... Should both have the effect that the launched process will see 'somevar' as specified. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From terry.judd at unimelb.edu.au Thu Feb 4 04:15:07 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 4 Feb 2016 09:15:07 +0000 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: OK - given that an image is involved (I think I missed that bit) and assuming you are feathering to a solid background colour, the best result that I got was overlaying two identically sized transparent graphics with a one or two pixel white border and an outer glow. The second graphic has different parameters to the first and is needed to remove the hint of an edge of the image that shows though the first graphic?s glow. Terry... On 4/02/2016 4:52 pm, "use-livecode on behalf of Howard Bornstein" wrote: >On Wed, Feb 3, 2016 at 9:45 PM, Terry Judd >wrote: > >> OK, what about this? >> >> Transparent (non opaque) graphic object with a 1 pixel linesize. Apply >>an >> outer glow - this will display equally on either side of the border. >>Then >> alter the border colour to match the glow where it adjoins the border. >>The >> border ?disappears? but it may or may not simulate the effect you are >> looking for. >> > >This is exactly what I did and it works pretty well. Unfortunately, while >it works fine for creating a feathered rectangle (or oval), it doesn't >really work for feathering an image, because you don't want the glow to be >on the inside of the image. > >> >> Terry... >> >> On 4/02/2016 3:44 pm, "use-livecode on behalf of Scott Rossi" >> > scott at tactilemedia.com> wrote: >> >> >The way one *should* be able to do this is using the innerGlow effect. >> >However, by itself, using the basic setting is not strong enough, and >>the >> >spread effect is backwards (increases outward, rather than inward -- >>bug) >> >so that's useless. >> > >> >You can achieve a feather effect using multiple objects stacked on top >>of >> >each other, but then you have to ask is that worth doing. If you have >>to >> >do anything with the set of objects, such as move it around or scale >>it, >> >then the effect is probably too much trouble, especially on mobile. >> > >> >You can create a feather effect by grouping the source image with a >>mask >> >image that contains a painted rectangular inner glow effect. If you >>set >> >the centerRect of the mask image to appropriate dimensions (the radius >>of >> >glow at each corner of the image), you can resize the group and keep >>the >> >glow effect intact with no loss of quality. >> > >> >FYI, you can create a transparent graphic with innerGlow using an ink >> >effect. For example, set the backColor of the graphic to black, apply >>a >> >white innerGlow (255 opacity), and set the ink of the graphic to >> >blendScreen. This will make all black in the graphic transparent while >> >keeping the white intact. But again, the innerGlow is fairly weak. >> > >> >Regards, >> > >> >Scott Rossi >> >Creative Director >> >Tactile Media, UX/UI Design >> > >> > >> > >> > >> >On 2/3/16, 7:38 PM, "use-livecode on behalf of Howard Bornstein" >> >> >bornstein at designeq.com> wrote: >> > >> >>Yes this is true and understood. However, I've been working with >> >>Brahmanathswami to find a solution for a transparent object because, >>as >> >>he >> >>says, "Any inner glow or outer glow leaves a sharp edge on the object >>no >> >>matter what we do." (with an opaque object) >> >> >> >>He was looking for a way to feather images within LC and an opaque >> >>graphic >> >>object won't do that (as far as I can tell). >> >> >> >>On Wed, Feb 3, 2016 at 5:19 PM, Terry Judd >> >>wrote: >> >> >> >>> Hi Howard - the outerglow (and innerglow) of an object display fine >>for >> >>>me >> >>> on both a field and an (and this bit is important) *opaque* graphic >> >>>object >> >>> when their borderWidth and lineSize properties are respectively set >>to >> >>>0. >> >>> >> >>> Terry... >> >>> >> >>> On 4/02/2016 11:26 am, "use-livecode on behalf of Howard Bornstein" >> >>> > >>> bornstein at designeq.com> wrote: >> >>> >> >>> >As did I. What happened when you set the linesize to 0? >> >>> > >> >>> >On Mon, Feb 1, 2016 at 12:42 PM, Devin Asay >> >>>wrote: >> >>> > >> >>> >> >> >>> >> > On Feb 1, 2016, at 11:53 AM, Howard Bornstein >> >>>> >>> > >> >>> >> wrote: >> >>> >> > >> >>> >> > If you set the line size to 0, the outer glow disappears. >> >>> >> >> >>> >> For what kind of object? I tested it on a graphic object. >> >>> >> >> >>> >> Devin >> >>> >> >> >>> >> Devin Asay >> >>> >> 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 >> >>> >> >> >>> > >> >>> > >> >>> > >> >>> >-- >> >>> >Regards, >> >>> > >> >>> >Howard Bornstein >> >>> >----------------------- >> >>> >www.designeq.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 >> >>> >> >> >> >> >> >> >> >>-- >> >>Regards, >> >> >> >>Howard Bornstein >> >>----------------------- >> >>www.designeq.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 >> > > > >-- >Regards, > >Howard Bornstein >----------------------- >www.designeq.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 peter.brett at livecode.com Thu Feb 4 04:57:41 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 4 Feb 2016 09:57:41 +0000 Subject: export variables to launched process? In-Reply-To: References: <56B2B017.9050103@fourthworld.com> Message-ID: <56B32095.9090605@livecode.com> On 04/02/2016 08:36, Mark Waddingham wrote: > On 2016-02-04 02:57, Richard Gaskin wrote: >> I've successfully exported variables to a process run with shell, e.g.: >> >> put shell("export somevar='Hello!'; ./test.sh") >> >> ...where test.sh simply echoes somevar to verify that it got it. >> >> Now I have a process I need to read and write to, but I don't know how >> to export variables to it - clues? > > A process that gets launched either via shell or open process will > inherit the environment variables set by the engine... So I think doing: > > put "Hello!" into $somevar > > put shell("./test.sh") > or > open process ... for ... > > Should both have the effect that the launched process will see 'somevar' > as specified. Of course, it's a good idea to be able to construct a specific environment for a subprocess, so please go ahead and file a bug report asking us to extend "open process" to allow passing in an array of environment variables! Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From bernd.niggemann at uni-wh.de Thu Feb 4 05:22:39 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Thu, 4 Feb 2016 02:22:39 -0800 (PST) Subject: AW: How to create a hyperlink within a text field? In-Reply-To: <001e01d15f24$86052300$920f6900$@kestner.de> References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> <007701d15e88$518cf310$f4a6d930$@kestner.de> <56B2D5A9.5090008@hyperactivesw.com> <001e01d15f24$86052300$920f6900$@kestner.de> Message-ID: <1454581359475-4700711.post@n4.nabble.com> Tiemo Hollmann TB wrote > Thanks Jacque, > >>>Create or import a transparent 1x1 pixel image. Hide it. Make each line in >>>the table of contents into linked text. The html of each line looks like > this: > Chapter one > > In the body text of the field, place a marker character before the chapter > heading. I'm using "#", like this: > > #Chapter One > > Then set the imagesource of char 1 of the line to the ID of the > transparent > image. You won't be able to see the first character after that but the > text > is still there. The htmltext of that line looks like this: >

<1036> > Chapter One >

> The line will be slightly indented by one pixel, but it shouldn't be > noticeable. If you center the heading, it is imperceptible. > > In the field script: > > on linkclicked pURL > put "#" before pURL > put lineoffset(pURL, the formattedtext of me) into tLineNum > set the scroll of me to the effective textheight of me * (tLineNum-1) > end > linkclicked > > If you choose a marker character that doesn't exist in the body text, > lineoffset will always return the correct line. I like Jaques solution too because it is unequivocal because of the hash. But Tiemo allows the user to change the width of the field, see his crossposting to the forum http://forums.livecode.com/viewtopic.php?f=9&t=26468 That is where Jaque's solution can fail because of wrapping. This code is a small change to Jacques solution that should not fail since words don't wrap ------------------------------------------------ on linkClicked pLink put "#" before pLink put the formattedText of me into tFormatData put lineOffset(pLink,the text of me) into tFound -- check against the number of words in formattedText later -- they don't change compared to regular text put the number of words of line 1 to tFound-1 of me +1 into tNoOfWords -- now get the number of lines to the first word of the found line put the number of lines of word 1 to tNoOfWords of tFormatData into tApparentLines put (tApparentLines - 1) * the effective textHeight of me into tvScroll set the vScroll of me to tvScroll end linkClicked ------------------------------------------------- Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-create-a-hyperlink-within-a-text-field-tp4700650p4700711.html Sent from the Revolution - User mailing list archive at Nabble.com. From bernd.niggemann at uni-wh.de Thu Feb 4 06:21:02 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Thu, 4 Feb 2016 03:21:02 -0800 (PST) Subject: AW: How to create a hyperlink within a text field? In-Reply-To: <1454581359475-4700711.post@n4.nabble.com> References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> <007701d15e88$518cf310$f4a6d930$@kestner.de> <56B2D5A9.5090008@hyperactivesw.com> <001e01d15f24$86052300$920f6900$@kestner.de> <1454581359475-4700711.post@n4.nabble.com> Message-ID: <1454584862154-4700712.post@n4.nabble.com> I posted 5 stacks with different solutions to Tiemo's problem > I want to create a kind of text hyperlink in a resizable scrolling field > with word wrap. > > I have a long text field with a table of contents at the beginning and > headlines for chapters and I would like to make the table of content > clickable as hyperlinks, so that the user is forwarded to the wanted > chapter in the same field. I can set the textstyle of each chapter in the > table of content to "link" among others Jacque's solution and my slight change to it. http://forums.livecode.com/viewtopic.php?f=9&t=26468 Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-create-a-hyperlink-within-a-text-field-tp4700650p4700712.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major-k.de Thu Feb 4 07:47:17 2016 From: klaus at major-k.de (Klaus major-k) Date: Thu, 4 Feb 2016 13:47:17 +0100 Subject: impossible datagrid trouble Message-ID: <918D81B4-3185-408D-AFAE-490505A127B3@major-k.de> Hi all, I have a datagrid of type form and its template group contains a group namded ?meu? which consists of: graphic ?one? graphic ?two? graphic ?three? field ?one? field ?two? field ?three? Now in my behaviour script I can do: ? put ?one,two,three" into tGCs repeat for each item i in tGCs ## Works: set the backgroundcolor of grc i of grp "meu" of me to 255,255,255 ## Error: No such object? hide fld i of grp "meu" of me ... But the field(s) are defintiviely there! I even let me answer all object names -> of grp ?meu? of me and of course the fields are in that list!? Quitting and restarting LC a couple of times did not bring any relief. At some points I even get an error from some LC library with a handler name ?movestack???? Any clever hints? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From neil at livecode.com Thu Feb 4 08:09:08 2016 From: neil at livecode.com (Neil Roger) Date: Thu, 04 Feb 2016 13:09:08 +0000 Subject: impossible datagrid trouble In-Reply-To: <918D81B4-3185-408D-AFAE-490505A127B3@major-k.de> References: <918D81B4-3185-408D-AFAE-490505A127B3@major-k.de> Message-ID: <56B34D74.6080001@livecode.com> Hi Klaus, Tried to re-create this but your scripts seem to be working fine in the sample stack I created Do you have a sample stack that I can test with? Kind Regards, Neil LiveCode Technical Support and Content Creation Lead neil at livecode.com LiveCode +44 (0) 845 219 8923. 25A Thistle Street Lane South West, Edinburgh, EH2 1EW http://www.livecode.com Facebook Twitter Youtube Linkedin On 04/02/2016 12:47, Klaus major-k wrote: > Hi all, > > I have a datagrid of type form and its template group contains > a group namded ?meu? which consists of: > > graphic ?one? > graphic ?two? > graphic ?three? > field ?one? > field ?two? > field ?three? > > Now in my behaviour script I can do: > ? > put ?one,two,three" into tGCs > repeat for each item i in tGCs > > ## Works: > set the backgroundcolor of grc i of grp "meu" of me to 255,255,255 > > ## Error: No such object? > hide fld i of grp "meu" of me > ... > But the field(s) are defintiviely there! > > I even let me answer all object names -> of grp ?meu? of me > and of course the fields are in that list!? > > Quitting and restarting LC a couple of times did not bring any relief. > At some points I even get an error from some LC library with a handler name ?movestack???? > > Any clever hints? > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ali.lloyd at livecode.com Thu Feb 4 08:49:12 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Thu, 04 Feb 2016 13:49:12 +0000 Subject: Release 8.0 DP 14 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 8.0 DP 14. Warning: this is not a stable release. Please ensure you back up your stacks before testing them. *IMPORTANT*: It is especially vital that you back up your stacks before testing them in 8.0 DP 14, as there has been a change to the save command in DP 13. The IDE has been updated to accommodate this change, but we strongly recommend making back-ups in case there is unforeseen data loss. *IMPORTANT*: Your stacks may appear different on first opening in 8.0 DP 14, due to the improvement in theming for desktop OSs as described below. The theming can be reverted to legacy on a per-object basis using the new *theme* property. For more information, see the release notes. *Release contents* *Better Desktop Theming* The default appearance of stacks on desktop platforms has been updated to more closely match the appearance of native apps. *Script Editor Performance* The script editor's performance with large scripts has been improved. *Unicode Text Performance* The engine's core unicode text processing functions have been sped up by approximately 25%. *HTML5 Engine Performane* The performance of the HTML5 engine has been restored to its former standard by removing the blocking syntax which was added in DP 13. *Menubar Icons* The menubar icons have been revamped, including high-res versions for retina displays. *Project Browser Selected Object* The selected object is now indicated in the project browser by a dotted line. *50 bug fixes* *Known Issues* - Windows 10 theming causes display issues with the dictionary, script editor and property inspector. - Cef Browser (and therefore the dictionary and browser widget) does not currently work on 32-bit Linux - HTML 5 standalones do not currently function when they contain extensions with dependencies. *Getting the release* You can get the release at http://downloads.livecode.com/livecode/ LiveCode 8 is still in development so we?d love to hear any feedback you have on it. There are a number of features that we?d like to implement but aren?t ready yet and the existing features are subject to change during development - we can?t guarantee that extensions written in Developer Previews will continue to work the same way in later versions. 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 The LiveCode Team From klaus at major-k.de Thu Feb 4 09:17:50 2016 From: klaus at major-k.de (Klaus major-k) Date: Thu, 4 Feb 2016 15:17:50 +0100 Subject: impossible datagrid trouble In-Reply-To: <56B34D74.6080001@livecode.com> References: <918D81B4-3185-408D-AFAE-490505A127B3@major-k.de> <56B34D74.6080001@livecode.com> Message-ID: Hi Ali, > Am 04.02.2016 um 14:09 schrieb Neil Roger : > > Hi Klaus, > > Tried to re-create this but your scripts seem to be working fine in the sample stack I created Not surprised? 8-) > Do you have a sample stack that I can test with? yes, I can strip down my stack a bit, create some instructions and then send it to your mail address? It is a NDA project, thanks! > Kind Regards, > > Neil Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From klaus at major-k.de Thu Feb 4 09:19:59 2016 From: klaus at major-k.de (Klaus major-k) Date: Thu, 4 Feb 2016 15:19:59 +0100 Subject: impossible datagrid trouble In-Reply-To: References: <918D81B4-3185-408D-AFAE-490505A127B3@major-k.de> <56B34D74.6080001@livecode.com> Message-ID: <8110324C-BAFE-426D-BCBE-7B5A9E4AF5E9@major-k.de> Sorry, I meant "Hello Neil", of course! > Am 04.02.2016 um 15:17 schrieb Klaus major-k : > > Hi Ali, > >> Am 04.02.2016 um 14:09 schrieb Neil Roger : >> >> Hi Klaus, >> >> Tried to re-create this but your scripts seem to be working fine in the sample stack I created > > Not surprised? 8-) > >> Do you have a sample stack that I can test with? > > yes, I can strip down my stack a bit, create some instructions and then send it to your mail address? > It is a NDA project, thanks! > >> Kind Regards, >> >> Neil > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Klaus Major http://www.major-k.de klaus at major-k.de From ambassador at fourthworld.com Thu Feb 4 10:33:41 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 4 Feb 2016 07:33:41 -0800 Subject: export variables to launched process? In-Reply-To: References: Message-ID: <56B36F55.50206@fourthworld.com> Mark Waddingham wrote: > On 2016-02-04 02:57, Richard Gaskin wrote: >> I've successfully exported variables to a process run with shell, >> e.g.: >> >> put shell("export somevar='Hello!'; ./test.sh") >> >> ...where test.sh simply echoes somevar to verify that it got it. >> >> Now I have a process I need to read and write to, but I don't know >> how to export variables to it - clues? > > A process that gets launched either via shell or open process will > inherit the environment variables set by the engine... So I think > doing: > > put "Hello!" into $somevar > > put shell("./test.sh") > or > open process ... for ... > > Should both have the effect that the launched process will see > 'somevar' as specified. Indeed it does. I had thought that was how it should work, but apparently I had a problem in the bash script I was running as the launched process, and that led me astray. So simple! Nice. Will that work on Windows as well? Here's what I'm up to: I've been writing a simple HTTP server for local testing of web stuff, particularly CGIs like LC Server and standalones made with LC run with -ui. With variable exporting I can recreate pretty much all the things a CGI needs from the Apache environment, with one exception which is my next task: POST data. When running a CGI that uses POST, the CGI will read stdin to obtain the POST data. My understanding is that LC Server does this for us and puts the parsed data into the array $_POST, as does PHP. But other CGIs, like standalones or bash scripts or others that don't offer that convenience, the process will need to read stdin to obtain that data. So my aim is to open the CGI process for append, write the POST data that I'd previously read from the socket to the opened process, read whatever comes back, and then close it and return the processes' output back over the socket to the client. For GET this is working now using "shell"; I haven't used "open process" in so long that I have no experience with how reading and writing work with regard to stdin in the child. I should have some time to experiment with that later today, but if you know of any reason why that won't work your input would be very helpful. Thanks - -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lists at mangomultimedia.com Thu Feb 4 10:37:09 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 4 Feb 2016 10:37:09 -0500 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: On Thu, Feb 4, 2016 at 8:49 AM, Ali Lloyd wrote: > > > We are pleased to announce the release of LiveCode 8.0 DP 14. > > *Script Editor Performance* > The script editor's performance with large scripts has been improved. > Considerably. Thank you! -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From ambassador at fourthworld.com Thu Feb 4 10:46:43 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 4 Feb 2016 07:46:43 -0800 Subject: export variables to launched process? In-Reply-To: <56B32095.9090605@livecode.com> References: <56B32095.9090605@livecode.com> Message-ID: <56B37263.4080006@fourthworld.com> Peter TB Brett wrote: > On 04/02/2016 08:36, Mark Waddingham wrote: >> On 2016-02-04 02:57, Richard Gaskin wrote: >>> Now I have a process I need to read and write to, but I don't know >>> how to export variables to it - clues? >> >> A process that gets launched either via shell or open process will >> inherit the environment variables set by the engine... So I think >> doing: >> >> put "Hello!" into $somevar >> >> put shell("./test.sh") >> or >> open process ... for ... >> >> Should both have the effect that the launched process will see >> 'somevar' as specified. > > Of course, it's a good idea to be able to construct a specific > environment for a subprocess, so please go ahead and file a bug > report asking us to extend "open process" to allow passing in an > array of environment variables! I like the idea, and with the rate at which the team has been knocking off bugs AND feature requests or v8 no doubt you'll run out of things to do soon. :) Let me give that some thought before I add it to the queue. At the moment it would be merely a convenience for which the methods available to us today isn't particularly onerous. But I must say how delightful it's been to see my In Box overflowing with bug report and feature request notifications marked "Resolved - Fixed"! Impressive amount of work going into v8 - very exciting. @Bramanathaswami: be sure to check out some of the control appearances on OS X and see if the improvements meet your friend's expectations. A great many appearance-related issues have been tidied up nicely for v8dp14 - see the note on p10 of the Release Notes, and some of the theming-related reports in the bug DB. -- 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 cszasz at mac.com Thu Feb 4 10:48:12 2016 From: cszasz at mac.com (Charles Szasz) Date: Thu, 04 Feb 2016 08:48:12 -0700 Subject: Launching a PDF file stored within a desktop app Message-ID: <09E8B748-6812-4D9E-9DE4-0B2A6B49F40C@mac.com> Paul, Thanks! I will try you script in one of my projects. Sent from my iPad From richmondmathewson at gmail.com Thu Feb 4 11:51:02 2016 From: richmondmathewson at gmail.com (RM) Date: Thu, 4 Feb 2016 18:51:02 +0200 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: <56B38176.8080900@gmail.com> So, here I am on Xubuntu 15.10 64-bit, having just installed LiveCode 8.0 DP 14: 1. All the coloured icons in the menuBar stack are now in black (possibly this is intentional). 2. Clicking on the Dictionary I get a large, empty, white stack and an error message: ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 89,736,9 77,736,40 456,736,9 465,736,9 490,736,9 241,734,1,revCacheGeometry 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript" 573,67,1,revCacheGeometry 253,67,1 241,66,1,revUpdateGeometry 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript" 573,5,1,revUpdateGeometry 241,5,1,resizeStack 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/reverrordisplay.livecodescript" 573,84,1,resizeStack 241,84,1,openStack 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/reverrordisplay.livecodescript" 529,7400,1,openStack 253,7400,1 241,7399,1,revIDEErrorDialog 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" 573,1677,1,revIDEErrorDialog 241,1677,1,errorDialog 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revbackscriptlibrary.livecodescript" 89,736,9 77,736,40 456,736,9 465,736,9 490,736,9 241,734,1,revCacheGeometry 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript" 573,67,1,revCacheGeometry 253,67,1 241,66,1,revUpdateGeometry 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript" 573,5,1,revUpdateGeometry 241,5,1,resizeStack 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/reverrordisplay.livecodescript" 573,84,1,resizeStack 241,84,1,openStack 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/reverrordisplay.livecodescript" 529,7400,1,openStack 253,7400,1 241,7399,1,revIDEErrorDialog 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" 573,1677,1,revIDEErrorDialog 241,1677,1,errorDialog 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revbackscriptlibrary.livecodescript" 89,736,9 77,736,40 456,736,9 465,736,9 490,736,9 241,734,1,revCacheGeometry 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript" 573,67,1,revCacheGeometry 253,67,1 241,66,1,revUpdateGeometry 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript" 573,5,1,revUpdateGeometry 241,5,1,resizeStack 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/reverrordisplay.livecodescript" 573,84,1,resizeStack 241,84,1,openStack 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/reverrordisplay.livecodescript" 529,7400,1,openStack 253,7400,1 241,7399,1,revIDEErrorDialog 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" 573,1677,1,revIDEErrorDialog 241,1677,1,errorDialog 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revbackscriptlibrary.livecodescript" 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" ERROR: Error when sending message ideActiveStacksChanged: 449,529,10 535,529,1 253,529,1 490,529,1 241,516,1,layoutMenu 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 573,249,1,layoutMenu 241,249,1,ideActiveStacksChanged 353,0,0,stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" 675,1729,1,ideActiveStacksChanged 162,1730,1,dispatch tMessage to tObjectID line: 1742 handler: ideMessageSendWithParameters script object: stack "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" So, I shall file a bug report as this looks like a backward step from DP 13. Richmond. From richmondmathewson at gmail.com Thu Feb 4 12:32:33 2016 From: richmondmathewson at gmail.com (RM) Date: Thu, 4 Feb 2016 19:32:33 +0200 Subject: Release 8.0 DP 14 In-Reply-To: <56B38176.8080900@gmail.com> References: <56B38176.8080900@gmail.com> Message-ID: <56B38B31.5010305@gmail.com> Bug Number: 16848 I do hope this helps. Richmond. On 4.02.2016 18:51, RM wrote: > > > So, here I am on Xubuntu 15.10 64-bit, having just installed LiveCode > 8.0 DP 14: > > 1. All the coloured icons in the menuBar stack are now in black > (possibly this is intentional). > > 2. Clicking on the Dictionary I get a large, empty, white stack and an > error message: > > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 89,736,9 > 77,736,40 > 456,736,9 > 465,736,9 > 490,736,9 > 241,734,1,revCacheGeometry > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript" > 573,67,1,revCacheGeometry > 253,67,1 > 241,66,1,revUpdateGeometry > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript" > 573,5,1,revUpdateGeometry > 241,5,1,resizeStack > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/reverrordisplay.livecodescript" > 573,84,1,resizeStack > 241,84,1,openStack > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/reverrordisplay.livecodescript" > 529,7400,1,openStack > 253,7400,1 > 241,7399,1,revIDEErrorDialog > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > 573,1677,1,revIDEErrorDialog > 241,1677,1,errorDialog > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revbackscriptlibrary.livecodescript" > 89,736,9 > 77,736,40 > 456,736,9 > 465,736,9 > 490,736,9 > 241,734,1,revCacheGeometry > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript" > 573,67,1,revCacheGeometry > 253,67,1 > 241,66,1,revUpdateGeometry > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript" > 573,5,1,revUpdateGeometry > 241,5,1,resizeStack > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/reverrordisplay.livecodescript" > 573,84,1,resizeStack > 241,84,1,openStack > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/reverrordisplay.livecodescript" > 529,7400,1,openStack > 253,7400,1 > 241,7399,1,revIDEErrorDialog > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > 573,1677,1,revIDEErrorDialog > 241,1677,1,errorDialog > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revbackscriptlibrary.livecodescript" > 89,736,9 > 77,736,40 > 456,736,9 > 465,736,9 > 490,736,9 > 241,734,1,revCacheGeometry > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript" > 573,67,1,revCacheGeometry > 253,67,1 > 241,66,1,revUpdateGeometry > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript" > 573,5,1,revUpdateGeometry > 241,5,1,resizeStack > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/reverrordisplay.livecodescript" > 573,84,1,resizeStack > 241,84,1,openStack > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/reverrordisplay.livecodescript" > 529,7400,1,openStack > 253,7400,1 > 241,7399,1,revIDEErrorDialog > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > 573,1677,1,revIDEErrorDialog > 241,1677,1,errorDialog > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revbackscriptlibrary.livecodescript" > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > ERROR: Error when sending message ideActiveStacksChanged: > 449,529,10 > 535,529,1 > 253,529,1 > 490,529,1 > 241,516,1,layoutMenu > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 573,249,1,layoutMenu > 241,249,1,ideActiveStacksChanged > 353,0,0,stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript" > 675,1729,1,ideActiveStacksChanged > 162,1730,1,dispatch tMessage to tObjectID > line: 1742 > handler: ideMessageSendWithParameters > script object: stack > "/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript" > > So, I shall file a bug report as this looks like a backward step from > DP 13. > > Richmond. From dochawk at gmail.com Thu Feb 4 12:49:18 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 4 Feb 2016 09:49:18 -0800 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: On Thu, Feb 4, 2016 at 5:49 AM, Ali Lloyd wrote: > > > *Script Editor Performance* > The script editor's performance with large scripts has been improved. > Is there any way that this can make it into 7? I lose amazing amounts of time on a daily bases to my 10k line scripts . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Thu Feb 4 13:18:06 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 4 Feb 2016 12:18:06 -0600 Subject: AW: How to create a hyperlink within a text field? In-Reply-To: <1454581359475-4700711.post@n4.nabble.com> References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> <007701d15e88$518cf310$f4a6d930$@kestner.de> <56B2D5A9.5090008@hyperactivesw.com> <001e01d15f24$86052300$920f6900$@kestner.de> <1454581359475-4700711.post@n4.nabble.com> Message-ID: <56B395DE.8080003@hyperactivesw.com> On 2/4/2016 4:22 AM, BNig wrote: > I like Jaques solution too because it is unequivocal because of the hash. > > But Tiemo allows the user to change the width of the field, see his > crossposting to the forum > http://forums.livecode.com/viewtopic.php?f=9&t=26468 > > That is where Jaque's solution can fail because of wrapping. The formattedtext returns the correct metrics for me even when the field size is changed and the text re-wraps. Do you get different results? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at canelasoftware.com Thu Feb 4 13:27:35 2016 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 4 Feb 2016 10:27:35 -0800 Subject: export variables to launched process? In-Reply-To: <56B2B017.9050103@fourthworld.com> References: <56B2B017.9050103@fourthworld.com> Message-ID: <672EE892-AFBC-4175-A992-E2A0D8725EED@canelasoftware.com> > On Feb 3, 2016, at 5:57 PM, Richard Gaskin wrote: > > I've successfully exported variables to a process run with shell, e.g.: > > put shell("export somevar='Hello!'; ./test.sh") > > ...where test.sh simply echoes somevar to verify that it got it. > > Now I have a process I need to read and write to, but I don't know how to export variables to it - clues? I posted something about this in the forums a few years ago. Maybe it is relevant? http://forums.livecode.com/viewtopic.php?f=9&t=15059 Best regards, Mark Talluto livecloud.io canelasoftware.com From ali.lloyd at livecode.com Thu Feb 4 14:18:11 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Thu, 04 Feb 2016 19:18:11 +0000 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: On Thu, Feb 4, 2016 at 5:49 PM Dr. Hawkins wrote: > On Thu, Feb 4, 2016 at 5:49 AM, Ali Lloyd wrote: > > > > > > > *Script Editor Performance* > > The script editor's performance with large scripts has been improved. > > > > Is there any way that this can make it into 7? I lose amazing amounts of >time on a daily bases to my 10k line scripts . . . I'm afraid not - even if the current crop of 7.1 RCs weren't intended to be the last ones, and the 8.0 script editor weren't forked, there were several changes in the engine facilitating the performance boost which cannot be easily backported. Can I encourage you to give 8.0 a try instead? From richmondmathewson at gmail.com Thu Feb 4 14:23:38 2016 From: richmondmathewson at gmail.com (RM) Date: Thu, 4 Feb 2016 21:23:38 +0200 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: <56B3A53A.4040903@gmail.com> On 4.02.2016 21:18, Ali Lloyd wrote: > On Thu, Feb 4, 2016 at 5:49 PM Dr. Hawkins wrote: > >> On Thu, Feb 4, 2016 at 5:49 AM, Ali Lloyd wrote: >> >>> >>> *Script Editor Performance* >>> The script editor's performance with large scripts has been improved. >>> >> Is there any way that this can make it into 7? I lose amazing amounts of >> time on a daily bases to my 10k line scripts . . . > I'm afraid not - even if > the current crop of 7.1 RCs weren't intended to be > the last ones, Hmm? Does that mean that the LiveCode 7 series is very nearly EOL, and we should be considering wholesale transfer to LiveCode 8? This seems a bit odd when a new LiveCode 6 series has just been released. Richmond. > and the 8.0 script editor weren't forked, there were several > changes in the engine facilitating the performance boost which cannot be > easily backported. > > Can I encourage you to give 8.0 a try instead? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bornstein at designeq.com Thu Feb 4 14:28:03 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Thu, 4 Feb 2016 11:28:03 -0800 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: Scott, I don't quite follow this. I made an oval graphic, set up a radial gradient with both colors set to white and made the fill color clear (is this what you mean by the inner color??nothing shows at all if you set the opaque to false). I got a radial gradient that covered the image, but I'm not sure how you make that a mask that feathers the image. What blending ink did you use? Are you using any graphic effects? What am I not understanding here? On Wed, Feb 3, 2016 at 11:03 PM, Scott Rossi wrote: > I'm guessing you guys want the final result to be rectangular and not > oval-shaped. That's too bad because you could use a radial gradient using > a single color (i.e. white to white) in a graphic with the inner color set > to 100% transparent -- this makes a near-perfect mask but only in oval > shape. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/3/16, 9:50 PM, "use-livecode on behalf of Howard Bornstein" > bornstein at designeq.com> wrote: > > >>You can achieve a feather effect using multiple objects stacked on top of > >>each other, but then you have to ask is that worth doing. If you have to > >>do anything with the set of objects, such as move it around or scale it, > >>then the effect is probably too much trouble, especially on mobile. > >> > > > >This is how we did it?using multiple graphic objects stacked. However, I > >used a gradient for each edge and used Outer Glow. I think it would be a > >lot of work to script this for general work but Brahmanathaswami seems to > >think it will be worthwhile to try it. I'm interested to see what he comes > >up with. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Howard Bornstein ----------------------- www.designeq.com From prothero at earthednet.org Thu Feb 4 14:50:24 2016 From: prothero at earthednet.org (William Prothero) Date: Thu, 4 Feb 2016 11:50:24 -0800 Subject: Using Imagemagick Message-ID: Folks: I just downloaded ImageMagick, which seems like a very useful image converter. However, since there is no UI and it?s command line only, I wonder if anybody has made a simple UI for it in Livecode, to generate the necessary shell commands to do commonly needed operations. I wonder how it compares to the stack distributed awhile ago that was called ?scalini?. ImageMagick makes animated gifs and can do a lot of useful conversions. I?ve also been using a program called iDraw, which has many nice features and seems to be oriented toward mobile development too. I?m using OSX, El Capitan. Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From scott at tactilemedia.com Thu Feb 4 15:03:18 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 04 Feb 2016 12:03:18 -0800 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: Hi Howard: I was referring to the opacity of the inner color stop of the gradient. Use two colors in the radial gradient, such as white to white, and set the opacity of the color stop assigned to the inner color of the gradient to 0. The result looks like this: http://tactilemedia.com/download/gradient-feather.jpg You can also pull in the position of the outer color stop so you get more blending at the edge of the oval shape. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/4/16, 11:28 AM, "use-livecode on behalf of Howard Bornstein" wrote: >Scott, > >I don't quite follow this. I made an oval graphic, set up a radial >gradient >with both colors set to white and made the fill color clear (is this what >you mean by the inner color??nothing shows at all if you set the opaque to >false). I got a radial gradient that covered the image, but I'm not sure >how you make that a mask that feathers the image. What blending ink did >you >use? Are you using any graphic effects? What am I not understanding here? > >On Wed, Feb 3, 2016 at 11:03 PM, Scott Rossi >wrote: > >> I'm guessing you guys want the final result to be rectangular and not >> oval-shaped. That's too bad because you could use a radial gradient >>using >> a single color (i.e. white to white) in a graphic with the inner color >>set >> to 100% transparent -- this makes a near-perfect mask but only in oval >> shape. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 2/3/16, 9:50 PM, "use-livecode on behalf of Howard Bornstein" >> > bornstein at designeq.com> wrote: >> >> >>You can achieve a feather effect using multiple objects stacked on >>top of >> >>each other, but then you have to ask is that worth doing. If you >>have to >> >>do anything with the set of objects, such as move it around or scale >>it, >> >>then the effect is probably too much trouble, especially on mobile. >> >> >> > >> >This is how we did it?using multiple graphic objects stacked. However, >>I >> >used a gradient for each edge and used Outer Glow. I think it would be >>a >> >lot of work to script this for general work but Brahmanathaswami seems >>to >> >think it will be worthwhile to try it. I'm interested to see what he >>comes >> >up with. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > >-- >Regards, > >Howard Bornstein >----------------------- >www.designeq.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 dochawk at gmail.com Thu Feb 4 15:18:24 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 4 Feb 2016 12:18:24 -0800 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: On Thu, Feb 4, 2016 at 11:18 AM, Ali Lloyd wrote: > I'm afraid not - even if the current crop of 7.1 RCs weren't intended to be > the last ones, and the 8.0 script editor weren't forked, there were several > changes in the engine facilitating the performance boost which cannot be > easily backported. > > Can I encourage you to give 8.0 a try instead? > My project is used on a daily basis for my own cases, and will soon be available for sale to others. 8 isn't even close to ready production use, is it? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ali.lloyd at livecode.com Thu Feb 4 15:36:27 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Thu, 04 Feb 2016 20:36:27 +0000 Subject: Release 8.0 DP 14 In-Reply-To: <56B3A53A.4040903@gmail.com> References: <56B3A53A.4040903@gmail.com> Message-ID: Yes, 6 and 7 will be EOLed when 8.0 GM is released - at the moment they are being updated only for critical reasons (eg SSL update, or XCode compatibility). So yes, you should be considering wholesale transfer to 8 ASAP. The vast majority of further work on 8.0 will be LiveCode Builder or IDE related, so the core engine is pretty stable and has many improvements over the 7.1 engine. On Thu, 4 Feb 2016 at 19:23, RM wrote: > > > On 4.02.2016 21:18, Ali Lloyd wrote: > > On Thu, Feb 4, 2016 at 5:49 PM Dr. Hawkins wrote: > > > >> On Thu, Feb 4, 2016 at 5:49 AM, Ali Lloyd > wrote: > >> > >>> > >>> *Script Editor Performance* > >>> The script editor's performance with large scripts has been improved. > >>> > >> Is there any way that this can make it into 7? I lose amazing amounts > of > >> time on a daily bases to my 10k line scripts . . . > > I'm afraid not - even if > > > the current crop of 7.1 RCs weren't intended to be > > the last ones, > > Hmm? Does that mean that the LiveCode 7 series is very nearly EOL, and > we should > be considering wholesale transfer to LiveCode 8? > > This seems a bit odd when a new LiveCode 6 series has just been released. > > Richmond. > > and the 8.0 script editor weren't forked, there were several > > changes in the engine facilitating the performance boost which cannot be > > easily backported. > > > > Can I encourage you to give 8.0 a try instead? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 4 16:00:52 2016 From: richmondmathewson at gmail.com (RM) Date: Thu, 4 Feb 2016 23:00:52 +0200 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B3A53A.4040903@gmail.com> Message-ID: <56B3BC04.6090604@gmail.com> On 4.02.2016 22:36, Ali Lloyd wrote: > Yes, 6 and 7 will be EOLed when 8.0 GM is released - at the moment they are > being updated only for critical reasons (eg SSL update, or XCode > compatibility). > > So yes, you should be considering wholesale transfer to 8 ASAP. The vast > majority of further work on 8.0 will be LiveCode Builder or IDE related, so > the core engine is pretty stable and has many improvements over the 7.1 > engine. Well, I'll transfer just as soon as the Dictionary has been sorted out. Richmond. > > On Thu, 4 Feb 2016 at 19:23, RM wrote: > >> >> On 4.02.2016 21:18, Ali Lloyd wrote: >>> On Thu, Feb 4, 2016 at 5:49 PM Dr. Hawkins wrote: >>> >>>> On Thu, Feb 4, 2016 at 5:49 AM, Ali Lloyd >> wrote: >>>>> *Script Editor Performance* >>>>> The script editor's performance with large scripts has been improved. >>>>> >>>> Is there any way that this can make it into 7? I lose amazing amounts >> of >>>> time on a daily bases to my 10k line scripts . . . >>> I'm afraid not - even if >>> the current crop of 7.1 RCs weren't intended to be >>> the last ones, >> Hmm? Does that mean that the LiveCode 7 series is very nearly EOL, and >> we should >> be considering wholesale transfer to LiveCode 8? >> >> This seems a bit odd when a new LiveCode 6 series has just been released. >> >> Richmond. >>> and the 8.0 script editor weren't forked, there were several >>> changes in the engine facilitating the performance boost which cannot be >>> easily backported. >>> >>> Can I encourage you to give 8.0 a try instead? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Feb 4 16:11:15 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 4 Feb 2016 13:11:15 -0800 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B3A53A.4040903@gmail.com> Message-ID: On Thu, Feb 4, 2016 at 12:36 PM, Ali Lloyd wrote: > So yes, you should be considering wholesale transfer to 8 ASAP. The vast > majority of further work on 8.0 will be LiveCode Builder or IDE related, so > the core engine is pretty stable and has many improvements over the 7.1 > engine. > Umm, "pretty stable"? What does that mean? "can safely ship to paying clients?" 7 became usable before there was a 6 I could use without major problems. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bernd.niggemann at uni-wh.de Thu Feb 4 16:04:52 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Thu, 4 Feb 2016 13:04:52 -0800 (PST) Subject: AW: How to create a hyperlink within a text field? In-Reply-To: <56B395DE.8080003@hyperactivesw.com> References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> <007701d15e88$518cf310$f4a6d930$@kestner.de> <56B2D5A9.5090008@hyperactivesw.com> <001e01d15f24$86052300$920f6900$@kestner.de> <1454581359475-4700711.post@n4.nabble.com> <56B395DE.8080003@hyperactivesw.com> Message-ID: <1454619892000-4700736.post@n4.nabble.com> J. Landman Gay wrote > The formattedtext returns the correct metrics for me even when the field > size is changed and the text re-wraps. Do you get different results? If you make the field not wide enough it it can happen that the chapter title breaks. The same if you give the user the option to increase text size or choose a different font http://forums.livecode.com/viewtopic.php?f=9&t=26468 number 4 is the stack that uses your code and is set to be admittedly ridiciously narrow. It shows the problem There is also Mark Waddinghams suggestion of using the formattedHeight. That would actually be the way to do a generalised solution including text that has non-fixed textHeight. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-create-a-hyperlink-within-a-text-field-tp4700650p4700736.html Sent from the Revolution - User mailing list archive at Nabble.com. From brahma at hindu.org Thu Feb 4 17:00:13 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 4 Feb 2016 22:00:13 +0000 Subject: Can't Get LC Server to fire Message-ID: A bit OT because this seems to be something to do with the web server config for CGI that runs livecode-community-server (Linux 64 on Ubuntu 14) we typically use a full path to the engine like this if the script is inside the cgi-bin #!/home/htoday/cgi-bin/livecode-community-server put the keys of $_SERVER into tCGIVars repeat for each line x in tCGIVars put x & ": " & $_SERVER[x] & ("
"& cr) after tGlobals end repeat put "Hello, Livecode Server is Up and Running" & "
" & tGlobals inside the public_html folder you use the .htaccess method fo setting the actions AddHandler livecode-script .lc Action livecode-script /cgi-bin/livecode-community-server "& cr) after tGlobals end repeat put "Hello, Livecode Server is Up and Running" & "
" & tGlobals same result? I use this for testing new installs and server upgrades I just installed Livecode server on our Hinduism Today cloud instance at linode which is running the same version of Ubuntu/apache as our Himalayan Academy site? also on a Linode cloud instance.. But as you can see the engine is no being triggered here: http://www.hinduismtoday.com/cgi-bin/echo.lc Nor on public_html http://www.hinduismtoday.com/echo.lc The requested URL /cgi-bin/livecode-community-server/echo.lc was not found on this server. but it works here: http://www.himalayanacademy.com/cgi-bin/echo.lc from public-html http://www.himalayanacademy.com/echo.lc exact same script; exact same version of the server, permissions are all an exact match on both instances. I don?t see anything specific in the httpd directive for the HA site where it works vs the Hinduism Today httpd directives. clue: I get the same problem using bash http://hinduismtoday.com/cgi-bin/full_usage.cgi and, I faced and solved this once before but did not document it.. ouch BR From bornstein at designeq.com Thu Feb 4 17:11:06 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Thu, 4 Feb 2016 14:11:06 -0800 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: Thanks. I get it now. I had used a black to white gradient, but white to white gives a better feather result. What do you have the blending ink set to? On Thu, Feb 4, 2016 at 12:03 PM, Scott Rossi wrote: > Hi Howard: > > I was referring to the opacity of the inner color stop of the gradient. > Use two colors in the radial gradient, such as white to white, and set the > opacity of the color stop assigned to the inner color of the gradient to 0. > > The result looks like this: > http://tactilemedia.com/download/gradient-feather.jpg > > You can also pull in the position of the outer color stop so you get more > blending at the edge of the oval shape. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/4/16, 11:28 AM, "use-livecode on behalf of Howard Bornstein" > bornstein at designeq.com> wrote: > > >Scott, > > > >I don't quite follow this. I made an oval graphic, set up a radial > >gradient > >with both colors set to white and made the fill color clear (is this what > >you mean by the inner color??nothing shows at all if you set the opaque to > >false). I got a radial gradient that covered the image, but I'm not sure > >how you make that a mask that feathers the image. What blending ink did > >you > >use? Are you using any graphic effects? What am I not understanding here? > > > >On Wed, Feb 3, 2016 at 11:03 PM, Scott Rossi > >wrote: > > > >> I'm guessing you guys want the final result to be rectangular and not > >> oval-shaped. That's too bad because you could use a radial gradient > >>using > >> a single color (i.e. white to white) in a graphic with the inner color > >>set > >> to 100% transparent -- this makes a near-perfect mask but only in oval > >> shape. > >> > >> Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX/UI Design > >> > >> > >> > >> > >> On 2/3/16, 9:50 PM, "use-livecode on behalf of Howard Bornstein" > >> >> bornstein at designeq.com> wrote: > >> > >> >>You can achieve a feather effect using multiple objects stacked on > >>top of > >> >>each other, but then you have to ask is that worth doing. If you > >>have to > >> >>do anything with the set of objects, such as move it around or scale > >>it, > >> >>then the effect is probably too much trouble, especially on mobile. > >> >> > >> > > >> >This is how we did it?using multiple graphic objects stacked. However, > >>I > >> >used a gradient for each edge and used Outer Glow. I think it would be > >>a > >> >lot of work to script this for general work but Brahmanathaswami seems > >>to > >> >think it will be worthwhile to try it. I'm interested to see what he > >>comes > >> >up with. > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > >-- > >Regards, > > > >Howard Bornstein > >----------------------- > >www.designeq.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 > -- Regards, Howard Bornstein ----------------------- www.designeq.com From mwieder at ahsoftware.net Thu Feb 4 18:10:15 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 4 Feb 2016 15:10:15 -0800 Subject: Can Handler Know What Params It Should Have In-Reply-To: <751c3b42b0cddf63df109be7608cefa3@livecode.com> References: <751c3b42b0cddf63df109be7608cefa3@livecode.com> Message-ID: <56B3DA57.8030307@ahsoftware.net> On 02/03/2016 03:38 AM, Mark Waddingham wrote: > On 2016-02-02 17:05, Bernard Devlin wrote: >> I know the params can be called to find out what parameters were >> passed to >> the handler when it is called. However, I'm wondering if a handler has a >> way of knowing what parameters it had at the time it was defined. > > There isn't currently a way to get this information, no. > > We currently have 'the params' which returns a string form of the > handlers invocation (which, is somewhat flawed as you can have array > valued parameters, and strings containing quote), paramCount() which > returns the number of parameters actually passed, and param(i) which > returns the value (not converted to a string) of the i'th parameter > passed to the current call. > > Perhaps something like a 'paramName(i)' function? > > Can you give more information about your use-case? > > Warmest Regards, > > Mark. > Bernard- If I'm understanding what you want to do (and like Mark says, a use-case would be useful here), then here's what I do in glx2 to get the declaration context: at the start of an editing session, get the list of scripts in the path: frontscripts, backscripts, object, card, stack, group, behaviors. For each script in that list, filter with "end *". Stash those away somewhere with the type of script ("frontscript", "behavior", etc) and the location of the script object. Then when I need the declaration for clairvoyance type-ahead, I match the handler I'm looking for with the lists I have previously stored, working my way down the path the way the engine would. If I find a match, I grab the specified script and find the declaration line. It sounds like a lot of work, but the filter function makes it very responsive. -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Thu Feb 4 18:19:49 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 4 Feb 2016 15:19:49 -0800 Subject: Ken Burn's Effect Library for Livecode In-Reply-To: References: Message-ID: <56B3DC95.8050504@ahsoftware.net> On 02/01/2016 08:58 AM, Sannyasin Brahmanathaswami wrote: > If anyone knows of html5 IDE that have the same breadth and depth as LiveCode Well, it's not an IDE, and I know I've mentioned this before on this list, but for putting things on the web, especially graphics, you really should look into famous.org. Check out the 3d physics engine. -- Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Thu Feb 4 18:28:12 2016 From: pete at lcsql.com (Peter Haworth) Date: Thu, 04 Feb 2016 23:28:12 +0000 Subject: AW: How to create a hyperlink within a text field? In-Reply-To: <1454619892000-4700736.post@n4.nabble.com> References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> <007701d15e88$518cf310$f4a6d930$@kestner.de> <56B2D5A9.5090008@hyperactivesw.com> <001e01d15f24$86052300$920f6900$@kestner.de> <1454581359475-4700711.post@n4.nabble.com> <56B395DE.8080003@hyperactivesw.com> <1454619892000-4700736.post@n4.nabble.com> Message-ID: This might be something I need to do in a different context. I had been thinking of using the metadata property of the lines referenced by the links as a means to locate the correct line. Is that a plausible solution? On Thu, Feb 4, 2016 at 1:29 PM BNig wrote: > J. Landman Gay wrote > > The formattedtext returns the correct metrics for me even when the field > > size is changed and the text re-wraps. Do you get different results? > > If you make the field not wide enough it it can happen that the chapter > title breaks. The same if you give the user the option to increase text > size > or choose a different font > > > > http://forums.livecode.com/viewtopic.php?f=9&t=26468 > > number 4 is the stack that uses your code and is set to be admittedly > ridiciously narrow. It shows the problem > > There is also Mark Waddinghams suggestion of using the formattedHeight. > That > would actually be the way to do a generalised solution including text that > has non-fixed textHeight. > > Kind regards > > Bernd > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/How-to-create-a-hyperlink-within-a-text-field-tp4700650p4700736.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 pete at lcsql.com Thu Feb 4 18:28:12 2016 From: pete at lcsql.com (Peter Haworth) Date: Thu, 04 Feb 2016 23:28:12 +0000 Subject: AW: How to create a hyperlink within a text field? In-Reply-To: <1454619892000-4700736.post@n4.nabble.com> References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> <007701d15e88$518cf310$f4a6d930$@kestner.de> <56B2D5A9.5090008@hyperactivesw.com> <001e01d15f24$86052300$920f6900$@kestner.de> <1454581359475-4700711.post@n4.nabble.com> <56B395DE.8080003@hyperactivesw.com> <1454619892000-4700736.post@n4.nabble.com> Message-ID: This might be something I need to do in a different context. I had been thinking of using the metadata property of the lines referenced by the links as a means to locate the correct line. Is that a plausible solution? On Thu, Feb 4, 2016 at 1:29 PM BNig wrote: > J. Landman Gay wrote > > The formattedtext returns the correct metrics for me even when the field > > size is changed and the text re-wraps. Do you get different results? > > If you make the field not wide enough it it can happen that the chapter > title breaks. The same if you give the user the option to increase text > size > or choose a different font > > > > http://forums.livecode.com/viewtopic.php?f=9&t=26468 > > number 4 is the stack that uses your code and is set to be admittedly > ridiciously narrow. It shows the problem > > There is also Mark Waddinghams suggestion of using the formattedHeight. > That > would actually be the way to do a generalised solution including text that > has non-fixed textHeight. > > Kind regards > > Bernd > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/How-to-create-a-hyperlink-within-a-text-field-tp4700650p4700736.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 ali.lloyd at livecode.com Thu Feb 4 18:29:13 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Thu, 04 Feb 2016 23:29:13 +0000 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B3A53A.4040903@gmail.com> Message-ID: We are currently in a DP cycle, and I know it will come back to bite me if I say I think it is very stable, so forgive me for being cautious. Richmond, I may have missed it - did you answer my question? The error you posted was nothing to do with the dictionary. It was an error in the menubar, a stack which you have been making changes to. If there is a problem with the dictionary, could you please describe the problem with the dictionary? On Thu, 4 Feb 2016 at 21:11, Dr. Hawkins wrote: > On Thu, Feb 4, 2016 at 12:36 PM, Ali Lloyd wrote: > > > So yes, you should be considering wholesale transfer to 8 ASAP. The vast > > majority of further work on 8.0 will be LiveCode Builder or IDE related, > so > > the core engine is pretty stable and has many improvements over the 7.1 > > engine. > > > > Umm, "pretty stable"? What does that mean? "can safely ship to paying > clients?" > > 7 became usable before there was a 6 I could use without major problems. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Thu Feb 4 19:13:14 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 04 Feb 2016 16:13:14 -0800 Subject: Graphic effects - Feather Edges of Rects In-Reply-To: References: <6C81CDC4-4664-4B2A-916C-D761FFCD6DBC@byu.edu> Message-ID: The ink is default: srcCopy. No need to set it otherwise. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/4/16, 2:11 PM, "use-livecode on behalf of Howard Bornstein" wrote: >Thanks. I get it now. I had used a black to white gradient, but white to >white gives a better feather result. What do you have the blending ink set >to? > >On Thu, Feb 4, 2016 at 12:03 PM, Scott Rossi >wrote: > >> Hi Howard: >> >> I was referring to the opacity of the inner color stop of the gradient. >> Use two colors in the radial gradient, such as white to white, and set >>the >> opacity of the color stop assigned to the inner color of the gradient >>to 0. >> >> The result looks like this: >> http://tactilemedia.com/download/gradient-feather.jpg >> >> You can also pull in the position of the outer color stop so you get >>more >> blending at the edge of the oval shape. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 2/4/16, 11:28 AM, "use-livecode on behalf of Howard Bornstein" >> > bornstein at designeq.com> wrote: >> >> >Scott, >> > >> >I don't quite follow this. I made an oval graphic, set up a radial >> >gradient >> >with both colors set to white and made the fill color clear (is this >>what >> >you mean by the inner color??nothing shows at all if you set the >>opaque to >> >false). I got a radial gradient that covered the image, but I'm not >>sure >> >how you make that a mask that feathers the image. What blending ink did >> >you >> >use? Are you using any graphic effects? What am I not understanding >>here? >> > >> >On Wed, Feb 3, 2016 at 11:03 PM, Scott Rossi >> >wrote: >> > >> >> I'm guessing you guys want the final result to be rectangular and not >> >> oval-shaped. That's too bad because you could use a radial gradient >> >>using >> >> a single color (i.e. white to white) in a graphic with the inner >>color >> >>set >> >> to 100% transparent -- this makes a near-perfect mask but only in >>oval >> >> shape. >> >> >> >> Regards, >> >> >> >> Scott Rossi >> >> Creative Director >> >> Tactile Media, UX/UI Design >> >> >> >> >> >> >> >> >> >> On 2/3/16, 9:50 PM, "use-livecode on behalf of Howard Bornstein" >> >> > >> bornstein at designeq.com> wrote: >> >> >> >> >>You can achieve a feather effect using multiple objects stacked on >> >>top of >> >> >>each other, but then you have to ask is that worth doing. If you >> >>have to >> >> >>do anything with the set of objects, such as move it around or >>scale >> >>it, >> >> >>then the effect is probably too much trouble, especially on mobile. >> >> >> >> >> > >> >> >This is how we did it?using multiple graphic objects stacked. >>However, >> >>I >> >> >used a gradient for each edge and used Outer Glow. I think it would >>be >> >>a >> >> >lot of work to script this for general work but Brahmanathaswami >>seems >> >>to >> >> >think it will be worthwhile to try it. I'm interested to see what he >> >>comes >> >> >up with. >> >> >> >> >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > >> > >> > >> >-- >> >Regards, >> > >> >Howard Bornstein >> >----------------------- >> >www.designeq.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 >> > > > >-- >Regards, > >Howard Bornstein >----------------------- >www.designeq.com >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Feb 4 19:14:26 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 4 Feb 2016 16:14:26 -0800 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: <56B3E962.3070207@fourthworld.com> Dr. Hawkins wrote: > On Thu, Feb 4, 2016 at 11:18 AM, Ali Lloyd wrote: > >> I'm afraid not - even if the current crop of 7.1 RCs weren't >> intended to be the last ones, and the 8.0 script editor weren't >> forked, there were several changes in the engine facilitating >> the performance boost which cannot be easily backported. >> >> Can I encourage you to give 8.0 a try instead? > > My project is used on a daily basis for my own cases, and will soon be > available for sale to others. > > 8 isn't even close to ready production use, is it? "Developer Preview" is not "Stable", but the purpose of a DP is to allow everyone the opportunity to make sure "Stable" is stable. So start testing with v8 today. LC is both broad and deep. Testing a new engine version with your specific project is the only way to ensure that version will meet your project's specific needs. -- 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 james at thehales.id.au Thu Feb 4 19:15:42 2016 From: james at thehales.id.au (James Hale) Date: Fri, 5 Feb 2016 11:15:42 +1100 Subject: Using Imagemagick Message-ID: IDraw is now called AutoDesk Graphic, http://graphic.com And yes, it is really quite good. James From dochawk at gmail.com Thu Feb 4 20:33:07 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 4 Feb 2016 17:33:07 -0800 Subject: Release 8.0 DP 14 In-Reply-To: <56B3E962.3070207@fourthworld.com> References: <56B3E962.3070207@fourthworld.com> Message-ID: On Thu, Feb 4, 2016 at 4:14 PM, Richard Gaskin wrote: > "Developer Preview" is not "Stable", but the purpose of a DP is to allow > everyone the opportunity to make sure "Stable" is stable. > > So start testing with v8 today. > > LC is both broad and deep. Testing a new engine version with your > specific project is the only way to ensure that version will meet your > project's specific needs. > Time is an issue here; that's why I'm paying for a commercial product. I've already reduced my law practice to accommodate this; adding testing time for the ext version (with a different file format) would mean cutting into the bone on my income; my kids need to eat. hawk -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From roger.e.eller at sealedair.com Thu Feb 4 21:13:08 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 4 Feb 2016 21:13:08 -0500 Subject: Release 8.0 DP 14 In-Reply-To: <56B3E962.3070207@fourthworld.com> References: <56B3E962.3070207@fourthworld.com> Message-ID: I installed it in Win 7 64-bit. When it starts, a bunch of errors are shown, and the message box ui text is overlapping. It is unusable. On Feb 4, 2016 7:14 PM, "Richard Gaskin" wrote: > Dr. Hawkins wrote: > > On Thu, Feb 4, 2016 at 11:18 AM, Ali Lloyd wrote: > > > >> I'm afraid not - even if the current crop of 7.1 RCs weren't > >> intended to be the last ones, and the 8.0 script editor weren't > >> forked, there were several changes in the engine facilitating > >> the performance boost which cannot be easily backported. > >> > >> Can I encourage you to give 8.0 a try instead? > > > > My project is used on a daily basis for my own cases, and will soon be > > available for sale to others. > > > > 8 isn't even close to ready production use, is it? > > "Developer Preview" is not "Stable", but the purpose of a DP is to allow > everyone the opportunity to make sure "Stable" is stable. > > So start testing with v8 today. > > LC is both broad and deep. Testing a new engine version with your > specific project is the only way to ensure that version will meet your > project's specific needs. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Feb 4 21:20:03 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 4 Feb 2016 18:20:03 -0800 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: <56B406D3.6040806@fourthworld.com> Dr. Hawkins wrote: > On Thu, Feb 4, 2016 at 4:14 PM, Richard Gaskin wrote: > >> "Developer Preview" is not "Stable", but the purpose of a DP is to >> allow everyone the opportunity to make sure "Stable" is stable. >> >> So start testing with v8 today. >> >> LC is both broad and deep. Testing a new engine version with your >> specific project is the only way to ensure that version will meet >> your project's specific needs. >> > > Time is an issue here; that's why I'm paying for a commercial product. > > I've already reduced my law practice to accommodate this; adding > testing time for the ext version (with a different file format) would > mean cutting into the bone on my income; my kids need to eat. Suit yourself. I regard testing new software my business relies on as part of the ongoing cost of developing and maintaining my products. You know better than most that given the combinatorial explosion of possible syntax and feature options that it's not possible for anyone but you to test the specific combinations your software relies on. The rest of us will do some of your testing for you in the course of testing our own work, and if you're in a gambling mood you're free to bet on the possibility that how we use LC is exactly the same as how you use it. Personally, I wouldn't take that bet myself, but I'm not much of a gambler. -- 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 Feb 4 21:20:56 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 4 Feb 2016 18:20:56 -0800 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: <56B40708.7030200@fourthworld.com> Roger Eller wrote: > I installed it in Win 7 64-bit. When it starts, a bunch of errors are > shown, and the message box ui text is overlapping. It is unusable. Thanks for testing. What's your bug report number? -- 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 mwieder at ahsoftware.net Thu Feb 4 21:28:11 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 4 Feb 2016 18:28:11 -0800 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B3E962.3070207@fourthworld.com> Message-ID: <56B408BB.3000404@ahsoftware.net> On 02/04/2016 05:33 PM, Dr. Hawkins wrote: > I've already reduced my law practice to accommodate this; adding testing > time for the ext version (with a different file format) would mean cutting > into the bone on my income; my kids need to eat. Other issues aside (I wouldn't switch to 8 at this point with a commercial product to bring to market)... the 8.0 file format should only come into play if you've got 8.0 widgets in the stack, otherwise the new save command saves in 7.0 format by default. And you can override that in a couple of different ways if necessary. -- Mark Wieder ahsoftware at gmail.com From roger.e.eller at sealedair.com Thu Feb 4 21:35:05 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 4 Feb 2016 21:35:05 -0500 Subject: Release 8.0 DP 14 In-Reply-To: <56B40708.7030200@fourthworld.com> References: <56B40708.7030200@fourthworld.com> Message-ID: I installed it and launched it just before leaving work for the day. There wasn't time to file a report, but hey, apparently RunRev didn't care enough to even try it in Windows 7 64-bit. Therefore, I don't feel too bad about my share of effort in testing thus far. I'll have a closer look tomorrow, unless my job gets in the way. On Feb 4, 2016 9:21 PM, "Richard Gaskin" wrote: > Roger Eller wrote: > >> I installed it in Win 7 64-bit. When it starts, a bunch of errors are >> shown, and the message box ui text is overlapping. It is unusable. >> > > Thanks for testing. What's your bug report number? > > -- > 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 pete at lcsql.com Thu Feb 4 21:48:44 2016 From: pete at lcsql.com (Peter Haworth) Date: Fri, 05 Feb 2016 02:48:44 +0000 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B40708.7030200@fourthworld.com> Message-ID: I saw that this release includes "better desktop theming" for desktop apps, but should all my stacks be displayed with a grey background on OSX? I know I can override this but is that really the way native apps look on OSX? I'm having a hard time finding one that does. On Thu, Feb 4, 2016 at 6:35 PM Roger Eller wrote: > I installed it and launched it just before leaving work for the day. There > wasn't time to file a report, but hey, apparently RunRev didn't care enough > to even try it in Windows 7 64-bit. Therefore, I don't feel too bad about > my share of effort in testing thus far. > > I'll have a closer look tomorrow, unless my job gets in the way. > On Feb 4, 2016 9:21 PM, "Richard Gaskin" > wrote: > > > Roger Eller wrote: > > > >> I installed it in Win 7 64-bit. When it starts, a bunch of errors are > >> shown, and the message box ui text is overlapping. It is unusable. > >> > > > > Thanks for testing. What's your bug report number? > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > ____________________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From charles at techstrategies.com.au Thu Feb 4 22:06:22 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Fri, 5 Feb 2016 13:06:22 +1000 Subject: Can't Get LC Server to fire In-Reply-To: References: Message-ID: <56B411AE.2030306@techstrategies.com.au> On 5/02/2016 8:00 am, Sannyasin Brahmanathaswami wrote: > inside the public_html folder you use the .htaccess method fo setting the actions > > AddHandler livecode-script .lc > Action livecode-script /cgi-bin/livecode-community-server The contents of the .htaccess file here tell the server to process ".lc" files using the livecode-community-server executable in the /cgi-bin/ directory. Do you have the livecode-community-server executable in the cgi-bin directory? > I just installed Livecode server on our Hinduism Today cloud instance at linode which is running the same version of Ubuntu/apache as our Himalayan Academy site? also on a Linode cloud instance.. > > But as you can see the engine is no being triggered here: > > http://www.hinduismtoday.com/cgi-bin/echo.lc That is because the .htaccess file you have above is in the public_html directory, which doesn't get processed for files in the /cgi-bin/ directory. Cheers, Charles From prothero at earthednet.org Thu Feb 4 22:46:12 2016 From: prothero at earthednet.org (William Prothero) Date: Thu, 4 Feb 2016 19:46:12 -0800 Subject: Using Imagemagick In-Reply-To: References: Message-ID: <1CF31E2A-7453-4C91-9D14-B037CCAC3C61@earthednet.org> James: Yeah, I knew that. Actually, I forgot. I have Graphic. Haven?t used it much, but since Fireworks got too expensive, I got iDraw, the Graphic. It?s probably a better solution than ImageMagick because it has an actual user interface and can do drawing, Thanks for the reminder. Best, Bill > On Feb 4, 2016, at 4:15 PM, James Hale wrote: > > IDraw is now called AutoDesk Graphic, http://graphic.com > > And yes, it is really quite good. > > 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 blueback09 at gmail.com Fri Feb 5 00:02:24 2016 From: blueback09 at gmail.com (Matt Maier) Date: Thu, 4 Feb 2016 21:02:24 -0800 Subject: calling Livecode from other languages Message-ID: Can I call Livecode from other languages? I found this, which if I'm following it is a proof of concept that you can install livecode server, then tell it to turn on from the shell, then have it run scripts and return the output. That doesn't seem like quite the same thing, but maybe it's close enough? https://livecode.com/a-livecode-shell/ Is there a way to write a Python file (or whatever) that reaches out to Livecode, uses its text processing, or maybe hands it a livecode script, then returns the result to be used by the Python file? From ambassador at fourthworld.com Fri Feb 5 00:05:15 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 4 Feb 2016 21:05:15 -0800 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: <56B42D8B.4020304@fourthworld.com> Roger Eller wrote: > I installed it and launched it just before leaving work for the day. > There wasn't time to file a report, but hey, apparently RunRev didn't > care enough to even try it in Windows 7 64-bit. Sometimes what may seem "apparent" may be more a matter of inference. Have you considered the possibility that the issue you experienced may be less common than you had imagined? I just downloaded and installed v8dp14 on my 64-bit Win 7 machine, and it runs okay. If you include the Windows crash log with your report the team seems to be able to fix things like that pretty quickly. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at appisle.net Fri Feb 5 00:09:21 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 5 Feb 2016 16:09:21 +1100 Subject: calling Livecode from other languages In-Reply-To: References: Message-ID: <03BE5EED-3AD6-4613-ACFC-DE4B389B70D0@appisle.net> > On 5 Feb 2016, at 4:02 PM, Matt Maier wrote: > > Can I call Livecode from other languages? > > I found this, which if I'm following it is a proof of concept that you can > install livecode server, then tell it to turn on from the shell, then have > it run scripts and return the output. That doesn't seem like quite the same > thing, but maybe it's close enough? > https://livecode.com/a-livecode-shell/ > > Is there a way to write a Python file (or whatever) that reaches out to > Livecode, uses its text processing, or maybe hands it a livecode script, > then returns the result to be used by the Python file? Yes you can write a command line app in LiveCode and read from STDIN and write to STDOUT then use whatever method there is in your other language to open a process with the -ui option. Cheers Monte From mwieder at ahsoftware.net Fri Feb 5 01:16:52 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 4 Feb 2016 22:16:52 -0800 Subject: calling Livecode from other languages In-Reply-To: References: Message-ID: <56B43E54.6060702@ahsoftware.net> On 02/04/2016 09:02 PM, Matt Maier wrote: > Is there a way to write a Python file (or whatever) that reaches out to > Livecode, uses its text processing, or maybe hands it a livecode script, > then returns the result to be used by the Python file? Indeed. I have a commercial middleware layer where a database writes a text file and then launches an invisible LiveCode application that formats an xml query and hands it off to a C++ application, which processes the xml data and passes the information back to LiveCode, parses the returned xml, creates a text file and informs the database that there's new info. -- Mark Wieder ahsoftware at gmail.com From blueback09 at gmail.com Fri Feb 5 01:20:18 2016 From: blueback09 at gmail.com (Matt Maier) Date: Thu, 4 Feb 2016 22:20:18 -0800 Subject: calling Livecode from other languages In-Reply-To: <03BE5EED-3AD6-4613-ACFC-DE4B389B70D0@appisle.net> References: <03BE5EED-3AD6-4613-ACFC-DE4B389B70D0@appisle.net> Message-ID: So there isn't any special standalone option to compile a *.livecode file into a command line app like *.exe. I just compile a standalone for the appropriate system, somehow get rid of the GUI, and tell it how to read/write STDIN/STDOUT? Is that as simple as compiling a script-only stack into a standalone, or maybe setting the visible of the mainstack to false? On Thu, Feb 4, 2016 at 9:09 PM, Monte Goulding wrote: > > > On 5 Feb 2016, at 4:02 PM, Matt Maier wrote: > > > > Can I call Livecode from other languages? > > > > I found this, which if I'm following it is a proof of concept that you > can > > install livecode server, then tell it to turn on from the shell, then > have > > it run scripts and return the output. That doesn't seem like quite the > same > > thing, but maybe it's close enough? > > https://livecode.com/a-livecode-shell/ > > > > Is there a way to write a Python file (or whatever) that reaches out to > > Livecode, uses its text processing, or maybe hands it a livecode script, > > then returns the result to be used by the Python file? > > Yes you can write a command line app in LiveCode and read from STDIN and > write to STDOUT then use whatever method there is in your other language to > open a process with the -ui option. > > Cheers > > Monte > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Feb 5 01:28:39 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 5 Feb 2016 17:28:39 +1100 Subject: calling Livecode from other languages In-Reply-To: References: <03BE5EED-3AD6-4613-ACFC-DE4B389B70D0@appisle.net> Message-ID: > On 5 Feb 2016, at 5:20 PM, Matt Maier wrote: > > So there isn't any special standalone option to compile a *.livecode file > into a command line app like *.exe. I just compile a standalone for the > appropriate system, somehow get rid of the GUI, and tell it how to > read/write STDIN/STDOUT? > > Is that as simple as compiling a script-only stack into a standalone, or > maybe setting the visible of the mainstack to false? The way to get rid of the GUI is use the -ui command line option. It would be nice if command line app were an option in standalone settings and we didn?t need to use -ui. As script only stacks don?t retain custom properties between sessions and the standalone settings are saved as custom properties I expect it would get a bit tedious to use a script only stack as the standalone mainstack?. not that I?ve tested to see if it works. The main annoyance other than -ui is extracting the binary from a mac app bundle but you can script that. From monte at appisle.net Fri Feb 5 01:38:48 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 5 Feb 2016 17:38:48 +1100 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: <2F788167-FBFF-480E-9AE1-0CC782B61629@appisle.net> > On 5 Feb 2016, at 12:49 AM, Ali Lloyd wrote: > > The selected object is now indicated in the project browser by a dotted > line. I like this new feature Ali both on the project browser and the selected object. Now that there?s a dashed line though I can?t help wondering if the selection handles and dashed lines could be drawn above all other layers so that if you have selected an object that is partly obscured you can see the obscured outline and grab its handle. I?m not sure how that would work with multiple selection though? I haven?t looked at the code to see whether it is feasible at all... From brahma at hindu.org Fri Feb 5 01:57:04 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 5 Feb 2016 06:57:04 +0000 Subject: Make a Group Bereft of All Layout Properties Message-ID: Am I the only one who frequently wishes that groups could be made as a kind of class or abstraction? By this I mean, I want to establish a group that would, by default, take the rect of the card (dynamically if it were resized) have no border or any graphical properties of any kind as an ?object? i.e. the group is an abstactions: a collection of objects, while itself not having any UI props at all. use case is: You want to place objects into a group, but the objects are not bounded, graphical by any rect. You will never be placing this particular group to a location as such, only it?s members. Currently if you create, for example, a field, set graphic effects etc. and want to make it a group so that it can be placed on multiple cards, you have to struggle to ward off the group border, the group rect acts as a mask that cuts the outglow effect etc. any attempts to change the size of the group using handles then ?messes? with the object inside it? Is there a way to have a group be just a class of objects? with no properties that will interfere at all with the objects it contains? BR From ali.lloyd at livecode.com Fri Feb 5 02:51:46 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Fri, 05 Feb 2016 07:51:46 +0000 Subject: Release 8.0 DP 14 In-Reply-To: <2F788167-FBFF-480E-9AE1-0CC782B61629@appisle.net> References: <2F788167-FBFF-480E-9AE1-0CC782B61629@appisle.net> Message-ID: Funny you should say that, as I started working on that very thing yesterday. The drawing part is relatively easy, but I'm encountering a few issues getting the focus part to work. Should hopefully have it finished today though. http://quality.livecode.com/show_bug.cgi?id=16756, if you want to track it (reported as something related but slightly different) On Fri, Feb 5, 2016 at 6:38 AM Monte Goulding wrote: > > > On 5 Feb 2016, at 12:49 AM, Ali Lloyd wrote: > > > > The selected object is now indicated in the project browser by a dotted > > line. > > I like this new feature Ali both on the project browser and the selected > object. Now that there?s a dashed line though I can?t help wondering if the > selection handles and dashed lines could be drawn above all other layers so > that if you have selected an object that is partly obscured you can see the > obscured outline and grab its handle. I?m not sure how that would work with > multiple selection though? I haven?t looked at the code to see whether it > is feasible at all... > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Feb 5 02:14:28 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 04 Feb 2016 23:14:28 -0800 Subject: Make a Group Bereft of All Layout Properties In-Reply-To: References: Message-ID: The group can always clip the objects within it. If you give the group margins and do the math to scale the object/s within to stay within the inner rect, you can maintain the objects' graphic effects. If you don't want to do the math and move the contained objects independently of the group, you could try enabling clipsToRect property of the group. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/4/16, 10:57 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: >Am I the only one who frequently wishes that groups could be made as a >kind of class or abstraction? By this I mean, I want to establish a group >that would, by default, > > take the rect of the card (dynamically if it were resized) >have no border or any graphical properties of any kind as an ?object? >i.e. the group is an abstactions: a collection of objects, while itself >not having any UI props at all. > > > >use case is: You want to place objects into a group, but the objects are >not bounded, graphical by any rect. You will never be placing this >particular group to a location as such, only it?s members. > >Currently if you create, for example, a field, set graphic effects etc. >and want to make it a group so that it can be placed on multiple cards, >you have to struggle to ward off the group border, the group rect acts as >a mask that cuts the outglow effect etc. any attempts to change the size >of the group using handles then ?messes? with the object inside it? > >Is there a way to have a group be just a class of objects? with no >properties that will interfere at all with the objects it contains? > >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 ali.lloyd at livecode.com Fri Feb 5 03:00:13 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Fri, 05 Feb 2016 08:00:13 +0000 Subject: calling Livecode from other languages In-Reply-To: References: <03BE5EED-3AD6-4613-ACFC-DE4B389B70D0@appisle.net> Message-ID: When you deploy a script-only stack as a standalone it is re-saved as a normal stack. Not doing so at the moment results in the standalone crashing on startup. On Fri, Feb 5, 2016 at 6:28 AM Monte Goulding wrote: > > > On 5 Feb 2016, at 5:20 PM, Matt Maier wrote: > > > > So there isn't any special standalone option to compile a *.livecode file > > into a command line app like *.exe. I just compile a standalone for the > > appropriate system, somehow get rid of the GUI, and tell it how to > > read/write STDIN/STDOUT? > > > > Is that as simple as compiling a script-only stack into a standalone, or > > maybe setting the visible of the mainstack to false? > > The way to get rid of the GUI is use the -ui command line option. It would > be nice if command line app were an option in standalone settings and we > didn?t need to use -ui. As script only stacks don?t retain custom > properties between sessions and the standalone settings are saved as custom > properties I expect it would get a bit tedious to use a script only stack > as the standalone mainstack?. not that I?ve tested to see if it works. The > main annoyance other than -ui is extracting the binary from a mac app > bundle but you can script that. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Fri Feb 5 03:03:56 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 5 Feb 2016 19:03:56 +1100 Subject: Release 8.0 DP 14 In-Reply-To: References: <2F788167-FBFF-480E-9AE1-0CC782B61629@appisle.net> Message-ID: <3605917D-E97E-4F1A-B173-817BC7D23943@appisle.net> Great stuff Ali! Sent from my iPhone > On 5 Feb 2016, at 6:51 PM, Ali Lloyd wrote: > > Funny you should say that, as I started working on that very thing > yesterday. From richmondmathewson at gmail.com Fri Feb 5 03:29:38 2016 From: richmondmathewson at gmail.com (RM) Date: Fri, 5 Feb 2016 10:29:38 +0200 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B3A53A.4040903@gmail.com> Message-ID: <56B45D72.6040401@gmail.com> On 5.02.2016 01:29, Ali Lloyd wrote: > We are currently in a DP cycle, and I know it will come back to bite me if > I say I think it is very stable, so forgive me for being cautious. > > Richmond, I may have missed it - did you answer my question? The error you > posted was nothing to do with the dictionary. It was an error in the > menubar, a stack which you have been making changes to. If there is a > problem with the dictionary, could you please describe the problem with the > dictionary? Certainly; although I make take a day or two as my sister is visiting. Richmond. > > On Thu, 4 Feb 2016 at 21:11, Dr. Hawkins wrote: > >> On Thu, Feb 4, 2016 at 12:36 PM, Ali Lloyd wrote: >> >>> So yes, you should be considering wholesale transfer to 8 ASAP. The vast >>> majority of further work on 8.0 will be LiveCode Builder or IDE related, >> so >>> the core engine is pretty stable and has many improvements over the 7.1 >>> engine. >>> >> Umm, "pretty stable"? What does that mean? "can safely ship to paying >> clients?" >> >> 7 became usable before there was a 6 I could use without major problems. >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Feb 5 03:35:09 2016 From: richmondmathewson at gmail.com (RM) Date: Fri, 5 Feb 2016 10:35:09 +0200 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B3E962.3070207@fourthworld.com> Message-ID: <56B45EBD.50302@gmail.com> On 5.02.2016 03:33, Dr. Hawkins wrote: > On Thu, Feb 4, 2016 at 4:14 PM, Richard Gaskin > wrote: > >> "Developer Preview" is not "Stable", but the purpose of a DP is to allow >> everyone the opportunity to make sure "Stable" is stable. >> >> So start testing with v8 today. >> >> LC is both broad and deep. Testing a new engine version with your >> specific project is the only way to ensure that version will meet your >> project's specific needs. >> > Time is an issue here; that's why I'm paying for a commercial product. > > I've already reduced my law practice to accommodate this; adding testing > time for the ext version (with a different file format) would mean cutting > into the bone on my income; my kids need to eat. So, I would suppose. But, if the current version of LiveCode that you are using serves your purposes why get "all frothy" about version 8.0, which, rather like good wine, will take a while to mature. My Devawriter is still being maintained and tweaked with LC 4.5: "if it ain't broke, don't fix it" : see, I did learn something useful when I was in the States as well as acquire a Master's degree :) Richmond. > > hawk > > > > From richmondmathewson at gmail.com Fri Feb 5 03:43:02 2016 From: richmondmathewson at gmail.com (RM) Date: Fri, 5 Feb 2016 10:43:02 +0200 Subject: Release 8.0 DP 14 In-Reply-To: <56B406D3.6040806@fourthworld.com> References: <56B406D3.6040806@fourthworld.com> Message-ID: <56B46096.5070806@gmail.com> On 5.02.2016 04:20, Richard Gaskin wrote: > Dr. Hawkins wrote: > > > On Thu, Feb 4, 2016 at 4:14 PM, Richard Gaskin wrote: > > > >> "Developer Preview" is not "Stable", but the purpose of a DP is to > >> allow everyone the opportunity to make sure "Stable" is stable. > >> > >> So start testing with v8 today. > >> > >> LC is both broad and deep. Testing a new engine version with your > >> specific project is the only way to ensure that version will meet > >> your project's specific needs. > >> > > > > Time is an issue here; that's why I'm paying for a commercial product. > > > > I've already reduced my law practice to accommodate this; adding > > testing time for the ext version (with a different file format) would > > mean cutting into the bone on my income; my kids need to eat. > > Suit yourself. > > I regard testing new software my business relies on as part of the > ongoing cost of developing and maintaining my products. > > You know better than most that given the combinatorial explosion of > possible syntax and feature options that it's not possible for anyone > but you to test the specific combinations your software relies on. > > The rest of us will do some of your testing for you in the course of > testing our own work, and if you're in a gambling mood you're free to > bet on the possibility that how we use LC is exactly the same as how > you use it. > > Personally, I wouldn't take that bet myself, but I'm not much of a > gambler. > I'm not a gambler either. But I do know one thing: Despite my periodic "snotty patches": LiveCode has always delivered when it comes to stable releases. If one wants to run at the front of the pack (i.e. developing with Developer previews) then one really shouldn't be that surprised when one stubs one's toe. Considering that I donated 80 pounds (that's about 120 bucks US) to the Kickstarter project I believe I have got damn good value ever since. Parenthetically . . . re my "snotty patches" . . . you can think of those as the histrionic outbursts of someone who is a bit too emotionally attached to LiveCode if you want :-* I am absolutely sure that when LiveCode 8 comes to fruition it will make all that has gone before look very inferior. A while back I characterised LC 8 as where LiveCode really escapes its HyperCard ancestry and becomes very much its own beast: the ape comes down from the trees . . . I do believe that, and that a spot of patience will reap dividends. AND, while we are waiting the thing to do is to keep developing with stable releases (6 & 7) and bug test 8 and keep the feedback going (even "snotty" feedback if necessary). Richmond. From richmondmathewson at gmail.com Fri Feb 5 04:28:34 2016 From: richmondmathewson at gmail.com (RM) Date: Fri, 5 Feb 2016 11:28:34 +0200 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B3A53A.4040903@gmail.com> Message-ID: <56B46B42.5020903@gmail.com> On 5.02.2016 01:29, Ali Lloyd wrote: > We are currently in a DP cycle, and I know it will come back to bite me if > I say I think it is very stable, so forgive me for being cautious. > > Richmond, I may have missed it - did you answer my question? The error you > posted was nothing to do with the dictionary. It was an error in the > menubar, a stack which you have been making changes to. If there is a > problem with the dictionary, could you please describe the problem with the > dictionary? > > I think that as far as Linux is concerned the Dictionary has, in the 8.0 DP releases gone from bad to worse, so my report will probably, largely consist of a series of pictures + descriptions of functionality (or lack thereof) of releases DP 11 to 14. Whether that will actually be of any value at all I'm just not sure. As my yardstick I shall use the LC 7.1 Dictionary, which is possibly a bit silly as I know that the LC 8.0 Dictionary is meant to be both different and better than the 7.0 one. However, as the LC 7.1 Dictionary does work, I cannot really think of another useful point of comparison. I will, also, try to test out 8.0 DP 14 on a Windows machine, even if only as a way of gauging what is "not there" with the Linux version. Richmond. From peter.brett at livecode.com Fri Feb 5 05:12:31 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 5 Feb 2016 10:12:31 +0000 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B40708.7030200@fourthworld.com> Message-ID: <56B4758F.3030904@livecode.com> On 05/02/2016 02:35, Roger Eller wrote: > I installed it and launched it just before leaving work for the day. There > wasn't time to file a report, but hey, apparently RunRev didn't care enough > to even try it in Windows 7 64-bit. Therefore, I don't feel too bad about > my share of effort in testing thus far. > > I'll have a closer look tomorrow, unless my job gets in the way. Hi Roger, We have found a machine on which we're able to reproduce the problem, and we'll fix it in time for 7.1.2-rc-2. The bug report is here: http://quality.livecode.com/show_bug.cgi?id=16859 Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From roger.e.eller at sealedair.com Fri Feb 5 08:31:33 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 5 Feb 2016 08:31:33 -0500 Subject: Release 8.0 DP 14 In-Reply-To: <56B42D8B.4020304@fourthworld.com> References: <56B42D8B.4020304@fourthworld.com> Message-ID: Perhaps "apparent" was not the right word, and was mis-used in my moment of frustration. However, I would still love to see the stats on platform-specific (human interaction) testing times at RR before a new version is announced. Sub-platforms would be interesting to see as well, such as Windows 7 home, vs Windows 7 pro in a secure Enterprise computing environment vs the plethora of OS X and iOS versions. Do they test if the installer needs elevated privileges, or the machine hasn't been secured at all? etc. On Feb 5, 2016 12:05 AM, "Richard Gaskin" wrote: > Roger Eller wrote: > > I installed it and launched it just before leaving work for the day. > > There wasn't time to file a report, but hey, apparently RunRev didn't > > care enough to even try it in Windows 7 64-bit. > > Sometimes what may seem "apparent" may be more a matter of inference. Have > you considered the possibility that the issue you experienced may be less > common than you had imagined? > > I just downloaded and installed v8dp14 on my 64-bit Win 7 machine, and it > runs okay. > > If you include the Windows crash log with your report the team seems to be > able to fix things like that pretty quickly. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and 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 pmbrig at gmail.com Fri Feb 5 08:53:22 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 5 Feb 2016 08:53:22 -0500 Subject: How to create a hyperlink within a text field? In-Reply-To: References: <004501d15e73$135a73c0$3a0f5b40$@kestner.de> <007701d15e88$518cf310$f4a6d930$@kestner.de> Message-ID: On Feb 3, 2016, at 9:20 PM, Kay C Lan wrote: >> The second is to get the lineoffsets >> of the link text and scroll to the second occurrence of it. > > > With lineOffset you can guarantee that it will be the first line found by > determining how long your TOC is or on what line the 'body' of your > information starts within your field and using this as the > parameter. > > select line (lineOffset(tHeading, fld "Interesting stuf", 27) + 3) of fld > "interesting stuff" I use the following to get all the lineoffsets of a string in a container. This kind of situation is just one of the useful applications of the function. In this case item 2 of lineoffsets(?) does the job. If you pass true for matchWhole when calling it, then you will only get whole titles, which will work as long as you don't have two identical chapter titles. function lineOffsets str, pContainer, matchWhole -- returns a comma-delimited list of all the lineOffsets of str -- in pContainer -- if matchWhole = true then only whole lines are located -- else finds line matches everywhere str is part of a line in pContainer -- duplicates are stripped out -- note: to get the last lineOffset of a string in a container (often useful) -- use "item -1 of lineOffsets(...)" -- by Peter M. Brigham, pmbrig at gmail.com ? freeware -- requires offsets() if matchWhole = empty then put false into matchWhole put offsets(str,pContainer) into offList if offList = "0" then return "0" repeat for each item i in offList put the number of lines of (char 1 to i of pContainer) into lineNbr if matchWhole then if line lineNbr of pContainer <> str then next repeat end if put 1 into A[lineNbr] -- using an array avoids duplicates end repeat put the keys of A into lineList sort lines of lineList ascending numeric replace cr with comma in lineList return lineList end lineOffsets function offsets str, pContainer -- returns a comma-delimited list of all the offsets of str in pContainer -- returns 0 if not found -- note: offsets("xx","xxxxxx") returns "1,3,5" not "1,2,3,4,5" -- ie, overlapping offsets are not counted -- note: to get the last occurrence of a string in a container (often useful) -- use "item -1 of offsets(...)" -- by Peter M. Brigham, pmbrig at gmail.com ? freeware if str is not in pContainer then return 0 put 0 into startPoint repeat put offset(str,pContainer,startPoint) into thisOffset if thisOffset = 0 then exit repeat add thisOffset to startPoint put startPoint & comma after offsetList add length(str)-1 to startPoint end repeat return item 1 to -1 of offsetList -- delete trailing comma end offsets -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From rdimola at evergreeninfo.net Fri Feb 5 09:48:56 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 5 Feb 2016 09:48:56 -0500 Subject: Make a Group Bereft of All Layout Properties In-Reply-To: References: Message-ID: <005701d16024$56f8a540$04e9efc0$@net> Team, This brings up an issue I just discovered yesterday. I resize several controls in a group. The group auto resizes(lock lock true) to the max x/y extents of all objects. It seems that there is a 4 pixel margin right/top/right/bottom. The group is 8 Pixels taller and wider that it needs to be. Is this caused a property that I missed? Thanks! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Scott Rossi Sent: Friday, February 05, 2016 2:14 AM To: LiveCode Mail List Subject: Re: Make a Group Bereft of All Layout Properties The group can always clip the objects within it. If you give the group margins and do the math to scale the object/s within to stay within the inner rect, you can maintain the objects' graphic effects. If you don't want to do the math and move the contained objects independently of the group, you could try enabling clipsToRect property of the group. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/4/16, 10:57 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: >Am I the only one who frequently wishes that groups could be made as a >kind of class or abstraction? By this I mean, I want to establish a >group that would, by default, > > take the rect of the card (dynamically if it were resized) have no >border or any graphical properties of any kind as an ?object? i.e. the >group is an abstactions: a collection of objects, while itself not >having any UI props at all. > > > >use case is: You want to place objects into a group, but the objects >are not bounded, graphical by any rect. You will never be placing this >particular group to a location as such, only it?s members. > >Currently if you create, for example, a field, set graphic effects etc. >and want to make it a group so that it can be placed on multiple cards, >you have to struggle to ward off the group border, the group rect acts >as a mask that cuts the outglow effect etc. any attempts to change the >size of the group using handles then ?messes? with the object inside >it? > >Is there a way to have a group be just a class of objects? with no >properties that will interfere at all with the objects it contains? > >BR >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Feb 5 11:08:47 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 5 Feb 2016 08:08:47 -0800 Subject: Make a Group Bereft of All Layout Properties In-Reply-To: <005701d16024$56f8a540$04e9efc0$@net> References: <005701d16024$56f8a540$04e9efc0$@net> Message-ID: <56B4C90F.4000804@fourthworld.com> Ralph DiMola wrote: > This brings up an issue I just discovered yesterday. I resize several > controls in a group. The group auto resizes(lock lock true) to the > max x/y extents of all objects. It seems that there is a 4 pixel > margin right/top/right/bottom. The group is 8 Pixels taller and wider > that it needs to be. Is this caused a property that I missed? Ralph, it's LiveCode: to adjust the margins of a group see the margins property. :) It's 4 px by default, but can be set to any integer including zero. -- 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 Fri Feb 5 11:11:20 2016 From: richmondmathewson at gmail.com (RM) Date: Fri, 5 Feb 2016 18:11:20 +0200 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B3A53A.4040903@gmail.com> Message-ID: <56B4C9A8.10005@gmail.com> On 5.02.2016 01:29, Ali Lloyd wrote: > We are currently in a DP cycle, and I know it will come back to bite me if > I say I think it is very stable, so forgive me for being cautious. > > Richmond, I may have missed it - did you answer my question? The error you > posted was nothing to do with the dictionary. It was an error in the > menubar, a stack which you have been making changes to. If there is a > problem with the dictionary, could you please describe the problem with the > dictionary? > > Well: 1. I get the same result whether I try to open the Dictionary via the button on the menuBar, or via the menu [ and it is difficult to see how I would go about opening the Dictionary in any other way. 2. If one looks in the Application Browser or the Project Browser there is no entry for "revDictionary" visible until AFTER the Dictionary stack has been opened. 3. Typing 'open stack "revDictionary"' in the messageBOx gets the same non-functional dictionary window and error report as the other ways. Richmond. From ambassador at fourthworld.com Fri Feb 5 11:22:23 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 5 Feb 2016 08:22:23 -0800 Subject: Release 8.0 DP 14 In-Reply-To: <56B46096.5070806@gmail.com> References: <56B46096.5070806@gmail.com> Message-ID: <56B4CC3F.6060201@fourthworld.com> Richmond wrote: > I am absolutely sure that when LiveCode 8 comes to fruition it > will make all that has gone before look very inferior. A while > back I characterised LC 8 as where LiveCode really escapes its > HyperCard ancestry and becomes very much its own beast: the ape > comes down from the trees . . . I do believe that, and that a > spot of patience will reap dividends. AND, while we are waiting > the thing to do is to keep developing with stable releases (6 & > 7) and bug test 8 and keep the feedback going (even "snotty" > feedback if necessary). Well said. I almost never use any pre-Stable version for deployment, but I almost always do my daily development in the most recent test build. This means my customers get the most solid software I can help deliver: they get the final build of a version, and long before it's final I've had months to work with my code in it, able to find any issues that may come up long before it goes final so my customers don't have to see them. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Fri Feb 5 11:26:56 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 5 Feb 2016 11:26:56 -0500 Subject: Release 8.0 DP 14 In-Reply-To: <56B406D3.6040806@fourthworld.com> References: <56B406D3.6040806@fourthworld.com> Message-ID: <009401d16032$084165f0$18c431d0$@net> Ferreting out bugs in new LC versions a real time waster until one considers.. 1) I did not have to learn Objective C for iOS. 2) I did not have to have to learn Java for Android. 3) I don't have to step thru strings old school to find characters/items/words/lines. 4) I can deploy to multiple desktop/mobile platforms. 5) Being able to put an http url into a variable 6) Being able to write a web service to access databases in a day. 7) All the community resources like FastJson that I just used the other day to deal with a web service. 8) HTML 5 deployment. The list goes on-and-on. In the large picture I save way more time than I lose. It's a net gain for me. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Thursday, February 04, 2016 9:20 PM To: use-livecode at lists.runrev.com Subject: Re: Release 8.0 DP 14 Dr. Hawkins wrote: > On Thu, Feb 4, 2016 at 4:14 PM, Richard Gaskin wrote: > >> "Developer Preview" is not "Stable", but the purpose of a DP is to >> allow everyone the opportunity to make sure "Stable" is stable. >> >> So start testing with v8 today. >> >> LC is both broad and deep. Testing a new engine version with your >> specific project is the only way to ensure that version will meet >> your project's specific needs. >> > > Time is an issue here; that's why I'm paying for a commercial product. > > I've already reduced my law practice to accommodate this; adding > testing time for the ext version (with a different file format) would > mean cutting into the bone on my income; my kids need to eat. Suit yourself. I regard testing new software my business relies on as part of the ongoing cost of developing and maintaining my products. You know better than most that given the combinatorial explosion of possible syntax and feature options that it's not possible for anyone but you to test the specific combinations your software relies on. The rest of us will do some of your testing for you in the course of testing our own work, and if you're in a gambling mood you're free to bet on the possibility that how we use LC is exactly the same as how you use it. Personally, I wouldn't take that bet myself, but I'm not much of a gambler. -- 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 richmondmathewson at gmail.com Fri Feb 5 11:33:06 2016 From: richmondmathewson at gmail.com (RM) Date: Fri, 5 Feb 2016 18:33:06 +0200 Subject: Release 8.0 DP 14 In-Reply-To: <009401d16032$084165f0$18c431d0$@net> References: <56B406D3.6040806@fourthworld.com> <009401d16032$084165f0$18c431d0$@net> Message-ID: <56B4CEC2.10107@gmail.com> Well said that man! The other day I "stumbled" over a C++ book and thought * censored * [so many filthy words that my message would offend everybody]. I know why I'm with LiveCode. Richmond. On 5.02.2016 18:26, Ralph DiMola wrote: > Ferreting out bugs in new LC versions a real time waster until one > considers.. > > 1) I did not have to learn Objective C for iOS. > 2) I did not have to have to learn Java for Android. > 3) I don't have to step thru strings old school to find > characters/items/words/lines. > 4) I can deploy to multiple desktop/mobile platforms. > 5) Being able to put an http url into a variable > 6) Being able to write a web service to access databases in a day. > 7) All the community resources like FastJson that I just used the other day > to deal with a web service. > 8) HTML 5 deployment. > > The list goes on-and-on. In the large picture I save way more time than I > lose. It's a net gain for me. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > From ambassador at fourthworld.com Fri Feb 5 11:38:42 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 5 Feb 2016 08:38:42 -0800 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: <56B4D012.4090009@fourthworld.com> Roger Eller wrote: > Perhaps "apparent" was not the right word, and was mis-used in my > moment of frustration. Happens to all of us. You should see the many emails I don't send - sometimes we just need to vent. :) > However, I would still love to see the stats on platform-specific > (human interaction) testing times at RR before a new version is > announced. Sub-platforms would be interesting to see as well, > such as Windows 7 home, vs Windows 7 pro in a secure Enterprise > computing environment vs the plethora of OS X and iOS versions. > Do they test if the installer needs elevated privileges, or the > machine hasn't been secured at all? etc. I don't know the full scope of their OS use during development, but I feel somewhat confident in suggesting Windows use could be increased there. The desktop is all about Windows. Always has been, and will remain so for the forseeable future. LiveCode does a wonderful job of allowing developers to choose their own OS for developing regardless what platforms they're deploying to, and given our community's history of HyperCard knowledge we know that the LC audience is currently skewed very disproportionately in favor of OS X. But that's the past. The future must have a number of new developers far larger than the current ones, and we can expect any new audience will reflect the larger demographic in which Windows dominates. Mark Waddingham explained here a few months back why most of their machines are Macs: it's the only computer on which one can legally run all three OS families, with OS X on metal and various Windows and Linux version in VMs. I appreciate that, and used to buy Macs exclusively for that reason, but those of us who use VMs know how it plays out in practice: we wind up using our VMs only for periodic testing and touch-ups, and spend most of our time with whatever OS is installed on metal. IMNSHO I believe it would be helpful for the LC IDE team to adopt a workflow in which one full day each week is spent entirely in a platform other than the one they personally prefer. So for an OS X fan that would mean three days of the week with the Mac they love, but one full day immersed in Windows and another full day immersed in Linux. I believe that if this were adopted it would greatly accelerate the discovery and resolution of platform-specific issues. And after all, the beauty of LiveCode is that it should no impact productivity of the team at all; after all, if you're spending your day in LC it should be equally productive regardless what OS it's running on, so where's it's not that's an LC problem that can be identified and fixed. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Feb 5 11:17:48 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 5 Feb 2016 08:17:48 -0800 Subject: Make a Group Bereft of All Layout Properties In-Reply-To: References: Message-ID: <56B4CB2C.8090400@fourthworld.com> Sannyasin Brahmanathaswami wrote: > Am I the only one who frequently wishes that groups could be made as > a kind of class or abstraction? By this I mean, I want to establish > a group that would, by default, > > take the rect of the card (dynamically if it were resized) > have no border or any graphical properties of any kind as an ?object? > i.e. the group is an abstactions: a collection of objects, while > itself not having any UI props at all. > > > use case is: You want to place objects into a group, but the objects > are not bounded, graphical by any rect. You will never be placing > this particular group to a location as such, only it?s members. > > Currently if you create, for example, a field, set graphic effects > etc. and want to make it a group so that it can be placed on multiple > cards, you have to struggle to ward off the group border, the group > rect acts as a mask that cuts the outglow effect etc. any attempts > to change the size of the group using handles then ?messes? with the > object inside it? > > Is there a way to have a group be just a class of objects? with no > properties that will interfere at all with the objects it contains? If you set the lockLoc of the group to false and its borderwidth to zero, I think you'll have what you're looking for: no visible appearance, automatically resizing to fit its contained objects without altering their positions, yet still placeable on multiple cards and providing another layer in the message path for common code. If groups don't currently adjust to allow for changes in the graphic effects of contained objects IMO this would be a bug worth submitting. -- 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 Fri Feb 5 11:17:08 2016 From: richmondmathewson at gmail.com (RM) Date: Fri, 5 Feb 2016 18:17:08 +0200 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B3A53A.4040903@gmail.com> Message-ID: <56B4CB04.20209@gmail.com> Really? On 5.02.2016 01:29, Ali Lloyd wrote: > The error you > posted was nothing to do with the dictionary. It was an error in the > menubar, a stack which you have been making changes to. How have I been making changes to the menubar? Sorry; must be missing something here :-[ Richmond. From ambassador at fourthworld.com Fri Feb 5 12:09:13 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 5 Feb 2016 09:09:13 -0800 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: <56B4D739.6080500@fourthworld.com> Peter Haworth wrote: > I saw that this release includes "better desktop theming" for desktop > apps, but should all my stacks be displayed with a grey background on > OSX? I know I can override this but is that really the way native > apps look on OSX? I'm having a hard time finding one that does. You may be seeing controls that fill the content region of the window. All OSes provide a default color and/or pattern for a window's content region (the portion below the drag/title bar), and on Windows and Linux LC did a good job of reading the current settings for the system and drawing its windows with that color/pattern. On OS X, for reasons I never quite understood, LC windows were always drawn with a white content region, even as OS X itself used first a series of ever-more-faint seersucker stripes and in recent years returning to its NeXT roots with a set of grays (though thankfully much lighter than NeXT's cool-but-heavy-feeling gun metal gray). With document windows this background color may not be evident, as controls may completely fill the content region. In TextEdit, for example, the window is completely filled with an editable text field, whose background is white. But if we look at palettes, dialogs, and other windows we see the default color - consider the examples on this page from Apple's OS X HIG: In older versions of LC we had to manually determine the preferred OS background color, and add code to our apps that set the backgroundColor of the mainstack to match on OS X, and set that to empty on Windows and Linux so the OS-provided color would take effect. This was even more problematic in earlier OS X versions since the pinstripes kept changing with each OS version, requiring us to take a screen shot and include an image of that which we could use to set the mainstack's backgroundPattern. Looking ahead, we can expect the OS-suggested colors and/or patterns to change again in future versions, so even though it's a single color today we have no way to know for sure that it won't be a pattern or even just a different color in the future. With LC 8,.0 dp14 and later this is now handled for us, where just leaving the stack's backgroundColor and backgroundPattern empty will allow it to inherit the OS-provided appearance for us automatically on OS X as it has for years on the other two platforms. They took this further to also support the default OS font as well. Together, these enhancements make it easier to deliver OS-savvy appearances to our users. And as you noted, when you want a document window (or any other) to be another color, you can do that too. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bogdanoff at me.com Fri Feb 5 12:14:37 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 05 Feb 2016 09:14:37 -0800 Subject: IDE license expiring? Message-ID: Hi, When I open the LC IDE I am getting a pop up message when the application opens, ?Livecode License File Expiring 6.1.3 Your current license file is about to expire. Please connect your computer to the internet to fetch a new license file. 5 days remaining? I am connected to the internet, yet get this? What to do? Peter Bogdanoff UCLA From mwieder at ahsoftware.net Fri Feb 5 12:32:05 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 5 Feb 2016 09:32:05 -0800 Subject: calling Livecode from other languages In-Reply-To: References: <03BE5EED-3AD6-4613-ACFC-DE4B389B70D0@appisle.net> Message-ID: <56B4DC95.9080701@ahsoftware.net> On 02/04/2016 10:28 PM, Monte Goulding wrote: > The way to get rid of the GUI is use the -ui command line option. Alternately, what I do is hide the stack in the startup handler. Or just move it to an offscreen location. That way you don't have to deal with any special command line options. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Fri Feb 5 12:33:05 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 5 Feb 2016 17:33:05 +0000 Subject: Make a Group Bereft of All Layout Properties In-Reply-To: <56B4CB2C.8090400@fourthworld.com> References: <56B4CB2C.8090400@fourthworld.com> Message-ID: On February 5, 2016 at 6:52:26 AM, Richard Gaskin (ambassador at fourthworld.com) wrote: If groups don't currently adjust to allow for changes in the graphic effects of contained objects IMO this would be a bug worth submitting. yes, that is the problem Can anyone else confirm before I send this in? 1) import image 2) set outerGlow; spread it big 50 + 3) select the image 4) group (by itself for now? later we could add to the group) Result here in 7.1.1: the border of the, whether set to width, clips the visual effect. From brahma at hindu.org Fri Feb 5 12:38:38 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 5 Feb 2016 17:38:38 +0000 Subject: Can't Get LC Server to fire In-Reply-To: <56B411AE.2030306@techstrategies.com.au> References: <56B411AE.2030306@techstrategies.com.au> Message-ID: livecode-community-server *is* in the /cgi-bin the echo.lc file iin the cgi-bin is a bit different than the one in the public_html directory. it does not begin with ?) wrote: inside the public_html folder you use the .htaccess method fo setting the actions > > AddHandler livecode-script .lc > Action livecode-script /cgi-bin/livecode-community-server The contents of the .htaccess file here tell the server to process ".lc" files using the livecode-community-server executable in the /cgi-bin/ directory. Do you have the livecode-community-server executable in the cgi-bin directory? > I just installed Livecode server on our Hinduism Today cloud instance at linode which is running the same version of Ubuntu/apache as our Himalayan Academy site? also on a Linode cloud instance.. > > But as you can see the engine is no being triggered here: > > http://www.hinduismtoday.com/cgi-bin/echo.lc That is because the .htaccess file you have above is in the public_html directory, which doesn't get processed for files in the /cgi-bin/ directory. Cheers, Charles From brahma at hindu.org Fri Feb 5 13:00:12 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 5 Feb 2016 18:00:12 +0000 Subject: Timing Hide/Show - Lock/Unlock Screen - w Visual Effects. Message-ID: This animation business is all new and I?m missing some key knowledge base here. Can any clarify LC? underlying algorithm for running something like this? Goal: to have ?narration? text show in a field, smoothly disappear, then a second narration text appear in the field without abruptly just replacing the text. as ?pseudo? code this would appear to be what I want? but in fact it does not work. It?s as if the dissolve over time is superseded by the subsequent commands wait 1 second put the uNarrationText[1] of this card into fld "narrationPanel" show fld "narrationPanel" with visual effect dissolve very fast wait 1 second lock screen put empty into fld "narrationPanel" unlock screen with visual effect dissolve slowly wait 30 ticks lock screen put the uNarrationText[2] of this card into fld "narrationPanel" unlock screen with visual effect dissolve slowly in particular, narrowing it down to this show fld "narrationPanel" with visual effect dissolve very fast wait 1 second lock screen put empty into fld "narrationPanel" unlock screen with visual effect dissolve slowly # the effect I?m looking for is the first text should appear to dissolve, and the new text appear with dissolve Obviously I can do the whole field like this: wait 1 second put the uNarrationText[1] of this card into fld "narrationPanel" show fld "narrationPanel" with visual effect dissolve very fast wait 1 second hide fld "narrationPanel" with visual effect dissolve very fast put the uNarrationText[2] of this card into fld "narrationPanel" show fld "narrationPanel" with visual effect dissolve very fast but it woudl be cool just to have the text change out? Yes, I could create a mask object with the field inside, but I?m looking for a simpler 1 field only solution BR From dunbarx at aol.com Fri Feb 5 13:23:08 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 5 Feb 2016 13:23:08 -0500 Subject: Timing Hide/Show - Lock/Unlock Screen - w Visual Effects. In-Reply-To: References: Message-ID: <152b2ac63e4-772b-163d1@webprd-m13.mail.aol.com> Hi. You want something like: show/hide the text of fld "yourField" dissolve? Might be a cool feature for the "feature request" pane in the forum, and see what people say. Or listen here. Otherwise, I like your idea of a "mask" graphic or image, which can use the above commands, and reset the text at just the right moments... Craig Newman -----Original Message----- From: Sannyasin Brahmanathaswami To: How LiveCode Sent: Fri, Feb 5, 2016 1:01 pm Subject: Timing Hide/Show - Lock/Unlock Screen - w Visual Effects. This animation business is all new and I?m missing some key knowledge base here. Can any clarify LC? underlying algorithm for running something like this? Goal: to have ?narration? text show in a field, smoothly disappear, then a second narration text appear in the field without abruptly just replacing the text. as ?pseudo? code this would appear to be what I want? but in fact it does not work. It?s as if the dissolve over time is superseded by the subsequent commands wait 1 second put the uNarrationText[1] of this card into fld "narrationPanel" show fld "narrationPanel" with visual effect dissolve very fast wait 1 second lock screen put empty into fld "narrationPanel" unlock screen with visual effect dissolve slowly wait 30 ticks lock screen put the uNarrationText[2] of this card into fld "narrationPanel" unlock screen with visual effect dissolve slowly in particular, narrowing it down to this show fld "narrationPanel" with visual effect dissolve very fast wait 1 second lock screen put empty into fld "narrationPanel" unlock screen with visual effect dissolve slowly # the effect I?m looking for is the first text should appear to dissolve, and the new text appear with dissolve Obviously I can do the whole field like this: wait 1 second put the uNarrationText[1] of this card into fld "narrationPanel" show fld "narrationPanel" with visual effect dissolve very fast wait 1 second hide fld "narrationPanel" with visual effect dissolve very fast put the uNarrationText[2] of this card into fld "narrationPanel" show fld "narrationPanel" with visual effect dissolve very fast but it woudl be cool just to have the text change out? Yes, I could create a mask object with the field inside, but I?m looking for a simpler 1 field only solution BR _______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Feb 5 13:18:25 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 5 Feb 2016 10:18:25 -0800 Subject: Timing Hide/Show - Lock/Unlock Screen - w Visual Effects. In-Reply-To: References: Message-ID: <6445194C-E307-4C37-832C-BBCC43AD47F0@tactilemedia.com> I believe you're missing: lock screen for visual effect Regards, Scott Rossi Creative Director Tactile Media UX/UI Design > On Feb 5, 2016, at 10:00 AM, Sannyasin Brahmanathaswami wrote: > > This animation business is all new and I?m missing some key knowledge base here. > > Can any clarify LC? underlying algorithm for running something like this? > > Goal: to have ?narration? text show in a field, smoothly disappear, then a second narration text appear in the field without abruptly just replacing the text. > > as ?pseudo? code this would appear to be what I want? but in fact it does not work. > > It?s as if the dissolve over time is superseded by the subsequent commands > > > wait 1 second > > put the uNarrationText[1] of this card into fld "narrationPanel" > > show fld "narrationPanel" with visual effect dissolve very fast > > wait 1 second > > lock screen > > put empty into fld "narrationPanel" > > unlock screen with visual effect dissolve slowly > > wait 30 ticks > > lock screen > > put the uNarrationText[2] of this card into fld "narrationPanel" > > unlock screen with visual effect dissolve slowly > > > > > in particular, narrowing it down to this > > > show fld "narrationPanel" with visual effect dissolve very fast > > wait 1 second > > lock screen > > put empty into fld "narrationPanel" > > unlock screen with visual effect dissolve slowly > > > # the effect I?m looking for is the first text should appear to dissolve, and the new text appear with dissolve > > > Obviously I can do the whole field like this: > > > wait 1 second > > put the uNarrationText[1] of this card into fld "narrationPanel" > > show fld "narrationPanel" with visual effect dissolve very fast > > wait 1 second > > hide fld "narrationPanel" with visual effect dissolve very fast > > put the uNarrationText[2] of this card into fld "narrationPanel" > > show fld "narrationPanel" with visual effect dissolve very fast > > > > > but it woudl be cool just to have the text change out? Yes, I could create a mask object with the field inside, but I?m looking for a simpler 1 field only solution > > > BR > _______________________________________________ > From devin_asay at byu.edu Fri Feb 5 14:01:24 2016 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 5 Feb 2016 19:01:24 +0000 Subject: Make a Group Bereft of All Layout Properties In-Reply-To: References: <56B4CB2C.8090400@fourthworld.com> Message-ID: <888C07BA-6917-4C9B-BD5C-32B0CE307B02@byu.edu> > On Feb 5, 2016, at 10:33 AM, Sannyasin Brahmanathaswami wrote: > > On February 5, 2016 at 6:52:26 AM, Richard Gaskin (ambassador at fourthworld.com) wrote: > If groups don't currently adjust to allow for changes in the graphic > effects of contained objects IMO this would be a bug worth submitting. > > > yes, that is the problem > > Can anyone else confirm before I send this in? > > 1) import image > > 2) set outerGlow; spread it big 50 + > > 3) select the image > > 4) group (by itself for now? later we could add to the group) > > Result here in 7.1.1: the border of the, whether set to width, clips the visual effect. I reported this some time ago. See the discussion at http://quality.livecode.com/show_bug.cgi?id=8688. Devin Devin Asay Office of Digital Humanities Brigham Young University From blueback09 at gmail.com Fri Feb 5 15:23:25 2016 From: blueback09 at gmail.com (Matt Maier) Date: Fri, 5 Feb 2016 12:23:25 -0800 Subject: calling Livecode from other languages In-Reply-To: <56B4DC95.9080701@ahsoftware.net> References: <03BE5EED-3AD6-4613-ACFC-DE4B389B70D0@appisle.net> <56B4DC95.9080701@ahsoftware.net> Message-ID: Please correct me if any of the following is wrong. So in general we can run a standalone executable from the command line. It will fire up in whatever way it knows how. Normally that means the GUI will appear and the program will read/write visually. But if the code knows to listen on STDIN and respond on STDOUT (or more accurately redirect them?), then all visible elements can be hidden* and just the command line can be used to interact with the standalone. * One way is to pass -ui as confirmed by a couple discussions on using Livecode from the command line, but I can't find -ui in google searches. Another way is to set the visible of the stack to false. Another way is to set the location of the stack to somewhere off screen. On Fri, Feb 5, 2016 at 9:32 AM, Mark Wieder wrote: > On 02/04/2016 10:28 PM, Monte Goulding wrote: > > The way to get rid of the GUI is use the -ui command line option. >> > > Alternately, what I do is hide the stack in the startup handler. Or just > move it to an offscreen location. That way you don't have to deal with any > special command line options. > > -- > 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 dochawk at gmail.com Fri Feb 5 15:55:02 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Feb 2016 12:55:02 -0800 Subject: calling Livecode from other languages In-Reply-To: References: <03BE5EED-3AD6-4613-ACFC-DE4B389B70D0@appisle.net> Message-ID: On Fri, Feb 5, 2016 at 12:00 AM, Ali Lloyd wrote: > When you deploy a script-only stack as a standalone it is re-saved as a > normal stack. Not doing so at the moment results in the standalone crashing > on startup. > > On Fri, Feb 5, 2016 at 6:28 AM Monte Goulding wrote: > > > > > > On 5 Feb 2016, at 5:20 PM, Matt Maier wrote: > > > > > > So there isn't any special standalone option to compile a *.livecode > file > > > into a command line app like *.exe. I just compile a standalone for the > > > appropriate system, somehow get rid of the GUI, and tell it how to > > > read/write STDIN/STDOUT? > > > > > > Is that as simple as compiling a script-only stack into a standalone, > or > > > maybe setting the visible of the mainstack to false? > > > > The way to get rid of the GUI is use the -ui command line option. It > would > > be nice if command line app were an option in standalone settings and we > > didn?t need to use -ui. As script only stacks don?t retain custom > > properties between sessions and the standalone settings are saved as > custom > > properties I expect it would get a bit tedious to use a script only stack > > as the standalone mainstack?. not that I?ve tested to see if it works. > The > > main annoyance other than -ui is extracting the binary from a mac app > > bundle but you can script that. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode 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 dochawk at gmail.com Fri Feb 5 15:56:00 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Feb 2016 12:56:00 -0800 Subject: calling Livecode from other languages In-Reply-To: References: <03BE5EED-3AD6-4613-ACFC-DE4B389B70D0@appisle.net> Message-ID: On Fri, Feb 5, 2016 at 12:00 AM, Ali Lloyd wrote: > When you deploy a script-only stack as a standalone it is re-saved as a > normal stack. > I've seen a couple of references to "script only stacks". Are these just pieces of code? Outside of a standalone, would they be used as library stacks, or ???? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Fri Feb 5 16:01:19 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 5 Feb 2016 13:01:19 -0800 Subject: calling Livecode from other languages In-Reply-To: References: Message-ID: <56B50D9F.402@fourthworld.com> Matt Maier wrote: > Please correct me if any of the following is wrong. > > So in general we can run a standalone executable from the command > line. It will fire up in whatever way it knows how. Normally that > means the GUI will appear and the program will read/write visually. > But if the code knows to listen on STDIN and respond on STDOUT (or > more accurately redirect them?), then all visible elements can be > hidden* and just the command line can be used to interact with the > standalone. That seems correct. > * One way is to pass -ui as confirmed by a couple discussions on using > Livecode from the command line, but I can't find -ui in google > searches. Google is funny that way. I think it's trying to account for possible misspellings by filtering out the "-", so if you search for "livecode -ui" you'll wind up with a lot of articles on user interface. If you search for "livecode faceless" you'll find more relevant hits, including this one which may have some useful tips on this: > Another way is to set the visible of the stack to false. Another way > is to set the location of the stack to somewhere off screen. With all due respect to Mr. Wieder, I never use that option. One of the great things about running LC facelessly is the blinding boot speed, but when it needs to init the UI stuff it takes much longer. Launching from the command line with -ui bypasses the UI init, but simply hiding it makes for a normal GUI init process. If the process will stay resident the time difference probably doesn't matter, but when using standalones in a time-sensitive context such as CGI (where the engine is launched, runs, and dies with each request) it'll matter more. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at appisle.net Fri Feb 5 16:02:33 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 6 Feb 2016 08:02:33 +1100 Subject: calling Livecode from other languages In-Reply-To: References: <03BE5EED-3AD6-4613-ACFC-DE4B389B70D0@appisle.net> <56B4DC95.9080701@ahsoftware.net> Message-ID: <5DE5A0E6-0508-45B0-BD8D-7C01F472C1A6@appisle.net> That all sounds right. Another method is to do everything in the startup handler then quit at the end. Startup happens before the window is created. Sent from my iPhone > On 6 Feb 2016, at 7:23 AM, Matt Maier wrote: > > Please correct me if any of the following is wrong. > > So in general we can run a standalone executable from the command line. It > will fire up in whatever way it knows how. Normally that means the GUI will > appear and the program will read/write visually. But if the code knows to > listen on STDIN and respond on STDOUT (or more accurately redirect them?), > then all visible elements can be hidden* and just the command line can be > used to interact with the standalone. > > * One way is to pass -ui as confirmed by a couple discussions on using > Livecode from the command line, but I can't find -ui in google searches. > Another way is to set the visible of the stack to false. Another way is to > set the location of the stack to somewhere off screen. > >> On Fri, Feb 5, 2016 at 9:32 AM, Mark Wieder wrote: >> >> On 02/04/2016 10:28 PM, Monte Goulding wrote: >> >> The way to get rid of the GUI is use the -ui command line option. >> >> Alternately, what I do is hide the stack in the startup handler. Or just >> move it to an offscreen location. That way you don't have to deal with any >> special command line options. >> >> -- >> 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 monte at appisle.net Fri Feb 5 16:04:35 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 6 Feb 2016 08:04:35 +1100 Subject: calling Livecode from other languages In-Reply-To: References: <03BE5EED-3AD6-4613-ACFC-DE4B389B70D0@appisle.net> Message-ID: <3F364038-118C-4045-ABAB-9DF65E945DB0@appisle.net> Good to know, thanks Ali! Sent from my iPhone > On 5 Feb 2016, at 7:00 PM, Ali Lloyd wrote: > > When you deploy a script-only stack as a standalone it is re-saved as a > normal stack. Not doing so at the moment results in the standalone crashing > on startup. From brahma at hindu.org Fri Feb 5 16:25:24 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 5 Feb 2016 21:25:24 +0000 Subject: Make a Group Bereft of All Layout Properties In-Reply-To: <888C07BA-6917-4C9B-BD5C-32B0CE307B02@byu.edu> References: <56B4CB2C.8090400@fourthworld.com> <888C07BA-6917-4C9B-BD5C-32B0CE307B02@byu.edu> Message-ID: OK? I add my two cents on the bug report. Agreed, it *is* a bug and not an enhancement request. It gets worse if the ?child? field is dynamically re-sized based on the text being applied. Locking the group size/location does not work. BR On February 5, 2016 at 9:01:39 AM, Devin Asay (devin_asay at byu.edu) wrote: > 3) select the image > > 4) group (by itself for now? later we could add to the group) > > Result here in 7.1.1: the border of the, whether set to width, clips the visual effect. I reported this some time ago. See the discussion at http://quality.livecode.com/show_bug.cgi?id=8688. From brahma at hindu.org Fri Feb 5 16:32:35 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 5 Feb 2016 21:32:35 +0000 Subject: Timing Hide/Show - Lock/Unlock Screen - w Visual Effects. In-Reply-To: <6445194C-E307-4C37-832C-BBCC43AD47F0@tactilemedia.com> References: <6445194C-E307-4C37-832C-BBCC43AD47F0@tactilemedia.com> Message-ID: Nandri! (Thank you) Yes, this works now, I may let the second action be user/triggered? but it works. put the uNarrationText[1] of this card into fld "narrationPanel" show fld "narrationPanel" with visual effect dissolve very fast wait 1 second lock screen for visual effect put empty into fld "narrationPanel" unlock screen with visual effect dissolve very fast wait 1 second lock screen for visual effect put the uNarrationText[2] of this card into fld "narrationPanel" unlock screen with visual effect dissolve fast BR On February 5, 2016 at 8:45:42 AM, Scott Rossi (scott at tactilemedia.com) wrote: I believe you're missing: lock screen for visual effect Regards, From ambassador at fourthworld.com Fri Feb 5 12:56:24 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 5 Feb 2016 09:56:24 -0800 Subject: IDE license expiring? In-Reply-To: References: Message-ID: <56B4E248.4090502@fourthworld.com> Peter Bogdanoff wrote: > When I open the LC IDE I am getting a pop up message when the > application opens, ?Livecode License File Expiring 6.1.3 Your > current license file is about to expire. Please connect your > computer to the internet to fetch a new license file. 5 days > remaining? > > I am connected to the internet, yet get this? > > What to do? Buy a new reg server for LC. :) This may or may not be related, but in recent months I've had difficulty registering nearly every new install I've put on my machine, with the reg window reporting that it had trouble contacting the server. I've notified Support a couple times when this happened, but of course you know the old rule: the quickest way to resolve a problem is to report it to Support, at which time the problem will no longer be evident. :) That's what happened here: the issue has been intermittent and therefore difficult to reproduce. But I saw it again just yesterday twice, once when installing v8dp14 on my Linux box and again on my Win7 box. May not be related to the issue you're having, but if it is it suggests something can be done to tidy up the reg server and/or the IDE code that contacts it to make it more responsive. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Feb 5 16:59:13 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 5 Feb 2016 13:59:13 -0800 Subject: calling Livecode from other languages In-Reply-To: References: Message-ID: <56B51B31.5030907@fourthworld.com> Dr. Hawkins wrote: > I've seen a couple of references to "script only stacks". > > Are these just pieces of code? Outside of a standalone, would they > be used as library stacks, or ???? They were introduced in the v6.7 series (6.7.4?), allowing a plain text file that begins with a specific declaration to be used as stacks. The declaration is: script e.g.: ?script "revcommonlibrary" You'll find many of these in your LC folder in /Toolset/Libraries/ Not only are they useful as libraries, but behaviors have been extended to allow stacks now as well, so you can use script-only stacks for all generalized code. Script-only stacks allow us to design projects in which code is mostly in plain text files; we still get to enjoy the script editor, but can also directly integrate our work with workflows based around most common version control tools, like GitHub, in which UI files can e slender binaries with little or no code and everything else is plain text. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at appisle.net Fri Feb 5 17:00:11 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 6 Feb 2016 09:00:11 +1100 Subject: Release 8.0 DP 14 In-Reply-To: <56B4D012.4090009@fourthworld.com> References: <56B4D012.4090009@fourthworld.com> Message-ID: That may be easier said than done considering as far as I can tell from following progress at the moment there's no IDE only team. Instead there appears to be variable degrees of input between the engine and the IDE from the whole team. While it's relatively easy to do what you are suggesting for IDE only if you are jumping between LiveCode and C++ IDEs it might be a significant hit to productivity. It might be easier to designate platform specialists on the team and ensure the platform specialists spend a solid chunk of the week on the IDE. The other side of this issue of course is that OS X can test 4 out of 6 platforms while Windows and Linux can test 3. Cheers Monte Sent from my iPhone > On 6 Feb 2016, at 3:38 AM, Richard Gaskin wrote: > > IMNSHO I believe it would be helpful for the LC IDE team to adopt a workflow in which one full day each week is spent entirely in a platform other than the one they personally prefer. So for an OS X fan that would mean three days of the week with the Mac they love, but one full day immersed in Windows and another full day immersed in Linux. From ambassador at fourthworld.com Fri Feb 5 17:08:47 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 5 Feb 2016 14:08:47 -0800 Subject: Release 8.0 DP 14 In-Reply-To: References: Message-ID: <56B51D6F.2010607@fourthworld.com> Monte Goulding wrote: > That may be easier said than done considering as far as I can tell > from following progress at the moment there's no IDE only team. > Instead there appears to be variable degrees of input between the > engine and the IDE from the whole team. While it's relatively easy to > do what you are suggesting for IDE only if you are jumping between > LiveCode and C++ IDEs it might be a significant hit to productivity. > It might be easier to designate platform specialists on the team and > ensure the platform specialists spend a solid chunk of the week on > the IDE. Given current team composition that may be as good as it gets. > The other side of this issue of course is that OS X can test 4 out of > 6 platforms while Windows and Linux can test 3. OS X won't run the VM and test LC on Windows by itself. :) If the nature of the work requires dependency on a single OS that's understandable, but as long as Windows is the unquestionably dominant desktop OS by some means or another more time needs to be spent in it with 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 roger.e.eller at sealedair.com Fri Feb 5 17:13:33 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 5 Feb 2016 17:13:33 -0500 Subject: Release 8.0 DP 14 In-Reply-To: <56B51D6F.2010607@fourthworld.com> References: <56B51D6F.2010607@fourthworld.com> Message-ID: There's no reason as far as I can see that a Linux native user can't VNC to a remote Mac for the portion of testing that requires a Mac. The same is true of a Windows native user. ~Roger On Fri, Feb 5, 2016 at 5:08 PM, Richard Gaskin wrote: > Monte Goulding wrote: > > That may be easier said than done considering as far as I can tell > > from following progress at the moment there's no IDE only team. > > Instead there appears to be variable degrees of input between the > > engine and the IDE from the whole team. While it's relatively easy to > > do what you are suggesting for IDE only if you are jumping between > > LiveCode and C++ IDEs it might be a significant hit to productivity. > > It might be easier to designate platform specialists on the team and > > ensure the platform specialists spend a solid chunk of the week on > > the IDE. > > Given current team composition that may be as good as it gets. > > > The other side of this issue of course is that OS X can test 4 out of > > 6 platforms while Windows and Linux can test 3. > > OS X won't run the VM and test LC on Windows by itself. :) > > If the nature of the work requires dependency on a single OS that's > understandable, but as long as Windows is the unquestionably dominant > desktop OS by some means or another more time needs to be spent in it with > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Fri Feb 5 17:16:28 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 5 Feb 2016 14:16:28 -0800 Subject: calling Livecode from other languages In-Reply-To: <56B50D9F.402@fourthworld.com> References: <56B50D9F.402@fourthworld.com> Message-ID: <56B51F3C.6050707@ahsoftware.net> On 02/05/2016 01:01 PM, Richard Gaskin wrote: > > Another way is to set the visible of the stack to false. Another way > > is to set the location of the stack to somewhere off screen. > > With all due respect to Mr. Wieder, I never use that option. One of the > great things about running LC facelessly is the blinding boot speed, but > when it needs to init the UI stuff it takes much longer. Launching from > the command line with -ui bypasses the UI init, but simply hiding it > makes for a normal GUI init process. > > If the process will stay resident the time difference probably doesn't > matter, but when using standalones in a time-sensitive context such as > CGI (where the engine is launched, runs, and dies with each request) > it'll matter more. Yep. Good point. For my purposes, the startup time is not noticeable and pales in comparison with the sluggishness of communicating with the QuickBooks application. LC is in the mix because of the ease of creating and parsing xml trees. This would have been a nightmare in C++. Do note, however, that I could still use the -ui commandline option along with hiding the stack during startup to take advantage of the shorter boot time if needed. -- Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Fri Feb 5 18:13:15 2016 From: pete at lcsql.com (Peter Haworth) Date: Fri, 05 Feb 2016 23:13:15 +0000 Subject: LC8 Save command Message-ID: If I'm reading the documentation correctly, saving a stack file without specifying the "with format" clause results in it being saved in the format specified in the stackFileVersion. If I open a stack file created with 6.x or 7.x in 8.0 and save it without changing the stackFileVersion and without specifying the format in the "with" clause, it becomes unreadable by 6.x or 7.x, even if it uses none of the 8.0 features. I'd be happy to use the" with format" clause but is there a property of a stack that contains its stackFileVersion? The IDE obviously knows what it is since it puts out a nice error message if you try to open a stack file created with a later LC version. Would be nice if there was a "with current format" or something similar that would save the stack with the format it already has. From dochawk at gmail.com Fri Feb 5 18:17:50 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Feb 2016 15:17:50 -0800 Subject: Release 8.0 DP 14 In-Reply-To: <56B406D3.6040806@fourthworld.com> References: <56B406D3.6040806@fourthworld.com> Message-ID: On Thu, Feb 4, 2016 at 6:20 PM, Richard Gaskin wrote: > Suit yourself. > > I regard testing new software my business relies on as part of the ongoing > cost of developing and maintaining my products. > > You know better than most that given the combinatorial explosion of > possible syntax and feature options that it's not possible for anyone but > you to test the specific combinations your software relies on. > > The rest of us will do some of your testing for you in the course of > testing our own work, and if you're in a gambling mood you're free to bet > on the possibility that how we use LC is exactly the same as how you use it. > > Personally, I wouldn't take that bet myself, but I'm not much of a gambler. > I'm already gambling on the switch to the product and giving up income for that to happen . . . Frankly, I'd be nearly as happy with a 5.6. The only important thing for me in 7 so far is the ability to scale windows (which doesn't work all that well on the desktop anyway). I have a single usage of chained behavior, which is more about convenience than necessity; I could have done it with a library (on second thought, there's two). The window zooming is the only "win" for leaving 5. The Postgres SSL would have been useful some time back, but I've already worked around it (and it's not here yet, anyway). The large script thing that triggered this will only take me back to what I had with 5.5 . . . All in all, with a postgres plugin, I could have done this in HyperCard 2 or SuperCard 1.5. (in fact, I did exactly that with those a couple of decades ago, using cards to store the nets & assets rather than a database). Large scripts not seeing the system on walkabout is the only thing I really need from 8 so far. Coherent threading and a simple distributed file format instead of monolithic stacks would be far more useful for me than anything I've heard going in. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Feb 5 18:19:59 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Feb 2016 15:19:59 -0800 Subject: Release 8.0 DP 14 In-Reply-To: <56B46096.5070806@gmail.com> References: <56B406D3.6040806@fourthworld.com> <56B46096.5070806@gmail.com> Message-ID: On Fri, Feb 5, 2016 at 12:43 AM, RM wrote: > > I'm not a gambler either. But I do know one thing: > > Despite my periodic "snotty patches": LiveCode has always delivered when > it comes > to stable releases. If one wants to run at the front of the pack (i.e. > developing with > Developer previews) then one really shouldn't be that surprised when one > stubs one's toe. > > Err, that's why I'm staying with 7 for now . . . I was asked upthread if I could be persuaded to use 8. > Considering that I donated 80 pounds (that's about 120 bucks US) to the > Kickstarter project > I believe I have got damn good value ever since. > Mine was significantly more than that, and, all in all, I'm not significantly ahead of what I had with 5.5 -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mark at livecode.com Fri Feb 5 19:48:30 2016 From: mark at livecode.com (Mark Waddingham) Date: Sat, 6 Feb 2016 00:48:30 +0000 Subject: LC8 Save command In-Reply-To: References: Message-ID: That's correct - the stackfileversion is by default the most recent the engine understands. Saving stackfiles in a legacy version is an IDE semantic in the IDE save routines - it stores a custom property on the stack. On the other hand it is the engine which identifies whether a stackfiles is too new to be opened. Since 2.7 all stackfiles start with 8 bytes - REVOxyzw - where xyzw are the digits for the version the format was introduced in: REVO2700 - 2.7 REVO5500 - 5.5 REVO7000 - 7.0 REVO8000 - 8.0 Warmest regards, Mark. Sent from my iPhone > On 5 Feb 2016, at 23:13, Peter Haworth wrote: > > If I'm reading the documentation correctly, saving a stack file without > specifying the "with format" clause results in it being saved in the format > specified in the stackFileVersion. > > If I open a stack file created with 6.x or 7.x in 8.0 and save it without > changing the stackFileVersion and without specifying the format in the > "with" clause, it becomes unreadable by 6.x or 7.x, even if it uses none of > the 8.0 features. > > I'd be happy to use the" with format" clause but is there a property of a > stack that contains its stackFileVersion? The IDE obviously knows what it > is since it puts out a nice error message if you try to open a stack file > created with a later LC version. > > Would be nice if there was a "with current format" or something similar > that would save the stack with the format it already has. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Feb 5 19:55:03 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 05 Feb 2016 16:55:03 -0800 Subject: IDE license expiring? In-Reply-To: <56B4E248.4090502@fourthworld.com> References: <56B4E248.4090502@fourthworld.com> Message-ID: Thanks Richard. I sent in a support request. Peter On Feb 5, 2016, at 9:56 AM, Richard Gaskin wrote: > Peter Bogdanoff wrote: > > > When I open the LC IDE I am getting a pop up message when the > > application opens, ?Livecode License File Expiring 6.1.3 Your > > current license file is about to expire. Please connect your > > computer to the internet to fetch a new license file. 5 days > > remaining? > > > > I am connected to the internet, yet get this? > > > > What to do? > > Buy a new reg server for LC. :) > > This may or may not be related, but in recent months I've had difficulty registering nearly every new install I've put on my machine, with the reg window reporting that it had trouble contacting the server. > > I've notified Support a couple times when this happened, but of course you know the old rule: the quickest way to resolve a problem is to report it to Support, at which time the problem will no longer be evident. :) > > That's what happened here: the issue has been intermittent and therefore difficult to reproduce. But I saw it again just yesterday twice, once when installing v8dp14 on my Linux box and again on my Win7 box. > > May not be related to the issue you're having, but if it is it suggests something can be done to tidy up the reg server and/or the IDE code that contacts it to make it more responsive. > > -- > 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 bogdanoff at me.com Fri Feb 5 20:01:45 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 05 Feb 2016 17:01:45 -0800 Subject: Drag off palette Message-ID: <89F64A7F-691A-45D1-A9A7-48D04673B269@me.com> Can anyone share the technique to drag an item off a palette, like one does with LC?s tool palette? I see now that when you drag off a text entry field you see under the pointer a little field with a blinking cursor. What exactly is being dragged? Peter Bogdanoff From mark at livecode.com Fri Feb 5 20:19:18 2016 From: mark at livecode.com (Mark Waddingham) Date: Sat, 6 Feb 2016 01:19:18 +0000 Subject: Drag off palette In-Reply-To: <89F64A7F-691A-45D1-A9A7-48D04673B269@me.com> References: <89F64A7F-691A-45D1-A9A7-48D04673B269@me.com> Message-ID: <1F4942C4-48AE-4E1F-9DA0-5B69D5FC5B36@livecode.com> Hi Peter, Have a look at the tools palette code - it creates a stack and puts a control in it. Then it uses a repeat / wait loop to track the pointer and manage the stack. Warmest regards, Mark. Sent from my iPhone > On 6 Feb 2016, at 01:01, Peter Bogdanoff wrote: > > Can anyone share the technique to drag an item off a palette, like one does with LC?s tool palette? > > I see now that when you drag off a text entry field you see under the pointer a little field with a blinking cursor. What exactly is being dragged? > > 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 mwieder at ahsoftware.net Fri Feb 5 21:07:52 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 5 Feb 2016 18:07:52 -0800 Subject: LC8 Save command In-Reply-To: References: Message-ID: <56B55578.1090809@ahsoftware.net> On 02/05/2016 03:13 PM, Peter Haworth wrote: > Would be nice if there was a "with current format" or something similar > that would save the stack with the format it already has. Expanding on what Mark said, the IDE will do this if you have the preference set, but the save command invoked from a script won't. As you have discovered, calling the save command without options will save in 7.0 format unless there are widgets in the stack, in which case it will save in 8.0 format. To save in other formats you can either set the stackFileVersion before saving or use "with format" option of the save command. -- Mark Wieder ahsoftware at gmail.com From bogdanoff at me.com Fri Feb 5 22:08:54 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 05 Feb 2016 19:08:54 -0800 Subject: Drag off palette In-Reply-To: <1F4942C4-48AE-4E1F-9DA0-5B69D5FC5B36@livecode.com> References: <89F64A7F-691A-45D1-A9A7-48D04673B269@me.com> <1F4942C4-48AE-4E1F-9DA0-5B69D5FC5B36@livecode.com> Message-ID: <046B89B8-404A-4D8D-8BF8-07EEE085723B@me.com> Thanks, Mark. Very nice! On Feb 5, 2016, at 5:19 PM, Mark Waddingham wrote: > Hi Peter, > > Have a look at the tools palette code - it creates a stack and puts a control in it. Then it uses a repeat / wait loop to track the pointer and manage the stack. > > Warmest regards, > > Mark. > > Sent from my iPhone > >> On 6 Feb 2016, at 01:01, Peter Bogdanoff wrote: >> >> Can anyone share the technique to drag an item off a palette, like one does with LC?s tool palette? >> >> I see now that when you drag off a text entry field you see under the pointer a little field with a blinking cursor. What exactly is being dragged? >> >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Fri Feb 5 22:14:24 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 6 Feb 2016 11:14:24 +0800 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B406D3.6040806@fourthworld.com> <56B46096.5070806@gmail.com> Message-ID: At first, I've got to say I was thoroughly underwhelmed... but then discovered I hadn't updated at all. I normally always use the link provided to grab the download but for some reason this time I just used the 'Check for Updates' in the Help menu. I should have realised something was up when the Installer didn't ask me where I wanted to Install to - I always install to My Applications folder not the All User Application folder. I don't see a need to clutter the QCC, just be aware that at least on OS X dp 13 the Check for Updates points to the wrong file and you are better off grabbing the dp 14 file directly. Having got dp14... wow, awesome, the changes are immediately apparent. The Dictionary is useable! It's like Christmas has come again. So thankful for those many talented people at the matriarchal maritime transportation vessel establishment (not wishing to offend Peter ;-) who have spent so much time learning impenetrable, cryptic and downright cantankerous foreign languages (C++, Objective C, Apple iOS app submission requirements...) so that I don't have to and all they ask in return is that any time I've got a bit of a grumble is click a Bookmark and fill out an online form. Seems terribly one sided, but OK. From brahma at hindu.org Fri Feb 5 22:33:28 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 6 Feb 2016 03:33:28 +0000 Subject: Visual Effect and Initial Commands "disappear" on card transition Message-ID: ? For LC mystery forensics experts. I will attempt to send sweet dreams from Hawaii to anyone who can solve this problem. go stack url "http://dev.himalayanacademy.com/stacks/SivasHawaiiRevels/SivasHawaiiRevels.livecode? Disclaimer: if you are appalled by my architecture, its? because I don?t know what I?m doing?this world of animiation/presentation etc all new. I want users to drive events from a button on screen (on the right), so I set some custom prop flags and then this handler in the stack script does the work: on nextEvent put the uNextEvent of this card into tEvent switch tEvent case "nextStage" # set/called when all scenes are done on a card put the uNextStage of this stack into tNextCard visual effect dissolve very fast go to card tNextCard break case "scene2" send "scene2" to this card # almost always is one break case "scene3" send "scene3" to this card # may not be one break case "scene4" send "scene4" to this card # may not be one break end switch end nextEvent In the case of card 1, this is a title card? so I have the script drive the event, which is to go to the next card (s) after Animation Engine finishes some moves like this, the ?nextEvent? command issue issued automatically: local tHALogo, tCompanyTitle on preOpenCard setStage end preOpenCard on opencard scene1 end opencard command setStage put the long id of fld "companyTitle" into tCompanyTitle put the long id of img "HaLogo" into tHaLogo set the rect of tHALogo to 0,0,500,500 set the loc of tHALogo to the loc of this card set the loc of tCompanyTitle to 1170,-123 hide grp "Navigators" end setStage command scene1 set the uNextStage of this stack to "Stage1" set the uNextEvent of this card to "nextStage" aeLockMoves aeChangeRect tHALogo, 40,40,220,220,1500,"overshoot" aeMoveTo tCompanyTitle, the loc of this card, 1500, "inOut" aeUnlockMoves end scene1 on aeMoveDone nextEvent end aeMoveDone ??? This should cause LC to open Card 2 with a dissolve and run the preopen and open card scripts SetStage runs as expect, but scene1 does not (when coming from cd 1 only) local tStage1Layer1, tModuleTitle on preopencard setStage end preopencard on openCard scene1 end openCard # all objects: command setStage put the long id of img "stage-1_layer-1" into tStage1Layer1 put the long id of fld "moduletitle" into tModuleTitle hide tStage1Layer1 hide tModuleTitle hide grp "Navigators" set the rect of tStage1Layer1 to the uMyEffects["startsizelocation"] of tStage1Layer1 end setStage command scene1 # first scenario show img "stage-1_layer-1" with visual effect dissolve slowly #second scenario wait 2 seconds put the uMyEffects["move1sizelocation"] of tStage1Layer1 into tNewLocation put the uMyEffects["move1speed"] of tStage1Layer1 into tMove1Speed aeChangeRect tStage1Layer1, tNewLocation,tMove1Speed,"out" set the uNextEvent of this card to "Scene2" show grp "navigators" end scene1 command scene2 # this works show tModuleTitle #only one scenario and then we are done... move on to next card/stage set the uNextEvent of this card to "nextStage" # next stage will be a puzzle: set the uNextStage of this stack to "word-puzzle" # we need to set the next puzzle number ahead of time set the uPuzzleNo of card "word-puzzle" to 1 end scene2 This works fine for every transtion from card 2 to card 3, card 3 to card 4 you can do go to card 3 (the puzzle) and do cmd 2 to go back and the script on Card 2 performs as expected BUT: when the script on card 1 runs. LC sticks on card 1 where I have my ?wait 2 seconds? (in the cd 2, scene1 handler) and does not go to card 2 until those 2 seconds pass and then it ignores this completely # first scenario show img "stage-1_layer-1" with visual effect dissolve slowly ?For the life of me? I can figure out why?. BR p.s. any advice on the approach one should talk to solving this kind of problem will help me? I tend to spin wheels? should one turn on the message watch, set a break point and step through? How do you do debugging, when there is no actual error, but things don?t perform as expected? From brahma at hindu.org Fri Feb 5 23:41:50 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 6 Feb 2016 04:41:50 +0000 Subject: Visual Effect and Initial Commands "disappear" on card transition In-Reply-To: References: Message-ID: ? I solved the problem myself. There is a caveat with animationEngine? I don?t understand it completely but on aeMoveDone nextEvent end aeMoveDone will fire too soon or ?cuts out? part of the actions of the subsequent commands being invoked on the card we go to, as well as the visual effects of the handler in the stack script that drives the presentation from one card to the next. BUT, all he wants is just a little time: on aeMoveDone ? ?send "nextEvent" to this card in 500 milliseconds end aeMoveDone and everything runs as expected. BR On February 5, 2016 at 5:33:28 PM, Sannyasin Brahmanathaswami (brahma at hindu.org(mailto:brahma at hindu.org)) wrote: > For LC mystery forensics experts. > > I will attempt to send sweet dreams from Hawaii to anyone who can solve this problem. > > go stack url "http://dev.himalayanacademy.com/stacks/SivasHawaiiRevels/SivasHawaiiRevels.livecode? From blueback09 at gmail.com Sat Feb 6 00:00:37 2016 From: blueback09 at gmail.com (Matt Maier) Date: Fri, 5 Feb 2016 21:00:37 -0800 Subject: IDE stack names Message-ID: What are the names of the IDE stacks? I'm trying to get the script editor back onto the screen because sometimes it randomly decides it doesn't want to be on the screen. I tried stack "script editor" and stack "code editor" in the message bar but neither can be found. This isn't the first time I've had to address one of the IDE's stacks in script. I think the last time was trying to set the colors of the ask/answer popups, which I think I might have found in a tutorial, or just guessed at based on what they were probably called. Is there a way to lookup that information? From scott at tactilemedia.com Sat Feb 6 00:12:42 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 05 Feb 2016 21:12:42 -0800 Subject: IDE stack names In-Reply-To: References: Message-ID: In the message box, execute: put the openStacks You'll get a list of all currently open stacks, and you can use the message box to set the location of the off-screen stack, like -- set topLeft of stack "revNewScriptEditor 1" to 100,100 Alternatively, as a shameless plug, there's this: http://tactilemedia.com/storefront/index.php?page=detail&get_id=34 Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/5/16, 9:00 PM, "use-livecode on behalf of Matt Maier" wrote: >What are the names of the IDE stacks? I'm trying to get the script editor >back onto the screen because sometimes it randomly decides it doesn't want >to be on the screen. I tried stack "script editor" and stack "code editor" >in the message bar but neither can be found. > >This isn't the first time I've had to address one of the IDE's stacks in >script. I think the last time was trying to set the colors of the >ask/answer popups, which I think I might have found in a tutorial, or just >guessed at based on what they were probably called. > >Is there a way to lookup that information? >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Sat Feb 6 00:25:28 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 6 Feb 2016 05:25:28 +0000 Subject: Grab Me Fails on snapshot Images of fields which are transparent (opaque false) Message-ID: ? I have a puzzle widget that is made by importing a snapshot of a field with words in it, then we make a copy of that images and repeatedly crop to each word. Now we have small image tiles. ?Works great BUT Problem: The original field has a transparent background. which I am hoping to keep. And unexpectedly, the snapshot of the field seems to include the alpha channel for the background which is set to transparent? so you *can* see through the images. ?If you put ?grab me? into the? on mousedown? ? ?grab me end mousedown script of the image tiles created by this method? you cannot grab the image ? either with the pointer mouse tool on desktop or your finger on mobile? unless you are in contact with the pixels of the letters of the word. Even though the rect of the image includes areas above, below beyond and obviously in between the letters? if you contact any of those areas, you cannot drag, the image tile ? Am I wrong in thinking that the grab me message should be sent if you mousedown anywhere in the rect of the image? I confirmed this by setting the field with a colored background, then making the tiles? now you can move them around by ?easily no matter where your finger or mouse contacts the image. work around of course is to set the background to the same color as the tiles? but what I really want is to be able to see through the tiles.? If I wanted to test how would you do this: set the alpha channel of the background of these images to just a small value? they would still be semi-tranparent, but perhaps grabme would see them as ?grabbable? throughout the entire rect? ?How would you do that? ?? BR? From blueback09 at gmail.com Sat Feb 6 00:43:09 2016 From: blueback09 at gmail.com (Matt Maier) Date: Fri, 5 Feb 2016 21:43:09 -0800 Subject: IDE stack names In-Reply-To: References: Message-ID: Neat, thanks! On Fri, Feb 5, 2016 at 9:12 PM, Scott Rossi wrote: > In the message box, execute: put the openStacks > > You'll get a list of all currently open stacks, and you can use the > message box to set the location of the off-screen stack, like -- set > topLeft of stack "revNewScriptEditor 1" to 100,100 > > Alternatively, as a shameless plug, there's this: > http://tactilemedia.com/storefront/index.php?page=detail&get_id=34 > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/5/16, 9:00 PM, "use-livecode on behalf of Matt Maier" > > wrote: > > >What are the names of the IDE stacks? I'm trying to get the script editor > >back onto the screen because sometimes it randomly decides it doesn't want > >to be on the screen. I tried stack "script editor" and stack "code editor" > >in the message bar but neither can be found. > > > >This isn't the first time I've had to address one of the IDE's stacks in > >script. I think the last time was trying to set the colors of the > >ask/answer popups, which I think I might have found in a tutorial, or just > >guessed at based on what they were probably called. > > > >Is there a way to lookup that information? > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Sat Feb 6 00:51:14 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 05 Feb 2016 21:51:14 -0800 Subject: Grab Me Fails on snapshot Images of fields which are transparent (opaque false) In-Reply-To: References: Message-ID: You're correct -- anywhere the image is 100% transparent will not respond to click/touch. Here are a couple of workarounds: 1) Export your tile images from a group that includes a graphic behind the field set to 1% opacity of the main color that appears where your tiles will be placed (white is fine as well). The 1% opacity included in the snapshot will make the images respond to clicks. 2) Instead of dragging the image tiles around the card, use graphics. Create an opaque graphic for each tile image, and set the backPattern of each graphic to the id of each tile. The graphics will take on the transparency of the images, but will remain clickable. Other folks here may have additional options. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/5/16, 9:25 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: > >I have a puzzle widget that is made by importing a snapshot of a field >with words in it, then we make a copy of that images and repeatedly crop >to each word. > >Now we have small image tiles. Works great BUT > >Problem: The original field has a transparent background. which I am >hoping to keep. And unexpectedly, the snapshot of the field seems to >include the alpha channel for the background which is set to transparent? >so you *can* see through the images. > > If you put ?grab me? into the > >on mousedown > grab me >end mousedown > >script of the image tiles created by this method? you cannot grab the >image ? either with the pointer mouse tool on desktop or your finger on >mobile? unless you are in contact with the pixels of the letters of the >word. Even though the rect of the image includes areas above, below >beyond and obviously in between the letters? if you contact any of those >areas, you cannot drag, the image tile > >Am I wrong in thinking that the grab me message should be sent if you >mousedown anywhere in the rect of the image? > >I confirmed this by setting the field with a colored background, then >making the tiles? now you can move them around by easily no matter where >your finger or mouse contacts the image. > >work around of course is to set the background to the same color as the >tiles? but what I really want is to be able to see through the tiles. > >If I wanted to test how would you do this: set the alpha channel of the >background of these images to just a small value? they would still be >semi-tranparent, but perhaps grabme would see them as ?grabbable? >throughout the entire rect? How would you do that > >?? > >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 blueback09 at gmail.com Sat Feb 6 00:53:38 2016 From: blueback09 at gmail.com (Matt Maier) Date: Fri, 5 Feb 2016 21:53:38 -0800 Subject: Grab Me Fails on snapshot Images of fields which are transparent (opaque false) In-Reply-To: References: Message-ID: Maybe snapshot with a file type that doesn't have an alpha channel? On Fri, Feb 5, 2016 at 9:25 PM, Sannyasin Brahmanathaswami wrote: > > I have a puzzle widget that is made by importing a snapshot of a field > with words in it, then we make a copy of that images and repeatedly crop to > each word. > > Now we have small image tiles. Works great BUT > > Problem: The original field has a transparent background. which I am > hoping to keep. And unexpectedly, the snapshot of the field seems to > include the alpha channel for the background which is set to transparent? > so you *can* see through the images. > > If you put ?grab me? into the > > on mousedown > grab me > end mousedown > > script of the image tiles created by this method? you cannot grab the > image ? either with the pointer mouse tool on desktop or your finger on > mobile? unless you are in contact with the pixels of the letters of the > word. Even though the rect of the image includes areas above, below beyond > and obviously in between the letters? if you contact any of those areas, > you cannot drag, the image tile > > Am I wrong in thinking that the grab me message should be sent if you > mousedown anywhere in the rect of the image? > > I confirmed this by setting the field with a colored background, then > making the tiles? now you can move them around by easily no matter where > your finger or mouse contacts the image. > > work around of course is to set the background to the same color as the > tiles? but what I really want is to be able to see through the tiles. > > If I wanted to test how would you do this: set the alpha channel of the > background of these images to just a small value? they would still be > semi-tranparent, but perhaps grabme would see them as ?grabbable? > throughout the entire rect? How would you do that > > ?? > > 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 lan.kc.macmail at gmail.com Sat Feb 6 02:13:02 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 6 Feb 2016 15:13:02 +0800 Subject: [BUG] Standalone Application Settings Message-ID: OS X 10.9.5 LC 8.0 dp 14 Building a Windows app I get a message saying that the generic app icon isn't available and the path is this: LiveCode Indy 8.0 (dp 13).app/Contents/Tools/Runtime/Windows/x86-32/Support/Sample Icons/genericapp.ico Note the mention of dp 13. If I retrieve my copy of dp 13 out of the Trash and build the app again in dp 14 everything proceeds without the message. Clearly the path needs updating. Related to this, but probably due to my own lack of knowledge as I've only ever used generic icons before. In dp 14 if I select OS X and Windows App and Doc icons (.icns and .ico of appropriate size) my app is not built using these icons. Also, when I return to the Standalone Application Setting the 2 selections for OS X have returned to blank and the 2 selections for Windows have returned to their generic file paths. Is that normal? I'll submit a bug report once someone confirms it's not just me. From charles at techstrategies.com.au Sat Feb 6 02:25:29 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 6 Feb 2016 17:25:29 +1000 Subject: Can't Get LC Server to fire In-Reply-To: References: <56B411AE.2030306@techstrategies.com.au> Message-ID: <56B59FE9.6000704@techstrategies.com.au> On 6/02/2016 3:38 am, Sannyasin Brahmanathaswami wrote: > the echo.lc file iin the cgi-bin is a bit different than the one in the public_html directory. > > it does not begin with ? > it begins with > > !#/home/domain/cgi-bin/livecode-community-server > > As such there is no .htaccess redirection of action by suffix/filetype (.lc) required. Sorry, I missed that bit in your e-mail. > This is all working on the other site? but I discovered even a bashscript.cgi will not fire.. so it?s nothing to do with LC at all. I?ll take this up with the team over at the VirtualMin/WebMin site? That does seem to indicate more of a problem with the configuration of the /cgi-bin/ directory for that website. If you haven't had any success with the Virtualmin/Webmin guys, another thing to look at is the Apache error log for your domain when calling the .lc script in the public_html directory from a web browser. In your case, it looks like it would probably be /home/htoday/logs/error_log. The error log will often reveal more information about the actual error, than what you see displayed in the browser. If you have other sites working under Virtualmin, you could also compare the Apache config for a domain that is working to one that isn't - in particular the ScriptAlias lines and the config in the section for your site. You can find the Apache config for the domain in Virtualmin under "Services" - "Configure Website" - "Edit Directives". Cheers, Charles From iowahengst at mac.com Sat Feb 6 02:43:57 2016 From: iowahengst at mac.com (Randy Hengst) Date: Sat, 06 Feb 2016 01:43:57 -0600 Subject: Grab Me Fails on snapshot Images of fields which are transparent (opaque false) In-Reply-To: References: Message-ID: <1A877D6A-2A10-4327-BCC1-A739CCF70342@mac.com> "grab me" works on any part of transparent fields .. even when clicking on the transparent part of the field? can you just use all fields? Mac 10.10.5 LC 7.1.1 be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Feb 5, 2016, at 11:51 PM, Scott Rossi wrote: > > You're correct -- anywhere the image is 100% transparent will not respond > to click/touch. Here are a couple of workarounds: > > 1) Export your tile images from a group that includes a graphic behind the > field set to 1% opacity of the main color that appears where your tiles > will be placed (white is fine as well). The 1% opacity included in the > snapshot will make the images respond to clicks. > > 2) Instead of dragging the image tiles around the card, use graphics. > Create an opaque graphic for each tile image, and set the backPattern of > each graphic to the id of each tile. The graphics will take on the > transparency of the images, but will remain clickable. > > Other folks here may have additional options. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/5/16, 9:25 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" > > wrote: > >> >> I have a puzzle widget that is made by importing a snapshot of a field >> with words in it, then we make a copy of that images and repeatedly crop >> to each word. >> >> Now we have small image tiles. Works great BUT >> >> Problem: The original field has a transparent background. which I am >> hoping to keep. And unexpectedly, the snapshot of the field seems to >> include the alpha channel for the background which is set to transparent? >> so you *can* see through the images. >> >> If you put ?grab me? into the >> >> on mousedown >> grab me >> end mousedown >> >> script of the image tiles created by this method? you cannot grab the >> image ? either with the pointer mouse tool on desktop or your finger on >> mobile? unless you are in contact with the pixels of the letters of the >> word. Even though the rect of the image includes areas above, below >> beyond and obviously in between the letters? if you contact any of those >> areas, you cannot drag, the image tile >> >> Am I wrong in thinking that the grab me message should be sent if you >> mousedown anywhere in the rect of the image? >> >> I confirmed this by setting the field with a colored background, then >> making the tiles? now you can move them around by easily no matter where >> your finger or mouse contacts the image. >> >> work around of course is to set the background to the same color as the >> tiles? but what I really want is to be able to see through the tiles. >> >> If I wanted to test how would you do this: set the alpha channel of the >> background of these images to just a small value? they would still be >> semi-tranparent, but perhaps grabme would see them as ?grabbable? >> throughout the entire rect? How would you do that >> >> ?? >> >> BR >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Sat Feb 6 04:25:24 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Sat, 6 Feb 2016 09:25:24 +0000 Subject: IDE stack names In-Reply-To: References: Message-ID: <56B5BC04.4060801@livecode.com> On 06/02/2016 05:00, Matt Maier wrote: > What are the names of the IDE stacks? I'm trying to get the script editor > back onto the screen because sometimes it randomly decides it doesn't want > to be on the screen. I tried stack "script editor" and stack "code editor" > in the message bar but neither can be found. > > This isn't the first time I've had to address one of the IDE's stacks in > script. I think the last time was trying to set the colors of the > ask/answer popups, which I think I might have found in a tutorial, or just > guessed at based on what they were probably called. > > Is there a way to lookup that information? There's also a "Show IDE things in lists" menu option somewhere (I'm not sure that's _quite_ what it's named, but close enough) that will display all of the IDE's everything in the Project Browser. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From roland.huettmann at gmail.com Sat Feb 6 07:14:47 2016 From: roland.huettmann at gmail.com (Roland Huettmann) Date: Sat, 6 Feb 2016 13:14:47 +0100 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B406D3.6040806@fourthworld.com> <56B46096.5070806@gmail.com> Message-ID: The contribution of Dr. Hawkins to this subject the other has made me think a lot. I am not sure if I have that kind of competency to even write a reply. But finally I decided to contribute some of my reflection. Though I know from many many years of experience with hundreds of developers that for mission-critical applications and timely deliveries to customers quality of service is vital.There is no "pardon" from the customers side when failures to deliver quality become a frequent issue. And in such projects, it would not have been possible so far using LiveCode as a front-end, and even less using it as a back-end. Unfortunately. And I really love LiveCode and support wherever I can. Dr. Hawkins arguments - in my humble opinion - have a valid side, while at the same time to me they seem narrowed down to a limited personal domain. LiveCode can not just stay where it was 2 or 3 years ago, or 10 years ago, just to be "stable". It is not made to serve one person, or just one group, or one company. It would be very easy if that were the case. For example, without native Unicode support - I would no longer be interested, and the world-wide market would not be as well. And there is always just the possibility to stick and stay with an older version. I can still use XP on Windows, or Windows 95. I can still turn on my old first Macintosh from 1985. And it has done things amazingly well. I could write letters, compute Excel sheets and do all kinds of funny things. We have had big eyes in those days. But I am also sometimes thinking, for what am I spending hours and hours, days and days, trying to figure out what the hack is happening with one or the other implementation. For example, since years I am failing using the Geometry Manager. First it seems to work fine. Then suddenly controls disappear and end up somewhere in space. So, I decided not using it, but it is still there for other people to develop a headache. Would it not be wiser to completely remove it until there is a stable and reliable version? Just today I tested the revBrowserCef again. Rather than having a buggy browser instance, I would rather not have one at all. On my Windows system (and the business world is Windows) it just makes even typing into the message box almost not possible - so much the browser instance is slowing down other work. Other functions also do not work. But writing another Bug report? There will be a new browser in 8. So, better wait... do not bother the team with reports for 6, 7 ... Again, from my experience, what LiveCode is trying to achieve is a huge vision, and a HUGE effort - and again thinking of our own experiences with much larger groups of developers - it is a pain in the ... to have to support so many different systems, different browsers, different use-case for the whole world. Is it not just TOOOO much? In a well paid professional set-up - and money plays a big role here - we had teams of testers with 10-12 people doing nothing but TESTING. Then you need specialists for each platform. You need to set up various machines with different flavors of operating systems. You need use-cases to test, test-stacks, test environments - testing is a "science" in itself. And it is not for free.. I know a testing company in France - they have all models of all smart phones to test applications running on all those devices. They physically have ALL of them. They offer nothing but testing. With a small team reaching the end of such tunnel - it is my feeling, my impression that it is so - will there ever be such end? 100,000 dollars is nothing. 500,000 dollars is nothing. Bigger companies spend millions and millions - and fail often enough. I have seen it here in Switzerland with insurance companies, banks, government - over 100 million dollars lost on a software project !!! And you read about such failed project every other day. ( htp:// www.tagesanzeiger.ch/schweiz/standard/Bund-stoppt-Insieme--ueber-100-Millionen-verloren/story/28910726 ) It is highly AMAZING that such a small team is working day and night and sweating to get things out and done trying to accomplish something that would need hundreds of developers usually. And I do not see hundreds of developers even participating in this list. I have more than respect !!! Yes - for mission critical applications of industrial strength it is an open question. I say to myself that I will patiently wait for the Version 8 to become stable enough - even if it takes a year from now and does not do everything planned. I have all the understanding for such problems based on many years of experience with teams of developers. It is impossible to know in advance all those hurdles and shortcomings in software development. What I thought my own teams could do in 6 months always took us a year and even more than that to really finish up. Even using best practice and highly competent people it was not possible to seriously know where the development will take us to. >From time to time we all have the right getting upset thinking "what am I doing here?". But this team deserves more patience and more support from all sides and from everywhere. Much much more. When we demand more resources, more this and more that - who is thinking how such demand could be fulfilled - if not in an environment which is very healthy being fully funded? But 100 dollars here, or there... ? (I do not know LiveCodes monthly revenue, but I suspect it is not that big...) --- My rule of thumb: Make a good estimation of how much time you need for your project. Think about it deeply. Use all kinds of techniques to come to a viable conclusion. Be 100% sure that you will do it during that period of time. And then multiply such assessment with the factor of 4. It always worked. ) On 6 February 2016 at 04:14, Kay C Lan wrote: > At first, I've got to say I was thoroughly underwhelmed... but then > discovered I hadn't updated at all. > > I normally always use the link provided to grab the download but for some > reason this time I just used the 'Check for Updates' in the Help menu. I > should have realised something was up when the Installer didn't ask me > where I wanted to Install to - I always install to My Applications folder > not the All User Application folder. > > I don't see a need to clutter the QCC, just be aware that at least on OS X > dp 13 the Check for Updates points to the wrong file and you are better off > grabbing the dp 14 file directly. > > Having got dp14... wow, awesome, the changes are immediately apparent. The > Dictionary is useable! It's like Christmas has come again. > > So thankful for those many talented people at the matriarchal maritime > transportation vessel establishment (not wishing to offend Peter ;-) who > have spent so much time learning impenetrable, cryptic and downright > cantankerous foreign languages (C++, Objective C, Apple iOS app submission > requirements...) so that I don't have to and all they ask in return is that > any time I've got a bit of a grumble is click a Bookmark and fill out an > online form. Seems terribly one sided, but OK. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 6 09:47:05 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 6 Feb 2016 06:47:05 -0800 Subject: IDE stack names In-Reply-To: References: Message-ID: <56B60769.7000602@fourthworld.com> In addition to the good info Scott provided on working with LC IDE stacks, this blog post about v8's new IDE API is well worth a read for anyone considering tools for working with the IDE: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From hh at livecode.org Sat Feb 6 10:42:29 2016 From: hh at livecode.org (-hh) Date: Sat, 6 Feb 2016 16:42:29 +0100 Subject: IDE stack names Message-ID: <0BF0EAC2-CFDF-49E5-8712-3EEFD392DA88@livecode.org> @Peter B. The "Live Code UI elements..." check button is in Preferences/General line 3. @Matt M. Here an info community-stack (works on Mac/Win/Linux/Raspi) "summary6.livecode" http://forums.livecode.com/viewtopic.php?p=105550#p105550 that shows: RevLoadedStacks, mainStacks, openstacks and has options to filter them by "rev". you get a full file info on a selected stack from the above lists: URL, URLshortName, dataForkSize, accessPermissions, several dates ======= Hermann [Def. A community-stack is one that is targeted to the community] From hh at livecode.org Sat Feb 6 11:09:01 2016 From: hh at livecode.org (-hh) Date: Sat, 6 Feb 2016 17:09:01 +0100 Subject: snapshot and animation capture Message-ID: <1DA35D30-E2A9-4ADA-A570-30BD23EBBB53@livecode.org> [Fits best into that thread, better than creating a new one] Here another community stack, mainly prepared for Raspi, but works (much faster, of course) also on Mac/Win/Linux. The stack is a resizable transparent window-masked stack. = Choose shapes to be created on-the-fly from menu: ... Rectangle, Oval and N-polygons (regular, 3<=N). = Resizing is possible also non-proportional. = Screenshots are done from the shape, i.e. if you use an ... oval you get the inner transparent part from screen and ... the frame of the image is your oval. Simple rectangle shots are fast (impressing LC-features). Shaped shots need much more time, incl. creating and saving image, on a medium fast machine (Mac mini, 2.5 GHz) 800 ms and 1800 ms on a Raspi2. (Of course this is dependent of image size, the times are averaged over sizes, the average size is 600x400 px.) For the "shaped-shot" part I'm probably too complicated and don't see the easy way. If you know a tip or even have a better/faster method (that works preferably on Mac/Win/Linux/Raspi) please come in to Forum:Subforum Rich Media:Fast method for shaped screenshot? http://forums.livecode.com/viewtopic.php?p=137641#p137641 ======= Hermann From hh at livecode.org Sat Feb 6 11:11:48 2016 From: hh at livecode.org (-hh) Date: Sat, 6 Feb 2016 17:11:48 +0100 Subject: snapshot and animation capture Message-ID: Sorry, forgot the link to the shaped-screenShot stack, here it is http://forums.livecode.com/viewtopic.php?p=137640#p137640 From richmondmathewson at gmail.com Sat Feb 6 12:07:43 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 6 Feb 2016 19:07:43 +0200 Subject: Release 8.0 DP 11 - back to the FFF Message-ID: <56B6285F.7000609@gmail.com> I wonder why I am unable to download the DP 11 release? Richmond. From prothero at earthednet.org Sat Feb 6 12:05:24 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 6 Feb 2016 09:05:24 -0800 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B406D3.6040806@fourthworld.com> <56B46096.5070806@gmail.com> Message-ID: <255F9CAC-148B-4A63-89D2-0BD462E96B6E@earthednet.org> Well said, Roland! My sentiments as well. The dev team is putting a lot of reliance on the users to do a lot of testing, and we will probably keep finding bugs, which the team will jump on. They deserve a lot of respect. A local Santa Barbara philosopher said: "I am not perfect, but parts of me are excellent!" That is the case with livecode. Great job, guys! Best, Bill William Prothero http://es.earthednet.org > On Feb 6, 2016, at 4:14 AM, Roland Huettmann wrote: > > The contribution of Dr. Hawkins to this subject the other has made me think > a lot. > > I am not sure if I have that kind of competency to even write a reply. But > finally I decided to contribute some of my reflection. > > Though I know from many many years of experience with hundreds of > developers that for mission-critical applications and timely deliveries to > customers quality of service is vital.There is no "pardon" from the > customers side when failures to deliver quality become a frequent issue. > And in such projects, it would not have been possible so far using LiveCode > as a front-end, and even less using it as a back-end. Unfortunately. > > And I really love LiveCode and support wherever I can. > > Dr. Hawkins arguments - in my humble opinion - have a valid side, while at > the same time to me they seem narrowed down to a limited personal domain. > LiveCode can not just stay where it was 2 or 3 years ago, or 10 years ago, > just to be "stable". It is not made to serve one person, or just one group, > or one company. It would be very easy if that were the case. > > For example, without native Unicode support - I would no longer be > interested, and the world-wide market would not be as well. > > And there is always just the possibility to stick and stay with an older > version. I can still use XP on Windows, or Windows 95. I can still turn on > my old first Macintosh from 1985. And it has done things amazingly well. I > could write letters, compute Excel sheets and do all kinds of funny things. > We have had big eyes in those days. > > But I am also sometimes thinking, for what am I spending hours and hours, > days and days, trying to figure out what the hack is happening with one or > the other implementation. For example, since years I am failing using the > Geometry Manager. First it seems to work fine. Then suddenly controls > disappear and end up somewhere in space. So, I decided not using it, but it > is still there for other people to develop a headache. Would it not be > wiser to completely remove it until there is a stable and reliable version? > > Just today I tested the revBrowserCef again. Rather than having a buggy > browser instance, I would rather not have one at all. On my Windows system > (and the business world is Windows) it just makes even typing into the > message box almost not possible - so much the browser instance is slowing > down other work. Other functions also do not work. But writing another Bug > report? There will be a new browser in 8. So, better wait... do not bother > the team with reports for 6, 7 ... > > Again, from my experience, what LiveCode is trying to achieve is a huge > vision, and a HUGE effort - and again thinking of our own experiences with > much larger groups of developers - it is a pain in the ... to have to > support so many different systems, different browsers, different use-case > for the whole world. > > Is it not just TOOOO much? > > In a well paid professional set-up - and money plays a big role here - we > had teams of testers with 10-12 people doing nothing but TESTING. Then you > need specialists for each platform. You need to set up various machines > with different flavors of operating systems. You need use-cases to test, > test-stacks, test environments - testing is a "science" in itself. And it > is not for free.. I know a testing company in France - they have all models > of all smart phones to test applications running on all those devices. They > physically have ALL of them. They offer nothing but testing. > > With a small team reaching the end of such tunnel - it is my feeling, my > impression that it is so - will there ever be such end? > > 100,000 dollars is nothing. 500,000 dollars is nothing. Bigger companies > spend millions and millions - and fail often enough. I have seen it here in > Switzerland with insurance companies, banks, government - over 100 million > dollars lost on a software project !!! And you read about such failed > project every other day. > > ( htp:// > www.tagesanzeiger.ch/schweiz/standard/Bund-stoppt-Insieme--ueber-100-Millionen-verloren/story/28910726 > ) > > It is highly AMAZING that such a small team is working day and night and > sweating to get things out and done trying to accomplish something that > would need hundreds of developers usually. And I do not see hundreds of > developers even participating in this list. > > I have more than respect !!! > > Yes - for mission critical applications of industrial strength it is an > open question. > > I say to myself that I will patiently wait for the Version 8 to become > stable enough - even if it takes a year from now and does not do everything > planned. I have all the understanding for such problems based on many years > of experience with teams of developers. > > It is impossible to know in advance all those hurdles and shortcomings in > software development. What I thought my own teams could do in 6 months > always took us a year and even more than that to really finish up. Even > using best practice and highly competent people it was not possible to > seriously know where the development will take us to. > > From time to time we all have the right getting upset thinking "what am I > doing here?". But this team deserves more patience and more support from > all sides and from everywhere. Much much more. > > When we demand more resources, more this and more that - who is thinking > how such demand could be fulfilled - if not in an environment which is very > healthy being fully funded? But 100 dollars here, or there... ? (I do not > know LiveCodes monthly revenue, but I suspect it is not that big...) > > --- > > My rule of thumb: Make a good estimation of how much time you need for your > project. Think about it deeply. Use all kinds of techniques to come to a > viable conclusion. Be 100% sure that you will do it during that period of > time. And then multiply such assessment with the factor of 4. > > It always worked. ) > > > > > > > > > > > > > > >> On 6 February 2016 at 04:14, Kay C Lan wrote: >> >> At first, I've got to say I was thoroughly underwhelmed... but then >> discovered I hadn't updated at all. >> >> I normally always use the link provided to grab the download but for some >> reason this time I just used the 'Check for Updates' in the Help menu. I >> should have realised something was up when the Installer didn't ask me >> where I wanted to Install to - I always install to My Applications folder >> not the All User Application folder. >> >> I don't see a need to clutter the QCC, just be aware that at least on OS X >> dp 13 the Check for Updates points to the wrong file and you are better off >> grabbing the dp 14 file directly. >> >> Having got dp14... wow, awesome, the changes are immediately apparent. The >> Dictionary is useable! It's like Christmas has come again. >> >> So thankful for those many talented people at the matriarchal maritime >> transportation vessel establishment (not wishing to offend Peter ;-) who >> have spent so much time learning impenetrable, cryptic and downright >> cantankerous foreign languages (C++, Objective C, Apple iOS app submission >> requirements...) so that I don't have to and all they ask in return is that >> any time I've got a bit of a grumble is click a Bookmark and fill out an >> online form. Seems terribly one sided, but OK. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 6 12:21:03 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 6 Feb 2016 09:21:03 -0800 Subject: Release 8.0 DP 11 - back to the FFF In-Reply-To: <56B6285F.7000609@gmail.com> References: <56B6285F.7000609@gmail.com> Message-ID: <56B62B7F.9000608@fourthworld.com> Richmond wrote: > I wonder why I am unable to download the DP 11 release? The link for that build seems to work well for me. Try again? Maybe a momentary glitch. http://downloads.livecode.com/livecode/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Sat Feb 6 12:51:19 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 6 Feb 2016 19:51:19 +0200 Subject: Release 8.0 DP 11 - back to the FFF In-Reply-To: <56B62B7F.9000608@fourthworld.com> References: <56B6285F.7000609@gmail.com> <56B62B7F.9000608@fourthworld.com> Message-ID: <56B63297.1030309@gmail.com> On 6.02.2016 19:21, Richard Gaskin wrote: > Richmond wrote: > > I wonder why I am unable to download the DP 11 release? > > The link for that build seems to work well for me. Try again? Maybe a > momentary glitch. > > http://downloads.livecode.com/livecode/ > Thanks: it was a 3 day glitch (at least). Now working, indeed :-) Richmond. From pete at lcsql.com Sat Feb 6 13:01:17 2016 From: pete at lcsql.com (Peter Haworth) Date: Sat, 06 Feb 2016 18:01:17 +0000 Subject: LC8 Save command In-Reply-To: <56B55578.1090809@ahsoftware.net> References: <56B55578.1090809@ahsoftware.net> Message-ID: This is the context of a scripted Save command so the preference setting doesn't help unfortunately. I'm happy to use the "with format" option, just trying to figure out how the get the stack file's format if it is to be saved in that format. I did find a stackfileversion cprop in the cREVGeneral cprop set of some stacks but it was empty. There are other stacks where it is not present at all. I guess I will have to open the stack file and read the first few characters as detailed. On Fri, Feb 5, 2016 at 6:08 PM Mark Wieder wrote: > On 02/05/2016 03:13 PM, Peter Haworth wrote: > > > Would be nice if there was a "with current format" or something similar > > that would save the stack with the format it already has. > > Expanding on what Mark said, the IDE will do this if you have the > preference set, but the save command invoked from a script won't. > > As you have discovered, calling the save command without options will > save in 7.0 format unless there are widgets in the stack, in which case > it will save in 8.0 format. > > To save in other formats you can either set the stackFileVersion before > saving or use "with format" option of the save command. > > -- > 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 david_alfredo_93 at hotmail.com Sat Feb 6 13:33:26 2016 From: david_alfredo_93 at hotmail.com (=?iso-8859-1?B?ZGF2aWQgYWxmcmVkbyB6dfFpZ2Egc290bw==?=) Date: Sat, 6 Feb 2016 11:33:26 -0700 Subject: conectar mi app movil a una base de datos remota sql server Message-ID: Buen dia sir.Livecoders Developed Tengo una aplicaci?n que necesito probar en android.Esta app. obtiene sus datos de sql server 2008 r2. tengo bastantes problemas, ps, he usado hostings gratuitos para realizar la conexi?n,y estos son bastantes limitados y mi app no me da el permiso de coneccion.Al parecer no puede realizar comunicacion directa a la bd hospedada en el hosting.se necesitara usar php para lograr la comunicacion?donde puedo aprender sobre ello?. Asi que, he intentado usar livecode server comunity. pero soy novato en programacion del lado del servidor y no tengo idea de por donde empezar. si alguien pudiera explicar o decirme donde puedo empezar seria bastante genial. gracias, desesperadamente!! From richmondmathewson at gmail.com Sat Feb 6 13:43:56 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 6 Feb 2016 20:43:56 +0200 Subject: conectar mi app movil a una base de datos remota sql server In-Reply-To: References: Message-ID: <56B63EEC.2030203@gmail.com> On 6.02.2016 20:33, david alfredo zu?iga soto wrote: > Buen dia sir.Livecoders Developed > Tengo una aplicaci?n que necesito probar en android.Esta app. obtiene sus datos de sql server 2008 r2. > tengo bastantes problemas, ps, he usado hostings gratuitos para realizar > la conexi?n,y estos son bastantes limitados y mi app no me da el permiso de coneccion.Al parecer no puede realizar comunicacion directa a la bd hospedada en el hosting.se necesitara usar php para lograr la comunicacion?donde puedo aprender sobre ello?. > Asi que, he intentado usar livecode server comunity. > pero soy novato en programacion del lado del servidor y no tengo idea de por donde empezar. > si alguien pudiera explicar o decirme donde puedo empezar seria bastante genial. > > gracias, desesperadamente!! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode If you can manage a message in English you might get a more prompt response. Richmond. From jacque at hyperactivesw.com Sat Feb 6 13:46:14 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Feb 2016 12:46:14 -0600 Subject: LC8 Save command In-Reply-To: References: <56B55578.1090809@ahsoftware.net> Message-ID: <152b7e7e4f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's what I do. If you use "open file" instead of URL syntax you can read just the first few bytes without loading the whole stack into RAM and it's very quick. On February 6, 2016 12:02:32 PM Peter Haworth wrote: > I'm happy to use the "with format" option, just trying to figure out how > the get the stack file's format if it is to be saved in that format. I did > find a stackfileversion cprop in the cREVGeneral cprop set of some stacks > but it was empty. There are other stacks where it is not present at all. I > guess I will have to open the stack file and read the first few characters > as detailed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david_alfredo_93 at hotmail.com Sat Feb 6 13:50:33 2016 From: david_alfredo_93 at hotmail.com (=?iso-8859-1?B?ZGF2aWQgYWxmcmVkbyB6dfFpZ2Egc290bw==?=) Date: Sat, 6 Feb 2016 11:50:33 -0700 Subject: conectar mi app movil a una base de datos remota sql server In-Reply-To: <56B63EEC.2030203@gmail.com> References: , <56B63EEC.2030203@gmail.com> Message-ID: okey. thaks you, i?ll try> Subject: Re: conectar mi app movil a una base de datos remota sql server > To: use-livecode at lists.runrev.com > From: richmondmathewson at gmail.com > Date: Sat, 6 Feb 2016 20:43:56 +0200 > > > > On 6.02.2016 20:33, david alfredo zu?iga soto wrote: > > Buen dia sir.Livecoders Developed > > Tengo una aplicaci?n que necesito probar en android.Esta app. obtiene sus datos de sql server 2008 r2. > > tengo bastantes problemas, ps, he usado hostings gratuitos para realizar > > la conexi?n,y estos son bastantes limitados y mi app no me da el permiso de coneccion.Al parecer no puede realizar comunicacion directa a la bd hospedada en el hosting.se necesitara usar php para lograr la comunicacion?donde puedo aprender sobre ello?. > > Asi que, he intentado usar livecode server comunity. > > pero soy novato en programacion del lado del servidor y no tengo idea de por donde empezar. > > si alguien pudiera explicar o decirme donde puedo empezar seria bastante genial. > > > > gracias, desesperadamente!! > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > If you can manage a message in English you might get a more prompt > response. > > 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 david_alfredo_93 at hotmail.com Sat Feb 6 13:57:06 2016 From: david_alfredo_93 at hotmail.com (=?iso-8859-1?B?ZGF2aWQgYWxmcmVkbyB6dfFpZ2Egc290bw==?=) Date: Sat, 6 Feb 2016 11:57:06 -0700 Subject: connecting db sqlserver with my app livecode, how? Message-ID: sr.Livecoders, good day I have an application that I need to drive android.Esta app. gets its data from SQL Server 2008 R2.I have a lot off problems, ps, I used to make free hostings connection, and these are quite limited and my app does not give me permission to coneccion.Al apparently can not make direct communication to the Hosted bd in hosting. se need to use php to Communicate? Where can I learn about it livecoded like server free ?.So, I tried using LiveCode comunity server.but I am new to programming the server side and I have no idea where to start.if someone could explain or tell me where I can start serious pretty cool. Thanks !! From brahma at hindu.org Sat Feb 6 14:48:59 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 6 Feb 2016 19:48:59 +0000 Subject: Grab Me Fails on snapshot Images of fields which are transparent (opaque false) In-Reply-To: <1A877D6A-2A10-4327-BCC1-A739CCF70342@mac.com> References: <1A877D6A-2A10-4327-BCC1-A739CCF70342@mac.com> Message-ID: Scott? you are a jewel.. thanks. this worked great! I used white that way I can do anything in the background Confirmed on desktop (mouse) mobile (drag with finger) SCOTT ROSSI WROTE: > 1) Export your tile images from a group that includes a graphic behind the > field set to 1% opacity of the main color that appears where your tiles > will be placed (white is fine as well). The 1% opacity included in the > snapshot will make the images respond to clicks. From pete at lcsql.com Sat Feb 6 14:54:46 2016 From: pete at lcsql.com (Peter Haworth) Date: Sat, 06 Feb 2016 19:54:46 +0000 Subject: LC8 Save command In-Reply-To: <152b7e7e4f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <56B55578.1090809@ahsoftware.net> <152b7e7e4f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Thanks Jacque. Have implemented that now. It just seems like there should be a less kludgy way to get hold of such a basic piece of information. On Sat, Feb 6, 2016 at 10:46 AM J. Landman Gay wrote: > That's what I do. If you use "open file" instead of URL syntax you can read > just the first few bytes without loading the whole stack into RAM and it's > very quick. > > > On February 6, 2016 12:02:32 PM Peter Haworth wrote: > > > I'm happy to use the "with format" option, just trying to figure out how > > the get the stack file's format if it is to be saved in that format. I > did > > find a stackfileversion cprop in the cREVGeneral cprop set of some stacks > > but it was empty. There are other stacks where it is not present at > all. I > > guess I will have to open the stack file and read the first few > characters > > as detailed. > > -- > 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 pete at lcsql.com Sat Feb 6 16:19:50 2016 From: pete at lcsql.com (Peter Haworth) Date: Sat, 06 Feb 2016 21:19:50 +0000 Subject: LC 6.7.8 won't load Message-ID: I just installed LC 6.7.8. When I ran it for the first time, it went through the usual license check and the aborted with no error message. Same thing happens every time I run it (sans the license check). This is on OSX 10.10. Anyone else seeing this? From hh at livecode.org Sat Feb 6 17:20:39 2016 From: hh at livecode.org (-hh) Date: Sat, 6 Feb 2016 23:20:39 +0100 Subject: LC 6.7.8 won't load Message-ID: <6042217A-A7FC-42CB-BF48-DB304653CD91@livecode.org> This is a bug, reported for LC 6-8 (not by me). I have it frequently, about 50% of all startups are crashes on Mac 10.11 Especially when I have several versions running. If LC is asking too often for license data it helps mostly here to simply cancel. The error message is for "Ignoring" the crash comes with the next startup of LC from Mac. This is sometimes also after (correctly) quitting LC. From hh at livecode.org Sat Feb 6 17:25:06 2016 From: hh at livecode.org (-hh) Date: Sat, 6 Feb 2016 23:25:06 +0100 Subject: LC 6.7.8 won't load Message-ID: <5F1799EC-A986-401F-8032-284A50A05737@livecode.org> This is a great advantage of the forum (at least for me): One can edit a post and correct typos and wrong wording. You have please simply to overlook such things here ;-) From pete at lcsql.com Sat Feb 6 17:45:54 2016 From: pete at lcsql.com (Peter Haworth) Date: Sat, 06 Feb 2016 22:45:54 +0000 Subject: LC 6.7.8 won't load In-Reply-To: <5F1799EC-A986-401F-8032-284A50A05737@livecode.org> References: <5F1799EC-A986-401F-8032-284A50A05737@livecode.org> Message-ID: OK thanks, sounds like it's already been reported. Surprised it hasn't been fixed yet since 6.7.8 is dead in the water for me. On Sat, Feb 6, 2016 at 2:25 PM [-hh] wrote: > This is a great advantage of the forum (at least for me): > One can edit a post and correct typos and wrong wording. > > You have please simply to overlook such things here ;-) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lyn.teyla at gmail.com Sat Feb 6 17:50:30 2016 From: lyn.teyla at gmail.com (Lyn Teyla) Date: Sat, 6 Feb 2016 23:50:30 +0100 Subject: connecting db sqlserver with my app livecode, how? In-Reply-To: References: Message-ID: <1927251C-2F97-4C2F-BAEC-35A9B664207A@gmail.com> David Alfredo Zu?iga Soto wrote: > I have an application that I need to drive android.Esta app. gets its data from SQL Server 2008 R2.I have a lot off problems, ps, I used to make free hostings connection, and these are quite limited and my app does not give me permission to coneccion.Al apparently can not make direct communication to the Hosted bd in hosting. se need to use php to Communicate? Where can I learn about it livecoded like server free ?.So, I tried using LiveCode comunity server.but I am new to programming the server side and I have no idea where to start.if someone could explain or tell me where I can start serious pretty cool. I had already posted a link to this previously, but here it is again: https://www.hostm.com/tutorials/livecode/api-mariadb-mysql All the code is there, both client-side and server-side. You may need to adapt it slightly to suit your SQL Server 2008 R2 setup. Hope this helps, Lyn From brahma at hindu.org Sat Feb 6 20:59:03 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 7 Feb 2016 01:59:03 +0000 Subject: HTML5 "Features" Library Substacks and "send ### in time" Message-ID: ? Yikes? ! I just read this today? after seeing the newsletter and then looking in the guide in LC 8 dp 14 "The HTML5 engine in this release of LiveCode has a limited range of features. You can: deploy single-stack applications with embedded resources" BR: Does this mean you cannot include a libraty stack such as Animation Engine? "Two important unsupported features are unlikely to be added in the near future: operations that need to pause the script while something happens (e.g. wait 10)" BR: Ouch! no ?wait? ? OK, all is fair in love and war and if ?wait? is a performance beast, so be it. But will html5 support ??send in time? send ?scene1Scenario2? to this card in 2 second? ?? From brahma at hindu.org Sat Feb 6 21:52:04 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 7 Feb 2016 02:52:04 +0000 Subject: Accelerator Key for Card Inspector Message-ID: I?m getting a repetitive shoulder/ wrist cramp from going to the Object menu over and over again for Card Inspector?.(7.1.1) is there a way to lock in the inspect to cards? so that as you move from card to card the inspector changes, but sticks on cards and does not revert to stack? or can set we set a custom keystroke for the card inspector? From brahma at hindu.org Sat Feb 6 22:57:55 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 7 Feb 2016 03:57:55 +0000 Subject: Players in HTML5 - ETA for Full Functionality? Message-ID: ? Are players expected to work in HTML5? I created a really simple stack with a button to fetch a remobe URL to an MP3 file, set the filename of a player on the card to that URL and start playing. really simple? works on desktop like a charm. Fails in HTML5 standalone made with LC 8dp14 I already bug reported this, but thought to ask here. streaming remote audio/video will be mission critical for us. BR From waprothero at gmail.com Sun Feb 7 02:04:53 2016 From: waprothero at gmail.com (William Prothero) Date: Sat, 6 Feb 2016 23:04:53 -0800 Subject: connecting db sqlserver with my app livecode, how? In-Reply-To: References: Message-ID: <33EABD39-3020-43C6-BCA9-6A13E7BEE868@gmail.com> David: Try this link to a stack that demonstrates how to get started with an app that sends to php, which connects to mysql database. http://es.earthednet.org/SoftwareForEducation The link to the sample stack is near the bottom. Good luck, Bill > On Feb 6, 2016, at 10:57 AM, david alfredo zu?iga soto wrote: > > sr.Livecoders, good day > I have an application that I need to drive android.Esta app. gets its data from SQL Server 2008 R2.I have a lot off problems, ps, I used to make free hostings connection, and these are quite limited and my app does not give me permission to coneccion.Al apparently can not make direct communication to the Hosted bd in hosting. se need to use php to Communicate? Where can I learn about it livecoded like server free ?.So, I tried using LiveCode comunity server.but I am new to programming the server side and I have no idea where to start.if someone could explain or tell me where I can start serious pretty cool. > Thanks !! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at derbrill.de Sun Feb 7 03:37:24 2016 From: revolution at derbrill.de (Malte Brill) Date: Sun, 7 Feb 2016 09:37:24 +0100 Subject: HTML5 "Features" Library Substacks and "send ### in time" In-Reply-To: References: Message-ID: <09E7544A-516E-4B0D-9D05-5AB35C5A160F@derbrill.de> Hi Brahmanathaswami, I did not have the time to test DP 14 yet, but in DP9 animationEngine worked pretty good (in Firefox). All I had to do was make animationengine a substack of my mainstack. As it relies heaviely on send in time, I can confirm that that used to be working fine at least in DP 9. Need to check again in DP 14 though. All the best, Malte From hh at livecode.org Sun Feb 7 06:53:54 2016 From: hh at livecode.org (-hh) Date: Sun, 7 Feb 2016 12:53:54 +0100 Subject: LC 6.7.8 won't load Message-ID: <00E97993-D7C5-4876-9E0F-2CFC4FCBE33C@livecode.org> > Peter H. wrote: > ... Surprised it hasn't been fixed yet since 6.7.8 is dead in the water for me. Sadly it's all the same on MacOS**, from LC 6.7 to LC 8.0, also with newest rc- or dp-releases. I don't report repeatedly, because probably MacOS/SIPS is (more) the culprit. __________ ** Mac OS 10.11.3 (also tested with newest MacOS 10 developer previews). From james at thehales.id.au Sun Feb 7 07:48:02 2016 From: james at thehales.id.au (James Hale) Date: Sun, 7 Feb 2016 23:48:02 +1100 Subject: Accessing handler in LC resource stack Message-ID: <3108AB70-02EF-454A-BF94-CDEDE171CA68@thehales.id.au> Hi, I am using the GLX framework with LC7 and have hit a snag. Its application builder calls a handler in an LC resource stack "revStandaloneSettings.rev" which no longer exists. Looking at the LC package I think it has been replaced by "revsaveasstandalone.livecodescript". How do I address the handler from this script only stack file? What is its path/syntax required? James From hh at livecode.org Sun Feb 7 08:38:43 2016 From: hh at livecode.org (-hh) Date: Sun, 7 Feb 2016 14:38:43 +0100 Subject: HTML5 "Features" Library Substacks and "send ### in time" Message-ID: <27C6B1FE-CA86-43C2-B2F3-0C3484BF4C84@livecode.org> Ciao, [1] Firefox does NOT work any more since version 44.0 with LC's HTML5-standalones. Sadly, because Firefox was up to 5 times faster with the standalones (with loading AND playing) than other browsers. ALL standalones are affected, no matter the dp version. This is reported at Bugzilla at Mozilla, they really try to help us. If I read that correct, it is even planned for Firefox 47.0 to implement some backward-compatibilty. Peter B. will 'repair' that from LC's side soon (8.0.0-dp15), you then simply have to recompile your projects with the new version. [2] LC 8.0.0-dp14 has with my tests a speed loss by factor of up to 10 compared to dp9. [Will report in detail to QC tomorrow]. Hope your results are better. Please tell us. [3] In general to HTML5: PeterB. and the dev team is really working hard on all the nasty detailed problems (you can see that immediately when reading at github.com/livecode/livecode) with the HTML5-standalone builder. ==> There is an own HTML5-Subforum <=== http://forums.livecode.com/viewforum.php?f=120 Peter B. comes in regularly there and gave already a lot of valuable information, nothing is unanswered until now. For example the BIG problem of **implementing 'wait' or not** is discussed at large there (and was already shortly discussed here). ======= Hermann From rolf.kocherhans at id.uzh.ch Sun Feb 7 09:18:21 2016 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Sun, 7 Feb 2016 15:18:21 +0100 Subject: Question About Resolution Independence Message-ID: <298E27DF-03F3-4D24-8C58-BCA2527BA787@id.uzh.ch> I am experimenting with "Resolution Independence" and different screen sizes for developing on the mobile platform (iOS). When I set "iPod,iPhone,iPad" in the "Build for" settings in the "Standalone Application Settings" I always get an 1X or 2X at the bottom/right of a real iPad (with Retina display). Why is this so, normally I get these (1X or 2X) only if an app is not programmed for iPad to enlarge the screen to full size - right ? But my stack has a size of 1025*768 and I have checket the correct ?Build for setting??. ? I get the ?1X" also when I just Build for iPad ?! Any idea ? Cheers Rolf From hh at livecode.org Sun Feb 7 09:40:32 2016 From: hh at livecode.org (-hh) Date: Sun, 7 Feb 2016 15:40:32 +0100 Subject: Accessing handler in LC resource stack Message-ID: <2D28AA83-7439-446E-B430-877E5A270902@livecode.org> James H. wrote: > Hi, I am using the GLX framework with LC7 and have hit a snag. > Its application builder calls a handler in an LC resource stack "revStandaloneSettings.rev" which no longer exists. Looking at > the LC package I think it has been replaced by > revsaveasstandalone.livecodescript". > How do I address the handler from this script only stack file? > What is its path/syntax required? James [1] The Standalone Application Builder uses a custom property of each stack, named cRevStandaloneSettings. For example the cRevStandaloneSettings["defaultBuildFolder"] of this stack *Platform specific* properties are multi-dimensional written as , for example the cRevStandaloneSettings["Windows,companyname"] of this stack Platform is one of (as of LC 8.0.0) "Windows,MacOSX x86-32,Linux,Linux x64,Linux armv6-hf,Emscripten" [Item 5 is for Raspi, currently only available in 7.0.4, item 6 is for HTML5, available since 8.0.0-dp4.] May be you'll find in that property what you need. [2] If you have the path of the stack and the handlers name (may have changed), the syntax should be still the same as before. (You will know, but for some other readers the hint: If you need a handler's name or wish to copy out a short one you need to your script, you could use a text editor to open the stack, or use Raspi stacks collection #44 = nuzzler7b.livecode http://forums.livecode.com/viewtopic.php?p=112416#p112416 runs on Win/Mac/Linux/Raspi.) From richmondmathewson at gmail.com Sun Feb 7 09:58:41 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 7 Feb 2016 16:58:41 +0200 Subject: Accelerator Key for Card Inspector In-Reply-To: References: Message-ID: <56B75BA1.9010502@gmail.com> On 7.02.2016 04:52, Sannyasin Brahmanathaswami wrote: > I?m getting a repetitive shoulder/ wrist cramp from going to the Object menu over and over again for Card Inspector?.(7.1.1) > > is there a way to lock in the inspect to cards? so that as you move from card to card the inspector changes, but sticks on cards and does not revert to stack? > > or can set we set a custom keystroke for the card inspector? > > > You can use the menuEditor to mess around with the revMenuBar and set a Command/Control character for the Card inspector. Although, I, cannot for the life of me work out how to save my modification. I am going to post this, complete with pretty pictures, in the Forums, to make things a bit clearer. Richmond. http://forums.livecode.com/viewtopic.php?f=9&t=26497&p=137678#p137678 From hh at livecode.org Sun Feb 7 10:02:00 2016 From: hh at livecode.org (-hh) Date: Sun, 7 Feb 2016 16:02:00 +0100 Subject: Question About Resolution Independence Message-ID: Out of curiosity, if that's not a typo: > my stack has a size of 1025*768 Is it the same if you use 1024*768 (exactly 4:3)? From richmondmathewson at gmail.com Sun Feb 7 10:12:24 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 7 Feb 2016 17:12:24 +0200 Subject: Question About Resolution Independence In-Reply-To: References: Message-ID: <56B75ED8.7080300@gmail.com> On 7.02.2016 17:02, [-hh] wrote: > Out of curiosity, if that's not a typo: >> my stack has a size of 1025*768 > Is it the same if you use 1024*768 (exactly 4:3)? > > _______________________________________________ > I'm not entirely sure what the point of your message is . . . However, what I can observe, at the risk of being accused of gross facetiousness (Who? Me?), is that 1025 is a pixel larger than 1024, so a stack that is 1025*768 pixels is most definitely not the same as a 1024*768 stack. Of course the obvious question has to be, "Why is your stack such an awkward shape?" Richmond. From colinholgate at gmail.com Sun Feb 7 10:23:29 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 7 Feb 2016 10:23:29 -0500 Subject: Question About Resolution Independence In-Reply-To: <56B75ED8.7080300@gmail.com> References: <56B75ED8.7080300@gmail.com> Message-ID: <2F1286DB-0AAF-443D-9298-00078BED5649@gmail.com> I imagine that 1025 was a typo, and it doesn?t affect the answer anyway. To use Retina graphics you would use the iphoneUseDeviceResolution command to make the app run at the real resolution of the device. From klaus at major-k.de Sun Feb 7 11:09:34 2016 From: klaus at major-k.de (Klaus major-k) Date: Sun, 7 Feb 2016 17:09:34 +0100 Subject: Accelerator Key for Card Inspector In-Reply-To: <56B75BA1.9010502@gmail.com> References: <56B75BA1.9010502@gmail.com> Message-ID: Hi Swami, > On 7.02.2016 04:52, Sannyasin Brahmanathaswami wrote: >> I?m getting a repetitive shoulder/ wrist cramp from going to the Object menu over and over again for Card Inspector?.(7.1.1) >> is there a way to lock in the inspect to cards? so that as you move from card to card the inspector changes, but sticks on cards and does not revert to stack? >> or can set we set a custom keystroke for the card inspector? quick and dirty solutiuon: 1. Create a new stack with one button with this script (LC 8 compatible!): on mouseUp select this cd of the topStack set itemdel to "." if item 1 of the version < 8 then send "revBuildPropertyPalette" to stack "revTemplatePalette" else revIDEOpenInspectorForObjects the long id of this cd of the topstack end if end mouseUp 2. Open this stack as palette and put it wherever it suits you. 3. Click the button whenever you need the inspector for the current card :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From pete at lcsql.com Sun Feb 7 12:40:05 2016 From: pete at lcsql.com (Peter Haworth) Date: Sun, 07 Feb 2016 17:40:05 +0000 Subject: LC 6.7.8 won't load In-Reply-To: <00E97993-D7C5-4876-9E0F-2CFC4FCBE33C@livecode.org> References: <00E97993-D7C5-4876-9E0F-2CFC4FCBE33C@livecode.org> Message-ID: Sounds like you may be experiencing something different. 6.7.8 is the only version that won't run for me. I've tried a half dozen time with the same result. Is there some sort of system logfile I can look at and include with a QCC report? On Sun, Feb 7, 2016 at 3:54 AM [-hh] wrote: > > Peter H. wrote: > > ... Surprised it hasn't been fixed yet since 6.7.8 is dead in the water > for me. > > Sadly it's all the same on MacOS**, from LC 6.7 to LC 8.0, also with newest > rc- or dp-releases. > I don't report repeatedly, because probably MacOS/SIPS is (more) the > culprit. > > __________ > ** Mac OS 10.11.3 (also tested with newest MacOS 10 developer previews). > _______________________________________________ > use-livecode mailing list > use-livecode at 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 livecode.org Sun Feb 7 13:45:29 2016 From: hh at livecode.org (-hh) Date: Sun, 7 Feb 2016 19:45:29 +0100 Subject: LC 6.7.8 won't load Message-ID: <1EE6A408-8B27-437B-A00D-E0C91FB3554F@livecode.org> > Sounds like you may be experiencing something different. 6.7.8 is the only > version that won't run for me. I've tried a half dozen time with the same > result. Is there some sort of system logfile I can look at and include > with a QCC report? > On Sun, Feb 7, 2016 at 3:54 AM [-hh] wrote: > > > Peter H. wrote: > > > ... Surprised it hasn't been fixed yet since 6.7.8 is dead in the water > > for me. > > > > Sadly it's all the same on MacOS**, from LC 6.7 to LC 8.0, also with newest > > rc- or dp-releases. > > I don't report repeatedly, because probably MacOS/SIPS is (more) the > > culprit. > > > > __________ > > ** Mac OS 10.11.3 (also tested with newest MacOS 10 developer previews). > > _______________________________________________ Couldn't find a report in QC. Can remember now: I 'reported' it in "forums/Bug Triage" with 0 answers for 14 days or so, so I deleted it. There was another problem with frequent relicensing in QC (for me connected to that) but its better to open a new report in QC. Please do that. I have a system log from just now for 6.7.8 Indy (the one that is offered to send to Apple). I'll add it zipped to your report -- please use "startup" in the header so I can find it fast. hh From mikedoub at gmail.com Sun Feb 7 14:02:04 2016 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 7 Feb 2016 14:02:04 -0500 Subject: How to launch a stack from a file. Message-ID: <56B794AC.7050108@gmail.com> I am trying to build a simple launcher app and I am stumped as to how to load a stack from a file. I have no problem loading it from my dropbox, but not from a local file. put /Users/mike/Library/Preferences/CueSheets/ridewithgps_cuesheets.livecode into localpath none of the following work: go stack localpath go stack url ("binfile:" & localpath) go stack url ("file:" & localpath) I have also tryed the "in a new window" clause What am I missing? Thanks Mike From pete at lcsql.com Sun Feb 7 14:12:15 2016 From: pete at lcsql.com (Peter Haworth) Date: Sun, 07 Feb 2016 19:12:15 +0000 Subject: LC 6.7.8 won't load In-Reply-To: <1EE6A408-8B27-437B-A00D-E0C91FB3554F@livecode.org> References: <1EE6A408-8B27-437B-A00D-E0C91FB3554F@livecode.org> Message-ID: It looks like this is a plugin issue. I removed all my plugins and 6.7.8 now loads fine. Will experiment to find which plugin is causing the problem. On Sun, Feb 7, 2016 at 10:45 AM [-hh] wrote: > > Sounds like you may be experiencing something different. 6.7.8 is the > only > > version that won't run for me. I've tried a half dozen time with the same > > result. Is there some sort of system logfile I can look at and include > > with a QCC report? > > On Sun, Feb 7, 2016 at 3:54 AM [-hh] wrote: > > > > Peter H. wrote: > > > > ... Surprised it hasn't been fixed yet since 6.7.8 is dead in the > water > > > for me. > > > > > > Sadly it's all the same on MacOS**, from LC 6.7 to LC 8.0, also with > newest > > > rc- or dp-releases. > > > I don't report repeatedly, because probably MacOS/SIPS is (more) the > > > culprit. > > > > > > __________ > > > ** Mac OS 10.11.3 (also tested with newest MacOS 10 developer > previews). > > > _______________________________________________ > > Couldn't find a report in QC. Can remember now: I 'reported' it in > "forums/Bug Triage" with 0 answers for 14 days or so, so I deleted it. > There was another problem with frequent relicensing in QC (for me connected > to that) but its better to open a new report in QC. Please do that. > > I have a system log from just now for 6.7.8 Indy (the one that is offered > to send to Apple). I'll add it zipped to your report -- please use > "startup" > in the header so I can find it fast. > > hh > _______________________________________________ > use-livecode mailing list > use-livecode at 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 livecode.org Sun Feb 7 14:28:12 2016 From: hh at livecode.org (-hh) Date: Sun, 7 Feb 2016 20:28:12 +0100 Subject: LC 6.7.8 won't load Message-ID: Related to that (seems to be a well-known "random"-occurrence problem) #16112 8.0.0-dp6 Crash at startup #14264 7.0.1-GM1 Crash on startup Also, for me: The probability increases if it is the first startup of LC after a machine sleep. From ali.lloyd at livecode.com Sun Feb 7 14:32:48 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Sun, 07 Feb 2016 19:32:48 +0000 Subject: Accessing handler in LC resource stack In-Reply-To: <2D28AA83-7439-446E-B430-877E5A270902@livecode.org> References: <2D28AA83-7439-446E-B430-877E5A270902@livecode.org> Message-ID: revsaveasstandalone.livecodescript is just a stack named "revSaveAsStandalone", so can be referred to that way, eg dispatch "handler" to stack "revSaveAsStandalone". However, it *should* be in the backscripts already, so I think that may not be the problem (unless the GLX framework explicitly call a handler in stack "revSaveAsStandalone" of stack "revStandaloneSettings"). What handler is it? On Sun, Feb 7, 2016 at 2:40 PM [-hh] wrote: > James H. wrote: > > Hi, I am using the GLX framework with LC7 and have hit a snag. > > Its application builder calls a handler in an LC resource stack > "revStandaloneSettings.rev" which no longer exists. Looking at > > the LC package I think it has been replaced by > > revsaveasstandalone.livecodescript". > > How do I address the handler from this script only stack file? > > What is its path/syntax required? James > > [1] The Standalone Application Builder uses a custom property > of each stack, named cRevStandaloneSettings. > For example > the cRevStandaloneSettings["defaultBuildFolder"] of this stack > > *Platform specific* properties are multi-dimensional written as > , for example > the cRevStandaloneSettings["Windows,companyname"] of this stack > > Platform is one of (as of LC 8.0.0) > "Windows,MacOSX x86-32,Linux,Linux x64,Linux armv6-hf,Emscripten" > [Item 5 is for Raspi, currently only available in 7.0.4, > item 6 is for HTML5, available since 8.0.0-dp4.] > > May be you'll find in that property what you need. > > [2] If you have the path of the stack and the handlers name > (may have changed), the syntax should be still the same as before. > > (You will know, but for some other readers the hint: > If you need a handler's name or wish to copy out a short one you > need to your script, you could use a text editor to open the > stack, or use Raspi stacks collection #44 = nuzzler7b.livecode > http://forums.livecode.com/viewtopic.php?p=112416#p112416 > runs on Win/Mac/Linux/Raspi.) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From harrison at all-auctions.com Sun Feb 7 14:39:08 2016 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 7 Feb 2016 14:39:08 -0500 Subject: LC 6.7.8 won't load In-Reply-To: References: Message-ID: <4FADE6C2-34BE-4790-8427-1ABC74DEF5EB@all-auctions.com> I have told my Mac to never sleep because of weirdness like that over many years. I use the screen saver instead, or shut it down if I?m not going to use it for a few hours. Rick > On Feb 7, 2016, at 2:28 PM, [-hh] wrote: > > Related to that > (seems to be a well-known "random"-occurrence problem) > #16112 8.0.0-dp6 Crash at startup > #14264 7.0.1-GM1 Crash on startup > > Also, for me: > The probability increases if it is the first startup > of LC after a machine sleep. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Feb 7 14:40:36 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 7 Feb 2016 11:40:36 -0800 Subject: How to launch a stack from a file. In-Reply-To: <56B794AC.7050108@gmail.com> References: <56B794AC.7050108@gmail.com> Message-ID: <56B79DB4.8050703@fourthworld.com> Michael Doub wrote: > I am trying to build a simple launcher app and I am stumped as to how > to load a stack from a file. I have no problem loading it from my > dropbox, but not from a local file. > > put > /Users/mike/Library/Preferences/CueSheets/ridewithgps_cuesheets.livecode > into localpath > > none of the following work: > > go stack localpath > go stack url ("binfile:" & localpath) > go stack url ("file:" & localpath) > > I have also tryed the "in a new window" clause > > What am I missing? A check of "the result" immediately after the line that fails so you can find out what the engine's trying to tell you about how to fix it. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From hh at livecode.org Sun Feb 7 15:54:00 2016 From: hh at livecode.org (-hh) Date: Sun, 7 Feb 2016 21:54:00 +0100 Subject: How to launch a stack from a file. Message-ID: <4486FF1E-CB2E-4414-9D31-53CBA9563D9B@livecode.org> Mike D. wrote: > I am trying to build a simple launcher app and I am stumped as to how to > load a stack from a file. I have no problem loading it from my dropbox, > but not from a local file. > > put > /Users/mike/Library/Preferences/CueSheets/ridewithgps_cuesheets.livecode > into localpath > > none of the following work: > > go stack localpath > go stack url ("binfile:" & localpath) > go stack url ("file:" & localpath) > > I have also tryed the "in a new window" clause > > What am I missing? Obviously you are on Mac. The first method should work. The other two not. Hope you didn't forget the quotes around the path? From hh at livecode.org Sun Feb 7 16:14:45 2016 From: hh at livecode.org (-hh) Date: Sun, 7 Feb 2016 22:14:45 +0100 Subject: LC 6.7.8 won't load Message-ID: <264A49B1-20FF-448F-A750-A4F1F33A3CA4@livecode.org> Peter H. wrote: > It looks like this is a plugin issue. I removed all my plugins > and 6.7.8 now loads fine. Will experiment to find which plugin > is causing the problem. Tried your no-plugin-method. Had until now no startup-crash with 6.7.8, but two with 7.1.1 and one with 8.0.0-dp14. Rick H. wrote: > I have told my Mac to never sleep because of weirdness > like that over many years. I use the screen saver instead, > or shut it down if I?m not going to use it for a few hours. Rick > > On Feb 7, 2016, at 2:28 PM, [-hh] wrote: > > Related to that > > (seems to be a well-known "random"-occurrence problem) > > #16112 8.0.0-dp6 Crash at startup > > #14264 7.0.1-GM1 Crash on startup > > Also, for me: > > The probability increases if it is the first startup > > of LC after a machine sleep. I had sometimes better results when ejecting a certain USB-2.0 drive before a sleep (no change: thunderbolt drive). Yes, Mac will be more involved with that than LC. But: Other apps don't crash here ... From rdimola at evergreeninfo.net Sun Feb 7 16:24:22 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 7 Feb 2016 16:24:22 -0500 Subject: export card snapshot including browser window In-Reply-To: <4486FF1E-CB2E-4414-9D31-53CBA9563D9B@livecode.org> References: <4486FF1E-CB2E-4414-9D31-53CBA9563D9B@livecode.org> Message-ID: <004001d161ed$e99ae140$bcd0a3c0$@net> I export cards all the time with no problems. Now I need to export a card the has LC fields at the top and bottom with a revbrowser in between. When I do a "export snapshot from this card to file "somepath/somefile.png" as PNG" the image contains everything on the card except for the content of the revbrowser portion of the card. What am I missing? I also need to make sure that the browser is done loading after a resize before I export the card. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From scott at tactilemedia.com Sun Feb 7 16:41:38 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 07 Feb 2016 13:41:38 -0800 Subject: export card snapshot including browser window In-Reply-To: <004001d161ed$e99ae140$bcd0a3c0$@net> References: <4486FF1E-CB2E-4414-9D31-53CBA9563D9B@livecode.org> <004001d161ed$e99ae140$bcd0a3c0$@net> Message-ID: First guess would be the browser is the type that's in its own rendered layer and not really a card object. If you haven't already, try exporting from the rect of the card or stack, instead of exporting the card itself. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/7/16, 1:24 PM, "use-livecode on behalf of Ralph DiMola" wrote: >I export cards all the time with no problems. Now I need to export a card >the has LC fields at the top and bottom with a revbrowser in between. >When I >do a "export snapshot from this card to file "somepath/somefile.png" as >PNG" >the image contains everything on the card except for the content of the >revbrowser portion of the card. What am I missing? > >I also need to make sure that the browser is done loading after a resize >before I export the card. > >Ralph DiMola >IT Director >Evergreen Information Services >rdimola at evergreeninfo.net > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sun Feb 7 16:46:17 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Feb 2016 13:46:17 -0800 Subject: LC 6.7.8 won't load In-Reply-To: <264A49B1-20FF-448F-A750-A4F1F33A3CA4@livecode.org> References: <264A49B1-20FF-448F-A750-A4F1F33A3CA4@livecode.org> Message-ID: <56B7BB29.4030905@ahsoftware.net> On 02/07/2016 01:14 PM, [-hh] wrote: > Peter H. wrote: >> It looks like this is a plugin issue. I removed all my plugins >> and 6.7.8 now loads fine. Will experiment to find which plugin >> is causing the problem. > > Tried your no-plugin-method. Had until now no startup-crash with > 6.7.8, but two with 7.1.1 and one with 8.0.0-dp14. Delete or rename your preferences file or folder and try again. I find myself having to do this on a regular basis - there are some things in the preferences file that won't work across versions. And if you have a livecode.rev file then LC8 will grab the preferences from it to incorporate into livecode7.rev. Things are messed up after that. -- Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Sun Feb 7 16:54:37 2016 From: pete at lcsql.com (Peter Haworth) Date: Sun, 07 Feb 2016 21:54:37 +0000 Subject: LC 6.7.8 won't load In-Reply-To: <56B7BB29.4030905@ahsoftware.net> References: <264A49B1-20FF-448F-A750-A4F1F33A3CA4@livecode.org> <56B7BB29.4030905@ahsoftware.net> Message-ID: Thanks Mark. I found the culprit that caused the 6.7.8 issue - a tiny little plugin I write that loads at startup, although I'm not sure why the coding error in it should cause LC to silently quit or why it didn't have the same effect in other LC versions. I have separate prefs locations for 7 and pre-7. Should I have a separate one for 8? On Sun, Feb 7, 2016 at 1:46 PM Mark Wieder wrote: > On 02/07/2016 01:14 PM, [-hh] wrote: > > Peter H. wrote: > >> It looks like this is a plugin issue. I removed all my plugins > >> and 6.7.8 now loads fine. Will experiment to find which plugin > >> is causing the problem. > > > > Tried your no-plugin-method. Had until now no startup-crash with > > 6.7.8, but two with 7.1.1 and one with 8.0.0-dp14. > > Delete or rename your preferences file or folder and try again. > I find myself having to do this on a regular basis - there are some > things in the preferences file that won't work across versions. And if > you have a livecode.rev file then LC8 will grab the preferences from it > to incorporate into livecode7.rev. Things are messed up after 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 mwieder at ahsoftware.net Sun Feb 7 17:11:08 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Feb 2016 14:11:08 -0800 Subject: LC 6.7.8 won't load In-Reply-To: References: <264A49B1-20FF-448F-A750-A4F1F33A3CA4@livecode.org> <56B7BB29.4030905@ahsoftware.net> Message-ID: <56B7C0FC.6050208@ahsoftware.net> On 02/07/2016 01:54 PM, Peter Haworth wrote: > Thanks Mark. > > I found the culprit that caused the 6.7.8 issue - a tiny little plugin I > write that loads at startup, although I'm not sure why the coding error in > it should cause LC to silently quit or why it didn't have the same effect > in other LC versions. I've got a bug report about something similar... the glx2 script editor preferences stack loads fine for every LC version *execpt* 6.7.8, and only on OSX. It's a mystery to me. > > I have separate prefs locations for 7 and pre-7. Should I have a separate > one for 8? Not if it's working for you. I've got a bug report pending about *something* in the preferences file that's incompatible between LC7 and LC8, and it seems to be inherited from the earlier prefs file. The annoying thing is that LC8 imports the bad setting on launch, not just on installation. -- Mark Wieder ahsoftware at gmail.com From james at thehales.id.au Sun Feb 7 20:02:52 2016 From: james at thehales.id.au (jameshale) Date: Sun, 7 Feb 2016 17:02:52 -0800 (PST) Subject: Accessing handler in LC resource stack In-Reply-To: References: <3108AB70-02EF-454A-BF94-CDEDE171CA68@thehales.id.au> <2D28AA83-7439-446E-B430-877E5A270902@livecode.org> Message-ID: <1454893372378-4700881.post@n4.nabble.com> Ali Lloyd-2 wrote > revsaveasstandalone.livecodescript is just a stack named > "revSaveAsStandalone", so can be referred to that way, eg dispatch > "handler" to stack "revSaveAsStandalone". > > However, it *should* be in the backscripts already, so I think that may > not > be the problem (unless the GLX framework explicitly call a handler in > stack > "revSaveAsStandalone" of stack "revStandaloneSettings"). The handler is in the "glxApplicationProperties" plug-in that comes with glx. Specifically: send "revSaveAsStandalone theStack, theOutputFolder" to stack "revSaveAsStandalone" of stack "revStandaloneSettings" Looks explicit. BTW This is in a TRY construct and this is where the error arises. 91,72,1 532,72,1 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Accessing-handler-in-LC-resource-stack-tp4700856p4700881.html Sent from the Revolution - User mailing list archive at Nabble.com. From ali.lloyd at livecode.com Sun Feb 7 20:41:47 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 08 Feb 2016 01:41:47 +0000 Subject: Accessing handler in LC resource stack In-Reply-To: <1454893372378-4700881.post@n4.nabble.com> References: <3108AB70-02EF-454A-BF94-CDEDE171CA68@thehales.id.au> <2D28AA83-7439-446E-B430-877E5A270902@livecode.org> <1454893372378-4700881.post@n4.nabble.com> Message-ID: Ah ok, it just needs the ...of stack "revStandaloneSettings" removed then, or should be changed to revSaveAsStandalone theStack, theOutputFolder On Mon, Feb 8, 2016 at 1:02 AM jameshale wrote: > Ali Lloyd-2 wrote > > revsaveasstandalone.livecodescript is just a stack named > > "revSaveAsStandalone", so can be referred to that way, eg dispatch > > "handler" to stack "revSaveAsStandalone". > > > > However, it *should* be in the backscripts already, so I think that may > > not > > be the problem (unless the GLX framework explicitly call a handler in > > stack > > "revSaveAsStandalone" of stack "revStandaloneSettings"). > > The handler is in the "glxApplicationProperties" plug-in that comes with > glx. > > Specifically: > send "revSaveAsStandalone theStack, theOutputFolder" to stack > "revSaveAsStandalone" of stack "revStandaloneSettings" > > Looks explicit. > > BTW This is in a TRY construct and this is where the error arises. > 91,72,1 > 532,72,1 > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Accessing-handler-in-LC-resource-stack-tp4700856p4700881.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 ali.lloyd at livecode.com Sun Feb 7 20:41:47 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 08 Feb 2016 01:41:47 +0000 Subject: Accessing handler in LC resource stack In-Reply-To: <1454893372378-4700881.post@n4.nabble.com> References: <3108AB70-02EF-454A-BF94-CDEDE171CA68@thehales.id.au> <2D28AA83-7439-446E-B430-877E5A270902@livecode.org> <1454893372378-4700881.post@n4.nabble.com> Message-ID: Ah ok, it just needs the ...of stack "revStandaloneSettings" removed then, or should be changed to revSaveAsStandalone theStack, theOutputFolder On Mon, Feb 8, 2016 at 1:02 AM jameshale wrote: > Ali Lloyd-2 wrote > > revsaveasstandalone.livecodescript is just a stack named > > "revSaveAsStandalone", so can be referred to that way, eg dispatch > > "handler" to stack "revSaveAsStandalone". > > > > However, it *should* be in the backscripts already, so I think that may > > not > > be the problem (unless the GLX framework explicitly call a handler in > > stack > > "revSaveAsStandalone" of stack "revStandaloneSettings"). > > The handler is in the "glxApplicationProperties" plug-in that comes with > glx. > > Specifically: > send "revSaveAsStandalone theStack, theOutputFolder" to stack > "revSaveAsStandalone" of stack "revStandaloneSettings" > > Looks explicit. > > BTW This is in a TRY construct and this is where the error arises. > 91,72,1 > 532,72,1 > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Accessing-handler-in-LC-resource-stack-tp4700856p4700881.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 mikedoub at gmail.com Sun Feb 7 21:34:48 2016 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 7 Feb 2016 21:34:48 -0500 Subject: How to launch a stack from a file. In-Reply-To: <56B79DB4.8050703@fourthworld.com> References: <56B794AC.7050108@gmail.com> <56B79DB4.8050703@fourthworld.com> Message-ID: <56B7FEC8.4000706@gmail.com> Thanks Richard, The stack was corrupted. I had saved it with file: rather than binfile: All is well now. Good to know about checking the result. -= Mike On 2/7/16 2:40 PM, Richard Gaskin wrote: > Michael Doub wrote: > > I am trying to build a simple launcher app and I am stumped as to how > > to load a stack from a file. I have no problem loading it from my > > dropbox, but not from a local file. > > > > put > > > /Users/mike/Library/Preferences/CueSheets/ridewithgps_cuesheets.livecode > > into localpath > > > > none of the following work: > > > > go stack localpath > > go stack url ("binfile:" & localpath) > > go stack url ("file:" & localpath) > > > > I have also tryed the "in a new window" clause > > > > What am I missing? > > A check of "the result" immediately after the line that fails so you > can find out what the engine's trying to tell you about how to fix it. > From james at thehales.id.au Sun Feb 7 21:24:37 2016 From: james at thehales.id.au (jameshale) Date: Sun, 7 Feb 2016 18:24:37 -0800 (PST) Subject: Accessing handler in LC resource stack In-Reply-To: References: <3108AB70-02EF-454A-BF94-CDEDE171CA68@thehales.id.au> <2D28AA83-7439-446E-B430-877E5A270902@livecode.org> <1454893372378-4700881.post@n4.nabble.com> Message-ID: <1454898277943-4700884.post@n4.nabble.com> Thanks Ali, > Ah ok, it just needs the ...of stack "revStandaloneSettings" removed then, Worked! > or should be changed to revSaveAsStandalone theStack, theOutputFolder Didn't work (tried it first :-)) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Accessing-handler-in-LC-resource-stack-tp4700856p4700884.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Mon Feb 8 01:31:52 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 8 Feb 2016 08:31:52 +0200 Subject: Black icons in LC 8 DP 14 Message-ID: <56B83658.8000602@gmail.com> ????? Are these to become the standard revMenuBar button icons, or is this a blip? If they are to become the standard revMenuBar button icons can there be a community vote as to whether they are preferable over the previous coloured ones? Richmond. From peter.brett at livecode.com Mon Feb 8 02:54:46 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 8 Feb 2016 07:54:46 +0000 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B83658.8000602@gmail.com> References: <56B83658.8000602@gmail.com> Message-ID: <56B849C6.90806@livecode.com> On 08/02/2016 06:31, RM wrote: > Are these to become the standard revMenuBar button icons, or is this a > blip? Yes, this is the new LiveCode 8 icon theme! We're really pleased with it. The new icons make it much clearer what each menu bar item actually does, and they work much more nicely at a wide variety of screen sizes and resolutions. Once we have SVG image controls in the LiveCode engine, we're looking forward being able to directly render them from the source SVG files. > If they are to become the standard revMenuBar button icons can there be > a community > vote as to whether they are preferable over the previous coloured ones? The core dev team always takes all feedback from LiveCode subscribers and regular contributors to the open source edition very seriously. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From rolf.kocherhans at id.uzh.ch Mon Feb 8 04:53:20 2016 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Mon, 8 Feb 2016 10:53:20 +0100 Subject: Question About Resolution Independence In-Reply-To: References: Message-ID: Sorry that was a typo just on the eMail ! The stack has a size of 1024*768 pixels. @ Richmond this size is suggested on a movie about Resolution Independence: https://www.youtube.com/watch?v=idctzDFoGj8&feature=youtu.be I think that that Colin could be correct with his suggestion of using: iphoneUseDeviceResolution but there are so many possibilities (4), and I do not fully understand all the text in the Dictionary iphoneUseDeviceResolution true iphoneUseDeviceResolution true, true iphoneUseDeviceResolution true, false iphoneUseDeviceResolution false Has anyone used this already ? I thought that I can just use: on preOpenStack set the fullScreenMode of this stack to "exactFit" end preOpenStack And all my resolution problems would be done ?! What do you all use - can we really program for one screen size and deploy to all devices ? Regards Rolf > Am 08.02.2016 um 03:48 schrieb use-livecode-request at lists.runrev.com: > > Out of curiosity, if that's not a typo: >> my stack has a size of 1025*768 > > Is it the same if you use 1024*768 (exactly 4:3)? From admin at FlexibleLearning.com Mon Feb 8 05:18:53 2016 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 8 Feb 2016 10:18:53 -0000 Subject: [ANN] Free update: ChartMaker 3.0 Build 67 Message-ID: <002501d1625a$1d571500$58053f00$@FlexibleLearning.com> I am pleased to announce a free update for ChartMaker for LiveCode. This release also includes improvements made in internal Build 66. LiveCode 8: ChartMaker should be entirely LC8-compatible. If you experience any problems, please report issues so they can be addressed. Full release notes and the new release download are available here, including a free 30-day trial (or use your existing key to update): http://www.flexiblelearning.com/chartmaker/versioning/whatsnew.htm Note that as a professional product, ChartMaker requires LiveCode Commercial. However, specific circumstances will be considered for developers who require unlocked maintenance access for their clients. Version: 3.0 Build: 67 Release type: Free Update Issued: 8 February 2016 What's New in this build? This is a free maintenance release that addresses the following issues... Improved . CMsave2File now saves as PNG, GIF, JPG (or uncompressed bmp, pbm and paint as PPM), based on the filename suffix supplied. . Scatter charts: X-axis adjusted to display to nearest 5 when the number of categories <50 (Build 66) Hugh Senior FLCo From richmondmathewson at gmail.com Mon Feb 8 06:50:13 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 8 Feb 2016 13:50:13 +0200 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B849C6.90806@livecode.com> References: <56B83658.8000602@gmail.com> <56B849C6.90806@livecode.com> Message-ID: <56B880F5.8020906@gmail.com> On 8.02.2016 09:54, Peter TB Brett wrote: > On 08/02/2016 06:31, RM wrote: > >> Are these to become the standard revMenuBar button icons, or is this a >> blip? > > Yes, this is the new LiveCode 8 icon theme! We're really pleased with > it. The new icons make it much clearer what each menu bar item > actually does, and they work much more nicely at a wide variety of > screen sizes and resolutions. Once we have SVG image controls in the > LiveCode engine, we're looking forward being able to directly render > them from the source SVG files. > >> If they are to become the standard revMenuBar button icons can there be >> a community >> vote as to whether they are preferable over the previous coloured ones? > > The core dev team always takes all feedback from LiveCode subscribers > and regular contributors to the open source edition very seriously. > > Peter > OK; thanks. Could everybody who cares about this sort of thing indicate whether they prefer the coloured icons or the black ones? Richmond. From lists at mangomultimedia.com Mon Feb 8 07:18:44 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 8 Feb 2016 07:18:44 -0500 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B880F5.8020906@gmail.com> References: <56B83658.8000602@gmail.com> <56B849C6.90806@livecode.com> <56B880F5.8020906@gmail.com> Message-ID: On Monday, February 8, 2016, RM wrote: > > > Could everybody who cares about this sort of thing indicate whether they > prefer the coloured icons > or the black ones? > Black ones. -- Trevor DeVore From ilola.antti at gmail.com Mon Feb 8 08:29:43 2016 From: ilola.antti at gmail.com (Antti Ilola) Date: Mon, 8 Feb 2016 15:29:43 +0200 Subject: Black icons in LC 8 DP 14 In-Reply-To: References: <56B83658.8000602@gmail.com> <56B849C6.90806@livecode.com> <56B880F5.8020906@gmail.com> Message-ID: Nevermind 2016-02-08 14:18 GMT+02:00 Trevor DeVore : > On Monday, February 8, 2016, RM wrote: > > > > > > Could everybody who cares about this sort of thing indicate whether they > > prefer the coloured icons > > or the black ones? > > > > Black ones. > > -- > 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 livecode.org Mon Feb 8 08:37:16 2016 From: hh at livecode.org (-hh) Date: Mon, 8 Feb 2016 14:37:16 +0100 Subject: Black icons in LC 8 DP 14 Message-ID: <74954B65-9D50-42A2-96D1-59157C1C1289@livecode.org> black, lightgray, darkgray, white, red , yellow, blue and "102,255,204" :-) From colinholgate at gmail.com Mon Feb 8 09:00:23 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 8 Feb 2016 09:00:23 -0500 Subject: Question About Resolution Independence In-Reply-To: References: Message-ID: The dictionary says what the two properties are for, but they are slightly confusing. I would start by trying iphoneUseDeviceResolution true. I think that exactFit will be the least used full screen mode. It would distort your card to match the ratio of the device. Your choices are to either not set the full screen mode, and use code to lay out all of your UI, or use noBorder or showAll, and have extra content that fills in the parts that are revealed on wider or taller devices. Read through the topic "one-rect-for-all alpha? for a lot more discussion about that. > On Feb 8, 2016, at 4:53 AM, Rolf Kocherhans wrote: > > Sorry that was a typo just on the eMail ! > > The stack has a size of 1024*768 pixels. > @ Richmond this size is suggested on a movie about Resolution Independence: > https://www.youtube.com/watch?v=idctzDFoGj8&feature=youtu.be > > I think that that Colin could be correct with his suggestion of using: > > iphoneUseDeviceResolution but there are so many possibilities (4), and I do not > fully understand all the text in the Dictionary > > iphoneUseDeviceResolution true > iphoneUseDeviceResolution true, true > iphoneUseDeviceResolution true, false > iphoneUseDeviceResolution false > > Has anyone used this already ? > > I thought that I can just use: > > on preOpenStack > set the fullScreenMode of this stack to "exactFit" > end preOpenStack > > And all my resolution problems would be done ?! > > What do you all use - can we really program for one screen size and deploy > to all devices ? > > Regards > Rolf > > > >> Am 08.02.2016 um 03:48 schrieb use-livecode-request at lists.runrev.com: >> >> Out of curiosity, if that's not a typo: >>> my stack has a size of 1025*768 >> >> Is it the same if you use 1024*768 (exactly 4:3)? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Mon Feb 8 09:37:14 2016 From: mkoob at rogers.com (Martin Koob) Date: Mon, 8 Feb 2016 06:37:14 -0800 (PST) Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: Message-ID: <1454942234194-4700894.post@n4.nabble.com> I tried the same thing with a remote URL to an mp4 video file. Same result it plays in the IDE but not in HTML5. I checked your bug report http://quality.livecode.com/show_bug.cgi?id=16870 and see that the response from Peter Brett that 'Player support has not yet been implemented in the HTML5 engine'. Hopefully Peter can respond here with an ETA for Player support in the HTML5 engine. What types of video and audio files will it be expected to play? Thanks. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Players-in-HTML5-ETA-for-Full-Functionality-tp4700852p4700894.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Mon Feb 8 10:11:15 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 8 Feb 2016 07:11:15 -0800 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B83658.8000602@gmail.com> References: <56B83658.8000602@gmail.com> Message-ID: <56B8B013.4000302@fourthworld.com> RM wrote: > ????? > > Are these to become the standard revMenuBar button icons, or is this > a blip? I'm glad it's happened, and v8 is the right time for this to happen. The shift to monochrome icons has been a pervasive trend across the UI world for some years now, and I rather like how it simplifies the gestalt of the palette's appearance. In fact, I'd been keeping a mental wish list of low-hanging fruit that can help improve the overall look of the product for some time now, and moving to monochrome icons in revMenuBar was on my list. Coupled with the engine enhancements for appearance, v8 is shaping up well as the version that can attract newcomers better than any version before it. > If they are to become the standard revMenuBar button icons can there > be a community vote as to whether they are preferable over the > previous coloured ones? More useful would be to poll people who *aren't* in our community yet, We need the number of LC developers to grow a multiple beyond our current audience, so the opinions of people with long historic familiarity with LC are in some ways less important than those who've not yet been introduced to it. Democracy is useful for many things, but I'm not sure UI is among them. In fact, I'd argue squarely against it for several reasons: How many in our audience are specialists in UI design? One of the complaints I hear from architects is that because all of their clients live in homes and know how to use a pencil, they all fancy themselves fully qualified to do the work of an architect. :) Using a computer, or even developing software, by itself is not the same as spending decades studying UI and UX. We wouldn't put diagnosis and prescription for coronary conditions to vote, we'd hire a doctor. IMNSHO the same goes for UI. This is one of those areas where meritocracy trumps democracy, and we see meritocracy as the favored model for participation in a great many open source projects. In the well run FOSS projects all views are solicited and welcome, but those ultimately entrusted to see a vision through are those who've demonstrated accomplishment in the area in question. Besides, the beauty of open source is that anyone who really wants just about anything can always have exactly what they want. For example, I've grown very fond of Ubuntu's Unity desktop environment, but I don't imagine for a minute that folks using anything else will have the same preference. So rather than require other people to design the LC menu bar to look how I personally prefer it, I just made a short script that does it on startup and now I have something much closer to my personal preferences while everyone else is still free to enjoy anything they like: If you really want full-color icons it's not hard to make a plugin that delivers that. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Mon Feb 8 10:24:46 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 8 Feb 2016 10:24:46 -0500 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B8B013.4000302@fourthworld.com> References: <56B83658.8000602@gmail.com> <56B8B013.4000302@fourthworld.com> Message-ID: <001601d16284$d836a500$88a3ef00$@net> "This is one of those areas where meritocracy trumps democracy" In 1982 at Citibank we created a worldwide information product that had news/weather/stock prices/Commodity prices/FX rates(sound familiar?). We had many meeting on the UI and democracy determined that the various commands should use the "F" keys. So we set up a lab in NYC and brought people in off Park Ave and gave them a series of tasks to complete. It was an immediate bust because when instructed to use the "F2" key 60% of the users typed the letter key "F" followed by the number key "2". So we changed the command to "/2" and 99% of the testers got it correct. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Monday, February 08, 2016 10:11 AM To: use-livecode at lists.runrev.com Subject: Re: Black icons in LC 8 DP 14 RM wrote: > ????? > > Are these to become the standard revMenuBar button icons, or is this > a blip? I'm glad it's happened, and v8 is the right time for this to happen. The shift to monochrome icons has been a pervasive trend across the UI world for some years now, and I rather like how it simplifies the gestalt of the palette's appearance. In fact, I'd been keeping a mental wish list of low-hanging fruit that can help improve the overall look of the product for some time now, and moving to monochrome icons in revMenuBar was on my list. Coupled with the engine enhancements for appearance, v8 is shaping up well as the version that can attract newcomers better than any version before it. > If they are to become the standard revMenuBar button icons can there > be a community vote as to whether they are preferable over the > previous coloured ones? More useful would be to poll people who *aren't* in our community yet, We need the number of LC developers to grow a multiple beyond our current audience, so the opinions of people with long historic familiarity with LC are in some ways less important than those who've not yet been introduced to it. Democracy is useful for many things, but I'm not sure UI is among them. In fact, I'd argue squarely against it for several reasons: How many in our audience are specialists in UI design? One of the complaints I hear from architects is that because all of their clients live in homes and know how to use a pencil, they all fancy themselves fully qualified to do the work of an architect. :) Using a computer, or even developing software, by itself is not the same as spending decades studying UI and UX. We wouldn't put diagnosis and prescription for coronary conditions to vote, we'd hire a doctor. IMNSHO the same goes for UI. This is one of those areas where meritocracy trumps democracy, and we see meritocracy as the favored model for participation in a great many open source projects. In the well run FOSS projects all views are solicited and welcome, but those ultimately entrusted to see a vision through are those who've demonstrated accomplishment in the area in question. Besides, the beauty of open source is that anyone who really wants just about anything can always have exactly what they want. For example, I've grown very fond of Ubuntu's Unity desktop environment, but I don't imagine for a minute that folks using anything else will have the same preference. So rather than require other people to design the LC menu bar to look how I personally prefer it, I just made a short script that does it on startup and now I have something much closer to my personal preferences while everyone else is still free to enjoy anything they like: If you really want full-color icons it's not hard to make a plugin that delivers that. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Mon Feb 8 10:37:48 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 8 Feb 2016 15:37:48 +0000 Subject: [ANN] This Week in LiveCode 19 Message-ID: <56B8B64C.2050802@livecode.com> 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 #19 here: https://goo.gl/SjgS1d 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! Are you doing something interesting with LiveCode Community Edition? Please get in touch and get it featured in "This Week in LiveCode"! Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From irog at mac.com Mon Feb 8 10:50:47 2016 From: irog at mac.com (Roger Guay) Date: Mon, 08 Feb 2016 08:50:47 -0700 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B8B013.4000302@fourthworld.com> References: <56B83658.8000602@gmail.com> <56B8B013.4000302@fourthworld.com> Message-ID: <0505260C-58C2-4B8E-8563-1D4AE577609F@mac.com> I like yours better, Richard. Would you share your script with us? thanks, Roger > On Feb 8, 2016, at 8:11 AM, Richard Gaskin wrote: > > So rather than require other people to design the LC menu bar to look how I personally prefer it, I just made a short script that does it on startup and now I have something much closer to my personal preferences while everyone else is still free to enjoy anything they like: > > From ambassador at fourthworld.com Mon Feb 8 11:44:16 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 8 Feb 2016 08:44:16 -0800 Subject: Black icons in LC 8 DP 14 In-Reply-To: <0505260C-58C2-4B8E-8563-1D4AE577609F@mac.com> References: <0505260C-58C2-4B8E-8563-1D4AE577609F@mac.com> Message-ID: <56B8C5E0.1040107@fourthworld.com> Roger Guay wrote: > I like yours better, Richard. Would you share your script with us? Sure. It's a checkbox in my soon-to-be-released-once-I-finish-compatibility-with-v8 devolution toolkit - here's the script: on UbuntifyRevMenubar put the defaultStack into tSaveDS set the defaultStack to "revMenubar" lock screen -- Menu text, and adjusting for new size: set the textFont of stack "revMenubar" to "Ubuntu" set the textSize of grp "revMenubar" to 13 put 6 into tX put 0 into i repeat for each line tMenu in (the controlnames of grp "revMenubar") add 1 to i if there is not a btn tMenu of stack "revMenubar" then next repeat get the formattedWidth of btn tMenu of grp "revMenubar" set the width of btn tMenu of grp "revMenubar" to it set the left of btn tMenu of grp "revMenubar" to tX add it+4 to tX end repeat -- Colors: set the backcolor of this cd to "80,78,72" --the backcolor of stack "4wDevo" set the forecolor of this cd to gray90 set the topcolor of this cd to gray55 set the bottomColor of this cd to gray25 -- Give menus some breathing room: put "File,Edit,Tools,Object,Text,Development,View,Window,Help" into tMenus put 2 into x repeat for each item tMenu in tMenus add 3 to x set the width of btn tMenu of stack "revMenubar" \ to the formattedWidth of btn tMenu of stack "revMenubar" set the left of btn tMenu of stack "revMenubar" to x put the right of btn tMenu of stack "revMenubar" into x end repeat -- set the defaultStack to tSaveDS end UbuntifyRevMenubar It's been working well in v6 through v8. -- 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 smudge.andy at googlemail.com Mon Feb 8 11:30:02 2016 From: smudge.andy at googlemail.com (AndyP) Date: Mon, 8 Feb 2016 08:30:02 -0800 (PST) Subject: Black icons in LC 8 DP 14 In-Reply-To: <0505260C-58C2-4B8E-8563-1D4AE577609F@mac.com> References: <56B83658.8000602@gmail.com> <56B8B013.4000302@fourthworld.com> <0505260C-58C2-4B8E-8563-1D4AE577609F@mac.com> Message-ID: <1454949002426-4700900.post@n4.nabble.com> One of the great attributes of LiveCode is as the ide is written in LiveCode, it's really easy to hack. So changing the colour of the menu bar is a simple one liner. Set the backgroundColor of stack "revMenubar" to mycolor ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Black-icons-in-LC-8-DP-14-tp4700885p4700900.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Mon Feb 8 13:26:44 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 8 Feb 2016 20:26:44 +0200 Subject: Black icons in LC 8 DP 14 In-Reply-To: References: <56B83658.8000602@gmail.com> <56B849C6.90806@livecode.com> <56B880F5.8020906@gmail.com> Message-ID: <56B8DDE4.20707@gmail.com> Do you mean "I don't have a preference" or something else? Richmond. On 8.02.2016 15:29, Antti Ilola wrote: > Nevermind > > 2016-02-08 14:18 GMT+02:00 Trevor DeVore : > >> On Monday, February 8, 2016, RM wrote: >>> >>> Could everybody who cares about this sort of thing indicate whether they >>> prefer the coloured icons >>> or the black ones? >>> >> Black ones. >> >> -- >> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Feb 8 13:27:48 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 8 Feb 2016 20:27:48 +0200 Subject: Black icons in LC 8 DP 14 In-Reply-To: <74954B65-9D50-42A2-96D1-59157C1C1289@livecode.org> References: <74954B65-9D50-42A2-96D1-59157C1C1289@livecode.org> Message-ID: <56B8DE24.5000605@gmail.com> A hint or sarcasm there, methinks . . . Richmond. On 8.02.2016 15:37, [-hh] wrote: > black, lightgray, darkgray, white, red , yellow, blue and "102,255,204" :-) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Feb 8 13:37:48 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 8 Feb 2016 20:37:48 +0200 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B8B013.4000302@fourthworld.com> References: <56B83658.8000602@gmail.com> <56B8B013.4000302@fourthworld.com> Message-ID: <56B8E07C.1090209@gmail.com> On 8.02.2016 17:11, Richard Gaskin wrote: > RM wrote: > > > ????? > > > > Are these to become the standard revMenuBar button icons, or is this > > a blip? > > I'm glad it's happened, and v8 is the right time for this to happen. > > The shift to monochrome icons has been a pervasive trend across the UI > world for some years now, and I rather like how it simplifies the > gestalt of the palette's appearance. > > In fact, I'd been keeping a mental wish list of low-hanging fruit that > can help improve the overall look of the product for some time now, > and moving to monochrome icons in revMenuBar was on my list. 'low-hanging fruit'; the metaphor escapes me, although it doers conjure unfortunate imagery. > > Coupled with the engine enhancements for appearance, v8 is shaping up > well as the version that can attract newcomers better than any version > before it. > > > > If they are to become the standard revMenuBar button icons can there > > be a community vote as to whether they are preferable over the > > previous coloured ones? > > More useful would be to poll people who *aren't* in our community yet, > > We need the number of LC developers to grow a multiple beyond our > current audience, so the opinions of people with long historic > familiarity with LC are in some ways less important than those who've > not yet been introduced to it. > > Democracy is useful for many things, but I'm not sure UI is among > them. In fact, I'd argue squarely against it for several reasons: > > How many in our audience are specialists in UI design? Now why should we worry about specialists in UI design? Surely we have to fuss about people who are not necessarily specialists in UI design, but use LiveCode on a daily basis? Personally I think the new, black icons are super [although part of me wants a black revMenuBar stack with pale grey icons], but although I do seem to end up doing something with LiveCode about 6 days out of 7 [this may tell you something faintly worrying about me], I don't, honestly, depend on it for my livelihood [and give my level of skill that is a good thing]. However an awful lot of folk depend to a lesser or greater extent on it for their livelihood, and it might seem a good idea to take soundings re icon colours rather than plonk the black ones on them without consultation. Almost inevitably, I shall be spending a spot of time working on a "hack stack" so that end-users can change the revMenuBar icons to a variety of possibilities ;-) > > One of the complaints I hear from architects is that because all of > their clients live in homes and know how to use a pencil, they all > fancy themselves fully qualified to do the work of an architect. :) Indeed, I'm sure that's true. But an awful lot of LiveCode programmers have been designing their own GUIs for donkey's years, so they might be rather well qualified to comment. > > Using a computer, or even developing software, by itself is not the > same as spending decades studying UI and UX. We wouldn't put > diagnosis and prescription for coronary conditions to vote, we'd hire > a doctor. IMNSHO the same goes for UI. > > This is one of those areas where meritocracy trumps democracy, and we > see meritocracy as the favored model for participation in a great many > open source projects. In the well run FOSS projects all views are > solicited and welcome, but those ultimately entrusted to see a vision > through are those who've demonstrated accomplishment in the area in > question. > > Besides, the beauty of open source is that anyone who really wants > just about anything can always have exactly what they want. > > For example, I've grown very fond of Ubuntu's Unity desktop > environment, but I don't imagine for a minute that folks using > anything else will have the same preference. > > So rather than require other people to design the LC menu bar to look > how I personally prefer it, I just made a short script that does it on > startup and now I have something much closer to my personal > preferences while everyone else is still free to enjoy anything they > like: > > > If you really want full-color icons it's not hard to make a plugin > that delivers that. Just so :-) Richmond. From richmondmathewson at gmail.com Mon Feb 8 13:41:42 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 8 Feb 2016 20:41:42 +0200 Subject: Black icons in LC 8 DP 14 In-Reply-To: <001601d16284$d836a500$88a3ef00$@net> References: <56B83658.8000602@gmail.com> <56B8B013.4000302@fourthworld.com> <001601d16284$d836a500$88a3ef00$@net> Message-ID: <56B8E166.50500@gmail.com> On 8.02.2016 17:24, Ralph DiMola wrote: > "This is one of those areas where meritocracy trumps democracy" > > In 1982 at Citibank we created a worldwide information product that had > news/weather/stock prices/Commodity prices/FX rates(sound familiar?). We had > many meeting on the UI and democracy determined that the various commands > should use the "F" keys. So we set up a lab in NYC and brought people in off > Park Ave and gave them a series of tasks to complete. It was an immediate > bust because when instructed to use the "F2" key 60% of the users typed the > letter key "F" followed by the number key "2". So we changed the command to > "/2" and 99% of the testers got it correct. If meritocracy always trumped democracy why am I typing this on a QWERTY keyboard and driving a car with a manual gear-shift? Why did VHS trump BetaMax (the demonstrably better video system)? Why do lots and lots of people prefer the WIMP GUI on their computers to the Ubuntu-Windows 10 chunky blocks of colour 'thing'? Okay, okay: I do still use a slide-rule because, although outvoted, I prefer the thing to a calculator. Richmond. From richmondmathewson at gmail.com Mon Feb 8 14:00:13 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 8 Feb 2016 21:00:13 +0200 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B849C6.90806@livecode.com> References: <56B83658.8000602@gmail.com> <56B849C6.90806@livecode.com> Message-ID: <56B8E5BD.60307@gmail.com> An interesting fact about the new, black icons, is not that they are black, but that they are NOT the previous coloured icons rendered in black, but entirely new designs (generally larger), and a lot of them have new names. Richmond. From devin_asay at byu.edu Mon Feb 8 14:01:28 2016 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 8 Feb 2016 19:01:28 +0000 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B849C6.90806@livecode.com> References: <56B83658.8000602@gmail.com> <56B849C6.90806@livecode.com> Message-ID: > On Feb 8, 2016, at 12:54 AM, Peter TB Brett wrote: > > On 08/02/2016 06:31, RM wrote: > >> Are these to become the standard revMenuBar button icons, or is this a >> blip? > > Yes, this is the new LiveCode 8 icon theme! We're really pleased with it. The new icons make it much clearer what each menu bar item actually does, and they work much more nicely at a wide variety of screen sizes and resolutions. Once we have SVG image controls in the LiveCode engine, we're looking forward being able to directly render them from the source SVG files. > >> If they are to become the standard revMenuBar button icons can there be >> a community >> vote as to whether they are preferable over the previous coloured ones? > > The core dev team always takes all feedback from LiveCode subscribers and regular contributors to the open source edition very seriously. Overall I like the new icons on the toolbar, but there is one important way in which I think it is inferior to the old toolbar. In the case of ?modal? selections, the old toolbar uses redundant sensory cues to indicate whether a mode is off or on, while the new toolbar does not. Even if you?ve never heard of the idea of sensory visual cues, you?re familiar with it. For example, in the OS X interface you know which window is the active window because of several visual cues: In the active window: - The ?decoration? buttons (close, maximize, minimize) become colored; - The title bar changes to a darker gray; - The buttons in the title bar change from ?disabled? light gray to dark gray outlines on a white background; - The drop shadow of the active window becomes ?deeper? and darker. The legacy toolbar (pre DP14) in LiveCode used this same principle to good effect for tools that toggle between modes, such as Edit Group, Select Grouped, Lock Messages and Lock Errors. For example, if I switched to Select Grouped Controls mode, the icon in the toolbar changed in these ways: - The icon changed from gray to green; - There was a subtle change in the icon itself (selection handles changed); - The icon label changed from normal to bold style. In the new toolbar, yes there are very clean and clear scalable icons, but when you change modes there is only one visual change?a small circle with slash appears atop the icon. Too me it?s nowhere near as clear that you?ve entered a ?special? mode: ?messages are locked?, ?you are now in select grouped controls mode?, ?you are now editing the group?, etc. RECOMMENDATION: At the very minimum, I would like to see the bolded icon label restored, and ideally another visual cue added to really shout to the user, ?Hey, you?re in a special mode now! Pay attention because things will work a little differently until you turn this mode off.? Trust me, new users really benefit from this kind of redundant visual cueing. I hope the core dev team takes this concern into account. Regards, Devin Devin Asay Office of Digital Humanities Brigham Young University From irog at mac.com Mon Feb 8 14:02:04 2016 From: irog at mac.com (Roger Guay) Date: Mon, 08 Feb 2016 12:02:04 -0700 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B8C5E0.1040107@fourthworld.com> References: <0505260C-58C2-4B8E-8563-1D4AE577609F@mac.com> <56B8C5E0.1040107@fourthworld.com> Message-ID: <5D52B204-624D-456B-ADB3-DF953B6BB952@mac.com> You are always so kind. Thank you. > On Feb 8, 2016, at 9:44 AM, Richard Gaskin wrote: > > > Sure. It's a checkbox in my soon-to-be-released-once-I-finish-compatibility-with-v8 devolution toolkit - here's the script: From ambassador at fourthworld.com Mon Feb 8 14:24:27 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 8 Feb 2016 11:24:27 -0800 Subject: Black icons in LC 8 DP 14 In-Reply-To: <5D52B204-624D-456B-ADB3-DF953B6BB952@mac.com> References: <5D52B204-624D-456B-ADB3-DF953B6BB952@mac.com> Message-ID: <56B8EB6B.1080303@fourthworld.com> Roger Guay wrote: >> On Feb 8, 2016, at 9:44 AM, Richard Gaskin wrote: >> >> Sure. It's a checkbox in my soon-to-be-released-once-I-finish- >> compatibility-with-v8 devolution toolkit - here's the script: > > You are always so kind. Thank you. Thank, Roger. I'm jut tickled someone else finds that attractive - now there are three of us (a fella in the forums liked it too). If you want an entire OS that looks like that, and get great performance and solid security along with it, here's a link for that too: :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From smudge.andy at googlemail.com Mon Feb 8 14:25:49 2016 From: smudge.andy at googlemail.com (AndyP) Date: Mon, 8 Feb 2016 11:25:49 -0800 (PST) Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B8EB6B.1080303@fourthworld.com> References: <56B83658.8000602@gmail.com> <56B8B013.4000302@fourthworld.com> <0505260C-58C2-4B8E-8563-1D4AE577609F@mac.com> <56B8C5E0.1040107@fourthworld.com> <5D52B204-624D-456B-ADB3-DF953B6BB952@mac.com> <56B8EB6B.1080303@fourthworld.com> Message-ID: <1454959549616-4700909.post@n4.nabble.com> Richard, you can make that 4! But i've always been a fan of dark themes. I like the monotone icons but agree with Devin that the active state needs to be more pronounced, maybe a subtle colour overlay on the button? ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Black-icons-in-LC-8-DP-14-tp4700885p4700909.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Mon Feb 8 14:50:12 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 8 Feb 2016 13:50:12 -0600 Subject: Black icons in LC 8 DP 14 In-Reply-To: References: <56B83658.8000602@gmail.com> <56B849C6.90806@livecode.com> Message-ID: <56B8F174.7020108@hyperactivesw.com> On 2/8/2016 1:01 PM, Devin Asay wrote: > RECOMMENDATION: At the very minimum, I would like to see the bolded > icon label restored, and ideally another visual cue added to really > shout to the user, ?Hey, you?re in a special mode now! Pay attention > because things will work a little differently until you turn this > mode off.? Trust me, new users really benefit from this kind of > redundant visual cueing. Well said. Add me to the want list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Feb 8 15:04:28 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 8 Feb 2016 12:04:28 -0800 Subject: Black icons in LC 8 DP 14 In-Reply-To: <1454959549616-4700909.post@n4.nabble.com> References: <56B83658.8000602@gmail.com> <56B8B013.4000302@fourthworld.com> <0505260C-58C2-4B8E-8563-1D4AE577609F@mac.com> <56B8C5E0.1040107@fourthworld.com> <5D52B204-624D-456B-ADB3-DF953B6BB952@mac.com> <56B8EB6B.1080303@fourthworld.com> <1454959549616-4700909.post@n4.nabble.com> Message-ID: <56B8F4CC.5010509@ahsoftware.net> On 02/08/2016 11:25 AM, AndyP wrote: > Richard, you can make that 4! But i've always been a fan of dark themes. > > I like the monotone icons but agree with Devin that the active state needs > to be more pronounced, maybe a subtle colour overlay on the button? I'm not fond of the overly macho black-on-black thing, but I have my preferences set not to show the icons anyway, so I'm in a not-caring mode. But I agree with Devin about the visual cues, and I do think that in general color can add to that effect. Rather the way that having a stack turn green to indicate that it's a drop target grabs your interest. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Mon Feb 8 15:09:59 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 8 Feb 2016 22:09:59 +0200 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B8E07C.1090209@gmail.com> References: <56B83658.8000602@gmail.com> <56B8B013.4000302@fourthworld.com> <56B8E07C.1090209@gmail.com> Message-ID: <56B8F617.4040905@gmail.com> > > Almost inevitably, I shall be spending a spot of time working on a > "hack stack" so that end-users can > change the revMenuBar icons to a variety of possibilities ;-) > http://forums.livecode.com/viewtopic.php?f=9&t=26506&p=137728#p137728 I did warn you! Love, Richmond. From ali.lloyd at livecode.com Mon Feb 8 15:58:02 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 08 Feb 2016 20:58:02 +0000 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B8F617.4040905@gmail.com> References: <56B83658.8000602@gmail.com> <56B8B013.4000302@fourthworld.com> <56B8E07C.1090209@gmail.com> <56B8F617.4040905@gmail.com> Message-ID: The label text of the menu buttons actually does go bold, but it seems to be an unfortunate feature of the system font on OSX (Yosemite onwards) that it either changes imperceptibly or not at all when bolded. I have noted it as something we should deal with. From devin_asay at byu.edu Mon Feb 8 16:13:19 2016 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 8 Feb 2016 21:13:19 +0000 Subject: Black icons in LC 8 DP 14 In-Reply-To: References: <56B83658.8000602@gmail.com> <56B8B013.4000302@fourthworld.com> <56B8E07C.1090209@gmail.com> <56B8F617.4040905@gmail.com> Message-ID: <4CE1715A-480C-4519-988E-11D2353F75E1@byu.edu> > On Feb 8, 2016, at 1:58 PM, Ali Lloyd wrote: > > The label text of the menu buttons actually does go bold, but it seems to > be an unfortunate feature of the system font on OSX (Yosemite onwards) that > it either changes imperceptibly or not at all when bolded. I have noted it > as something we should deal with. Possibly because the system font on OS X doesn?t have a Bold variant? Devin Devin Asay Office of Digital Humanities Brigham Young University From devin_asay at byu.edu Mon Feb 8 16:15:19 2016 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 8 Feb 2016 21:15:19 +0000 Subject: Script only stacks first appeared...when? Message-ID: Can anyone tell me the first version of LC where script-only stacks appeared? Was it one of the v. 8 DPs? Devin Devin Asay Office of Digital Humanities Brigham Young University From ambassador at fourthworld.com Mon Feb 8 16:26:53 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 8 Feb 2016 13:26:53 -0800 Subject: Script only stacks first appeared...when? In-Reply-To: References: Message-ID: <56B9081D.4050004@fourthworld.com> Devin Asay wrote: > Can anyone tell me the first version of LC where script-only stacks > appeared? Was it one of the v. 8 DPs? It was sometime in the v6.7 series, maybe 6.7.4? -- 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 devin_asay at byu.edu Mon Feb 8 16:36:40 2016 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 8 Feb 2016 21:36:40 +0000 Subject: Script only stacks first appeared...when? In-Reply-To: <56B9081D.4050004@fourthworld.com> References: <56B9081D.4050004@fourthworld.com> Message-ID: <3BFB3A2D-9AB1-42E8-B881-8487F2AB5D7F@byu.edu> > On Feb 8, 2016, at 2:26 PM, Richard Gaskin wrote: > > Devin Asay wrote: > > Can anyone tell me the first version of LC where script-only stacks > > appeared? Was it one of the v. 8 DPs? > > It was sometime in the v6.7 series, maybe 6.7.4? That?s my recollection as well, but I believe it only appeared as an option in the File > New Stack menu in v. 8. Before that you had to create it by script with create script only stack ? Or simply create a plain text document that begins with 'stack ?foo? ?. That?s what I think I remember, at any rate. Devin Devin Asay Office of Digital Humanities Brigham Young University From pete at lcsql.com Mon Feb 8 16:59:55 2016 From: pete at lcsql.com (Peter Haworth) Date: Mon, 08 Feb 2016 21:59:55 +0000 Subject: Black icons in LC 8 DP 14 In-Reply-To: <4CE1715A-480C-4519-988E-11D2353F75E1@byu.edu> References: <56B83658.8000602@gmail.com> <56B8B013.4000302@fourthworld.com> <56B8E07C.1090209@gmail.com> <56B8F617.4040905@gmail.com> <4CE1715A-480C-4519-988E-11D2353F75E1@byu.edu> Message-ID: I'm seeing what I think is a related issue in the Script Editor. Not sure what font was used in the SE tabs prior to 8 DP14 but it was noticeably bold on the active tab. In DP14, the bold is hardly noticeable so I'm guessing it's using the system font and this is the same issue as with the icons. On Mon, Feb 8, 2016 at 1:14 PM Devin Asay wrote: > > > On Feb 8, 2016, at 1:58 PM, Ali Lloyd wrote: > > > > The label text of the menu buttons actually does go bold, but it seems to > > be an unfortunate feature of the system font on OSX (Yosemite onwards) > that > > it either changes imperceptibly or not at all when bolded. I have noted > it > > as something we should deal with. > > Possibly because the system font on OS X doesn?t have a Bold variant? > > Devin > > Devin Asay > 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 ali.lloyd at livecode.com Mon Feb 8 17:10:09 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 08 Feb 2016 22:10:09 +0000 Subject: Script only stacks first appeared...when? In-Reply-To: References: Message-ID: It was 6.7 GM, I believe. On Mon, Feb 8, 2016 at 9:15 PM Devin Asay wrote: > Can anyone tell me the first version of LC where script-only stacks > appeared? Was it one of the v. 8 DPs? > > Devin > > > Devin Asay > 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 jacque at hyperactivesw.com Mon Feb 8 17:12:08 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 8 Feb 2016 16:12:08 -0600 Subject: Keyboard shortcuts in LC 8 Message-ID: <56B912B8.4000708@hyperactivesw.com> What happened to the keyboard accessibility? No contextual menus, no way to option-cmd-click an object to open the script. No keyboard shortcuts to open card or stack scripts. I rely on those constantly. I am trying LC 8 again after an initial trial several versions ago where it wasn't useable. I'm not having much luck this time around either. Fifteen years of muscle memory now fails. How do you get the app browser to open again? I thought they put that back. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ali.lloyd at livecode.com Mon Feb 8 17:15:03 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 08 Feb 2016 22:15:03 +0000 Subject: Script only stacks first appeared...when? In-Reply-To: References: Message-ID: Or possibly 6.6.4. On Mon, Feb 8, 2016 at 10:10 PM Ali Lloyd wrote: > It was 6.7 GM, I believe. > > > On Mon, Feb 8, 2016 at 9:15 PM Devin Asay wrote: > >> Can anyone tell me the first version of LC where script-only stacks >> appeared? Was it one of the v. 8 DPs? >> >> Devin >> >> >> Devin Asay >> 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 mwieder at ahsoftware.net Mon Feb 8 17:27:26 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 8 Feb 2016 14:27:26 -0800 Subject: Keyboard shortcuts in LC 8 In-Reply-To: <56B912B8.4000708@hyperactivesw.com> References: <56B912B8.4000708@hyperactivesw.com> Message-ID: <56B9164E.1090801@ahsoftware.net> On 02/08/2016 02:12 PM, J. Landman Gay wrote: > What happened to the keyboard accessibility? No contextual menus, no way > to option-cmd-click an object to open the script. No keyboard shortcuts > to open card or stack scripts. I rely on those constantly. Yeah, that one caught me too. Delete your preference file to get the contextual menus and stuff back again. The upgrade path from earlier versions really needs more thought before this is ready for prime time. > How do you get the app browser to open again? I thought they put that back. It's been demoted to the plugins menu now. -- Mark Wieder ahsoftware at gmail.com From ali.lloyd at livecode.com Mon Feb 8 17:28:54 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 08 Feb 2016 22:28:54 +0000 Subject: Script only stacks first appeared...when? In-Reply-To: References: Message-ID: Oops sorry, I seem to be delayed! Yes, it only appeared as a menu item in 8.0 DP 6 https://github.com/livecode/livecode-ide/commit/5cf30024 On Mon, Feb 8, 2016 at 10:15 PM Ali Lloyd wrote: > Or possibly 6.6.4. > > On Mon, Feb 8, 2016 at 10:10 PM Ali Lloyd wrote: > >> It was 6.7 GM, I believe. >> >> >> On Mon, Feb 8, 2016 at 9:15 PM Devin Asay wrote: >> >>> Can anyone tell me the first version of LC where script-only stacks >>> appeared? Was it one of the v. 8 DPs? >>> >>> Devin >>> >>> >>> Devin Asay >>> 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 jacque at hyperactivesw.com Mon Feb 8 17:37:27 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 8 Feb 2016 16:37:27 -0600 Subject: Keyboard shortcuts in LC 8 In-Reply-To: <56B9164E.1090801@ahsoftware.net> References: <56B912B8.4000708@hyperactivesw.com> <56B9164E.1090801@ahsoftware.net> Message-ID: <56B918A7.7010908@hyperactivesw.com> On 2/8/2016 4:27 PM, Mark Wieder wrote: > On 02/08/2016 02:12 PM, J. Landman Gay wrote: >> What happened to the keyboard accessibility? No contextual menus, no way >> to option-cmd-click an object to open the script. No keyboard shortcuts >> to open card or stack scripts. I rely on those constantly. > > Yeah, that one caught me too. Delete your preference file to get the > contextual menus and stuff back again. The upgrade path from earlier > versions really needs more thought before this is ready for prime time. Didn't work. > >> How do you get the app browser to open again? I thought they put that >> back. > > It's been demoted to the plugins menu now. > I don't see it in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ali.lloyd at livecode.com Mon Feb 8 17:38:01 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 08 Feb 2016 22:38:01 +0000 Subject: Keyboard shortcuts in LC 8 In-Reply-To: <56B912B8.4000708@hyperactivesw.com> References: <56B912B8.4000708@hyperactivesw.com> Message-ID: None of these have been changed in LC 8 as far as I know - Cmd + E and Alt + Cmd + click reliably open the script editor for the selected and clicked object respectively for me. I presume you are on OSX? What keyboard shortcuts open the card / stack script? How are you trying to open a contextual menu? On Mon, Feb 8, 2016 at 10:12 PM J. Landman Gay wrote: > What happened to the keyboard accessibility? No contextual menus, no way > to option-cmd-click an object to open the script. No keyboard shortcuts > to open card or stack scripts. I rely on those constantly. > > I am trying LC 8 again after an initial trial several versions ago where > it wasn't useable. I'm not having much luck this time around either. > Fifteen years of muscle memory now fails. > > How do you get the app browser to open again? I thought they put that back. > > -- > 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 ali.lloyd at livecode.com Mon Feb 8 17:38:24 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 08 Feb 2016 22:38:24 +0000 Subject: Keyboard shortcuts in LC 8 In-Reply-To: References: <56B912B8.4000708@hyperactivesw.com> Message-ID: The app browser is in the plugins menu. On Mon, Feb 8, 2016 at 10:38 PM Ali Lloyd wrote: > None of these have been changed in LC 8 as far as I know - Cmd + E and > Alt + Cmd + click reliably open the script editor for the selected and > clicked object respectively for me. I presume you are on OSX? > > What keyboard shortcuts open the card / stack script? How are you trying > to open a contextual menu? > > > > On Mon, Feb 8, 2016 at 10:12 PM J. Landman Gay > wrote: > >> What happened to the keyboard accessibility? No contextual menus, no way >> to option-cmd-click an object to open the script. No keyboard shortcuts >> to open card or stack scripts. I rely on those constantly. >> >> I am trying LC 8 again after an initial trial several versions ago where >> it wasn't useable. I'm not having much luck this time around either. >> Fifteen years of muscle memory now fails. >> >> How do you get the app browser to open again? I thought they put that >> back. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From jacque at hyperactivesw.com Mon Feb 8 17:45:18 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 8 Feb 2016 16:45:18 -0600 Subject: Keyboard shortcuts in LC 8 In-Reply-To: <56B918A7.7010908@hyperactivesw.com> References: <56B912B8.4000708@hyperactivesw.com> <56B9164E.1090801@ahsoftware.net> <56B918A7.7010908@hyperactivesw.com> Message-ID: <56B91A7E.8020106@hyperactivesw.com> On 2/8/2016 4:27 PM, Mark Wieder wrote: >> Yeah, that one caught me too. Delete your preference file to get the >> contextual menus and stuff back again. The upgrade path from earlier >> versions really needs more thought before this is ready for prime time. > > Didn't work. > >> >>> How do you get the app browser to open again? I thought they put that >>> back. >> >> It's been demoted to the plugins menu now. >> > > I don't see it in there. > Never mind, it did work. There was an incompatibility in one of my plugins that aborted the startup sequence. Once I fixed that, things went back to normal. I found the app browser too. Thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sc at sahores-conseil.com Mon Feb 8 19:04:43 2016 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 9 Feb 2016 01:04:43 +0100 Subject: some AB testing ... In-Reply-To: <33EABD39-3020-43C6-BCA9-6A13E7BEE868@gmail.com> References: <33EABD39-3020-43C6-BCA9-6A13E7BEE868@gmail.com> Message-ID: <5F0593DB-CEB0-413F-8BC8-80D1FE8C3031@sahores-conseil.com> Hi Livecoders, Story made short : Appart the amazing Lua platform (preferably set as an Openresty one), well configured LC application?s servers still outperforms anything available around (Websphere, Tomcat, PHP5/7, Perl5, NodeJS, Go, Python, RoR,?). In-between, LC application?s server is 60 times faster than the stock?s Livecode CGI Server. Using Nginx as the load balancer of the same LC app running on clustered front-end servers can make a very reliable scalable configuration : 1500 connections for each server added to the cluster. In taking care to scale the ACID-SQL backend cluster as attendee, the platform can handle very high-end solutions at a fraction of the cost of more known main stream proposals. What the story don?t tell is that the still mono-theaded LC engine don?t crashes nor slowdown against heavy loads where Java powered ones does (mostly because Java?s heap space shared memory unreliability and the cache misconfiguration surprises) and PHP too, because too many unreliable frameworks used in front of it (Symphony 2, etc?). ... upstream proxy_cluster { # Test protocol : ab -c 100 -n 5000 http://192.168.1.15/ #(ApacheBench 2.3 Revision 1528965) # LC CGI Server = Livecode Server (community and commercial editions) MacOSX version 7.1.1 # LC App Server = Livecode commercial standalone MacOSX 6.6.5 (note : 7.1.1 35% slower) # PHP sockets proxy = TCP sockets client proxying REST GET/POST requests to LC App Server # eeePCU = Asus X200CA 1.5 Ghz Ubuntu 14.04 + multi web configs on ports 80 to 84 (see below) # MBPi24 = MacBook Pro i5 2.4 Ghz running Apache 2.4.16 + Apache 2.0 Handler + PHP 5.6.17 # MBPi25 = MacBook Pro i5 2.5 Ghz running Apache 2.4.16 + Apache 2.0 Handler + PHP 5.6.17 #server localhost:80; # eeePCU : Nginx + FCGIWrap + LC CGI Server --> 25 conn/sec #server localhost:81; # eeePCU : OpenLiteSpeed CGI + LC CGI Server --> 25 conn/sec #server localhost:82; # eeePCU : Apache 2.4.7 CGI + LC CGI Server --> 25 conn/sec #server 192.168.1.21:80; # MBPi24 : Apache 2.4.16 CGI + LC CGI Server --> 25 conn/sec #server 192.168.1.25:80; # MBPi25 : Apache 2.4.16 CGI + LC CGI Server --> 25 conn/sec #server localhost:80; # eeePCU : Nginx + FCGIWrap + Perl 5.18.2 # + Perl sockets proxy --> 192.168.1.25:9578 # --> LC 6.6.5 APP Server (MBPi525) --> 40 conn/sec #server 192.168.1.21:80; # MBPi24 : PHP sockets proxy + LC APP Server --> 125 conn/sec #server 192.168.1.25:80; # MBPi25 : PHP sockets proxy + LC APP Server --> 125 conn/sec #server 192.168.1.25:80; # MBPi25 : FastCGI EAppClass + LC APP Server --> 125 conn/sec #server localhost:84; # eeePCU : Nginx + FMP/FastCGI + PHP 5.5.9 --> 700 conn/sec #server localhost:82; # eeePCU : Apache 2.4.7 + A 2.0 + PHP 5.5.9 --> 800 conn/sec #server localhost:81; # eeePCU : OpenLiteSpeed + V6.8 + PHP 5.6.14 --> 1000 conn/sec #server localhost:80; # eeePCU : Nginx + FMP/FastCGI + PHP 5.5.9 # + PHP sockets proxy --> 192.168.1.25:9578 # --> LC 6.6.5 APP Server (MBPi525) --> 1500 conn/sec server localhost:81; # eeePCU : OpenLiteSpeed + V6.8 + PHP 5.6.14 # + PHP sockets proxy --> 192.168.1.21:9578 # --> LC 6.6.5 APP Server (MBPi524) --> 1500 conn/sec server localhost:82; # eeePCU : Apache 2.4.7 + A 2.0 + PHP 5.5.9 # + PHP sockets proxy --> 192.168.1.25:9578 # --> LC 6.6.5 APP Server (MBPi525) --> 1500 conn/sec #server localhost:82; # eeePCU : Apache 2.4.7 + mod_lua --> 2500 conn/sec #server localhost:80; # eeePCU : OpenResty 1.9.7.2 + LUAJit 5.1.a --> 8000 conn/sec } ... Cheers, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From ambassador at fourthworld.com Mon Feb 8 19:27:48 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 8 Feb 2016 16:27:48 -0800 Subject: some AB testing ... In-Reply-To: <5F0593DB-CEB0-413F-8BC8-80D1FE8C3031@sahores-conseil.com> References: <5F0593DB-CEB0-413F-8BC8-80D1FE8C3031@sahores-conseil.com> Message-ID: <56B93284.1030900@fourthworld.com> Pierre Sahores wrote: > Story made short : Appart the amazing Lua platform (preferably set as > an Openresty one), well configured LC application?s servers still > outperforms anything available around (Websphere, Tomcat, PHP5/7, > Perl5, NodeJS, Go, Python, RoR,?). In-between, LC application?s > server is 60 times faster than the stock?s Livecode CGI Server. > Using Nginx as the load balancer of the same LC app running on > clustered front-end servers can make a very reliable scalable > configuration : 1500 connections for each server added to the > cluster. In taking care to scale the ACID-SQL backend cluster as > attendee, the platform can handle very high-end solutions at a > fraction of the cost of more known main stream proposals. Can we have the story made long? :) What do you mean by "LC application?s servers"? A socket server? Can you share some code? Exciting stuff - eager to learn more.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Feb 8 20:57:43 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 8 Feb 2016 17:57:43 -0800 Subject: One Rect For All specificaiton In-Reply-To: <56A79E07.3040606@fourthworld.com> References: <56A79E07.3040606@fourthworld.com> Message-ID: <56B94797.2000401@fourthworld.com> Last month I asked: > Colin Holgate wrote: > > > Being letterboxed isn?t a quality issue, it isn?t even bad. It?s just > > that Apple would reject the app. > > On what grounds? If there was an answer I missed it, but it seems Apple prefers that users get the full benefit of their screen size. A fella in the forums has had an app rejected from that: Personally, it seems an understandable position from a phone maker: phones are small enough as it is, why use less of the screen than is there? It's not a platform thing, it's a quality thing. If you want your user to feel good about running your app on the phone they choose, why not take a few minutes to resize the screen elements so that can happen? I can appreciate the development time savings with letterboxing, but I'm with Apple on this, it just isn't an optimal experience for the user, on any platform. Maybe one of the advocates of letterboxing here can drop into that forum thread to help Joel out. I look forward to seeing what gets posted there. Hopefully I'll learn how letterboxing can be useful. -- 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 colinholgate at gmail.com Mon Feb 8 21:09:16 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 8 Feb 2016 21:09:16 -0500 Subject: One Rect For All specificaiton In-Reply-To: <56B94797.2000401@fourthworld.com> References: <56A79E07.3040606@fourthworld.com> <56B94797.2000401@fourthworld.com> Message-ID: <8FE708FB-9BB7-4D35-8264-FB7524260C4A@gmail.com> My login to the forum seems not to be working, otherwise I would post a reply. From the information, it seems like it?s a Portrait app. I think Apple?s response is incorrect, and that trying to appeal to them might be successful. There?s a difference between what I was talking about, where you support iPhone 4 but not iPhone 5, that?s not allowed any more, and the report that?s in the forum. If you have an iPhone-only app, and someone uses it on an iPad, it?s bound to have borders if you have done exactly iPhone sizes. > On Feb 8, 2016, at 8:57 PM, Richard Gaskin wrote: > > Last month I asked: > >> Colin Holgate wrote: >> >> > Being letterboxed isn?t a quality issue, it isn?t even bad. It?s just >> > that Apple would reject the app. >> >> On what grounds? > > If there was an answer I missed it, but it seems Apple prefers that users get the full benefit of their screen size. > > A fella in the forums has had an app rejected from that: > > > Personally, it seems an understandable position from a phone maker: phones are small enough as it is, why use less of the screen than is there? > > It's not a platform thing, it's a quality thing. If you want your user to feel good about running your app on the phone they choose, why not take a few minutes to resize the screen elements so that can happen? > > I can appreciate the development time savings with letterboxing, but I'm with Apple on this, it just isn't an optimal experience for the user, on any platform. > > Maybe one of the advocates of letterboxing here can drop into that forum thread to help Joel out. > > I look forward to seeing what gets posted there. Hopefully I'll learn how letterboxing can be useful. > > -- > 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 pete at lcsql.com Mon Feb 8 21:17:38 2016 From: pete at lcsql.com (Peter Haworth) Date: Tue, 09 Feb 2016 02:17:38 +0000 Subject: DP14 Tooltip Message-ID: The background color tooltips is white in DP14, used to a yellow color. Is this another result of theming? From lan.kc.macmail at gmail.com Mon Feb 8 22:08:02 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 9 Feb 2016 11:08:02 +0800 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B8B013.4000302@fourthworld.com> References: <56B83658.8000602@gmail.com> <56B8B013.4000302@fourthworld.com> Message-ID: On Mon, Feb 8, 2016 at 11:11 PM, Richard Gaskin wrote: > > Democracy is useful for many things, but I'm not sure UI is among them. > In fact, I'd argue squarely against it for several reasons: > > How many in our audience are specialists in UI design? > > IMO this has nothing to do with design and is simply mere fashion. Design determines that a pencil skirt looks great on a secretary but is completely inappropriate on Venus Williams if she wishes to win Wimbledon. Fashion 'tells us' that this year black, red or paisley is in. The use of icons has long been recognised for their design advantage, but what form they take I feel is pure fashion. I'm personally rather saddened by the fact that for the last many years at each great Apple gathering there is much ooohhhing and aaahhhing as the new beautiful icons sets are rolled out. We've had photo realistic, comic, pastel and grey scale and some day we might have paisley but at the end of the day it's still just a pencil skirt that was floral last year and is black this year. It's also why 99.9% of the population agree that icons are good, they save time, they cross international boundaries it's because design has determined they are better. But fashion is not universally accepted, for some paisley is never going to cut it and is why some like the current look, some don't, and some don't care. Of course your comments re future LC users are completely valid and it is necessary for LC to change it's 'look' to keep up with the latest fashions. Apple does it, Windows does it, Samsung does it, JC Penny does it, H&M does it, they have to to survive. It explains Richmond's comments about VHS vs Beta; a better design doesn't always translate to better sales. For the LC Team the 'designers' need to give us the best design possible for creating multi-platform apps (clearly being done with the move to LC 8) whilst the 'trend and fashion' people need to have a good handle on what's in this year and ensure LC looks the part to attract new customers. These days, it's not just women who are fashion victims. From blueback09 at gmail.com Mon Feb 8 22:46:44 2016 From: blueback09 at gmail.com (Matt Maier) Date: Mon, 8 Feb 2016 19:46:44 -0800 Subject: some AB testing ... In-Reply-To: <5F0593DB-CEB0-413F-8BC8-80D1FE8C3031@sahores-conseil.com> References: <33EABD39-3020-43C6-BCA9-6A13E7BEE868@gmail.com> <5F0593DB-CEB0-413F-8BC8-80D1FE8C3031@sahores-conseil.com> Message-ID: Is that the maximum theoretical value? The actual connections per second would depend on the size of the data and how much processing it needs, right? Also, what is Livecode Application Server? On Mon, Feb 8, 2016 at 4:04 PM, Pierre Sahores wrote: > Hi Livecoders, > > Story made short : Appart the amazing Lua platform (preferably set as an > Openresty one), well configured LC application?s servers still outperforms > anything available around (Websphere, Tomcat, PHP5/7, Perl5, NodeJS, Go, > Python, RoR,?). In-between, LC application?s server is 60 times faster than > the stock?s Livecode CGI Server. Using Nginx as the load balancer of the > same LC app running on clustered front-end servers can make a very reliable > scalable configuration : 1500 connections for each server added to the > cluster. In taking care to scale the ACID-SQL backend cluster as attendee, > the platform can handle very high-end solutions at a fraction of the cost > of more known main stream proposals. > > What the story don?t tell is that the still mono-theaded LC engine don?t > crashes nor slowdown against heavy loads where Java powered ones does > (mostly because Java?s heap space shared memory unreliability and the cache > misconfiguration surprises) and PHP too, because too many unreliable > frameworks used in front of it (Symphony 2, etc?). > > ... > > upstream proxy_cluster { > > # Test protocol : ab -c 100 -n 5000 http://192.168.1.15/ > #(ApacheBench 2.3 Revision 1528965) > # LC CGI Server = Livecode Server (community and > commercial editions) MacOSX version 7.1.1 > # LC App Server = Livecode commercial standalone MacOSX > 6.6.5 (note : 7.1.1 35% slower) > # PHP sockets proxy = TCP sockets client proxying REST > GET/POST requests to LC App Server > # eeePCU = Asus X200CA 1.5 Ghz Ubuntu 14.04 + multi web > configs on ports 80 to 84 (see below) > # MBPi24 = MacBook Pro i5 2.4 Ghz running Apache 2.4.16 + > Apache 2.0 Handler + PHP 5.6.17 > # MBPi25 = MacBook Pro i5 2.5 Ghz running Apache 2.4.16 + > Apache 2.0 Handler + PHP 5.6.17 > > #server localhost:80; # eeePCU : Nginx + > FCGIWrap + LC CGI Server --> 25 conn/sec > #server localhost:81; # eeePCU : OpenLiteSpeed > CGI + LC CGI Server --> 25 conn/sec > #server localhost:82; # eeePCU : Apache 2.4.7 > CGI + LC CGI Server --> 25 conn/sec > > #server 192.168.1.21:80; # MBPi24 : Apache 2.4.16 > CGI + LC CGI Server --> 25 conn/sec > #server 192.168.1.25:80; # MBPi25 : Apache 2.4.16 > CGI + LC CGI Server --> 25 conn/sec > > #server localhost:80; # eeePCU : Nginx + > FCGIWrap + Perl 5.18.2 > # + Perl > sockets proxy --> 192.168.1.25:9578 > # --> LC > 6.6.5 APP Server (MBPi525) --> 40 conn/sec > > #server 192.168.1.21:80; # MBPi24 : PHP sockets > proxy + LC APP Server --> 125 conn/sec > #server 192.168.1.25:80; # MBPi25 : PHP sockets > proxy + LC APP Server --> 125 conn/sec > #server 192.168.1.25:80; # MBPi25 : FastCGI > EAppClass + LC APP Server --> 125 conn/sec > > #server localhost:84; # eeePCU : Nginx + > FMP/FastCGI + PHP 5.5.9 --> 700 conn/sec > #server localhost:82; # eeePCU : Apache 2.4.7 + > A 2.0 + PHP 5.5.9 --> 800 conn/sec > #server localhost:81; # eeePCU : OpenLiteSpeed + > V6.8 + PHP 5.6.14 --> 1000 conn/sec > > #server localhost:80; # eeePCU : Nginx + > FMP/FastCGI + PHP 5.5.9 > # + PHP > sockets proxy --> 192.168.1.25:9578 > # --> LC > 6.6.5 APP Server (MBPi525) --> 1500 conn/sec > > server localhost:81; # eeePCU : > OpenLiteSpeed + V6.8 + PHP 5.6.14 > # + PHP > sockets proxy --> 192.168.1.21:9578 > # --> LC > 6.6.5 APP Server (MBPi524) --> 1500 conn/sec > > server localhost:82; # eeePCU : Apache > 2.4.7 + A 2.0 + PHP 5.5.9 > # + PHP > sockets proxy --> 192.168.1.25:9578 > # --> LC > 6.6.5 APP Server (MBPi525) --> 1500 conn/sec > > #server localhost:82; # eeePCU : Apache 2.4.7 + > mod_lua --> 2500 conn/sec > #server localhost:80; # eeePCU : OpenResty > 1.9.7.2 + LUAJit 5.1.a --> 8000 conn/sec > > } > > ... > > Cheers, > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.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 sc at sahores-conseil.com Tue Feb 9 01:41:24 2016 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 9 Feb 2016 07:41:24 +0100 Subject: some AB testing ... In-Reply-To: <56B93284.1030900@fourthworld.com> References: <5F0593DB-CEB0-413F-8BC8-80D1FE8C3031@sahores-conseil.com> <56B93284.1030900@fourthworld.com> Message-ID: > Le 9 f?vr. 2016 ? 01:27, Richard Gaskin a ?crit : > > Pierre Sahores wrote: > > > Story made short : Appart the amazing Lua platform (preferably set as > > an Openresty one), well configured LC application?s servers still > > outperforms anything available around (Websphere, Tomcat, PHP5/7, > > Perl5, NodeJS, Go, Python, RoR,?). In-between, LC application?s > > server is 60 times faster than the stock?s Livecode CGI Server. > > Using Nginx as the load balancer of the same LC app running on > > clustered front-end servers can make a very reliable scalable > > configuration : 1500 connections for each server added to the > > cluster. In taking care to scale the ACID-SQL backend cluster as > > attendee, the platform can handle very high-end solutions at a > > fraction of the cost of more known main stream proposals. > > Can we have the story made long? :) Only related to the test config set-up using voluntarily a very minimalistic cluster of 3 low-powered boxes. Nginx does perfectly the load-balancer job (very low top average) but OpenLiteSpeed should have being a good proposal too in the same r?le (untested), where lighttpd or apache2 seemed less productive, at least, at first glance. > > What do you mean by "LC application?s servers"? A socket server? Precisely. > Can you share some code? Not at this time. The final release will probably not rely on a PHP sockets proxy script anymore but on a direct FastCGI set-up with the advantage to provide a way to relaunch automatically the app?s sever instances in case of need; an ExternalAppClass directive will replace the PHP sockets proxy script in the new set-up. Each app node will rely on its own localhost web server instead of on the currents ones, for yet, running on the box witch hosts the Nginx proxy server. The ACID-SQL back-end cluster will, in a first time, runs only a PostgreSQL 9 instance and, if needed, (but i?m reserved on this point, as long as PostgreSQL should be able to handle 10 of thousands of connections at once without stress), a master instance dedicated to write operations and two slave nodes dedicated to read operations and master writes replications (one box peer PostgreSQL instance). To avoid unwanted side-effects, this configuration will not rely on UDP sockets ? ? la Oracle VLAN?s ? at all to synchronize data flows in-between db nodes. Cheers, Pierre > > Exciting stuff - eager to learn more.... > > -- > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sc at sahores-conseil.com Tue Feb 9 02:08:57 2016 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 9 Feb 2016 08:08:57 +0100 Subject: some AB testing ... In-Reply-To: References: <33EABD39-3020-43C6-BCA9-6A13E7BEE868@gmail.com> <5F0593DB-CEB0-413F-8BC8-80D1FE8C3031@sahores-conseil.com> Message-ID: <8D1720F7-1398-4775-96AA-CC6BB6123E0B@sahores-conseil.com> Yes, as long as the tests are done against simple ? Hello World ? alike queries. In real world, with SQL well urbanized db, we have to expect that all performance (Openresty ones included) will slow down from 35% (very cleanly modeled applications + sql back-ends) to the infinite (sad ones, alike those using, in the PHP world, Symphony2 or unreliable db models designs). About size and needed processing on the datas, the application server will stay very responsive and scalable along loads as long as the SQL back-end will be designed to get the best from its own (one request peer view including complex joints each time it?s possible). > Le 9 f?vr. 2016 ? 04:46, Matt Maier a ?crit : > > Is that the maximum theoretical value? The actual connections per second > would depend on the size of the data and how much processing it needs, > right? > > Also, what is Livecode Application Server? Mainly a Livecode standalone (+ accessories : templates engines, JS frameworks, etc?) receiving requests on a TCP socket entry point, handling the preparation of the response in querying/writing the needed datas from/to the SQL back-end before sending it back to the client via the socket. > > On Mon, Feb 8, 2016 at 4:04 PM, Pierre Sahores > wrote: > >> Hi Livecoders, >> >> Story made short : Appart the amazing Lua platform (preferably set as an >> Openresty one), well configured LC application?s servers still outperforms >> anything available around (Websphere, Tomcat, PHP5/7, Perl5, NodeJS, Go, >> Python, RoR,?). In-between, LC application?s server is 60 times faster than >> the stock?s Livecode CGI Server. Using Nginx as the load balancer of the >> same LC app running on clustered front-end servers can make a very reliable >> scalable configuration : 1500 connections for each server added to the >> cluster. In taking care to scale the ACID-SQL backend cluster as attendee, >> the platform can handle very high-end solutions at a fraction of the cost >> of more known main stream proposals. >> >> What the story don?t tell is that the still mono-theaded LC engine don?t >> crashes nor slowdown against heavy loads where Java powered ones does >> (mostly because Java?s heap space shared memory unreliability and the cache >> misconfiguration surprises) and PHP too, because too many unreliable >> frameworks used in front of it (Symphony 2, etc?). >> >> ... >> >> upstream proxy_cluster { >> >> # Test protocol : ab -c 100 -n 5000 http://192.168.1.15/ >> #(ApacheBench 2.3 Revision 1528965) >> # LC CGI Server = Livecode Server (community and >> commercial editions) MacOSX version 7.1.1 >> # LC App Server = Livecode commercial standalone MacOSX >> 6.6.5 (note : 7.1.1 35% slower) >> # PHP sockets proxy = TCP sockets client proxying REST >> GET/POST requests to LC App Server >> # eeePCU = Asus X200CA 1.5 Ghz Ubuntu 14.04 + multi web >> configs on ports 80 to 84 (see below) >> # MBPi24 = MacBook Pro i5 2.4 Ghz running Apache 2.4.16 + >> Apache 2.0 Handler + PHP 5.6.17 >> # MBPi25 = MacBook Pro i5 2.5 Ghz running Apache 2.4.16 + >> Apache 2.0 Handler + PHP 5.6.17 >> >> #server localhost:80; # eeePCU : Nginx + >> FCGIWrap + LC CGI Server --> 25 conn/sec >> #server localhost:81; # eeePCU : OpenLiteSpeed >> CGI + LC CGI Server --> 25 conn/sec >> #server localhost:82; # eeePCU : Apache 2.4.7 >> CGI + LC CGI Server --> 25 conn/sec >> >> #server 192.168.1.21:80; # MBPi24 : Apache 2.4.16 >> CGI + LC CGI Server --> 25 conn/sec >> #server 192.168.1.25:80; # MBPi25 : Apache 2.4.16 >> CGI + LC CGI Server --> 25 conn/sec >> >> #server localhost:80; # eeePCU : Nginx + >> FCGIWrap + Perl 5.18.2 >> # + Perl >> sockets proxy --> 192.168.1.25:9578 >> # --> LC >> 6.6.5 APP Server (MBPi525) --> 40 conn/sec >> >> #server 192.168.1.21:80; # MBPi24 : PHP sockets >> proxy + LC APP Server --> 125 conn/sec >> #server 192.168.1.25:80; # MBPi25 : PHP sockets >> proxy + LC APP Server --> 125 conn/sec >> #server 192.168.1.25:80; # MBPi25 : FastCGI >> EAppClass + LC APP Server --> 125 conn/sec >> >> #server localhost:84; # eeePCU : Nginx + >> FMP/FastCGI + PHP 5.5.9 --> 700 conn/sec >> #server localhost:82; # eeePCU : Apache 2.4.7 + >> A 2.0 + PHP 5.5.9 --> 800 conn/sec >> #server localhost:81; # eeePCU : OpenLiteSpeed + >> V6.8 + PHP 5.6.14 --> 1000 conn/sec >> >> #server localhost:80; # eeePCU : Nginx + >> FMP/FastCGI + PHP 5.5.9 >> # + PHP >> sockets proxy --> 192.168.1.25:9578 >> # --> LC >> 6.6.5 APP Server (MBPi525) --> 1500 conn/sec >> >> server localhost:81; # eeePCU : >> OpenLiteSpeed + V6.8 + PHP 5.6.14 >> # + PHP >> sockets proxy --> 192.168.1.21:9578 >> # --> LC >> 6.6.5 APP Server (MBPi524) --> 1500 conn/sec >> >> server localhost:82; # eeePCU : Apache >> 2.4.7 + A 2.0 + PHP 5.5.9 >> # + PHP >> sockets proxy --> 192.168.1.25:9578 >> # --> LC >> 6.6.5 APP Server (MBPi525) --> 1500 conn/sec >> >> #server localhost:82; # eeePCU : Apache 2.4.7 + >> mod_lua --> 2500 conn/sec >> #server localhost:80; # eeePCU : OpenResty >> 1.9.7.2 + LUAJit 5.1.a --> 8000 conn/sec >> >> } >> >> ... >> >> Cheers, >> >> -- >> Pierre Sahores >> mobile : 06 03 95 77 70 >> www.sahores-conseil.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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From richmondmathewson at gmail.com Tue Feb 9 06:06:18 2016 From: richmondmathewson at gmail.com (RM) Date: Tue, 9 Feb 2016 13:06:18 +0200 Subject: Free Game GUI stuff Message-ID: <56B9C82A.50001@gmail.com> Well, I'm impressed even if no one else is: https://creativemarket.com/free-goods?product_id=498652&utm_source=cm-free-goods-newsletter&utm_medium=email&utm_campaign=fg-newsletter-02-08-16 Richmond. From pmbrig at gmail.com Tue Feb 9 09:33:01 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 9 Feb 2016 09:33:01 -0500 Subject: Release 8.0 DP 14 In-Reply-To: References: <56B406D3.6040806@fourthworld.com> <56B46096.5070806@gmail.com> Message-ID: <267131F2-A4DF-426E-B97D-ABBFB5AE7216@gmail.com> On Feb 6, 2016, at 7:14 AM, Roland Huettmann wrote: > My rule of thumb: Make a good estimation of how much time you need for your > project. Think about it deeply. Use all kinds of techniques to come to a > viable conclusion. Be 100% sure that you will do it during that period of > time. And then multiply such assessment with the factor of 4. The first 90% of the task takes 90% of the time, and the last 10% takes the other 90% of the time. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From ambassador at fourthworld.com Tue Feb 9 13:59:01 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 9 Feb 2016 10:59:01 -0800 Subject: some AB testing ... In-Reply-To: References: Message-ID: <56BA36F5.6070907@fourthworld.com> Pierre Sahores wrote: >> Le 9 f?vr. 2016 ? 01:27, Richard Gaskin a ?crit : >> >> Pierre Sahores wrote: >> >> > Story made short : Appart the amazing Lua platform (preferably set >> > as an Openresty one), well configured LC application?s servers >> > still outperforms anything available around (Websphere, Tomcat, >> > PHP5/7, Perl5, NodeJS, Go, Python, RoR,?). In-between, LC >> > application?s server is 60 times faster than the stock?s Livecode >> > CGI Server. ... >> >> Can we have the story made long? :) > > Only related to the test config set-up using voluntarily a very > minimalistic cluster of 3 low-powered boxes. Nginx does perfectly the > load-balancer job (very low top average) but OpenLiteSpeed should > have being a good proposal too in the same r?le (untested), where > lighttpd or apache2 seemed less productive, at least, at first glance. > >> What do you mean by "LC application?s servers"? A socket server? > > Precisely. > >> Can you share some code? > > Not at this time. I look forward to when you can. I use standalones as CGIs exclusively, using LC Server only for testing to help others. I've not considered a possible performance gain in doing so; I do it mostly to have things that are testable in the IDE. It would be helpful to be able to pin down where the performance difference lie so Server can be made at least as efficient as using a standalone for CGI work - speed is so much more critical in a CGI context than on the desktop. As for socket servers, last night I ran a test pitting a slim HTTPd made in LC (inspired by Raney's mchttpd.mc, but using new code), and I found good news and bad news: The bad news is that even a slender HTTPd in LC was only slightly more than half as fast as Apache2. The good news was that a slender HTTPd thrown together in a couple hours in LC scripts was more than half as fast as the highly-optimized C written by a team of specialists in Apache2! :) HTTP isn't the heaviest protocol in the world, but it's also not the lightest. It may be a bit much to expect that a LiveCode script could outperform Apache, and far more realistic to compare it to PHP and Python, where it's not surprising it performs very favorably. But if time and circumstances permit, it would be helpful to learn whatever details you can share on your experiments. Your work has always been among the most inspiring in our community with regard to using LC on servers, and we can learn much from your good efforts. -- 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 paul at researchware.com Tue Feb 9 14:25:42 2016 From: paul at researchware.com (Paul Dupuis) Date: Tue, 09 Feb 2016 14:25:42 -0500 Subject: LiveCode library inclusion in Standalones... Message-ID: <56BA3D36.40000@researchware.com> I have run into a minor oddity. In general, when building standalones, I prefer to have the Standalone builder set to: Search for the required inclusions when saving the standalone application vs Select inclusions for the standalone application [and manually identifying the libraries to include] My reasoning (right or wrong) is that auto-detection SHOULD be the more effecient approach in that LiveCode would install just the bits that I am using and not stuff I am not, where as in a large and complex project, I might forget to include something I need (of accidentally un-selecting some library when selecting another) OR include a library I don't really need. What I have run into is that libURL is not being autodetected and included. If I manually pick my inclusions and select the "Internet", all is well. If choose automatic, no libURL. I already know that when libURL is included it is added as a hidden group in the main stack and so is not available until the main stack has loaded. My code executes a send in time call to code that then fetches a couple URLs and POSTs some data to another couple URLs. Again, when manually included, this code all works. My question is: Does anyone know HOW autodetection works? Does it only look for keywords in scripts in the main stack? My code for doing a couple put URLs and then some posts is located in two places: a (library) substack of the main stack, with the start using occurring during the 'startup' message and in an external stack that is opened invisible into memory, also during the 'startup' message. What code do I need where for the Standalone builder to auto detect that libURL should be included? From effendi at wanadoo.fr Tue Feb 9 14:44:45 2016 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 9 Feb 2016 20:44:45 +0100 Subject: Modifying Drop-Down Menus on the fly Message-ID: Hi from Sunny Brittany (at least it was this morning !), After many years of using buttons in my stacks, I am discovering the joys of using ?Pull Down? menus (and about time too !). I can change the script ?cases? with the ?set script? command, but I also want to know how to change the value of the menu options on the fly, for example, if I have a menu option ?Show Table? in my button, once I have shown the table, how can I modify the menu option to show ?Hide Table?, assuming that I also set the case in the script to the new value, with new instructions. I thought that it was possible to modify any button/field options on the fly, but I can?t grab the syntax of this requirement. I also see that the number of case entries is defined in the button specs. Can I change this also, or do I just set a maximum value I know that Klaus has played with menus (seen on forums) Maybe he has an answer ? -Francis From eric at canelasoftware.com Tue Feb 9 14:49:42 2016 From: eric at canelasoftware.com (Eric Corbett) Date: Tue, 9 Feb 2016 11:49:42 -0800 Subject: Modifying Drop-Down Menus on the fly In-Reply-To: References: Message-ID: Set the text of the button to the list of menu items. Also look in the dictionary under menu for more drop down menu features. ?eric? From revdev at pdslabs.net Tue Feb 9 14:54:47 2016 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 9 Feb 2016 11:54:47 -0800 Subject: Modifying Drop-Down Menus on the fly In-Reply-To: References: Message-ID: <56BA4407.4040904@pdslabs.net> In the button script: on mouseDown -- put your list of choices into the button end mouseDown on menuPick pPicked -- act on the selected option end menuPick That should work! Phil Davis On 2/9/16 11:44 AM, Francis Nugent Dixon wrote: > Hi from Sunny Brittany (at least it was this morning !), > > After many years of using buttons in my stacks, I am > discovering the joys of using ?Pull Down? menus (and > about time too !). > > I can change the script ?cases? with the ?set script? command, > but I also want to know how to change the value of the menu options > on the fly, for example, if I have a menu option ?Show Table? > in my button, once I have shown the table, how can I modify > the menu option to show ?Hide Table?, assuming that I also > set the case in the script to the new value, with new instructions. > > I thought that it was possible to modify any button/field options > on the fly, but I can?t grab the syntax of this requirement. > > I also see that the number of case entries is defined in the button > specs. Can I change this also, or do I just set a maximum value > > I know that Klaus has played with menus (seen on forums) > Maybe he has an answer ? > > -Francis > _______________________________________________ > use-livecode mailing list > use-livecode 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 stephenREVOLUTION2 at barncard.com Tue Feb 9 15:11:56 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 9 Feb 2016 12:11:56 -0800 Subject: lock and unlock files from script? - Mac options Message-ID: Hi Gang, Barncard lurking here. I want to lock and unlock files from script on Mac. Currently on Livecode 7.1.2 I know there are various lock modes - I just want the one that users can turn off and on using the 'get info' dialog. I tried cobbling an Applescript method but got an 'execution error'. I tried to modify the Applescript that opens folders. I'd be happy with an Applescript solution or something using the Shell. faster would be better. thanks for any help. stephen. Stephen Barncard - Sebastopol Ca. USA - mixstream.org From revdev at pdslabs.net Tue Feb 9 15:19:40 2016 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 9 Feb 2016 12:19:40 -0800 Subject: lock and unlock files from script? - Mac options In-Reply-To: References: Message-ID: <56BA49DC.40606@pdslabs.net> Hi Stephen, If I understand correctly, it sounds like you could use the 'chmod' shell command to lock and unlock your files. https://www.google.com/#q=chmod+examples Best - Phil Davis On 2/9/16 12:11 PM, stephen barncard wrote: > Hi Gang, > > Barncard lurking here. > > I want to lock and unlock files from script on Mac. Currently on Livecode > 7.1.2 > I know there are various lock modes - I just want the one that users can > turn off and on using the 'get info' dialog. > > I tried cobbling an Applescript method but got an 'execution error'. I > tried to modify the Applescript that opens folders. > > I'd be happy with an Applescript solution or something using the Shell. > faster would be better. > > thanks for any help. > > stephen. > > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From paul at researchware.com Tue Feb 9 15:26:41 2016 From: paul at researchware.com (Paul Dupuis) Date: Tue, 09 Feb 2016 15:26:41 -0500 Subject: LiveCode library inclusion in Standalones... In-Reply-To: <56BA3D36.40000@researchware.com> References: <56BA3D36.40000@researchware.com> Message-ID: <56BA4B81.90207@researchware.com> As a test I added a "dummy" handler to the card script of my mainstack: on livecodeLibraryLoader -- This handler is never called. It exists to contain code that will be detected by the IDE's Standalone Builder -- to ensure certain libraries are included in the standalone. -- ensure inclusion of libURL (Internet) library put url tSomeURL into tSomeVariable post tSomeData to URL tSomeURL -- ensure including of ... end livecodeLibraryLoader And now libURL gets included using auto-detection. So it look like (at least in LC 6.7.x) that autodetection only checks the Mainstack and not substacks? That seems like a bug, but I am not in a position to test in LC 7.x or 8.x to see if that is also the case in those versions On 2/9/2016 2:25 PM, Paul Dupuis wrote: > I have run into a minor oddity. In general, when building standalones, I > prefer to have the Standalone builder set to: > > Search for the required inclusions when saving the standalone application > vs > Select inclusions for the standalone application [and manually > identifying the libraries to include] > > My reasoning (right or wrong) is that auto-detection SHOULD be the more > effecient approach in that LiveCode would install just the bits that I > am using and not stuff I am not, where as in a large and complex > project, I might forget to include something I need (of accidentally > un-selecting some library when selecting another) OR include a library I > don't really need. > > What I have run into is that libURL is not being autodetected and > included. If I manually pick my inclusions and select the "Internet", > all is well. If choose automatic, no libURL. I already know that when > libURL is included it is added as a hidden group in the main stack and > so is not available until the main stack has loaded. My code executes a > send in time call to code that then fetches a couple URLs and POSTs some > data to another couple URLs. Again, when manually included, this code > all works. > > My question is: Does anyone know HOW autodetection works? Does it only > look for keywords in scripts in the main stack? My code for doing a > couple put URLs and then some posts is located in two places: a > (library) substack of the main stack, with the start using occurring > during the 'startup' message and in an external stack that is opened > invisible into memory, also during the 'startup' message. > > What code do I need where for the Standalone builder to auto detect > that libURL should be included? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ali.lloyd at livecode.com Tue Feb 9 15:30:50 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Tue, 09 Feb 2016 20:30:50 +0000 Subject: LiveCode library inclusion in Standalones... In-Reply-To: <56BA3D36.40000@researchware.com> References: <56BA3D36.40000@researchware.com> Message-ID: It *should* be checking the scripts of all stacks, substacks, cards and controls for any lines containing any of libUrl,cachedURL,cachedURLs,ftp,http,https,load,post,resetAll,URL,URLStatus Check out the command revSmartChecking in stack revSaveAsStandalone. It does sound like a bug - what version are you using? On Tue, Feb 9, 2016 at 7:25 PM Paul Dupuis wrote: > I have run into a minor oddity. In general, when building standalones, I > prefer to have the Standalone builder set to: > > Search for the required inclusions when saving the standalone application > vs > Select inclusions for the standalone application [and manually > identifying the libraries to include] > > My reasoning (right or wrong) is that auto-detection SHOULD be the more > effecient approach in that LiveCode would install just the bits that I > am using and not stuff I am not, where as in a large and complex > project, I might forget to include something I need (of accidentally > un-selecting some library when selecting another) OR include a library I > don't really need. > > What I have run into is that libURL is not being autodetected and > included. If I manually pick my inclusions and select the "Internet", > all is well. If choose automatic, no libURL. I already know that when > libURL is included it is added as a hidden group in the main stack and > so is not available until the main stack has loaded. My code executes a > send in time call to code that then fetches a couple URLs and POSTs some > data to another couple URLs. Again, when manually included, this code > all works. > > My question is: Does anyone know HOW autodetection works? Does it only > look for keywords in scripts in the main stack? My code for doing a > couple put URLs and then some posts is located in two places: a > (library) substack of the main stack, with the start using occurring > during the 'startup' message and in an external stack that is opened > invisible into memory, also during the 'startup' message. > > What code do I need where for the Standalone builder to auto detect > that libURL should be included? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Tue Feb 9 16:10:41 2016 From: paul at researchware.com (Paul Dupuis) Date: Tue, 09 Feb 2016 16:10:41 -0500 Subject: LiveCode library inclusion in Standalones... In-Reply-To: References: <56BA3D36.40000@researchware.com> Message-ID: <56BA55D1.5060408@researchware.com> On 2/9/2016 3:30 PM, Ali Lloyd wrote: > It *should* be checking the scripts of all stacks, substacks, cards and > controls for any lines containing any of > libUrl,cachedURL,cachedURLs,ftp,http,https,load,post,resetAll,URL,URLStatus > > Check out the command revSmartChecking in stack revSaveAsStandalone. > It does sound like a bug - what version are you using? Thank you for the confirmation of how auto-detection works. I am using LC 6.7.6 under Windows 8.1. My main stack has 40 substacks, one of which is a library stack that contain several 'put URL tURLVar into ...' and 'post' statements that is definitely not being detected by the standalone builder. As noted the internet code in this library substack works perfectly when I explicitly include libURL or use a dummy handler in the card script of the main stack, which DOES cause appropriate auto-detection and inclusion. So the dummy handler addresses my immediate issue. If I can find the time, i will try to create a test stack with a single substack and test under LC6.7.8/9 and 7.x and 8.x, but this month is very busy. From hh at livecode.org Tue Feb 9 19:26:29 2016 From: hh at livecode.org (-hh) Date: Wed, 10 Feb 2016 01:26:29 +0100 Subject: lock and unlock files from script? - Mac options Message-ID: <16865778-25B2-4ED2-A76C-8229EB40ED6E@livecode.org> From terminal/LC's shell() use: lock with ..... $ chflags uchg unlock with ... $ chflags nouchg What is interesting in this connection: I got also a "compile error" from LC's "do as applescript" using a script that works from Applescript's Script Editor. MacOS 10.11.3 From revdev at pdslabs.net Tue Feb 9 19:36:44 2016 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 9 Feb 2016 16:36:44 -0800 Subject: lock and unlock files from script? - Mac options In-Reply-To: <16865778-25B2-4ED2-A76C-8229EB40ED6E@livecode.org> References: <16865778-25B2-4ED2-A76C-8229EB40ED6E@livecode.org> Message-ID: <56BA861C.2040203@pdslabs.net> Live and learn! I was unaware of 'chflags'. Thanks Hermann. Phil On 2/9/16 4:26 PM, [-hh] wrote: > >From terminal/LC's shell() use: > > lock with ..... $ chflags uchg > unlock with ... $ chflags nouchg > > What is interesting in this connection: I got also a > "compile error" from LC's "do as applescript" using > a script that works from Applescript's Script Editor. > > MacOS 10.11.3 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From hh at livecode.org Tue Feb 9 19:53:50 2016 From: hh at livecode.org (-hh) Date: Wed, 10 Feb 2016 01:53:50 +0100 Subject: lock and unlock files from script? - Mac options Message-ID: <6F80D63A-CAF1-4DB7-A4C1-83091794F6EC@livecode.org> Hi all, these flowers are not for me. Here's my secret: Simon Sheppard?s website ss64.com Extremly fast and *very* competent. ======= Hermann From revdev at pdslabs.net Tue Feb 9 19:59:56 2016 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 9 Feb 2016 16:59:56 -0800 Subject: lock and unlock files from script? - Mac options In-Reply-To: <6F80D63A-CAF1-4DB7-A4C1-83091794F6EC@livecode.org> References: <6F80D63A-CAF1-4DB7-A4C1-83091794F6EC@livecode.org> Message-ID: <56BA8B8C.7070907@pdslabs.net> I can smell them from here... smells fishy. Or maybe rotten, if Hermann is in Denmark. ;-) On 2/9/16 4:53 PM, [-hh] wrote: > Hi all, > > these flowers are not for me. Here's my secret: > > Simon Sheppard?s website ss64.com > Extremly fast and *very* competent. > > ======= > Hermann > _______________________________________________ > use-livecode mailing list > use-livecode 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 revdev at pdslabs.net Tue Feb 9 20:02:27 2016 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 9 Feb 2016 17:02:27 -0800 Subject: lock and unlock files from script? - Mac options In-Reply-To: <56BA8B8C.7070907@pdslabs.net> References: <6F80D63A-CAF1-4DB7-A4C1-83091794F6EC@livecode.org> <56BA8B8C.7070907@pdslabs.net> Message-ID: <56BA8C23.8080704@pdslabs.net> I looked at the web site below and it makes sense now. Guess I'm not used to such flowery language. Phil On 2/9/16 4:59 PM, Phil Davis wrote: > I can smell them from here... smells fishy. Or maybe rotten, if > Hermann is in Denmark. > ;-) > > > On 2/9/16 4:53 PM, [-hh] wrote: >> Hi all, >> >> these flowers are not for me. Here's my secret: >> >> Simon Sheppard?s website ss64.com >> Extremly fast and *very* competent. >> >> ======= >> Hermann >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 stephenREVOLUTION2 at barncard.com Tue Feb 9 21:18:25 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 9 Feb 2016 18:18:25 -0800 Subject: lock and unlock files from script? - Mac options In-Reply-To: References: Message-ID: On Tue, Feb 9, 2016 at 12:11 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > I'd be happy with an Applescript solution or something using the Shell. > faster would be better. > > thanks for any help. > > stephen. > thanks guys. sqb Stephen Barncard - Sebastopol Ca. USA - mixstream.org From hh at livecode.org Tue Feb 9 21:33:09 2016 From: hh at livecode.org (-hh) Date: Wed, 10 Feb 2016 03:33:09 +0100 Subject: lock and unlock files from script? - Mac options Message-ID: Phil D. wrote: > I looked at the web site below and it makes sense now. Guess I'm not > used to such flowery language. Phil > > On 2/9/16 4:59 PM, Phil Davis wrote: > > I can smell them from here... smells fishy. Or maybe rotten, if > > Hermann is in Denmark. > > ;-) > > On 2/9/16 4:53 PM, [-hh] wrote: > >> Hi all, > >> these flowers are not for me. Here's my secret: > >> Simon Sheppard?s website ss64.com > >> Extremly fast and *very* competent. Hermann Phil, for example the entry for chflags contains the line "The immutable flag is equivalent to locking the file in the Finder's Show Info box." This info is missing on Apple's own (BSD-) man page for chflag. That's an example for why I used such 'flowery' superlatives. And I don't even know Simon. By the way: I'm from Germany and I like fish, also fish from Denmark. And I like flowers --- and Phil's 'Shell Command Help' in LC's Sample Stacks ;-) ======= I found also the hint that setfile (Xcode CommandLine Tools) enables to lock/unlock. It's now somehow clear why Stephen and I got "execution errors" from applescript via LC: Locking/unlocking of a file requires to be owner or superuser of that file. This is perhaps better reflected by the Applescript Script Editor but may not be given if we "do ... as applescript". ======= Hermann From revdev at pdslabs.net Tue Feb 9 21:48:23 2016 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 9 Feb 2016 18:48:23 -0800 Subject: lock and unlock files from script? - Mac options In-Reply-To: References: Message-ID: <56BAA4F7.7020309@pdslabs.net> Hi Hermann, I agree - the ss64.com site is quite amazing! Unfortunately my effort at making a joke was not. At first I suspected your email account had been hacked and the "Here's my secret" message was pointing to a web site that sells something no one needs - the wording was similar to spam emails I've seen from time to time. Then after looking at the ss64.com site I realized I had spoken too soon. (now wiping egg off face) Thanks for the kind words about Shell Command Help! Phil On 2/9/16 6:33 PM, [-hh] wrote: > Phil D. wrote: >> I looked at the web site below and it makes sense now. Guess I'm not >> used to such flowery language. Phil >> >> On 2/9/16 4:59 PM, Phil Davis wrote: >>> I can smell them from here... smells fishy. Or maybe rotten, if >>> Hermann is in Denmark. >>> ;-) >>> On 2/9/16 4:53 PM, [-hh] wrote: >>>> Hi all, >>>> these flowers are not for me. Here's my secret: >>>> Simon Sheppard?s website ss64.com >>>> Extremly fast and *very* competent. Hermann > Phil, > > for example the entry for chflags contains the line > "The immutable flag is equivalent to locking the file in the Finder's Show Info box." > > This info is missing on Apple's own (BSD-) man page for chflag. That's an example for > why I used such 'flowery' superlatives. And I don't even know Simon. > > By the way: I'm from Germany and I like fish, also fish from Denmark. > And I like flowers --- and Phil's 'Shell Command Help' in LC's Sample Stacks ;-) > > ======= > > I found also the hint that > setfile (Xcode CommandLine Tools) enables to lock/unlock. > > It's now somehow clear why Stephen and I got "execution errors" from applescript > via LC: > Locking/unlocking of a file requires to be owner or superuser of that file. This is > perhaps better reflected by the Applescript Script Editor but may not be given > if we "do ... as applescript". > > ======= > Hermann > _______________________________________________ > use-livecode mailing list > use-livecode 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 monte at appisle.net Wed Feb 10 00:41:07 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 10 Feb 2016 16:41:07 +1100 Subject: [ANN] mergExt releases for iOS 9.2 Message-ID: <58B4A630-B5A4-4536-B338-6B3BECC4493B@appisle.net> Hi LiveCoders I have just uploaded new releases of my externals to support iOS 9.2 in addition to some minor bug fixing to mergMK animations of drag and drop custom image annotation pins. See more at http://mergext.com Cheers Monte From scott at elementarysoftware.com Wed Feb 10 01:27:22 2016 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 9 Feb 2016 22:27:22 -0800 Subject: [ANN] mergExt releases for iOS 9.2 In-Reply-To: <58B4A630-B5A4-4536-B338-6B3BECC4493B@appisle.net> References: <58B4A630-B5A4-4536-B338-6B3BECC4493B@appisle.net> Message-ID: <4EEDA963-B582-41A6-A799-B9D249FD33DD@elementarysoftware.com> Thanks Monte! Fast, as usual. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com office 1-800-615-0867 ------------------------------------------------------ > On Feb 9, 2016, at 9:41 PM, Monte Goulding wrote: > > Hi LiveCoders > > I have just uploaded new releases of my externals to support iOS 9.2 in addition to some minor bug fixing to mergMK animations of drag and drop custom image annotation pins. > > See more at http://mergext.com > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Wed Feb 10 04:10:35 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Feb 2016 10:10:35 +0100 Subject: is find or offset with wildcards possible? Message-ID: <006e01d163e2$e6ed11b0$b4c73510$@kestner.de> Hello, I want to set links in a text by script. My idea was to mark all links with a not used char at the start and end, like "~This is a link text#". After setting the links I could remove the tags or replace them by a transparent image. I have looked for a find or offset syntax with wildcards, to get easily the offset of all links, like offset("~*#",myText,lastOffset), but I only found the approach to loop thru the chars of the text and get with offset the start and end tags, get the right pairs, what can be tricky, and set the links. Did I oversee anything or isn't there a wildcard syntax for find or offset? Thanks Tiemo From charles at techstrategies.com.au Wed Feb 10 05:01:01 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Wed, 10 Feb 2016 20:01:01 +1000 Subject: is find or offset with wildcards possible? In-Reply-To: <006e01d163e2$e6ed11b0$b4c73510$@kestner.de> References: <006e01d163e2$e6ed11b0$b4c73510$@kestner.de> Message-ID: <56BB0A5D.9030807@techstrategies.com.au> On 10/02/2016 7:10 pm, Tiemo Hollmann TB wrote: > I have looked for a find or offset syntax with wildcards, to get easily the > offset of all links, like offset("~*#",myText,lastOffset), but I only found > the approach to loop thru the chars of the text and get with offset the > start and end tags, get the right pairs, what can be tricky, and set the > links. > > Did I oversee anything or isn't there a wildcard syntax for find or offset? I could be wrong, but I don't believe they support wildcards. The matchChunk function supports using PCRE regular expressions and can return the position of substrings that are matched. You might be able to use it to achieve what you want. Cheers, Charles > 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 toolbook at kestner.de Wed Feb 10 05:40:38 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Feb 2016 11:40:38 +0100 Subject: AW: is find or offset with wildcards possible? In-Reply-To: <56BB0A5D.9030807@techstrategies.com.au> References: <006e01d163e2$e6ed11b0$b4c73510$@kestner.de> <56BB0A5D.9030807@techstrategies.com.au> Message-ID: <007a01d163ef$7b6d4fb0$7247ef10$@kestner.de> Hello Charles, as far as I have seen it, matchChunk and matchText only return true or false and not an offset or position Am I wrong? Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Charles Warwick Gesendet: Mittwoch, 10. Februar 2016 11:01 An: How to use LiveCode Betreff: Re: is find or offset with wildcards possible? On 10/02/2016 7:10 pm, Tiemo Hollmann TB wrote: > I have looked for a find or offset syntax with wildcards, to get > easily the offset of all links, like offset("~*#",myText,lastOffset), > but I only found the approach to loop thru the chars of the text and > get with offset the start and end tags, get the right pairs, what can > be tricky, and set the links. > > Did I oversee anything or isn't there a wildcard syntax for find or offset? I could be wrong, but I don't believe they support wildcards. The matchChunk function supports using PCRE regular expressions and can return the position of substrings that are matched. You might be able to use it to achieve what you want. Cheers, Charles > 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 > _______________________________________________ use-livecode mailing list use-livecode at 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 Wed Feb 10 05:55:36 2016 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 10 Feb 2016 11:55:36 +0100 Subject: is find or offset with wildcards possible? In-Reply-To: <007a01d163ef$7b6d4fb0$7247ef10$@kestner.de> References: <006e01d163e2$e6ed11b0$b4c73510$@kestner.de> <56BB0A5D.9030807@techstrategies.com.au> <007a01d163ef$7b6d4fb0$7247ef10$@kestner.de> Message-ID: ?Hallo Tiemo, ? as far as I have seen it, matchChunk and matchText only return true or false > and not an offset or position > Am I wrong? > ?Yes :) get matchChunk( Text, Regex, pStart, pEnd) HTH, Thierry ? -- ------------------------------------------------ Thierry Douez - http://sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From t.heaford at icloud.com Wed Feb 10 07:17:39 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 10 Feb 2016 12:17:39 +0000 Subject: Printing a revBrowser Message-ID: How do you print a RevBrowser (either original or ref)? I have tried revBrowserPrint and it only prints text and not images. All the best Terry From dixonja at hotmail.co.uk Wed Feb 10 07:34:26 2016 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 10 Feb 2016 12:34:26 +0000 Subject: html5 & liveCode Message-ID: Is there a list somewhere about what is working and what is not with html 5 ? From t.heaford at icloud.com Wed Feb 10 08:46:31 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 10 Feb 2016 13:46:31 +0000 Subject: Printing a revBrowser In-Reply-To: References: Message-ID: <66529D2E-5AC4-4562-B7BB-47188928F05F@icloud.com> It seems that a revBrowser is NOT set to print backgrounds and I cannot see a property to allow this. Does anyone know? Thanks Terry > On 10 Feb 2016, at 12:17, Terence Heaford wrote: > > How do you print a RevBrowser (either original or ref)? > > I have tried revBrowserPrint and it only prints text and not images. > > > All the best > > 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 t.heaford at icloud.com Wed Feb 10 08:58:50 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 10 Feb 2016 13:58:50 +0000 Subject: Printing a revBrowser In-Reply-To: <66529D2E-5AC4-4562-B7BB-47188928F05F@icloud.com> References: <66529D2E-5AC4-4562-B7BB-47188928F05F@icloud.com> Message-ID: Also just tried this example from the dictionary. local tSnapshot revBrowserSnapshot sBrowserId, "tSnapshot" set the imageData of image "Browser Thumbnail" to tSnapshot All the data displayed in the image is corrupted. Now for the sarcastic comment: DOES ANYTHING WORK WITH A REVBROWSER? It would be really good to know that things do not work before you waste your time trying!!!!! Tried on 6.7.8, 7.1.1 & 8.0(dp 14) Mac OSX 10.11.3 All the best Terry > On 10 Feb 2016, at 13:46, Terence Heaford wrote: > > It seems that a revBrowser is NOT set to print backgrounds and I cannot see a property to allow this. > > Does anyone know? > > Thanks > > Terry > > > >> On 10 Feb 2016, at 12:17, Terence Heaford wrote: >> >> How do you print a RevBrowser (either original or ref)? >> >> I have tried revBrowserPrint and it only prints text and not images. >> >> >> All the best >> >> 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 MikeKerner at roadrunner.com Wed Feb 10 09:07:56 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 10 Feb 2016 09:07:56 -0500 Subject: [ANN] mergExt releases for iOS 9.2 In-Reply-To: <58B4A630-B5A4-4536-B338-6B3BECC4493B@appisle.net> References: <58B4A630-B5A4-4536-B338-6B3BECC4493B@appisle.net> Message-ID: Request: For folks who buy the whole kit-and-kaboodle, a monolithic download with the current versions of everything would be nice. On Wed, Feb 10, 2016 at 12:41 AM, Monte Goulding wrote: > Hi LiveCoders > > I have just uploaded new releases of my externals to support iOS 9.2 in > addition to some minor bug fixing to mergMK animations of drag and drop > custom image annotation pins. > > See more at http://mergext.com > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode 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 hh at livecode.org Wed Feb 10 09:44:04 2016 From: hh at livecode.org (-hh) Date: Wed, 10 Feb 2016 15:44:04 +0100 Subject: html5 & liveCode Message-ID: <6349EC6E-ACDB-40F4-BF48-E9AA943CE525@livecode.org> John D. wrote: > Is there a list somewhere about what is working and what is not > with html 5 ? Hello John, perhaps it's too early to maintain such a listing. I already asked for insights into a "To-Do-List" in order to add "enhancement requests" (#16252). We could/should do that by ourselves (spares time for the team). The first big problem is "the" listing. List 2000 handlers, functions, operators, properties, constants? If you start with a listing that has checks (YES/NO/PARTLY) then I'll come in and make also checks. ** And there is one possibility to check a lot of that directly in the browser: ** Terminal zero (current state dp-9), you can download the stack there and use it for your own version-testing. http://hh.on-rev.com/html5/ TerminalZero-8.0.0-dp-9X.html (Because of fileSize link to TOC only. Note: standalones don't work with Firefox 44.0, but earlier versions) ======= Hermann From guglielmo at braguglia.ch Wed Feb 10 10:00:41 2016 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Wed, 10 Feb 2016 16:00:41 +0100 Subject: [ANN] mergExt releases for iOS 9.2 In-Reply-To: References: <58B4A630-B5A4-4536-B338-6B3BECC4493B@appisle.net> Message-ID: <56BB5099.3070209@braguglia.ch> +1 ... would be very nice :-) Guglielmo > Mike Kerner > 10 February 2016 at 15:07 PM > Request: > For folks who buy the whole kit-and-kaboodle, a monolithic download with > the current versions of everything would be nice. > > > > > Monte Goulding > 10 February 2016 at 06:41 AM > Hi LiveCoders > > I have just uploaded new releases of my externals to support iOS 9.2 > in addition to some minor bug fixing to mergMK animations of drag and > drop custom image annotation pins. > > See more at http://mergext.com > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ckelly5430 at gmail.com Wed Feb 10 10:03:18 2016 From: ckelly5430 at gmail.com (Colin Kelly) Date: Wed, 10 Feb 2016 15:03:18 +0000 Subject: [ANN] mergExt releases for iOS 9.2 In-Reply-To: References: <58B4A630-B5A4-4536-B338-6B3BECC4493B@appisle.net> Message-ID: <413F5E01-DEFA-4569-914E-A7D3A16AF4FA@gmail.com> +1 On 10/02/2016, 14:07, "use-livecode on behalf of Mike Kerner" wrote: >Request: >For folks who buy the whole kit-and-kaboodle, a monolithic download with >the current versions of everything would be nice. > >On Wed, Feb 10, 2016 at 12:41 AM, Monte Goulding wrote: From skip at magicgate.com Wed Feb 10 10:20:41 2016 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 10 Feb 2016 10:20:41 -0500 Subject: [ANN] mergExt releases for iOS 9.2 In-Reply-To: <413F5E01-DEFA-4569-914E-A7D3A16AF4FA@gmail.com> References: <58B4A630-B5A4-4536-B338-6B3BECC4493B@appisle.net> <413F5E01-DEFA-4569-914E-A7D3A16AF4FA@gmail.com> Message-ID: +1 On Wed, Feb 10, 2016 at 10:03 AM, Colin Kelly wrote: > +1 > > > > > On 10/02/2016, 14:07, "use-livecode on behalf of Mike Kerner" < > use-livecode-bounces at lists.runrev.com on behalf of > MikeKerner at roadrunner.com> wrote: > > >Request: > >For folks who buy the whole kit-and-kaboodle, a monolithic download with > >the current versions of everything would be nice. > > > >On Wed, Feb 10, 2016 at 12:41 AM, Monte Goulding > wrote: > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at livecode.com Wed Feb 10 10:25:12 2016 From: mark at livecode.com (Mark Waddingham) Date: Wed, 10 Feb 2016 16:25:12 +0100 Subject: Printing a revBrowser In-Reply-To: References: <66529D2E-5AC4-4562-B7BB-47188928F05F@icloud.com> Message-ID: <1ccae8c6000c6a1b85f5331b283fa1c6@livecode.com> On 2016-02-10 14:58, Terence Heaford wrote: > Also just tried this example from the dictionary. > > local tSnapshot > revBrowserSnapshot sBrowserId, "tSnapshot" > set the imageData of image "Browser Thumbnail" to tSnapshot The dictionary example isn't very good there... ImageData does not carry the size of the image - it is just xRGB bytes. You need to make sure you're image is the same size as the browser you are taking a snapshot of first. Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jimbeckmann at comcast.net Wed Feb 10 10:37:12 2016 From: jimbeckmann at comcast.net (Jim Beckmann) Date: Wed, 10 Feb 2016 08:37:12 -0700 Subject: Default font for new objects Message-ID: <92560058-04CB-490A-82CB-E2D6FA518215@comcast.net> Unknowingly, and unwantingly, the default displayed font for newly created objects names\labels, in old as well as new stacks, is some form of Wingding. How do I set the default font back to Helvetica, or something, for newly created objects? Thanks. From t.heaford at icloud.com Wed Feb 10 10:39:54 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 10 Feb 2016 15:39:54 +0000 Subject: Printing a revBrowser In-Reply-To: <1ccae8c6000c6a1b85f5331b283fa1c6@livecode.com> References: <66529D2E-5AC4-4562-B7BB-47188928F05F@icloud.com> <1ccae8c6000c6a1b85f5331b283fa1c6@livecode.com> Message-ID: <3DAABA34-833B-46F0-BBDD-302BA0D31AFF@icloud.com> Hi Mark, OK, I understand. Adjusted image size and all?s well. What?s wrong with revBrowserPrint and backgrounds? Does the widget browser in LC8 print directly? Text and Backgrounds? Thanks Terry > On 10 Feb 2016, at 15:25, Mark Waddingham wrote: > > On 2016-02-10 14:58, Terence Heaford wrote: >> Also just tried this example from the dictionary. >> local tSnapshot >> revBrowserSnapshot sBrowserId, "tSnapshot" >> set the imageData of image "Browser Thumbnail" to tSnapshot > > The dictionary example isn't very good there... > > ImageData does not carry the size of the image - it is just xRGB bytes. You need to make sure you're image is the same size as the browser you are taking a snapshot of first. > > 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 MikeKerner at roadrunner.com Wed Feb 10 10:41:50 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 10 Feb 2016 10:41:50 -0500 Subject: [ANN] mergExt releases for iOS 9.2 In-Reply-To: References: <58B4A630-B5A4-4536-B338-6B3BECC4493B@appisle.net> <413F5E01-DEFA-4569-914E-A7D3A16AF4FA@gmail.com> Message-ID: The other thing that would be nice would be to maybe have the new versions not be marked with the version number. I realize that can be dangerous, but for every app, I have to go into Copy Files for every external and point to the new one. When I forget (especially if I haven't done a new build in a while), that means at least one "whoops" build. On Wed, Feb 10, 2016 at 10:20 AM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > +1 > > On Wed, Feb 10, 2016 at 10:03 AM, Colin Kelly > wrote: > > > +1 > > > > > > > > > > On 10/02/2016, 14:07, "use-livecode on behalf of Mike Kerner" < > > use-livecode-bounces at lists.runrev.com on behalf of > > MikeKerner at roadrunner.com> wrote: > > > > >Request: > > >For folks who buy the whole kit-and-kaboodle, a monolithic download with > > >the current versions of everything would be nice. > > > > > >On Wed, Feb 10, 2016 at 12:41 AM, Monte Goulding > > wrote: > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mark at livecode.com Wed Feb 10 10:57:17 2016 From: mark at livecode.com (Mark Waddingham) Date: Wed, 10 Feb 2016 16:57:17 +0100 Subject: Printing a revBrowser In-Reply-To: <3DAABA34-833B-46F0-BBDD-302BA0D31AFF@icloud.com> References: <66529D2E-5AC4-4562-B7BB-47188928F05F@icloud.com> <1ccae8c6000c6a1b85f5331b283fa1c6@livecode.com> <3DAABA34-833B-46F0-BBDD-302BA0D31AFF@icloud.com> Message-ID: <17328c8ad48314a3cb93bfef955426d6@livecode.com> On 2016-02-10 16:39, Terence Heaford wrote: > What?s wrong with revBrowserPrint and backgrounds? Assuming you mean that no background means that any background fill you have on the page isn't printed then... Nothing is wrong I don't think - doing revBrowserPrint asks the browser to print - which means you'll get the same result as if you used the same browser outside of LiveCode and asked it to print. Typically the global style-sheet used to print is different than that which is used to display on the screen (I think at least). > Does the widget browser in LC8 print directly? Text and Backgrounds? The widget browser in LC8 uses the same underlying frameworks as revBrowser (although a largely rewritten code layer inbetween). Printing widgets in LC8 relies on snapshotting them at the moment - which CEF doesn't allow in the mode you have to use to display it on the screen (with any degree of performance, at least). Indeed, this is something we need to still hook up for native widgets (the 'OnPaint' handler of widgets isn't called in the native case, so printing them will have no effect). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From t.heaford at icloud.com Wed Feb 10 11:06:22 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 10 Feb 2016 16:06:22 +0000 Subject: Printing a revBrowser In-Reply-To: <17328c8ad48314a3cb93bfef955426d6@livecode.com> References: <66529D2E-5AC4-4562-B7BB-47188928F05F@icloud.com> <1ccae8c6000c6a1b85f5331b283fa1c6@livecode.com> <3DAABA34-833B-46F0-BBDD-302BA0D31AFF@icloud.com> <17328c8ad48314a3cb93bfef955426d6@livecode.com> Message-ID: > On 10 Feb 2016, at 15:57, Mark Waddingham wrote: > >> What?s wrong with revBrowserPrint and backgrounds? > > Assuming you mean that no background means that any background fill you have on the page isn't printed then... > > Nothing is wrong I don't think - doing revBrowserPrint asks the browser to print - which means you'll get the same result as if you used the same browser outside of LiveCode and asked it to print. Typically the global style-sheet used to print is different than that which is used to display on the screen (I think at least). If you look at Safari on a Mac it defaults to not printing backgrounds. On inspection of the print dialogue box you will notice a checkbox to Print Backgrounds towards the bottom of the window. On checking this box in Safari it prints the background but revBrowserPrint does NOT conform to this setting. All the best Terry From hh at livecode.org Wed Feb 10 11:14:15 2016 From: hh at livecode.org (-hh) Date: Wed, 10 Feb 2016 17:14:15 +0100 Subject: lock and unlock files from script? - Mac options Message-ID: Stephen B. wrote: > > I'd be happy with an Applescript solution or something using the > > Shell. faster would be better. thanks for any help. stephen. > > thanks guys. sqb TMHO, such threads should end -- if available -- with a full working solution. Perhaps somebody can use this, for example me, in half a year :-) ======= HowTo Switch the "locked" flag (= the check in Finder's "Get info"-dialog box) of a Mac OSX file. Yo have to be superuser or the owner of this file for that. [1] using applescript (see note at end of this post) on mouseUp answer file "File to unlock" -- obtain the path/to/file if it is not empty then replace slash with colon in it delete char 1 of it --> delete leading colon <-- BN do switchLocked(it) as applescript end if end mouseUp function switchLocked ff return "" & \ "tell application " "e& "Finder" "e &CR& \ " set p to alias " "e& ff "e &CR& \ " set locked of p to not (locked of p)" &CR& \ "end tell" end switchLocked [2] using shell on mouseUp answer file "File to unlock" -- obtain the path/to/file if it is not empty then put quote&it"e into f1 put word 5 of shell ("ls -lO " & f1) into myFlag --> myFlag is "-" if not locked and "uchg" if locked if myFlag is "uchg" then put "nouchg" into myFlag --> lock else put "uchg" into myFlag --> unlock put shell ("chflags" && myFlag && f1) into nirwana -- put shell ("ls -lO " & f1) --> check if it's done end if end mouseUp ======= Note Bernd N. and I had a dialog about the "execution error" of the original script [1] above and he found the culprit: If you give an alias that starts with a colon (or a POSIX path that starts with a slash) then the Applescript Script Editor puts "startup disk" in front of this and it's OK). We have to delete the leading colon or put the diskName in front of the path). [-hh] From mark at livecode.com Wed Feb 10 11:21:18 2016 From: mark at livecode.com (Mark Waddingham) Date: Wed, 10 Feb 2016 17:21:18 +0100 Subject: Printing a revBrowser In-Reply-To: References: <66529D2E-5AC4-4562-B7BB-47188928F05F@icloud.com> <1ccae8c6000c6a1b85f5331b283fa1c6@livecode.com> <3DAABA34-833B-46F0-BBDD-302BA0D31AFF@icloud.com> <17328c8ad48314a3cb93bfef955426d6@livecode.com> Message-ID: <8aefd8c493ba9031b2f7511890bc23c7@livecode.com> On 2016-02-10 17:06, Terence Heaford wrote: >> On 10 Feb 2016, at 15:57, Mark Waddingham wrote: > If you look at Safari on a Mac it defaults to not printing backgrounds. > > On inspection of the print dialogue box you will notice a checkbox to > Print Backgrounds towards the bottom of the window. > > On checking this box in Safari it prints the background but > revBrowserPrint does NOT conform to this setting. Well the setting in Safari won't affect LiveCode - they share the underlying system WebKit, but obviously Safari hooks into a property of the WebView which revBrowser doesn't currently give access to ([WebView shouldPrintBackgrounds] by the look of it). I have to be honest and say that this is unlikely to be something we will be addressing in revBrowser. However given that we still need to add the ability to do the print operation on the browser widget in 8, we'll certainly take it into account for that. Of course, the source-code for revBrowser is there in GitHub so if someone out there wants to add an option to the revBrowser external to do this, and submits a PR we'd be more than happy to accept it :) Warmest Regards, Mark. P.S. That option is obviously specific to Mac - I'm not sure whether CEF (or IE) have a similar property or easily accessible option. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Wed Feb 10 11:25:02 2016 From: mark at livecode.com (Mark Waddingham) Date: Wed, 10 Feb 2016 17:25:02 +0100 Subject: Printing a revBrowser In-Reply-To: References: <66529D2E-5AC4-4562-B7BB-47188928F05F@icloud.com> <1ccae8c6000c6a1b85f5331b283fa1c6@livecode.com> <3DAABA34-833B-46F0-BBDD-302BA0D31AFF@icloud.com> <17328c8ad48314a3cb93bfef955426d6@livecode.com> Message-ID: On 2016-02-10 17:06, Terence Heaford wrote: > If you look at Safari on a Mac it defaults to not printing backgrounds. > > On inspection of the print dialogue box you will notice a checkbox to > Print Backgrounds towards the bottom of the window. > > On checking this box in Safari it prints the background but > revBrowserPrint does NOT conform to this setting. If you have control over the pages you are trying to print then it is possible to force WebKit (e.g. Safari / Chrome) to print backgrounds regardless of that setting it seems: http://stackoverflow.com/questions/6670151/how-can-i-force-browsers-to-print-background-images-in-css Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From scott at tactilemedia.com Wed Feb 10 11:22:31 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 10 Feb 2016 08:22:31 -0800 Subject: Force Phone-Sized Stack on iPad Simulator? Message-ID: Thinking I've seen this before but can't find it... For iOS, is there a way to test a stack with iPhone 5 dimensions on the iPad simulator? Every time I test with the simulator hardware set to iPad Retina, the simulator switches to iPhone 4 before displaying the stack. Am using the 8.2 simulator, not the latest, if that matters. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From scott at tactilemedia.com Wed Feb 10 11:32:30 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 10 Feb 2016 08:32:30 -0800 Subject: Force Phone-Sized Stack on iPad Simulator? In-Reply-To: References: Message-ID: Never mind, forgot to choose the iPad Simulator option under Test Target. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/10/16, 8:22 AM, "use-livecode on behalf of Scott Rossi" wrote: >Thinking I've seen this before but can't find it... For iOS, is there a >way to test a stack with iPhone 5 dimensions on the iPad simulator? Every >time I test with the simulator hardware set to iPad Retina, the simulator >switches to iPhone 4 before displaying the stack. > >Am using the 8.2 simulator, not the latest, if that matters. > >Thanks & Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > > > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Wed Feb 10 11:34:52 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 10 Feb 2016 16:34:52 +0000 Subject: Printing a revBrowser In-Reply-To: References: <66529D2E-5AC4-4562-B7BB-47188928F05F@icloud.com> <1ccae8c6000c6a1b85f5331b283fa1c6@livecode.com> <3DAABA34-833B-46F0-BBDD-302BA0D31AFF@icloud.com> <17328c8ad48314a3cb93bfef955426d6@livecode.com> Message-ID: Thanks for that, will investigate. All the best Terry > On 10 Feb 2016, at 16:25, Mark Waddingham wrote: > > On 2016-02-10 17:06, Terence Heaford wrote: >> If you look at Safari on a Mac it defaults to not printing backgrounds. >> On inspection of the print dialogue box you will notice a checkbox to >> Print Backgrounds towards the bottom of the window. >> On checking this box in Safari it prints the background but >> revBrowserPrint does NOT conform to this setting. > > If you have control over the pages you are trying to print then it is possible to force WebKit (e.g. Safari / Chrome) to print backgrounds regardless of that setting it seems: > > http://stackoverflow.com/questions/6670151/how-can-i-force-browsers-to-print-background-images-in-css > > 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 colinholgate at gmail.com Wed Feb 10 11:35:03 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 10 Feb 2016 11:35:03 -0500 Subject: Force Phone-Sized Stack on iPad Simulator? In-Reply-To: References: Message-ID: <584AE446-A3D1-42CB-BC72-CC6FC3ABBB43@gmail.com> What happens if you go to the Hardware/Device menu, and choose iPad Retina? > On Feb 10, 2016, at 11:22 AM, Scott Rossi wrote: > > Thinking I've seen this before but can't find it... For iOS, is there a > way to test a stack with iPhone 5 dimensions on the iPad simulator? Every > time I test with the simulator hardware set to iPad Retina, the simulator > switches to iPhone 4 before displaying the stack. > > Am using the 8.2 simulator, not the latest, if that matters. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Feb 10 11:44:21 2016 From: richmondmathewson at gmail.com (RM) Date: Wed, 10 Feb 2016 18:44:21 +0200 Subject: Black icons in LC 8 DP 14 In-Reply-To: <56B8F617.4040905@gmail.com> References: <56B83658.8000602@gmail.com> <56B8B013.4000302@fourthworld.com> <56B8E07C.1090209@gmail.com> <56B8F617.4040905@gmail.com> Message-ID: <56BB68E5.1030203@gmail.com> On 8.02.2016 22:09, RM wrote: > >> >> Almost inevitably, I shall be spending a spot of time working on a >> "hack stack" so that end-users can >> change the revMenuBar icons to a variety of possibilities ;-) >> > > > http://forums.livecode.com/viewtopic.php?f=9&t=26506&p=137728#p137728 > > I did warn you! > > Love, Richmond. Things can only get worse . . . . http://forums.livecode.com/viewtopic.php?f=9&t=26506&p=137833#p137833 Richmond. From panos.merakos at livecode.com Wed Feb 10 11:49:49 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 10 Feb 2016 16:49:49 +0000 Subject: Release 6.7.9 RC 2 / 7.1.2 RC 2 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 6.7.9 RC 2 and 7.1.2 RC 2. *Release Content* This release contains bug fixes for regressions introduced in 6.7.9 RC 1 / 7.1.2 RC 1, as well as an important fix to a crash affecting some of our customers (see the Release Notes for more information). *Getting the Release* To get the release please download the installer directly at: http://downloads.livecode.com *6.7.9 Final / 7.1.2 Final* The next build is planned to be released next week - and we expect it to be a Final build. Warm regards, The LiveCode Team From mark at livecode.com Wed Feb 10 11:54:20 2016 From: mark at livecode.com (Mark Waddingham) Date: Wed, 10 Feb 2016 17:54:20 +0100 Subject: Printing a revBrowser In-Reply-To: References: <66529D2E-5AC4-4562-B7BB-47188928F05F@icloud.com> <1ccae8c6000c6a1b85f5331b283fa1c6@livecode.com> <3DAABA34-833B-46F0-BBDD-302BA0D31AFF@icloud.com> <17328c8ad48314a3cb93bfef955426d6@livecode.com> Message-ID: <06fd9e097a4454540f2eafd86181fa57@livecode.com> On 2016-02-10 17:34, Terence Heaford wrote: > Thanks for that, will investigate. I've raised a docs issue about revBrowserSnapshot here: http://quality.livecode.com/show_bug.cgi?id=16902 I've also raised an issue about printing in the browser widget here: http://quality.livecode.com/show_bug.cgi?id=16903 Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From tkuypers at telenet.be Wed Feb 10 11:56:12 2016 From: tkuypers at telenet.be (tkuypers at telenet.be) Date: Wed, 10 Feb 2016 17:56:12 +0100 Subject: LiveCode & OpenCart Message-ID: <21E3A9DA-E4F1-43B7-ABCF-D8A826307448@telenet.be> Hi, I?ve created a productmanager in LiveCode for a customer for whom I also setup a webshop in OpenCart. Currently I use an export extension to export products and categories from the shop to an Excel file, save this Excel file to a tab-delimited file, import it into my ProductManager, so the customer can very quick and easy manipulate large amounts of products. When he is done, the ProductManager exports the selected data as text files, which I paste into the Excel file, and import again into OpenCart. Both OpenCart as my app use mySQL as a database, my app uses the one running on a PC and OpenCart uses the database installed at the provider obviously. Anyone any experience in connecting to an online database used by OpenCart, using a LiveCode app? I know there are all kinds of security issues which makes this not so obvious, but maybe someone figured out a way to make this connection? Met vriendelijke groeten, Warm Regards, Ton Kuypers +32 (0) 477 739 530 Steenweg op Leopoldsburg 100 ? B-2490 ? Balen ? Belgium www.publishingtools4u.com From scott at tactilemedia.com Wed Feb 10 11:59:10 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 10 Feb 2016 08:59:10 -0800 Subject: Force Phone-Sized Stack on iPad Simulator? In-Reply-To: <584AE446-A3D1-42CB-BC72-CC6FC3ABBB43@gmail.com> References: <584AE446-A3D1-42CB-BC72-CC6FC3ABBB43@gmail.com> Message-ID: The standalone stack never gets copied to the correct simulator, so there's no way to view the stack. I needed to choose the iPad simulator under Test Target first. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/10/16, 8:35 AM, "use-livecode on behalf of Colin Holgate" wrote: >What happens if you go to the Hardware/Device menu, and choose iPad >Retina? > > >> On Feb 10, 2016, at 11:22 AM, Scott Rossi >>wrote: >> >> Thinking I've seen this before but can't find it... For iOS, is there a >> way to test a stack with iPhone 5 dimensions on the iPad simulator? >>Every >> time I test with the simulator hardware set to iPad Retina, the >>simulator >> switches to iPhone 4 before displaying the stack. >> >> Am using the 8.2 simulator, not the latest, if that matters. >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Wed Feb 10 12:06:42 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Feb 2016 18:06:42 +0100 Subject: AW: is find or offset with wildcards possible? In-Reply-To: References: <006e01d163e2$e6ed11b0$b4c73510$@kestner.de> <56BB0A5D.9030807@techstrategies.com.au> <007a01d163ef$7b6d4fb0$7247ef10$@kestner.de> Message-ID: <00c101d16425$6a93be50$3fbb3af0$@kestner.de> Bonsoir Thierry, ui, thats fancy. I haven't seen yet a function which changes input parameter as a kind of result Salut Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Thierry Douez Gesendet: Mittwoch, 10. Februar 2016 11:56 An: How to use LiveCode Betreff: Re: is find or offset with wildcards possible? ?Hallo Tiemo, ? as far as I have seen it, matchChunk and matchText only return true or false > and not an offset or position > Am I wrong? > ?Yes :) get matchChunk( Text, Regex, pStart, pEnd) HTH, Thierry ? -- ------------------------------------------------ Thierry Douez - http://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 littlejamesw at mac.com Wed Feb 10 12:11:27 2016 From: littlejamesw at mac.com (James Little) Date: Wed, 10 Feb 2016 09:11:27 -0800 Subject: Livecode on MIT Climate Co-Lab In-Reply-To: <584AE446-A3D1-42CB-BC72-CC6FC3ABBB43@gmail.com> References: <584AE446-A3D1-42CB-BC72-CC6FC3ABBB43@gmail.com> Message-ID: <7F06BB6A-3CBD-4D13-B356-20CC45705AC8@mac.com> Hi All, There are 18 days remaining to further develop this project on the MIT Climate Co-Lab site. http://climatecolab.org/web/guest/plans/-/plans/contestId/1303501/planId/1327125 This project is to use Livecode to develop Global Warming News Readers. The goal is to use this desktop app to educate a cadre of informed, trusted messengers around the world, who can teach their families, friends, neighbors and politicians about the actions that are needed to address climate change. I argue that Livecode is the best programming language to develop this: - It?s free and open-source for developing this free app. - It?s rapid development software that is relatively easy to learn. - Livecode provides abundant assistance with tutorials and forums. - There?s a world-wide, active user community that support developers. - The source code can be distributed and modified to customize the app for different locales. Any suggestions? I?m an old mediocre Livecode programmer. I would welcome seeing some more sophisticated Global Warming Readers from our more talented LIvecoders. Up-votes for this project would be appreciated. I?ve posted a beta 1.0 version of a Global Warming Reader, developed with Livecode 8.0, DP12 at: http://globalwarmingapps.org/downloads.html The source code is also posted. I will post a beta 2.0 version later this week developed with 8.0, DP14. This uses a widget ?Tree View? to simplify the user interface. Working with 8.0, DP14 is a pleasure. Best, Jim From littlejamesw at mac.com Wed Feb 10 12:17:57 2016 From: littlejamesw at mac.com (James Little) Date: Wed, 10 Feb 2016 09:17:57 -0800 Subject: Livecode on MIT Climate Co-Lab Message-ID: Hi All, There are 18 days remaining to further develop this project on the MIT Climate Co-Lab site. http://climatecolab.org/web/guest/plans/-/plans/contestId/1303501/planId/1327125 This project is to use Livecode to develop Global Warming News Readers. The goal is to use this desktop app to educate a cadre of informed, trusted messengers around the world, who can teach their families, friends, neighbors and politicians about the actions that are needed to address climate change. I argue that Livecode is the best programming language to develop this: - It?s free and open-source for developing this free app. - It?s rapid development software that is relatively easy to learn. - Livecode provides abundant assistance with tutorials and forums. - There?s a world-wide, active user community that support developers. - The source code can be distributed and modified to customize the app for different locales. Any suggestions? I?m an old mediocre Livecode programmer. I would welcome seeing some more sophisticated Global Warming Readers from our more talented LIvecoders. Up-votes for this project would be appreciated. I?ve posted a beta 1.0 version of a Global Warming Reader, developed with Livecode 8.0, DP12 at: http://globalwarmingapps.org/downloads.html The source code is also posted. I will post a beta 2.0 version later this week developed with 8.0, DP14. This uses a widget ?Tree View? to simplify the user interface. Working with 8.0, DP14 is a pleasure. Best, Jim From littlejamesw at mac.com Wed Feb 10 12:19:42 2016 From: littlejamesw at mac.com (James Little) Date: Wed, 10 Feb 2016 09:19:42 -0800 Subject: Force Phone-Sized Stack on iPad Simulator In-Reply-To: <7F06BB6A-3CBD-4D13-B356-20CC45705AC8@mac.com> References: <584AE446-A3D1-42CB-BC72-CC6FC3ABBB43@gmail.com> <7F06BB6A-3CBD-4D13-B356-20CC45705AC8@mac.com> Message-ID: <3FD46906-EA1E-4B27-90FB-0377E57D8127@mac.com> Oops. My apologies for accidentally hijacking this thread. From mark at livecode.com Wed Feb 10 12:21:40 2016 From: mark at livecode.com (Mark Waddingham) Date: Wed, 10 Feb 2016 18:21:40 +0100 Subject: AW: is find or offset with wildcards =?UTF-8?Q?possible=3F?= In-Reply-To: <00c101d16425$6a93be50$3fbb3af0$@kestner.de> References: <006e01d163e2$e6ed11b0$b4c73510$@kestner.de> <56BB0A5D.9030807@techstrategies.com.au> <007a01d163ef$7b6d4fb0$7247ef10$@kestner.de> <00c101d16425$6a93be50$3fbb3af0$@kestner.de> Message-ID: On 2016-02-10 18:06, Tiemo Hollmann TB wrote: > Bonsoir Thierry, > ui, thats fancy. I haven't seen yet a function which changes input > parameter as a kind of result This is actually quite a rare pattern in the engine (when exposed as function type syntax at least)... However, user handlers can obviously do this with the use of the '@' symbol: command returnMoreThanOneValue pInput, @rOutput1, @rOutput2 put item 1 of pInput into rOutput1 put item 2 of pInput into rOutput2 end returnMoreThanOneValue (This works for on, command, function and private variants too). If you prepend your parameter with @ then that handler must be called with something which looks like a variable, and in that case the variable itself is passed to the handler, rather than the variable's value. Prior to 7 you could only use actual variables in such parameters, but from 7 you can use array elements too. i.e. returnMoveThanOneValue "1,2", tArray[1], tArray[2] Will work. Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From th.douez at gmail.com Wed Feb 10 12:24:50 2016 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 10 Feb 2016 18:24:50 +0100 Subject: is find or offset with wildcards possible? In-Reply-To: <00c101d16425$6a93be50$3fbb3af0$@kestner.de> References: <006e01d163e2$e6ed11b0$b4c73510$@kestner.de> <56BB0A5D.9030807@techstrategies.com.au> <007a01d163ef$7b6d4fb0$7247ef10$@kestner.de> <00c101d16425$6a93be50$3fbb3af0$@kestner.de> Message-ID: 2016-02-10 18:06 GMT+01:00 Tiemo Hollmann TB : > Bonsoir Thierry, > ui, thats fancy. I haven't seen yet a function which changes input > parameter as a kind of result > Salut > Tiemo > ?:) I guess one has to get used to this... But it's a very powerfull function when you know how to work with it! Thierry ? > > get matchChunk( Text, Regex, pStart, pEnd) > > > -- ------------------------------------------------ Thierry Douez - http://sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From jacque at hyperactivesw.com Wed Feb 10 13:16:45 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Feb 2016 12:16:45 -0600 Subject: Default font for new objects In-Reply-To: <92560058-04CB-490A-82CB-E2D6FA518215@comcast.net> References: <92560058-04CB-490A-82CB-E2D6FA518215@comcast.net> Message-ID: <152cc6656c8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> What LC version and OS? It sounds like a font conflict to me, maybe that font has the same id as the system font? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 10, 2016 9:38:44 AM Jim Beckmann wrote: > Unknowingly, and unwantingly, the default displayed font for newly created > objects names\labels, in old as well as new stacks, is some form of > Wingding. How do I set the default font back to Helvetica, or something, > for newly created objects? Thanks. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Wed Feb 10 13:21:40 2016 From: mark at livecode.com (Mark Waddingham) Date: Wed, 10 Feb 2016 19:21:40 +0100 Subject: Default font for new objects In-Reply-To: <92560058-04CB-490A-82CB-E2D6FA518215@comcast.net> References: <92560058-04CB-490A-82CB-E2D6FA518215@comcast.net> Message-ID: <550340e2d67f665ab77efd149b1b7140@livecode.com> Hi Jim, On 2016-02-10 16:37, Jim Beckmann wrote: > Unknowingly, and unwantingly, the default displayed font for newly > created objects names\labels, in old as well as new stacks, is some > form of Wingding. How do I set the default font back to Helvetica, or > something, for newly created objects? Thanks. Some sort of 'wingding' is a little concerning... As in you don't see text but symbols? This will be related to the 'native themeing' changes we have made. You should be seeing the proper system font for the particular control - not symbols! If you could file a report in the quality center with some screen shots and details of your platform that would help immensely. For the time being, you can turn off the new native themeing feature by setting the theme property of the stack to 'legacy'. Hope this helps, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ray at linkit.com Wed Feb 10 13:51:17 2016 From: ray at linkit.com (Ray) Date: Wed, 10 Feb 2016 13:51:17 -0500 Subject: When is a GIF Finished Playing? In-Reply-To: <568D6747.2080908@gmail.com> References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> Message-ID: <56BB86A5.1060808@LinkIt.Com> Does anybody know of an easy way to tell whether a GIF file is playing or not? If possible I'd like to avoid trying to write something involved using the CurrentFrame and FrameCount properties. I'm not even sure how that would be done. I'd rather have something like the sound() function, as in: on mouseUp set the repeatCount of img myGif to 10 repeat while gif(myImg) is not "done" end repeat answer "It's done!" end mouseUp From b.sellung at posteo.de Wed Feb 10 13:58:20 2016 From: b.sellung at posteo.de (Beda Sellung Posteo) Date: Wed, 10 Feb 2016 19:58:20 +0100 Subject: Modifying Drop-Down Menus on the fly In-Reply-To: References: Message-ID: Hi Francis, I?m quite a new in livecode, so I hope I?ve understand your question right. Problem: Changing dynamically the values of the options of a menu-button. Proposal: Setting the text property of a button (style and menuMode of your choice) with a list of menu items before this control is shown. The solution I?ve found is in Jeanne Devoto?s stack about menus as part of the famous ?Scripting Conference? downloadable from Jaques Landman Gay?s WebSite: http://www.hyperactivesw.com/revscriptconf/scriptingconferences.html (Thank you very much to make these stacks still available to us! These Stacks are still so instructive after such al long time and they are running perfectly in LC 8!) Excerpt out of the demo of the stack number 9 ?Menu? made by Jeanne Devoto: on mouseDown -- This handler executes when you click the menu, before the menu appears. repeat with x = 1 to the number of controls of group "Gemstones" -- First we scan all the checkboxes. They're all members of a group -- called "Gemstones". For each of the checkboxes, we see whether it's -- checked (whether its hilite property is true). If so, we add that -- checkbox's label - the name of its gemstone - to end of the list of menu -- items that we're going to use: if the hilite of control x of group "Gemstones" is true then put the label of control x of group "Gemstones" & return after myItems -- The "& return" puts each menu item on a separate line. end if An additional comment from me: The group ?Gemstones? ist here a group of controls of type checkbox. In the loop of the script the labels of the highlighted boxes are gathered in a list named myItems and later the text property of a menu button is set to this list of items. Now clicking this menu button will load the actual list of checked gemstones and will present them as options of the menu button. Later on you pick up the label-property of the menu button in a ?menuPick? event handler to get the users choice of the menu button. > I can change the script ?cases? with the ?set script? command, I?m sorry, but I can?t follow you, may be, because I?m a newbie as I said ;-) (What does the script ?cases? looks like and why and how change this script by ?set script? command?) -Beda Am 09.02.2016 um 20:44 schrieb Francis Nugent Dixon : > Hi from Sunny Brittany (at least it was this morning !), > > After many years of using buttons in my stacks, I am > discovering the joys of using ?Pull Down? menus (and > about time too !). > > I can change the script ?cases? with the ?set script? command, > but I also want to know how to change the value of the menu options > on the fly, for example, if I have a menu option ?Show Table? > in my button, once I have shown the table, how can I modify > the menu option to show ?Hide Table?, assuming that I also > set the case in the script to the new value, with new instructions. > > I thought that it was possible to modify any button/field options > on the fly, but I can?t grab the syntax of this requirement. > > I also see that the number of case entries is defined in the button > specs. Can I change this also, or do I just set a maximum value > > I know that Klaus has played with menus (seen on forums) > Maybe he has an answer ? > > -Francis > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Feb 10 14:25:55 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 10 Feb 2016 11:25:55 -0800 Subject: When is a GIF Finished Playing? In-Reply-To: <56BB86A5.1060808@LinkIt.Com> References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> Message-ID: I haven't done this in a long time, but in theory you should be able to compare the currentFrame of the GIF with the frameCount. if the currentFrame of img "myGif" = the frameCount of img "myGif" then answer "It's done" Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/10/16, 10:51 AM, "use-livecode on behalf of Ray" wrote: > Does anybody know of an easy way to tell whether a GIF file is playing > or not? > > If possible I'd like to avoid trying to write something involved using > the CurrentFrame and FrameCount properties. I'm not even sure how that > would be done. > > I'd rather have something like the sound() function, as in: > > on mouseUp > set the repeatCount of img myGif to 10 > repeat while gif(myImg) is not "done" > end repeat > answer "It's done!" > 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 ray at linkit.com Wed Feb 10 14:29:49 2016 From: ray at linkit.com (Ray) Date: Wed, 10 Feb 2016 14:29:49 -0500 Subject: When is a GIF Finished Playing? In-Reply-To: References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> Message-ID: <56BB8FAD.4020004@LinkIt.Com> Thanks Scott, but if you've set the RepeatCount to more than 1 and it's looping through the frames, twice for example, isn't there a possibility you'll get the CurrentFrame the same as the FrameCount too early? On 2/10/2016 2:25 PM, Scott Rossi wrote: > I haven't done this in a long time, but in theory you should be able to > compare the currentFrame of the GIF with the frameCount. > > if the currentFrame of img "myGif" = the frameCount of img "myGif" then > answer "It's done" > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > On 2/10/16, 10:51 AM, "use-livecode on behalf of Ray" > wrote: > >> Does anybody know of an easy way to tell whether a GIF file is playing >> or not? >> >> If possible I'd like to avoid trying to write something involved using >> the CurrentFrame and FrameCount properties. I'm not even sure how that >> would be done. >> >> I'd rather have something like the sound() function, as in: >> >> on mouseUp >> set the repeatCount of img myGif to 10 >> repeat while gif(myImg) is not "done" >> end repeat >> answer "It's done!" >> 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 brahma at hindu.org Wed Feb 10 14:48:56 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 10 Feb 2016 19:48:56 +0000 Subject: When is a GIF Finished Playing? In-Reply-To: <56BB8FAD.4020004@LinkIt.Com> References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> <56BB8FAD.4020004@LinkIt.Com> Message-ID: ? I have a similar need. Seems we can set the repeatCount, but I don?t see a way to test for ?currentLoop? Theoretically we need something like ? where I am making up an unknown prop called ?currentLoop": if (the currentFrame of img "myGif" = the frameCount of img ?myGif?) AND \ (the currentLoop of img ?myGif" = the repeatCount of img ?myGif") then answer ?Ok I am indeed done? end if On February 10, 2016 at 9:29:57 AM, Ray (ray at linkit.com(mailto:ray at linkit.com)) wrote: > Thanks Scott, but if you've set the RepeatCount to more than 1 and it's > looping through the frames, twice for example, isn't there a possibility > you'll get the CurrentFrame the same as the FrameCount too early? From monte at appisle.net Wed Feb 10 15:03:13 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 11 Feb 2016 07:03:13 +1100 Subject: [ANN] mergExt releases for iOS 9.2 In-Reply-To: References: <58B4A630-B5A4-4536-B338-6B3BECC4493B@appisle.net> Message-ID: <2D561443-B25E-4F1A-8FE5-CF1D15931B98@appisle.net> I'll try and add it to my deployment script before the next rebuild for an SDK. I'm guessing you want the option of either one big blob or just the individual files. The version numbers are a bit tricker given that at present that is the only place a version number appears. Sent from my iPhone > On 11 Feb 2016, at 1:07 AM, Mike Kerner wrote: > > For folks who buy the whole kit-and-kaboodle, a monolithic download with > the current versions of everything would be nice. From ray at linkit.com Wed Feb 10 15:06:23 2016 From: ray at linkit.com (Ray) Date: Wed, 10 Feb 2016 15:06:23 -0500 Subject: When is a GIF Finished Playing? In-Reply-To: References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> <56BB8FAD.4020004@LinkIt.Com> Message-ID: <56BB983F.3080707@LinkIt.Com> It would also be helpful if a message was sent each time a new frame is displayed. We could trap for those messages, count them, and go from there. On 2/10/2016 2:48 PM, Sannyasin Brahmanathaswami wrote: > > I have a similar need. > > Seems we can set the repeatCount, but I don?t see a way to test for ?currentLoop? > > Theoretically we need something like ? where I am making up an unknown prop called ?currentLoop": > > if (the currentFrame of img "myGif" = the frameCount of img ?myGif?) AND \ > (the currentLoop of img ?myGif" = the repeatCount of img ?myGif") > > then > > answer ?Ok I am indeed done? > > end if > > On February 10, 2016 at 9:29:57 AM, Ray (ray at linkit.com(mailto:ray at linkit.com)) wrote: > >> Thanks Scott, but if you've set the RepeatCount to more than 1 and it's >> looping through the frames, twice for example, isn't there a possibility >> you'll get the CurrentFrame the same as the FrameCount too early? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Feb 10 15:27:04 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 10 Feb 2016 21:27:04 +0100 Subject: Modifying Drop-Down Menus on the fly In-Reply-To: References: Message-ID: <02F58BAF-949A-4E46-8C8B-E83B5CD3FCC1@me.com> What you are looking for is: set the text of button ?myMenu? to ?myMenuList? This can be called in a variety of handlers, at the latest in a mouseDown handler in the menu button itself. Here is an example I used with my student the other day. They were supposed to make an application where the user should choose a starting point and an ending point for a journey, from a list of places along the route. This is a situation where you would like to filter out the starting point from the possible choices as ending point, and it is a good example of what you want to achieve. Here is a script in the menuPick handler in the first menu, that sets the options for the second menu: on menuPick pItemName put the text of me into tText repeat with i = 1 to the number of lines of tText if pItemName = line i of tText then delete line i of tText exit repeat end if end repeat set text of button "No 2" to tText show button "No 2" end menuPick This script could also be put in a mouseDown handler in the button called ?No 2? with som alterations: on mouseDown put the text of button ?No 1" into tText put the label of button ?No 1? into tStart repeat with i = 1 to the number of lines of tText if tStart = line i of tText then delete line i of tText exit repeat end if end repeat set text of button "No 2" to tText show button "No 2" end mouseDown The number of "case entries" (menuLines) for an option menu, only apply to Windows and Linux, as they will show the option menu as a combo-box. The menuLines property defines how many lines will be displayed in the drop down list of a combo-box, without the need for scrolling. The total number of items in the menu can be any number, as the user can scroll further down the list in the combo-box. Tore Nilsen > 9. feb. 2016 kl. 20.44 skrev Francis Nugent Dixon : > > Hi from Sunny Brittany (at least it was this morning !), > > After many years of using buttons in my stacks, I am > discovering the joys of using ?Pull Down? menus (and > about time too !). > > I can change the script ?cases? with the ?set script? command, > but I also want to know how to change the value of the menu options > on the fly, for example, if I have a menu option ?Show Table? > in my button, once I have shown the table, how can I modify > the menu option to show ?Hide Table?, assuming that I also > set the case in the script to the new value, with new instructions. > > I thought that it was possible to modify any button/field options > on the fly, but I can?t grab the syntax of this requirement. > > I also see that the number of case entries is defined in the button > specs. Can I change this also, or do I just set a maximum value > > I know that Klaus has played with menus (seen on forums) > Maybe he has an answer ? > > -Francis > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 10 15:41:33 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 10 Feb 2016 15:41:33 -0500 Subject: [ANN] mergExt releases for iOS 9.2 In-Reply-To: <2D561443-B25E-4F1A-8FE5-CF1D15931B98@appisle.net> References: <58B4A630-B5A4-4536-B338-6B3BECC4493B@appisle.net> <2D561443-B25E-4F1A-8FE5-CF1D15931B98@appisle.net> Message-ID: At least for me, I'd take just the blob - consider it a compromise for getting a blob. The version number could appear in an index, or release notes, perhaps? Otherwise we might have to do something to the Copy Files feature in LC. I understand there will be cases where someone will want to get some sort of warning instead of just installing the latest and greatest, so maybe the idea can/should be addressed via a different mechanism. On Wed, Feb 10, 2016 at 3:03 PM, Monte Goulding wrote: > I'll try and add it to my deployment script before the next rebuild for an > SDK. I'm guessing you want the option of either one big blob or just the > individual files. The version numbers are a bit tricker given that at > present that is the only place a version number appears. > > Sent from my iPhone > > > On 11 Feb 2016, at 1:07 AM, Mike Kerner > wrote: > > > > For folks who buy the whole kit-and-kaboodle, a monolithic download with > > the current versions of everything would be nice. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 colinholgate at gmail.com Wed Feb 10 16:01:24 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 10 Feb 2016 16:01:24 -0500 Subject: Force Phone-Sized Stack on iPad Simulator? In-Reply-To: References: <584AE446-A3D1-42CB-BC72-CC6FC3ABBB43@gmail.com> Message-ID: <74A00107-328C-45AE-B7CE-DE32184103F2@gmail.com> I wonder if that has changed recently? I was testing an app, and seemed to be able to switch hardware, and it was still there. It was on page two, so I had to scroll over to that, and also scroll the page down to reach it on the iPad Pro setting. > On Feb 10, 2016, at 11:59 AM, Scott Rossi wrote: > > The standalone stack never gets copied to the correct simulator, so > there's no way to view the stack. > > I needed to choose the iPad simulator under Test Target first. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/10/16, 8:35 AM, "use-livecode on behalf of Colin Holgate" > colinholgate at gmail.com> wrote: > >> What happens if you go to the Hardware/Device menu, and choose iPad >> Retina? >> >> >>> On Feb 10, 2016, at 11:22 AM, Scott Rossi >>> wrote: >>> >>> Thinking I've seen this before but can't find it... For iOS, is there a >>> way to test a stack with iPhone 5 dimensions on the iPad simulator? >>> Every >>> time I test with the simulator hardware set to iPad Retina, the >>> simulator >>> switches to iPhone 4 before displaying the stack. >>> >>> Am using the 8.2 simulator, not the latest, if that matters. >>> >>> Thanks & Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Feb 10 16:06:32 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 10 Feb 2016 13:06:32 -0800 Subject: When is a GIF Finished Playing? In-Reply-To: <56BB983F.3080707@LinkIt.Com> References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> <56BB8FAD.4020004@LinkIt.Com> <56BB983F.3080707@LinkIt.Com> Message-ID: If you want the GIF to stop playing when it reaches the last frame, why wouldn't you set the repeatCount to 1? If your GIF can play multiple times through (repeatCount = -1), then I believe the only way you can track its frames is to poll it, with a frequency that slightly exceeds its frame delay. Try running a loop while the GIF is playing, maybe something like: # GIF WITH 10 MS FRAME DELAY on mouseUp set the repeatCount of img "myGif" to -1 trackPlayback end mouseUp on trackPlayback if the currentFrame of img "myGif" > (the frameCount of img "myGif" - 1) then set the repeatCount of img "myGif" to 0 set the currentFrame of img "myGif" to the frameCount of img "myGif" -- just to be sure exit trackPlayback end if send "trackPlayback" to me in 8 millisecs end trackPlayback Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/10/16, 12:06 PM, "use-livecode on behalf of Ray" wrote: > It would also be helpful if a message was sent each time a new frame is > displayed. We could trap for those messages, count them, and go from there. > > On 2/10/2016 2:48 PM, Sannyasin Brahmanathaswami wrote: >> >> I have a similar need. >> >> Seems we can set the repeatCount, but I don?t see a way to test for >> ?currentLoop? >> >> Theoretically we need something like ? where I am making up an unknown prop >> called ?currentLoop": >> >> if (the currentFrame of img "myGif" = the frameCount of img ?myGif?) AND \ >> (the currentLoop of img ?myGif" = the repeatCount of img ?myGif") >> >> then >> >> answer ?Ok I am indeed done? >> >> end if >> >> On February 10, 2016 at 9:29:57 AM, Ray >> (ray at linkit.com(mailto:ray at linkit.com)) wrote: >> >>> Thanks Scott, but if you've set the RepeatCount to more than 1 and it's >>> looping through the frames, twice for example, isn't there a possibility >>> you'll get the CurrentFrame the same as the FrameCount too early? >> From bernd.niggemann at uni-wh.de Wed Feb 10 15:46:56 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 10 Feb 2016 12:46:56 -0800 (PST) Subject: When is a GIF Finished Playing? In-Reply-To: <56BB8FAD.4020004@LinkIt.Com> References: <568CF244.1070101@gmail.com> <568D38F4.9050306@fourthworld.com> <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> <56BB8FAD.4020004@LinkIt.Com> Message-ID: <1455137216491-4701009.post@n4.nabble.com> Hi Ray, not pretty but seems to work: ---------------------------------------- local sGifName local sLastFrame local sRepeatTimesFrames local sCount on mouseUp put "myGif" into sGifName put the currentFrame of img sGifName into sLastFrame put 7 into tRepeatCount put tRepeatCount * the frameCount of img sGifName into sRepeatTimesFrames put 0 into sCount put the milliseconds into sMS set the repeatCount of img sGifName to tRepeatCount send "checkGifAnimation" to me in 0 milliseconds end mouseUp on checkGifAnimation if "checkGifAnimation" is in the pendingMessages then exit checkGifAnimation if the optionKey is down then exit checkGifAnimation -- just a precaution put the currentFrame of img sGifName into tCurrFrame if tCurrFrame <> sLastFrame then add 1 to sCount put tCurrFrame into sLastFrame if sCount >= sRepeatTimesFrames then answer "Animation Stopped" exit checkGifAnimation end if end if send "checkGifAnimation" to me in 40 milliseconds -- 40 ms seems to be plenty end checkGifAnimation ---------------------------------------- Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Motion-Graphic-in-LiveCode-tp4682250p4701009.html Sent from the Revolution - User mailing list archive at Nabble.com. From hh at livecode.org Wed Feb 10 16:20:50 2016 From: hh at livecode.org (-hh) Date: Wed, 10 Feb 2016 22:20:50 +0100 Subject: When is a GIF Finished Playing? Message-ID: <3620EEA8-2F97-443A-8E87-6FA3C48340D3@livecode.org> Scott R. wrote: > If you want the GIF to stop playing when it reaches the last frame, why > wouldn't you set the repeatCount to 1? > > If your GIF can play multiple times through (repeatCount = -1), then I > believe the only way you can track its frames is to poll it, with a > frequency that slightly exceeds its frame delay. Try running a loop while > the GIF is playing, maybe something like: > > # GIF WITH 10 MS FRAME DELAY > > on mouseUp > set the repeatCount of img "myGif" to -1 > trackPlayback > end mouseUp > > on trackPlayback > if the currentFrame of img "myGif" > (the frameCount of img "myGif" - 1) > then > set the repeatCount of img "myGif" to 0 > set the currentFrame of img "myGif" to the frameCount of img "myGif" > -- just to be sure > exit trackPlayback > end if > send "trackPlayback" to me in 8 millisecs > end trackPlayback I'm currently working on a LC stack, that runs animated pictures (from screenShots) on Raspi, because GIF animation is sometimes unreliable there. LC is pretty good with that even if one does this by setting filenames of the frames. So I could compare for myself: If you do such a polling as above then it is LESS effort for the CPU and you have moreover FULL control on the animation if you do it by yourself: SPLIT the gif into it's frames as GIF, PNG or whatever (there are online-tools for that) and animate them by send "handler" . You can then even play parts of the original GIF (adjust by that to differnet CPUs), zoom single frames and and ... From ray at linkit.com Wed Feb 10 16:28:19 2016 From: ray at linkit.com (Ray) Date: Wed, 10 Feb 2016 16:28:19 -0500 Subject: When is a GIF Finished Playing? In-Reply-To: References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> <56BB8FAD.4020004@LinkIt.Com> <56BB983F.3080707@LinkIt.Com> Message-ID: <56BBAB73.2040802@LinkIt.Com> Hi Scott - In my case I let my users decide how many times the GIF cycles, so it more than likely will be more than once through, but not infinitely as in -1. I like your second option, below, but how are you getting the GIF's frame delay? Did I miss that Livecode property somewhere? On 2/10/2016 4:06 PM, Scott Rossi wrote: > If you want the GIF to stop playing when it reaches the last frame, why > wouldn't you set the repeatCount to 1? > > If your GIF can play multiple times through (repeatCount = -1), then I > believe the only way you can track its frames is to poll it, with a > frequency that slightly exceeds its frame delay. Try running a loop while > the GIF is playing, maybe something like: > > # GIF WITH 10 MS FRAME DELAY > > on mouseUp > set the repeatCount of img "myGif" to -1 > trackPlayback > end mouseUp > > on trackPlayback > if the currentFrame of img "myGif" > (the frameCount of img "myGif" - 1) > then > set the repeatCount of img "myGif" to 0 > set the currentFrame of img "myGif" to the frameCount of img "myGif" > -- just to be sure > exit trackPlayback > end if > send "trackPlayback" to me in 8 millisecs > end trackPlayback > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > On 2/10/16, 12:06 PM, "use-livecode on behalf of Ray" > wrote: > >> It would also be helpful if a message was sent each time a new frame is >> displayed. We could trap for those messages, count them, and go from there. >> >> On 2/10/2016 2:48 PM, Sannyasin Brahmanathaswami wrote: >>> >>> I have a similar need. >>> >>> Seems we can set the repeatCount, but I don?t see a way to test for >>> ?currentLoop? >>> >>> Theoretically we need something like ? where I am making up an unknown prop >>> called ?currentLoop": >>> >>> if (the currentFrame of img "myGif" = the frameCount of img ?myGif?) AND \ >>> (the currentLoop of img ?myGif" = the repeatCount of img ?myGif") >>> >>> then >>> >>> answer ?Ok I am indeed done? >>> >>> end if >>> >>> On February 10, 2016 at 9:29:57 AM, Ray >>> (ray at linkit.com(mailto:ray at linkit.com)) wrote: >>> >>>> Thanks Scott, but if you've set the RepeatCount to more than 1 and it's >>>> looping through the frames, twice for example, isn't there a possibility >>>> you'll get the CurrentFrame the same as the FrameCount too early? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Wed Feb 10 16:35:56 2016 From: ray at linkit.com (Ray) Date: Wed, 10 Feb 2016 16:35:56 -0500 Subject: When is a GIF Finished Playing? In-Reply-To: <1455137216491-4701009.post@n4.nabble.com> References: <568CF244.1070101@gmail.com> <568D38F4.9050306@fourthworld.com> <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> <56BB8FAD.4020004@LinkIt.Com> <1455137216491-4701009.post@n4.nabble.com> Message-ID: <56BBAD3C.6070502@LinkIt.Com> Bernd - thanks for this idea. Yes, it's a little sticky but if nothing else comes along I might be able to massage it somewhat. On 2/10/2016 3:46 PM, BNig wrote: > Hi Ray, > > not pretty but seems to work: > > ---------------------------------------- > local sGifName > local sLastFrame > local sRepeatTimesFrames > local sCount > > on mouseUp > put "myGif" into sGifName > put the currentFrame of img sGifName into sLastFrame > put 7 into tRepeatCount > put tRepeatCount * the frameCount of img sGifName into sRepeatTimesFrames > put 0 into sCount > put the milliseconds into sMS > set the repeatCount of img sGifName to tRepeatCount > send "checkGifAnimation" to me in 0 milliseconds > end mouseUp > > on checkGifAnimation > if "checkGifAnimation" is in the pendingMessages then exit > checkGifAnimation > if the optionKey is down then exit checkGifAnimation -- just a precaution > put the currentFrame of img sGifName into tCurrFrame > if tCurrFrame <> sLastFrame then > add 1 to sCount > put tCurrFrame into sLastFrame > if sCount >= sRepeatTimesFrames then > answer "Animation Stopped" > exit checkGifAnimation > end if > end if > send "checkGifAnimation" to me in 40 milliseconds -- 40 ms seems to be > plenty > end checkGifAnimation > ---------------------------------------- > > Kind regards > Bernd > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Motion-Graphic-in-LiveCode-tp4682250p4701009.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 brahma at hindu.org Wed Feb 10 16:39:09 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 10 Feb 2016 21:39:09 +0000 Subject: When is a GIF Finished Playing? In-Reply-To: <56BBAB73.2040802@LinkIt.Com> References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> <56BB8FAD.4020004@LinkIt.Com> <56BB983F.3080707@LinkIt.Com> <56BBAB73.2040802@LinkIt.Com> Message-ID: These methods work, of course, but surprisely ?horsey? for something that should be easy. Assuming that the engineers are not following this thread, or at least not jumping in with solutions. I added this enhancement request. ________________________________ http://quality.livecode.com/show_bug.cgi?id=16907 - We need a way to check of a looping Animated Gif is finished playing (edit) If there *is* a simple way, under the engine hood, to get the currentRepeatLoop, I guess the mothership crew will tell us. BR On February 10, 2016 at 11:28:35 AM, Ray (ray at linkit.com) wrote: Hi Scott - In my case I let my users decide how many times the GIF cycles, so it more than likely will be more than once through, but not infinitely as in -1. I like your second option, below, but how are you getting the GIF's frame delay? Did I miss that Livecode property somewhere? From stephenREVOLUTION2 at barncard.com Wed Feb 10 16:41:15 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 10 Feb 2016 13:41:15 -0800 Subject: lock and unlock files from script? - Mac options In-Reply-To: References: Message-ID: DOUBLE thanks hh. I can use all three component parts. I prefer to assert and de-assert to certain files in certain folders rather than toggle the flag. The flag reading tip is a bonus. On Wed, Feb 10, 2016 at 8:14 AM, [-hh] wrote: > TMHO, such threads should end -- if available -- with a full > working solution. Perhaps somebody can use this, for example > me, in half a year :-) > Stephen Barncard - Sebastopol Ca. USA - mixstream.org From ray at linkit.com Wed Feb 10 16:52:29 2016 From: ray at linkit.com (Ray) Date: Wed, 10 Feb 2016 16:52:29 -0500 Subject: When is a GIF Finished Playing? In-Reply-To: References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> <56BB8FAD.4020004@LinkIt.Com> <56BB983F.3080707@LinkIt.Com> <56BBAB73.2040802@LinkIt.Com> Message-ID: <56BBB11D.4030207@LinkIt.Com> BR - thanks for filing this report. I guess we'll see if any of the LC team have time to accommodate this. On 2/10/2016 4:39 PM, Sannyasin Brahmanathaswami wrote: > These methods work, of course, but surprisely ?horsey? for something that should be easy. > > Assuming that the engineers are not following this thread, or at least not jumping in with solutions. > > I added this enhancement request. > ________________________________ > http://quality.livecode.com/show_bug.cgi?id=16907 - We need a way to check of a looping Animated Gif is finished playing (edit) > > If there *is* a simple way, under the engine hood, to get the currentRepeatLoop, I guess the mothership crew will tell us. > > BR > > > > On February 10, 2016 at 11:28:35 AM, Ray (ray at linkit.com) wrote: > > Hi Scott - In my case I let my users decide how many times the GIF > cycles, so it more than likely will be more than once through, but not > infinitely as in -1. I like your second option, below, but how are you > getting the GIF's frame delay? Did I miss that Livecode property somewhere? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Feb 10 17:00:52 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 10 Feb 2016 14:00:52 -0800 Subject: When is a GIF Finished Playing? In-Reply-To: <56BBAB73.2040802@LinkIt.Com> References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> <56BB8FAD.4020004@LinkIt.Com> <56BB983F.3080707@LinkIt.Com> <56BBAB73.2040802@LinkIt.Com> Message-ID: Nope, you just have to "know" :-) -HH makes a good point that I forgot about: if you control the playback yourself, setting the GIF's currentFrame every so many millisecs, you'll always know which frame you're on in the GIF. This will work for most GIFs, but can mess up playback of GIFs that use varying frame delays since timing will differ from how the GIF was originally authored. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/10/16, 1:28 PM, "use-livecode on behalf of Ray" wrote: >Hi Scott - In my case I let my users decide how many times the GIF >cycles, so it more than likely will be more than once through, but not >infinitely as in -1. I like your second option, below, but how are you >getting the GIF's frame delay? Did I miss that Livecode property >somewhere? > >On 2/10/2016 4:06 PM, Scott Rossi wrote: >> If you want the GIF to stop playing when it reaches the last frame, why >> wouldn't you set the repeatCount to 1? >> >> If your GIF can play multiple times through (repeatCount = -1), then I >> believe the only way you can track its frames is to poll it, with a >> frequency that slightly exceeds its frame delay. Try running a loop >>while >> the GIF is playing, maybe something like: >> >> # GIF WITH 10 MS FRAME DELAY >> >> on mouseUp >> set the repeatCount of img "myGif" to -1 >> trackPlayback >> end mouseUp >> >> on trackPlayback >> if the currentFrame of img "myGif" > (the frameCount of img "myGif" >>- 1) >> then >> set the repeatCount of img "myGif" to 0 >> set the currentFrame of img "myGif" to the frameCount of img >>"myGif" >> -- just to be sure >> exit trackPlayback >> end if >> send "trackPlayback" to me in 8 millisecs >> end trackPlayback >> >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> On 2/10/16, 12:06 PM, "use-livecode on behalf of Ray" >> >>wrote: >> >>> It would also be helpful if a message was sent each time a new frame is >>> displayed. We could trap for those messages, count them, and go from >>>there. >>> >>> On 2/10/2016 2:48 PM, Sannyasin Brahmanathaswami wrote: >>>> >>>> I have a similar need. >>>> >>>> Seems we can set the repeatCount, but I don?t see a way to test for >>>> ?currentLoop? >>>> >>>> Theoretically we need something like ? where I am making up an >>>>unknown prop >>>> called ?currentLoop": >>>> >>>> if (the currentFrame of img "myGif" = the frameCount of img >>>>?myGif?) AND \ >>>> (the currentLoop of img ?myGif" = the repeatCount of img ?myGif") >>>> >>>> then >>>> >>>> answer ?Ok I am indeed done? >>>> >>>> end if >>>> >>>> On February 10, 2016 at 9:29:57 AM, Ray >>>> (ray at linkit.com(mailto:ray at linkit.com)) wrote: >>>> >>>>> Thanks Scott, but if you've set the RepeatCount to more than 1 and >>>>>it's >>>>> looping through the frames, twice for example, isn't there a >>>>>possibility >>>>> you'll get the CurrentFrame the same as the FrameCount too early? >> From prothero at earthednet.org Wed Feb 10 17:39:19 2016 From: prothero at earthednet.org (William Prothero) Date: Wed, 10 Feb 2016 14:39:19 -0800 Subject: Set textfont color in IDE? LC8DP14 Message-ID: Folks: I notice there is no way to set the textfont color of text in a field, in the project browser in LC8Dp14. Is this intentional? I can set it in the toolbar menu, but it seems an omission in the IDE. Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From hh at livecode.org Wed Feb 10 17:59:10 2016 From: hh at livecode.org (-hh) Date: Wed, 10 Feb 2016 23:59:10 +0100 Subject: When is a GIF Finished Playing? Message-ID: <3349ECC5-2BD4-45AB-B533-15F9BF89BDBC@livecode.org> Scott R. wrote: > -HH makes a good point that I forgot about: if you control the playback > yourself, setting the GIF's currentFrame every so many millisecs, you'll > always know which frame you're on in the GIF. This will work for most > GIFs, but can mess up playback of GIFs that use varying frame delays since > timing will differ from how the GIF was originally authored. Let me add these considerations regarding 'frame delay' by DIY: == Advantage: We can use the given times or adjust to current 'environment'on the fly if we control the animation by ourselves. For example change the frame every *full next* 50 millisecs by send "handler" to me in 50 millisecs - (the millisecs mod 50) millisecs This holds the animation "in rhythm" and doesn't buffer and spit out at once the 'waiting frames' -- as some browsers and GIF players do. == I use to look at (and edit) frames delay with GraphicConverter. As you say, most gifs (here 99%) use the same delay for all frames, much too short for usage in HTML5 standalones. == Regarding frame delays in general, especially usage of gifs in HTML5, this will be a real ('cross-browser') problem: "The problem seems to be that many browsers will ignore very short per-frame delays and ***replace them with a default delay*** (often 0.1 secs). And the cutoff for what counts as a "very short" delay varies between browsers: Firefox apparently accepts anything down to 0.02 seconds per frame, while IE ignores delays below 0.06 seconds per frame." [Source: seen at webmasters.stackexchange.com, stars set by me.] From jacque at hyperactivesw.com Wed Feb 10 17:59:32 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Feb 2016 16:59:32 -0600 Subject: When is a GIF Finished Playing? In-Reply-To: References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> <56BB8FAD.4020004@LinkIt.Com> <56BB983F.3080707@LinkIt.Com> <56BBAB73.2040802@LinkIt.Com> Message-ID: <56BBC0D4.60506@hyperactivesw.com> I had to manage gif playback manually once. It worked well to just set the currentframe repeatedly, ignoring auto-playback entirely. That way you can keep track of how many cycles you've done and you can control the speed of playback by changing the "send in time" frequency. You always know what frame you're on because the script sets it. I didn't bother to load individual images, just setting the currentframe worked okay. On 2/10/2016 4:00 PM, Scott Rossi wrote: > Nope, you just have to "know" :-) > > -HH makes a good point that I forgot about: if you control the playback > yourself, setting the GIF's currentFrame every so many millisecs, you'll > always know which frame you're on in the GIF. This will work for most > GIFs, but can mess up playback of GIFs that use varying frame delays since > timing will differ from how the GIF was originally authored. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Wed Feb 10 18:23:18 2016 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 10 Feb 2016 23:23:18 +0000 Subject: No audio playback on iOS devices Message-ID: I?ve been testing some small apps that I use in my class on iOS devices. I?m finding that my apps fail to play audio files. It doesn?t seem to matter if I use a simple ?play? command or the ?mobilePlaySoundOnChannel? command. I?m on Mac Yosemite 10.10.5, and I?ve tried building with LC 7.1.1, 7.1.2 RC2, and 8.0DP14. I?ve tried it on iOS 9.2 and 8.3 on several different iOS devices. It works on the iOS simulator. It works on Android. I have verified that the audio assets are copied successfully to the app bundle. Other external assets, like image files, show up properly in the app. iOS devices are not muted. I have built apps for iOS in the past and audio playback has worked without problems. Am I missing something? Has anyone else run into this? Devin Devin Asay Office of Digital Humanities Brigham Young University From scott at tactilemedia.com Wed Feb 10 18:53:53 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 10 Feb 2016 15:53:53 -0800 Subject: No audio playback on iOS devices In-Reply-To: References: Message-ID: What audio format? Any unusual encoding? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/10/16, 3:23 PM, "use-livecode on behalf of Devin Asay" wrote: >I?ve been testing some small apps that I use in my class on iOS devices. >I?m finding that my apps fail to play audio files. It doesn?t seem to >matter if I use a simple ?play? command or the ?mobilePlaySoundOnChannel? >command. I?m on Mac Yosemite 10.10.5, and I?ve tried building with LC >7.1.1, 7.1.2 RC2, and 8.0DP14. I?ve tried it on iOS 9.2 and 8.3 on >several different iOS devices. > >It works on the iOS simulator. >It works on Android. >I have verified that the audio assets are copied successfully to the app >bundle. Other external assets, like image files, show up properly in the >app. >iOS devices are not muted. > >I have built apps for iOS in the past and audio playback has worked >without problems. > >Am I missing something? Has anyone else run into this? > >Devin > > >Devin Asay >Office of Digital Humanities >Brigham Young University From iowahengst at mac.com Wed Feb 10 19:29:49 2016 From: iowahengst at mac.com (Randy Hengst) Date: Wed, 10 Feb 2016 18:29:49 -0600 Subject: No audio playback on iOS devices In-Reply-To: References: Message-ID: <67AC616D-2A5E-4610-89F5-66F1D38B902D@mac.com> When I?ve had this problem, it?s because I didn?t pay attention to the name of the sounds files? I?m pretty sure iOS is case sensitive. I called a name without matching case. I can?t remember if the sounds played on the simulator and then failed on the device like you stated? just a thought. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Feb 10, 2016, at 5:23 PM, Devin Asay wrote: > > I?ve been testing some small apps that I use in my class on iOS devices. I?m finding that my apps fail to play audio files. It doesn?t seem to matter if I use a simple ?play? command or the ?mobilePlaySoundOnChannel? command. I?m on Mac Yosemite 10.10.5, and I?ve tried building with LC 7.1.1, 7.1.2 RC2, and 8.0DP14. I?ve tried it on iOS 9.2 and 8.3 on several different iOS devices. > > It works on the iOS simulator. > It works on Android. > I have verified that the audio assets are copied successfully to the app bundle. Other external assets, like image files, show up properly in the app. > iOS devices are not muted. > > I have built apps for iOS in the past and audio playback has worked without problems. > > Am I missing something? Has anyone else run into this? > > Devin > > > Devin Asay > 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 ray at linkit.com Wed Feb 10 19:31:42 2016 From: ray at linkit.com (Ray) Date: Wed, 10 Feb 2016 19:31:42 -0500 Subject: When is a GIF Finished Playing? In-Reply-To: <56BBC0D4.60506@hyperactivesw.com> References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> <56BB8FAD.4020004@LinkIt.Com> <56BB983F.3080707@LinkIt.Com> <56BBAB73.2040802@LinkIt.Com> <56BBC0D4.60506@hyperactivesw.com> Message-ID: <56BBD66E.209@LinkIt.Com> Guys - thanks for this input. I'm going to experiment with 'rolling my own' GIF player as suggested. I guess I was just looking for an easy way out. There's a lot of time based events happening simultaneously in the project I'm working on so I'm already relying heavily on 'send' commands to get around Livecode's single thread environment. I also have code which detects when end users interrupt a sequence of time based events so there's one more thing to code for, but it shouldn't be too hard. Thanks again, Ray On 2/10/2016 5:59 PM, J. Landman Gay wrote: > I had to manage gif playback manually once. It worked well to just set > the currentframe repeatedly, ignoring auto-playback entirely. That way > you can keep track of how many cycles you've done and you can control > the speed of playback by changing the "send in time" frequency. You > always know what frame you're on because the script sets it. > > I didn't bother to load individual images, just setting the > currentframe worked okay. > > On 2/10/2016 4:00 PM, Scott Rossi wrote: >> Nope, you just have to "know" :-) >> >> -HH makes a good point that I forgot about: if you control the playback >> yourself, setting the GIF's currentFrame every so many millisecs, you'll >> always know which frame you're on in the GIF. This will work for most >> GIFs, but can mess up playback of GIFs that use varying frame delays >> since >> timing will differ from how the GIF was originally authored. > > From devin_asay at byu.edu Wed Feb 10 21:47:02 2016 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 11 Feb 2016 02:47:02 +0000 Subject: No audio playback on iOS devices In-Reply-To: References: , Message-ID: <26638369-6EDB-4528-B229-8E372A7FF195@byu.edu> Nothing special, just MP3 and wav files. I've even use them in past projects and they worked fine. Sent from my iPhone > On Feb 10, 2016, at 4:54 PM, Scott Rossi wrote: > > What audio format? Any unusual encoding? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/10/16, 3:23 PM, "use-livecode on behalf of Devin Asay" > > wrote: > >> I?ve been testing some small apps that I use in my class on iOS devices. >> I?m finding that my apps fail to play audio files. It doesn?t seem to >> matter if I use a simple Oplay? command or the OmobilePlaySoundOnChannel? >> command. I?m on Mac Yosemite 10.10.5, and I?ve tried building with LC >> 7.1.1, 7.1.2 RC2, and 8.0DP14. I?ve tried it on iOS 9.2 and 8.3 on >> several different iOS devices. >> >> It works on the iOS simulator. >> It works on Android. >> I have verified that the audio assets are copied successfully to the app >> bundle. Other external assets, like image files, show up properly in the >> app. >> iOS devices are not muted. >> >> I have built apps for iOS in the past and audio playback has worked >> without problems. >> >> Am I missing something? Has anyone else run into this? >> >> Devin >> >> >> Devin Asay >> 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 Wed Feb 10 22:32:20 2016 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 11 Feb 2016 03:32:20 +0000 Subject: No audio playback on iOS devices In-Reply-To: <67AC616D-2A5E-4610-89F5-66F1D38B902D@mac.com> References: , <67AC616D-2A5E-4610-89F5-66F1D38B902D@mac.com> Message-ID: You might be right, Randy. I've actually been bitten by this before, but I didn't think to check that in this case. I'll have a look at it when I get back to my computer. Thanks, Devin Sent from my iPhone > On Feb 10, 2016, at 5:30 PM, Randy Hengst wrote: > > When I?ve had this problem, it?s because I didn?t pay attention to the name of the sounds files? I?m pretty sure iOS is case sensitive. I called a name without matching case. I can?t remember if the sounds played on the simulator and then failed on the device like you stated? just a thought. > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.com > > >> On Feb 10, 2016, at 5:23 PM, Devin Asay wrote: >> >> I?ve been testing some small apps that I use in my class on iOS devices. I?m finding that my apps fail to play audio files. It doesn?t seem to matter if I use a simple ?play? command or the ?mobilePlaySoundOnChannel? command. I?m on Mac Yosemite 10.10.5, and I?ve tried building with LC 7.1.1, 7.1.2 RC2, and 8.0DP14. I?ve tried it on iOS 9.2 and 8.3 on several different iOS devices. >> >> It works on the iOS simulator. >> It works on Android. >> I have verified that the audio assets are copied successfully to the app bundle. Other external assets, like image files, show up properly in the app. >> iOS devices are not muted. >> >> I have built apps for iOS in the past and audio playback has worked without problems. >> >> Am I missing something? Has anyone else run into this? >> >> Devin >> >> >> Devin Asay >> Office of Digital Humanities >> Brigham Young University >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Thu Feb 11 02:28:30 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 11 Feb 2016 08:28:30 +0100 Subject: Set textfont color in =?UTF-8?Q?IDE=3F=20LC=38DP=31=34?= In-Reply-To: References: Message-ID: <60ee7bcd98ac7060b5ec7040b7576d15@livecode.com> On 2016-02-10 23:39, William Prothero wrote: > Folks: > I notice there is no way to set the textfont color of text in a field, > in the project browser in LC8Dp14. Is this intentional? I can set it > in the toolbar menu, but it seems an omission in the IDE. Hi Bill, If you could set the font color of field text using the LiveCode 7 project browser, and you can no longer do that in LiveCode 8, then yes, it's a bug - and please file a bug report! (Unfortunately, I'm on a machine that doesn't have a wide variety of LiveCode IDEs installed, so I can't check right now). Thanks, Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit! From peter.brett at livecode.com Thu Feb 11 02:31:07 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 11 Feb 2016 08:31:07 +0100 Subject: When is a GIF Finished =?UTF-8?Q?Playing=3F?= In-Reply-To: <56BBB11D.4030207@LinkIt.Com> References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> <56BB86A5.1060808@LinkIt.Com> <56BB8FAD.4020004@LinkIt.Com> <56BB983F.3080707@LinkIt.Com> <56BBAB73.2040802@LinkIt.Com> <56BBB11D.4030207@LinkIt.Com> Message-ID: <1e952f498e94251f3bc910f38e33f634@livecode.com> On 2016-02-10 22:52, Ray wrote: > BR - thanks for filing this report. I guess we'll see if any of the > LC team have time to accommodate this. Probably not before LiveCode 8.0, and the LiveCode 8.1 development cycle is filling up pretty fast too. All y'all make quite a lot of feature requests. ;-) Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit! From benr_mc at cogapp.com Thu Feb 11 05:26:59 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 11 Feb 2016 10:26:59 +0000 Subject: [ANN] mergExt releases for iOS 9.2 In-Reply-To: References: <58B4A630-B5A4-4536-B338-6B3BECC4493B@appisle.net> <413F5E01-DEFA-4569-914E-A7D3A16AF4FA@gmail.com> Message-ID: <56BC61F3.5050706@cogapp.com> Noooo.... -1! On 10/02/2016 15:41, Mike Kerner wrote: > The other thing that would be nice would be to maybe have the new versions > not be marked with the version number. I realize that can be dangerous, > but for every app, I have to go into Copy Files for every external and > point to the new one. When I forget (especially if I haven't done a new > build in a while), that means at least one "whoops" build. I strongly disagree. I'd much rather have control and know exactly which version I'm using with each application. Admittedly in this case the changes may be mostly invisible tweaks to accomodate iOS differences, but stuff always needs testing, and there can easily be unexpected effects. I'd much rather have to do a small amount of deliberate work upfront when I want to switch to a new version, than have to spend more time diagnosing mysterious behaviour when I did it without meaning to. That's especially going to happen to an app where I haven't done a new build in a while. My feature request, on the contrary, would be for for Monte to add a standard "mergVersion" function to every external in the suite, so that we can always verify exactly what we've got (and so that app error reports, for example, can include this information by default). My AUS$ 0.02, Ben From effendi at wanadoo.fr Thu Feb 11 06:19:47 2016 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 11 Feb 2016 12:19:47 +0100 Subject: Modifying Drop-Down Menus on the fly Message-ID: Hi from sunny Brittany, Thanks to Eric, Phil, Beda and especially Tore. I was so used to using keywords in button definitions to modify button parameters, that I didn't even look up "Menu" in the dictionary (Can't see the wood for the trees ?) Tore gave me little script routines which I can adapt to my requirements (great stuff !) Beda asked me a question in return (I said I could modify script "cases" with no problems) - a little vague !!!! You can change the script of a button completely with the command : set the script of button "abc" to field "xyz" (or a preset variable). Some of my menu button scripts contain "case" commands (which is what I meant .....). I change script content in my fields ** and buttons very often, to do rather tortuous things (which I will not describe here !) Now I am starting to do the same with "Drop-Down" menus. This is just the beginning ............. ** Beda, you can define a script for a field, lock the field and it works like a button when you click on it (it can be useful !) Best Regards to all -Francis From richmondmathewson at gmail.com Thu Feb 11 06:55:55 2016 From: richmondmathewson at gmail.com (RM) Date: Thu, 11 Feb 2016 13:55:55 +0200 Subject: Release 8.0 DP 14 In-Reply-To: <56B4CEC2.10107@gmail.com> References: <56B406D3.6040806@fourthworld.com> <009401d16032$084165f0$18c431d0$@net> <56B4CEC2.10107@gmail.com> Message-ID: <56BC76CB.70105@gmail.com> I was playing around with LiveCode 8.0 DP 14 on Windows 7 VMware (as one does when life gets a bit tedious on the Linux side: I suppose it's because there is none of the excitement of ransomware, viruses, Trojan horses and so on) and could not help but notice [pomposity at its best] that the revDictionary stack can be resized vertically, but its width is stuck permanently at 1010 pixels: This is, frankly, a bit silly: especially if you are "VDU challenged" and stuck with a 1024 x 768 monitor. It is well-nigh impossible to do some development work and consult the Dictionary at the same time. I suppose this should be popped in the Bug reporting system . . . Bug 16910 Richmond. From hh at livecode.org Thu Feb 11 08:15:51 2016 From: hh at livecode.org (-hh) Date: Thu, 11 Feb 2016 14:15:51 +0100 Subject: Set textfont color in IDE? LC8DP14 Message-ID: <5978B1A5-725A-455D-8D32-8824CB6ED839@livecode.org> I'm used to set the 'global' text color of a field by the Property Inspector by setting the textColor (synonym foreColor) and set the color of chunks of text by script or menu. I've never been able to set the color of text (or parts of text) in Project Browser or Application Browser. Please tell me, how did you achieve that? > > Will P. wrote: Folks: > > I notice there is no way to set the textfont color of text in a field, > > in the project browser in LC8Dp14. Is this intentional? I can set it > > in the toolbar menu, but it seems an omission in the IDE. > > Peter B. wrote: > Hi Bill, > If you could set the font color of field text using the LiveCode 7 > project browser, and you can no longer do that in LiveCode 8, then yes, > it's a bug - and please file a bug report! From klaus at major-k.de Thu Feb 11 08:19:38 2016 From: klaus at major-k.de (Klaus major-k) Date: Thu, 11 Feb 2016 14:19:38 +0100 Subject: Set textfont color in IDE? LC8DP14 In-Reply-To: <60ee7bcd98ac7060b5ec7040b7576d15@livecode.com> References: <60ee7bcd98ac7060b5ec7040b7576d15@livecode.com> Message-ID: <93F5663E-BABD-44EA-BCE1-A11C43C5113F@major-k.de> Hi all, > Am 11.02.2016 um 08:28 schrieb Peter TB Brett : > > On 2016-02-10 23:39, William Prothero wrote: >> Folks: >> I notice there is no way to set the textfont color of text in a field, >> in the project browser in LC8Dp14. Is this intentional? I can set it >> in the toolbar menu, but it seems an omission in the IDE. > > Hi Bill, > > If you could set the font color of field text using the LiveCode 7 project browser, > and you can no longer do that in LiveCode 8, then yes, it's a bug - and please file a bug report! this has already been bug reported by me! > Thanks, > > Peter Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From hh at livecode.org Thu Feb 11 08:31:27 2016 From: hh at livecode.org (-hh) Date: Thu, 11 Feb 2016 14:31:27 +0100 Subject: Set textfont color in IDE? LC8DP14 Message-ID: Hi Klaus, wrong number? Report 16843 is not about "textColor/ForeColor" but abut setting the textfont. Hermann From klaus at major-k.de Thu Feb 11 08:34:38 2016 From: klaus at major-k.de (Klaus major-k) Date: Thu, 11 Feb 2016 14:34:38 +0100 Subject: Set textfont color in IDE? LC8DP14 In-Reply-To: References: Message-ID: <2E14ECDD-D4C9-4DA6-A9D2-4C276AF359A8@major-k.de> Hi Hermann, > Am 11.02.2016 um 14:31 schrieb [-hh] : > > Hi Klaus, > > wrong number? Report 16843 is not about "textColor/ForeColor" but abut setting the textfont. oh, sorry, yes, my fault! :-/ So obviously not reported yet. > Hermann Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From irog at mac.com Thu Feb 11 10:34:48 2016 From: irog at mac.com (Roger Guay) Date: Thu, 11 Feb 2016 08:34:48 -0700 Subject: Set textfont color in IDE? LC8DP14 In-Reply-To: <2E14ECDD-D4C9-4DA6-A9D2-4C276AF359A8@major-k.de> References: <2E14ECDD-D4C9-4DA6-A9D2-4C276AF359A8@major-k.de> Message-ID: <0DA231AF-2102-4419-BFFA-5CC75EE5B3DE@mac.com> I looked for where one COULD set the textColor in the Project Browser on several IDEs, including 7, and I cannot see how that is or was ever done?! Roger > On Feb 11, 2016, at 6:34 AM, Klaus major-k wrote: > > Hi Hermann, > >> Am 11.02.2016 um 14:31 schrieb [-hh] : >> >> Hi Klaus, >> >> wrong number? Report 16843 is not about "textColor/ForeColor" but abut setting the textfont. > > oh, sorry, yes, my fault! :-/ > So obviously not reported yet. > >> Hermann > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Feb 11 11:15:47 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 11 Feb 2016 11:15:47 -0500 Subject: LC web site and license server down? In-Reply-To: <0DA231AF-2102-4419-BFFA-5CC75EE5B3DE@mac.com> References: <2E14ECDD-D4C9-4DA6-A9D2-4C276AF359A8@major-k.de> <0DA231AF-2102-4419-BFFA-5CC75EE5B3DE@mac.com> Message-ID: <002301d164e7$78040f50$680c2df0$@net> It seems that all services are up now. Sent @ 10:56 est...... Anyone else have a problem? Chrome error message: This webpage is not available ERR_SOCKET_NOT_CONNECTED The webpage at https://livecode.com/download/ might be temporarily down or it may have moved permanently to a new web address. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From rdimola at evergreeninfo.net Thu Feb 11 11:30:29 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 11 Feb 2016 11:30:29 -0500 Subject: LC web site and license server down? References: <2E14ECDD-D4C9-4DA6-A9D2-4C276AF359A8@major-k.de> <0DA231AF-2102-4419-BFFA-5CC75EE5B3DE@mac.com> Message-ID: <002401d164e9$85cda720$9168f560$@net> I wonder if there was an upgrade. On-rev's cPanel looks different. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: Ralph DiMola [mailto:rdimola at evergreeninfo.net] Sent: Thursday, February 11, 2016 11:16 AM To: 'How to use LiveCode' Subject: LC web site and license server down? It seems that all services are up now. Sent @ 10:56 est...... Anyone else have a problem? Chrome error message: This webpage is not available ERR_SOCKET_NOT_CONNECTED The webpage at https://livecode.com/download/ might be temporarily down or it may have moved permanently to a new web address. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From prothero at earthednet.org Thu Feb 11 11:32:41 2016 From: prothero at earthednet.org (William Prothero) Date: Thu, 11 Feb 2016 08:32:41 -0800 Subject: Set textfont color in IDE? LC8DP14 In-Reply-To: References: Message-ID: Folks: Sorry. My Bad. I meant the Application Browser. The new LC8DP14 doesn?t have a way to set the font color of text in a field. You need to go to the toolbar menu. Sorry for the confusion. Bill > On Feb 10, 2016, at 2:39 PM, William Prothero wrote: > > Folks: > I notice there is no way to set the textfont color of text in a field, in the project browser in LC8Dp14. Is this intentional? I can set it in the toolbar menu, but it seems an omission in the IDE. > > Best, > Bill > > > > William Prothero, Ph.D. > University of California, Santa Barbara, Emeritus > prothero at earthednet.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 devin_asay at byu.edu Thu Feb 11 12:19:13 2016 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 11 Feb 2016 17:19:13 +0000 Subject: No audio playback on iOS devices In-Reply-To: References: <67AC616D-2A5E-4610-89F5-66F1D38B902D@mac.com> Message-ID: >> On Feb 10, 2016, at 5:30 PM, Randy Hengst wrote: >> >> When I?ve had this problem, it?s because I didn?t pay attention to the name of the sounds files? I?m pretty sure iOS is case sensitive. I called a name without matching case. I can?t remember if the sounds played on the simulator and then failed on the device like you stated? just a thought. >> >> be well, >> randy >> > On Feb 10, 2016, at 8:32 PM, Devin Asay wrote: > > You might be right, Randy. I've actually been bitten by this before, but I didn't think to check that in this case. I'll have a look at it when I get back to my computer. Well, this is still stumping me. I?m using code that has worked in the past on iOS devices. I?m using ?nothing-fancy? .wav and .mp3 files that I have used on iOS devices before. I have checked the file path and file names?there are no case mismatches. I ran a check on open card: answer there is a file tFilePath # where tFilePath contains the full path to the file I?m trying to play. The file path is based on specialFolderPath(?engine?) This check returns ?true?. I verified that the asset files are being copied to the app bundle. It still plays fine on the simulator and on an Android device. Has anything changed in terms of what kinds of files can be played on iOS devices? Suggestions appreciated. Devin >> >>> On Feb 10, 2016, at 5:23 PM, Devin Asay wrote: >>> >>> I?ve been testing some small apps that I use in my class on iOS devices. I?m finding that my apps fail to play audio files. It doesn?t seem to matter if I use a simple ?play? command or the ?mobilePlaySoundOnChannel? command. I?m on Mac Yosemite 10.10.5, and I?ve tried building with LC 7.1.1, 7.1.2 RC2, and 8.0DP14. I?ve tried it on iOS 9.2 and 8.3 on several different iOS devices. >>> >>> It works on the iOS simulator. >>> It works on Android. >>> I have verified that the audio assets are copied successfully to the app bundle. Other external assets, like image files, show up properly in the app. >>> iOS devices are not muted. >>> >>> I have built apps for iOS in the past and audio playback has worked without problems. >>> >>> Am I missing something? Has anyone else run into this? >>> >>> Devin >>> >>> >>> Devin Asay >>> Office of Digital Humanities >>> Brigham Young University >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Office of Digital Humanities Brigham Young University From irog at mac.com Thu Feb 11 12:26:39 2016 From: irog at mac.com (Roger Guay) Date: Thu, 11 Feb 2016 10:26:39 -0700 Subject: Set textfont color in IDE? LC8DP14 In-Reply-To: References: Message-ID: Hey Bill, There again, I don?t remember there was ever a way to do that. If you mean the Property Inspector, then the 4th icon from the left in Property Inspector?s menu (under the titlebar) will allow to set the text color. HTH Cheers, Roger > On Feb 11, 2016, at 9:32 AM, William Prothero wrote: > > Folks: > Sorry. My Bad. I meant the Application Browser. The new LC8DP14 doesn?t have a way to set the font color of text in a field. You need to go to the toolbar menu. Sorry for the confusion. > Bill > >> On Feb 10, 2016, at 2:39 PM, William Prothero wrote: >> >> Folks: >> I notice there is no way to set the textfont color of text in a field, in the project browser in LC8Dp14. Is this intentional? I can set it in the toolbar menu, but it seems an omission in the IDE. >> >> Best, >> Bill >> >> >> >> William Prothero, Ph.D. >> University of California, Santa Barbara, Emeritus >> prothero at earthednet.org >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Feb 11 12:32:59 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 11 Feb 2016 11:32:59 -0600 Subject: No audio playback on iOS devices In-Reply-To: References: <67AC616D-2A5E-4610-89F5-66F1D38B902D@mac.com> Message-ID: <152d164a0f8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Does it work if you use specialFolderPath("resources") instead of "engine"? Apple changed the rules for bundle structure and LC tries to redirect older paths to the resources folder, but maybe that's not working in this case. On February 11, 2016 11:20:52 AM Devin Asay wrote:. > > I ran a check on open card: answer there is a file tFilePath # where > tFilePath contains the full path to the file I?m trying to play. The file > path is based on specialFolderPath(?engine?) > This check returns ?true?. > > I verified that the asset files are being copied to the app bundle. > > It still plays fine on the simulator and on an Android device. > > Has anything changed in terms of what kinds of files can be played on iOS > devices? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Thu Feb 11 12:50:34 2016 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 11 Feb 2016 17:50:34 +0000 Subject: No audio playback on iOS devices In-Reply-To: <152d164a0f8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <67AC616D-2A5E-4610-89F5-66F1D38B902D@mac.com> , <152d164a0f8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: > On Feb 11, 2016, at 10:33 AM, J. Landman Gay wrote: > > Does it work if you use specialFolderPath("resources") instead of "engine"? Apple changed the rules for bundle structure and LC tries to redirect older paths to the resources folder, but maybe that's not working in this case. Yeah, I've tried both "engine" and "resources". Same outcome. The odd thing is that external image assets display just fine. > > > On February 11, 2016 11:20:52 AM Devin Asay wrote:. >> >> I ran a check on open card: answer there is a file tFilePath # where tFilePath contains the full path to the file I?m trying to play. The file path is based on specialFolderPath(?engine?) >> This check returns ?true?. >> >> I verified that the asset files are being copied to the app bundle. >> >> It still plays fine on the simulator and on an Android device. >> >> Has anything changed in terms of what kinds of files can be played on iOS devices? > > > -- > 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 prothero at earthednet.org Thu Feb 11 13:12:34 2016 From: prothero at earthednet.org (William Prothero) Date: Thu, 11 Feb 2016 10:12:34 -0800 Subject: Set textfont color in IDE? LC8DP14 In-Reply-To: References: Message-ID: <37451828-9E0B-42B8-ACE4-1E5ED23BEFD9@earthednet.org> Roger: Thanks, yeah, it was the property inspector. Sorry for the confusion. The 3rd icon from the left along the top, in LC8DP14 (pencil icon) has a number of items that can be set. Foreground color, background color, etc. There is no textcolor choice. In LC 7, the property inspector with the ?Colors and Patterns? pane showing, there is a textcolor choice. I use that choice a fair amount, so I miss it. Best, Bill > On Feb 11, 2016, at 9:26 AM, Roger Guay wrote: > > Hey Bill, > > There again, I don?t remember there was ever a way to do that. If you mean the Property Inspector, then the 4th icon from the left in Property Inspector?s menu (under the titlebar) will allow to set the text color. > > HTH > > Cheers, > > Roger > > > >> On Feb 11, 2016, at 9:32 AM, William Prothero wrote: >> >> Folks: >> Sorry. My Bad. I meant the Application Browser. The new LC8DP14 doesn?t have a way to set the font color of text in a field. You need to go to the toolbar menu. Sorry for the confusion. >> Bill >> >>> On Feb 10, 2016, at 2:39 PM, William Prothero wrote: >>> >>> Folks: >>> I notice there is no way to set the textfont color of text in a field, in the project browser in LC8Dp14. Is this intentional? I can set it in the toolbar menu, but it seems an omission in the IDE. >>> >>> Best, >>> Bill >>> >>> >>> >>> William Prothero, Ph.D. >>> University of California, Santa Barbara, Emeritus >>> prothero at earthednet.org >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 11 13:14:37 2016 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 11 Feb 2016 18:14:37 +0000 Subject: No audio playback on iOS devices In-Reply-To: References: <67AC616D-2A5E-4610-89F5-66F1D38B902D@mac.com> <152d164a0f8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <68D27C77-7195-485F-AEDC-685DEA67CEED@byu.edu> > On Feb 11, 2016, at 10:50 AM, Devin Asay wrote: > > >> On Feb 11, 2016, at 10:33 AM, J. Landman Gay wrote: >> >> Does it work if you use specialFolderPath("resources") instead of "engine"? Apple changed the rules for bundle structure and LC tries to redirect older paths to the resources folder, but maybe that's not working in this case. > > Yeah, I've tried both "engine" and "resources". Same outcome. The odd thing is that external image assets display just fine. And may I say parenthetically that specialFolderPath("resources?) is the best thing since sliced bread! Devin Devin Asay Office of Digital Humanities Brigham Young University From prothero at earthednet.org Thu Feb 11 13:16:02 2016 From: prothero at earthednet.org (William Prothero) Date: Thu, 11 Feb 2016 10:16:02 -0800 Subject: Set textfont color in IDE? LC8DP14 In-Reply-To: References: Message-ID: <536AD52A-3A79-48CB-80F0-27E88BD37E01@earthednet.org> Too many multi-tasks, transferring host server to a new implementation, plus a bunch of other distractions. Best, Bill > On Feb 11, 2016, at 9:26 AM, Roger Guay wrote: > > Hey Bill, > > There again, I don?t remember there was ever a way to do that. If you mean the Property Inspector, then the 4th icon from the left in Property Inspector?s menu (under the titlebar) will allow to set the text color. > > HTH > > Cheers, > > Roger > > > >> On Feb 11, 2016, at 9:32 AM, William Prothero wrote: >> >> Folks: >> Sorry. My Bad. I meant the Application Browser. The new LC8DP14 doesn?t have a way to set the font color of text in a field. You need to go to the toolbar menu. Sorry for the confusion. >> Bill >> >>> On Feb 10, 2016, at 2:39 PM, William Prothero wrote: >>> >>> Folks: >>> I notice there is no way to set the textfont color of text in a field, in the project browser in LC8Dp14. Is this intentional? I can set it in the toolbar menu, but it seems an omission in the IDE. >>> >>> Best, >>> Bill >>> >>> >>> >>> William Prothero, Ph.D. >>> University of California, Santa Barbara, Emeritus >>> prothero at earthednet.org >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Thu Feb 11 13:19:17 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 11 Feb 2016 18:19:17 +0000 Subject: Set textfont color in IDE? LC8DP14 In-Reply-To: <37451828-9E0B-42B8-ACE4-1E5ED23BEFD9@earthednet.org> References: <37451828-9E0B-42B8-ACE4-1E5ED23BEFD9@earthednet.org> Message-ID: <56BCD0A5.1080108@livecode.com> On 11/02/2016 18:12, William Prothero wrote: > Roger: > Thanks, yeah, it was the property inspector. Sorry for the confusion. > > The 3rd icon from the left along the top, in LC8DP14 (pencil icon) has a number of items that can be set. Foreground color, background color, etc. There is no textcolor choice. In LC 7, the property inspector with the ?Colors and Patterns? pane showing, there is a textcolor choice. > Hi Bill, Aren't the text colour and foreground colour the same? Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From dochawk at gmail.com Thu Feb 11 13:23:29 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 11 Feb 2016 10:23:29 -0800 Subject: shadow declarations bug back? Message-ID: The once common shadow-declaration bug seems to have largely gone away; I realized that I hadn't seen it in some time. It seems to have appeared again in 7.1.2_rc1 & rc2; are other people seeing it again? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From irog at mac.com Thu Feb 11 13:23:45 2016 From: irog at mac.com (Roger Guay) Date: Thu, 11 Feb 2016 11:23:45 -0700 Subject: Set textfont color in IDE? LC8DP14 In-Reply-To: <37451828-9E0B-42B8-ACE4-1E5ED23BEFD9@earthednet.org> References: <37451828-9E0B-42B8-ACE4-1E5ED23BEFD9@earthednet.org> Message-ID: <5B820476-F404-47A6-A205-328280812199@mac.com> Sorry if I?m still confused, but isn?t foregroundColor the same as textColor? That?s what the Dictionary seems to say. Cheers, Roger > On Feb 11, 2016, at 11:12 AM, William Prothero wrote: > > Roger: > Thanks, yeah, it was the property inspector. Sorry for the confusion. > > The 3rd icon from the left along the top, in LC8DP14 (pencil icon) has a number of items that can be set. Foreground color, background color, etc. There is no textcolor choice. In LC 7, the property inspector with the ?Colors and Patterns? pane showing, there is a textcolor choice. > > I use that choice a fair amount, so I miss it. > > Best, > Bill > > >> On Feb 11, 2016, at 9:26 AM, Roger Guay wrote: >> >> Hey Bill, >> >> There again, I don?t remember there was ever a way to do that. If you mean the Property Inspector, then the 4th icon from the left in Property Inspector?s menu (under the titlebar) will allow to set the text color. >> >> HTH >> >> Cheers, >> >> Roger >> >> >> >>> On Feb 11, 2016, at 9:32 AM, William Prothero wrote: >>> >>> Folks: >>> Sorry. My Bad. I meant the Application Browser. The new LC8DP14 doesn?t have a way to set the font color of text in a field. You need to go to the toolbar menu. Sorry for the confusion. >>> Bill >>> >>>> On Feb 10, 2016, at 2:39 PM, William Prothero wrote: >>>> >>>> Folks: >>>> I notice there is no way to set the textfont color of text in a field, in the project browser in LC8Dp14. Is this intentional? I can set it in the toolbar menu, but it seems an omission in the IDE. >>>> >>>> Best, >>>> Bill >>>> >>>> >>>> >>>> William Prothero, Ph.D. >>>> University of California, Santa Barbara, Emeritus >>>> prothero at earthednet.org >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Feb 11 13:30:24 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 11 Feb 2016 18:30:24 +0000 Subject: Release 8.0 DP 14 In-Reply-To: <56BC76CB.70105@gmail.com> References: <56B406D3.6040806@fourthworld.com> <009401d16032$084165f0$18c431d0$@net> <56B4CEC2.10107@gmail.com>,<56BC76CB.70105@gmail.com> Message-ID: Already reported (dictionary rect stuck out of range) Swasti Astu! Be Well ( from my mobile ) On Thu, Feb 11, 2016 at 3:56 AM -0800, "RM" > wrote: I was playing around with LiveCode 8.0 DP 14 on Windows 7 VMware (as one does when life gets a bit tedious on the Linux side: I suppose it's because there is none of the excitement of ransomware, viruses, Trojan horses and so on) and could not help but notice [pomposity at its best] that the revDictionary stack can be resized vertically, but its width is stuck permanently at 1010 pixels: This is, frankly, a bit silly: especially if you are "VDU challenged" and stuck with a 1024 x 768 monitor. It is well-nigh impossible to do some development work and consult the Dictionary at the same time. I suppose this should be popped in the Bug reporting system . . . Bug 16910 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 prothero at earthednet.org Thu Feb 11 13:35:57 2016 From: prothero at earthednet.org (William Prothero) Date: Thu, 11 Feb 2016 10:35:57 -0800 Subject: Set textfont color in IDE? LC8DP14 In-Reply-To: <56BCD0A5.1080108@livecode.com> References: <37451828-9E0B-42B8-ACE4-1E5ED23BEFD9@earthednet.org> <56BCD0A5.1080108@livecode.com> Message-ID: <8A7BD0BE-26A2-4AA4-9B32-A78C28442B8E@earthednet.org> Peter: Yep, you?re right. It?s called the Text in vers 7 and I actually didn?t even try foregroundcolor. Since textcolor wasn?t mentioned, I just quickly went on. But, why not call it what it is? Since this is an app for "everybody" why not just call it textcolor? That?s what it actually is. If we can use syntax like: ?put 3 into x? instead of ?x=3?, why not try to carry through the entire system with the same philosophy and keep the ?jargony? things as minimized as possible. Slight rant: To get livecode to do useful things, you have to actually ?program?. Whatever the syntax, folks are going to have to look at the tutorials, read the dictionary, and be precise. Some of the operations have quite sophisticated behaviors. I remember the issue on the way messages are sent hither and yon and the different ways of referring to various controls. I do feel that the remnants of the hypercard syntax puts off many prospective LC coders who have had experience with other languages. It did me and it took Director?s demise to get me to look at RunRev/Livecode. That said, I think the widgets development is a great new feature. But I still hate the ?put 4 into y? syntax. Just me. I?m over it now.? PS: Some things ARE truly much easier to set up in livecode, especially interface elements. Best, Bill > On Feb 11, 2016, at 10:19 AM, Peter TB Brett wrote: > > On 11/02/2016 18:12, William Prothero wrote: >> Roger: >> Thanks, yeah, it was the property inspector. Sorry for the confusion. >> >> The 3rd icon from the left along the top, in LC8DP14 (pencil icon) has a number of items that can be set. Foreground color, background color, etc. There is no textcolor choice. In LC 7, the property inspector with the ?Colors and Patterns? pane showing, there is a textcolor choice. >> > > Hi Bill, > > Aren't the text colour and foreground colour the same? > > Peter > > -- > Dr Peter Brett > LiveCode Open Source Team > > LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Feb 11 13:39:46 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 11 Feb 2016 13:39:46 -0500 Subject: best LiveCode apps? Message-ID: <31DAAD92-EA0E-47D4-B55D-A8AB5E7A4987@gmail.com> I?m showing LiveCode at a Meetup this evening, and as well as doing some live coding it would be nice to show some good apps that were made in LiveCode, either from the mobile app stores or the Mac App Store. Do you all have any suggestions? I don?t need many, so if you can suggest the ones you like the most, rather than just a long list of all apps, that would be most useful. From pete at lcsql.com Thu Feb 11 13:40:58 2016 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Feb 2016 18:40:58 +0000 Subject: shadow declarations bug back? In-Reply-To: References: Message-ID: I haven't seen the shadowed variable bug for a long time. I think it was established that the bug occurs when execution is stopped by clicking the blue square icon to stop execution during a debug run. Don't know if the underlying cause of that has been fixed but I try to remember to let debug runs continue to the end these days and have not experienced the problem since. On Thu, Feb 11, 2016 at 10:23 AM Dr. Hawkins wrote: > The once common shadow-declaration bug seems to have largely gone away; I > realized that I hadn't seen it in some time. > > It seems to have appeared again in 7.1.2_rc1 & rc2; are other people seeing > it again? > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Thu Feb 11 14:02:01 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 11 Feb 2016 14:02:01 -0500 Subject: best LiveCode apps? In-Reply-To: <31DAAD92-EA0E-47D4-B55D-A8AB5E7A4987@gmail.com> References: <31DAAD92-EA0E-47D4-B55D-A8AB5E7A4987@gmail.com> Message-ID: These aren't specifically mobile apps, but it is a good showcase of things made in LiveCode. Some are mobile apps. http://livecode1001.blogspot.com/ ~Roger On Thu, Feb 11, 2016 at 1:39 PM, Colin Holgate wrote: > I?m showing LiveCode at a Meetup this evening, and as well as doing some > live coding it would be nice to show some good apps that were made in > LiveCode, either from the mobile app stores or the Mac App Store. > > Do you all have any suggestions? I don?t need many, so if you can suggest > the ones you like the most, rather than just a long list of all apps, that > would be most useful. > > From colinholgate at gmail.com Thu Feb 11 14:10:40 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 11 Feb 2016 14:10:40 -0500 Subject: best LiveCode apps? In-Reply-To: References: <31DAAD92-EA0E-47D4-B55D-A8AB5E7A4987@gmail.com> Message-ID: <51277F5D-C333-4A0E-A9CE-3BE431C912F9@gmail.com> Thanks, that?s very useful. It doesn?t have to all be apps. > On Feb 11, 2016, at 2:02 PM, Roger Eller wrote: > > These aren't specifically mobile apps, but it is a good showcase of things > made in LiveCode. Some are mobile apps. > > http://livecode1001.blogspot.com/ > > ~Roger > > On Thu, Feb 11, 2016 at 1:39 PM, Colin Holgate > wrote: > >> I?m showing LiveCode at a Meetup this evening, and as well as doing some >> live coding it would be nice to show some good apps that were made in >> LiveCode, either from the mobile app stores or the Mac App Store. >> >> Do you all have any suggestions? I don?t need many, so if you can suggest >> the ones you like the most, rather than just a long list of all apps, that >> would be most useful. >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Feb 11 14:50:36 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 11 Feb 2016 11:50:36 -0800 Subject: best LiveCode apps? In-Reply-To: <51277F5D-C333-4A0E-A9CE-3BE431C912F9@gmail.com> References: <51277F5D-C333-4A0E-A9CE-3BE431C912F9@gmail.com> Message-ID: <56BCE60C.2050700@fourthworld.com> The team updated their gallery page, now showing many great examples: https://livecode.com/livecode-stories/ -- 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 colinholgate at gmail.com Thu Feb 11 14:58:53 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 11 Feb 2016 14:58:53 -0500 Subject: best LiveCode apps? In-Reply-To: <56BCE60C.2050700@fourthworld.com> References: <51277F5D-C333-4A0E-A9CE-3BE431C912F9@gmail.com> <56BCE60C.2050700@fourthworld.com> Message-ID: Thanks. I did do a search for ?made with livecode?, maybe that page should have that in its text somewhere? > On Feb 11, 2016, at 2:50 PM, Richard Gaskin wrote: > > The team updated their gallery page, now showing many great examples: > > https://livecode.com/livecode-stories/ > > -- > 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 livecode.org Thu Feb 11 15:47:49 2016 From: hh at livecode.org (-hh) Date: Thu, 11 Feb 2016 21:47:49 +0100 Subject: Set textfont color in IDE? LC8DP14 Message-ID: <7118D609-CA1A-4D80-9DCE-D51B90F96A17@livecode.org> William P. wrote: > But, why not call it what it is? Since this is an app for "everybody" why not just call it textcolor? That?s what it actually is. If we can use syntax like: ?put 3 into x? instead of ?x=3?, why not try to carry through the entire system with the same philosophy and keep the ?jargony? things as minimized as possible. As I am one of the "everybodys" who tried to build you a golden bridge you didn't use, here another one. There is in the LC Preferences/ Tab General at top an option "Property labels are:" o Description of option X Name of LiveCode property If you choose to prefer "Description of option" then you'll get in the Property Inspector "Text Fill" instead of "foreGroundColor". Hermann By the way "put 3 into x" is logically correct, x=3 not, because it is an equation, which is equivalent to 3=x ... From richmondmathewson at gmail.com Thu Feb 11 15:57:02 2016 From: richmondmathewson at gmail.com (RM) Date: Thu, 11 Feb 2016 22:57:02 +0200 Subject: Set textfont color in IDE? LC8DP14 In-Reply-To: <7118D609-CA1A-4D80-9DCE-D51B90F96A17@livecode.org> References: <7118D609-CA1A-4D80-9DCE-D51B90F96A17@livecode.org> Message-ID: <56BCF59E.10501@gmail.com> On 11.02.2016 22:47, [-hh] wrote: > William P. wrote: >> But, why not call it what it is? Since this is an app for "everybody" why not just call it textcolor? That?s what it actually is. If we can use syntax like: ?put 3 into x? instead of ?x=3?, why not try to carry through the entire system with the same philosophy and keep the ?jargony? things as minimized as possible. > As I am one of the "everybodys" who tried to build you a golden bridge you didn't use, here another one. Some of us are "everybodies" or, at least, attempt to represent "everybodies", who when we have become inconveniently trenchant about what might suit "everybody" rather than a coterie following have been accused of all sorts of "entertaining" things. I do feel that there is a fairly large gap between various parties' understandings of the word 'Community'. While LiveCode is, undoubtedly, with the advent of version 8 becoming something very special indeed, I hope, and pray that the "powers that be" will not lose sight of its humble origins (HyperCard) and what its progenitor originally set out to be. Because, while LiveCode is becoming a power to be reckoned with, if it loses sight of what made HyperCard great it will be the poorer for that. Richmond. > > There is in the LC Preferences/ Tab General at top an option > "Property labels are:" > o Description of option > X Name of LiveCode property > > If you choose to prefer "Description of option" then you'll get in the Property Inspector "Text Fill" instead of "foreGroundColor". > > Hermann > > By the way "put 3 into x" is logically correct, x=3 not, because it is an equation, which is equivalent to 3=x ... > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Thu Feb 11 16:04:35 2016 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 11 Feb 2016 16:04:35 -0500 Subject: formattedtext and formattedrect in a substack Message-ID: <56BCF763.9030203@gmail.com> I recently discovered an interesting bug: http://quality.livecode.com/show_bug.cgi?id=16881 formattedrec and formattedtext do not work properly it their target is in a stack that has not been opened. So if you have a main stack A with a checkbox on the cd 1 and stack B is a substack of stack A with fld 1 on its first card. Execute the following code in the stack script of stack A: open a fresh copy of livecode, and open stack A execute the following: put "Hello world" into fld 1 of cd 1 of stack "B" - works as expected get the formattedrect of line 1 of fld 1 of cd 1 of stack "B" - fails and returns 0,0,0,0 <====== answer the hilite of btn 1 As long a stack B has not been opened you will get bad results. Now open substack B and close it. execute the following again... put "Hello world" into fld 1 of cd 1 of stack "B" - works as expected get the formattedrect of line 1 of fld 1 of cd 1 of stack "B" - returns 58,42,114,56 answer the hilite of btn 1 So now open a fresh copy and livecode and open stack A now execute the followng: go invisible to stack "B" put "Hello world" into fld 1 of cd 1 of stack "B" - works as expected get the formattedrect of line 1 of fld 1 of cd 1 of stack "B" - fails and returns 58,42,114,56 answer the hilite of btn 1 <==== gets a runtime error here because there is no bnt 1 on cd 1 of stack "B" So, how do you get the context set back to stack A? Regards, Mike From mikedoub at gmail.com Thu Feb 11 16:28:53 2016 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 11 Feb 2016 16:28:53 -0500 Subject: formattedtext and formattedrect in a substack In-Reply-To: <56BCF763.9030203@gmail.com> References: <56BCF763.9030203@gmail.com> Message-ID: <56BCFD15.9000208@gmail.com> I think I found the answer to my question.... set the defaultstack put the short name of this stack into temp go invisible stack "B" set the defaultstack to temp put "Hello world" into fld 1 of cd 1 of stack "B" -- works as expected put the formattedrect of line 1 of fld 1 of cd 1 of stack "B" & cr after msg answer the hilite of btn 1 This seems to work. Is it the correct solution to this problem? -= Mike On 2/11/16 4:04 PM, Michael Doub wrote: > I recently discovered an interesting bug: > http://quality.livecode.com/show_bug.cgi?id=16881 > > formattedrec and formattedtext do not work properly it their target is > in a stack that has not been opened. > So if you have a main stack A with a checkbox on the cd 1 and stack B > is a substack of stack A with fld 1 on its first card. Execute the > following code in the stack script of stack A: > > open a fresh copy of livecode, and open stack A > execute the following: > put "Hello world" into fld 1 of cd 1 of stack "B" - works as expected > get the formattedrect of line 1 of fld 1 of cd 1 of stack "B" - fails > and returns 0,0,0,0 <====== > answer the hilite of btn 1 > > As long a stack B has not been opened you will get bad results. > > Now open substack B and close it. > execute the following again... > put "Hello world" into fld 1 of cd 1 of stack "B" - works as expected > get the formattedrect of line 1 of fld 1 of cd 1 of stack "B" - > returns 58,42,114,56 > answer the hilite of btn 1 > > So now open a fresh copy and livecode and open stack A > now execute the followng: > > go invisible to stack "B" > put "Hello world" into fld 1 of cd 1 of stack "B" - works as expected > get the formattedrect of line 1 of fld 1 of cd 1 of stack "B" - fails > and returns 58,42,114,56 > answer the hilite of btn 1 <==== gets a runtime error here because > there is no bnt 1 on cd 1 of stack "B" > > So, how do you get the context set back to stack A? > > Regards, > Mike > > From benr_mc at cogapp.com Thu Feb 11 18:24:08 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 11 Feb 2016 23:24:08 +0000 Subject: shadow declarations bug back? In-Reply-To: References: Message-ID: <56BD1818.3080307@cogapp.com> FWIW I think the repro case is a little tighter than that: I think it's when execution is stopped from the debugger, *with the variable inspection pane selected*. I won't swear to it... On 11/02/2016 18:40, Peter Haworth wrote: > I haven't seen the shadowed variable bug for a long time. I think it was > established that the bug occurs when execution is stopped by clicking the > blue square icon to stop execution during a debug run. Don't know if the > underlying cause of that has been fixed but I try to remember to let debug > runs continue to the end these days and have not experienced the problem > since. > > On Thu, Feb 11, 2016 at 10:23 AM Dr. Hawkins wrote: > >> The once common shadow-declaration bug seems to have largely gone away; I >> realized that I hadn't seen it in some time. >> >> It seems to have appeared again in 7.1.2_rc1 & rc2; are other people seeing >> it again? From pete at lcsql.com Thu Feb 11 19:05:10 2016 From: pete at lcsql.com (Peter Haworth) Date: Fri, 12 Feb 2016 00:05:10 +0000 Subject: shadow declarations bug back? In-Reply-To: <56BD1818.3080307@cogapp.com> References: <56BD1818.3080307@cogapp.com> Message-ID: You're probably right, can't remember the exact details. On Thu, Feb 11, 2016 at 3:35 PM Ben Rubinstein wrote: > FWIW I think the repro case is a little tighter than that: I think it's > when > execution is stopped from the debugger, *with the variable inspection pane > selected*. > > I won't swear to it... > > On 11/02/2016 18:40, Peter Haworth wrote: > > I haven't seen the shadowed variable bug for a long time. I think it was > > established that the bug occurs when execution is stopped by clicking the > > blue square icon to stop execution during a debug run. Don't know if the > > underlying cause of that has been fixed but I try to remember to let > debug > > runs continue to the end these days and have not experienced the problem > > since. > > > > On Thu, Feb 11, 2016 at 10:23 AM Dr. Hawkins wrote: > > > >> The once common shadow-declaration bug seems to have largely gone away; > I > >> realized that I hadn't seen it in some time. > >> > >> It seems to have appeared again in 7.1.2_rc1 & rc2; are other people > seeing > >> it 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 prothero at earthednet.org Thu Feb 11 19:36:56 2016 From: prothero at earthednet.org (William Prothero) Date: Thu, 11 Feb 2016 16:36:56 -0800 Subject: sqlite db password? Message-ID: <0BA8836E-276B-4F3E-9818-C145931110CC@earthednet.org> Folks: I have an sqlite database created in Adobe Director using an old Xtra (Arca). It has a password. Can livecode open an sqlite database that is password protected? I can?t tell from the dictionary, how to open a password protected db that is local. Thanks for any info. Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From pete at lcsql.com Thu Feb 11 20:06:29 2016 From: pete at lcsql.com (Peter Haworth) Date: Fri, 12 Feb 2016 01:06:29 +0000 Subject: sqlite db password? In-Reply-To: <0BA8836E-276B-4F3E-9818-C145931110CC@earthednet.org> References: <0BA8836E-276B-4F3E-9818-C145931110CC@earthednet.org> Message-ID: Hi Bill, SQLite didn't have built-in password protection until a fairly recent release and the SQLite library. I dont recall which version. The SQLite library included with Livecode 8 is a fairly recent one and I believe includes the password feature Unfortunately, Livecode has not been updated to include the necessary parameters to revOpenDatabase to pass in a password for sqlite, as you've found. If you know the password, you can remove it using the sqlite3 command line tool but I'd have to reserach that further for you. Pete On Thu, Feb 11, 2016 at 4:37 PM William Prothero wrote: > Folks: > > I have an sqlite database created in Adobe Director using an old Xtra > (Arca). It has a password. Can livecode open an sqlite database that is > password protected? I can?t tell from the dictionary, how to open a > password protected db that is local. > > Thanks for any info. > Best, > Bill > > > William Prothero, Ph.D. > University of California, Santa Barbara, Emeritus > prothero at earthednet.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 rdimola at evergreeninfo.net Thu Feb 11 10:56:02 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 11 Feb 2016 10:56:02 -0500 Subject: LC web site and license server down? In-Reply-To: <0DA231AF-2102-4419-BFFA-5CC75EE5B3DE@mac.com> References: <2E14ECDD-D4C9-4DA6-A9D2-4C276AF359A8@major-k.de> <0DA231AF-2102-4419-BFFA-5CC75EE5B3DE@mac.com> Message-ID: <001801d164e4$b5922530$20b66f90$@net> Anyone else have a problem? Chrome error message: This webpage is not available ERR_SOCKET_NOT_CONNECTED The webpage at https://livecode.com/download/ might be temporarily down or it may have moved permanently to a new web address. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From dochawk at gmail.com Thu Feb 11 20:37:19 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 11 Feb 2016 17:37:19 -0800 Subject: shadow declarations bug back? In-Reply-To: References: Message-ID: On Thu, Feb 11, 2016 at 10:40 AM, Peter Haworth wrote: > I haven't seen the shadowed variable bug for a long time. I think it was > established that the bug occurs when execution is stopped by clicking the > blue square icon to stop execution during a debug run. > No, that was only one cause. Minutes after someone suggested that, I got one that clearly wasn't that. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at appisle.net Fri Feb 12 00:24:18 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 12 Feb 2016 16:24:18 +1100 Subject: [ANN] mergExt releases for iOS 9.2 In-Reply-To: <56BC61F3.5050706@cogapp.com> References: <58B4A630-B5A4-4536-B338-6B3BECC4493B@appisle.net> <413F5E01-DEFA-4569-914E-A7D3A16AF4FA@gmail.com> <56BC61F3.5050706@cogapp.com> Message-ID: <233E33FB-3A06-4BD3-A354-DE0F69444DCE@appisle.net> > On 11 Feb 2016, at 9:26 PM, Ben Rubinstein wrote: > > Noooo.... -1! > > On 10/02/2016 15:41, Mike Kerner wrote: >> The other thing that would be nice would be to maybe have the new versions >> not be marked with the version number. I realize that can be dangerous, >> but for every app, I have to go into Copy Files for every external and >> point to the new one. When I forget (especially if I haven't done a new >> build in a while), that means at least one "whoops" build. > > I strongly disagree. I'd much rather have control and know exactly which version I'm using with each application. Admittedly in this case the changes may be mostly invisible tweaks to accomodate iOS differences, but stuff always needs testing, and there can easily be unexpected effects. > > I'd much rather have to do a small amount of deliberate work upfront when I want to switch to a new version, than have to spend more time diagnosing mysterious behaviour when I did it without meaning to. That's especially going to happen to an app where I haven't done a new build in a while. > > My feature request, on the contrary, would be for for Monte to add a standard "mergVersion" function to every external in the suite, so that we can always verify exactly what we've got (and so that app error reports, for example, can include this information by default). > > My AUS$ 0.02, At this stage what I?m considering is an additional large archive containing all externals so you can still download individual files. At the moment I scp a large archive over to my server and run a script on it to deploy everything into the right spot. It shouldn?t be overly complicated to extract each of the external archives and then archive the lot at the end of that script. A version function is probably feasible (I need to be able to automate changing the version number from by external builder stack. It?s probably not something I?ll get to in the very short term though. Cheers Monte From prothero at earthednet.org Fri Feb 12 00:39:10 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Thu, 11 Feb 2016 21:39:10 -0800 Subject: sqlite db password? In-Reply-To: References: <0BA8836E-276B-4F3E-9818-C145931110CC@earthednet.org> Message-ID: Peter, Thanks so much! I can probably do it if you point me in the right direction. I found the command line tool and I'll see if I can use it. I may not get to it until Monday. Going to be out of town until then. This may be the direction I need, tho. Best, Bill William Prothero http://es.earthednet.org > On Feb 11, 2016, at 5:06 PM, Peter Haworth wrote: > > Hi Bill, > SQLite didn't have built-in password protection until a fairly recent > release and the SQLite library. I dont recall which version. The SQLite > library included with Livecode 8 is a fairly recent one and I believe > includes the password feature > > Unfortunately, Livecode has not been updated to include the necessary > parameters to revOpenDatabase to pass in a password for sqlite, as you've > found. If you know the password, you can remove it using the sqlite3 > command line tool but I'd have to reserach that further for you. > > Pete > > On Thu, Feb 11, 2016 at 4:37 PM William Prothero > wrote: > >> Folks: >> >> I have an sqlite database created in Adobe Director using an old Xtra >> (Arca). It has a password. Can livecode open an sqlite database that is >> password protected? I can?t tell from the dictionary, how to open a >> password protected db that is local. >> >> Thanks for any info. >> Best, >> Bill >> >> >> William Prothero, Ph.D. >> University of California, Santa Barbara, Emeritus >> prothero at earthednet.org >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Fri Feb 12 01:59:36 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Thu, 11 Feb 2016 22:59:36 -0800 Subject: sqlite db password? In-Reply-To: References: <0BA8836E-276B-4F3E-9818-C145931110CC@earthednet.org> Message-ID: <42138B79-3004-4463-B783-5946401D8F93@earthednet.org> My SQLite db was created about 6-7yrs ago, so password protection has probably changed since then. My best option may be to open up director 10 on an old os and reset or turn off the password. Perhaps I can avoid the whole problem by going back to content created before I put it into a db in the first place. My need isn't immediate, but I thought it might be easy. If nobody has a brilliant idea, I'll put this on hold for now. Best, Bill William Prothero http://es.earthednet.org > On Feb 11, 2016, at 9:39 PM, Earthednet-wp wrote: > > Peter, > Thanks so much! I can probably do it if you point me in the right direction. I found the command line tool and I'll see if I can use it. I may not get to it until Monday. Going to be out of town until then. > > This may be the direction I need, tho. > Best, > Bill > > William Prothero > http://es.earthednet.org > >> On Feb 11, 2016, at 5:06 PM, Peter Haworth wrote: >> >> Hi Bill, >> SQLite didn't have built-in password protection until a fairly recent >> release and the SQLite library. I dont recall which version. The SQLite >> library included with Livecode 8 is a fairly recent one and I believe >> includes the password feature >> >> Unfortunately, Livecode has not been updated to include the necessary >> parameters to revOpenDatabase to pass in a password for sqlite, as you've >> found. If you know the password, you can remove it using the sqlite3 >> command line tool but I'd have to reserach that further for you. >> >> Pete >> >> On Thu, Feb 11, 2016 at 4:37 PM William Prothero >> wrote: >> >>> Folks: >>> >>> I have an sqlite database created in Adobe Director using an old Xtra >>> (Arca). It has a password. Can livecode open an sqlite database that is >>> password protected? I can?t tell from the dictionary, how to open a >>> password protected db that is local. >>> >>> Thanks for any info. >>> Best, >>> Bill >>> >>> >>> William Prothero, Ph.D. >>> University of California, Santa Barbara, Emeritus >>> prothero at earthednet.org >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Feb 12 03:53:45 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 12 Feb 2016 09:53:45 +0100 Subject: AW: AW: is find or offset with wildcards possible? In-Reply-To: References: <006e01d163e2$e6ed11b0$b4c73510$@kestner.de> <56BB0A5D.9030807@techstrategies.com.au> <007a01d163ef$7b6d4fb0$7247ef10$@kestner.de> <00c101d16425$6a93be50$3fbb3af0$@kestner.de> Message-ID: <005901d16572$e2294e50$a67beaf0$@kestner.de> Interesting, thanks for the info. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Mark Waddingham Gesendet: Mittwoch, 10. Februar 2016 18:22 An: How to use LiveCode Betreff: Re: AW: is find or offset with wildcards possible? On 2016-02-10 18:06, Tiemo Hollmann TB wrote: > Bonsoir Thierry, > ui, thats fancy. I haven't seen yet a function which changes input > parameter as a kind of result This is actually quite a rare pattern in the engine (when exposed as function type syntax at least)... However, user handlers can obviously do this with the use of the '@' symbol: command returnMoreThanOneValue pInput, @rOutput1, @rOutput2 put item 1 of pInput into rOutput1 put item 2 of pInput into rOutput2 end returnMoreThanOneValue (This works for on, command, function and private variants too). If you prepend your parameter with @ then that handler must be called with something which looks like a variable, and in that case the variable itself is passed to the handler, rather than the variable's value. Prior to 7 you could only use actual variables in such parameters, but from 7 you can use array elements too. i.e. returnMoveThanOneValue "1,2", tArray[1], tArray[2] Will work. 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 dochawk at gmail.com Fri Feb 12 18:12:42 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 12 Feb 2016 15:12:42 -0800 Subject: shadow declarations bug back? In-Reply-To: References: Message-ID: On Thu, Feb 11, 2016 at 5:37 PM, Dr. Hawkins wrote: > No, that was only one cause. Minutes after someone suggested that, I got > one that clearly wasn't that > Now this is *really* curious. I found one of these being triggered by the same variable being declared global a few lines apart. Yes, that's wrong--but this is in my main script, in a major routine. It's been there for at least several months, and probably over a year. And then a half dozen more similar double declarations that weren't throwing errors, all in long-established routines. So this may be more than one bug that gives the same incorrect error message. Or a bug giving the message, and another circumstance in which the bug *is* giving that message. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From sc at sahores-conseil.com Sat Feb 13 15:15:31 2016 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 13 Feb 2016 21:15:31 +0100 Subject: some AB testing ... References: <7EE77DEC-168C-4FBD-9B5E-DAF54C378F7D@orange.fr> Message-ID: <37B34009-215B-4F88-8FE6-4804D322A9A9@sahores-conseil.com> Hi Livecoders, Question 1 : is Livecode application?s server really faster than Livecode CGI server running on Nginx, OpenLiteSpeed or Apache2 and how to get this proven (in counting successfully TCP connexions only) ? Just se below : #http://localhost:80/index.lc; # eeePCU : Nginx + FCGIWrap + LC CGI Server 7.1.1 --> 60 conn/sec #http://localhost:81/index.lc; # eeePCU : OpenLiteSpeed CGI + LC CGI Server 7.1.1 --> 60 conn/sec #http://localhost:82/index.lc; # eeePCU : Apache 2.4.7 CGI + LC CGI Server 7.1.1 --> 60 conn/sec In the three cases, it?s the same LC CGI server witch execute the following code on a little 350 euros eeePC (ubuntu 14.04, indeed 150% faster than both of my MacBooks i5 costing 1800 euros each !) : put "

Hello World from LiveCode CGI Server" && the version & \ "

on" && the internet date & "

" Question 2 : is Livecode applications server really faster than PHP running on OpenResty in FMP/FastCGI mode and how to get this proven (in counting successfully TCP connexions only) ? Just se below : #http://localhost/index.php; # eeePCU : Nginx + FMP/FastCGI + PHP 5.5.9 # + PHP sockets proxy --> localhost:9578 # --> LC 6.1.3 APP Server -ui (eeePCU) --> 2200 conn/sec #http://localhost/lc; # eeePCU : Openresty 1.9.7.2 (LuaJIT 5.1.a) # + ngx.lua sockets proxy --> localhost:9578 # --> LC 6.1.3 APP Server -ui (eeePCU) --> 3600 conn/sec In both cases, it?s the same LC application?s server witch execute the following code on a little 350 euros eeePC (ubuntu 14.04, still 150% faster than both my MacBooks i5 costing 1800 euros each !) : put "

Hello World from OpenLiteSpeed's LiveCode CGI Server" && the version & \ "

on" && the internet date & "

" Note: all tests done at twice in using both ApacheBench 2.3 Revision 1528965 and Siege 3.0.5 Stay tuned. More to come soon! Thanks for reading, Pierre -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sc at sahores-conseil.com Sat Feb 13 16:07:11 2016 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 13 Feb 2016 22:07:11 +0100 Subject: some AB testing ... References: <37B34009-215B-4F88-8FE6-4804D322A9A9@sahores-conseil.com> Message-ID: <36A86C7F-098C-4D73-9013-2E4ECA806A6F@sahores-conseil.com> > Hi Livecoders, > > Question 1 : is Livecode application?s server really faster than Livecode CGI server running on Nginx, OpenLiteSpeed or Apache2 and how to get this proven (in counting successfully TCP connexions only) ? Just se below : > > #http://localhost:80/index.lc; # eeePCU : Nginx + FCGIWrap + LC CGI Server 7.1.1 --> 60 conn/sec > #http://localhost:81/index.lc; # eeePCU : OpenLiteSpeed CGI + LC CGI Server 7.1.1 --> 60 conn/sec > #http://localhost:82/index.lc; # eeePCU : Apache 2.4.7 CGI + LC CGI Server 7.1.1 --> 60 conn/sec > > In the three cases, it?s the same LC CGI server witch execute the following code on a little 350 euros eeePC (ubuntu 14.04, indeed 150% faster than both of my MacBooks i5 costing 1800 euros each !) : > > put "

Hello World from LiveCode CGI Server" && the version & \ > "

on" && the internet date & "

" > > > Question 2 : is Livecode applications server really faster than PHP running on OpenResty in FMP/FastCGI mode and how to get this proven (in counting successfully TCP connexions only) ? Just se below : > > #http://localhost/index.php; # eeePCU : Nginx + FMP/FastCGI + PHP 5.5.9 > # + PHP sockets proxy --> localhost:9578 > # --> LC 6.1.3 APP Server -ui (eeePCU) --> 2200 conn/sec > > #http://localhost/lc; # eeePCU : Openresty 1.9.7.2 (LuaJIT 5.1.a) > # + ngx.lua sockets proxy --> localhost:9578 > # --> LC 6.1.3 APP Server -ui (eeePCU) --> 3600 conn/sec > > > In both cases, it?s the same LC application?s server witch execute the following code on a little 350 euros eeePC (ubuntu 14.04, still 150% faster than both my MacBooks i5 costing 1800 euros each !) : the mistake : > > put "

Hello World from OpenLiteSpeed LiveCode CGI Server" && the version & \ > "

on" && the internet date & "

? seems that copying via the adequate edit menu item only works under LC 6.1.3 / ubuntu 14.04 (nope via mouse right) the correction : put "

Hello World from LiveCode Application's Server" && the version & \ "

on" && the internet date & "

? ... > Note: all tests done at twice in using both ApacheBench 2.3 Revision 1528965 and Siege 3.0.5 > > Stay tuned. More to come soon! > > Thanks for reading, > > Pierre > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From richmondmathewson at gmail.com Sun Feb 14 04:51:48 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 14 Feb 2016 11:51:48 +0200 Subject: Neglected graphic capabilities Message-ID: <56C04E34.2020802@gmail.com> I attended the conference in Edinburgh when LiveCode 4.0 was launched, and remember being wowed by the new graphic effects, which really are a great addition. I do feel that these have, subsequently been overlooked; even to the extent that people are asking questions of this sort: http://forums.livecode.com/viewtopic.php?f=10&t=26546 I also wonder why more is not made of these very useful capabilities on the LiveCode website and thereabouts? Richmond. From cszasz at mac.com Sun Feb 14 07:54:21 2016 From: cszasz at mac.com (Charles Szasz) Date: Sun, 14 Feb 2016 05:54:21 -0700 Subject: Licensing Problems Message-ID: Has anybody encountered Indy licensing problems? My Indy license does not expire until July or August of 2017. I can no longer use LC 6.1.2 or 6.1.3 due message that my license has expired! LiveCode has acknowledge there is a problem but has not yet fix this problem. I am reluctant to use higher LC versions based on my experience with LC 6.6.5, which was recommended by tech support as a stable version of LC. I found that 6.6.5 leaks memory, which makes it untenable for my projects. Sent from my iPad From dvglasgow at gmail.com Sun Feb 14 08:04:53 2016 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 14 Feb 2016 13:04:53 +0000 Subject: Licensing Problems In-Reply-To: References: Message-ID: <20E0FB18-29FB-40FE-BE78-1D1617F3534C@gmail.com> Charles, I have had repeated problems with my Indy license expiring every month. http://quality.livecode.com/show_bug.cgi?id=16720 I have to download a new activation file for my specific version (7.1.0) each month. This is pain, but otherwise I find 7.1 to be pretty good. I also had an odd memory leak in 6.x but it isn?t evident in 7.1 Cheers, David G > On 14 Feb 2016, at 12:54 pm, Charles Szasz wrote: > > Has anybody encountered Indy licensing problems? My Indy license does not expire until July or August of 2017. I can no longer use LC 6.1.2 or 6.1.3 due message that my license has expired! LiveCode has acknowledge there is a problem but has not yet fix this problem. > > I am reluctant to use higher LC versions based on my experience with LC 6.6.5, which was recommended by tech support as a stable version of LC. I found that 6.6.5 leaks memory, which makes it untenable for my projects. > > > Sent from my iPad > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at mac.com Sun Feb 14 08:24:33 2016 From: cszasz at mac.com (Charles Szasz) Date: Sun, 14 Feb 2016 06:24:33 -0700 Subject: Licensing Problems Message-ID: <12CDC86A-FBBF-43A3-9AC4-A13341C582AB@mac.com> David, Thanks for your comments! Do you do a manual activation for each month for licensing? Sent from my iPad From bogdanoff at me.com Sun Feb 14 10:34:52 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sun, 14 Feb 2016 07:34:52 -0800 Subject: Licensing Problems In-Reply-To: <20E0FB18-29FB-40FE-BE78-1D1617F3534C@gmail.com> References: <20E0FB18-29FB-40FE-BE78-1D1617F3534C@gmail.com> Message-ID: I've also had to do a periodic manual activation on one machine. Peter Bogdanoff > On Feb 14, 2016, at 5:04 AM, David V Glasgow wrote: > > Charles, > > I have had repeated problems with my Indy license expiring every month. > > http://quality.livecode.com/show_bug.cgi?id=16720 > > I have to download a new activation file for my specific version (7.1.0) each month. > > This is pain, but otherwise I find 7.1 to be pretty good. I also had an odd memory leak in 6.x but it isn?t evident in 7.1 > > Cheers, > > David G > > >> On 14 Feb 2016, at 12:54 pm, Charles Szasz wrote: >> >> Has anybody encountered Indy licensing problems? My Indy license does not expire until July or August of 2017. I can no longer use LC 6.1.2 or 6.1.3 due message that my license has expired! LiveCode has acknowledge there is a problem but has not yet fix this problem. >> >> I am reluctant to use higher LC versions based on my experience with LC 6.6.5, which was recommended by tech support as a stable version of LC. I found that 6.6.5 leaks memory, which makes it untenable for my projects. >> >> >> Sent from my iPad >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Sun Feb 14 12:03:08 2016 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 14 Feb 2016 12:03:08 -0500 Subject: Cue sheet generator and livecode server Message-ID: <56C0B34C.3070208@gmail.com> Hello all. For all of you cyclists out there that use RideWithGPS i have written a simple app that creates nicely formatted cue sheets. Help yourselves. It can print directly, make a PDF or save a CSV file. https://www.dropbox.com/s/13jc0tgynilonpt/ridewithgps_cuesheets.livecode?dl=0 But the real reason for my post is to ask some questions about livecode server. I was thinking about how I might adapt this app to work from a web page. In my app, I have two substacks that are used to format the output of the PDF. Am I correct to assume that I can have a livecode server script load a normal stack that includes substacks and produce a pdf file? If this is doable, I have a web question. How do you manage the pdf files? Presumably each has a unique name that is passed to the browser so it can be downloaded, but how do you manage the cleanup so the pdfs are deleted? This is first attempt at doing any on the web, so any coaching or best practice advice would be appreciated. Regards, Mike From dvglasgow at gmail.com Sun Feb 14 13:29:56 2016 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 14 Feb 2016 18:29:56 +0000 Subject: Licensing Problems In-Reply-To: <12CDC86A-FBBF-43A3-9AC4-A13341C582AB@mac.com> References: <12CDC86A-FBBF-43A3-9AC4-A13341C582AB@mac.com> Message-ID: Couldn?t say if it is really exactly once a month, but it is something like that :(( > On 14 Feb 2016, at 1:24 pm, Charles Szasz wrote: > > David, > > Thanks for your comments! Do you do a manual activation for each month for licensing? > > Sent from my iPad > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bornstein at designeq.com Sun Feb 14 15:55:26 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Sun, 14 Feb 2016 12:55:26 -0800 Subject: Free BasicClock desktop clock for OSX Message-ID: So many clocks today still employ the flip-clock or 7-segment LED display aesthetic that is at least 20 years old. Given that we now have high resolution displays and very high-quality fonts available, I wanted to make a simple clock that took advantage of these improvements as an alternative to the ?retro? clocks that are mostly available. The clock itself is basic?just time, day, and date. It?s designed to sit in the corner of your screen and float over everything else. But you can modify the *look* of the clock in many ways, by using different fonts and by modifying the clock and background colors. Other visual options include adding a border, using rounded corners, drop shadows and inner shadows. The clock is also infinitely resizable so you can make it any size you need to fit in your work area. Because there can be so many visual options, there is also a mechanism to save your favorites designs and call them up later. You can see the features of BasicClock here: BasicClock Read Me.pdf and download it here: BasicClock V2.04.zip Note that you might have to ?allow? this clock to run in the Security & Privacy control panel if you have Gatekeeper running on your Mac. BasicClock is free and currently runs only under OS X. Enjoy. (BasicClock was inspired by the Clearview desktop clock by Hugh Senior.) -- Regards, Howard Bornstein ----------------------- www.designeq.com From sanke at hrz.uni-kassel.de Sun Feb 14 18:51:45 2016 From: sanke at hrz.uni-kassel.de (sanke at hrz.uni-kassel.de) Date: Mon, 15 Feb 2016 00:51:45 +0100 Subject: Licensing Problems In-Reply-To: References: Message-ID: <56C11311.9050301@hrz.uni-kassel.de> use-livecode-owner at lists.runrev.com schrieb: > Your mail to 'use-livecode' with the subject > > Re: Licensing Problems > > Is being held until the list moderator can review it for approval. > > The reason it is being held: > > Message body is too big: 134636 bytes with a limit of 30 KB > > Either the message will get posted to the list, or you will receive > notification of the moderator's decision. If you would like to cancel > this posting, please visit the following URL: > > http://lists.runrev.com/mailman/confirm/use-livecode/7d7bf0de10bb60c04b933bc0e31d3e589852cfc8 > I have deleted the embedded image of my original post and resend the mail by including the text of the image instead of the graphic. Here is my original post: > These licensing problems have been discussed and investigated on > Bugzilla since December 16, 2015, or even earlier. > > It would be a good idea for you to join the discussion about bugs > 16602 () > and 16468 () > to direct more attention to these licensing and re-licensing problems. > At present only 2 or 5 Livecode users participate. > > The problems IMHO are most likely caused by an inadequate code used to > control the validity of licenses under the new subscription-based > marketing model that prevents the building of closed-source > applications once a license has expired. > > I experienced different kinds of such licensing problems which I have > described in my contributions to the bug reports. > > Here is an example that I also discussed with Customer Support: > >> During the discussion about the two bugs I tried to get an >> offline-licensing file for LC 6.7.8 for testing purposes (I informed >> you about this.) and observed that my personal Livecode account had >> been tampered with - without any prior information - very much >> restricting the access to files under my Commercial license. You >> responded to my question with the rather "cryptic" information that >> my two licenses had been "merged", but never explaining explicitly >> why and how this could have been necessary and what consequences this >> would entail. You did also *not* respond to my request to correct the >> entries for my Commercial license (clearly still running until August >> 15 this year), and there is also no correction from your side >> following a second and third request. >> >> In January the countdown for my Commercial 6.7.8 licence began, which >> ended - see the image below - on Jan 28. Text of the deleted image: "LIVECODE License File Expiring 6.7.8 Your current license file is about to expire. Please connect your computer to the internet to fetch a new license file. 0 days remaining" Date of the snapshot: Jan 28, 2016. > > > This was strange as I have got a Commercial license still running > until August 15, 2016, but according to Support my two licenses (Indy > and Commercial) had been somehow "merged" - thereby restricting my > access to Commercial licensing files to versions 6.1.3 and lower. > > After several urgent requests to correct the data of my personal > Livecode account the data have been finally corrected this week - > after waiting for a month - with the interesting result that I have > atually now got *two* Commercial licenses. I will not go into details > about these 2 commercial licenses, but the background is like this: > > Reacting to the intense "Indy-lock-in-the-price"-campaign by Kevin I > subscribed to a new Indy license in July 2015.- I was in no need of > special extra benefits at that time; as my present Commercial licence > was still running for another year. My intention at that point was > simply to support the maintenance, development, and improvement of > LiveCode in the same way as before with my contributions to the > Kickstarter campaign in 2013. My new Indy license would then be valid > - after the expiration of my Commercial license on August 15, 2016 - > from August 2016 to August 2018. > > Apparently the fact of two consecutive licenses caused problems for > Support, probably because the co-existing of two licenses could not be > adequately reflected within the framework (layout and programming?) > of personal Livecode accounts. At least there was an indication of > this sort of problems in a feedback from Support. Support then solved > the problem by "merging" my two consecutive licenses, but causing at > the same time the troubles I have reported above - and without > explaining what this "merging" would entail and why this "merging" > should be necessary. > > Shortly before the data of my personal Livecode account had been > corrected this week, I have now cancelled my new extra Indy license > with the main intention to help "de-merge" the entangled Indy and > Commercial licenses. Cleverbridge has meanwhile verified the > cancellation of the Indy license, and Livecode is at present > contemplating how (and if) they could refund the sum of ? 534 which I > paid for the Indy license running from August 2016 to August 2018. > > After the expiration of my original Commercial license valid until > August 15, 2016, I will be using the Community versions. I do not > exclude the possibility that I would be interested to purchase a new > Indy license somewhere in the future, provided the quality and > stability of the Livecode versions will have increased markedly. > > Kind regards, > > Wilhelm Sanke > > > > > --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren gepr?ft. https://www.avast.com/antivirus From admin at FlexibleLearning.com Mon Feb 15 06:25:15 2016 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 15 Feb 2016 11:25:15 -0000 Subject: Free BasicClock desktop clock for OSX Message-ID: <002d01d167e3$8c0eeac0$a42cc040$@FlexibleLearning.com> Nice one, Howard. Hopefully your BasicClock will soon be available for other platforms also. 1. Free BasicClock You can see the features of BasicClock here: BasicClock Read Me.pdf http://designeq.com/deq/software/Welcome%20to%20BasicClock%20V2.04.pdf and download it here: BasicClock V2.04.zip http://designeq.com/deq/software/BasicClock%20V2.04.app.zip 2. Free ClearView Clock with calendar Previews and downloads for Windows, Mac OSX and Linux http://www.flexiblelearning.com/freeclock/ Hugh Senior FLCo > Date: Sun, 14 Feb 2016 12:55:26 -0800 > From: Howard Bornstein > To: How to use LiveCode > Subject: Free BasicClock desktop clock for OSX > > So many clocks today still employ the flip-clock or 7-segment LED display > aesthetic that is at least 20 years old. Given that we now have high resolution > displays and very high-quality fonts available, I wanted to make a simple clock > that took advantage of these improvements as an alternative to the ?retro? > clocks that are mostly available. > > The clock itself is basic?just time, day, and date. It?s designed to sit in the > corner of your screen and float over everything else. > > But you can modify the *look* of the clock in many ways, by using different > fonts and by modifying the clock and background colors. Other visual options > include adding a border, using rounded corners, drop shadows and inner > shadows. > > The clock is also infinitely resizable so you can make it any size you need to fit > in your work area. > > Because there can be so many visual options, there is also a mechanism to > save your favorites designs and call them up later. > > You can see the features of BasicClock here: BasicClock Read Me.pdf > 4.pdf> > > and download it here: BasicClock V2.04.zip > > > Note that you might have to ?allow? this clock to run in the Security & Privacy > control panel if you have Gatekeeper running on your Mac. > > BasicClock is free and currently runs only under OS X. > > Enjoy. > > (BasicClock was inspired by the Clearview desktop clock by Hugh Senior.) > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com From peter.brett at livecode.com Mon Feb 15 06:47:30 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 15 Feb 2016 11:47:30 +0000 Subject: Free BasicClock desktop clock for OSX In-Reply-To: References: Message-ID: <56C1BAD2.50203@livecode.com> On 14/02/2016 20:55, Howard Bornstein wrote: > So many clocks today still employ the flip-clock or 7-segment LED display > aesthetic that is at least 20 years old. Given that we now have high > resolution displays and very high-quality fonts available, I wanted to make > a simple clock that took advantage of these improvements as an alternative > to the ?retro? clocks that are mostly available. > > The clock itself is basic?just time, day, and date. It?s designed to sit in > the corner of your screen and float over everything else. > > But you can modify the *look* of the clock in many ways, by using different > fonts and by modifying the clock and background colors. Other visual > options include adding a border, using rounded corners, drop shadows and > inner shadows. > > The clock is also infinitely resizable so you can make it any size you need > to fit in your work area. > > Because there can be so many visual options, there is also a mechanism to > save your favorites designs and call them up later. > > You can see the features of BasicClock here: BasicClock Read Me.pdf > > > and download it here: BasicClock V2.04.zip > > > Note that you might have to ?allow? this clock to run in the Security & > Privacy control panel if you have Gatekeeper running on your Mac. > Hi Howard, Is your clock open source? At the moment it has "All rights reserved" in the copyright... Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From peter.brett at livecode.com Mon Feb 15 06:59:28 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 15 Feb 2016 11:59:28 +0000 Subject: [ANN] This Week in LiveCode 20 Message-ID: <56C1BDA0.6060108@livecode.com> 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 #20 here: https://goo.gl/xmg1Rf 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! Are you doing something interesting with LiveCode Community Edition? Please get in touch and get it featured in "This Week in LiveCode"! Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From bornstein at designeq.com Mon Feb 15 13:45:33 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Mon, 15 Feb 2016 10:45:33 -0800 Subject: Free BasicClock desktop clock for OSX In-Reply-To: <002d01d167e3$8c0eeac0$a42cc040$@FlexibleLearning.com> References: <002d01d167e3$8c0eeac0$a42cc040$@FlexibleLearning.com> Message-ID: On Mon, Feb 15, 2016 at 3:25 AM, FlexibleLearning.com < admin at flexiblelearning.com> wrote: > Nice one, Howard. Hopefully your BasicClock will soon be available for > other > platforms also. > Thanks Hugh. It's OSX only because I don't run any other platforms to test it on. I suppose if someone was running windows or linux and wanted to test it, I could build a version, but I know it's difficult to find and correct those niggling bugs on a platform you don't run. > 1. Free BasicClock > You can see the features of BasicClock here: BasicClock Read Me.pdf > http://designeq.com/deq/software/Welcome%20to%20BasicClock%20V2.04.pdf > > and download it here: BasicClock V2.04.zip > http://designeq.com/deq/software/BasicClock%20V2.04.app.zip > > > 2. Free ClearView Clock with calendar > Previews and downloads for Windows, Mac OSX and Linux > http://www.flexiblelearning.com/freeclock/ > > > Hugh Senior > FLCo > > > > Date: Sun, 14 Feb 2016 12:55:26 -0800 > > From: Howard Bornstein > > To: How to use LiveCode > > Subject: Free BasicClock desktop clock for OSX > > > > So many clocks today still employ the flip-clock or 7-segment LED display > > aesthetic that is at least 20 years old. Given that we now have high > resolution > > displays and very high-quality fonts available, I wanted to make a simple > clock > > that took advantage of these improvements as an alternative to the > ?retro? > > clocks that are mostly available. > > > > The clock itself is basic?just time, day, and date. It?s designed to sit > in the > > corner of your screen and float over everything else. > > > > But you can modify the *look* of the clock in many ways, by using > different > > fonts and by modifying the clock and background colors. Other visual > options > > include adding a border, using rounded corners, drop shadows and inner > > shadows. > > > > The clock is also infinitely resizable so you can make it any size you > need to fit > > in your work area. > > > > Because there can be so many visual options, there is also a mechanism to > > save your favorites designs and call them up later. > > > > You can see the features of BasicClock here: BasicClock Read Me.pdf > > > 4.pdf> > > > > and download it here: BasicClock V2.04.zip > > > > > > Note that you might have to ?allow? this clock to run in the Security & > Privacy > > control panel if you have Gatekeeper running on your Mac. > > > > BasicClock is free and currently runs only under OS X. > > > > Enjoy. > > > > (BasicClock was inspired by the Clearview desktop clock by Hugh Senior.) > > -- > > Regards, > > > > Howard Bornstein > > ----------------------- > > www.designeq.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 > -- Regards, Howard Bornstein ----------------------- www.designeq.com From bornstein at designeq.com Mon Feb 15 13:47:27 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Mon, 15 Feb 2016 10:47:27 -0800 Subject: Free BasicClock desktop clock for OSX In-Reply-To: <56C1BAD2.50203@livecode.com> References: <56C1BAD2.50203@livecode.com> Message-ID: It's closed source for the time being. On Mon, Feb 15, 2016 at 3:47 AM, Peter TB Brett wrote: > > On 14/02/2016 20:55, Howard Bornstein wrote: > > So many clocks today still employ the flip-clock or 7-segment LED display > > aesthetic that is at least 20 years old. Given that we now have high > > resolution displays and very high-quality fonts available, I wanted to > make > > a simple clock that took advantage of these improvements as an > alternative > > to the ?retro? clocks that are mostly available. > > > > The clock itself is basic?just time, day, and date. It?s designed to sit > in > > the corner of your screen and float over everything else. > > > > But you can modify the *look* of the clock in many ways, by using > different > > fonts and by modifying the clock and background colors. Other visual > > options include adding a border, using rounded corners, drop shadows and > > inner shadows. > > > > The clock is also infinitely resizable so you can make it any size you > need > > to fit in your work area. > > > > Because there can be so many visual options, there is also a mechanism to > > save your favorites designs and call them up later. > > > > You can see the features of BasicClock here: BasicClock Read Me.pdf > > > > > > and download it here: BasicClock V2.04.zip > > > > > > Note that you might have to ?allow? this clock to run in the Security & > > Privacy control panel if you have Gatekeeper running on your Mac. > > > > Hi Howard, > > Is your clock open source? At the moment it has "All rights reserved" in > the copyright... > > Peter > > -- > Dr Peter Brett > LiveCode Open Source Team > > LiveCode on reddit: https://reddit.com/r/livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Howard Bornstein ----------------------- www.designeq.com From scott at tactilemedia.com Mon Feb 15 15:40:09 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 15 Feb 2016 12:40:09 -0800 Subject: Signing Identity Issue When Building Standalone Message-ID: If any of you are having difficulty building iOS standalones today, you're not alone. Apple's own Worldwide Developer Relations Certificate expired yesterday (Feb 14) which will likely cause your developer certificates to display with an "This certificate has an invalid user" error message, and will prevent LiveCode from generating standalones with a "A valid signing identity could not be found" error. I was beyond irked trying to figure why I could build standalones last week and not this week. What solved the problem for me was to delete the Apple Worldwide Developer Relations Certification Authority certificate from Keychain, and then downloading and installing the certificate mentioned here: https://developer.apple.com/support/certificates/expiration/ Hope this saves a few people some aggravation. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From iowahengst at mac.com Mon Feb 15 16:36:08 2016 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 15 Feb 2016 15:36:08 -0600 Subject: Signing Identity Issue When Building Standalone In-Reply-To: References: Message-ID: Thanks for the heads-up, Scott. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Feb 15, 2016, at 2:40 PM, Scott Rossi wrote: > > If any of you are having difficulty building iOS standalones today, you're > not alone. Apple's own Worldwide Developer Relations Certificate expired > yesterday (Feb 14) which will likely cause your developer certificates to > display with an "This certificate has an invalid user" error message, and > will prevent LiveCode from generating standalones with a "A valid signing > identity could not be found" error. I was beyond irked trying to figure > why I could build standalones last week and not this week. > > What solved the problem for me was to delete the Apple Worldwide Developer > Relations Certification Authority certificate from Keychain, and then > downloading and installing the certificate mentioned here: > https://developer.apple.com/support/certificates/expiration/ > > > Hope this saves a few people some aggravation. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sc at sahores-conseil.com Mon Feb 15 16:43:33 2016 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 15 Feb 2016 22:43:33 +0100 Subject: =?utf-8?Q?R=C3=A9p=C2=A0=3A_some_AB_testing_=2E=2E=2E?= Message-ID: Dear Livecoders, I promise to be back with some final tests and related thoughts and here they are. All tests went carefully done in using both ApacheBench 2.3 Revision 1528965 and Siege 3.0.5 with same average results. Only the Siege ones are reported there to maintain this report as readable as possible. -- root at pierre-X200CA:/home/pierre# siege -b -c 100 -r 50 -q http://192.168.1.15/index.lc done. Transactions: 5000 hits Availability: 100.00 % Elapsed time: 85.00 secs Data transferred: 0.65 MB Response time: 1.68 secs Transaction rate: 58.82 trans/sec Throughput: 0.01 MB/sec Concurrency: 99.03 Successful transactions: 5000 Failed transactions: 0 Longest transaction: 1.84 Shortest transaction: 0.11 code : put "

Hello World from LiveCode CGI Server" && the version & \ "

on" && the internet date & "

" configuration : eeePC Asus X200CA Ubuntu 14.04, Openresty 1.9.7.2 + FCGIWrap + .LC script + LC CGI Server 7.1.1 ? root at pierre-X200CA:/home/pierre# siege -b -c 100 -r 50 -q http://192.168.1.15/index.php done. Transactions: 5000 hits Availability: 100.00 % Elapsed time: 2.26 secs Data transferred: 0.48 MB Response time: 0.04 secs Transaction rate: 2212.39 trans/sec Throughput: 0.21 MB/sec Concurrency: 97.85 Successful transactions: 5000 Failed transactions: 0 Longest transaction: 0.08 Shortest transaction: 0.00 code : put "

Hello World from LiveCode Application's Server" && the version & \ "

on" && the internet date & "

" configuration : eeePC Asus X200CA Ubuntu 14.04, Openresty 1.9.7.2 +FMP/FastCGI + .PHP 5.5.9 sockets proxy script --> localhost:9578 --> LC 6.1.3 Application?s Server launched in -ui mode ? root at pierre-X200CA:/home/pierre# siege -b -c 100 -r 50 -q http://192.168.1.15/lc done. Transactions: 5000 hits Availability: 100.00 % Elapsed time: 1.29 secs Data transferred: 0.35 MB Response time: 0.02 secs Transaction rate: 3875.97 trans/sec Throughput: 0.27 MB/sec Concurrency: 95.12 Successful transactions: 5000 Failed transactions: 0 Longest transaction: 0.08 Shortest transaction: 0.00 code : put "

Hello World from LiveCode Application's Server" && the version & \ "

on" && the internet date & "

? configuration : eeePC Asus X200CA Ubuntu 14.04, Openresty 1.9.7.2 (Lua 5.1.a, LuaJIT 2.1) + ngx.lua sockets proxy --> localhost:9578 --> LC 6.1.3 Application?s Server launched in -ui mode ? root at pierre-X200CA:/home/pierre# siege -b -c 100 -r 50 -q http://192.168.1.15/lua done. Transactions: 5000 hits Availability: 100.00 % Elapsed time: 0.69 secs Data transferred: 0.65 MB Response time: 0.01 secs Transaction rate: 7246.38 trans/sec Throughput: 0.94 MB/sec Concurrency: 52.52 Successful transactions: 5000 Failed transactions: 0 Longest transaction: 0.37 Shortest transaction: 0.00 code : ngx.say("

Hello World from Openresty "..ngx.config.nginx_version.." / Ngx.Lua "..ngx.config.ngx_lua_version.." !

on "..ngx.localtime().." +0100 ("..ngx.var.server_port..")

") configuration : eeePC Asus X200CA Ubuntu 14.04, Openresty 1.9.7.2 (Lua 5.1.a, LuaJIT 2.1) + ngx.lua script ? As the tests reports, an Openresty/Lua powered application?s server could be twice as fast as a Nginx/Livecode application?s server one but, at this point, this assertion still needs to be verified as long as the final performances will be directly impacted by the way both solutions handles memory management against heavy loads. At this point, i can confirm that LC application?s server (and before it, MC and Rev ones) i had to setup over the 15 last years went always perfectly reliables in about this. On the other hand, the clear and functional programming oriented Nginx and Lua platforms lets us expect that n-tier apps developed and running over the Openresty platform have reasonable chances to stay twice as fast than the ones developed on top of Nginx + Livecode application?s server. Note : more there unreported tests went done against the Apache 2, OpenLiteSpeed and Lighttpd HTTPd servers on both the Ubuntu 14.04 and Mac OS X El Capitan platforms. None of those HTTPd servers could really compete with Nginx in a case or an other (some times yes, some time not !). In about the El Capitan case, my surprise went high to discover how slow went my MacBooks Pro i5 (2.4 Ghz, 2.5 Ghz, 8 Go RAM and SSD 512 Go drives on both). In having them sets up to handle the Apache+PHP+Livecode application?s server stack?s work in slave round-robin mode where the eeePC powered Nginx went configured to proxy the requests to the Macs, an average of 3000 connections/second went out of the tests (PHP proxied). Should i have replaced the MacBooks by two new eeePC and 4400 (php proxy) to 7200 (lua proxy) connections/second would probably have being there. In all cases, anyone, out there, deploying LC CGI server applications, those embedded on top of RevIgniter ones included, should really choose to switch them to the Nginx + Lua proxy + Livecode application?s server [ + RevIgniter ] way to go. Anyone interested in such a migration process is welcome to contact me off-list for a free cotation. -- The next step ? Because most of the well known and used Cart scripts are still mostly very slow (PHP) and less reliable (JVM heap memory redundant outrages on the Java side) than their should be (Java : SAP Hybris, Oracle ATG, Websphere Commerce,?; PHP : Magento, Prestashop, Drupal Commerce,...), i expect that it should be a good initiative to build and market (out of a well engineered existing GPL3 PHP Cart script; there are some ones available around?) a GPL3 licensed Cart script port to : 1.- Openresty / Livecode application?s server / MySQL / PostgreSQL platform, if adequate marketing/sponsoring resources can be involved in the project; 2.- Openresty / LuaJIT / ngx.Lua / MySQL / PostgreSQL platform, if adequate marketing/sponsoring resources can be involved in the project; Anyone interested in supporting such an initiative will be welcome to joint me off-list. -- Thanks for reading. Warm Regards, Pierre -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sc at sahores-conseil.com Mon Feb 15 16:46:05 2016 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 15 Feb 2016 22:46:05 +0100 Subject: Fwd: Signing Identity Issue When Building Standalone References: <66F1D172-A943-427D-BEB0-9CB07D22A935@orange.fr> Message-ID: <048CC446-5AA3-42BC-AC2D-A3CB0A8F651C@sahores-conseil.com> Scott, They (Apple) announced this certificate update need (because their own switch needs) by email last week. > Le 15 f?vr. 2016 ? 21:40, Scott Rossi a ?crit : > > If any of you are having difficulty building iOS standalones today, you're > not alone. Apple's own Worldwide Developer Relations Certificate expired > yesterday (Feb 14) which will likely cause your developer certificates to > display with an "This certificate has an invalid user" error message, and > will prevent LiveCode from generating standalones with a "A valid signing > identity could not be found" error. I was beyond irked trying to figure > why I could build standalones last week and not this week. > > What solved the problem for me was to delete the Apple Worldwide Developer > Relations Certification Authority certificate from Keychain, and then > downloading and installing the certificate mentioned here: > https://developer.apple.com/support/certificates/expiration/ > > > Hope this saves a few people some aggravation. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design Best Regards, Pierre -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From scott at tactilemedia.com Mon Feb 15 17:24:46 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 15 Feb 2016 14:24:46 -0800 Subject: Signing Identity Issue When Building Standalone In-Reply-To: <048CC446-5AA3-42BC-AC2D-A3CB0A8F651C@sahores-conseil.com> References: <66F1D172-A943-427D-BEB0-9CB07D22A935@orange.fr> <048CC446-5AA3-42BC-AC2D-A3CB0A8F651C@sahores-conseil.com> Message-ID: Hi Pierre: Apparently, a lot of people (including myself) didn't get or see the message. https://www.reddit.com/r/iOSProgramming/comments/45siza/this_certificate_ha s_an_invalid_issuer/ Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/15/16, 1:46 PM, "use-livecode on behalf of Pierre Sahores" wrote: >Scott, > >They (Apple) announced this certificate update need (because their own >switch needs) by email last week. > >> Le 15 f?vr. 2016 ? 21:40, Scott Rossi a ?crit : >> >> If any of you are having difficulty building iOS standalones today, >>you're >> not alone. Apple's own Worldwide Developer Relations Certificate expired >> yesterday (Feb 14) which will likely cause your developer certificates >>to >> display with an "This certificate has an invalid user" error message, >>and >> will prevent LiveCode from generating standalones with a "A valid >>signing >> identity could not be found" error. I was beyond irked trying to figure >> why I could build standalones last week and not this week. >> >> What solved the problem for me was to delete the Apple Worldwide >>Developer >> Relations Certification Authority certificate from Keychain, and then >> downloading and installing the certificate mentioned here: >> https://developer.apple.com/support/certificates/expiration/ >> >> >> Hope this saves a few people some aggravation. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design > >Best Regards, > >Pierre > >-- >Pierre Sahores >mobile : 06 03 95 77 70 >www.sahores-conseil.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 lan.kc.macmail at gmail.com Mon Feb 15 22:23:50 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 16 Feb 2016 11:23:50 +0800 Subject: Free BasicClock desktop clock for OSX In-Reply-To: <56C1BAD2.50203@livecode.com> References: <56C1BAD2.50203@livecode.com> Message-ID: On Mon, Feb 15, 2016 at 7:47 PM, Peter TB Brett wrote: > > Is your clock open source? At the moment it has "All rights reserved" in > the copyright... > > I don't have a Community Edition of LC in front of me but I know for the other editions: All rights reserved worldwide is the default entry in the Copyright Notice box of the Standalone Application Settings (Win & Mac only). Is this automatically replaced with 'Licensed under GNU General Public License version 2 - GPL2' (or words to that effect) for the Community Edition? If not, it should be. From blueback09 at gmail.com Mon Feb 15 23:35:32 2016 From: blueback09 at gmail.com (Matt Maier) Date: Mon, 15 Feb 2016 20:35:32 -0800 Subject: create field suddenly not a good chunk Message-ID: As far as I know I didn't make any changes that would explain this. All of a sudden this line: "create field stack "HowstrBeta" is giving me this error "(Chunk: source is not a container), char 1" After some experimentation and googling I discovered that it would work again if I changed that line to this: "create field (the long ID of stack "HowstrBeta"). BTW, it was the same error for two other areas which created graphics instead of fields. Any ideas why Livecode would happily take "create field stack "Whatever"" for many months and then suddenly demand it be phrased differently? From monte at appisle.net Mon Feb 15 23:46:16 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 16 Feb 2016 15:46:16 +1100 Subject: create field suddenly not a good chunk In-Reply-To: References: Message-ID: > On 16 Feb 2016, at 3:35 PM, Matt Maier wrote: > > As far as I know I didn't make any changes that would explain this. > > All of a sudden this line: "create field stack "HowstrBeta" is giving me > this error "(Chunk: source is not a container), char 1" > > After some experimentation and googling I discovered that it would work > again if I changed that line to this: "create field (the long ID of stack > "HowstrBeta"). > > BTW, it was the same error for two other areas which created graphics > instead of fields. > > Any ideas why Livecode would happily take "create field stack "Whatever"" > for many months and then suddenly demand it be phrased differently? It probably shouldn?t have parsed `create field stack ?Whatever?` ever. I?m not sure what you are intending myself. Do you want a field named `stack ?Whatever?` or do you want a field created on stack ?Whatever?? For the former then you probably want: create field ?stack? && quote & ?Whatever? & quote For the latter then you probably want: set the defaultStack to ?Whatever? create field ?MyField" or create field ?MyField? in group ?somegroup? of stack ?Whatever" Cheers Monte From blueback09 at gmail.com Mon Feb 15 23:56:09 2016 From: blueback09 at gmail.com (Matt Maier) Date: Mon, 15 Feb 2016 20:56:09 -0800 Subject: create field suddenly not a good chunk In-Reply-To: References: Message-ID: A bunch of the properties of the templateField got set right before that. Then that line (which was "create field stack 'whatever'" and was working fine) Then put "put it into tID" which gave me the ID of the newly created field. I just needed a field created for each node in the network. Weird that it would parse for so long and then suddenly stop parsing, but then accept a form that it looks like still shouldn't parse. On Mon, Feb 15, 2016 at 8:46 PM, Monte Goulding wrote: > > > On 16 Feb 2016, at 3:35 PM, Matt Maier wrote: > > > > As far as I know I didn't make any changes that would explain this. > > > > All of a sudden this line: "create field stack "HowstrBeta" is giving me > > this error "(Chunk: source is not a container), char 1" > > > > After some experimentation and googling I discovered that it would work > > again if I changed that line to this: "create field (the long ID of stack > > "HowstrBeta"). > > > > BTW, it was the same error for two other areas which created graphics > > instead of fields. > > > > Any ideas why Livecode would happily take "create field stack "Whatever"" > > for many months and then suddenly demand it be phrased differently? > > It probably shouldn?t have parsed `create field stack ?Whatever?` ever. > I?m not sure what you are intending myself. > Do you want a field named `stack ?Whatever?` or do you want a field > created on stack ?Whatever?? > > For the former then you probably want: > create field ?stack? && quote & ?Whatever? & quote > > For the latter then you probably want: > set the defaultStack to ?Whatever? > create field ?MyField" > > or > > create field ?MyField? in group ?somegroup? of stack ?Whatever" > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Feb 16 00:01:11 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 16 Feb 2016 16:01:11 +1100 Subject: create field suddenly not a good chunk In-Reply-To: References: Message-ID: <611B6A82-7287-4AF4-8838-46F84BADDC5E@appisle.net> > On 16 Feb 2016, at 3:56 PM, Matt Maier wrote: > > Weird that it would parse for so long and then suddenly stop parsing, but > then accept a form that it looks like still shouldn't parse. On a related note it seems odd to me that you can create an object in a group but you can?t specify a card or a stack where the current card might be used. I know there?s been cases where I?ve created groups just to simplify the creation of objects on the stacks that I wanted them on. I think that?s an unnecessary limitation so if I get a chance I might look at what it would take to fix. Cheers Monte From blueback09 at gmail.com Tue Feb 16 00:17:43 2016 From: blueback09 at gmail.com (Matt Maier) Date: Mon, 15 Feb 2016 21:17:43 -0800 Subject: create field suddenly not a good chunk In-Reply-To: <611B6A82-7287-4AF4-8838-46F84BADDC5E@appisle.net> References: <611B6A82-7287-4AF4-8838-46F84BADDC5E@appisle.net> Message-ID: If I'm following that you think it's weird you have to create an object inside a group, rather than just on a stack/card, then that's weird because that's exactly what I'm doing. I've been creating bunches of objects and never bothered with groups. A while back I was using arbitrary strings of texts as delimiters and the board thought that was impossible, but went back and confirmed it was possible. Livecode devs just changed it before I tried it but after more experienced people had tried it. Could this be similar? On Mon, Feb 15, 2016 at 9:01 PM, Monte Goulding wrote: > > > On 16 Feb 2016, at 3:56 PM, Matt Maier wrote: > > > > Weird that it would parse for so long and then suddenly stop parsing, but > > then accept a form that it looks like still shouldn't parse. > > On a related note it seems odd to me that you can create an object in a > group but you can?t specify a card or a stack where the current card might > be used. I know there?s been cases where I?ve created groups just to > simplify the creation of objects on the stacks that I wanted them on. I > think that?s an unnecessary limitation so if I get a chance I might look at > what it would take to fix. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Feb 16 00:23:21 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 16 Feb 2016 16:23:21 +1100 Subject: create field suddenly not a good chunk In-Reply-To: References: <611B6A82-7287-4AF4-8838-46F84BADDC5E@appisle.net> Message-ID: <07691127-953F-4375-8678-196060975742@appisle.net> > On 16 Feb 2016, at 4:17 PM, Matt Maier wrote: > > Could this be similar? If it worked it may have been a result of lax parsing which I think has been tightened up a bit in 8. Someone on the core team might be able to comment on that. Cheers Monte From scott at tactilemedia.com Tue Feb 16 01:07:36 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 15 Feb 2016 22:07:36 -0800 Subject: create field suddenly not a good chunk In-Reply-To: References: Message-ID: If the goal is create an object in a specified stack, does setting the defaultStack first not work? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/15/16, 8:35 PM, "use-livecode on behalf of Matt Maier" wrote: >As far as I know I didn't make any changes that would explain this. > >All of a sudden this line: "create field stack "HowstrBeta" is giving me >this error "(Chunk: source is not a container), char 1" > >After some experimentation and googling I discovered that it would work >again if I changed that line to this: "create field (the long ID of stack >"HowstrBeta"). > >BTW, it was the same error for two other areas which created graphics >instead of fields. > >Any ideas why Livecode would happily take "create field stack "Whatever"" >for many months and then suddenly demand it be phrased differently? >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Feb 16 01:16:27 2016 From: blueback09 at gmail.com (Matt Maier) Date: Mon, 15 Feb 2016 22:16:27 -0800 Subject: create field suddenly not a good chunk In-Reply-To: References: Message-ID: It didn't. I set the defaultstack once when the whole thing loaded and again right before creating the field, then had it put the defaultstack into a variable so I could confirm it was correct. The words in the variable were exactly what I wrote on the line (stack "HowstrBeta"). On Mon, Feb 15, 2016 at 10:07 PM, Scott Rossi wrote: > If the goal is create an object in a specified stack, does setting the > defaultStack first not work? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > > On 2/15/16, 8:35 PM, "use-livecode on behalf of Matt Maier" > > wrote: > > >As far as I know I didn't make any changes that would explain this. > > > >All of a sudden this line: "create field stack "HowstrBeta" is giving me > >this error "(Chunk: source is not a container), char 1" > > > >After some experimentation and googling I discovered that it would work > >again if I changed that line to this: "create field (the long ID of stack > >"HowstrBeta"). > > > >BTW, it was the same error for two other areas which created graphics > >instead of fields. > > > >Any ideas why Livecode would happily take "create field stack "Whatever"" > >for many months and then suddenly demand it be phrased differently? > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Tue Feb 16 01:26:59 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 15 Feb 2016 22:26:59 -0800 Subject: create field suddenly not a good chunk In-Reply-To: References: Message-ID: Did you include "stack" in the variable name? Pretty sure you just need the stack's name, so maybe that was causing a failure. As a quick and dirty test, I tried creating 3 new stacks, and executed variations of this line from the message box: set defaultStack to "untitled 3";create fld When running this here, switching the number after "untitled" causes a field to be created in the designated stack as expected. Maybe some other part of your script is forcing a change of the defaultStack. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/15/16, 10:16 PM, "use-livecode on behalf of Matt Maier" wrote: >It didn't. I set the defaultstack once when the whole thing loaded and >again right before creating the field, then had it put the defaultstack >into a variable so I could confirm it was correct. The words in the >variable were exactly what I wrote on the line (stack "HowstrBeta"). > >On Mon, Feb 15, 2016 at 10:07 PM, Scott Rossi >wrote: > >> If the goal is create an object in a specified stack, does setting the >> defaultStack first not work? >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> >> On 2/15/16, 8:35 PM, "use-livecode on behalf of Matt Maier" >> >blueback09 at gmail.com> >> wrote: >> >> >As far as I know I didn't make any changes that would explain this. >> > >> >All of a sudden this line: "create field stack "HowstrBeta" is giving >>me >> >this error "(Chunk: source is not a container), char 1" >> > >> >After some experimentation and googling I discovered that it would work >> >again if I changed that line to this: "create field (the long ID of >>stack >> >"HowstrBeta"). >> > >> >BTW, it was the same error for two other areas which created graphics >> >instead of fields. >> > >> >Any ideas why Livecode would happily take "create field stack >>"Whatever"" >> >for many months and then suddenly demand it be phrased differently? >> >_______________________________________________ >> >use-livecode mailing list >> >use-livecode at lists.runrev.com >> >Please visit this url to subscribe, unsubscribe and manage your >> >subscription preferences: >> >http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Feb 16 01:32:37 2016 From: blueback09 at gmail.com (Matt Maier) Date: Mon, 15 Feb 2016 22:32:37 -0800 Subject: changing the size of the image that's combined with text Message-ID: This is one of those times when I end up sending an hour just trying to find out if I know what keywords to search for. Anywho, I want to combine images with text in a field. I found the right syntax for writing html that will combine text and images:

lerg

and also that the char reference isn't necessary, so this works

It's a bit tedious to code, since you have to escape the quotes like this: put "

" into tHTML but whatevs, it works. Livecode doesn't care about the height & width information that normally go along with an tag in html. I can't find a way to control the size when using imageSource either. Is there a way to adjust the size of the image that's in the text field? I'm hoping I don't have to create a temporary image of the adjusted size, put it somewhere, and then reference the temporary image instead of the actual image. From scott at tactilemedia.com Tue Feb 16 02:17:13 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 15 Feb 2016 23:17:13 -0800 Subject: changing the size of the image that's combined with text In-Reply-To: References: Message-ID: Hi Matt: The imageSource property is the one you're looking for, and AFAIK, using a hidden or offscreen image is the way to adjust what is displayed in the field. If you have an image in a field whose imageSource is assigned to an imported image, and you resize the imported image, you should see the image reference in the field update as well. It would be a good feature request for the imageSource property to accept width/height values. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/15/16, 10:32 PM, "use-livecode on behalf of Matt Maier" wrote: >This is one of those times when I end up sending an hour just trying to >find out if I know what keywords to search for. > >Anywho, I want to combine images with text in a field. > >I found the right syntax for writing html that will combine text and >images: >

lerg

>and also that the char reference isn't necessary, so this works >

>It's a bit tedious to code, since you have to escape the quotes like this: >put "

quote & ">

" into tHTML >but whatevs, it works. > >Livecode doesn't care about the height & width information that normally >go >along with an tag in html. I can't find a way to control the >size >when using imageSource either. > >Is there a way to adjust the size of the image that's in the text field? >I'm hoping I don't have to create a temporary image of the adjusted size, >put it somewhere, and then reference the temporary image instead of the >actual image. >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Feb 16 06:14:57 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 16 Feb 2016 11:14:57 +0000 Subject: Signing Identity Issue When Building Standalone In-Reply-To: References: <66F1D172-A943-427D-BEB0-9CB07D22A935@orange.fr> <048CC446-5AA3-42BC-AC2D-A3CB0A8F651C@sahores-conseil.com> Message-ID: Thanks Scott. This was a time saver. Regards, Panos On Mon, Feb 15, 2016 at 10:24 PM, Scott Rossi wrote: > Hi Pierre: > > Apparently, a lot of people (including myself) didn't get or see the > message. > https://www.reddit.com/r/iOSProgramming/comments/45siza/this_certificate_ha > s_an_invalid_issuer/ > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/15/16, 1:46 PM, "use-livecode on behalf of Pierre Sahores" > sc at sahores-conseil.com> wrote: > > >Scott, > > > >They (Apple) announced this certificate update need (because their own > >switch needs) by email last week. > > > >> Le 15 f?vr. 2016 ? 21:40, Scott Rossi a ?crit > : > >> > >> If any of you are having difficulty building iOS standalones today, > >>you're > >> not alone. Apple's own Worldwide Developer Relations Certificate expired > >> yesterday (Feb 14) which will likely cause your developer certificates > >>to > >> display with an "This certificate has an invalid user" error message, > >>and > >> will prevent LiveCode from generating standalones with a "A valid > >>signing > >> identity could not be found" error. I was beyond irked trying to figure > >> why I could build standalones last week and not this week. > >> > >> What solved the problem for me was to delete the Apple Worldwide > >>Developer > >> Relations Certification Authority certificate from Keychain, and then > >> downloading and installing the certificate mentioned here: > >> https://developer.apple.com/support/certificates/expiration/ > >> > >> > >> Hope this saves a few people some aggravation. > >> > >> Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX/UI Design > > > >Best Regards, > > > >Pierre > > > >-- > >Pierre Sahores > >mobile : 06 03 95 77 70 > >www.sahores-conseil.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 livecode.org Tue Feb 16 08:33:44 2016 From: hh at livecode.org (-hh) Date: Tue, 16 Feb 2016 14:33:44 +0100 Subject: changing the size of the image that's combined with text Message-ID: <1F92EB42-32D3-46C6-83BC-F22DF1180985@livecode.org> When using an imagesource you are not really "combining an image with text", but embedding a *reference to an image* into text. If you wish to control the size of the image's display, you have to control the size/imagedata of the image file (or referenced image). To do this by params width and height would request to implement for an 'old way' what's by small work already possible --- as you both describe: Using 'hidden' temporary images (with filenames). Works pretty well and fast here, also changing the imagedata of the binfile itself. Isn't it then better to use and improve (by using newest Chromium) the 'new way', the browser or browser widget, where such features and much more are already available? > Scott R. wrote: > Hi Matt: The imageSource property is the one you're looking for, and > AFAIK, using a hidden or offscreen image is the way to adjust what is > displayed in the field. If you have an image in a field whose > imageSource is assigned to an imported image, and you resize the > imported image, you should see the image reference in the field update > as well. > It would be a good feature request for the imageSource property to > accept width/height values. Regards, Scott Rossi > > >Matt Maier wrote: > >This is one of those times when I end up sending an hour just trying to > >find out if I know what keywords to search for. > > > >Anywho, I want to combine images with text in a field. > > > >I found the right syntax for writing html that will combine text and > >images: > >

lerg

> >and also that the char reference isn't necessary, so this works > >

> >It's a bit tedious to code, since you have to escape the quotes like this: > >put "

>quote & ">

" into tHTML > >but whatevs, it works. > > > >Livecode doesn't care about the height & width information that normally > >go along with an tag in html. I can't find a way to control the > >size when using imageSource either. > > > >Is there a way to adjust the size of the image that's in the text field? > >I'm hoping I don't have to create a temporary image of the adjusted size, > >put it somewhere, and then reference the temporary image instead of the > >actual image. From iowahengst at mac.com Tue Feb 16 08:34:08 2016 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 16 Feb 2016 07:34:08 -0600 Subject: Free BasicClock desktop clock for OSX In-Reply-To: References: Message-ID: <578AC786-8F3A-46B4-926A-2BC5C4961CF4@mac.com> Looks nice, Howard. I didn?t see an attribution to LiveCode in your ?About? menu or your pdf help doc. Is attribution no longer required? be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Feb 14, 2016, at 2:55 PM, Howard Bornstein wrote: > > So many clocks today still employ the flip-clock or 7-segment LED display > aesthetic that is at least 20 years old. Given that we now have high > resolution displays and very high-quality fonts available, I wanted to make > a simple clock that took advantage of these improvements as an alternative > to the ?retro? clocks that are mostly available. > > The clock itself is basic?just time, day, and date. It?s designed to sit in > the corner of your screen and float over everything else. > > But you can modify the *look* of the clock in many ways, by using different > fonts and by modifying the clock and background colors. Other visual > options include adding a border, using rounded corners, drop shadows and > inner shadows. > > The clock is also infinitely resizable so you can make it any size you need > to fit in your work area. > > Because there can be so many visual options, there is also a mechanism to > save your favorites designs and call them up later. > > You can see the features of BasicClock here: BasicClock Read Me.pdf > > > and download it here: BasicClock V2.04.zip > > > Note that you might have to ?allow? this clock to run in the Security & > Privacy control panel if you have Gatekeeper running on your Mac. > > BasicClock is free and currently runs only under OS X. > > Enjoy. > > (BasicClock was inspired by the Clearview desktop clock by Hugh Senior.) > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.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 pmbrig at gmail.com Tue Feb 16 08:44:49 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 16 Feb 2016 08:44:49 -0500 Subject: changing the size of the image that's combined with text In-Reply-To: References: Message-ID: <8CD5D050-26B9-41E4-96C0-A389740137E7@gmail.com> On Feb 16, 2016, at 1:32 AM, Matt Maier wrote: > I found the right syntax for writing html that will combine text and images: >

lerg

> and also that the char reference isn't necessary, so this works >

> It's a bit tedious to code, since you have to escape the quotes like this: > put "

quote & ">

" into tHTML > but whatevs, it works. A slightly tangential offering ? here's what I use to create strings that contain quotes ? it simplifies the tedious and error-prone process of constructing these strings. ------- function qInString pStr, pAltChar -- use for creating strings that contain quotes -- eg, for constructing ask/answer dialogs, error messages, etc. -- default is to use "^" as quote placeholder, can be overridden -- eg, -- qInString("fld ^text^ of card ^apple^ of stack ^fruits^") -- returns: -- fld "text" of card "apple" of stack "fruits" -- shorter, and easier to proofread than -- put "fld" && quote & "text" & quote && "of card" && quote & "apple" \ -- & quote && "of stack" && quote & "fruits" & quote into tStr -- by Peter M. Brigham, pmbrig at gmail.com ? freeware -- from a handler on the Use-LC list if pAltChar = empty then put "^" into pAltChar replace pAltChar with quote in pStr return pStr end qInString ------- -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From ambassador at fourthworld.com Tue Feb 16 10:52:27 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 16 Feb 2016 07:52:27 -0800 Subject: Free BasicClock desktop clock for OSX In-Reply-To: <578AC786-8F3A-46B4-926A-2BC5C4961CF4@mac.com> References: <578AC786-8F3A-46B4-926A-2BC5C4961CF4@mac.com> Message-ID: <56C345BB.8000907@fourthworld.com> Randy Hengst wrote: > I didn?t see an attribution to LiveCode in your ?About? menu or your > pdf help doc. Is attribution no longer required? Section 4d of the Indy license seems to still require it: d) Copyright notices, as defined in Appendix A, must appear wherever any other copyright or trademark notice appears in any Created Software distributed as a standalone executable, its documentation, advertising, and other product-related literature. ... APPENDIX A - Required Copyright Notice You must include the following copyright notice where other such notices appear. In the event that such other notices do not appear in the Created Software, this notice must be placed in a reasonable location. Built with LiveCode. Portions Copyright (C) 2000-2015 LiveCode Ltd, All Rights Reserved Worldwide. In common with many other platforms the LiveCode Software uses open source software to deliver some functionality. You must also include the file "Open Source Licenses.txt" within any created software. This may be included within your About screen, as a file within the folder structure of a desktop app or in another accessible location. We would like you to include the LiveCode Ltd logo, as per the terms set on our website. However, unlike the Copyright notices above, you are not required to include the logo. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Feb 16 10:57:43 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 16 Feb 2016 07:57:43 -0800 Subject: Free BasicClock desktop clock for OSX In-Reply-To: References: Message-ID: <56C346F7.4060801@fourthworld.com> Kay C Lan wrote: > On Mon, Feb 15, 2016 at 7:47 PM, Peter TB Brett wrote: > >> >> Is your clock open source? At the moment it has "All rights >> reserved" in the copyright... >> > I don't have a Community Edition of LC in front of me but I know > for the other editions: > > All rights reserved worldwide > > is the default entry in the Copyright Notice box of the Standalone > Application Settings (Win & Mac only). Is this automatically replaced > with 'Licensed under GNU General Public License version 2 - GPL2' (or > words to that effect) for the Community Edition? If not, it should be. It would probably be useful to include reference to GPLv3 somewhere in there, and perhaps an enhancement request to the RQCC would move that along. But the distribution license doesn't change the copyright ownership. Whether using GPL, any other open source license, or any proprietary license, the copyright always belongs to the creator of the original work. Indeed, it's that copyright ownership that makes defining terms of distribution possible. Only explicit transfer to the public domain eliminates copyright ownership of original works. -- 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 pete at lcsql.com Tue Feb 16 11:11:37 2016 From: pete at lcsql.com (Peter Haworth) Date: Tue, 16 Feb 2016 16:11:37 +0000 Subject: changing the size of the image that's combined with text In-Reply-To: <8CD5D050-26B9-41E4-96C0-A389740137E7@gmail.com> References: <8CD5D050-26B9-41E4-96C0-A389740137E7@gmail.com> Message-ID: I've been doing some php coding recently and it allows the use of single or double quotes as string delimiters so you can use single quotes around a string that includes double quotes. Would be nice to have that in LC. On Tue, Feb 16, 2016, 5:45 AM Peter M. Brigham wrote: > On Feb 16, 2016, at 1:32 AM, Matt Maier wrote: > > > I found the right syntax for writing html that will combine text and > images: > >

lerg

> > and also that the char reference isn't necessary, so this works > >

> > It's a bit tedious to code, since you have to escape the quotes like > this: > > put "

> quote & ">

" into tHTML > > but whatevs, it works. > > A slightly tangential offering ? here's what I use to create strings that > contain quotes ? it simplifies the tedious and error-prone process of > constructing these strings. > > ------- > > function qInString pStr, pAltChar > -- use for creating strings that contain quotes > -- eg, for constructing ask/answer dialogs, error messages, etc. > -- default is to use "^" as quote placeholder, can be overridden > -- eg, > -- qInString("fld ^text^ of card ^apple^ of stack ^fruits^") > -- returns: > -- fld "text" of card "apple" of stack "fruits" > -- shorter, and easier to proofread than > -- put "fld" && quote & "text" & quote && "of card" && quote & > "apple" \ > -- & quote && "of stack" && quote & "fruits" & quote into tStr > -- by Peter M. Brigham, pmbrig at gmail.com ? freeware > -- from a handler on the Use-LC list > > if pAltChar = empty then put "^" into pAltChar > replace pAltChar with quote in pStr > return pStr > end qInString > > ------- > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 livecode.org Tue Feb 16 12:47:26 2016 From: hh at livecode.org (-hh) Date: Tue, 16 Feb 2016 18:47:26 +0100 Subject: changing the size of the image that's combined with text Message-ID: <8EEC3FFA-1669-40A8-A5B3-D5BBC9F6AAD0@livecode.org> > I've been doing some php coding recently and it allows the us > of single or double quotes as string delimiters so you can use > single quotes around a string that includes double quotes. Would > be nice to have that in LC. Yes, this is so comfortable! I miss it in LC since years. Please make a feature request so that we can second it. From pete at lcsql.com Tue Feb 16 13:02:47 2016 From: pete at lcsql.com (Peter Haworth) Date: Tue, 16 Feb 2016 18:02:47 +0000 Subject: changing the size of the image that's combined with text In-Reply-To: <8EEC3FFA-1669-40A8-A5B3-D5BBC9F6AAD0@livecode.org> References: <8EEC3FFA-1669-40A8-A5B3-D5BBC9F6AAD0@livecode.org> Message-ID: QCC Report #16941 On Tue, Feb 16, 2016 at 9:47 AM [-hh] wrote: > > I've been doing some php coding recently and it allows the us > > of single or double quotes as string delimiters so you can use > > single quotes around a string that includes double quotes. Would > > be nice to have that in LC. > > Yes, this is so comfortable! I miss it in LC since years. Please > make a feature request so that we can second it. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at livecode.org Tue Feb 16 13:05:28 2016 From: hh at livecode.org (-hh) Date: Tue, 16 Feb 2016 19:05:28 +0100 Subject: Free BasicClock desktop clock for OSX Message-ID: <9E85C866-27D5-402E-8C75-C925962DAFFD@livecode.org> Howard, two hints to your clock: = If user hasn't installed (or disabled) the few fonts you make available then it always has the same 'system font'. = The colour chooser may be fully hidden by the clock window and then 'blocks' the app. From mikedoub at gmail.com Tue Feb 16 13:11:52 2016 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 16 Feb 2016 13:11:52 -0500 Subject: Replacing Stacks in Memory Message-ID: <56C36668.4090500@gmail.com> I am building a launcher app the loads stacks from DropBox. I am using go URL tURL where the tURL is the stack to load using the correct DropBox format. This works great for the first load. However, if I update the stack in DropBox and try to reload tURL, it does not purge the existing stack and load the new one. Is there a way to force a reload? Regards, Mike From scott at tactilemedia.com Tue Feb 16 13:27:04 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 16 Feb 2016 10:27:04 -0800 Subject: Replacing Stacks in Memory In-Reply-To: <56C36668.4090500@gmail.com> References: <56C36668.4090500@gmail.com> Message-ID: Try this, posted by Mike Bonner a while back: "Like the timestamp, you can just tack on a # and the milliseconds to each request. http://whatever.url.com/mystack.livecode#134513461" Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/16/16, 10:11 AM, "use-livecode on behalf of Michael Doub" wrote: >I am building a launcher app the loads stacks from DropBox. >I am using > >go URL tURL where the tURL is the stack to load using the correct >DropBox format. > >This works great for the first load. However, if I update the stack in >DropBox and try to reload tURL, it does not purge the existing stack and >load the new one. > >Is there a way to force a reload? > >Regards, > Mike > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Feb 16 13:48:59 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Feb 2016 12:48:59 -0600 Subject: Replacing Stacks in Memory In-Reply-To: <56C36668.4090500@gmail.com> References: <56C36668.4090500@gmail.com> Message-ID: <152eb6a0178.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I use the "revert" command. It basically just means "reload from disk" . -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 16, 2016 12:14:15 PM Michael Doub wrote: > I am building a launcher app the loads stacks from DropBox. > I am using > > go URL tURL where the tURL is the stack to load using the correct > DropBox format. > > This works great for the first load. However, if I update the stack in > DropBox and try to reload tURL, it does not purge the existing stack and > load the new one. > > Is there a way to force a reload? > > Regards, > Mike > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Tue Feb 16 13:47:56 2016 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 16 Feb 2016 13:47:56 -0500 Subject: Replacing Stacks in Memory In-Reply-To: References: <56C36668.4090500@gmail.com> Message-ID: <56C36EDC.2070800@gmail.com> Thanks Scott, but no luck. This might work if I was using the same url. In my case I have two urls that point to separate files. file1 is rev 1 of the stack, file1 is rev 2 of the stack. The stack inside each file has the same name, but different code. load file1 you see version 1 of the stack load file2 your still see version 1 of the stack I thought about trying to see if the stack was in memory, but I am not sure to find out the name of the stack when I only have the filename. -= Mike On 2/16/16 1:27 PM, Scott Rossi wrote: > Try this, posted by Mike Bonner a while back: > > "Like the timestamp, you can just tack on a # and the milliseconds to each > request. http://whatever.url.com/mystack.livecode#134513461" > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/16/16, 10:11 AM, "use-livecode on behalf of Michael Doub" > > wrote: > >> I am building a launcher app the loads stacks from DropBox. >> I am using >> >> go URL tURL where the tURL is the stack to load using the correct >> DropBox format. >> >> This works great for the first load. However, if I update the stack in >> DropBox and try to reload tURL, it does not purge the existing stack and >> load the new one. >> >> Is there a way to force a reload? >> >> Regards, >> Mike >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at livecode.com Tue Feb 16 13:54:27 2016 From: mark at livecode.com (Mark Waddingham) Date: Tue, 16 Feb 2016 19:54:27 +0100 Subject: Replacing Stacks in Memory In-Reply-To: <56C36668.4090500@gmail.com> References: <56C36668.4090500@gmail.com> Message-ID: On 2016-02-16 19:11, Michael Doub wrote: > I am building a launcher app the loads stacks from DropBox. > I am using > > go URL tURL where the tURL is the stack to load using the correct > DropBox format. > > This works great for the first load. However, if I update the stack > in DropBox and try to reload tURL, it does not purge the existing > stack and load the new one. Okay so when you do 'go url tURL' what is actually happening is you are doing: go () If evaluates to binary data which looks like a stackfile (after the engine's tried viewing it as a name of stack, and failed) it will try and load that binary data into memory as a stackfile. If there is already a stackfile in memory with that name, then the normal engine processes will kick-in and (most likely, as the stack doesn't have a filename) cause the existing stack which is in memory to be preserved, and the new one ditched. Now, a stack loaded with the above form will not have a filename, so 'revert' won't work. Instead, you'll probably need to do: delete stack go url ... Hope this helps! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From stephenREVOLUTION2 at barncard.com Tue Feb 16 14:29:35 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 16 Feb 2016 11:29:35 -0800 Subject: Replacing Stacks in Memory In-Reply-To: References: <56C36668.4090500@gmail.com> Message-ID: On Tue, Feb 16, 2016 at 10:54 AM, Mark Waddingham wrote: > delete stack which is the scariest command in the language for newcomers, because we often call the stack FILE 'the stack'. The first few times un-mounting a disk by dropping it into the trash can was pretty distressing too. Stephen Barncard - Sebastopol Ca. USA - mixstream.org From ambassador at fourthworld.com Tue Feb 16 14:47:00 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 16 Feb 2016 11:47:00 -0800 Subject: Replacing Stacks in Memory In-Reply-To: References: Message-ID: <56C37CB4.9070909@fourthworld.com> stephen barncard wrote: > On Tue, Feb 16, 2016 at 10:54 AM, Mark Waddingham wrote: > >> delete stack > > which is the scariest command in the language for newcomers, because > we often call the stack FILE 'the stack'. One possible remedy - a new "purge" command so the behavior is less frightening and avoids the heartbreak that occurs when applying the same "delete" command to a substack that had merely purged when used on a mainstack: http://quality.livecode.com/show_bug.cgi?id=3932 -- 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 mikedoub at gmail.com Tue Feb 16 14:51:12 2016 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 16 Feb 2016 14:51:12 -0500 Subject: Replacing Stacks in Memory In-Reply-To: References: <56C36668.4090500@gmail.com> Message-ID: <56C37DB0.8000708@gmail.com> ok, got it working. Thanks for everyone's help. Here is what I have done, The launcher has a datagrid AppPicker contains the links to the files available to launch. on mousedoubleup set the itemdel to tab put the dgHilitedLines of grp "AppPicker" into tLine put the dgDataOfLine[tLine] of grp "AppPicker" into tData put tData["theLink"] & "#" & the milliseconds into tURL -- this will force a reload is the same link is used if laststack is among the lines of the openstacks then -- if there is a stack in memory, delete it delete stack laststack put empty into laststack end if put the openstacks into stacklist -- remember what was open before the call go URL tURL get the openstacks -- figure out what is new, this must be the name of the new stack repeat for each line x in it if x is not among the lines of stacklist then put x into laststack exit repeat end if end repeat end mousedoubleup On 2/16/16 1:54 PM, Mark Waddingham wrote: > On 2016-02-16 19:11, Michael Doub wrote: >> I am building a launcher app the loads stacks from DropBox. >> I am using >> >> go URL tURL where the tURL is the stack to load using the correct >> DropBox format. >> >> This works great for the first load. However, if I update the stack >> in DropBox and try to reload tURL, it does not purge the existing >> stack and load the new one. > > Okay so when you do 'go url tURL' what is actually happening is you > are doing: > > go () > > If evaluates to binary data which looks like a stackfile (after > the engine's tried viewing it as a name of stack, and failed) it will > try and load that binary data into memory as a stackfile. If there is > already a stackfile in memory with that name, then the normal engine > processes will kick-in and (most likely, as the stack doesn't have a > filename) cause the existing stack which is in memory to be preserved, > and the new one ditched. > > Now, a stack loaded with the above form will not have a filename, so > 'revert' won't work. Instead, you'll probably need to do: > > delete stack > go url ... > > Hope this helps! > > Mark. > From tkuypers at telenet.be Tue Feb 16 15:28:09 2016 From: tkuypers at telenet.be (tkuypers at telenet.be) Date: Tue, 16 Feb 2016 21:28:09 +0100 Subject: Help using database & data conversion Message-ID: <715B936F-7AAB-41CC-AF7A-46A9937A254A@telenet.be> After 2 nights I give up!!! Even though I can?t, I must fix this :-( I?m using LiveCode Community 7.1.2 (rc 1) on a Mac. I have a database setup in mySQL, from which I need to retrieve data and insert it into a local SQLite database. Both the online and local databases are setup the same, but store UTF-8 data In one of the fields in a mySQL database there is the word ?bacteri?n?. When I use put textDecode(revDataFromQuery(,,dbID, vSQL),"UTF8") into vData to retrieve the data from the mySQL database, vData contains ?bacterin" When I use put textEncode(revDataFromQuery(,,dbID, vSQL),"UTF8") into vData to retrieve the data from the mySQL database, vData contains ?bacteri?n" When I use put revDataFromQuery(,,dbID, vSQL) into vData to retrieve the data from the mySQL database, vData contains binary data When I enter the word ?bacteri?n? manually in the local database, I can retrieve it without any problems, but I just can?t get it in there using the regular database functions :-( Anyone? please? How do I get the correct data in my local database? Met vriendelijke groeten, Warm Regards, Ton Kuypers +32 (0) 477 739 530 Steenweg op Leopoldsburg 100 ? B-2490 ? Balen ? Belgium www.publishingtools4u.com From iowahengst at mac.com Tue Feb 16 15:32:02 2016 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 16 Feb 2016 14:32:02 -0600 Subject: Free BasicClock desktop clock for OSX In-Reply-To: <56C345BB.8000907@fourthworld.com> References: <578AC786-8F3A-46B4-926A-2BC5C4961CF4@mac.com> <56C345BB.8000907@fourthworld.com> Message-ID: <10E7798F-CE66-4661-A2B9-5B7101F2AE36@mac.com> Thank you, Richard. I?ve been including the LiveCode attribution, but didn?t notice the "Open Source Licenses.txt? requirement. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Feb 16, 2016, at 9:52 AM, Richard Gaskin wrote: > > Randy Hengst wrote: > > > I didn?t see an attribution to LiveCode in your ?About? menu or your > > pdf help doc. Is attribution no longer required? > > Section 4d of the Indy license seems to still require it: > > d) Copyright notices, as defined in Appendix A, must appear wherever > any other copyright or trademark notice appears in any Created > Software distributed as a standalone executable, its > documentation, advertising, and other product-related literature. > > ... > > APPENDIX A - Required Copyright Notice > > You must include the following copyright notice where other such > notices appear. In the event that such other notices do not appear > in the Created Software, this notice must be placed in a reasonable > location. > > Built with LiveCode. Portions Copyright (C) 2000-2015 LiveCode Ltd, > All Rights Reserved Worldwide. > > In common with many other platforms the LiveCode Software uses open > source software to deliver some functionality. You must also include > the file "Open Source Licenses.txt" within any created software. This > may be included within your About screen, as a file within the folder > structure of a desktop app or in another accessible location. > > We would like you to include the LiveCode Ltd logo, as per the terms > set on our website. However, unlike the Copyright notices above, you > are not required to include the logo. > > > -- > 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 pete at lcsql.com Tue Feb 16 16:55:43 2016 From: pete at lcsql.com (Peter Haworth) Date: Tue, 16 Feb 2016 21:55:43 +0000 Subject: Help using database & data conversion In-Reply-To: <715B936F-7AAB-41CC-AF7A-46A9937A254A@telenet.be> References: <715B936F-7AAB-41CC-AF7A-46A9937A254A@telenet.be> Message-ID: What are the commands you are using to insert/update data in your mySQL database and your local SQLite database? Data needs to be textEncoded before the insertion/deletion and textDecoded when SELECTing. Also, not sure what you mean by "....manually in the local database". Pete On Tue, Feb 16, 2016 at 12:28 PM tkuypers at telenet.be wrote: > After 2 nights I give up!!! > Even though I can?t, I must fix this :-( > > I?m using LiveCode Community 7.1.2 (rc 1) on a Mac. > > I have a database setup in mySQL, from which I need to retrieve data and > insert it into a local SQLite database. > Both the online and local databases are setup the same, but store UTF-8 > data > > In one of the fields in a mySQL database there is the word ?bacteri?n?. > > > When I use > put textDecode(revDataFromQuery(,,dbID, vSQL),"UTF8") into vData > to retrieve the data from the mySQL database, vData contains ?bacterin" > > When I use > put textEncode(revDataFromQuery(,,dbID, vSQL),"UTF8") into vData > to retrieve the data from the mySQL database, vData contains ?bacteri?n" > > When I use > put revDataFromQuery(,,dbID, vSQL) into vData > to retrieve the data from the mySQL database, vData contains binary data > > When I enter the word ?bacteri?n? manually in the local database, I can > retrieve it without any problems, but I just can?t get it in there using > the regular database functions :-( > > Anyone? please? How do I get the correct data in my local database? > > > Met vriendelijke groeten, > Warm Regards, > > > > Ton Kuypers > +32 (0) 477 739 530 > > Steenweg op Leopoldsburg 100 ? B-2490 ? Balen ? Belgium > www.publishingtools4u.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 m.schonewille at economy-x-talk.com Tue Feb 16 17:00:53 2016 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 16 Feb 2016 23:00:53 +0100 Subject: Help using database & data conversion In-Reply-To: <715B936F-7AAB-41CC-AF7A-46A9937A254A@telenet.be> References: <715B936F-7AAB-41CC-AF7A-46A9937A254A@telenet.be> Message-ID: <56C39C15.1010003@economy-x-talk.com> Hi Ton, > When I use > put revDataFromQuery(,,dbID, vSQL) into vData > to retrieve the data from the mySQL database, vData contains binary > data Can you post the binary data? E.g. use urlEncode(vData) or put binaryDecode("h*",vData,x) put x 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 2/16/2016 om 21:28 schreef tkuypers at telenet.be: > After 2 nights I give up!!! > Even though I can?t, I must fix this :-( > > I?m using LiveCode Community 7.1.2 (rc 1) on a Mac. > > I have a database setup in mySQL, from which I need to retrieve data and insert it into a local SQLite database. > Both the online and local databases are setup the same, but store UTF-8 data > > In one of the fields in a mySQL database there is the word ?bacteri?n?. > > > When I use > put textDecode(revDataFromQuery(,,dbID, vSQL),"UTF8") into vData > to retrieve the data from the mySQL database, vData contains ?bacterin" > > When I use > put textEncode(revDataFromQuery(,,dbID, vSQL),"UTF8") into vData > to retrieve the data from the mySQL database, vData contains ?bacteri?n" > > When I use > put revDataFromQuery(,,dbID, vSQL) into vData > to retrieve the data from the mySQL database, vData contains binary data > > When I enter the word ?bacteri?n? manually in the local database, I can retrieve it without any problems, but I just can?t get it in there using the regular database functions :-( > > Anyone? please? How do I get the correct data in my local database? > > > Met vriendelijke groeten, > Warm Regards, > > > > Ton Kuypers > +32 (0) 477 739 530 > > Steenweg op Leopoldsburg 100 ? B-2490 ? Balen ? Belgium > www.publishingtools4u.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 bornstein at designeq.com Tue Feb 16 18:54:35 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Tue, 16 Feb 2016 15:54:35 -0800 Subject: Free BasicClock desktop clock for OSX In-Reply-To: <56C345BB.8000907@fourthworld.com> References: <578AC786-8F3A-46B4-926A-2BC5C4961CF4@mac.com> <56C345BB.8000907@fourthworld.com> Message-ID: Updated. On Tue, Feb 16, 2016 at 7:52 AM, Richard Gaskin wrote: > Randy Hengst wrote: > > > I didn?t see an attribution to LiveCode in your ?About? menu or your > > pdf help doc. Is attribution no longer required? > > Section 4d of the Indy license seems to still require it: > > d) Copyright notices, as defined in Appendix A, must appear wherever > any other copyright or trademark notice appears in any Created > Software distributed as a standalone executable, its > documentation, advertising, and other product-related literature. > > ... > > APPENDIX A - Required Copyright Notice > > You must include the following copyright notice where other such > notices appear. In the event that such other notices do not appear > in the Created Software, this notice must be placed in a reasonable > location. > > Built with LiveCode. Portions Copyright (C) 2000-2015 LiveCode Ltd, > All Rights Reserved Worldwide. > > In common with many other platforms the LiveCode Software uses open > source software to deliver some functionality. You must also include > the file "Open Source Licenses.txt" within any created software. This > may be included within your About screen, as a file within the folder > structure of a desktop app or in another accessible location. > > We would like you to include the LiveCode Ltd logo, as per the terms > set on our website. However, unlike the Copyright notices above, you > are not required to include the logo. > > > -- > 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 > -- Regards, Howard Bornstein ----------------------- www.designeq.com From bornstein at designeq.com Tue Feb 16 19:01:17 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Tue, 16 Feb 2016 16:01:17 -0800 Subject: Free BasicClock desktop clock for OSX In-Reply-To: <9E85C866-27D5-402E-8C75-C925962DAFFD@livecode.org> References: <9E85C866-27D5-402E-8C75-C925962DAFFD@livecode.org> Message-ID: On Tue, Feb 16, 2016 at 10:05 AM, [-hh] wrote: > Howard, two hints to your clock: > = If user hasn't installed (or disabled) the few fonts you > make available then it always has the same 'system font'. > This is true, however all my testers had these fonts installed by default so my assumption was that they would all show up. Did you not have any of these fonts installed at the time? Had you explicitly removed them? What version of OSX are you running? I'm trying to determine the likelihood of this occurring to see if it makes sense to spend the time trying to account for this case. > = The colour chooser may be fully hidden by the clock window > and then 'blocks' the app. > Ha! I never saw this but was able to hide the color picker behind the clock if I made the clock big enough and placed it in the same spot as the color picker. Hitting the return key (or quitting the app) gets you out of this as it turns out. Again, I'm wondering if this happened naturally for you or if you created this condition for stress testing. Thanks for the feedback. -- Regards, Howard Bornstein ----------------------- www.designeq.com From colinholgate at gmail.com Tue Feb 16 19:33:37 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 16 Feb 2016 19:33:37 -0500 Subject: Signing Identity Issue When Building Standalone In-Reply-To: References: Message-ID: <168EF659-BAC3-43F5-B58E-DFEA550FBA0C@gmail.com> I was still able to build apps this morning, but today my colleague chose to remove all certificates and provisioning profiles, as part of using the new Apple certificate. That messed me up! So, I went through installing the new certificate, and hooking up new profiles, but ran into some issues worth knowing about. The main one was that certificates were saying ?invalid issuer? in Keychain Access. I found a discussion about it, and it seems that an expired copy of the old certificate was still in Keychain Access, only invisible. The is a View/Show Expired Certificates option that helps. Then you can see the expired certificate in the system list, and can delete it. The issuer error goes away then. Another problem I hit was that a dialog came up asking if I wanted to sign the certificate, but the Always Allow and Allow buttons wouldn?t do anything, only the Deny button worked. I tracked down a discussion about that too, a message was appearing in Console: "Ignoring user action since the dialog has received events from an untrusted source?. This is a new Mac OS security thing, where if you have any sort of cursor controlling software going on the system refuses to let your valid mouse click work, to prevent hackers from unlocking your machine. In my case I had a mouse related extension turned on, quitting that let me click those buttons. From hh at livecode.org Tue Feb 16 20:35:35 2016 From: hh at livecode.org (-hh) Date: Wed, 17 Feb 2016 02:35:35 +0100 Subject: Free BasicClock desktop clock for OSX Message-ID: <8830715A-6A55-47F3-8677-FD12EF21C903@livecode.org> Howard B. wrote: > Did you not have any of these fonts installed at the time? > Had you explicitly removed them? What version of OSX are > you running? I have > 800 fonts on my Mac (and use newest OSX developer preview). Of course I enable only a small subset, what I currently need. Your's are usually not in that subset. > Again, I'm wondering if this happened naturally for you > or if you created this condition for stress testing. No stress test, a simple short test for functionality. I was curious whether you have implemented very special features because you hide your code. Then I saw this, tried to be helpful and reported. Good luck with your app. ======= Hermann From bornstein at designeq.com Tue Feb 16 21:14:58 2016 From: bornstein at designeq.com (Howard Bornstein) Date: Tue, 16 Feb 2016 18:14:58 -0800 Subject: Free BasicClock desktop clock for OSX In-Reply-To: <8830715A-6A55-47F3-8677-FD12EF21C903@livecode.org> References: <8830715A-6A55-47F3-8677-FD12EF21C903@livecode.org> Message-ID: Thanks Hermann, I think both of these are outlier conditions, but the clock hiding the color picker surprised me and I may try to figure a workaround on it. Thanks for letting me know. -Howard On Tue, Feb 16, 2016 at 5:35 PM, [-hh] wrote: > Howard B. wrote: > > Did you not have any of these fonts installed at the time? > > Had you explicitly removed them? What version of OSX are > > you running? > > I have > 800 fonts on my Mac (and use newest OSX developer > preview). Of course I enable only a small subset, what I > currently need. Your's are usually not in that subset. > > > Again, I'm wondering if this happened naturally for you > > or if you created this condition for stress testing. > > No stress test, a simple short test for functionality. > I was curious whether you have implemented very special > features because you hide your code. Then I saw this, > tried to be helpful and reported. > > Good luck with your app. > ======= > Hermann > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Howard Bornstein ----------------------- www.designeq.com From monte at appisle.net Tue Feb 16 21:27:49 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 17 Feb 2016 13:27:49 +1100 Subject: Mac window fullscreen widget Message-ID: <47283396-6F55-476E-82B2-1C759BE8D2F1@appisle.net> Hi folks I see that in my latest build of LC 8 the fullscreen widget is enabled on topLevel and modeless windows but I don?t recall any notes on this. I?m interested largely because I was going to add this in hactoberfest but decided against it because of the rather interesting entanglement of decorations properties and fullscreen property along with the recreation of windows for certain things meaning it seemed non-trivial to ensure a window stayed in fullscreen once put there etc. We need ways to programmatically enter and leave fullscreen mode along with ways to enable and disable the availability of the mode. Anyone have any hints where I look for those things. Ah? and now I just worked out that the widget appears to be a function of my now being on El Capitan which perhaps defaults windows to having the widget instead of the normal + maximize. This probably means it?s a bug even though it would be a nice feature ;-) Perhaps someone on the team might comment? Cheers Monte From hh at livecode.org Tue Feb 16 22:34:32 2016 From: hh at livecode.org (-hh) Date: Wed, 17 Feb 2016 04:34:32 +0100 Subject: Mac window fullscreen widget Message-ID: Monte G. wrote: > We need ways to programmatically enter and leave fullscreen > mode along with ways to enable and disable the availability > of the mode. > Anyone have any hints where I look for those things. This is what I use on MacOSX. The windowLevel should *always* be set lower than the popUpMenu level, so that one could use a rightClick menu to change to/from fullScreen mode. Use also, like most other apps, the escapeKey for leaving fullScreenMode. Perhaps is it possible to implement "set windowLevel to x" in LC 8.1? ======= Hermann From monte at appisle.net Wed Feb 17 06:01:26 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 17 Feb 2016 22:01:26 +1100 Subject: [ANN] mergExt News Message-ID: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> Hi LiveCoders and in particular mergExt users! Today I have a rather large announcement to make about mergExt. mergExt Externals are now exclusively licensed to LiveCode Ltd. The intention is for most or all of the externals to be available to LiveCode Indy licensed users. We will aim to have little or no interruption of access to the externals for exisiting users. I will continue to maintain the suite, however, the support queue will now be via support at livecode.com. I will be joining the development team soon and look forward to being able to work on the platform and extensions full time. Thanks to all those that have supported mergExt over the years! Cheers Monte From benr_mc at cogapp.com Wed Feb 17 06:21:09 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 17 Feb 2016 11:21:09 +0000 Subject: [ANN] mergExt News In-Reply-To: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> References: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> Message-ID: <56C457A5.40906@cogapp.com> This is great news for LiveCode. Thank you Monte for your incredible work. > exclusively licensed How does that effect existing licensees? Ben On 17/02/2016 11:01, Monte Goulding wrote: > Hi LiveCoders and in particular mergExt users! > > Today I have a rather large announcement to make about mergExt. mergExt Externals are now exclusively licensed to LiveCode Ltd. The intention is for most or all of the externals to be available to LiveCode Indy licensed users. > > We will aim to have little or no interruption of access to the externals for exisiting users. I will continue to maintain the suite, however, the support queue will now be via support at livecode.com. I will be joining the development team soon and look forward to being able to work on the platform and extensions full time. > > Thanks to all those that have supported mergExt over the years! > > Cheers > > Monte From kevin at livecode.com Wed Feb 17 06:29:48 2016 From: kevin at livecode.com (Kevin Miller) Date: Wed, 17 Feb 2016 11:29:48 +0000 Subject: [ANN] mergExt News In-Reply-To: <56C457A5.40906@cogapp.com> References: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> <56C457A5.40906@cogapp.com> Message-ID: Indeed, we are super delighted by this and to be welcoming Monte. The plan is to turn the best of these externals into widgets and make them cross platform over the course of the year. The ink is literally only dry on this deal minutes ago, we were planning to take another day or so to button up the Q&A around this and carefully announce it to you all. We are doing that now! :) We?ll answer your question(s) when that is done. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 17/02/2016 11:21, "use-livecode on behalf of Ben Rubinstein" wrote: >This is great news for LiveCode. > >Thank you Monte for your incredible work. > > > exclusively licensed > >How does that effect existing licensees? > >Ben > >On 17/02/2016 11:01, Monte Goulding wrote: >> Hi LiveCoders and in particular mergExt users! >> >> Today I have a rather large announcement to make about mergExt. mergExt >>Externals are now exclusively licensed to LiveCode Ltd. The intention is >>for most or all of the externals to be available to LiveCode Indy >>licensed users. >> >> We will aim to have little or no interruption of access to the >>externals for exisiting users. I will continue to maintain the suite, >>however, the support queue will now be via support at livecode.com. I will >>be joining the development team soon and look forward to being able to >>work on the platform and extensions full time. >> >> Thanks to all those that have supported mergExt over the years! >> >> Cheers >> >> Monte > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Wed Feb 17 06:34:11 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 17 Feb 2016 22:34:11 +1100 Subject: [ANN] mergExt News In-Reply-To: <56C457A5.40906@cogapp.com> References: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> <56C457A5.40906@cogapp.com> Message-ID: Thanks Ben There's still a few things to sort out with Kevin but we will try and ensure existing users won't be impacted. For the time being if you have access then continue to use it during the transition. If you need access then contact support at livecode.com Cheers Monte Sent from my iPhone > On 17 Feb 2016, at 10:21 PM, Ben Rubinstein wrote: > > This is great news for LiveCode. > > Thank you Monte for your incredible work. > > > exclusively licensed > > How does that effect existing licensees? > > Ben > >> On 17/02/2016 11:01, Monte Goulding wrote: >> Hi LiveCoders and in particular mergExt users! >> >> Today I have a rather large announcement to make about mergExt. mergExt Externals are now exclusively licensed to LiveCode Ltd. The intention is for most or all of the externals to be available to LiveCode Indy licensed users. >> >> We will aim to have little or no interruption of access to the externals for exisiting users. I will continue to maintain the suite, however, the support queue will now be via support at livecode.com. I will be joining the development team soon and look forward to being able to work on the platform and extensions full time. >> >> Thanks to all those that have supported mergExt over the years! >> >> Cheers >> >> Monte > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Wed Feb 17 06:40:19 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 17 Feb 2016 22:40:19 +1100 Subject: [ANN] mergExt News In-Reply-To: References: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> <56C457A5.40906@cogapp.com> Message-ID: <6B6325E9-AAE4-4E58-BF72-B3479854F67F@appisle.net> Woops.. Sorry Sent from my iPhone > On 17 Feb 2016, at 10:29 PM, Kevin Miller wrote: > > we were planning > to take another day or so to button up the Q&A around this and carefully > announce it to you all. From smaclean at madmansoft.com Wed Feb 17 08:13:52 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Wed, 17 Feb 2016 08:13:52 -0500 Subject: [ANN] mergExt News In-Reply-To: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> References: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> Message-ID: <4FC09F1E-7B70-4F1F-B63B-A30D6B1AB582@madmansoft.com> This is just fantastic news!!!!! I?ve always been impressed and pleased by Monte, his externals and his abilities. They really fill some big holes in LC. As someone who?s been hitting frustrating roadblock after roadblock recently with LC, starting to look elsewhere, this news has jump started my hopes again! I also hope that this means that we?ll finally get access to lower level OS calls and toolbox kits via LCB (in something other than C;)) Again, this is just fantastic news!!! Best, Steve MacLean > On Feb 17, 2016, at 6:01 AM, Monte Goulding wrote: > > Hi LiveCoders and in particular mergExt users! > > Today I have a rather large announcement to make about mergExt. mergExt Externals are now exclusively licensed to LiveCode Ltd. The intention is for most or all of the externals to be available to LiveCode Indy licensed users. > > We will aim to have little or no interruption of access to the externals for exisiting users. I will continue to maintain the suite, however, the support queue will now be via support at livecode.com. I will be joining the development team soon and look forward to being able to work on the platform and extensions full time. > > Thanks to all those that have supported mergExt over the years! > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Feb 17 08:40:14 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Feb 2016 05:40:14 -0800 Subject: [ANN] mergExt News In-Reply-To: <4FC09F1E-7B70-4F1F-B63B-A30D6B1AB582@madmansoft.com> References: <4FC09F1E-7B70-4F1F-B63B-A30D6B1AB582@madmansoft.com> Message-ID: <56C4783E.5060308@fourthworld.com> Stephen MacLean wrote: > This is just fantastic news!!!!! > > I?ve always been impressed and pleased by Monte, his externals and > his abilities. They really fill some big holes in LC. > > As someone who?s been hitting frustrating roadblock after roadblock > recently with LC, starting to look elsewhere, this news has jump > started my hopes again! I also hope that this means that we?ll > finally get access to lower level OS calls and toolbox kits via LCB > (in something other than C;)) > > Again, this is just fantastic news!!! +100 This gives us an opportunity to acknowledge Monte's other tremendous contributions to LiveCode as well, including his 166 commits to the code base he's racked up to date: https://github.com/livecode/livecode/graphs/contributors Any closer relationship between Monte and the core dev team can only be a very good thing for all of us who enjoy LiveCode. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Wed Feb 17 09:39:08 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 17 Feb 2016 09:39:08 -0500 Subject: [ANN] mergExt News In-Reply-To: <56C4783E.5060308@fourthworld.com> References: <4FC09F1E-7B70-4F1F-B63B-A30D6B1AB582@madmansoft.com> <56C4783E.5060308@fourthworld.com> Message-ID: <001701d16990$f5a3b9d0$e0eb2d70$@net> + 100 also. Hey Monte, Did you get a pancake printer included in that contract? Stephen MacLean wrote: > This is just fantastic news!!!!! > > I?ve always been impressed and pleased by Monte, his externals and > his abilities. They really fill some big holes in LC. > > As someone who?s been hitting frustrating roadblock after roadblock > recently with LC, starting to look elsewhere, this news has jump > started my hopes again! I also hope that this means that we?ll > finally get access to lower level OS calls and toolbox kits via LCB > (in something other than C;)) > > Again, this is just fantastic news!!! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From prothero at earthednet.org Wed Feb 17 09:51:39 2016 From: prothero at earthednet.org (William Prothero) Date: Wed, 17 Feb 2016 06:51:39 -0800 Subject: [ANN] mergExt News In-Reply-To: <001701d16990$f5a3b9d0$e0eb2d70$@net> References: <4FC09F1E-7B70-4F1F-B63B-A30D6B1AB582@madmansoft.com> <56C4783E.5060308@fourthworld.com> <001701d16990$f5a3b9d0$e0eb2d70$@net> Message-ID: <9C9FC156-5349-4D60-8ECD-528D989786E3@earthednet.org> Me too. Wonderful news! Thanks for your wonderful additions to livecode, Monte! Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From prothero at earthednet.org Wed Feb 17 09:54:59 2016 From: prothero at earthednet.org (William Prothero) Date: Wed, 17 Feb 2016 06:54:59 -0800 Subject: Assigning behaviors Message-ID: <439E7A4C-496B-4AA2-A163-829A92AFB04F@earthednet.org> Folks: This is not a really big deal, but since I started using behaviors, I find the method of attaching a behavior to a control to be clumsy. Anybody got a smoother method than typing in the command to set a behavior into the message box? Not a big deal, but it does seem this action is not as integrated into the IDE as other common actions. Or perhaps I haven?t noticed an addition to the IDE that does this. Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From ali.lloyd at livecode.com Wed Feb 17 10:16:23 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Wed, 17 Feb 2016 15:16:23 +0000 Subject: Assigning behaviors In-Reply-To: <439E7A4C-496B-4AA2-A163-829A92AFB04F@earthednet.org> References: <439E7A4C-496B-4AA2-A163-829A92AFB04F@earthednet.org> Message-ID: Hi Bill, you may be pleased to know that the property inspector editor for the behavior property has been 'beefed up' for 8.0 DP 15: https://github.com/livecode/livecode-ide/pull/840 On Wed, Feb 17, 2016 at 2:54 PM William Prothero wrote: > Folks: > This is not a really big deal, but since I started using behaviors, I find > the method of attaching a behavior to a control to be clumsy. Anybody got a > smoother method than typing in the command to set a behavior into the > message box? > > Not a big deal, but it does seem this action is not as integrated into the > IDE as other common actions. > > Or perhaps I haven?t noticed an addition to the IDE that does this. > > Best, > Bill > > William Prothero, Ph.D. > University of California, Santa Barbara, Emeritus > prothero at earthednet.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 roger.e.eller at sealedair.com Wed Feb 17 10:23:04 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 17 Feb 2016 10:23:04 -0500 Subject: [ANN] mergExt News In-Reply-To: References: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> <56C457A5.40906@cogapp.com> Message-ID: Hi Kevin, I am VERY pleased that you intend to make these tools cross-platform. A dev environment such as LiveCode which is marketed as cross-platform, should have cross-platform add-ons (I have always said). This will be a great value for many potential new customers. I have never believed that any feature could only be possible in iOS. You just need the right people working on porting the features. They ARE out there. ~Roger On Wed, Feb 17, 2016 at 6:29 AM, Kevin Miller wrote: > Indeed, we are super delighted by this and to be welcoming Monte. The plan > is to turn the best of these externals into widgets and make them cross > platform over the course of the year. > > The ink is literally only dry on this deal minutes ago, we were planning > to take another day or so to button up the Q&A around this and carefully > announce it to you all. We are doing that now! :) We?ll answer your > question(s) when that is done. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > > > On 17/02/2016 11:21, "use-livecode on behalf of Ben Rubinstein" > > wrote: > > >This is great news for LiveCode. > > > >Thank you Monte for your incredible work. > > > > > exclusively licensed > > > >How does that effect existing licensees? > > > >Ben > > > >On 17/02/2016 11:01, Monte Goulding wrote: > >> Hi LiveCoders and in particular mergExt users! > >> > >> Today I have a rather large announcement to make about mergExt. mergExt > >>Externals are now exclusively licensed to LiveCode Ltd. The intention is > >>for most or all of the externals to be available to LiveCode Indy > >>licensed users. > >> > >> We will aim to have little or no interruption of access to the > >>externals for exisiting users. I will continue to maintain the suite, > >>however, the support queue will now be via support at livecode.com. I will > >>be joining the development team soon and look forward to being able to > >>work on the platform and extensions full time. > >> > >> Thanks to all those that have supported mergExt over the years! > >> > >> Cheers > >> > >> Monte > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 earthednet.org Wed Feb 17 10:51:56 2016 From: prothero at earthednet.org (William Prothero) Date: Wed, 17 Feb 2016 07:51:56 -0800 Subject: Assigning behaviors In-Reply-To: References: <439E7A4C-496B-4AA2-A163-829A92AFB04F@earthednet.org> Message-ID: <611BC1AD-D7AA-423F-B1EE-5404400B5582@earthednet.org> Ali: Wonderful! I?ll be looking forward to it. Behaviors are so useful that getting them more "front and center? in the property inspector will be very nice. Best, Bill > On Feb 17, 2016, at 7:16 AM, Ali Lloyd wrote: > > Hi Bill, you may be pleased to know that the property inspector editor for > the behavior property has been 'beefed up' for 8.0 DP 15: > https://github.com/livecode/livecode-ide/pull/840 > > On Wed, Feb 17, 2016 at 2:54 PM William Prothero > wrote: > >> Folks: >> This is not a really big deal, but since I started using behaviors, I find >> the method of attaching a behavior to a control to be clumsy. Anybody got a >> smoother method than typing in the command to set a behavior into the >> message box? >> >> Not a big deal, but it does seem this action is not as integrated into the >> IDE as other common actions. >> >> Or perhaps I haven?t noticed an addition to the IDE that does this. >> >> Best, >> Bill >> >> William Prothero, Ph.D. >> University of California, Santa Barbara, Emeritus >> prothero at earthednet.org >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Wed Feb 17 11:02:07 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 17 Feb 2016 08:02:07 -0800 Subject: Assigning behaviors In-Reply-To: <439E7A4C-496B-4AA2-A163-829A92AFB04F@earthednet.org> References: <439E7A4C-496B-4AA2-A163-829A92AFB04F@earthednet.org> Message-ID: On Wed, Feb 17, 2016 at 6:54 AM, William Prothero wrote: > Anybody got a smoother method than typing in the command to set a behavior > into the message box? I have a script that automatically runs on a version increments change that cycles through the stacks & cards, and uses cues like names and custom properties to adjust other properties, keys in the database, and so forth. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Wed Feb 17 11:50:44 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 17 Feb 2016 08:50:44 -0800 Subject: [ANN] mergExt News In-Reply-To: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> References: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> Message-ID: <56C4A4E4.2070706@ahsoftware.net> On 02/17/2016 03:01 AM, Monte Goulding wrote: > Hi LiveCoders and in particular mergExt users! > > Today I have a rather large announcement to make about mergExt. mergExt Externals are now exclusively licensed to LiveCode Ltd. The intention is for most or all of the externals to be available to LiveCode Indy licensed users. 'rather large'... Monte has a way with understatements... Woot! This is great news for everybody! -- Mark Wieder ahsoftware at gmail.com From prothero at earthednet.org Wed Feb 17 13:30:21 2016 From: prothero at earthednet.org (William Prothero) Date: Wed, 17 Feb 2016 10:30:21 -0800 Subject: Assigning behaviors In-Reply-To: References: <439E7A4C-496B-4AA2-A163-829A92AFB04F@earthednet.org> Message-ID: Dr. Hawkins: Sounds interesting. If you?re willing to share, I?d love to take a peek at it. My email: prothero at earthednet.org Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org > On Feb 17, 2016, at 8:02 AM, Dr. Hawkins wrote: > > On Wed, Feb 17, 2016 at 6:54 AM, William Prothero > wrote: > >> Anybody got a smoother method than typing in the command to set a behavior >> into the message box? > > > I have a script that automatically runs on a version increments change that > cycles through the stacks & cards, and uses cues like names and custom > properties to adjust other properties, keys in the database, and so forth. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Wed Feb 17 14:18:55 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 18 Feb 2016 06:18:55 +1100 Subject: [ANN] mergExt News In-Reply-To: <56C4A4E4.2070706@ahsoftware.net> References: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> <56C4A4E4.2070706@ahsoftware.net> Message-ID: <5CC27DF3-8686-48C8-B39A-65FCF8A2DE1C@appisle.net> Thanks for the love folks. > On 18 Feb 2016, at 3:50 AM, Mark Wieder wrote: > > On 02/17/2016 03:01 AM, Monte Goulding wrote: >> Hi LiveCoders and in particular mergExt users! >> >> Today I have a rather large announcement to make about mergExt. mergExt Externals are now exclusively licensed to LiveCode Ltd. The intention is for most or all of the externals to be available to LiveCode Indy licensed users. > > 'rather large'... Monte has a way with understatements... > > Woot! This is great news for everybody! > > -- > 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 dochawk at gmail.com Wed Feb 17 15:46:16 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 17 Feb 2016 12:46:16 -0800 Subject: Assigning behaviors In-Reply-To: References: <439E7A4C-496B-4AA2-A163-829A92AFB04F@earthednet.org> Message-ID: On Wed, Feb 17, 2016 at 10:30 AM, William Prothero wrote: > Sounds interesting. If you?re willing to share, I?d love to take a peek at > it. It's very specific to how my program functions; the code wouldn't translate directly. But something to the effect of repeat for each word stk in (your list of stacks, or the openStacks) put the long id of stack stk into tgStk ---do some processing here repeat with i = 1 to the number of cards in stack stk put the long id of card i of tgStk into gCd --do some card pre-processing -- put the long ids of the cards, and possibly add groups on the cards, into lines of srcCdList end repeat repeat for each line tgCd in srcCdList repeat with j = 1 to the number of controls on tgCd put the long id of control i of tgCd into tgTg put the short name of tgTg into fldNam if fldNam="Label Field" then --do stuff to deal with the size of the labels, if needed, based on their custom properties next repeat end if --if not a label field, it generally has a purpose switch word 1 of the name of tgTg case "field" --if it got here, it's a data field --make sure it has an appropriate typeface --put it's short name into the display field properties for this group or cards. --if fldNam starts with "ck_" it's a custom checkbox; handle it's size & properties --if the owner of fldNam starts with "cg_" it's part of one of my custom click-groups of checkboxes --and so forth break case group --certain types go groups get handling break case . . . end switch end repeat --j --set properties of tgCd, such as it's display fields end repeat --i --set sack properties based on accumulated info end repeat --stacks --set global properties and lists based on accumulated info -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Wed Feb 17 16:06:50 2016 From: richmondmathewson at gmail.com (RM) Date: Wed, 17 Feb 2016 23:06:50 +0200 Subject: Sound, Linux, Embedding Message-ID: <56C4E0EA.8040102@gmail.com> So, after keeping quiet on this for about 5 years . . . I was digging away in some ZIP disks I have access to via a SCSI card in the back of my Linux box [neither my G3 iMac, nor my G5 iMac having SCSI ports] and I chanced upon some "LiveCode" (i.e. Runtime Revolution) stacks I made while I was working at the University of St. Andrews for foreign students to practise English vowel sounds . . . and thought . . . wouldn't it be "fun" (this involves a fairly broad definition of what constitutes fun) if it were now possible to port them to run on Linux, including the ability to embed the sounds in the stack. So? Richmond. From prothero at earthednet.org Wed Feb 17 16:48:31 2016 From: prothero at earthednet.org (William Prothero) Date: Wed, 17 Feb 2016 13:48:31 -0800 Subject: Assigning behaviors In-Reply-To: References: <439E7A4C-496B-4AA2-A163-829A92AFB04F@earthednet.org> Message-ID: <9634FAAF-19A9-44A1-9AB6-A3990ABB270B@earthednet.org> Thanks! Bill > On Feb 17, 2016, at 12:46 PM, Dr. Hawkins wrote: > > On Wed, Feb 17, 2016 at 10:30 AM, William Prothero > wrote: > >> Sounds interesting. If you?re willing to share, I?d love to take a peek at >> it. > > > It's very specific to how my program functions; the code wouldn't translate > directly. But something to the effect of > > repeat for each word stk in (your list of stacks, or the openStacks) > > > put the long id of stack stk into tgStk > > ---do some processing here > > > repeat with i = 1 to the number of cards in stack stk > > put the long id of card i of tgStk into gCd > --do some card pre-processing > > -- put the long ids of the cards, and possibly add groups on the cards, > into lines of srcCdList > > end repeat > > repeat for each line tgCd in srcCdList > > repeat with j = 1 to the number of controls on tgCd > > put the long id of control i of tgCd into tgTg > > put the short name of tgTg into fldNam > > if fldNam="Label Field" then > > > --do stuff to deal with the size of the labels, if needed, based on their > custom properties > next repeat > > end if > > --if not a label field, it generally has a purpose > > switch word 1 of the name of tgTg > > case "field" > > --if it got here, it's a data field > --make sure it has an appropriate typeface > > --put it's short name into the display field properties for this group or > cards. > > --if fldNam starts with "ck_" it's a custom checkbox; handle it's size & > properties > > --if the owner of fldNam starts with "cg_" it's part of one of my custom > click-groups of checkboxes > > > --and so forth > > break > > case group > > --certain types go groups get handling > > break > > case . . . > > > end switch > > end repeat --j > > --set properties of tgCd, such as it's display fields > > end repeat --i > > --set sack properties based on accumulated info > > end repeat --stacks > > --set global properties and lists based on accumulated info > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Wed Feb 17 21:22:40 2016 From: warren at warrensweb.us (Warren Samples) Date: Wed, 17 Feb 2016 20:22:40 -0600 Subject: Sound, Linux, Embedding In-Reply-To: <56C4E0EA.8040102@gmail.com> References: <56C4E0EA.8040102@gmail.com> Message-ID: <56C52AF0.3000406@warrensweb.us> On 02/17/2016 03:06 PM, RM wrote: > So, after keeping quiet on this for about 5 years . . . > > I was digging away in some ZIP disks I have access to via a SCSI card in > the back of my Linux > box [neither my G3 iMac, nor my G5 iMac having SCSI ports] and I chanced > upon some > "LiveCode" (i.e. Runtime Revolution) stacks I made while I was working > at the University of St. Andrews > for foreign students to practise English vowel sounds . . . and thought > . . . > > wouldn't it be "fun" (this involves a fairly broad definition of what > constitutes fun) if it were now > possible to port them to run on Linux, including the ability to embed > the sounds in the stack. > > So? > > Richmond. > Richmond, you can play audioclips under Linux. I'm not sure what dependencies you need to satisfy and you may have to experiment to find a format/bit rate/sampling rate that plays, but it can work. For some reason some sounds (perhaps due to short length?) don't appear to play in the IDE but will play in a standalone. Download and experiment with Jacquie's Blocks. The woodtap doesn't play for me in the IDE but works in a standalone. The fanfare plays but is truncated in the IDE and works fine in the standalone. The sound used to signal the end of a game with blocks left plays as white noise instead of whatever it's supposed to sound like. Good luck! From lan.kc.macmail at gmail.com Thu Feb 18 03:03:07 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 18 Feb 2016 16:03:07 +0800 Subject: local and do - what NOT to do Message-ID: The Dictionary entry for 'local' has this Example: -- To make a numbered list of variables: repeat with x=1 to 20 do "local tVar_" & x & "; put empty into tVar_" & x end repeat Which 'apparently' runs fine if you copy and paste it into the msg box. For the purposes of this discussion and so we can see what's going on I'm going to remix that to: repeat with x=1 to 20 do "local tVar_" & x do "put x*x into tVar_" & x end repeat As Hermann pointed out in a previous thread, if you use Strict Compilation mode, to access any of those variables you can't: put tVar_5 into msg because when you apply the changes you get an error because LC doesn't know tVar_5 has been declared in . To work around this EVERY SINGLE TIME you have to refer to ANY variable created by you have to hide it in another : do "put tVar_5 into msg" --making even slower (time to learn about arrays;-) BUT, assuming you are severely allergic to arrays and simply must use , then what is the point of the statement? If you accidentally in the final statement wrote: do "put tBar_5 into msg" --Bar not Var Strict Mode will NOT pick this up as all variables are basically hidden. Moving right along, for those Slack Moders, if you run the same statements: repeat with x=1 to 20 do "local tVar_" & x do "put x*x into tVar_" & x end repeat put tVar_5 into msg --not hidden in For reasons I do NOT understand, you get a runtime error: line: do "local tVar_" & x hint: local tVar_5 If you remove/comment the line: do "local tVar_" & x everything will then run fine - reinforcing your decision to choose Slack Mode because declaring vars is so 3GL ;-) So long story short; contrary to the example, it would seem to be counter-productive to use within a statement. From hh at livecode.org Thu Feb 18 05:50:59 2016 From: hh at livecode.org (-hh) Date: Thu, 18 Feb 2016 11:50:59 +0100 Subject: local and do - what NOT to do Message-ID: Kay C. L. wrote: > Moving right along, for those Slack Moders, if you run the same statements: > > repeat with x=1 to 20 > do "local tVar_" & x > do "put x*x into tVar_" & x > end repeat > put tVar_5 into msg --not hidden in > > For reasons I do NOT understand, you get a runtime error: > > line: do "local tVar_" & x > hint: local tVar_5 > > If you remove/comment the line: do "local tVar_" & x > > everything will then run fine - reinforcing your decision to choose Slack > Mode because declaring vars is so 3GL ;-) > > So long story short; contrary to the example, it would seem to be > counter-productive to use within a statement. Hi, I read about "do" again last night, because Craig N. (in a comment to Peter H.'s QCC #16941) suggested to use single quotes also for triggering a re-compilation, as "do" does. He used a 'declaration'-example similar to yours. Now you end in a rather nifty example. on mouseUp repeat with x=1 to 20 do "local tVar_" & x do "put x*x into tVar_" & x end repeat put tVar_5 into fld 2 end mouseUp [1] In strict compilation mode it throws "unquoted literal" on "tVar_5", all OK. [2] In slack compilation mode it throws "local tVar_5", also OK? I think so. The point is: *** "do" recompiles ***. Thus line 3 with x=5, what is "local tVar_5", is offending in that re-compilation, because tVar_5 is already implicitly declared in line 6 of first compilation. > .. It may be be counter-productive to use within a statement I would like to add to your advice the following line. 'This may help sometimes: Read "do" as if it were on the end of current handler.' ======= Hermann From peter.brett at livecode.com Thu Feb 18 06:01:38 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 18 Feb 2016 11:01:38 +0000 Subject: local and do - what NOT to do In-Reply-To: References: Message-ID: <56C5A492.2090203@livecode.com> On 18/02/2016 08:03, Kay C Lan wrote: > The Dictionary entry for 'local' has this Example: > > -- To make a numbered list of variables: > repeat with x=1 to 20 > do "local tVar_" & x & "; put empty into tVar_" & x > end repeat > > Which 'apparently' runs fine if you copy and paste it into the msg box. For > the purposes of this discussion and so we can see what's going on I'm going > to remix that to: Are there any problems that can be solved by generating variable names, that couldn't be solved equally well (and without using "do") using an array? Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From hh at livecode.org Thu Feb 18 06:46:31 2016 From: hh at livecode.org (-hh) Date: Thu, 18 Feb 2016 12:46:31 +0100 Subject: local and do - what NOT to do Message-ID: > Peter B. wrote: > > The Dictionary entry for 'local' has this Example: > > > > -- To make a numbered list of variables: > > repeat with x=1 to 20 > > do "local tVar_" & x & "; put empty into tVar_" & x > > end repeat > > > > Which 'apparently' runs fine if you copy and paste it into the msg box. For > > the purposes of this discussion and so we can see what's going on I'm going > > to remix that to: > > Are there any problems that can be solved by generating variable names, that > couldn't be solved equally well (and without using "do") using an array? Peter Just now I can't think of an example for *generating* variable names only. But there are very simple and important ones for *using* variable names: local a1=1, a2=false -- local a[1]=1, a[2]=false #<-- currently not allowed For such default-constructs variable names and using "do" are really helpful. From mark at livecode.com Thu Feb 18 06:52:15 2016 From: mark at livecode.com (Mark Waddingham) Date: Thu, 18 Feb 2016 12:52:15 +0100 Subject: local and do - what NOT to do In-Reply-To: References: Message-ID: On 2016-02-18 09:03, Kay C Lan wrote: > The Dictionary entry for 'local' has this Example: > > -- To make a numbered list of variables: > repeat with x=1 to 20 > do "local tVar_" & x & "; put empty into tVar_" & x > end repeat Okay so this kind of code pattern originates from HyperCard which did not have arrays. If you wanted to manipulate multiple separate values without restriction on their contents (e.g. elements of a list which need to contain the delimiter) then it was probably one of the only options. An important thing to remember about LiveCode compared to HyperCard (as far as I understand, at least) is that LiveCode *compiles* scripts ahead of time; in contrast to HyperCard which operated on a line-by-line execution basis. Strict Compilation Mode is a compilation option - it has no effect at execution time. If Strict Compilation Mode is turned off, then when a script is compiled any token which is where a variable could be is treated as an 'unquoted literal'. Such unquoted literals are implemented by the engine by declaring a variable whose contents is the name of the variable but only up until appoint the variable is assigned a value - at which point it is cleared before hand. e.g. put foobar into tVar put barfoo after foobar put foobar Will result in: - tVar containing foobar - foobar containing barfoo So, with that in mind let's take a look at what is happening in the above code snippet: repeat with x=1 to 20 do "local tVar_" & x do "put x*x into tVar_" & x end repeat put tVar_5 into msg --not hidden in With Strict Compilation Mode turned off, this script will compile fine - it will cause the handler which the code is placed in to have an 'unquoted literal variable' tVar_5 defined - at the point of compilation. This means that when you run the script, you get a 'local variable shadows another' parsing error when you do 'do "local tVar_5"' as there is already a variable that exists with that name. Indeed, if you try this (again with Strict Compilation Mode turned off): repeat with x=1 to 20 do "local tVar_" & x do "put x*x into tVar_" & x end repeat put tVar_5 into msg --not hidden in local tVar_5 You will get an error on the final line when applying the script as tVar_5 has already been implicitly declared as an unquoted literal variable. With Strict Compilation Mode turned on, then neither script will compile - as you are using 'tVar_5' on the fifth line without declaring it. Now, whilst at first site it might seem like 'local' declarations are superfluous for these kinds of things, they do actually serve a purpose. Compare the following two snippets: repeat with x = 1 to 5 if (x mod 2) is 1 then do "put x*x into tVar_" & x end if end repeat local tAllVars repeat with x = 1 to 5 do "put tVar_" & x & " & return after tAllVars" end repeat put tAllVars And: repeat with x = 1 to 5 do "local tVar_" & x if (x mod 2) is 1 then do "put x*x into tVar_" & x end if end repeat local tAllVars repeat with x = 1 to 5 do "put tVar_" & x & " & return after tAllVars" end repeat put tAllVars In the first snippet you will get: 1 tVar_2 9 tVar_4 25 In the second snippet you will get: 1 9 25 Basically, using 'local' ensures that any use of the variable token will be treated as a variable and not as an unquoted literal, i.e. doing 'local tVar' essentially means add a variable to the current handler initialized to empty. If you don't use local then any tokens which have not previously been declared as variables (whether at compile time, or runtime using do) will be treated as variables with the variable name as contents. Upshot: There's no reason to use 'local' in do if you are initializing the variable at that point. Indeed, one could argue that it is better to do: do "put empty into tVar_" & x Rather than using 'local' as then you can mix dynamic vars with those declared at the point of compilation without issue. (As 'local' requires that the variable has *not* been previously defined whether it be as an unquoted literal, or as the target of an assignment). Hope this helps! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Thu Feb 18 07:01:59 2016 From: mark at livecode.com (Mark Waddingham) Date: Thu, 18 Feb 2016 13:01:59 +0100 Subject: local and do - what NOT to do In-Reply-To: References: Message-ID: On 2016-02-18 12:46, [-hh] wrote: > Just now I can't think of an example for *generating* variable names > only. > But there are very simple and important ones for *using* variable > names: > > local a1=1, a2=false > -- local a[1]=1, a[2]=false #<-- currently not allowed > > For such default-constructs variable names and using "do" are really > helpful. Although you can do the above as: local a -- only needed if in strict compilation mode put 1 into a[1] put false into a[2] Whilst this is 2 or three lines as opposed to 1, I'd argue that that small amount of extra verbosity makes things easier to read. Alternatively: local a -- only needed if in strict compilation mode put 1,false into a split a by comma Which can be generalized to an arbitrary number of elements in a, for only 2/3 lines. Also, both of the above patterns are substantially more efficient than using 'do' which is horrendously inefficient - after all it has to compile the snippet of code you want to do and then execute it... As opposed to just executing what has previously been compiled if you don't use 'do'. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From lan.kc.macmail at gmail.com Thu Feb 18 07:15:44 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 18 Feb 2016 20:15:44 +0800 Subject: local and do - what NOT to do In-Reply-To: References: Message-ID: On Thu, Feb 18, 2016 at 7:52 PM, Mark Waddingham wrote: > >> Okay so this kind of code pattern originates from HyperCard which did not > have arrays. > > Upshot: There's no reason to use 'local' in do if you are initializing the > variable at that point. Indeed, one could argue that it is better to do: > > do "put empty into tVar_" & x Which all goes to reinforce my initial feeling; the Example given in the Dictionary for is negative learning. Noted added to my ever increasing pile of Dictionary improvements. From hh at livecode.org Thu Feb 18 07:45:20 2016 From: hh at livecode.org (-hh) Date: Thu, 18 Feb 2016 13:45:20 +0100 Subject: local and do - what NOT to do Message-ID: <8E0C8E21-D9D3-4AAB-8149-2D91D47DD1BA@livecode.org> Mark Wadd. wrote: > > [-hh] wrote: > > local a1=1, a2=false > > -- local a[1]=1, a[2]=false #<-- currently not allowed > > > > For such default-constructs variable names and using "do" > > are really helpful. > > Although you can do the above as: > local a -- only needed if in strict compilation mode > put 1 into a[1] > put false into a[2] I meant local *script* variables, outside of handlers, I seldom use local declarations within handlers. The possibility of setting default values is an important tool for me. For example in a button script that uses a certain variable in mouseEnter, mouseDown, menuPick and ... Where to set the default for an array entry if one wishes to use also "send " to the button? In each and every handler? (These local variable declarations in the top lines of my scripts act for me also like the header of a HTML-page. Nearly always one knows roughly alone from that what's following.) ======= Hermann From ambassador at fourthworld.com Thu Feb 18 08:48:12 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Feb 2016 05:48:12 -0800 Subject: local and do - what NOT to do In-Reply-To: References: Message-ID: <56C5CB9C.3080803@fourthworld.com> Kay C Lan wrote: > On Thu, Feb 18, 2016 at 7:52 PM, Mark Waddingham wrote: >> >>> Okay so this kind of code pattern originates from HyperCard which did not >> have arrays. >> >> Upshot: There's no reason to use 'local' in do if you are initializing the >> variable at that point. Indeed, one could argue that it is better to do: >> >> do "put empty into tVar_" & x > > Which all goes to reinforce my initial feeling; the Example given in the > Dictionary for is negative learning. Noted added to my ever > increasing pile of Dictionary improvements. Please consider logging those in the bug report so the dev team and/or the community can address them. Better still, if you have time you can update that Dictionary entry yourself: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Thu Feb 18 12:42:13 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 18 Feb 2016 12:42:13 -0500 Subject: RFQ: Controllable Browser Message-ID: I'm looking for someone to help me with my scraping projects. I want to be able to control a browser, including navigating, pulling all the goodies off of a page, click links, buttons, etc., fill forms, and scrape. Think of this as RoboBrowser for LC. -- 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 kevin at livecode.com Thu Feb 18 12:45:44 2016 From: kevin at livecode.com (Kevin Miller) Date: Thu, 18 Feb 2016 17:45:44 +0000 Subject: mergExt Acquisition Message-ID: Dear All, As Monte mentioned on this list yesterday, we are delighted to announce a very exciting acquisition for LiveCode: we have purchased the full suite of the invaluable mergEXT externals for iOS. These will shortly be included with your Indy or Business license purchase. We will also be hiring Monte to work for us full time. Over time our team will work with Monte over the course of the coming months to turn the mergEXT suite into integrated widgets that work cross platform where appropriate. You can read all about this acquisition here: https://livecode.com/merging-with-mergext/ You guys don't need to be told just how valuable Monte is going to be to our team! We can't wait to start working with him. The addition of mergEXT adds a huge amount of value to the license packages. We also have a staggering list of new features and benefits coming with LiveCode 8, in the near, medium and longer term future. We are adjusting our pricing strategy to account for this added value, incrementally over time. You can read all about this here: https://livecode.com/leap-to-future/ Right now, you can still get everything including the mergEXT addons for the current price of Indy, and you can lock in at that price. Footnote: For those of you with an Indy or Business license already, we need to ask for your patience. It is going to take us a little time to drop the mergEXT suite into your accounts retrospectively. Please don't write to support to ask why its not there yet, for at least a week! :) We will send out an announcement when it is all done and you can go look for it in your account. We are working on that now. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jf_byrnes at comcast.net Wed Feb 17 21:44:12 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Wed, 17 Feb 2016 20:44:12 -0600 Subject: Livecode University & Linux Message-ID: I recently discovered Livecode and have worked through a couple of tutorials. I would be interested in taking the two courses I found but the faq says windows or mac required. I asked over on the forums if Linux could be used to take the courses but never really received a definitive answer. So I would be interested in hearing anyones personal experiences using Linux to take the courses. Regards, Jim From blueback09 at gmail.com Thu Feb 18 13:30:38 2016 From: blueback09 at gmail.com (Matt Maier) Date: Thu, 18 Feb 2016 10:30:38 -0800 Subject: [ANN] mergExt News In-Reply-To: <5CC27DF3-8686-48C8-B39A-65FCF8A2DE1C@appisle.net> References: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> <56C4A4E4.2070706@ahsoftware.net> <5CC27DF3-8686-48C8-B39A-65FCF8A2DE1C@appisle.net> Message-ID: That's awesome, congrats Monte and Livecode. Can you clarify the uses of mergExt? Since mergExt is closed source, does that mean we just can't use any of those widgets if we want to release open source, or is there a way to separate them out as some kind of binary bundle? Can they be used from a web app in support of operations on a phone, or do they have to be on the phone itself? On Wed, Feb 17, 2016 at 11:18 AM, Monte Goulding wrote: > Thanks for the love folks. > > > On 18 Feb 2016, at 3:50 AM, Mark Wieder wrote: > > > > On 02/17/2016 03:01 AM, Monte Goulding wrote: > >> Hi LiveCoders and in particular mergExt users! > >> > >> Today I have a rather large announcement to make about mergExt. mergExt > Externals are now exclusively licensed to LiveCode Ltd. The intention is > for most or all of the externals to be available to LiveCode Indy licensed > users. > > > > 'rather large'... Monte has a way with understatements... > > > > Woot! This is great news for everybody! > > > > -- > > 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 livecode.org Thu Feb 18 16:47:30 2016 From: hh at livecode.org (-hh) Date: Thu, 18 Feb 2016 13:47:30 -0800 (PST) Subject: leap to future Message-ID: <1455832050667-4701170.post@n4.nabble.com> Kevin M. wrote: > see in detail https://livecode.com/leap-to-future/ Yes, LC is great, worth its pricing, even if one is not using any of Monte's iOS externals: The other core-developers will have more time for their valuable work by that personal expanding. But sadly your explanations to the Indy license are quite unclear relating to HTML5. 1. You argue with HTML5 development for the raise of Indy pricing. 2. Recently we had to buy *separate* licenses for HTML5 deploying. Please explain the issue "HTML5" in detail for the example of a locked $499 Indy license. ======= Hermann -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/leap-to-future-tp4701170.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at appisle.net Thu Feb 18 17:57:32 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 19 Feb 2016 09:57:32 +1100 Subject: [ANN] mergExt News In-Reply-To: References: <1D24C817-83D3-4777-A0A7-600657DF6EE4@appisle.net> <56C4A4E4.2070706@ahsoftware.net> <5CC27DF3-8686-48C8-B39A-65FCF8A2DE1C@appisle.net> Message-ID: > On 19 Feb 2016, at 5:30 AM, Matt Maier wrote: > > That's awesome, congrats Monte and Livecode. Thanks Matt > > Can you clarify the uses of mergExt? Since mergExt is closed source, does > that mean we just can't use any of those widgets if we want to release open > source, or is there a way to separate them out as some kind of binary > bundle? There are a few of open source externals (mergJSON, mergMarkdown, mergContact, mergDevice). Those that are open source will remain so but there is no plan to open source the rest which means they are not compatible with LiveCode Community. > Can they be used from a web app in support of operations on a > phone, or do they have to be on the phone itself? No they need to be included in the app. Currently this is by adding them to the copy files of the standalone but as soon as we can we will extend the extensions format to support externals (and I?m hoping other things like libraries) to give a better experience for all types of extensions not just LCB based. Cheers Monte From brahma at hindu.org Thu Feb 18 18:05:47 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 18 Feb 2016 23:05:47 +0000 Subject: Programmatically determine the average greyscale Message-ID: Use case: I want to import images as patterns for buttons. This always works as they are centered and made the correct size will fill the button area, regardless of the margins (setting the icon takes the margins position) Buttons are big squares 205 X 205 on a mobile interface (design adopted from FlipBoard) By tweaking the margins you can get the name of the button nicely positioned in the top left corner 10,10,130,185 But if I use white type on top of the image and the sky appears there in the top left area of the image is a light color, then we have a problem with contrast/readability. Is there a way to get the "average" grayscale value of a small area of a photo? So in the photo that is 205 X 205... can we determine the average grayscale level of an area that is, relative to the top left of the image: 20,20,40,40 which would be a small square 20 by 20 pixels. if the average grayscale level were above 75%, then I could programatically change the foreground (text) color of the button to black "on the fly" I think the answer is "use the charToNum(of char x of the alphaData of image 1) So to check on the alpha data of a pixel that was 30 pixels down and 30 pixels over on a 205 pixel square.. then you do something like put ( (the width of this image) X 29 ) + into tOnePixelCheck But I don't think alphaData applies to just a light color... even if the color is light... but can i query the color of a single pixel? I don't see a way to refer to this color in the dictionary? BR From benr_mc at cogapp.com Thu Feb 18 18:18:43 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 18 Feb 2016 23:18:43 +0000 Subject: "could not find a valid identity to use for the selected profile" Message-ID: <56C65153.4030407@cogapp.com> Aaaagh. It was working (I was building an app and deploying it to a device)... now it's not, with the infuriating message from the subject line. Xcode can still build a (different) app and deploy it to the same device. What's changed in the interim? I've added some other devices in the Developer Center; nothing else I can think of. This happened before, I don't know how I fixed it - because I flailed around for days, trying many things. Is there a known voodoo dance I can do? Is there some clean way to reset things and start again? Is there some way to force LiveCode to flush and reload profiles? Or is that not the problem? This is using LC 7.1.1 with Xcode 7.1.1 (rare moment of co-incidence). I've tried using LC 7.1.2 rc 2 with Xcode 7.2, that just adds more other kinds of pain. Please help or send drugs, Ben From hh at livecode.org Thu Feb 18 18:24:45 2016 From: hh at livecode.org (-hh) Date: Fri, 19 Feb 2016 00:24:45 +0100 Subject: Programmatically determine the average greyscale Message-ID: <9440575E-D93A-42BB-B8A1-5338A477F897@livecode.org> Hi BR (thanks for the abbreviation), First you have to decide in detail what you want. 1. What is an average for you? Usual arithmetic mean is one option, other simple ones are a weighted mean of rgb (used by Photoshop etc.) or median values. 2. How to use the alphavalues? Max, min, median, weighted means are again options. This is not at all trivial. The designers here will have extremely diverging examples for different 'averaging'. Perhaps it is much easier (and much faster) to simply set the ink of the button to give a high contrast? hh From scott at tactilemedia.com Thu Feb 18 18:34:46 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 18 Feb 2016 15:34:46 -0800 Subject: "could not find a valid identity to use for the selected profile" In-Reply-To: <56C65153.4030407@cogapp.com> References: <56C65153.4030407@cogapp.com> Message-ID: Did you catch this thread? I suspect it might be your issue. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/18/16, 3:18 PM, "use-livecode on behalf of Ben Rubinstein" wrote: >Aaaagh. It was working (I was building an app and deploying it to a >device)... >now it's not, with the infuriating message from the subject line. Xcode >can >still build a (different) app and deploy it to the same device. > >What's changed in the interim? I've added some other devices in the >Developer >Center; nothing else I can think of. > >This happened before, I don't know how I fixed it - because I flailed >around >for days, trying many things. > >Is there a known voodoo dance I can do? Is there some clean way to reset >things and start again? Is there some way to force LiveCode to flush and >reload profiles? Or is that not the problem? > >This is using LC 7.1.1 with Xcode 7.1.1 (rare moment of co-incidence). >I've >tried using LC 7.1.2 rc 2 with Xcode 7.2, that just adds more other kinds >of pain. > >Please help or send drugs, > >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 devin_asay at byu.edu Thu Feb 18 18:34:56 2016 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 18 Feb 2016 23:34:56 +0000 Subject: Livecode University & Linux In-Reply-To: References: Message-ID: > On Feb 17, 2016, at 7:44 PM, Jim Byrnes wrote: > > I recently discovered Livecode and have worked through a couple of tutorials. I would be interested in taking the two courses I found but the faq says windows or mac required. > > I asked over on the forums if Linux could be used to take the courses but never really received a definitive answer. So I would be interested in hearing anyones personal experiences using Linux to take the courses. > > Regards, Jim Jim, I assume you?re talking about this: https://livecode.com/products/learn/livecode-university/ I have never built a Linux version of LCU, but would be willing to give it a try. You could be a beta tester. Contact me offline if you?re interested. Devin devin_asay at byu.edu Devin Asay Office of Digital Humanities Brigham Young University From merakosp at gmail.com Thu Feb 18 18:37:38 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 19 Feb 2016 01:37:38 +0200 Subject: "could not find a valid identity to use for the selected profile" In-Reply-To: References: <56C65153.4030407@cogapp.com> Message-ID: Hi Ben, Scott posted this in a different thread a couple of days ago: http://comments.gmane.org/gmane.comp.ide.revolution.user/222816 Panos -- On Fri, Feb 19, 2016 at 1:34 AM, Scott Rossi wrote: > Did you catch this thread? I suspect it might be your issue. > < > http://runtime-revolution.278305.n4.nabble.com/Signing-Identity-Issue-When > -Building-Standalone-td4701088.html> > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/18/16, 3:18 PM, "use-livecode on behalf of Ben Rubinstein" > > wrote: > > >Aaaagh. It was working (I was building an app and deploying it to a > >device)... > >now it's not, with the infuriating message from the subject line. Xcode > >can > >still build a (different) app and deploy it to the same device. > > > >What's changed in the interim? I've added some other devices in the > >Developer > >Center; nothing else I can think of. > > > >This happened before, I don't know how I fixed it - because I flailed > >around > >for days, trying many things. > > > >Is there a known voodoo dance I can do? Is there some clean way to reset > >things and start again? Is there some way to force LiveCode to flush and > >reload profiles? Or is that not the problem? > > > >This is using LC 7.1.1 with Xcode 7.1.1 (rare moment of co-incidence). > >I've > >tried using LC 7.1.2 rc 2 with Xcode 7.2, that just adds more other kinds > >of pain. > > > >Please help or send drugs, > > > >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 merakosp at gmail.com Thu Feb 18 18:38:53 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 19 Feb 2016 01:38:53 +0200 Subject: "could not find a valid identity to use for the selected profile" In-Reply-To: References: <56C65153.4030407@cogapp.com> Message-ID: Oops Scott was faster :) On Fri, Feb 19, 2016 at 1:37 AM, panagiotis merakos wrote: > Hi Ben, > > Scott posted this in a different thread a couple of days ago: > > http://comments.gmane.org/gmane.comp.ide.revolution.user/222816 > > Panos > -- > > On Fri, Feb 19, 2016 at 1:34 AM, Scott Rossi > wrote: > >> Did you catch this thread? I suspect it might be your issue. >> < >> http://runtime-revolution.278305.n4.nabble.com/Signing-Identity-Issue-When >> -Building-Standalone-td4701088.html >> >> > >> >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 2/18/16, 3:18 PM, "use-livecode on behalf of Ben Rubinstein" >> >> wrote: >> >> >Aaaagh. It was working (I was building an app and deploying it to a >> >device)... >> >now it's not, with the infuriating message from the subject line. Xcode >> >can >> >still build a (different) app and deploy it to the same device. >> > >> >What's changed in the interim? I've added some other devices in the >> >Developer >> >Center; nothing else I can think of. >> > >> >This happened before, I don't know how I fixed it - because I flailed >> >around >> >for days, trying many things. >> > >> >Is there a known voodoo dance I can do? Is there some clean way to reset >> >things and start again? Is there some way to force LiveCode to flush and >> >reload profiles? Or is that not the problem? >> > >> >This is using LC 7.1.1 with Xcode 7.1.1 (rare moment of co-incidence). >> >I've >> >tried using LC 7.1.2 rc 2 with Xcode 7.2, that just adds more other kinds >> >of pain. >> > >> >Please help or send drugs, >> > >> >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 chipsm at themartinz.com Thu Feb 18 19:35:40 2016 From: chipsm at themartinz.com (Clarence P Martin) Date: Thu, 18 Feb 2016 16:35:40 -0800 Subject: mergExt Acquisition In-Reply-To: References: Message-ID: <010201d16aad$761be0c0$6253a240$@themartinz.com> I hope the MergExt will include all systems, ie. Android also? 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 Kevin Miller Sent: Thursday, February 18, 2016 9:46 AM To: How to use LiveCode ; LiveCode Developer List Subject: mergExt Acquisition Dear All, As Monte mentioned on this list yesterday, we are delighted to announce a very exciting acquisition for LiveCode: we have purchased the full suite of the invaluable mergEXT externals for iOS. These will shortly be included with your Indy or Business license purchase. We will also be hiring Monte to work for us full time. Over time our team will work with Monte over the course of the coming months to turn the mergEXT suite into integrated widgets that work cross platform where appropriate. You can read all about this acquisition here: https://livecode.com/merging-with-mergext/ You guys don't need to be told just how valuable Monte is going to be to our team! We can't wait to start working with him. The addition of mergEXT adds a huge amount of value to the license packages. We also have a staggering list of new features and benefits coming with LiveCode 8, in the near, medium and longer term future. We are adjusting our pricing strategy to account for this added value, incrementally over time. You can read all about this here: https://livecode.com/leap-to-future/ Right now, you can still get everything including the mergEXT addons for the current price of Indy, and you can lock in at that price. Footnote: For those of you with an Indy or Business license already, we need to ask for your patience. It is going to take us a little time to drop the mergEXT suite into your accounts retrospectively. Please don't write to support to ask why its not there yet, for at least a week! :) We will send out an announcement when it is all done and you can go look for it in your account. We are working on that now. Kind regards, Kevin Kevin Miller ~ kevin 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 hh at livecode.org Thu Feb 18 19:46:58 2016 From: hh at livecode.org (-hh) Date: Fri, 19 Feb 2016 01:46:58 +0100 Subject: Programmatically determine the average greyscale Message-ID: BR, I now saw, late -- sorry, that you are using button's showName, that is, the text colour has to be adjusted, not the pattern. Then using a text field instead of 'showName' and setting the field's ink to "notSrcAndReverse" should do what you want (incl. nice effects). OR: Here's a formula for a weighted mean close to that some professional apps use when converting an image to grayLevel. This is derived from "perception" values (note: .6 is close to goldenRatio) of the human eye: ## g = (1*r + 6*g + 3*b) div 10 for each r,g,b-pixel used for fully opaque pixels. hh From roger.e.eller at sealedair.com Thu Feb 18 20:04:23 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 18 Feb 2016 20:04:23 -0500 Subject: mergExt Acquisition In-Reply-To: <010201d16aad$761be0c0$6253a240$@themartinz.com> References: <010201d16aad$761be0c0$6253a240$@themartinz.com> Message-ID: I agree with you, Clarence. The words "cross platform where appropriate" leaves it unclear just how much or how little will be ported. I expect if it is difficult to do it will remain iOS only. On Feb 18, 2016 7:36 PM, "Clarence P Martin" wrote: > I hope the MergExt will include all systems, ie. Android also? > > 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 Kevin Miller > Sent: Thursday, February 18, 2016 9:46 AM > To: How to use LiveCode ; LiveCode > Developer > List > Subject: mergExt Acquisition > > Dear All, > > As Monte mentioned on this list yesterday, we are delighted to announce a > very exciting acquisition for LiveCode: we have purchased the full suite of > the invaluable mergEXT externals for iOS. These will shortly be included > with your Indy or Business license purchase. We will also be hiring Monte > to > work for us full time. Over time our team will work with Monte over the > course of the coming months to turn the mergEXT suite into integrated > widgets that work cross platform where appropriate. > > You can read all about this acquisition here: > > https://livecode.com/merging-with-mergext/ > > You guys don't need to be told just how valuable Monte is going to be to > our > team! We can't wait to start working with him. > > The addition of mergEXT adds a huge amount of value to the license > packages. > We also have a staggering list of new features and benefits coming with > LiveCode 8, in the near, medium and longer term future. We are adjusting > our > pricing strategy to account for this added value, incrementally over time. > You can read all about this here: > > https://livecode.com/leap-to-future/ > > Right now, you can still get everything including the mergEXT addons for > the > current price of Indy, and you can lock in at that price. > > Footnote: For those of you with an Indy or Business license already, we > need > to ask for your patience. It is going to take us a little time to drop the > mergEXT suite into your accounts retrospectively. Please don't write to > support to ask why its not there yet, for at least a week! :) We will send > out an announcement when it is all done and you can go look for it in your > account. We are working on that now. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jf_byrnes at comcast.net Thu Feb 18 20:23:23 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Thu, 18 Feb 2016 19:23:23 -0600 Subject: Livecode University & Linux In-Reply-To: References: Message-ID: On 02/18/2016 05:34 PM, Devin Asay wrote: > >> On Feb 17, 2016, at 7:44 PM, Jim Byrnes >> wrote: >> >> I recently discovered Livecode and have worked through a couple of >> tutorials. I would be interested in taking the two courses I found >> but the faq says windows or mac required. >> >> I asked over on the forums if Linux could be used to take the >> courses but never really received a definitive answer. So I would >> be interested in hearing anyones personal experiences using Linux >> to take the courses. >> >> Regards, Jim > > Jim, > > I assume you?re talking about this: > > https://livecode.com/products/learn/livecode-university/ > > I have never built a Linux version of LCU, but would be willing to > give it a try. You could be a beta tester. Contact me offline if > you?re interested. > > Devin devin_asay at byu.edu > > Devin Asay Office of Digital Humanities Brigham Young University > Devin, Yes, that is what I saw. I will get in touch with you offline. Thanks, Jim From jacque at hyperactivesw.com Thu Feb 18 21:21:44 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Feb 2016 20:21:44 -0600 Subject: mergExt Acquisition In-Reply-To: <010201d16aad$761be0c0$6253a240$@themartinz.com> References: <010201d16aad$761be0c0$6253a240$@themartinz.com> Message-ID: <56C67C38.2040205@hyperactivesw.com> On 2/18/2016 6:35 PM, Clarence P Martin wrote: > I hope the MergExt will include all systems, ie. Android also? The announcement says they will aim for that. I'm waiting with anticipation, since all my mobile apps so far have been cross platform, which has prevented me from using almost all of Monte's externals. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Feb 18 21:27:14 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Feb 2016 20:27:14 -0600 Subject: Programmatically determine the average greyscale In-Reply-To: References: Message-ID: <56C67D82.9080100@hyperactivesw.com> On 2/18/2016 5:05 PM, Sannyasin Brahmanathaswami wrote: > But if I use white type on top of the image and the sky appears there > in the top left area of the image is a light color, then we have a > problem with contrast/readability. > > Is there a way to get the "average" grayscale value of a small area > of a photo? I'm not sure about getting an average, but someone posted the following handler here a while ago. I'm sorry I can't give credit, I should have saved that. Determine whether to show white or black text against a colored background: function calcLuminance pRGB -- wikipedia: Y = 0.2126 R + 0.7152 G + 0.0722 B put item 1 of pRGB * 0.2126 into tR put item 2 of pRGB * 0.7152 into tG put item 3 of pRGB * 0.0722 into tB if sum(tR,tG,tB) > 125 then return "black" else return "white" end calcLuminance -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Thu Feb 18 21:44:14 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 19 Feb 2016 02:44:14 +0000 Subject: Programmatically determine the average greyscale In-Reply-To: <56C67D82.9080100@hyperactivesw.com> References: <56C67D82.9080100@hyperactivesw.com> Message-ID: Thanks that could be useful... BTW where to you store this kind of snippet We need an online repository for scripts like this... something simpler than GIT, Actually determining the luminance algorithm is pretty straight forward... even easier than this formula.. but how do you get the color a specific pixel in an image? BR On February 18, 2016 at 4:27:29 PM, J. Landman Gay (jacque at hyperactivesw.com) wrote: I'm not sure about getting an average, but someone posted the following handler here a while ago. I'm sorry I can't give credit, I should have saved that. Determine whether to show white or black text against a colored background: function calcLuminance pRGB -- wikipedia: Y = 0.2126 R + 0.7152 G + 0.0722 B put item 1 of pRGB * 0.2126 into tR put item 2 of pRGB * 0.7152 into tG put item 3 of pRGB * 0.0722 into tB if sum(tR,tG,tB) > 125 then return "black" else return "white" end calcLuminance From brahma at hindu.org Thu Feb 18 21:53:35 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 19 Feb 2016 02:53:35 +0000 Subject: Programmatically determine the average greyscale In-Reply-To: <9440575E-D93A-42BB-B8A1-5338A477F897@livecode.org> References: <9440575E-D93A-42BB-B8A1-5338A477F897@livecode.org> Message-ID: HH, thanks for the suggestion to use inks, though if it means the "label" will changes across all the buttons in the group, it may not be acceptable. OTOH, perhaps for my audience it would be "interesting" I will try it. your other memo on use a field is an option as well, as fiddling with the margins of a button is a pain... and it changes depending on how long the label is... I think it may have been a bad decision... field will be better, but it was convenient to get started... Agreed that the luminance value that one person will feel requires more contrast will vary across many different eyeballs. (smile) But first, how to extract the color of a single pixel of an image?? BR On February 18, 2016 at 1:25:00 PM, [-hh] (hh at livecode.org) wrote: Hi BR (thanks for the abbreviation), First you have to decide in detail what you want. 1. What is an average for you? Usual arithmetic mean is one option, other simple ones are a weighted mean of rgb (used by Photoshop etc.) or median values. 2. How to use the alphavalues? Max, min, median, weighted means are again options. This is not at all trivial. The designers here will have extremely diverging examples for different 'averaging'. Perhaps it is much easier (and much faster) to simply set the ink of the button to give a high contrast? hh From monte at appisle.net Thu Feb 18 21:58:02 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 19 Feb 2016 13:58:02 +1100 Subject: mergExt Acquisition In-Reply-To: References: <010201d16aad$761be0c0$6253a240$@themartinz.com> Message-ID: <7DC49E80-3EAE-4F01-A086-933B39206C64@appisle.net> > On 19 Feb 2016, at 12:04 PM, Roger Eller wrote: > > I agree with you, Clarence. The words "cross platform where appropriate" > leaves it unclear just how much or how little will be ported. I expect if > it is difficult to do it will remain iOS only. I believe the goal will be to make them as cross platform as feasible and use widgets where we can. It may involve some significant API changes. There?s definitely some things which aren?t available on iOS though. For example, mergSocial relies on a framework that isn?t there in Android. We can workaround this by making cross platform Facebook and Twitter externals/extensions but that?s not a port of mergSocial. Every time this has been raised I have made it clear that the main thing I needed was a client that felt it was important enough to their business that things be cross platform that they would pay me to do it. Well I have that now as it?s clearly critically important to LiveCode. There was and still are a couple of technical hurdles to jump for some things like maps on android but we can get there I?m sure. Having said all that I always saw the role of mergExt to be twofold. Features that probably shouldn?t be put in the engine to avoid bloating it which may or may not be cross platform. Things like barcode reading, camera controls & maps I think fit there. Then there?s things that are OS bling. These might be unique APIs like the Social framework or Touch ID. I have a little from column A and a little from column B. Column A should lend itself to porting. To get equity from column B we might look for more bling from Android and other platforms. I did this in my Android external experiments in the excellently named mergPopToast command. I probably should say though that Kevin?s plans might be different from mine and he?s directing this show now ;-) Cheers Monte From jacque at hyperactivesw.com Thu Feb 18 22:01:53 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Feb 2016 21:01:53 -0600 Subject: Programmatically determine the average greyscale In-Reply-To: References: <56C67D82.9080100@hyperactivesw.com> Message-ID: <56C685A1.4060400@hyperactivesw.com> On 2/18/2016 8:44 PM, Sannyasin Brahmanathaswami wrote: > Thanks that could be useful... BTW where to you store this kind of snippet In an old HC stack I made 20 years ago that I've converted to LC. It's not fit for public consumption but it has all my stuff in it so I keep using it. > how do you get the color a specific pixel in an image? I have three examples. The first one is mine, based on a suggestion from Scott Raney. The other two are more sophisticated because they use math... Jacque's: on getPixelColor pPt -- pass local stack-based pt put the screenmouseloc into tOldLoc put (item 1 of pPt) + (the left of this stack) into tloc put (item 2 of pPt) + (the top of this stack) into item 2 of tloc set the screenmouseloc to tloc put the mousecolor into tColor set the screenmouseloc to tOldLoc return tColor end getPixelColor It happens so fast you never see the cursor move. ------ Unknown author: function readPixelColor pVal put globalLoc(pVal) into pVal put item 1 of pVal + 1 into item 3 of pVal put item 2 of pVal + 1 into item 4 of pVal export snapshot from rect pVal to templateImage get the imageData of templateImage reset templateImage return byteToNum(char 2 of it) & "," & byteToNum(char 3 of it) & "," & byteToNum(char 4 of it) end readPixelColor ------- Scott Rossi: local theImageData function getPixelColor pImage,pX,pY if theImageData is empty then put the imageData of pImage into theImageData put width of pImage into W put ((pY-1)*W)*4+pX*4 into lastChar put charToNum(char lastChar of theImageData) into B put charToNum(char lastChar-1 of theImageData) into G put charToNum(char lastChar-2 of theImageData) into R return R,G,B end getPixelColor -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Thu Feb 18 22:06:46 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 19 Feb 2016 03:06:46 +0000 Subject: mergExt Acquisition In-Reply-To: <7DC49E80-3EAE-4F01-A086-933B39206C64@appisle.net> References: <010201d16aad$761be0c0$6253a240$@themartinz.com> <7DC49E80-3EAE-4F01-A086-933B39206C64@appisle.net> Message-ID: Does the FTP external do SFTP? BR On February 18, 2016 at 4:58:38 PM, Monte Goulding (monte at appisle.net) wrote: On 2/18/2016 6:35 PM, Clarence P Martin wrote: > I hope the MergExt will include all systems, ie. Android also? The announcement says they will aim for that. I'm waiting with anticipation, since all my mobile apps so far have been cross platform, which has prevented me from using almost all of Monte's externals. From monte at appisle.net Thu Feb 18 22:11:02 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 19 Feb 2016 14:11:02 +1100 Subject: mergExt Acquisition In-Reply-To: References: <010201d16aad$761be0c0$6253a240$@themartinz.com> <7DC49E80-3EAE-4F01-A086-933B39206C64@appisle.net> Message-ID: > On 19 Feb 2016, at 2:06 PM, Sannyasin Brahmanathaswami wrote: > > Does the FTP external do SFTP? No, sorry, I wouldn?t use it if it were transferring sensitive data to and from the phone From MikeKerner at roadrunner.com Thu Feb 18 22:28:09 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 18 Feb 2016 22:28:09 -0500 Subject: local and do - what NOT to do In-Reply-To: References: Message-ID: I skipped a few in the middle, here, but one case where I use do and value is in lieu of having pointers, something that is not very easily replaced by an array. Using value and do allow me to write generic routines for populating forms and updating database tables afterwards, using the field names and variable names that match the name of the field in the database table. If I was to use arrays to replace this behavior, I would also have to use object numbers on fields as the reference and then keep the objects numbered correctly, or use object ID's and then have a lookup table to correlate the index of the array, the object id, and the field name in the DB. On Thu, Feb 18, 2016 at 7:15 AM, Kay C Lan wrote: > On Thu, Feb 18, 2016 at 7:52 PM, Mark Waddingham > wrote: > > > > >> Okay so this kind of code pattern originates from HyperCard which did > not > > have arrays. > > > > Upshot: There's no reason to use 'local' in do if you are initializing > the > > variable at that point. Indeed, one could argue that it is better to do: > > > > do "put empty into tVar_" & x > > > Which all goes to reinforce my initial feeling; the Example given in the > Dictionary for is negative learning. Noted added to my ever > increasing pile of Dictionary improvements. > _______________________________________________ > use-livecode mailing list > use-livecode 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 blueback09 at gmail.com Thu Feb 18 23:58:50 2016 From: blueback09 at gmail.com (Matt Maier) Date: Thu, 18 Feb 2016 20:58:50 -0800 Subject: standalone loading script-only stacks Message-ID: I'm trying to put most of the logic into script-only stacks, so I've got the first handler in the mainstack. It's supposed to load all those stacks in the list. The following handlers are the chain it should follow to start logging. The log works just fine in the IDE, but it doesn't start in the standalone...at least not right away. If I start poking at the controls the log might spontaneously start working for some reason. The real problem here is that the rest of this startup process is supposed to create a bunch of graph objects, but they're not appearing in the standalone. The log just seems to be an easy way to confirm that the problem must have something to do with the preopenstack and start using part. on preOpenStack -- load script-only libraries into memory set the defaultStack to "HowstrBeta" set the itemDelimiter to "/" get the effective fileName of this stack set the defaultFolder to item 1 to -2 of it start using stack "software/quickiator.livecode" start using stack "software/grapherrific.livecode" start using stack "software/filephile.livecode" start using stack "software/mathamagics.livecode" start using stack "software/displayerang.livecode" start using stack "software/easyJSON.livecode" start using stack "software/lazydogpile.livecode" setupAsOf3FEB2016 -- lazydogpile end preOpenStack on setupAsOf3FEB2016 -- setup the window set the decorations of stack "howstrBeta" to "title" -- set the decorations of this stack to empty -- set the windowShape of this stack to 2868 set the windowshape of stack "howstrBeta" to 0 -- shouldn't be necessary forever, but a good hack for now set the foregroundColor of card 1 of stack "Ask Dialog" to "0,220,220" set the opaque of button "Ok" of card 1 of stack "Ask Dialog" to false set the opaque of button "Cancel" of card 1 of stack "Ask Dialog" to false set the foregroundColor of card 1 of stack "Answer Dialog" to "0,220,220" set the opaque of button "Ok" of card 1 of stack "Answer Dialog" to false put empty into sMain put empty into sNowDoc put empty into sNowItem put empty into sPointerTags -- initiate development logging put "initiate" into xX["write"]; devLog xX quickModeSetup sMain,sNowDoc,sNowItem,sPointerTags -- quickiator on quickModeSetup @pMain, at pNowDoc, at pNowItem, at pPointerTags put "on quickModeSetup" into xX["write"]; devLog xX on devLog pPhase -- ! commented out 15DEC2015 cuz logging slows things down a lot -- pPhase[write]=append to development log file put pPhase["write"] into tWrite set the itemDelimiter to "/" get the effective fileName of this stack set the defaultFolder to item 1 to -2 of it put the defaultFolder into tFolder -- replace "software" with "logs" in tFolder -- ! apparently "this stack" is returning the main stack, not the folder filephile is in put URL ("file:" & tFolder & "/logs/development.txt") into tLog if tWrite is "initiate" then -- put empty into tLog put the long time into tLog else put tWrite into line (the number of lines of tLog)+1 of tLog end if put tLog into URL ("file:" & tFolder & "/logs/development.txt") end devLog From brahma at hindu.org Fri Feb 19 00:29:35 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 19 Feb 2016 05:29:35 +0000 Subject: Programmatically determine the average greyscale In-Reply-To: <56C685A1.4060400@hyperactivesw.com> References: <56C67D82.9080100@hyperactivesw.com> <56C685A1.4060400@hyperactivesw.com> Message-ID: ? Ha! I figured this out just before seeing this email..this is a match for Scott Rossi's method, which is right from the dictionary on ImageData on mouseUp put (39 * 4 * 205 ) into tRowsToSkip # takes us down the pixel map 39 rows put tRowsToSkip + (39 *4) +2 into tRedTarget # now we are in the 40th pix for left red value put tRowsToSkip + (39 *4) +3 into tGreenTarget put tRowsToSkip + (39 *4) +4 into tBlueTarget put charToNum(char tRedTarget of the imageData of image id 1110) into tRed put charToNum (char tGreenTarget of the imageData of image id 1110) into tGreen put charToNum(char tBlueTarget of the imageData of image id 1110) into tBlue put (tRed &"," & tGreen &"," & tBlue) end mouseUp Svasti Astu! Be Well Brahmanathaswami www.himalayanacademy.com(http://www.himalayanacademy.com) Get the Gurudeva.app here: http://www.himalayanacademy.com/apps/gurudeva On February 18, 2016 at 5:02:10 PM, J. Landman Gay (jacque at hyperactivesw.com(mailto:jacque at hyperactivesw.com)) wrote: > On 2/18/2016 8:44 PM, Sannyasin Brahmanathaswami wrote: > > Thanks that could be useful... BTW where to you store this kind of snippet > > In an old HC stack I made 20 years ago that I've converted to LC. It's > not fit for public consumption but it has all my stuff in it so I keep > using it. > > > how do you get the color a specific pixel in an image? > > I have three examples. The first one is mine, based on a suggestion from > Scott Raney. The other two are more sophisticated because they use math... > > Jacque's: > > on getPixelColor pPt -- pass local stack-based pt > put the screenmouseloc into tOldLoc > put (item 1 of pPt) + (the left of this stack) into tloc > put (item 2 of pPt) + (the top of this stack) into item 2 of tloc > set the screenmouseloc to tloc > put the mousecolor into tColor > set the screenmouseloc to tOldLoc > return tColor > end getPixelColor > > It happens so fast you never see the cursor move. > > ------ > > Unknown author: > > function readPixelColor pVal > put globalLoc(pVal) into pVal > put item 1 of pVal + 1 into item 3 of pVal > put item 2 of pVal + 1 into item 4 of pVal > export snapshot from rect pVal to templateImage > get the imageData of templateImage > reset templateImage > return byteToNum(char 2 of it) & "," & byteToNum(char 3 of it) & "," > & byteToNum(char 4 of it) > end readPixelColor > > ------- > Scott Rossi: > > local theImageData > > function getPixelColor pImage,pX,pY > if theImageData is empty then put the imageData of pImage into > theImageData > put width of pImage into W > put ((pY-1)*W)*4+pX*4 into lastChar > put charToNum(char lastChar of theImageData) into B > put charToNum(char lastChar-1 of theImageData) into G > put charToNum(char lastChar-2 of theImageData) into R > return R,G,B > end getPixelColor > > > -- > 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 Feb 19 01:01:44 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Feb 2016 00:01:44 -0600 Subject: standalone loading script-only stacks In-Reply-To: References: Message-ID: <56C6AFC8.7040204@hyperactivesw.com> On 2/18/2016 10:58 PM, Matt Maier wrote: > The log works just fine in the IDE, but it doesn't start in the > standalone...at least not right away. If I start poking at the controls the > log might spontaneously start working for some reason. The quickModeSetup handler has no "end" statement so it may not be compiling correctly. I'm guessing that poking other controls may call devLog (which does have the right structure) so that's why it works later. I'm not sure why it would work in the IDE though, I'd have thought it wouldn't. The setupAsOf3FEB2016 handler also has no "end" statement. > > The real problem here is that the rest of this startup process is supposed > to create a bunch of graph objects, but they're not appearing in the > standalone. The preOpenStack handler is using the path to the mainstack as the basis for determining where the other stacks are located: > set the defaultStack to "HowstrBeta" > set the itemDelimiter to "/" > get the effective fileName of this stack > set the defaultFolder to item 1 to -2 of it Replace these four lines with: set the defaultfolder to specialFolderPath("resources") Depending on the OS, standalone resources are copied to different locations outside the mainstack folder, and the original handler won't find them. You can always get their location with specialFolderPath("resources") which will always point to the right place. In the IDE, specialFolderPath("resources") points to the folder that contains the mainstack, which makes things easy; store the stacks in the same folder with the mainstack as you do now, and use specialFolderPath to find the stacks during both development and in a standalone. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kevin at livecode.com Fri Feb 19 04:04:08 2016 From: kevin at livecode.com (Kevin Miller) Date: Fri, 19 Feb 2016 09:04:08 +0000 Subject: leap to future In-Reply-To: <1455832050667-4701170.post@n4.nabble.com> References: <1455832050667-4701170.post@n4.nabble.com> Message-ID: Sorry if it wasn?t clear in the article. HTML5 remains a separate license. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 18/02/2016 21:47, "use-livecode on behalf of -hh" wrote: >Kevin M. wrote: >> see in detail https://livecode.com/leap-to-future/ > >Yes, LC is great, worth its pricing, even if one is not using >any of Monte's iOS externals: The other core-developers will >have more time for their valuable work by that personal expanding. > >But sadly your explanations to the Indy license are quite unclear >relating to HTML5. > >1. You argue with HTML5 development for the raise of Indy pricing. >2. Recently we had to buy *separate* licenses for HTML5 deploying. > >Please explain the issue "HTML5" in detail for the example of a >locked $499 Indy license. > >======= >Hermann > > > >-- >View this message in context: >http://runtime-revolution.278305.n4.nabble.com/leap-to-future-tp4701170.ht >ml >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 benr_mc at cogapp.com Fri Feb 19 04:21:17 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 19 Feb 2016 09:21:17 +0000 Subject: "could not find a valid identity to use for the selected profile" In-Reply-To: References: <56C65153.4030407@cogapp.com> Message-ID: <56C6DE8D.1090102@cogapp.com> Gah I missed it. Thank you (for sending it in the first place, and for pointing me to it.) Ben On 18/02/2016 23:34, Scott Rossi wrote: > Did you catch this thread? I suspect it might be your issue. > -Building-Standalone-td4701088.html> > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/18/16, 3:18 PM, "use-livecode on behalf of Ben Rubinstein" > > wrote: > >> Aaaagh. It was working (I was building an app and deploying it to a >> device)... >> now it's not, with the infuriating message from the subject line. Xcode >> can >> still build a (different) app and deploy it to the same device. >> >> What's changed in the interim? I've added some other devices in the >> Developer >> Center; nothing else I can think of. >> >> This happened before, I don't know how I fixed it - because I flailed >> around >> for days, trying many things. >> >> Is there a known voodoo dance I can do? Is there some clean way to reset >> things and start again? Is there some way to force LiveCode to flush and >> reload profiles? Or is that not the problem? >> >> This is using LC 7.1.1 with Xcode 7.1.1 (rare moment of co-incidence). >> I've >> tried using LC 7.1.2 rc 2 with Xcode 7.2, that just adds more other kinds >> of pain. >> >> Please help or send drugs, >> >> Ben From benr_mc at cogapp.com Fri Feb 19 04:21:41 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 19 Feb 2016 09:21:41 +0000 Subject: "could not find a valid identity to use for the selected profile" In-Reply-To: References: <56C65153.4030407@cogapp.com> Message-ID: <56C6DEA5.9040708@cogapp.com> On 18/02/2016 23:38, panagiotis merakos wrote: > Oops Scott was faster :) He usually is! But thank you for pointing me at it too. Ben From panos.merakos at livecode.com Fri Feb 19 06:59:39 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Fri, 19 Feb 2016 11:59:39 +0000 Subject: Release 6.7.9 RC 3 / 7.1.2 RC 3 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 6.7.9 RC 3 and 7.1.2 RC 3. *Release Content* This release contains bug fixes for regressions introduced in 7.1.2 RC 1/RC 2. The list of regressions fixed can be found in the Release Notes. *Getting the Release* To get the release please download the installer directly at: http://downloads.livecode.com *6.7.9 Stable / 7.1.2 Stable* The next build is planned to be released early next week - and we expect it to be a Final build. Warm regards, The LiveCode Team -- From mail at richard-hillen.de Fri Feb 19 07:06:52 2016 From: mail at richard-hillen.de (Hillen Richard) Date: Fri, 19 Feb 2016 13:06:52 +0100 Subject: Wrong iOS SDK? Message-ID: <7ECF3117-5853-4249-8155-CD3F7A0A9C93@richard-hillen.de> Hello list, after using livecode for standalones on OS X now I want to make my first iOS Compilation using livecode 6.7.8 or 7.1.1. My Xode ist version 7.2.1. In Livecode/Preferences/Mobile Support the list of development SDKs is empty. If I try to add an entry choosing my XCode I get the answer, that it is not a valid iOS SDK among 5.1, 6.1, ...9.1. What am I doing wrong? Thank you in advance, Richard. From peter.brett at livecode.com Fri Feb 19 07:10:55 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 19 Feb 2016 12:10:55 +0000 Subject: Wrong iOS SDK? In-Reply-To: <7ECF3117-5853-4249-8155-CD3F7A0A9C93@richard-hillen.de> References: <7ECF3117-5853-4249-8155-CD3F7A0A9C93@richard-hillen.de> Message-ID: <56C7064F.3040700@livecode.com> On 19/02/2016 12:06, Hillen Richard wrote: > Hello list, > > after using livecode for standalones on OS X now I want to make my first iOS Compilation using livecode 6.7.8 or 7.1.1. > > My Xode ist version 7.2.1. > > In Livecode/Preferences/Mobile Support the list of development SDKs is empty. > If I try to add an entry choosing my XCode I get the answer, that it is not a valid iOS SDK among 5.1, 6.1, ...9.1. > > What am I doing wrong? > Hi Hillen, If you want to use Xcode 7.2.1, then I recommend that you use LiveCode 6.7.9-rc-3 or 7.1.2-rc-3 (just released). Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode on reddit: https://reddit.com/r/livecode From hh at livecode.org Fri Feb 19 12:48:57 2016 From: hh at livecode.org (-hh) Date: Fri, 19 Feb 2016 18:48:57 +0100 Subject: Programmatically determine the average greyscale Message-ID: <6433F896-E911-47E1-8DFA-BFC9C2A54E6E@livecode.org> BR and jacques, it's kind of a 'LC-mania' of me to put a fully working solution, if available, near the end of a thread. Here's one I made for converting to grayLevel colours and adapted to your case. Tell us your solution also, please. The following is pretty fast, I wrote it after learning some secrets of imageData from Bernd's "little stacks" and forum posts. So praise him and LC's pointer arithmetic for the speed. It takes here on a medium fast machine in average 16 ms for your 20x20 px image segment (incl. setting of the button's or field's adjusted textcolor) ======= local ii="preview", bb= "bigBen" -- image's and button's name ## Function computes an average RGB-colour value for an image ## (or a rectangular segment of it). ## Divide below in each loop if image is *very* large -- x = imageData 32bit ARGB of the full img ii -- w = width of the full image ii -- pixel rows = r1 to r1, pixel cols = c1 to c2 -- wr, wg, wb = weights for r, g, b function weightedColorMean x,w,r1,r2,c1,c2,wr,wg,wb repeat with j=r1 to r2 put (j-1)*w into j0 repeat with i=c1 to c2 add sum( \ wr*byteToNum(byte 4*(j0+i)-2 of x), \ wg*byteToNum(byte 4*(j0+i)-1 of x), \ wb*byteToNum(byte 4*(j0+i) of x) ) to s end repeat end repeat return s div (sum(wr,wg,wb)*(r2-r1+1)*(c2-c1+1)) end weightedColorMean on mouseUp put the millisecs into m1 put the width of img ii into w put the imageData of img ii into iData -- perception values: put weightedColorMean(iData,w,20,40,20,40,1,6,3) into M -- usual luminance formula (wikipedia, cited by Jaques) -- put weightedColorMean(iData,w,20,40,20,40,3,10,1) into M if M > 191 then set textcolor of btn bb to "51,51,51" else set textcolor of btn bb to "255,255,225" put M && the millisecs-m1 && "ms" into fld 1 end mouseUp ======= Hermann p.s. Jacques: There is no semicolon above in that post ;-) From brahma at hindu.org Fri Feb 19 14:14:20 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 19 Feb 2016 19:14:20 +0000 Subject: Programmatically determine the average greyscale In-Reply-To: <6433F896-E911-47E1-8DFA-BFC9C2A54E6E@livecode.org> References: <6433F896-E911-47E1-8DFA-BFC9C2A54E6E@livecode.org> Message-ID: HH: We need more "LC-mania" with a web repository for working solutions. We can find any number of Javascripts all over the place... where do we go for LC solutions like this? Have to have some kind of digger for the email lists/forums. Meanwhile I cooked up my own luminance checker/foregroundcolor setter, or rather cobbled together input from our friends of course...This is about as optimized as I think we are going to get. function is only 11 lines, calling handler only 10 lines.? Challenge: try and write this in 21 lines in any other language! Stack script has this two functions # thanks Scott and Jacque! function setLabelColor pImage,pX,pY? ? ?put the imageData of img id pImage into theImageData? ? ?put width of ?img id pImage into W? ? ?put ((pY-1)*W)*4+pX*4 into lastChar? ? ? ? ?-- wikipedia luminance levels: Y = 0.2126 R + 0.7152 G + 0.0722 B? ? ?put ( charToNum(char lastChar of theImageData) ) * ?0.0722 into tB? ? ?put (charToNum(char lastChar-1 of theImageData) ) * ?0.7152 into tG? ? ?put ( charToNum(char lastChar-2 of theImageData) ) * 0.2126 into tR? ? ?put sum(tR,tG,tB) into tColorLevel ? ?if tColorLevel > 170 then return "85,85,85" -- "black" ? ?else return "white" end setLabelColor? #Card script has this preopencard handler #button label is set to run in the upper left area # of the image(s) so I target a pixel that is at 40,40 # and if it is too light, then we switch to a darker color -black # though on preopenCard ? ?updateAllButtonImages # changes all button patterns dynamically ? ?repeat with x = 1 to the number of btns of group "sections" ? ? ? put the id of btn x of group "sections" into tNextButton ? ? ? put the backgroundpattern of ?button id tNextButton ?into tPatternID ? ? ? if tPatternID <> empty then? ? ? ? set the textcolor of btn id tNextButton to setLabelColor (tPatternID,40,40)? ? ? ? end if ? end repeat end preopenCard It works. If we wanted more mania we could even start checking hues and setting the button name/label to match, bad design for this context, but something doable and possibly useful elsewhere...? BR On February 19, 2016 at 7:49:23 AM, [-hh] (hh at livecode.org(mailto:hh at livecode.org)) wrote: > BR and jacques, > > it's kind of a 'LC-mania' of me to put a fully working > solution, if available, near the end of a thread. > > Here's one I made for converting to grayLevel colours and > adapted to your case. Tell us your solution also, please. > The following is pretty fast, I wrote it after learning some > secrets of imageData from Bernd's "little stacks" and forum > posts. So praise him and LC's pointer arithmetic for the speed. > > It takes here on a medium fast machine in average 16 ms for > your 20x20 px image segment > (incl. setting of the button's or field's adjusted textcolor) > > ======= > > local ii="preview", bb= "bigBen" -- image's and button's name > > ## Function computes an average RGB-colour value for an image > ## (or a rectangular segment of it). > ## Divide below in each loop if image is *very* large > -- x = imageData 32bit ARGB of the full img ii > -- w = width of the full image ii > -- pixel rows = r1 to r1, pixel cols = c1 to c2 > -- wr, wg, wb = weights for r, g, b > function weightedColorMean x,w,r1,r2,c1,c2,wr,wg,wb > repeat with j=r1 to r2 > put (j-1)*w into j0 > repeat with i=c1 to c2 > add sum( \ > wr*byteToNum(byte 4*(j0+i)-2 of x), \ > wg*byteToNum(byte 4*(j0+i)-1 of x), \ > wb*byteToNum(byte 4*(j0+i) of x) ) to s > end repeat > end repeat > return s div (sum(wr,wg,wb)*(r2-r1+1)*(c2-c1+1)) > end weightedColorMean > > on mouseUp > put the millisecs into m1 > put the width of img ii into w > put the imageData of img ii into iData > -- perception values: > put weightedColorMean(iData,w,20,40,20,40,1,6,3) into M > -- usual luminance formula (wikipedia, cited by Jaques) > -- put weightedColorMean(iData,w,20,40,20,40,3,10,1) into M > if M > 191 then set textcolor of btn bb to "51,51,51" > else set textcolor of btn bb to "255,255,225" > put M && the millisecs-m1 && "ms" into fld 1 > end mouseUp > > ======= > Hermann > > p.s. Jacques: There is no semicolon above in that post ;-) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Feb 19 14:47:53 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 19 Feb 2016 19:47:53 +0000 Subject: leap to future In-Reply-To: References: <1455832050667-4701170.post@n4.nabble.com> Message-ID: Your leap the future was a bit challenging for me to read. Because of one outstanding issue. SFTP was not on the list! That's continues to be such an irritation that this is not prioritized. see bug: bug 6405 Please, everyone go and vote. Please, Please PLEEZE! Prioritize this request. it is much more important that your realize. 95% of all apps today must communicate with the web. This means the teacher, the enterprise, the business, the developer etc. must be transferring files to the web server. The tight integration between data on servers and apps that remotely access that data is a universal given these days. Today any small desktop widget like Skitch (take sscreen shots) or desktop code editors. etc.. they *all* come with SFTP as a standard protocol.. you just enter your host, user name and password in pref and away we go... with the user name and password encrypted. on mobile as well. For LiveCode not to have this doesn't make sense in today's world. It is fundamental to development frameworks across the board. It should not be considered something from a kickstarter or some feature exchange fund raiser... it's too close to core operations to even be called enhancement...passing user names and passwords in the clear ? in 2016? It's as if the product were missing one foot! Adding a foot to the horse is not an enhancment. It's fixing something crippled. Here we are working out all kinds of tools and apps and we *still* have to switch over to anFTP client to dig for an upload/downlown files that are integral to the whole framework being built in LiveCode. Regular FTP is today blocked on most web server firewalls. On February 18, 2016 at 11:04:39 PM, Kevin Miller (kevin at livecode.com) wrote: Sorry if it wasn?t clear in the article. HTML5 remains a separate license. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ambassador at fourthworld.com Fri Feb 19 15:23:59 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Feb 2016 12:23:59 -0800 Subject: leap to future In-Reply-To: References: Message-ID: <56C779DF.6070702@fourthworld.com> Sannyasin Brahmanathaswami wrote: > SFTP was not on the list! That's continues to be such an irritation > that this is not prioritized. > > see bug: bug 6405 > Please, everyone go and vote. The voting system was retired years ago. For the sake of keeping reports actionable please add only technical details to reports that can further the work of implementing them. I agree that this would be a very valuable addition, and IIRC Kevin's said previously that it would be included along with an even higher priority for modern work, OAuth2, as part of the network library overhaul that was included among the Kickstarter goals. I believe that library will be written in LC Builder, which is coming together as part of v8.0, in development now. Exactly how soon after that the team will be in a position to work on the new networking library is something only the team can comment on, but the foundation needed for it is being worked on right now. > Please, Please PLEEZE! Prioritize this request. it is much more > important that your realize. 95% of all apps today must communicate > with the web. This means the teacher, the enterprise, the business, > the developer etc. must be transferring files to the web server. As useful as SFTP is for many things, it may not be the best choice for all of the use cases outlined there. FTP/SFTP gives unbridled access to the entire server, at least as far as the account can get to. If uploading content to a web server, this means all publicly accessible files on that server as well as private configuration files. Unless used with great care, it's very easy to move, modify, or even delete files on a server, perhaps unintentionally and with unpredictable results. For this reason most web sites that need content contributions from distributed stakeholders create HTTP-based APIs for that. This allows much more control over what can be sent and how it's handled, and as such is much more secure. Extra bonus points that HTTP/HTTPS is often more more efficient than FTP/SFTP. Using LiveCode Server right now we can craft an upload receiver script in minutes - the sample code has already been delivered with a tutorial: Some stakeholders may indeed need complete access to the server, but for the most part those are developers, or at a minimum trusted team members with reasonable technical skills. Developers will probably already have shared SSH keys in place so they can enjoy the greater efficiency of rsync for file transfers, and once there's a shared SSH key in place rsync, scp, and other file transfer tools can be used in automated solutions built with LiveCode today using the shell function. Once we get past the larger use case of folks with limited skills for which the control of an HTTP-based API is a good fit, and developers who probably already have a shared SSH key on the server, the remainder does indeed represent a good case for which SFTP would be very useful. But it is, in all fairness, a subset getting ever smaller as more orgs develop APIs to automate content transfer. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From hh at livecode.org Fri Feb 19 16:05:34 2016 From: hh at livecode.org (-hh) Date: Fri, 19 Feb 2016 22:05:34 +0100 Subject: Programmatically determine the average greyscale Message-ID: <612F6BC0-ED16-420E-A737-83D16BE942EB@livecode.org> BR, you do estimate the luminance of a 120x175 = 21000 px region on base of the evaluation of ONE single deterministic pixel? Accepted, of course, but then it may be better, from a probabilistic point of view, not to take "the" pixel (40,40) but *any* randomly chosen pixel of that region. You could do for that: set randomseed to (char -8 to -1 of the millisecs) put 19+random(120) into pX ; put 19+random(175) into pY == hh p.s. Sorry for giving this advice, but "randomness" was my job's field and is still my passion. From blueback09 at gmail.com Fri Feb 19 16:50:46 2016 From: blueback09 at gmail.com (Matt Maier) Date: Fri, 19 Feb 2016 13:50:46 -0800 Subject: standalone loading script-only stacks In-Reply-To: <56C6AFC8.7040204@hyperactivesw.com> References: <56C6AFC8.7040204@hyperactivesw.com> Message-ID: The handlers are incomplete because I only pasted in the parts that led to each other. The rest of the handlers would be long and irrelevant. It looks like the problem is caused by the ask and/or answer dialog. The first few lines where properties of those stacks are set cause the setup handler to error out. Other functions that depend on ask/answer aren't working correctly either. So I got 90% of the app to run by commenting out the lines setting popup properties in the setup. I got the answer popup to appear in the stand-alone by switching a button in the stand-alone application settings. The ask popup is still missing in action. Any ideas how to get those into the stand-alone? On Feb 18, 2016 10:02 PM, "J. Landman Gay" wrote: > On 2/18/2016 10:58 PM, Matt Maier wrote: > >> The log works just fine in the IDE, but it doesn't start in the >> standalone...at least not right away. If I start poking at the controls >> the >> log might spontaneously start working for some reason. >> > > The quickModeSetup handler has no "end" statement so it may not be > compiling correctly. I'm guessing that poking other controls may call > devLog (which does have the right structure) so that's why it works later. > I'm not sure why it would work in the IDE though, I'd have thought it > wouldn't. > > The setupAsOf3FEB2016 handler also has no "end" statement. > > >> The real problem here is that the rest of this startup process is supposed >> to create a bunch of graph objects, but they're not appearing in the >> standalone. >> > > The preOpenStack handler is using the path to the mainstack as the basis > for determining where the other stacks are located: > > > set the defaultStack to "HowstrBeta" >> set the itemDelimiter to "/" >> get the effective fileName of this stack >> set the defaultFolder to item 1 to -2 of it >> > > Replace these four lines with: > > set the defaultfolder to specialFolderPath("resources") > > Depending on the OS, standalone resources are copied to different > locations outside the mainstack folder, and the original handler won't find > them. You can always get their location with specialFolderPath("resources") > which will always point to the right place. In the IDE, > specialFolderPath("resources") points to the folder that contains the > mainstack, which makes things easy; store the stacks in the same folder > with the mainstack as you do now, and use specialFolderPath to find the > stacks during both development and in a standalone. > > -- > 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 Feb 19 17:08:11 2016 From: jeff at siphonophore.com (Jeff Reynolds) Date: Fri, 19 Feb 2016 17:08:11 -0500 Subject: Windows Quicktime Playback Message-ID: Hi folks, I have an app that plays rather small quicktime videos in a second stack window (mainstack is the user interface to select videos for a number of presentations). Its been fine for the last maybe 10 years up thru LC 5x on mac and pc. On the mac video playback is like silk (I can even do full 1080 pro res from a mac mini beautifully). On the PC we only ever did small videos (540x304) for practice and they played fine. most of the time mp4 h264 encoded, no changes when the app moves up to LC 6x and 7x. Recently though many of the small videos play back choppy on the PC (win 7 and 8) with players built with LC 6x or 7x. Some are ok, but still not totally smooth. Little or nothing has changed in the application that has to do with this external window playback. buffer does not seem to make any changes on the pc. Right now its the latest 7x qt installed on windows but even rolling back to some older versions did not seem to help. Is this just a function of windows qt playback being a dying thing here or did i miss something thats happened on that front? Thanks Jeff From mikedoub at gmail.com Fri Feb 19 17:16:16 2016 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 19 Feb 2016 17:16:16 -0500 Subject: leap to future In-Reply-To: <56C779DF.6070702@fourthworld.com> References: <56C779DF.6070702@fourthworld.com> Message-ID: <56C79430.70702@gmail.com> SFTP might not be the best thing in the world but I have yet to see a hosting site that does not support it. I have been waiting patiently for it for too long now. I am not at all interested in doing server side scripting but I would like to have the ability to manage files on my server. SFTP is supported out of the box, FTP is not. From my perspective this is low hanging fruit that many people would use. -= Mike On 2/19/16 3:23 PM, Richard Gaskin wrote: > Sannyasin Brahmanathaswami wrote: > > > SFTP was not on the list! That's continues to be such an irritation > > that this is not prioritized. > > > > see bug: bug 6405 > > Please, everyone go and vote. > > The voting system was retired years ago. For the sake of keeping > reports actionable please add only technical details to reports that > can further the work of implementing them. > > I agree that this would be a very valuable addition, and IIRC Kevin's > said previously that it would be included along with an even higher > priority for modern work, OAuth2, as part of the network library > overhaul that was included among the Kickstarter goals. > > I believe that library will be written in LC Builder, which is coming > together as part of v8.0, in development now. > > Exactly how soon after that the team will be in a position to work on > the new networking library is something only the team can comment on, > but the foundation needed for it is being worked on right now. > > > > Please, Please PLEEZE! Prioritize this request. it is much more > > important that your realize. 95% of all apps today must communicate > > with the web. This means the teacher, the enterprise, the business, > > the developer etc. must be transferring files to the web server. > > As useful as SFTP is for many things, it may not be the best choice > for all of the use cases outlined there. > > FTP/SFTP gives unbridled access to the entire server, at least as far > as the account can get to. If uploading content to a web server, this > means all publicly accessible files on that server as well as private > configuration files. Unless used with great care, it's very easy to > move, modify, or even delete files on a server, perhaps > unintentionally and with unpredictable results. > > For this reason most web sites that need content contributions from > distributed stakeholders create HTTP-based APIs for that. This allows > much more control over what can be sent and how it's handled, and as > such is much more secure. Extra bonus points that HTTP/HTTPS is often > more more efficient than FTP/SFTP. > > Using LiveCode Server right now we can craft an upload receiver script > in minutes - the sample code has already been delivered with a tutorial: > > > > Some stakeholders may indeed need complete access to the server, but > for the most part those are developers, or at a minimum trusted team > members with reasonable technical skills. Developers will probably > already have shared SSH keys in place so they can enjoy the greater > efficiency of rsync for file transfers, and once there's a shared SSH > key in place rsync, scp, and other file transfer tools can be used in > automated solutions built with LiveCode today using the shell function. > > Once we get past the larger use case of folks with limited skills for > which the control of an HTTP-based API is a good fit, and developers > who probably already have a shared SSH key on the server, the > remainder does indeed represent a good case for which SFTP would be > very useful. But it is, in all fairness, a subset getting ever > smaller as more orgs develop APIs to automate content transfer. > From colinholgate at gmail.com Fri Feb 19 17:34:19 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 19 Feb 2016 17:34:19 -0500 Subject: Windows Quicktime Playback In-Reply-To: References: Message-ID: <0D206605-84B2-4392-BC45-BCD8DA738C74@gmail.com> See if the answers given here help: https://discussions.apple.com/thread/2093603?tstart=0 > On Feb 19, 2016, at 5:08 PM, Jeff Reynolds wrote: > > Hi folks, > > I have an app that plays rather small quicktime videos in a second stack window (mainstack is the user interface to select videos for a number of presentations). Its been fine for the last maybe 10 years up thru LC 5x on mac and pc. > > On the mac video playback is like silk (I can even do full 1080 pro res from a mac mini beautifully). On the PC we only ever did small videos (540x304) for practice and they played fine. most of the time mp4 h264 encoded, no changes when the app moves up to LC 6x and 7x. > > Recently though many of the small videos play back choppy on the PC (win 7 and 8) with players built with LC 6x or 7x. Some are ok, but still not totally smooth. Little or nothing has changed in the application that has to do with this external window playback. buffer does not seem to make any changes on the pc. Right now its the latest 7x qt installed on windows but even rolling back to some older versions did not seem to help. > > Is this just a function of windows qt playback being a dying thing here or did i miss something thats happened on that front? > > Thanks > > Jeff > From brahma at hindu.org Fri Feb 19 17:39:36 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 19 Feb 2016 22:39:36 +0000 Subject: Trouble with LiveCode Server on Ubuntu Message-ID: ? We have two Linode Cloud servers. Both have almost the exact same Ubuntu 14.04 configuration. But on one of them I cannot get LiveCode server to "fire" the layout is correct and exact match for the server that is working. Permssions are all set properly to 755 and the owner and group are correct. /cgi-bin drivers externals livecode-community-server echo.lc the latter CGI is very simple #!/home/htoday/cgi-bin/livecode-community-server put the keys of $_SERVER into tCGIVars repeat for each line x in tCGIVars put x & ": " & $_SERVER[x] & (" "& cr) after tGlobals end repeat put "Hello, Livecode Server is Up and Running" & " " & tGlobals but we get this in the suexec log: [2016-02-19 14:01:51]: uid: (1000/htoday) gid: (1000/htoday) cmd: echo.lc [2016-02-19 14:01:51]: (2)No such file or directory: exec failed (echo.lc) ?A small bin/sh cgi is working http://www.hinduismtoday.com/cgi-bin/test-sh.cgi % #!/bin/sh # make Apache happy with the right html content tags echo "Content-Type: text/plain" echo "" echo "testing bin/sh" So there is nothing wrong with sudoers and user ID for and httpd.conf is set up correctly or the sh cgi would also fail. and of course using this in /public_html/.htaccess AddHandler livecode-script .lc Action livecode-script /cgi-bin/livecode-community-server and a simple .lc file in public_html ?gets us the same result References: <56C79430.70702@gmail.com> Message-ID: <56C79A20.804@fourthworld.com> Michael Doub wrote: > SFTP might not be the best thing in the world but I have yet to see > a hosting site that does not support it. They support SMTP too but, like SFTP, there are so many great tools out there that few of us need to make our own mail clients. What are you building? > From my perspective this is low hanging fruit that many people would > use. It's definitely useful, and as noted earlier also in progress. I'm not sure how low-hanging it is, though. I've never read the RFCs for SFTP or FTPS myself, but I have noted that a few community bounties over the years have been insufficient to get this done. If someone out there can write this in a day or two let's make it happen. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Feb 19 17:46:21 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Feb 2016 14:46:21 -0800 Subject: Trouble with LiveCode Server on Ubuntu In-Reply-To: References: Message-ID: <56C79B3D.3090703@fourthworld.com> I saw the "(2)No such file or directory" error on one of my VPSes yesterday. Mystified me, since I know the file is there. Looking into it further it turns out that error can happen with executables when the executable is 64-bit on a 32-bit system. I had installed the 64-bit LC Server engine, but had forgotten that I'd set up that VPS with a 32-bit Ubuntu. Just dropped in the 32-bit LC and it worked great. Hopefully your resolution will be as simple. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Sannyasin Brahmanathaswami wrote: > We have two Linode Cloud servers. Both have almost the exact same Ubuntu 14.04 configuration. > > But on one of them I cannot get LiveCode server to "fire" > > the layout is correct and exact match for the server that is working. Permssions are all set properly to 755 and the owner and group are correct. > > /cgi-bin > drivers > externals > livecode-community-server > echo.lc > > the latter CGI is very simple > > #!/home/htoday/cgi-bin/livecode-community-server > put the keys of $_SERVER into tCGIVars > > repeat for each line x in tCGIVars > put x & ": " & $_SERVER[x] & (" > "& cr) after tGlobals > end repeat > > put "Hello, Livecode Server is Up and Running" & " > " & tGlobals > > > but we get this in the suexec log: > > [2016-02-19 14:01:51]: uid: (1000/htoday) gid: (1000/htoday) cmd: echo.lc > [2016-02-19 14:01:51]: (2)No such file or directory: exec failed (echo.lc) > > A small bin/sh cgi is working > > http://www.hinduismtoday.com/cgi-bin/test-sh.cgi > > % > #!/bin/sh > # make Apache happy with the right html content tags > echo "Content-Type: text/plain" > echo "" > > echo "testing bin/sh" > > So there is nothing wrong with sudoers and user ID for and httpd.conf is set up correctly or the sh cgi would also fail. > > and of course using this in /public_html/.htaccess > > AddHandler livecode-script .lc > Action livecode-script /cgi-bin/livecode-community-server > > and a simple .lc file in public_html gets us the same result > > > # some script here > > failing with a slightly different but similar error in the suexec log. Instead of saying the script itself cannot be found. it says that LC Server cannot be found... > > [2016-02-19 14:19:36]: uid: (1000/htoday) gid: (1000/htoday) cmd: livecode-community-server > [2016-02-19 14:19:36]: (2)No such file or directory: exec failed (livecode-community-server) > > Any clues? I've been digging into the logs and Apache2 config files etc until my eyes are weeping...I have a ticket into the Virtualmin support team, but this is pretty mysterious, even for them... since the #!bin/sh works... why not LCserver? > > it's as if there is some hidden path info/config that is is hiding livecode-community-server From prothero at earthednet.org Fri Feb 19 17:51:39 2016 From: prothero at earthednet.org (William Prothero) Date: Fri, 19 Feb 2016 14:51:39 -0800 Subject: Script Only stacks Message-ID: Folks: I decided to check out script only stacks. I am in LC8 (DP14). I noticed that there is a sub-menu item in ?New Stack?, at the bottom of the list, for a ?Script Only? stack. Fine and dandy. It shows up in the Project Browser. But, when I click on the icon to the left of the stack entry (in the project browser), it opens and a card appears below it. I thought script only stacks had only the stack, not cards. So, is the Project Browser converting the stack to a regular stack? Just wondering about script only stacks. I use a lot of substacks to hold various script resources, and it looks like there might be just a bit less overhead in script only stacks. BUT, can script only stacks be substacks? Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From prothero at earthednet.org Fri Feb 19 17:58:51 2016 From: prothero at earthednet.org (William Prothero) Date: Fri, 19 Feb 2016 14:58:51 -0800 Subject: leap to future In-Reply-To: <56C779DF.6070702@fourthworld.com> References: <56C779DF.6070702@fourthworld.com> Message-ID: <7A2B8B77-87C8-4E76-A356-25C94DE378AA@earthednet.org> Richard: By the way, I didn?t find totally transparent, how to use your link to upload a file, very transparent when it came to standalones. I did figure it out after a lot of head-scratching and posted a link on this list, to the way i did it. http://es.earthednet.org/SoftwareForEducation It?s oriented to sending an email, but the same principles probably apply to straight uploads. I do use php on the server side, though. Best, Bill > On Feb 19, 2016, at 12:23 PM, Richard Gaskin wrote: > > Sannyasin Brahmanathaswami wrote: > > > SFTP was not on the list! That's continues to be such an irritation > > that this is not prioritized. > > > > see bug: bug 6405 > > Please, everyone go and vote. > > The voting system was retired years ago. For the sake of keeping reports actionable please add only technical details to reports that can further the work of implementing them. > > I agree that this would be a very valuable addition, and IIRC Kevin's said previously that it would be included along with an even higher priority for modern work, OAuth2, as part of the network library overhaul that was included among the Kickstarter goals. > > I believe that library will be written in LC Builder, which is coming together as part of v8.0, in development now. > > Exactly how soon after that the team will be in a position to work on the new networking library is something only the team can comment on, but the foundation needed for it is being worked on right now. > > > > Please, Please PLEEZE! Prioritize this request. it is much more > > important that your realize. 95% of all apps today must communicate > > with the web. This means the teacher, the enterprise, the business, > > the developer etc. must be transferring files to the web server. > > As useful as SFTP is for many things, it may not be the best choice for all of the use cases outlined there. > > FTP/SFTP gives unbridled access to the entire server, at least as far as the account can get to. If uploading content to a web server, this means all publicly accessible files on that server as well as private configuration files. Unless used with great care, it's very easy to move, modify, or even delete files on a server, perhaps unintentionally and with unpredictable results. > > For this reason most web sites that need content contributions from distributed stakeholders create HTTP-based APIs for that. This allows much more control over what can be sent and how it's handled, and as such is much more secure. Extra bonus points that HTTP/HTTPS is often more more efficient than FTP/SFTP. > > Using LiveCode Server right now we can craft an upload receiver script in minutes - the sample code has already been delivered with a tutorial: > > > Some stakeholders may indeed need complete access to the server, but for the most part those are developers, or at a minimum trusted team members with reasonable technical skills. Developers will probably already have shared SSH keys in place so they can enjoy the greater efficiency of rsync for file transfers, and once there's a shared SSH key in place rsync, scp, and other file transfer tools can be used in automated solutions built with LiveCode today using the shell function. > > Once we get past the larger use case of folks with limited skills for which the control of an HTTP-based API is a good fit, and developers who probably already have a shared SSH key on the server, the remainder does indeed represent a good case for which SFTP would be very useful. But it is, in all fairness, a subset getting ever smaller as more orgs develop APIs to automate content transfer. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Feb 19 18:02:38 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 19 Feb 2016 23:02:38 +0000 Subject: Trouble with LiveCode Server on Ubuntu In-Reply-To: <56C79B3D.3090703@fourthworld.com> References: <56C79B3D.3090703@fourthworld.com> Message-ID: My sys stats say: Operating system Ubuntu Linux 14.04.1 Webmin version 1.780 Virtualmin version 4.16.gpl Time on system Fri Feb 19 14:57:14 2016 Kernel and CPU Linux 4.1.5-x86_64-linode61 on x86_64 but I can certainly give the 32-bit version of LC server a go... On February 19, 2016 at 12:46:58 PM, Richard Gaskin (ambassador at fourthworld.com) wrote: . Just dropped in the 32-bit LC and it worked great. From ambassador at fourthworld.com Fri Feb 19 18:04:37 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Feb 2016 15:04:37 -0800 Subject: Script Only stacks In-Reply-To: References: Message-ID: <56C79F85.4050002@fourthworld.com> William Prothero wrote: > I decided to check out script only stacks. I am in LC8 (DP14). I > noticed that there is a sub-menu item in ?New Stack?, at the bottom > of the list, for a ?Script Only? stack. Fine and dandy. It shows up > in the Project Browser. But, when I click on the icon to the left of > the stack entry (in the project browser), it opens and a card appears > below it. I thought script only stacks had only the stack, not cards. > So, is the Project Browser converting the stack to a regular stack? A script-only stack is just that: a plain text file in which the first line is: stack "stackname" ...and below that is the stack's script. That's it. You can see several examples throughout the IDE install. When the engine reads a text file with that header using any normal stack-access syntax (e.g. "open stack" or "start using") it instantiates an actual stack object from it. And since a stack in LiveCode can't exist without a card, the card comes along for the ride. While it's in memory it behaves just like a LiveCode-native binary stack - you can even set custom properties in it. Just be aware that regardless what you do with it while it's in memory, the only thing that will be saved in a script-only stack is, as the name implies, the script. > Just wondering about script only stacks. I use a lot of substacks to > hold various script resources, and it looks like there might be just > a bit less overhead in script only stacks. > > BUT, can script only stacks be substacks? No. A substack is part of the native binary stack structure of a normal stack. As such, only other native binary stacks can be used as substacks, and only in a native binary mainstack. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Feb 19 18:07:06 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Feb 2016 15:07:06 -0800 Subject: Trouble with LiveCode Server on Ubuntu In-Reply-To: References: Message-ID: <56C7A01A.5010307@fourthworld.com> Sannyasin Brahmanathaswami wrote: > My sys stats say: > Operating system Ubuntu Linux 14.04.1 > Webmin version 1.780 Virtualmin version 4.16.gpl > Time on system Fri Feb 19 14:57:14 2016 Kernel and CPU Linux 4.1.5-x86_64-linode61 on x86_64 > > but I can certainly give the 32-bit version of LC server a go... Maybe your setup is the other way around: could it be that you have a 32-bit LC engine there now without the required 32-bit multiarch packages? If that's the case just dropping in the 64-bit LC should do it. If not we'll have to dig deeper, perhaps running LC from the command line with ldd, e.g.: ldd ./livecode-community-server -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Feb 19 18:09:25 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Feb 2016 15:09:25 -0800 Subject: leap to future In-Reply-To: <7A2B8B77-87C8-4E76-A356-25C94DE378AA@earthednet.org> References: <7A2B8B77-87C8-4E76-A356-25C94DE378AA@earthednet.org> Message-ID: <56C7A0A5.1010802@fourthworld.com> William Prothero wrote: > Richard: > By the way, I didn?t find totally transparent, how to use your link to upload a file, very transparent when it came to standalones. I did figure it out after a lot of head-scratching and posted a link on this list, to the way i did it. > http://es.earthednet.org/SoftwareForEducation > > It?s oriented to sending an email, but the same principles probably apply to straight uploads. I do use php on the server side, though. You have some nice stuff on that site, Bill - thanks. Bookmarked.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthednet.org Fri Feb 19 19:56:59 2016 From: prothero at earthednet.org (William Prothero) Date: Fri, 19 Feb 2016 16:56:59 -0800 Subject: Script Only stacks In-Reply-To: <56C79F85.4050002@fourthworld.com> References: <56C79F85.4050002@fourthworld.com> Message-ID: Thanks, Richard. That clears it up. Bill > On Feb 19, 2016, at 3:04 PM, Richard Gaskin wrote: > > William Prothero wrote: > > > I decided to check out script only stacks. I am in LC8 (DP14). I > > noticed that there is a sub-menu item in ?New Stack?, at the bottom > > of the list, for a ?Script Only? stack. Fine and dandy. It shows up > > in the Project Browser. But, when I click on the icon to the left of > > the stack entry (in the project browser), it opens and a card appears > > below it. I thought script only stacks had only the stack, not cards. > > So, is the Project Browser converting the stack to a regular stack? > > A script-only stack is just that: a plain text file in which the first line is: > > stack "stackname" > > ...and below that is the stack's script. That's it. You can see several examples throughout the IDE install. > > When the engine reads a text file with that header using any normal stack-access syntax (e.g. "open stack" or "start using") it instantiates an actual stack object from it. And since a stack in LiveCode can't exist without a card, the card comes along for the ride. > > While it's in memory it behaves just like a LiveCode-native binary stack - you can even set custom properties in it. Just be aware that regardless what you do with it while it's in memory, the only thing that will be saved in a script-only stack is, as the name implies, the script. > > > > Just wondering about script only stacks. I use a lot of substacks to > > hold various script resources, and it looks like there might be just > > a bit less overhead in script only stacks. > > > > BUT, can script only stacks be substacks? > > No. A substack is part of the native binary stack structure of a normal stack. As such, only other native binary stacks can be used as substacks, and only in a native binary mainstack. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Feb 19 21:01:34 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 20 Feb 2016 02:01:34 +0000 Subject: Script Only stacks In-Reply-To: References: <56C79F85.4050002@fourthworld.com> Message-ID: I am also very late coming to the script only stacks party. It would be wonderful to have some kind of big "shoot the breeze" conference call with a few LC engineers at the meeting, just to talk about the potential uses of script only stacks in terms of the presentation layer. For one that has been working inside RevIgniter now for nearly three years, the world of text only scripts and the advantages of that environment have become second nature. But the presentation layer is HTML/CSS... In an LC stack/standalone environment the card(plus controls, graphics, images) is the presentation layer AND since a card "comes along for the ride." One wonders if a text-only framework to instantiate the visible GUI with a full set of params to create all the objects and their properties.. has any value. Then you could check in and check out these stacks in GIT hub. OTOH: that seems like it could get complicated. OTOH: it means one could transfer a lot of the experience from RevIgniter's MVC paradigm over to a LiveCode only universe One wonders of the business license, which has some secret framework for collaboration, will be doing this... The business license might be more interesting if one knew exact what it was. Musing.... in theory one could keep the card layer very, very lean and then put everything (whatever that might be) else into script only stacks as appears to be the case with the IDE... then the potential to off load development modularly to different team members starts to become doable. Obviously, the team at Edinborough is way, way out front of us all on this and if they were to put on some kind of live web panel, on the potential uses for script only stacks and put that on YouTube.. that would be enlightening... I could help some of us pick up on their lead... I don't mind being a follower.. it's better than wondering in the forest with no direction. A jump start would be nice. BR On February 19, 2016 at 2:57:18 PM, William Prothero (prothero at earthednet.org) wrote: > > Just wondering about script only stacks. I use a lot of substacks to > > hold various script resources, and it looks like there might be just > > a bit less overhead in script only stacks. > > > > BUT, can script only stacks be substacks? > > No. A substack is part of the native binary stack structure of a normal stack. As such, only other native binary stacks can be used as substacks, and only in a native binary mainstack. From brahma at hindu.org Fri Feb 19 21:32:55 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 20 Feb 2016 02:32:55 +0000 Subject: Programmatically determine the average greyscale In-Reply-To: <612F6BC0-ED16-420E-A737-83D16BE942EB@livecode.org> References: <612F6BC0-ED16-420E-A737-83D16BE942EB@livecode.org> Message-ID: ? HH You are right of course. one pixel was an expediency and certainly does not cover all cases. In fact it is a rather weak algorithm as you can see here: https://www.evernote.com/l/ABHZ6MzemNNJY6SXFJ3HTMb7afCnCElhYfE the text field crosses a blown out highlight (white hair) over to a dark background. in a case like this a midtone is usually all one can decide on. in this case 220,220,220 at 200,200,200 we start to hit the same level as the background. in this particular photo: https://www.evernote.com/l/ABFY-T8OCqNDYK4QOed3qr0G6GfqZUXWjEo For this particular context I'm actually happy with the "homeKey" field being subdued. but in other cases one wants a stronger presence https://www.evernote.com/l/ABE267idXlBHrY4Xs4ND27ziH1UjmGtU-eY Musings: A random algorithm also does not help us out either. In this "FlipBoard" model/copy-cat (which is what I'm aiming for in V1) image will be dynamically replaced on every return to the same card, not only per session, but even if the user just leaves the card and returns. "Only God will know for sure" what the luminance of the background will be under the field, because I'll be dynamically adding more and more images in the category over time... if we want to get really "manic" (your term ha!) we could write an analyzer to scan every pixel across the whole area underneath the field. but I worry this will take up so much CPU time, especially on Android that it will delay rendering the card. In print we often decide to put a background frame behind the type and change the opacity of the area to give some weight to the background, but on these small mobile spaces, that just adds more noise to the design I may settle finally on 200,200,200 for all and forget the attempt to analyze the background... though it was a very useful exercise and I have other context where I can and will use this new "skill"? FlipBoard uses white and I guess they must have a staff of 50 people who curate every image and crop to make sure there is dark matter underneat their type...? "not gonna happen here" BR ? On February 19, 2016 at 11:05:52 AM, [-hh] (hh at livecode.org(mailto:hh at livecode.org)) wrote: > BR, > > you do estimate the luminance of a 120x175 = 21000 px region > on base of the evaluation of ONE single deterministic pixel? > > Accepted, of course, but then it may be better, from a > probabilistic point of view, not to take "the" pixel (40,40) > but *any* randomly chosen pixel of that region. > > You could do for that: > > set randomseed to (char -8 to -1 of the millisecs) > put 19+random(120) into pX ; put 19+random(175) into pY From brahma at hindu.org Fri Feb 19 21:38:46 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 20 Feb 2016 02:38:46 +0000 Subject: Trouble with LiveCode Server on Ubuntu In-Reply-To: References: <56C79B3D.3090703@fourthworld.com> Message-ID: Ahh... I had already tried the latest 7.2.1 64 LiveCode but I just discovered that the server/instance where it *does* work we have Kernel and CPU where as on Hinduism Today site we have the 4.1.5- version of linux so let me see if I can get the OS upgraded without bringing down the server first. Linux 4.4.0-x86_64-linode63 on x86_64 BR On February 19, 2016 at 1:02:38 PM, Sannyasin Brahmanathaswami (brahma at hindu.org) wrote: Sannyasin Brahmanathaswami wrote: > My sys stats say: > Operating system Ubuntu Linux 14.04.1 > Webmin version 1.780 Virtualmin version 4.16.gpl > Time on system Fri Feb 19 14:57:14 2016 Kernel and CPU Linux 4.1.5-x86_64-linode61 on x86_64 > > but I can certainly give the 32-bit version of LC server a go... Maybe your setup is the other way around: could it be that you have a 32-bit LC engine there now without the required 32-bit multiarch packages? If that's the case just dropping in the 64-bit LC should do it. If not we'll have to dig deeper, perhaps running LC from the command line with ldd, e.g.: ldd ./livecode-community-server -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web From brahma at hindu.org Fri Feb 19 22:17:20 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 20 Feb 2016 03:17:20 +0000 Subject: Trouble with LiveCode Server on Ubuntu In-Reply-To: References: <56C79B3D.3090703@fourthworld.com> Message-ID: ? OK, successfully upgraded the Hinduism Today server to Linux 4.4.0-x86_64-linode63 on x86_64 so now we have Ubuntu OS parity now between the two instances on the one where LC works, where I think I have an old version of LC server 6.7.5 we get: /home/himalayan/cgi-bin# ldd ./livecode-community-server linux-gate.so.1 => (0xf771d000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7708000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf76c2000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76a5000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7688000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74da000) /lib/ld-linux.so.2 (0x56639000) is this a 32 bit version? On the Hinduism Today server I installed LC server: 7.1.2 RC3 , Linux 64 and we are still getting failure [2016-02-19 19:01:52]: uid: (1000/htoday) gid: (1000/htoday) cmd: echo.lc [2016-02-19 19:01:52]: (2)No such file or directory: exec failed (echo.lc) and the ldd returns a vastly different set of data for LC server 7.1.2 RC 3 server (Linux 64) /home/htoday/cgi-bin# ldd ./livecode-community-server linux-vdso.so.1 => (0x00007fff3f9e3000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f67f0a56000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f67f0838000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f67f0502000) libXext.so.6 => not found librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f67f02fa000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f67efff5000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f67efcef000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f67efad9000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f67ef713000) /lib64/ld-linux-x86-64.so.2 (0x00005595f0c80000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f67ef4f4000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f67ef2ef000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f67ef0e9000) So.. I am out of my depth now... should I regress to an earlier version of LC Server? I don't want to move up to a new version of LC server on the Himalayan site if it is going to fail there...? I'll go ahead and try regressing on the HT server... since it is running XOOPS/php ?and our very few LC cgi are failing but not the whole site.. we can test without grave consequences. Actually this is good this is happening because had I upgraded our main RevIgniter site it would have died! On February 19, 2016 at 4:38:46 PM, Richard wrote: > If that's the case just dropping in the 64-bit LC should do it. > > If not we'll have to dig deeper, perhaps running LC from the command > line with ldd, e.g.: > > ldd ./livecode-community-server From brahma at hindu.org Fri Feb 19 22:42:20 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 20 Feb 2016 03:42:20 +0000 Subject: Trouble with LiveCode Server on Ubuntu In-Reply-To: References: <56C79B3D.3090703@fourthworld.com> Message-ID: ? Ok I tried regressing to 6.7.5 but things got worse: root at hinduismtoday:/home/htoday/cgi-bin# ./echo.lc -bash: ./echo.lc: /home/htoday/cgi-bin/livecode-community-server: bad interpreter: No such file or directory root at hinduismtoday:/home/htoday/cgi-bin# ldd livecode-community-server not a dynamic executable root at hinduismtoday:/home/htoday/cgi-bin# ldd ./livecode-community-server not a dynamic executable root at hinduismtoday:/home/htoday/cgi-bin# So then I went the other way: installed 80 DP14 linux 64 now we get something new: % /home/htoday/cgi-bin# ./echo.lc /home/htoday/cgi-bin/livecode-community-server: error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory ldd show one missing dependency.. apt-get install cannot find it. % /home/htoday/cgi-bin# apt-get install libXext.so.6 Reading package lists... Done Building dependency tree ? ? ?? Reading state information... Done E: Unable to locate package libXext.so.6 E: Couldn't find any package by regex 'libXext.so.6' ? /home/htoday/cgi-bin# ldd ./livecode-community-server linux-vdso.so.1 => ?(0x00007ffc5a7ee000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007efe1ec8e000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007efe1ea70000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007efe1e73a000) libXext.so.6 => not found librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007efe1e532000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007efe1e22d000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007efe1df27000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007efe1dd11000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007efe1d94b000) /lib64/ld-linux-x86-64.so.2 (0x000055dc8d5d8000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007efe1d72c000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007efe1d527000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007efe1d321000) That's it for today..? On February 19, 2016 at 5:17:19 PM, Sannyasin Brahmanathaswami (brahma at hindu.org(mailto:brahma at hindu.org)) wrote: > I'll go ahead and try regressing on the HT server... since it is running XOOPS/php and our very few LC cgi are failing but not the whole site.. we can test without grave consequences. From bonnmike at gmail.com Fri Feb 19 22:44:54 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 19 Feb 2016 20:44:54 -0700 Subject: Trouble with LiveCode Server on Ubuntu In-Reply-To: References: <56C79B3D.3090703@fourthworld.com> Message-ID: try apt-get install libxext6 On Fri, Feb 19, 2016 at 8:42 PM, Sannyasin Brahmanathaswami < brahma at hindu.org> wrote: > > Ok I tried regressing to 6.7.5 > > but things got worse: > > root at hinduismtoday:/home/htoday/cgi-bin# ./echo.lc > -bash: ./echo.lc: /home/htoday/cgi-bin/livecode-community-server: bad > interpreter: No such file or directory > root at hinduismtoday:/home/htoday/cgi-bin# ldd livecode-community-server > not a dynamic executable > root at hinduismtoday:/home/htoday/cgi-bin# ldd ./livecode-community-server > not a dynamic executable > root at hinduismtoday:/home/htoday/cgi-bin# > > So then I went the other way: installed 80 DP14 linux 64 > > now we get something new: > > % /home/htoday/cgi-bin# ./echo.lc > /home/htoday/cgi-bin/livecode-community-server: error while loading shared > libraries: libXext.so.6: cannot open shared object file: No such file or > directory > > ldd show one missing dependency.. apt-get install cannot find it. > > % /home/htoday/cgi-bin# apt-get install libXext.so.6 > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Unable to locate package libXext.so.6 > E: Couldn't find any package by regex 'libXext.so.6' > > > /home/htoday/cgi-bin# ldd ./livecode-community-server > linux-vdso.so.1 => (0x00007ffc5a7ee000) > libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007efe1ec8e000) > libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 > (0x00007efe1ea70000) > libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 > (0x00007efe1e73a000) > libXext.so.6 => not found > librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007efe1e532000) > libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 > (0x00007efe1e22d000) > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007efe1df27000) > libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 > (0x00007efe1dd11000) > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007efe1d94b000) > /lib64/ld-linux-x86-64.so.2 (0x000055dc8d5d8000) > libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 > (0x00007efe1d72c000) > libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 > (0x00007efe1d527000) > libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 > (0x00007efe1d321000) > > That's it for today.. > > > On February 19, 2016 at 5:17:19 PM, Sannyasin Brahmanathaswami ( > brahma at hindu.org(mailto:brahma at hindu.org)) wrote: > > > I'll go ahead and try regressing on the HT server... since it is running > XOOPS/php and our very few LC cgi are failing but not the whole site.. we > can test without grave consequences. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 19 22:46:04 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 19 Feb 2016 20:46:04 -0700 Subject: Trouble with LiveCode Server on Ubuntu In-Reply-To: References: <56C79B3D.3090703@fourthworld.com> Message-ID: or just possibly libext Don't have a system I can test on right now, but one of those two should work. On Fri, Feb 19, 2016 at 8:44 PM, Mike Bonner wrote: > try apt-get install libxext6 > > On Fri, Feb 19, 2016 at 8:42 PM, Sannyasin Brahmanathaswami < > brahma at hindu.org> wrote: > >> >> Ok I tried regressing to 6.7.5 >> >> but things got worse: >> >> root at hinduismtoday:/home/htoday/cgi-bin# ./echo.lc >> -bash: ./echo.lc: /home/htoday/cgi-bin/livecode-community-server: bad >> interpreter: No such file or directory >> root at hinduismtoday:/home/htoday/cgi-bin# ldd livecode-community-server >> not a dynamic executable >> root at hinduismtoday:/home/htoday/cgi-bin# ldd ./livecode-community-server >> not a dynamic executable >> root at hinduismtoday:/home/htoday/cgi-bin# >> >> So then I went the other way: installed 80 DP14 linux 64 >> >> now we get something new: >> >> % /home/htoday/cgi-bin# ./echo.lc >> /home/htoday/cgi-bin/livecode-community-server: error while loading >> shared libraries: libXext.so.6: cannot open shared object file: No such >> file or directory >> >> ldd show one missing dependency.. apt-get install cannot find it. >> >> % /home/htoday/cgi-bin# apt-get install libXext.so.6 >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> E: Unable to locate package libXext.so.6 >> E: Couldn't find any package by regex 'libXext.so.6' >> >> >> /home/htoday/cgi-bin# ldd ./livecode-community-server >> linux-vdso.so.1 => (0x00007ffc5a7ee000) >> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 >> (0x00007efe1ec8e000) >> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 >> (0x00007efe1ea70000) >> libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 >> (0x00007efe1e73a000) >> libXext.so.6 => not found >> librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 >> (0x00007efe1e532000) >> libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 >> (0x00007efe1e22d000) >> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007efe1df27000) >> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 >> (0x00007efe1dd11000) >> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007efe1d94b000) >> /lib64/ld-linux-x86-64.so.2 (0x000055dc8d5d8000) >> libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 >> (0x00007efe1d72c000) >> libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 >> (0x00007efe1d527000) >> libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 >> (0x00007efe1d321000) >> >> That's it for today.. >> >> >> On February 19, 2016 at 5:17:19 PM, Sannyasin Brahmanathaswami ( >> brahma at hindu.org(mailto:brahma at hindu.org)) wrote: >> >> > I'll go ahead and try regressing on the HT server... since it is >> running XOOPS/php and our very few LC cgi are failing but not the whole >> site.. we can test without grave consequences. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > From brahma at hindu.org Fri Feb 19 23:38:07 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 20 Feb 2016 04:38:07 +0000 Subject: Web Browser in LC 8 Message-ID: Is the Browser widget in LC 8 ready for production? I was considering continuing development in our latest app project in LC8 DP 14.. but this may be premature. I dragged out a browser widget, set the URL in the props inspector and nothing happened. Where are LC 8 Tutorials? This has a single lesson http://lessons.livecode.com/m/33498 Should we just use all the old methods described for the web browser and avoid the widget? Thoughts? BR From littlejamesw at mac.com Fri Feb 19 23:53:35 2016 From: littlejamesw at mac.com (James Little) Date: Fri, 19 Feb 2016 20:53:35 -0800 Subject: Web Browser in LC 8 In-Reply-To: References: Message-ID: <38EADEF6-5E3E-4878-8CAA-0AF7429C6E2B@mac.com> Hi BR, I?m having good luck with LC8 DP14. I just posted our latest beta of the Global Warming Reader at GlobalWarmingApps.org/GlobalWarmingReader.html This uses the browser widget and 2 tree view widgets. Use the drop down menu in the upper left hand corner of the Dictionary to get more info on ?Browser?. It is much easier to use this widget than the prior coding of the browser. set the url of widget ?MyBrowser? to ?http://livecode.com? Jim Little From lists at mangomultimedia.com Sat Feb 20 07:40:40 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 20 Feb 2016 07:40:40 -0500 Subject: Web Browser in LC 8 In-Reply-To: References: Message-ID: On Friday, February 19, 2016, Sannyasin Brahmanathaswami wrote: > Is the Browser widget in LC 8 ready for production? Not in do-14. On Windows the browser doesn't scale properly on hi-dpi displays and it doesn't always behave. There are a number of fixes coming in DP-15 though. I'm trying to put a private beta out next week that uses the browser and it looks like DP-15 will have the fixes needed. > I was considering continuing development in our latest app project in LC8 > DP 14.. but this may be premature. > > I dragged out a browser widget, set the URL in the props inspector and > nothing happened. > You have to switch to the browse tool to see the contents of the browser. Did you try that? -- Trevor DeVore From hh at livecode.org Sat Feb 20 09:56:52 2016 From: hh at livecode.org (-hh) Date: Sat, 20 Feb 2016 15:56:52 +0100 Subject: Programmatically determine the average greyscale Message-ID: <6BA4A449-3BA9-4052-BBAA-75C1CCDD8691@livecode.org> > BR wrote: > HH You are right of course. one pixel was an expediency and certainly > does not cover all cases. In fact it is a rather weak algorithm ... > ... Musings: > A random algorithm also does not help us out either. BR, [1] I didn't say a single random pixel is the way to go. I simply accepted your single-pixel-way and tried to improve it. [2] You CAN solve this in a very short time with LiveCode. You could give the following a try (less than 5 minutes). This is ONE 'static' setting, that works for ALL images. Make a new textField, that will use contrast to *every* single pixel that is below the text. It requires later on only to script that the name of the buttons will be hidden and instead displayed by the correspondingly placed and sized field (you can use with that even formattedHeight and formattedWidth to optimize sizing and location). Settings: opaque=false locktext=true autohilite=false forecolor=255,255,255 script="on mouseDown;grab me;end mouseDown" ink=notSrcOrReverse showBorder=true -- needed with that ink or if you wish a border borderWidth=0 -- needed with that ink, not if you wish a border blending=12 Increase the blendlevel to have less contrast between "black" (darkGrey) and "white" (lightGray) blendLevel=0 gives 'full' black and white Now bring this field to front and drag it over any part of pictures or black/gray/white rectangles of your stack. You should have readable contrast while dragging and whereever you drag it (if the field is not empty). I tried with your link that resolves to "skitch.png", works as expected. -hh Below are the properties of my test field for looking up, in case you use different default values. ========================= altId=0 autoHilite=false autoTab=false backColor=0,0,0 backPattern= behavior= blendLevel=12 borderColor= borderPattern= borderWidth=0 bottomColor= bottomPattern= cantSelect=false colorOverlay= cursorMovement=default disabled=false dontSearch=false dontWrap=false dropShadow= firstIndent=0 fixedLineHeight=true focusColor= focusPattern= foreColor=255,255,255 forePattern= hGrid=false hScroll=0 hScrollbar=false hiliteColor= hilitePattern= hilitedLines= htmlText=

Knowledge

id=1005 ink=notSrcOrReverse innerGlow= innerShadow= layer=6 layerMode=static listBehavior=false lockLoc=false lockText=true margins=8 multipleHilites=false name=Field noncontiguousHilites=false opaque=false outerGlow= rect=146,284,460,360 scrollbarWidth=20 shadow=false shadowColor= shadowOffset=4 shadowPattern= sharedText=false showBorder=true showFocusBorder=true showLines=false style=transparent tabStops= textAlign=center textDirection=auto textFont=Arial Black textHeight= textSize=48 textStyle=plain threeD=false threeDHilite=false toggleHilites=false toolTip= topColor= topPattern= traversalOn=true vGrid=false vScroll=0 vScrollbar=false visible=true From livfoss at mac.com Sat Feb 20 10:21:05 2016 From: livfoss at mac.com (Graham Samuel) Date: Sat, 20 Feb 2016 15:21:05 +0000 Subject: Finding UTC Message-ID: <4B219F36-EAC0-4E56-BE7E-4112AA147D57@mac.com> This may be obvious to somebody, but I am a newbie as regards LiveCode Server: In LCS, I can write a line of code that says something like put the time This will of course put the time as perceived by the server where in the world my copy of LCS happens to be hosted. Given that this is arbitrary from the point of view of a user of the server, it would be easier for me if I could show the time as UTC, or what us Brits used to call Greenwich Mean Time. Is there any way of doing this, either within the LC engine, or by querying the server parameters, assuming it to be running Apache? Or do I have to invoke a service like worldtimeserver.com ? TIA Graham PS: IMHO LiveCode Server should be called ?LiveCode Server Edition?, since the engine isn?t itself a server, it just **runs** on a server, AFAIKS. The idea of a server-within-a-server seems confusing to me. From brahma at hindu.org Sat Feb 20 10:28:22 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 20 Feb 2016 15:28:22 +0000 Subject: Web Browser in LC 8 In-Reply-To: References: Message-ID: On February 20, 2016 at 2:40:56 AM, Trevor DeVore (lists at mangomultimedia.com) wrote: You have to switch to the browse tool to see the contents of the browser. Did you try that? oh... duh... yes, that works :-) @ james... thanks for the encouragement, it seems wise at this stage to push to move on to 8...this project will take a few months, so getting in now is a good thing. "Use the drop down menu... dictionary" Silly thing was opening with the top of the dictionary underneath the menubar (I have a ticket in for the team to fix that...) after running manually "set the loc of stack "revDictionary" to the screenloc... I found the two menus: API | Guide Nice that the browser widget is independent and stays on the card and is not stack wide. Does it automatically create the mobile version of itself when deployed on iOS or Android? Or do we need to fork and instantiate the mobile browser using the mobile methods? I'm on my way with 8... From ambassador at fourthworld.com Sat Feb 20 10:44:08 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 20 Feb 2016 07:44:08 -0800 Subject: Finding UTC In-Reply-To: <4B219F36-EAC0-4E56-BE7E-4112AA147D57@mac.com> References: <4B219F36-EAC0-4E56-BE7E-4112AA147D57@mac.com> Message-ID: <56C889C8.6020109@fourthworld.com> Graham Samuel wrote: > In LCS, I can write a line of code that says something like > > put the time > > This will of course put the time as perceived by the server where in > the world my copy of LCS happens to be hosted. Given that this is > arbitrary from the point of view of a user of the server, it would be > easier for me if I could show the time as UTC, or what us Brits used > to call Greenwich Mean Time. > > Is there any way of doing this, either within the LC engine, or by > querying the server parameters, assuming it to be running Apache? Or > do I have to invoke a service like worldtimeserver.com > ? I believe you should be able to use "the internet date" for that, since it includes the UTC offset from which you can calculate UTC itself. > PS: IMHO LiveCode Server should be called ?LiveCode Server Edition?, > since the engine isn?t itself a server, it just **runs** on a server, > AFAIKS. The idea of a server-within-a-server seems confusing to me. Agreed, it would make it more understandable. Or perhaps even more specifically, "LiveCode CGI". -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From hh at livecode.org Sat Feb 20 10:44:25 2016 From: hh at livecode.org (-hh) Date: Sat, 20 Feb 2016 16:44:25 +0100 Subject: Finding UTC Message-ID: <50AEBF66-EA97-48CB-93A8-277E10C9D5DF@livecode.org> You could think about showing the internet date (=full information). From littlejamesw at mac.com Sat Feb 20 10:49:55 2016 From: littlejamesw at mac.com (James Little) Date: Sat, 20 Feb 2016 07:49:55 -0800 Subject: Web Browser in LC 8 In-Reply-To: <846696CB-292D-4E10-8731-5ED912729A0A@me.com> References: <846696CB-292D-4E10-8731-5ED912729A0A@me.com> Message-ID: <6A00B365-23AF-4300-B211-5C32832798A0@mac.com> Hi BR, I have not tried the browser widget on mobile. If you have any use for a tree view, consider trying the tree view widget with arrays. Set the arraydata of widget ?MyTreeView? to tArray Another trick I learned from an early Kevin Miller video was to turn on ?Message Watcher? under ?Development? of the Livecode Menubar. You can see what messages the widget receives as you interact with it. Jim Little > On Feb 20, 2016, at 7:28 AM, Sannyasin Brahmanathaswami wrote: > >> On February 20, 2016 at 2:40:56 AM, Trevor DeVore (lists at mangomultimedia.com) wrote: >> You have to switch to the browse tool to see the contents of the browser. >> Did you try that? >> >> >> oh... duh... yes, that works :-) >> >> @ james... thanks for the encouragement, it seems wise at this stage to push to move on to 8...this project will take a few months, so getting in now is a good thing. "Use the drop down menu... dictionary" >> >> Silly thing was opening with the top of the dictionary underneath the menubar (I have a ticket in for the team to fix that...) >> >> after running manually "set the loc of stack "revDictionary" to the screenloc... I found the two menus: API | Guide >> >> Nice that the browser widget is independent and stays on the card and is not stack wide. >> >> Does it automatically create the mobile version of itself when deployed on iOS or Android? Or do we need to fork and instantiate the mobile browser using the mobile methods? >> >> I'm on my way with 8... >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Feb 20 11:04:39 2016 From: mark at livecode.com (Mark Waddingham) Date: Sat, 20 Feb 2016 16:04:39 +0000 Subject: Web Browser in LC 8 In-Reply-To: References: Message-ID: The browser widget works on all platforms and should do so uniformly - any platform specific aspects will be marked in the dictionary as such in the usual way. So there is no need to do anything different for android or iOS - it should 'just work'. Mark Mark Sent from my iPhone > On 20 Feb 2016, at 15:28, Sannyasin Brahmanathaswami wrote: > > On February 20, 2016 at 2:40:56 AM, Trevor DeVore (lists at mangomultimedia.com) wrote: > You have to switch to the browse tool to see the contents of the browser. > Did you try that? > > > oh... duh... yes, that works :-) > > @ james... thanks for the encouragement, it seems wise at this stage to push to move on to 8...this project will take a few months, so getting in now is a good thing. "Use the drop down menu... dictionary" > > Silly thing was opening with the top of the dictionary underneath the menubar (I have a ticket in for the team to fix that...) > > after running manually "set the loc of stack "revDictionary" to the screenloc... I found the two menus: API | Guide > > Nice that the browser widget is independent and stays on the card and is not stack wide. > > Does it automatically create the mobile version of itself when deployed on iOS or Android? Or do we need to fork and instantiate the mobile browser using the mobile methods? > > I'm on my way with 8... > _______________________________________________ > use-livecode mailing list > use-livecode at 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 earthednet.org Sat Feb 20 11:50:42 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 20 Feb 2016 08:50:42 -0800 Subject: Finding UTC In-Reply-To: <4B219F36-EAC0-4E56-BE7E-4112AA147D57@mac.com> References: <4B219F36-EAC0-4E56-BE7E-4112AA147D57@mac.com> Message-ID: Graham, I have a little php script that returns GMT. I will post a demo stack on my server if you are interested. But it does sound like LC has this built in. However, it will need to go out to the internet if it is to eliminate its dependence on the user's computer. Bill William Prothero http://es.earthednet.org > On Feb 20, 2016, at 7:21 AM, Graham Samuel wrote: > > This may be obvious to somebody, but I am a newbie as regards LiveCode Server: > > In LCS, I can write a line of code that says something like > > put the time > > This will of course put the time as perceived by the server where in the world my copy of LCS happens to be hosted. Given that this is arbitrary from the point of view of a user of the server, it would be easier for me if I could show the time as UTC, or what us Brits used to call Greenwich Mean Time. > > Is there any way of doing this, either within the LC engine, or by querying the server parameters, assuming it to be running Apache? Or do I have to invoke a service like worldtimeserver.com ? > > TIA > > Graham > > PS: IMHO LiveCode Server should be called ?LiveCode Server Edition?, since the engine isn?t itself a server, it just **runs** on a server, AFAIKS. The idea of a server-within-a-server seems confusing to 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 brahma at hindu.org Sat Feb 20 13:49:28 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 20 Feb 2016 18:49:28 +0000 Subject: Web Browser in LC 8 In-Reply-To: References: Message-ID: On February 20, 2016 at 6:04:53 AM, Mark Waddingham (mark at livecode.com) wrote: So there is no need to do anything different for android or iOS - it should 'just work'. Mark Aloha, Mark Wow that's awesome, thanks for making that happen! From brahma at hindu.org Sat Feb 20 14:09:51 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 20 Feb 2016 19:09:51 +0000 Subject: Finding UTC In-Reply-To: References: <4B219F36-EAC0-4E56-BE7E-4112AA147D57@mac.com> Message-ID: On February 20, 2016 at 6:50:55 AM, Earthednet-wp (prothero at earthednet.org) wrote: This will of course put the time as perceived by the server where in the world my copy of LCS happens to be hosted. Given that this is arbitrary from the point of view of a user of the server, it would be easier for me if I could show the time as UTC, or what us Brits used to call Greenwich Mean Time. I may be missing thing, but unless your server is a nomad, it is always exactly X numbers away from UTC... sothen what is the issue? Forgive me if I'm stating the obvious and don't grasp your problem: UTC is UTC wherever you are. If I query for UTC in Hawaii, or California or London, we get the same value...So all you need is a small API script on the server to return UTC to you... and typically you have control over the time setting on your "box" so if you want the server to return UTC...you have to be sure (unix/linux) tzdata(cmd line app) is installed.. run that and you will be prompted to set your time zone. set "GST-0" and you are good to go. This assumes of course that's what you want...it may not be... I prefer, e.g. that the server return the time of the place where it lives (otherwise I get crazy confused)... this is, as you say, arbitrary, since we have users all over the planet in all time zones... but though I am in Hawaii, I like the server in California to be on California time... as this is how we think out here in the middle of the Pacific...CA is three hours ahead, Texas is 4, Chicago 5, NY 6 etc.. (depends on DLS) if I want my LCS on the server to return UTC, then I just add the offset to PST (+8) since he lives in Californai and is not moving around. https://codeghar.wordpress.com/2007/12/06/manage-time-in-ubuntu-through-command-line/https://en.wikipedia.org/wiki/List_of_UTC_time_offsets if you do not have control of the server box/instance then you only have the option to add the offset to GMT to the server time... a simple "add" in your script... Through the years, in my experience, default installations of web server OS's often have some odd time default, and you only discover this one day when you see weird time stamps.. so you have to go in and correct it. This is getting better with cloud computing, but in the old days the "instance" on a box was initiated by loading an image from a CD, and the service selling you the web services didn't even bother to check that the image had some wrong TZ for the location where it was being installed. BR From brahma at hindu.org Sat Feb 20 14:44:02 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 20 Feb 2016 19:44:02 +0000 Subject: Developing Stack/App with Multiple Orientation Requirements Message-ID: Use Case: Mobile app dev for Phones, where 1) the main app UI and navigation and "text reading" cards all are best done in portrait orientation 2) some of our web sites are not responsive and a) look horrible if viewed in portrait oriention on a small device b) do render reasonably in landscape orientation. 3) we will have some (many) edutainment modules (little games, graphic novelettes) etc. that will be designed for landscape 4) Video are best viewed landscape. Question is: How do you lock in and preview the changes in orientation during development in the IDE? Obviously you can set these in the Standalone settings to open in portrait but allow landscape. so the user flips and it changes But how do you emulate this in dev space on your PC? If If we are going from one card that is designs for portrait orientation to a card with content that must be viewed Landscape. I want the content to go landscape so that the user has no choice, but to turn his phone sideways. How do you handle that? You cannot take your Cinema display and flip it like you do a small device. Do we do something like (I'm ignoring the math necessary to get this to stay center... but to keep it simple for discussion purposes:) on preopencard set the width of this stack to of this card to 736 set the heightof this stack to of this card to 414 # iphone 6+ # change to landscape set the rect of widget "webBrowser" to 0,40,736,414 # assumes the browser widget is not dynamically responsive.... end preopencard then on returning to a portrait content card, we switch back on preopencard set the width of this stack to of this card to 414 set the height of this stack to of this card to 736 end preopencard Is this what you all do? I'm guessing someone has already figure out what are best practices here... can you share? BR From colinholgate at gmail.com Sat Feb 20 15:06:34 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 20 Feb 2016 15:06:34 -0500 Subject: knowing when a browser page has loaded Message-ID: <6816DD50-F484-427A-B3E6-2E06AD751789@gmail.com> In LiveCode 8, how can you tell when a browser page has fully loaded? I?ve tried browserDocumentCompleteFrame, browserDocumentComplete, and broswerFinishedLoading, none of them seem to fire. This is on Mac, so the last of those three probably shouldn?t work. Should the other two work? From littlejamesw at mac.com Sat Feb 20 15:49:19 2016 From: littlejamesw at mac.com (James Little) Date: Sat, 20 Feb 2016 12:49:19 -0800 Subject: knowing when a browser page has loaded In-Reply-To: <96F09792-C980-451F-AE30-674DD2742772@me.com> References: <6816DD50-F484-427A-B3E6-2E06AD751789@gmail.com> <96F09792-C980-451F-AE30-674DD2742772@me.com> Message-ID: <1BED8B67-DCC5-48E7-A032-10924ABDCB4A@mac.com> Try BrowserNavigateBegin pURL Turn on Message Watcher as you interact with the widget. Jim On Feb 20, 2016, at 12:47 PM, James Little wrote: > > Try BrowserNavigateBegin pURL > > Turn on Message Watcher as you interact with the widget. > > Jim > > > On Feb 20, 2016, at 12:06 PM, Colin Holgate wrote: > >> In LiveCode 8, how can you tell when a browser page has fully loaded? I?ve tried browserDocumentCompleteFrame, browserDocumentComplete, and broswerFinishedLoading, none of them seem to fire. >> >> This is on Mac, so the last of those three probably shouldn?t work. Should the other two work? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From colinholgate at gmail.com Sat Feb 20 15:57:57 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 20 Feb 2016 15:57:57 -0500 Subject: knowing when a browser page has loaded In-Reply-To: <1BED8B67-DCC5-48E7-A032-10924ABDCB4A@mac.com> References: <6816DD50-F484-427A-B3E6-2E06AD751789@gmail.com> <96F09792-C980-451F-AE30-674DD2742772@me.com> <1BED8B67-DCC5-48E7-A032-10924ABDCB4A@mac.com> Message-ID: <93FC47EC-4538-4AC4-B5C7-DE7A2D233676@gmail.com> Thanks, that one does work, but I need to know when the page is finished loading, and I?m setting the URL with code. At the time that BrowserNavigateBegin happens, the page is still blank. > On Feb 20, 2016, at 3:49 PM, James Little wrote: > > > Try BrowserNavigateBegin pURL > > Turn on Message Watcher as you interact with the widget. > > Jim > > > On Feb 20, 2016, at 12:47 PM, James Little wrote: > >> >> Try BrowserNavigateBegin pURL >> >> Turn on Message Watcher as you interact with the widget. >> >> Jim >> >> >> On Feb 20, 2016, at 12:06 PM, Colin Holgate wrote: >> >>> In LiveCode 8, how can you tell when a browser page has fully loaded? I?ve tried browserDocumentCompleteFrame, browserDocumentComplete, and broswerFinishedLoading, none of them seem to fire. >>> >>> This is on Mac, so the last of those three probably shouldn?t work. Should the other two work? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 earthednet.org Sat Feb 20 16:43:29 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 20 Feb 2016 13:43:29 -0800 Subject: Finding UTC In-Reply-To: References: <4B219F36-EAC0-4E56-BE7E-4112AA147D57@mac.com> Message-ID: <8C291A19-EA8D-477D-89B5-83D4CF1D4F67@earthednet.org> There is a php command that returns GMT. I assume that means that the hosting server knows what time zone it's in. I use liquidweb vps hosting. So,I don't have to worry about whether it is set up properly. I don't know if there are complications when you run your own server. Shouldn't be, though. Best, Bill William Prothero http://es.earthednet.org > On Feb 20, 2016, at 11:09 AM, Sannyasin Brahmanathaswami wrote: > > On February 20, 2016 at 6:50:55 AM, Earthednet-wp (prothero at earthednet.org) wrote: > This will of course put the time as perceived by the server where in the world my copy of LCS happens to be hosted. Given that this is arbitrary from the point of view of a user of the server, it would be easier for me if I could show the time as UTC, or what us Brits used to call Greenwich Mean Time. > > I may be missing thing, but unless your server is a nomad, it is always exactly X numbers away from UTC... sothen what is the issue? > > Forgive me if I'm stating the obvious and don't grasp your problem: > > UTC is UTC wherever you are. If I query for UTC in Hawaii, or California or London, we get the same value...So all you need is a small API script on the server to return UTC to you... and typically you have control over the time setting on your "box" so if you want the server to return UTC...you have to be sure (unix/linux) tzdata(cmd line app) is installed.. run that and you will be prompted to set your time zone. set "GST-0" and you are good to go. > > This assumes of course that's what you want...it may not be... I prefer, e.g. that the server return the time of the place where it lives (otherwise I get crazy confused)... this is, as you say, arbitrary, since we have users all over the planet in all time zones... but though I am in Hawaii, I like the server in California to be on California time... as this is how we think out here in the middle of the Pacific...CA is three hours ahead, Texas is 4, Chicago 5, NY 6 etc.. (depends on DLS) if I want my LCS on the server to return UTC, then I just add the offset to PST (+8) since he lives in Californai and is not moving around. > > https://codeghar.wordpress.com/2007/12/06/manage-time-in-ubuntu-through-command-line/https://en.wikipedia.org/wiki/List_of_UTC_time_offsets > > if you do not have control of the server box/instance then you only have the option to add the offset to GMT to the server time... a simple "add" in your script... Through the years, in my experience, default installations of web server OS's often have some odd time default, and you only discover this one day when you see weird time stamps.. so you have to go in and correct it. This is getting better with cloud computing, but in the old days the "instance" on a box was initiated by loading an image from a CD, and the service selling you the web services didn't even bother to check that the image had some wrong TZ for the location where it was being installed. > > 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 colinholgate at gmail.com Sat Feb 20 17:01:01 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 20 Feb 2016 17:01:01 -0500 Subject: put url into binfile failure Message-ID: I hopefully won?t be able to reproduce this, so I?m just mentioning it in case anyone else had seen the same thing. Was working on something for awhile today, that amongst other things saves a web based image to a local file. On these lines: put url "https://livecode.com/wp-content/uploads/2015/07/lclogo1.png" into url("binfile:test.png") Everything was going fine, but then I started to get zero byte sized files. At first I thought my scripts had gone wrong, but eventually I just tried things in the message box, and they failed there too. Restarting LiveCode 8.0 dp14 fixed the issue. From littlejamesw at mac.com Sat Feb 20 17:02:56 2016 From: littlejamesw at mac.com (James Little) Date: Sat, 20 Feb 2016 14:02:56 -0800 Subject: knowing when a browser page has loaded In-Reply-To: <93FC47EC-4538-4AC4-B5C7-DE7A2D233676@gmail.com> References: <6816DD50-F484-427A-B3E6-2E06AD751789@gmail.com> <96F09792-C980-451F-AE30-674DD2742772@me.com> <1BED8B67-DCC5-48E7-A032-10924ABDCB4A@mac.com> <93FC47EC-4538-4AC4-B5C7-DE7A2D233676@gmail.com> Message-ID: On Feb 20, 2016, at 12:57 PM, Colin Holgate wrote: > Thanks, that one does work, but I need to know when the page is finished loading, and I?m setting the URL with code. At the time that BrowserNavigateBegin happens, the page is still blank. > > >> On Feb 20, 2016, at 3:49 PM, James Little wrote: >> >> >> Try BrowserNavigateBegin pURL >> >> Turn on Message Watcher as you interact with the widget. >> >> Jim >> >> >> On Feb 20, 2016, at 12:47 PM, James Little wrote: >> >>> >>> Try BrowserNavigateBegin pURL >>> >>> Turn on Message Watcher as you interact with the widget. >>> >>> Jim >>> >>> >>> On Feb 20, 2016, at 12:06 PM, Colin Holgate wrote: >>> >>>> In LiveCode 8, how can you tell when a browser page has fully loaded? I?ve tried browserDocumentCompleteFrame, browserDocumentComplete, and broswerFinishedLoading, none of them seem to fire. >>>> >>>> This is on Mac, so the last of those three probably shouldn?t work. Should the other two work? >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From littlejamesw at mac.com Sat Feb 20 17:04:19 2016 From: littlejamesw at mac.com (James Little) Date: Sat, 20 Feb 2016 14:04:19 -0800 Subject: knowing when a browser page has loaded In-Reply-To: References: <6816DD50-F484-427A-B3E6-2E06AD751789@gmail.com> <96F09792-C980-451F-AE30-674DD2742772@me.com> <1BED8B67-DCC5-48E7-A032-10924ABDCB4A@mac.com> <93FC47EC-4538-4AC4-B5C7-DE7A2D233676@gmail.com> Message-ID: <2FC41E06-0C49-4A5F-9E87-FAFF1F2F28A7@mac.com> Hi Colin, From the Dictionary, under Browser, others are mentioned, though I?ve not tried them. BrowserDocumentLoad Complete pURL BrowserNavigateComplete pURL There?s also, among others: BrowserNavigateFailed pURL, pError BrowserDocumentLoadFailed pURL, pError Jim Little > > > On Feb 20, 2016, at 12:57 PM, Colin Holgate wrote: > >> Thanks, that one does work, but I need to know when the page is finished loading, and I?m setting the URL with code. At the time that BrowserNavigateBegin happens, the page is still blank. >> >> >>> On Feb 20, 2016, at 3:49 PM, James Little wrote: >>> >>> >>> Try BrowserNavigateBegin pURL >>> >>> Turn on Message Watcher as you interact with the widget. >>> >>> Jim >>> >>> >>> On Feb 20, 2016, at 12:47 PM, James Little wrote: >>> >>>> >>>> Try BrowserNavigateBegin pURL >>>> >>>> Turn on Message Watcher as you interact with the widget. >>>> >>>> Jim >>>> >>>> >>>> On Feb 20, 2016, at 12:06 PM, Colin Holgate wrote: >>>> >>>>> In LiveCode 8, how can you tell when a browser page has fully loaded? I?ve tried browserDocumentCompleteFrame, browserDocumentComplete, and broswerFinishedLoading, none of them seem to fire. >>>>> >>>>> This is on Mac, so the last of those three probably shouldn?t work. Should the other two work? >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Feb 20 17:21:22 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 20 Feb 2016 14:21:22 -0800 Subject: put url into binfile failure In-Reply-To: References: Message-ID: <56C8E6E2.5030103@ahsoftware.net> On 02/20/2016 02:01 PM, Colin Holgate wrote: > I hopefully won?t be able to reproduce this, so I?m just mentioning it in case anyone else had seen the same thing. > > Was working on something for awhile today, that amongst other things saves a web based image to a local file. On these lines: > put url "https://livecode.com/wp-content/uploads/2015/07/lclogo1.png" into url("binfile:test.png") > > Everything was going fine, but then I started to get zero byte sized files. At first I thought my scripts had gone wrong, but eventually I just tried things in the message box, and they failed there too. > > Restarting LiveCode 8.0 dp14 fixed the issue. Interesting. I'm sure it's just coincidence, but I've been dealing with a similar issue here... rename a stack, save it to a url, rename the stack again, and the saved stack on disk now has the new name. I think it's a cacheing problem, because restarting the IDE fixes it. -- Mark Wieder ahsoftware at gmail.com From colinholgate at gmail.com Sat Feb 20 17:59:25 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 20 Feb 2016 17:59:25 -0500 Subject: knowing when a browser page has loaded In-Reply-To: <2FC41E06-0C49-4A5F-9E87-FAFF1F2F28A7@mac.com> References: <6816DD50-F484-427A-B3E6-2E06AD751789@gmail.com> <96F09792-C980-451F-AE30-674DD2742772@me.com> <1BED8B67-DCC5-48E7-A032-10924ABDCB4A@mac.com> <93FC47EC-4538-4AC4-B5C7-DE7A2D233676@gmail.com> <2FC41E06-0C49-4A5F-9E87-FAFF1F2F28A7@mac.com> Message-ID: <538B7934-317D-414D-BFFC-AE4C4404833D@gmail.com> The BrowserDocumentLoadComplete one isn?t listed in any dictionaries. The BrowserNavigateComplete is after the navigation part is done, and the page starts to load. I need to know when it?s finished loading. > On Feb 20, 2016, at 5:04 PM, James Little wrote: > > Hi Colin, > > From the Dictionary, under Browser, others are mentioned, though I?ve not tried them. > > BrowserDocumentLoad Complete pURL > > BrowserNavigateComplete pURL > > There?s also, among others: > > BrowserNavigateFailed pURL, pError > > BrowserDocumentLoadFailed pURL, pError > > > Jim Little > >> >> >> On Feb 20, 2016, at 12:57 PM, Colin Holgate wrote: >> >>> Thanks, that one does work, but I need to know when the page is finished loading, and I?m setting the URL with code. At the time that BrowserNavigateBegin happens, the page is still blank. >>> >>> >>>> On Feb 20, 2016, at 3:49 PM, James Little wrote: >>>> >>>> >>>> Try BrowserNavigateBegin pURL >>>> >>>> Turn on Message Watcher as you interact with the widget. >>>> >>>> Jim >>>> >>>> >>>> On Feb 20, 2016, at 12:47 PM, James Little wrote: >>>> >>>>> >>>>> Try BrowserNavigateBegin pURL >>>>> >>>>> Turn on Message Watcher as you interact with the widget. >>>>> >>>>> Jim >>>>> >>>>> >>>>> On Feb 20, 2016, at 12:06 PM, Colin Holgate wrote: >>>>> >>>>>> In LiveCode 8, how can you tell when a browser page has fully loaded? I?ve tried browserDocumentCompleteFrame, browserDocumentComplete, and broswerFinishedLoading, none of them seem to fire. >>>>>> >>>>>> This is on Mac, so the last of those three probably shouldn?t work. Should the other two work? >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From littlejamesw at mac.com Sat Feb 20 18:10:53 2016 From: littlejamesw at mac.com (James Little) Date: Sat, 20 Feb 2016 15:10:53 -0800 Subject: knowing when a browser page has loaded In-Reply-To: <538B7934-317D-414D-BFFC-AE4C4404833D@gmail.com> References: <6816DD50-F484-427A-B3E6-2E06AD751789@gmail.com> <96F09792-C980-451F-AE30-674DD2742772@me.com> <1BED8B67-DCC5-48E7-A032-10924ABDCB4A@mac.com> <93FC47EC-4538-4AC4-B5C7-DE7A2D233676@gmail.com> <2FC41E06-0C49-4A5F-9E87-FAFF1F2F28A7@mac.com> <538B7934-317D-414D-BFFC-AE4C4404833D@gmail.com> Message-ID: <4AEA823C-4AB3-4EA8-9E14-84ADFAF85DE5@mac.com> Hi Colin, If the Dictionary for DP14 is set on ?API? and the drop down menu in the upper L corner is set on ?Browser?, I see as one of the choices: browserDocumentLoadComplete TypemessageSyntaxbrowserDocumentLoadComplete pUrl Associationscom.livecode.widget.browserSummarySent when a document has completed loading in the browser.Parameters Name Type Description pUrl string The URL of the loaded document. Description The browserDocumentLoadComplete message is sent to the widget's script object when a new document has completed loading in the browser. The pUrl parameter contains the URL of the loaded document. On Feb 20, 2016, at 2:59 PM, Colin Holgate wrote: > The BrowserDocumentLoadComplete one isn?t listed in any dictionaries. The BrowserNavigateComplete is after the navigation part is done, and the page starts to load. I need to know when it?s finished loading. > > Again, I have not tried this, so I don?t know for sure that it is working. JIm >> On Feb 20, 2016, at 5:04 PM, James Little wrote: >> >> Hi Colin, >> >> From the Dictionary, under Browser, others are mentioned, though I?ve not tried them. >> >> BrowserDocumentLoad Complete pURL >> >> BrowserNavigateComplete pURL >> >> There?s also, among others: >> >> BrowserNavigateFailed pURL, pError >> >> BrowserDocumentLoadFailed pURL, pError >> >> >> Jim Little >> >>> >>> >>> On Feb 20, 2016, at 12:57 PM, Colin Holgate wrote: >>> >>>> Thanks, that one does work, but I need to know when the page is finished loading, and I?m setting the URL with code. At the time that BrowserNavigateBegin happens, the page is still blank. >>>> >>>> >>>>> On Feb 20, 2016, at 3:49 PM, James Little wrote: >>>>> >>>>> >>>>> Try BrowserNavigateBegin pURL >>>>> >>>>> Turn on Message Watcher as you interact with the widget. >>>>> >>>>> Jim >>>>> >>>>> >>>>> On Feb 20, 2016, at 12:47 PM, James Little wrote: >>>>> >>>>>> >>>>>> Try BrowserNavigateBegin pURL >>>>>> >>>>>> Turn on Message Watcher as you interact with the widget. >>>>>> >>>>>> Jim >>>>>> >>>>>> >>>>>> On Feb 20, 2016, at 12:06 PM, Colin Holgate wrote: >>>>>> >>>>>>> In LiveCode 8, how can you tell when a browser page has fully loaded? I?ve tried browserDocumentCompleteFrame, browserDocumentComplete, and broswerFinishedLoading, none of them seem to fire. >>>>>>> >>>>>>> This is on Mac, so the last of those three probably shouldn?t work. Should the other two work? >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Feb 20 18:25:08 2016 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sun, 21 Feb 2016 08:25:08 +0900 Subject: Programmatically determine the average greyscale In-Reply-To: References: <612F6BC0-ED16-420E-A737-83D16BE942EB@livecode.org> Message-ID: <56C8F5D4.80201@tkf.att.ne.jp> Would it be better to do what we do in the video world? Put a black edge on the "Realm of Knowledge" text. Any video editor can do that, but you can fake a reasonable fascimile put using the text twice, in layers. Top layer is the text in white. Bottom layer in black. Shift the black text down and to the right a couple of pixels. Puts a black edge on the bottom-right of the white text. Improves readability. You can even blur the black text a bit to make the effect a bit more subtle. Tim Selander Tokyo, Japan On 2/20/16, 11:32, Sannyasin Brahmanathaswami wrote: > > HH You are right of course. one pixel was an expediency and certainly does not cover all cases. In fact it is a rather weak algorithm as you can see here: > > https://www.evernote.com/l/ABHZ6MzemNNJY6SXFJ3HTMb7afCnCElhYfE > > the text field crosses a blown out highlight (white hair) over to a dark background. > > in a case like this a midtone is usually all one can decide on. in this case > > 220,220,220 > > at > > 200,200,200 > > we start to hit the same level as the background. in this particular photo: > > https://www.evernote.com/l/ABFY-T8OCqNDYK4QOed3qr0G6GfqZUXWjEo > > For this particular context I'm actually happy with the "homeKey" field being subdued. > > but in other cases one wants a stronger presence > > https://www.evernote.com/l/ABE267idXlBHrY4Xs4ND27ziH1UjmGtU-eY > > Musings: > > A random algorithm also does not help us out either. > > In this "FlipBoard" model/copy-cat (which is what I'm aiming for in V1) image will be dynamically replaced on every return to the same card, not only per session, but even if the user just leaves the card and returns. > > "Only God will know for sure" what the luminance of the background will be under the field, because I'll be dynamically adding more and more images in the category over time... if we want to get really "manic" (your term ha!) we could write an analyzer to scan every pixel across the whole area underneath the field. but I worry this will take up so much CPU time, especially on Android that it will delay rendering the card. > > In print we often decide to put a background frame behind the type and change the opacity of the area to give some weight to the background, but on these small mobile spaces, that just adds more noise to the design > > I may settle finally on 200,200,200 for all and forget the attempt to analyze the background... though it was a very useful exercise and I have other context where I can and will use this new "skill" > > FlipBoard uses white and I guess they must have a staff of 50 people who curate every image and crop to make sure there is dark matter underneat their type... > > "not gonna happen here" > > BR > > On February 19, 2016 at 11:05:52 AM, [-hh] (hh at livecode.org(mailto:hh at livecode.org)) wrote: > >> BR, >> >> you do estimate the luminance of a 120x175 = 21000 px region >> on base of the evaluation of ONE single deterministic pixel? >> >> Accepted, of course, but then it may be better, from a >> probabilistic point of view, not to take "the" pixel (40,40) >> but *any* randomly chosen pixel of that region. >> >> You could do for that: >> >> set randomseed to (char -8 to -1 of the millisecs) >> put 19+random(120) into pX ; put 19+random(175) into pY > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Feb 20 18:31:52 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 20 Feb 2016 18:31:52 -0500 Subject: knowing when a browser page has loaded In-Reply-To: <4AEA823C-4AB3-4EA8-9E14-84ADFAF85DE5@mac.com> References: <6816DD50-F484-427A-B3E6-2E06AD751789@gmail.com> <96F09792-C980-451F-AE30-674DD2742772@me.com> <1BED8B67-DCC5-48E7-A032-10924ABDCB4A@mac.com> <93FC47EC-4538-4AC4-B5C7-DE7A2D233676@gmail.com> <2FC41E06-0C49-4A5F-9E87-FAFF1F2F28A7@mac.com> <538B7934-317D-414D-BFFC-AE4C4404833D@gmail.com> <4AEA823C-4AB3-4EA8-9E14-84ADFAF85DE5@mac.com> Message-ID: <8CF4FB49-5C68-4581-8CDC-E31D81DA8B07@gmail.com> Thanks, that looks better. It also says the message gets sent to the widget?s script, whereas the other help says messages get sent to the card. > On Feb 20, 2016, at 6:10 PM, James Little wrote: > > > Hi Colin, > > If the Dictionary for DP14 is set on ?API? and the drop down menu in the upper L corner is set on ?Browser?, I see as one of the choices: > > browserDocumentLoadComplete > > TypemessageSyntaxbrowserDocumentLoadComplete pUrl > Associationscom.livecode.widget.browserSummarySent when a document has completed loading in the browser.Parameters > Name Type Description > pUrl string > The URL of the loaded document. > Description > The browserDocumentLoadComplete message is sent to the widget's script object when a new document has completed loading in the browser. The pUrl parameter contains the URL of the loaded document. > > > > On Feb 20, 2016, at 2:59 PM, Colin Holgate wrote: > >> The BrowserDocumentLoadComplete one isn?t listed in any dictionaries. The BrowserNavigateComplete is after the navigation part is done, and the page starts to load. I need to know when it?s finished loading. >> >> > > > > > > > > > > Again, I have not tried this, so I don?t know for sure that it is working. > > JIm > > > > >>> On Feb 20, 2016, at 5:04 PM, James Little wrote: >>> >>> Hi Colin, >>> >>> From the Dictionary, under Browser, others are mentioned, though I?ve not tried them. >>> >>> BrowserDocumentLoad Complete pURL >>> >>> BrowserNavigateComplete pURL >>> >>> There?s also, among others: >>> >>> BrowserNavigateFailed pURL, pError >>> >>> BrowserDocumentLoadFailed pURL, pError >>> >>> >>> Jim Little >>> >>>> >>>> >>>> On Feb 20, 2016, at 12:57 PM, Colin Holgate wrote: >>>> >>>>> Thanks, that one does work, but I need to know when the page is finished loading, and I?m setting the URL with code. At the time that BrowserNavigateBegin happens, the page is still blank. >>>>> >>>>> >>>>>> On Feb 20, 2016, at 3:49 PM, James Little wrote: >>>>>> >>>>>> >>>>>> Try BrowserNavigateBegin pURL >>>>>> >>>>>> Turn on Message Watcher as you interact with the widget. >>>>>> >>>>>> Jim >>>>>> >>>>>> >>>>>> On Feb 20, 2016, at 12:47 PM, James Little wrote: >>>>>> >>>>>>> >>>>>>> Try BrowserNavigateBegin pURL >>>>>>> >>>>>>> Turn on Message Watcher as you interact with the widget. >>>>>>> >>>>>>> Jim >>>>>>> >>>>>>> >>>>>>> On Feb 20, 2016, at 12:06 PM, Colin Holgate wrote: >>>>>>> >>>>>>>> In LiveCode 8, how can you tell when a browser page has fully loaded? I?ve tried browserDocumentCompleteFrame, browserDocumentComplete, and broswerFinishedLoading, none of them seem to fire. >>>>>>>> >>>>>>>> This is on Mac, so the last of those three probably shouldn?t work. Should the other two work? >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Sat Feb 20 18:36:43 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 20 Feb 2016 15:36:43 -0800 Subject: Programmatically determine the average greyscale In-Reply-To: <56C8F5D4.80201@tkf.att.ne.jp> References: <612F6BC0-ED16-420E-A737-83D16BE942EB@livecode.org> <56C8F5D4.80201@tkf.att.ne.jp> Message-ID: A good suggestion. You can achieve the same effect in LC without duplicate objects by adding a dropshadow effect to the text that has a size of 0, an angle of 45, and a distance of 2 or 3 (maybe higher, depending on the size of the text). Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/20/16, 3:25 PM, "use-livecode on behalf of Tim Selander" wrote: >Would it be better to do what we do in the video world? Put a >black edge on the "Realm of Knowledge" text. Any video editor can >do that, but you can fake a reasonable fascimile put using the >text twice, in layers. Top layer is the text in white. Bottom >layer in black. Shift the black text down and to the right a >couple of pixels. Puts a black edge on the bottom-right of the >white text. Improves readability. You can even blur the black >text a bit to make the effect a bit more subtle. > >Tim Selander >Tokyo, Japan > >On 2/20/16, 11:32, Sannyasin Brahmanathaswami wrote: >> >> HH You are right of course. one pixel was an expediency and certainly >>does not cover all cases. In fact it is a rather weak algorithm as you >>can see here: >> >> https://www.evernote.com/l/ABHZ6MzemNNJY6SXFJ3HTMb7afCnCElhYfE >> >> the text field crosses a blown out highlight (white hair) over to a >>dark background. >> >> in a case like this a midtone is usually all one can decide on. in this >>case >> >> 220,220,220 >> >> at >> >> 200,200,200 >> >> we start to hit the same level as the background. in this particular >>photo: >> >> https://www.evernote.com/l/ABFY-T8OCqNDYK4QOed3qr0G6GfqZUXWjEo >> >> For this particular context I'm actually happy with the "homeKey" field >>being subdued. >> >> but in other cases one wants a stronger presence >> >> https://www.evernote.com/l/ABE267idXlBHrY4Xs4ND27ziH1UjmGtU-eY >> >> Musings: >> >> A random algorithm also does not help us out either. >> >> In this "FlipBoard" model/copy-cat (which is what I'm aiming for in V1) >>image will be dynamically replaced on every return to the same card, not >>only per session, but even if the user just leaves the card and returns. >> >> "Only God will know for sure" what the luminance of the background will >>be under the field, because I'll be dynamically adding more and more >>images in the category over time... if we want to get really "manic" >>(your term ha!) we could write an analyzer to scan every pixel across >>the whole area underneath the field. but I worry this will take up so >>much CPU time, especially on Android that it will delay rendering the >>card. >> >> In print we often decide to put a background frame behind the type and >>change the opacity of the area to give some weight to the background, >>but on these small mobile spaces, that just adds more noise to the design >> >> I may settle finally on 200,200,200 for all and forget the attempt to >>analyze the background... though it was a very useful exercise and I >>have other context where I can and will use this new "skill" >> >> FlipBoard uses white and I guess they must have a staff of 50 people >>who curate every image and crop to make sure there is dark matter >>underneat their type... >> >> "not gonna happen here" >> >> BR >> >> On February 19, 2016 at 11:05:52 AM, [-hh] >>(hh at livecode.org(mailto:hh at livecode.org)) wrote: >> >>> BR, >>> >>> you do estimate the luminance of a 120x175 = 21000 px region >>> on base of the evaluation of ONE single deterministic pixel? >>> >>> Accepted, of course, but then it may be better, from a >>> probabilistic point of view, not to take "the" pixel (40,40) >>> but *any* randomly chosen pixel of that region. >>> >>> You could do for that: >>> >>> set randomseed to (char -8 to -1 of the millisecs) >>> put 19+random(120) into pX ; put 19+random(175) into pY >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Feb 20 18:41:34 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 20 Feb 2016 17:41:34 -0600 Subject: Programmatically determine the average greyscale In-Reply-To: <56C8F5D4.80201@tkf.att.ne.jp> References: <612F6BC0-ED16-420E-A737-83D16BE942EB@livecode.org> <56C8F5D4.80201@tkf.att.ne.jp> Message-ID: <153010f4fb0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I like that idea. You can do the same thing in one go by applying a shadow graphic effect to text in a transparent field. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 20, 2016 5:27:09 PM Tim Selander wrote: > Would it be better to do what we do in the video world? Put a > black edge on the "Realm of Knowledge" text. Any video editor can > do that, but you can fake a reasonable fascimile put using the > text twice, in layers. Top layer is the text in white. Bottom > layer in black. Shift the black text down and to the right a > couple of pixels. Puts a black edge on the bottom-right of the > white text. Improves readability. You can even blur the black > text a bit to make the effect a bit more subtle. > > Tim Selander > Tokyo, Japan > > On 2/20/16, 11:32, Sannyasin Brahmanathaswami wrote: >> >> HH You are right of course. one pixel was an expediency and certainly does >> not cover all cases. In fact it is a rather weak algorithm as you can see here: >> >> https://www.evernote.com/l/ABHZ6MzemNNJY6SXFJ3HTMb7afCnCElhYfE >> >> the text field crosses a blown out highlight (white hair) over to a dark >> background. >> >> in a case like this a midtone is usually all one can decide on. in this case >> >> 220,220,220 >> >> at >> >> 200,200,200 >> >> we start to hit the same level as the background. in this particular photo: >> >> https://www.evernote.com/l/ABFY-T8OCqNDYK4QOed3qr0G6GfqZUXWjEo >> >> For this particular context I'm actually happy with the "homeKey" field >> being subdued. >> >> but in other cases one wants a stronger presence >> >> https://www.evernote.com/l/ABE267idXlBHrY4Xs4ND27ziH1UjmGtU-eY >> >> Musings: >> >> A random algorithm also does not help us out either. >> >> In this "FlipBoard" model/copy-cat (which is what I'm aiming for in V1) >> image will be dynamically replaced on every return to the same card, not >> only per session, but even if the user just leaves the card and returns. >> >> "Only God will know for sure" what the luminance of the background will be >> under the field, because I'll be dynamically adding more and more images in >> the category over time... if we want to get really "manic" (your term ha!) >> we could write an analyzer to scan every pixel across the whole area >> underneath the field. but I worry this will take up so much CPU time, >> especially on Android that it will delay rendering the card. >> >> In print we often decide to put a background frame behind the type and >> change the opacity of the area to give some weight to the background, but >> on these small mobile spaces, that just adds more noise to the design >> >> I may settle finally on 200,200,200 for all and forget the attempt to >> analyze the background... though it was a very useful exercise and I have >> other context where I can and will use this new "skill" >> >> FlipBoard uses white and I guess they must have a staff of 50 people who >> curate every image and crop to make sure there is dark matter underneat >> their type... >> >> "not gonna happen here" >> >> BR >> >> On February 19, 2016 at 11:05:52 AM, [-hh] >> (hh at livecode.org(mailto:hh at livecode.org)) wrote: >> >>> BR, >>> >>> you do estimate the luminance of a 120x175 = 21000 px region >>> on base of the evaluation of ONE single deterministic pixel? >>> >>> Accepted, of course, but then it may be better, from a >>> probabilistic point of view, not to take "the" pixel (40,40) >>> but *any* randomly chosen pixel of that region. >>> >>> You could do for that: >>> >>> set randomseed to (char -8 to -1 of the millisecs) >>> put 19+random(120) into pX ; put 19+random(175) into pY >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Feb 20 18:43:04 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 20 Feb 2016 17:43:04 -0600 Subject: Programmatically determine the average greyscale In-Reply-To: References: <612F6BC0-ED16-420E-A737-83D16BE942EB@livecode.org> <56C8F5D4.80201@tkf.att.ne.jp> Message-ID: <1530110af40.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Should have known you'd answer first. :-) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 20, 2016 5:38:30 PM Scott Rossi wrote: > A good suggestion. You can achieve the same effect in LC without > duplicate objects by adding a dropshadow effect to the text that has a > size of 0, an angle of 45, and a distance of 2 or 3 (maybe higher, > depending on the size of the text). > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/20/16, 3:25 PM, "use-livecode on behalf of Tim Selander" > selander at tkf.att.ne.jp> wrote: > >>Would it be better to do what we do in the video world? Put a >>black edge on the "Realm of Knowledge" text. Any video editor can >>do that, but you can fake a reasonable fascimile put using the >>text twice, in layers. Top layer is the text in white. Bottom >>layer in black. Shift the black text down and to the right a >>couple of pixels. Puts a black edge on the bottom-right of the >>white text. Improves readability. You can even blur the black >>text a bit to make the effect a bit more subtle. >> >>Tim Selander >>Tokyo, Japan >> >>On 2/20/16, 11:32, Sannyasin Brahmanathaswami wrote: >>> >>> HH You are right of course. one pixel was an expediency and certainly >>>does not cover all cases. In fact it is a rather weak algorithm as you >>>can see here: >>> >>> https://www.evernote.com/l/ABHZ6MzemNNJY6SXFJ3HTMb7afCnCElhYfE >>> >>> the text field crosses a blown out highlight (white hair) over to a >>>dark background. >>> >>> in a case like this a midtone is usually all one can decide on. in this >>>case >>> >>> 220,220,220 >>> >>> at >>> >>> 200,200,200 >>> >>> we start to hit the same level as the background. in this particular >>>photo: >>> >>> https://www.evernote.com/l/ABFY-T8OCqNDYK4QOed3qr0G6GfqZUXWjEo >>> >>> For this particular context I'm actually happy with the "homeKey" field >>>being subdued. >>> >>> but in other cases one wants a stronger presence >>> >>> https://www.evernote.com/l/ABE267idXlBHrY4Xs4ND27ziH1UjmGtU-eY >>> >>> Musings: >>> >>> A random algorithm also does not help us out either. >>> >>> In this "FlipBoard" model/copy-cat (which is what I'm aiming for in V1) >>>image will be dynamically replaced on every return to the same card, not >>>only per session, but even if the user just leaves the card and returns. >>> >>> "Only God will know for sure" what the luminance of the background will >>>be under the field, because I'll be dynamically adding more and more >>>images in the category over time... if we want to get really "manic" >>>(your term ha!) we could write an analyzer to scan every pixel across >>>the whole area underneath the field. but I worry this will take up so >>>much CPU time, especially on Android that it will delay rendering the >>>card. >>> >>> In print we often decide to put a background frame behind the type and >>>change the opacity of the area to give some weight to the background, >>>but on these small mobile spaces, that just adds more noise to the design >>> >>> I may settle finally on 200,200,200 for all and forget the attempt to >>>analyze the background... though it was a very useful exercise and I >>>have other context where I can and will use this new "skill" >>> >>> FlipBoard uses white and I guess they must have a staff of 50 people >>>who curate every image and crop to make sure there is dark matter >>>underneat their type... >>> >>> "not gonna happen here" >>> >>> BR >>> >>> On February 19, 2016 at 11:05:52 AM, [-hh] >>>(hh at livecode.org(mailto:hh at livecode.org)) wrote: >>> >>>> BR, >>>> >>>> you do estimate the luminance of a 120x175 = 21000 px region >>>> on base of the evaluation of ONE single deterministic pixel? >>>> >>>> Accepted, of course, but then it may be better, from a >>>> probabilistic point of view, not to take "the" pixel (40,40) >>>> but *any* randomly chosen pixel of that region. >>>> >>>> You could do for that: >>>> >>>> set randomseed to (char -8 to -1 of the millisecs) >>>> put 19+random(120) into pX ; put 19+random(175) into pY >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>>subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >>_______________________________________________ >>use-livecode mailing list >>use-livecode at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sat Feb 20 18:49:43 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 20 Feb 2016 15:49:43 -0800 Subject: Programmatically determine the average greyscale In-Reply-To: <1530110af40.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <612F6BC0-ED16-420E-A737-83D16BE942EB@livecode.org> <56C8F5D4.80201@tkf.att.ne.jp> <1530110af40.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <56C8FB97.90707@ahsoftware.net> On 02/20/2016 03:43 PM, J. Landman Gay wrote: > Should have known you'd answer first. :-) Missed it by *that* much... -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sat Feb 20 18:51:12 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 20 Feb 2016 15:51:12 -0800 Subject: Programmatically determine the average greyscale In-Reply-To: <56C8F5D4.80201@tkf.att.ne.jp> References: <612F6BC0-ED16-420E-A737-83D16BE942EB@livecode.org> <56C8F5D4.80201@tkf.att.ne.jp> Message-ID: <56C8FBF0.8050001@ahsoftware.net> On 02/20/2016 03:25 PM, Tim Selander wrote: > Would it be better to do what we do in the video world? Put a black edge > on the "Realm of Knowledge" text. Any video editor can do that, but you > can fake a reasonable fascimile put using the text twice, in layers. Top > layer is the text in white. Bottom layer in black. Shift the black text > down and to the right a couple of pixels. Puts a black edge on the > bottom-right of the white text. Improves readability. You can even blur > the black text a bit to make the effect a bit more subtle. I've always liked movie subtitles that did that. It ensures readability over any combination of backgrounds. -- Mark Wieder ahsoftware at gmail.com From scott at tactilemedia.com Sat Feb 20 19:01:03 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 20 Feb 2016 16:01:03 -0800 Subject: Programmatically determine the average greyscale In-Reply-To: <1530110af40.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <612F6BC0-ED16-420E-A737-83D16BE942EB@livecode.org> <56C8F5D4.80201@tkf.att.ne.jp> <1530110af40.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Should have known you'd answer the same answer :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/20/16, 3:43 PM, "use-livecode on behalf of J. Landman Gay" wrote: >Should have known you'd answer first. :-) > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com > > > >On February 20, 2016 5:38:30 PM Scott Rossi >wrote: > >> A good suggestion. You can achieve the same effect in LC without >> duplicate objects by adding a dropshadow effect to the text that has a >> size of 0, an angle of 45, and a distance of 2 or 3 (maybe higher, >> depending on the size of the text). >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 2/20/16, 3:25 PM, "use-livecode on behalf of Tim Selander" >> > selander at tkf.att.ne.jp> wrote: >> >>>Would it be better to do what we do in the video world? Put a >>>black edge on the "Realm of Knowledge" text. Any video editor can >>>do that, but you can fake a reasonable fascimile put using the >>>text twice, in layers. Top layer is the text in white. Bottom >>>layer in black. Shift the black text down and to the right a >>>couple of pixels. Puts a black edge on the bottom-right of the >>>white text. Improves readability. You can even blur the black >>>text a bit to make the effect a bit more subtle. >>> >>>Tim Selander >>>Tokyo, Japan >>> >>>On 2/20/16, 11:32, Sannyasin Brahmanathaswami wrote: >>>> >>>> HH You are right of course. one pixel was an expediency and certainly >>>>does not cover all cases. In fact it is a rather weak algorithm as you >>>>can see here: >>>> >>>> https://www.evernote.com/l/ABHZ6MzemNNJY6SXFJ3HTMb7afCnCElhYfE >>>> >>>> the text field crosses a blown out highlight (white hair) over to a >>>>dark background. >>>> >>>> in a case like this a midtone is usually all one can decide on. in >>>>this >>>>case >>>> >>>> 220,220,220 >>>> >>>> at >>>> >>>> 200,200,200 >>>> >>>> we start to hit the same level as the background. in this particular >>>>photo: >>>> >>>> https://www.evernote.com/l/ABFY-T8OCqNDYK4QOed3qr0G6GfqZUXWjEo >>>> >>>> For this particular context I'm actually happy with the "homeKey" >>>>field >>>>being subdued. >>>> >>>> but in other cases one wants a stronger presence >>>> >>>> https://www.evernote.com/l/ABE267idXlBHrY4Xs4ND27ziH1UjmGtU-eY >>>> >>>> Musings: >>>> >>>> A random algorithm also does not help us out either. >>>> >>>> In this "FlipBoard" model/copy-cat (which is what I'm aiming for in >>>>V1) >>>>image will be dynamically replaced on every return to the same card, >>>>not >>>>only per session, but even if the user just leaves the card and >>>>returns. >>>> >>>> "Only God will know for sure" what the luminance of the background >>>>will >>>>be under the field, because I'll be dynamically adding more and more >>>>images in the category over time... if we want to get really "manic" >>>>(your term ha!) we could write an analyzer to scan every pixel across >>>>the whole area underneath the field. but I worry this will take up so >>>>much CPU time, especially on Android that it will delay rendering the >>>>card. >>>> >>>> In print we often decide to put a background frame behind the type and >>>>change the opacity of the area to give some weight to the background, >>>>but on these small mobile spaces, that just adds more noise to the >>>>design >>>> >>>> I may settle finally on 200,200,200 for all and forget the attempt to >>>>analyze the background... though it was a very useful exercise and I >>>>have other context where I can and will use this new "skill" >>>> >>>> FlipBoard uses white and I guess they must have a staff of 50 people >>>>who curate every image and crop to make sure there is dark matter >>>>underneat their type... >>>> >>>> "not gonna happen here" >>>> >>>> BR >>>> >>>> On February 19, 2016 at 11:05:52 AM, [-hh] >>>>(hh at livecode.org(mailto:hh at livecode.org)) wrote: >>>> >>>>> BR, >>>>> >>>>> you do estimate the luminance of a 120x175 = 21000 px region >>>>> on base of the evaluation of ONE single deterministic pixel? >>>>> >>>>> Accepted, of course, but then it may be better, from a >>>>> probabilistic point of view, not to take "the" pixel (40,40) >>>>> but *any* randomly chosen pixel of that region. >>>>> >>>>> You could do for that: >>>>> >>>>> set randomseed to (char -8 to -1 of the millisecs) >>>>> put 19+random(120) into pX ; put 19+random(175) into pY >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>>subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>>_______________________________________________ >>>use-livecode mailing list >>>use-livecode at lists.runrev.com >>>Please visit this url to subscribe, unsubscribe and manage your >>>subscription preferences: >>>http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Sat Feb 20 19:26:45 2016 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 21 Feb 2016 00:26:45 +0000 Subject: How do I enable scrolling of a group ? Message-ID: <56C90445.5000606@tweedly.net> Specifically, I want a group to scroll in response to a two-fingered touch/swipe (on OSX). For a field, I can scroll it provided the field is enabled, even if the text is locked, .... But a group doesn't respond - even if enabled. I'm hoping there is some other property I need to set .... Thanks Alex. From scott at tactilemedia.com Sat Feb 20 20:40:02 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 20 Feb 2016 17:40:02 -0800 Subject: How do I enable scrolling of a group ? In-Reply-To: <56C90445.5000606@tweedly.net> References: <56C90445.5000606@tweedly.net> Message-ID: Not sure about touch specifically, but as long as the rect of the group's contents exceeds the rect of the group, the group should be scrollable. Or, set the unboundedVScroll of the group to true, but you'll have to impose some limits there. Quick and dirty script for single click/drag: local allowDrag, clickY on mouseEnter put false into allowDrag end mouseEnter on mouseDown put mouseV() - top of me + vScroll of me into clickY put true into allowDrag end mouseDown on mouseMove X,Y if not allowDrag then exit mouseMove set vScroll of me to top of me + (clickY - Y) end mouseMove on mouseUp put false into allowDrag end mouseUp on mouseRelease put false into allowDrag end mouseRelease Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/20/16, 4:26 PM, "use-livecode on behalf of Alex Tweedly" wrote: >Specifically, I want a group to scroll in response to a two-fingered >touch/swipe (on OSX). > >For a field, I can scroll it provided the field is enabled, even if the >text is locked, .... >But a group doesn't respond - even if enabled. > >I'm hoping there is some other property I need to set .... > >Thanks >Alex. > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Feb 20 20:49:01 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 20 Feb 2016 19:49:01 -0600 Subject: Programmatically determine the average greyscale In-Reply-To: <56C8FB97.90707@ahsoftware.net> References: <612F6BC0-ED16-420E-A737-83D16BE942EB@livecode.org> <56C8F5D4.80201@tkf.att.ne.jp> <1530110af40.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <56C8FB97.90707@ahsoftware.net> Message-ID: <56C9178D.9080407@hyperactivesw.com> On 2/20/2016 5:49 PM, Mark Wieder wrote: > On 02/20/2016 03:43 PM, J. Landman Gay wrote: >> Should have known you'd answer first. :-) > > Missed it by *that* much... > Would have made it too, if someone hadn't been messing around with the calibration on my time warp stack. You know how those artsy types are, always trying to make things look and work better, not that I'm mentioning any names, mind you, could have been anyone. And don't go thinking I read the answer and tried to go back and post it or anything either, because I couldn't 'cause the calibration was off 'cause someone was messing with it. Just sayin'. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at livecode.org Sat Feb 20 21:13:43 2016 From: hh at livecode.org (-hh) Date: Sun, 21 Feb 2016 03:13:43 +0100 Subject: Programmatically determine the average greyscale Message-ID: <4D9F2B07-BA15-433E-9462-EABD94470A31@livecode.org> BR uses or wants to use button labels. Where then do you apply this effect? To a button label? From brahma at hindu.org Sat Feb 20 21:58:56 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 21 Feb 2016 02:58:56 +0000 Subject: Trouble with LiveCode Server on Ubuntu In-Reply-To: References: <56C79B3D.3090703@fourthworld.com> Message-ID: ? On February 19, 2016 at 5:46:15 PM, Mike Bonner (bonnmike at gmail.com(mailto:bonnmike at gmail.com)) wrote: > On Fri, Feb 19, 2016 at 8:44 PM(http://airmail.calendar/2016-02-19%2020:44:00%20HST), Mike Bonner wrote: > > try apt-get install libxext6 Mike... Awesome.. that worked! Yay? % root at hinduismtoday:~# apt-get install libxext6 Reading package lists... Done [SNIP] root at hinduismtoday:/home/htoday/cgi-bin# ./echo.lc Hello, Livecode Server is Up and Running root at hinduismtoday:/home/htoday/cgi-bin#? and from public_html http://www.hinduismtoday.com/echo.lc Thank you! From brahma at hindu.org Sat Feb 20 22:38:27 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 21 Feb 2016 03:38:27 +0000 Subject: Modifying revErrorReport In-Reply-To: <1453651738927-4700386.post@n4.nabble.com> References: <1453592531142-4700383.post@n4.nabble.com> <977A1332-A825-47D4-91BA-92E5864AFE30@earthednet.org> <1453651738927-4700386.post@n4.nabble.com> Message-ID: And there is this; sendGrid https://sendgrid.com/pricing if you can afford it. API's on the server as as simple as ) wrote: Hi Bill. Yes, I'd really like to see your tutorial on that approach. Thanks! Tom From brahma at hindu.org Sat Feb 20 22:51:01 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 21 Feb 2016 03:51:01 +0000 Subject: LC 8 dp 14 Browser Widget not "obeying" position instructions Message-ID: ? working in LC 8 DP 14 now... See my other thread appropo and app archtecture requiring changing from portrait to landscape and back again as we move through the stack/cards -- in the absence of any "best practices" I'm hacking this from ground zero set custom prop for each card: uOrientation | Portrait #or uOrientation | Landscape # Stack Script: ###### Orientation Change Ups on setOrientation if the uOrientation of this card is "Landscape" then set the width of this stack to 736 set the height of this stack to 414 else set the width of this stack to 414 set the height of this stack to 736 end if end setOrientation CARD: webBrowserLandscape objects:? 1 webBrowser Widget "sivaBrowser" set to 0,20,736,414, location locked 1 field "emulator" set to 0,20,736,414 Card Script: on preopencard ? ?setOrientation end preopencard on resizeStack x,y ? ?set the top of fld ?"emulater" to 20 ? ?set the top of widget "sivaBrowser" to 20 end resizeStack Result: fld Emulater appears in the correct location after the resizeSTack finishes and unlocks the screen widget is stuck way down the card and does not move. I've tried various methods, but the clincher is that even in running this in the message box ?set the top of widget "sivaBrowser" to 20 the widget is unresponsive BUT, if I click out to the pointer tool the widget suddenly a) loses the html of the page it is on and b) jumps into the proper position. I think this is a bug. Can anyone confirm. From hh at livecode.org Sat Feb 20 22:52:39 2016 From: hh at livecode.org (-hh) Date: Sun, 21 Feb 2016 04:52:39 +0100 Subject: How do I enable scrolling of a group ? Message-ID: <3BE28505-C8DC-427E-958F-5440297B066C@livecode.org> This is essentially the same technique that Scott R. suggested. New is the MOVE-TO-SCROLL-FACTOR, in case you prefer that. ** The scroll respects here the group's relative to card's size. ** ** Thus scrolling becomes "parallel" to the mouseMove distances. ** For example if you move your fingers/the mouse from (20,70) to (50,30) then the hscroll of the the group changes by +30 and the vscroll of the the group changes by -40. Of course you may moreover scale these factors (fw0, fh0 below) to your needs, for example to an increase for a large display. -- In group's script. -- Here given for hscroll and vscroll, mostly I use only one of both. -- Also I give it for mouseMove, you change this to your need -- (touchMove ...) better than I do. local d0=false, x0=0, y0=0, h0=0, w0=0, fh0=1, fw0=1 on mouseEnter; put false into d0; end mouseEnter on mouseUp; put false into d0; end mouseUp on mouseRelease; put false into d0; end mouseRelease on mouseMove x,y if not d0 then exit mouseMove set hscroll of me to w0+fw0*(x-x0) set vscroll of me to h0+fh0*(y-y0) end mouseMove on mouseDown put (the height of this card) div (the height of me) into fh0 put (the width of this card) div (the width of me) into fw0 put true into d0; put the clickV into y0; put the clickH into x0 put the vscroll of me into h0 ; put the hscroll of me into w0 end mouseDown I also have sometimes, in order to have a 'static' scrollbar size, a transparent (for example by using ink 'noop") object, may also be disabled, of card's (half) size in the group. From jacque at hyperactivesw.com Sat Feb 20 22:57:17 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 20 Feb 2016 21:57:17 -0600 Subject: Programmatically determine the average greyscale In-Reply-To: <4D9F2B07-BA15-433E-9462-EABD94470A31@livecode.org> References: <4D9F2B07-BA15-433E-9462-EABD94470A31@livecode.org> Message-ID: <56C9359D.2050900@hyperactivesw.com> On 2/20/2016 8:13 PM, [-hh] wrote: > BR uses or wants to use button labels. > Where then do you apply this effect? To a button label? Shadows work on button names/labels the same as they do for fields if the button is transparent. The shadow affects only the text. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at livecode.org Sun Feb 21 00:20:12 2016 From: hh at livecode.org (-hh) Date: Sun, 21 Feb 2016 06:20:12 +0100 Subject: Programmatically determine the average greyscale Message-ID: <2F08C705-2599-4639-BB9B-5BE9E05CFA50@livecode.org> > > hh wrote: > > BR uses or wants to use button labels. > > Where then do you apply this effect? To a button label? > > jacque wrote: > Shadows work on button names/labels the same as they do for fields > if the button is transparent. The shadow affects only the text. He uses images as backpattern. For text the label. How to manage that with a transparent button and dropshadow? If he uses a textfield instead of labels, yes, then the described dropshadow setting is a *very* nifty solution. I already added this to my main personal "library" (who shall be cited as 'author'?) hh From jacque at hyperactivesw.com Sun Feb 21 01:14:56 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 21 Feb 2016 00:14:56 -0600 Subject: Programmatically determine the average greyscale In-Reply-To: <2F08C705-2599-4639-BB9B-5BE9E05CFA50@livecode.org> References: <2F08C705-2599-4639-BB9B-5BE9E05CFA50@livecode.org> Message-ID: <15302777300.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On February 20, 2016 11:22:19 PM "[-hh]" wrote: >> > hh wrote: >> > BR uses or wants to use button labels. >> > Where then do you apply this effect? To a button label? >> >> jacque wrote: >> Shadows work on button names/labels the same as they do for fields >> if the button is transparent. The shadow affects only the text. > > He uses images as backpattern. For text the label. > How to manage that with a transparent button and dropshadow? Oh right, I'd forgotten about that. He'd need to use groups with an image and a field. > > If he uses a textfield instead of labels, yes, then the described > dropshadow setting is a *very* nifty solution. I already added this > to my main personal "library" (who shall be cited as 'author'?) The settings Scott suggested are his work. Using a shadow effect is just a feature of LiveCode like inks or blendlevel, so no attribution is really necessary. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Sun Feb 21 08:32:49 2016 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 21 Feb 2016 13:32:49 +0000 Subject: How do I enable scrolling of a group ? In-Reply-To: <3BE28505-C8DC-427E-958F-5440297B066C@livecode.org> References: <3BE28505-C8DC-427E-958F-5440297B066C@livecode.org> Message-ID: <56C9BC81.3070209@tweedly.net> Thanks to you , and Scott R. However, I guess I need to explain myself better .... :-) If I have a field which - is enabled - has a formatted size that exceeds the actual size - has scroollbars enabled THEN - the field will respond to the user scrolling (in this case by using two finger touch on the trackpad of a Macbook) and swiping / moving their fingers. No script needed - it just responds the way a user would expect; it's the default behaviour /operation for a field. I would *expect* that a group which meets similar criteria would respond similarly - i.e. without any scripting. In the Message watcher, when positioned over a field, I see rawKeyDown, cRevGeneral and scrollbarDrag events But when positioned over a group - only the rawKeyDown events fire. So - am I just over-optimistic, and it is expected that any group scrolling is not handled by default ? Or do I need to process rawKeyDowns (as for a mouse scroll wheel) and do my own scrolling ? (Hmmm - just typing this message makes me convinced the answer is that I do my own scrolling in response to rawkeydowns. So thanks for letting me think out loud - but do correct me if I'm wrong :-) -- Alex. On 21/02/2016 03:52, [-hh] wrote: > This is essentially the same technique that Scott R. suggested. > New is the MOVE-TO-SCROLL-FACTOR, in case you prefer that. > > ** The scroll respects here the group's relative to card's size. ** > ** Thus scrolling becomes "parallel" to the mouseMove distances. ** > For example if you move your fingers/the mouse from (20,70) to (50,30) > then the hscroll of the the group changes by +30 > and the vscroll of the the group changes by -40. > Of course you may moreover scale these factors (fw0, fh0 below) to > your needs, for example to an increase for a large display. > > -- In group's script. > -- Here given for hscroll and vscroll, mostly I use only one of both. > -- Also I give it for mouseMove, you change this to your need > -- (touchMove ...) better than I do. > > local d0=false, x0=0, y0=0, h0=0, w0=0, fh0=1, fw0=1 > > on mouseEnter; put false into d0; end mouseEnter > on mouseUp; put false into d0; end mouseUp > on mouseRelease; put false into d0; end mouseRelease > > on mouseMove x,y > if not d0 then exit mouseMove > set hscroll of me to w0+fw0*(x-x0) > set vscroll of me to h0+fh0*(y-y0) > end mouseMove > > on mouseDown > put (the height of this card) div (the height of me) into fh0 > put (the width of this card) div (the width of me) into fw0 > put true into d0; put the clickV into y0; put the clickH into x0 > put the vscroll of me into h0 ; put the hscroll of me into w0 > end mouseDown > > I also have sometimes, in order to have a 'static' scrollbar size, > a transparent (for example by using ink 'noop") object, may also be > disabled, of card's (half) size in the group. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 livecode.org Sun Feb 21 09:21:31 2016 From: hh at livecode.org (-hh) Date: Sun, 21 Feb 2016 15:21:31 +0100 Subject: How do I enable scrolling of a group ? Message-ID: <143447ED-D5C7-43BD-9C60-854489325484@livecode.org> Alex, sorry, I know from your posts which I read long before writing to this list that you don't need help for the scrolling per se. I just wanted to add my MOVE-TO-SCROLL-FACTOR as a whole. inside of a working script. I don't like to scroll with 5 long moves until the targeted loc is reached and may be I'll use your app. :-) The point with the scrolling is probably given in the dictionary entry to "scrollbarDrag": "Sent to a field, scrollbar, or group when the user drags the scrollbar thumb **or when a text selection causes a field to scroll**" The "or-part" may be the explanation why scrolling works with the text field and not with the group. Without 'autohilite' a textfield may also not scroll. **** "Doing Touch scroll by rawkeyDown" **** will be interesting for a lot of readers. Would be great if you share your solution with a script snippet at the end of this thread ... Hermann From scott at tactilemedia.com Sun Feb 21 12:08:38 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 21 Feb 2016 09:08:38 -0800 Subject: How do I enable scrolling of a group ? In-Reply-To: <56C9BC81.3070209@tweedly.net> References: <3BE28505-C8DC-427E-958F-5440297B066C@livecode.org> <56C9BC81.3070209@tweedly.net> Message-ID: <8C37FB2B-AB9E-40B5-99AC-964A056E7107@tactilemedia.com> Ok, reading your description, I've seen what you're talking about in browsers on iOS -- you can use two finger touch to scroll a text region independently of a web page. And I believe this works because the control is essentially a field, which is known to the browser to be scrollable, unlike groups in LC which Safari knows nothing about. So my guess would be like your comment, to use rawKeyDown or similar to enable scrolling. If you haven't already, you could try enabling scrollbars on the group as a test, and see if that enables scrolling, but my guess is a control being a text-containing-field is what tells the OS that the control can be scrolled. Regards, Scott Rossi Creative Director Tactile Media UX/UI Design > On Feb 21, 2016, at 5:32 AM, Alex Tweedly wrote: > > Thanks to you , and Scott R. > > However, I guess I need to explain myself better .... :-) > > If I have a field which > - is enabled > - has a formatted size that exceeds the actual size > - has scroollbars enabled > THEN - the field will respond to the user scrolling (in this case by using two finger touch on the trackpad of a Macbook) and swiping / moving their fingers. > > No script needed - it just responds the way a user would expect; it's the default behaviour /operation for a field. > > I would *expect* that a group which meets similar criteria would respond similarly - i.e. without any scripting. > > In the Message watcher, when positioned over a field, I see rawKeyDown, cRevGeneral and scrollbarDrag events > But when positioned over a group - only the rawKeyDown events fire. > > So - am I just over-optimistic, and it is expected that any group scrolling is not handled by default ? > > Or do I need to process rawKeyDowns (as for a mouse scroll wheel) and do my own scrolling ? > > (Hmmm - just typing this message makes me convinced the answer is that I do my own scrolling in response to rawkeydowns. So thanks for letting me think out loud - but do correct me if I'm wrong :-) > > -- Alex. > >> On 21/02/2016 03:52, [-hh] wrote: >> This is essentially the same technique that Scott R. suggested. >> New is the MOVE-TO-SCROLL-FACTOR, in case you prefer that. >> >> ** The scroll respects here the group's relative to card's size. ** >> ** Thus scrolling becomes "parallel" to the mouseMove distances. ** >> For example if you move your fingers/the mouse from (20,70) to (50,30) >> then the hscroll of the the group changes by +30 >> and the vscroll of the the group changes by -40. >> Of course you may moreover scale these factors (fw0, fh0 below) to >> your needs, for example to an increase for a large display. >> >> -- In group's script. >> -- Here given for hscroll and vscroll, mostly I use only one of both. >> -- Also I give it for mouseMove, you change this to your need >> -- (touchMove ...) better than I do. >> >> local d0=false, x0=0, y0=0, h0=0, w0=0, fh0=1, fw0=1 >> >> on mouseEnter; put false into d0; end mouseEnter >> on mouseUp; put false into d0; end mouseUp >> on mouseRelease; put false into d0; end mouseRelease >> >> on mouseMove x,y >> if not d0 then exit mouseMove >> set hscroll of me to w0+fw0*(x-x0) >> set vscroll of me to h0+fh0*(y-y0) >> end mouseMove >> >> on mouseDown >> put (the height of this card) div (the height of me) into fh0 >> put (the width of this card) div (the width of me) into fw0 >> put true into d0; put the clickV into y0; put the clickH into x0 >> put the vscroll of me into h0 ; put the hscroll of me into w0 >> end mouseDown >> >> I also have sometimes, in order to have a 'static' scrollbar size, >> a transparent (for example by using ink 'noop") object, may also be >> disabled, of card's (half) size in the group. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Sun Feb 21 14:34:40 2016 From: livfoss at mac.com (Graham Samuel) Date: Sun, 21 Feb 2016 19:34:40 +0000 Subject: Finding UTC In-Reply-To: References: <4B219F36-EAC0-4E56-BE7E-4112AA147D57@mac.com> Message-ID: <5CC1511D-F15B-4A47-ABB7-9A7E5A53A1D3@mac.com> Thanks to all those who replied - ?the internet date? was the answer I needed, since I then didn?t have to get out of my LiveCode comfort zone to do the calculation. I?m thinking of time-stamping some interactions that are going to go through a program I?m running on LiveCode Server. Right now I have it running on DreamHost, whose servers presumably stay in one place, but I wanted an invariant time stamp not depending on the location of the server or of any particular user, so I saw UTC as the way to go. My issue was that I didn?t know of a command that I could run on the server, or a url to a public time server, that would just give me UTC in its simplest form without leaving LiveCode - probably very lazy of me, but I want to keep things as simple as I can. I have now written a little homegrown routine that uses ?the internet date? which seems to work fine. Thanks again Graham > On 20 Feb 2016, at 19:09, Sannyasin Brahmanathaswami wrote: > > On February 20, 2016 at 6:50:55 AM, Earthednet-wp (prothero at earthednet.org) wrote: > This will of course put the time as perceived by the server where in the world my copy of LCS happens to be hosted. Given that this is arbitrary from the point of view of a user of the server, it would be easier for me if I could show the time as UTC, or what us Brits used to call Greenwich Mean Time. > > I may be missing thing, but unless your server is a nomad, it is always exactly X numbers away from UTC... sothen what is the issue? > > Forgive me if I'm stating the obvious and don't grasp your problem: > > UTC is UTC wherever you are. If I query for UTC in Hawaii, or California or London, we get the same value...So all you need is a small API script on the server to return UTC to you... and typically you have control over the time setting on your "box" so if you want the server to return UTC...you have to be sure (unix/linux) tzdata(cmd line app) is installed.. run that and you will be prompted to set your time zone. set "GST-0" and you are good to go. > > This assumes of course that's what you want...it may not be... I prefer, e.g. that the server return the time of the place where it lives (otherwise I get crazy confused)... this is, as you say, arbitrary, since we have users all over the planet in all time zones... but though I am in Hawaii, I like the server in California to be on California time... as this is how we think out here in the middle of the Pacific...CA is three hours ahead, Texas is 4, Chicago 5, NY 6 etc.. (depends on DLS) if I want my LCS on the server to return UTC, then I just add the offset to PST (+8) since he lives in Californai and is not moving around. > > https://codeghar.wordpress.com/2007/12/06/manage-time-in-ubuntu-through-command-line/https://en.wikipedia.org/wiki/List_of_UTC_time_offsets > > if you do not have control of the server box/instance then you only have the option to add the offset to GMT to the server time... a simple "add" in your script... Through the years, in my experience, default installations of web server OS's often have some odd time default, and you only discover this one day when you see weird time stamps.. so you have to go in and correct it. This is getting better with cloud computing, but in the old days the "instance" on a box was initiated by loading an image from a CD, and the service selling you the web services didn't even bother to check that the image had some wrong TZ for the location where it was being installed. > > 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 bdrunrev at gmail.com Sun Feb 21 14:52:22 2016 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 21 Feb 2016 19:52:22 +0000 Subject: BUG? console error message with send in time on LC server Message-ID: Hi all, I have started to look at LC server, just for command line scripts at the moment (seems LC has got wired into my brain, and other scripting languages just don't come so readily to me any more). I wanted to do some processing, where the processing would occur at different times of days and different intervals. I know I could use cron for this, but again, knocking something up in LC is easier for me than all the fiddling involved in cron jobs and different scripts to perform different functions. At first, it looked like "send in time" did not work with the server. I went to the forum, and found a thread that seemed to say just that. So I mocked up the simplest test, and "send in time" works. However, it outputs the error message in the title: GLib-WARNING **: g_main_context_iteration(): main loop already active in another thread This doesn't seem to impair the script working, and there's nothing freaky happening with the running processes. But after a quick google, it appears that this is an error message which occurs with GUI Linux apps. So, I'm wondering if there's not something amiss in the code which is conditionally compiled into the server engine. I thought about using the "-ui" command line parameter, but the server does not seem to take any parameters other than the LC file name it is to process. This is with LiveCodeCommunityServer-8_0_0_dp_14 32bit. This console error probably isn't going to be difficult for me to ignore, however, I can imagine it would be annoying if it ended up in log files for those who use "send in time". Is it worth reporting as a bug? Regards Bernard From jacque at hyperactivesw.com Sun Feb 21 14:59:21 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 21 Feb 2016 13:59:21 -0600 Subject: How do I enable scrolling of a group ? In-Reply-To: <56C9BC81.3070209@tweedly.net> References: <3BE28505-C8DC-427E-958F-5440297B066C@livecode.org> <56C9BC81.3070209@tweedly.net> Message-ID: <56CA1719.2040206@hyperactivesw.com> On 2/21/2016 7:32 AM, Alex Tweedly wrote: > In the Message watcher, when positioned over a field, I see rawKeyDown, > cRevGeneral and scrollbarDrag events > But when positioned over a group - only the rawKeyDown events fire. > > So - am I just over-optimistic, and it is expected that any group > scrolling is not handled by default ? I suspect it's the cRevGeneral handlers in the IDE frontscript that manage scrolling for a field. Besides rawKeyDown, the group also receives a scrollbarDrag message when manually scrolled, but that's not what you're looking for. It does look like you'll have to script the group scroll yourself. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at livecode.org Sun Feb 21 15:45:02 2016 From: hh at livecode.org (-hh) Date: Sun, 21 Feb 2016 21:45:02 +0100 Subject: Finding UTC Message-ID: <24EAB8E1-DB34-4589-A300-078F9BB44E2E@livecode.org> > Graham S. wrote > Thanks to all those who replied - ?the internet date? was the > answer I needed, since I then didn?t have to get out of my > LiveCode comfort zone to do the calculation. I?m thinking of > time-stamping some interactions that are going to go through > a program I?m running on LiveCode Server. Right now I have it > running on DreamHost, whose servers presumably stay in one > place, but I wanted an invariant time stamp not depending on > the location of the server or of any particular user, so I > saw UTC as the way to go. My issue was that I didn?t know of > a command that I could run on the server, or a url to a public > time server, that would just give me UTC in its simplest form > without leaving LiveCode - probably very lazy of me, but I want > to keep things as simple as I can. I have now written a little > homegrown routine that uses ?the internet date? which seems to > work fine. Thanks again Graham One remark to the internet date (which is the date format I always use and then convert to dateItems if needed for calculations). If using recent or future dates one should have in mind that "the internet date" respects **daylight saving offsets** of the dates. You can see that with a HTML5 standalone http://hh-onrev.com/html5/countUpOrDown-8.0.0-dp-9X.html that counts up to the LC meeting. Click at the bottom field to change the date from August to March and you(?) will see the UTC offset changing by -1 hour. [Use Safari, Chrome or Opera. Currently NOT Firefox (v45, again with v46)] hh From brahma at hindu.org Sun Feb 21 15:55:23 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 21 Feb 2016 20:55:23 +0000 Subject: Programmatically determine the average greyscale In-Reply-To: <56C9359D.2050900@hyperactivesw.com> References: <4D9F2B07-BA15-433E-9462-EABD94470A31@livecode.org> <56C9359D.2050900@hyperactivesw.com> Message-ID: The buttons use a pattern so they are not transparent. Yes, we are very familiar with the drop shadow technique also... Yes, we could use field + group methods, but I would prefer to keep is simple so that I can dynamically swap out the background patterns and, eventually, dynamically add and delete buttons to the group. if we still with just the button template, then this keeps it simple. 200,200,200 seems to cover almost all cases so far. A small JSON file with just the button names, links, and the ID of background patter could be easily run on a repeat loop to instantiated the group of buttons after setting the btn template... dynamically. Adding a field into that mix starts to get messy. On the larger main card images/title I do have a field and I will give the shadow a shot. On February 20, 2016 at 5:57:30 PM, J. Landman Gay (jacque at hyperactivesw.com) wrote: Shadows work on button names/labels the same as they do for fields if the button is transparent. The shadow affects only the text. From hh at livecode.org Sun Feb 21 16:10:21 2016 From: hh at livecode.org (-hh) Date: Sun, 21 Feb 2016 22:10:21 +0100 Subject: Finding UTC Message-ID: <44712E1B-A279-439E-AA8C-C9B2AF38D26B@livecode.org> Sorry, typo in link, should read http://hh.on-rev.com/html5/countUpOrDown-8.0.0-dp-9X.html From pete at lcsql.com Sun Feb 21 16:50:24 2016 From: pete at lcsql.com (Peter Haworth) Date: Sun, 21 Feb 2016 21:50:24 +0000 Subject: Finding UTC In-Reply-To: <44712E1B-A279-439E-AA8C-C9B2AF38D26B@livecode.org> References: <44712E1B-A279-439E-AA8C-C9B2AF38D26B@livecode.org> Message-ID: I don;t have the link to hand but there's a Youtube video that's been posted on this list before about what a nightmare it is to handle all the scenarios involving what date and time it is in different parts of the world and keeping up to date with changes. Pete On Sun, Feb 21, 2016 at 1:10 PM [-hh] wrote: > Sorry, typo in link, should read > http://hh.on-rev.com/html5/countUpOrDown-8.0.0-dp-9X.html > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Sun Feb 21 17:18:18 2016 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 21 Feb 2016 22:18:18 +0000 Subject: How do I enable scrolling of a group ? In-Reply-To: <143447ED-D5C7-43BD-9C60-854489325484@livecode.org> References: <143447ED-D5C7-43BD-9C60-854489325484@livecode.org> Message-ID: <56CA37AA.4070303@tweedly.net> On 21/02/2016 14:21, [-hh] wrote: > **** "Doing Touch scroll by rawkeyDown" **** > will be interesting for a lot of readers. Would be great if you share > your solution with a script snippet at the end of this thread ... > > Sure - though it turns out to be so trivial a snippet it's almost embarrassing :-) I haven't figured out a way to tell what the correct step size should be (whether to vary it by formattedsize vs actualsize, or ....), so I guessed a fixed figure, and it seems OK for all the (smallish number) of cases I've tried. -- Scroll a group according to touch (e.g. two-finger movement on Mac OSX trackpad) constantkVStep = 10, kHstep = 10 on rawKeyDown p switch p case 65308 setthevscrollofmetothevscrollofme+ kVStep break case 65309 setthevscrollofmetothevscrollofme- kVStep break case 65310 setthehscrollofmetothehscrollofme+ kHStep break case 65311 setthehscrollofmetothehscrollofme- kHStep break default end switch end rawKeyDown Thanks again to everyone who helped. -- Alex. From ali.lloyd at livecode.com Sun Feb 21 17:58:46 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Sun, 21 Feb 2016 22:58:46 +0000 Subject: LC 8 dp 14 Browser Widget not "obeying" position instructions In-Reply-To: References: Message-ID: I have seen something like this too, but haven't yet got a recipe - looks like a redraw issue though. Perhaps to do with setting the rect under lock screen, or changing the tool under lock screen/messages or something like that. On Sun, 21 Feb 2016 at 03:51, Sannyasin Brahmanathaswami wrote: > > working in LC 8 DP 14 now... > > See my other thread appropo and app archtecture requiring changing from > portrait to landscape and back again as we move through the stack/cards -- > in the absence of any "best practices" I'm hacking this from ground zero > > set custom prop for each card: > > uOrientation | Portrait #or > uOrientation | Landscape # > > Stack Script: > > > ###### Orientation Change Ups > > on setOrientation > if the uOrientation of this card is "Landscape" then > set the width of this stack to 736 > set the height of this stack to 414 > else > set the width of this stack to 414 > set the height of this stack to 736 > end if > end setOrientation > > CARD: webBrowserLandscape > > objects: > 1 webBrowser Widget "sivaBrowser" set to 0,20,736,414, location locked > 1 field "emulator" set to 0,20,736,414 > > Card Script: > > on preopencard > setOrientation > end preopencard > > > on resizeStack x,y > set the top of fld "emulater" to 20 > set the top of widget "sivaBrowser" to 20 > end resizeStack > > > Result: fld Emulater appears in the correct location after the resizeSTack > finishes and unlocks the screen > > widget is stuck way down the card and does not move. > > I've tried various methods, but the clincher is that even in running this > in the message box > > set the top of widget "sivaBrowser" to 20 > > the widget is unresponsive > > BUT, if I click out to the pointer tool the widget suddenly a) loses the > html of the page it is on and b) jumps into the proper position. > > I think this is a bug. > > Can anyone confirm. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Sun Feb 21 18:46:36 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 21 Feb 2016 23:46:36 +0000 Subject: LC 8 dp 14 Browser Widget not "obeying" position instructions In-Reply-To: References: Message-ID: ?February 21, 2016 at 12:59:16 PM, Ali Lloyd (ali.lloyd at livecode.com(mailto:ali.lloyd at livecode.com)) wrote: > I have seen something like this too, but haven't yet got a recipe - looks? > like a redraw issue though.? Indeed, I think you are right. I just now added to the ticket bug 16965(http://quality.livecode.com/show_bug.cgi?id=16965) as it turns out the browser widget frame *is* obeying the set position command. if I navigate to the card with the browse tool selected... we see the html content is shifted down (top of html content is at about 320 in the vertical card height of 414). but if you then query, before doing anything else, in the msg box put the top of widget "sivaBrowser" # result: 20 Ahha! the html content is, as you surmise, not being redrawn from the new top x,y coords of the widget window. OK! your idea worked. Here's my hackaround for now..: on preopencard setOrientation set the top of widget "SivaBrowser" to 20 end preopencard on opencard ? ?choose pointer tool choose browser tool end opencard very minute flicker there barely noticeable.. and it lets me continue on dev in 8! Still a bug though.. and it would be "nice" if the html content did not disappear under the pointer tool BR From terry.judd at unimelb.edu.au Sun Feb 21 20:03:07 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 22 Feb 2016 01:03:07 +0000 Subject: Not able to use the clipboard with HTML5 deployment Message-ID: I?m trying to create a relatively simple HTML5 ?applet' that allows the user to select from a series of statements (an assessment rubric) to generate a basic feedback report that they can paste into an existing comments box within one of the bits of our learning management system. Seemed like a relatively straightforward test for LC?s new HTML5 export feature except that despite what the dictionary says setting the clipboardData doesn?t work. This seems to be confirmed by a search of the quality control centre (unresolved bug 16251 from October last year). Does anyone have any information on if and when clipboard support will be added? I?m pretty much stuck without it. Regards, Terry? From brahma at hindu.org Sun Feb 21 22:10:53 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 22 Feb 2016 03:10:53 +0000 Subject: Not able to use the clipboard with HTML5 deployment In-Reply-To: References: Message-ID: Until that is working, why not just set a local (or possibly you will need a global) variable and as the selections are made, append to the global variable, then when ready they user clicks a button and the global variable containing the data is inserted into the comments? You can emulate a "copy" by just save the selectedText... and passing this to your global... Why is the clipboard mission critical to the architecture? Especially if the series of statements can each be contained in a single line, then you can really do this easily with a locked field and clicks on the lines... I can think of about 8 different ways to accomplish this without the clipboard (depends on how the assessment rubric data is formated/presented, of course) BR On February 21, 2016 at 3:05:03 PM, Terry Judd (terry.judd at unimelb.edu.au) wrote: I?m trying to create a relatively simple HTML5 ?applet' that allows the user to select from a series of statements (an assessment rubric) to generate a basic feedback report that they can paste into an existing comments box within one of the bits of our learning management system. Seemed like a relatively straightforward test for LC?s new HTML5 export feature except that despite what the dictionary says setting the clipboardData doesn?t work. This seems to be confirmed by a search of the quality control centre (unresolved bug 16251 from October last year). Does anyone have any information on if and when clipboard support will be added? I?m pretty much stuck without it. Regards, Terry? From terry.judd at unimelb.edu.au Sun Feb 21 22:23:46 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 22 Feb 2016 03:23:46 +0000 Subject: Not able to use the clipboard with HTML5 deployment In-Reply-To: References: Message-ID: So, I want to copy the formatted text from my LC HTML5 app to a text field in another webpage that is independent of my HTML5 app and over which I have no control. I don?t think that?s possible without using the clipboard as an intermediary - is it? Regards, Terry... On 22/02/2016 2:10 pm, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: >Until that is working, why not just set a local (or possibly you will >need a global) variable and as the selections are made, append to the >global variable, then when ready they user clicks a button and the global >variable containing the data is inserted into the comments? You can >emulate a "copy" by just save the selectedText... and passing this to >your global... > >Why is the clipboard mission critical to the architecture? Especially if >the series of statements can each be contained in a single line, then you >can really do this easily with a locked field and clicks on the lines... >I can think of about 8 different ways to accomplish this without the >clipboard (depends on how the assessment rubric data is >formated/presented, of course) > >BR > > >On February 21, 2016 at 3:05:03 PM, Terry Judd >(terry.judd at unimelb.edu.au) wrote: > >I?m trying to create a relatively simple HTML5 ?applet' that allows the >user to select from a series of statements (an assessment rubric) to >generate a basic feedback report that they can paste into an existing >comments box within one of the bits of our learning management system. >Seemed like a relatively straightforward test for LC?s new HTML5 export >feature except that despite what the dictionary says setting the >clipboardData doesn?t work. This seems to be confirmed by a search of the >quality control centre (unresolved bug 16251 from October last year). >Does anyone have any information on if and when clipboard support will be >added? I?m pretty much stuck without it. > >Regards, > >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 lan.kc.macmail at gmail.com Sun Feb 21 22:37:39 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 22 Feb 2016 11:37:39 +0800 Subject: Finding UTC In-Reply-To: References: <44712E1B-A279-439E-AA8C-C9B2AF38D26B@livecode.org> Message-ID: On Mon, Feb 22, 2016 at 5:50 AM, Peter Haworth wrote: > I don;t have the link to hand but there's a Youtube video https://www.youtube.com/watch?v=-5wpm-gesOY From hh at livecode.org Sun Feb 21 22:59:58 2016 From: hh at livecode.org (-hh) Date: Mon, 22 Feb 2016 04:59:58 +0100 Subject: Not able to use the clipboard with HTML5 deployment Message-ID: > So, I want to copy the formatted text from my LC HTML5 app to a > text field in another webpage that is independent of my HTML5 > app and over which I have no control. I don?t think that?s > possible without using the clipboard as an intermediary - is it? > Regards, Terry... Hi Terry (and BR) this is currently the one and only way available for communication with a HTML5 standalone: The Ask dialog. I made a demo, available at hh.on-rev-com/html5/ (= overview) called 'Copy/Paste Text'-Test It's made with dp9 in November, nothing related to that changed in dp10-14, stack is downloadable. [Use Chrome, Opera or Safari. Firefox: yes < v44, NO v44, yes > v44 (coming soon)] hh From terry.judd at unimelb.edu.au Sun Feb 21 23:18:32 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 22 Feb 2016 04:18:32 +0000 Subject: Not able to use the clipboard with HTML5 deployment In-Reply-To: References: Message-ID: OK, thanks hh. It?s probably a little too clunky for my purpose (I don?t think I can expect users to manually replace placeholder characters with returns) but nice to know that there is a workaround of sorts. Great set of LC HTML5 demos BTW! Terry? On 22/02/2016 2:59 pm, "use-livecode on behalf of [-hh]" wrote: >> So, I want to copy the formatted text from my LC HTML5 app to a >> text field in another webpage that is independent of my HTML5 >> app and over which I have no control. I don?t think that?s >> possible without using the clipboard as an intermediary - is it? >> Regards, Terry... > >Hi Terry (and BR) >this is currently the one and only way available for communication >with a HTML5 standalone: The Ask dialog. > >I made a demo, available at hh.on-rev-com/html5/ (= overview) >called 'Copy/Paste Text'-Test > >It's made with dp9 in November, nothing related to that changed >in dp10-14, stack is downloadable. >[Use Chrome, Opera or Safari. >Firefox: yes < v44, NO v44, yes > v44 (coming soon)] > >hh >_______________________________________________ >use-livecode mailing list >use-livecode at 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 livecode.org Sun Feb 21 23:27:53 2016 From: hh at livecode.org (-hh) Date: Mon, 22 Feb 2016 05:27:53 +0100 Subject: Finding UTC Message-ID: > Peter H. wrote: > I don;t have the link to hand but there's a Youtube video that's been > posted on this list before about what a nightmare it is to handle all > the scenarios involving what date and time it is in different parts of > the world and keeping up to date with changes. Pete > Kay C.L. wrote: > I don;t have the link to hand but there's a Youtube video > https://www.youtube.com/watch?v=-5wpm-gesOY Here are several other approaches also discussed. Especially good pro and contra for TAI, CUT and 'internet time'(Swatch). http://www.timeanddate.com/topics/timekeeping From hh at livecode.org Mon Feb 22 00:37:24 2016 From: hh at livecode.org (-hh) Date: Mon, 22 Feb 2016 06:37:24 +0100 Subject: Not able to use the clipboard with HTML5 deployment Message-ID: <6E5D4732-6FFC-4078-9C37-E1A0608929DF@livecode.org> > Terry J. wrote: > OK, thanks hh. It?s probably a little too clunky for my purpose > (I don?t think I can expect users to manually replace placeholder > characters with returns) but nice to know that there is a > workaround of sorts. If the webpage that receives the text (page) accepts 'styled' text you could -- before delivering the text -- juggle with case RTFtext: \par, \line or \softline case HTMLtext:

,
or space so that the copied text (if it's not too long) becomes one line for using the Ask dialog?? hh From brahma at hindu.org Mon Feb 22 01:11:46 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 22 Feb 2016 06:11:46 +0000 Subject: Not able to use the clipboard with HTML5 deployment In-Reply-To: References: , Message-ID: "Over to another web page" Ok well that's a different game for sure and would require clipboard BR ( from my mobile ) On Sun, Feb 21, 2016 at 7:25 PM -0800, "Terry Judd" > wrote: So, I want to copy the formatted text from my LC HTML5 app to a text field in another webpage that is independent of my HTML5 app and over which I have no control. I don?t think that?s possible without using the clipboard as an intermediary - is it? Regards, Terry... On 22/02/2016 2:10 pm, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: >Until that is working, why not just set a local (or possibly you will >need a global) variable and as the selections are made, append to the >global variable, then when ready they user clicks a button and the global >variable containing the data is inserted into the comments? You can >emulate a "copy" by just save the selectedText... and passing this to >your global... > >Why is the clipboard mission critical to the architecture? Especially if >the series of statements can each be contained in a single line, then you >can really do this easily with a locked field and clicks on the lines... >I can think of about 8 different ways to accomplish this without the >clipboard (depends on how the assessment rubric data is >formated/presented, of course) > >BR > > >On February 21, 2016 at 3:05:03 PM, Terry Judd >(terry.judd at unimelb.edu.au) wrote: > >I?m trying to create a relatively simple HTML5 ?applet' that allows the >user to select from a series of statements (an assessment rubric) to >generate a basic feedback report that they can paste into an existing >comments box within one of the bits of our learning management system. >Seemed like a relatively straightforward test for LC?s new HTML5 export >feature except that despite what the dictionary says setting the >clipboardData doesn?t work. This seems to be confirmed by a search of the >quality control centre (unresolved bug 16251 from October last year). >Does anyone have any information on if and when clipboard support will be >added? I?m pretty much stuck without it. > >Regards, > >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 terry.judd at unimelb.edu.au Mon Feb 22 05:01:08 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 22 Feb 2016 10:01:08 +0000 Subject: Not able to use the clipboard with HTML5 deployment In-Reply-To: <6E5D4732-6FFC-4078-9C37-E1A0608929DF@livecode.org> References: <6E5D4732-6FFC-4078-9C37-E1A0608929DF@livecode.org> Message-ID: Yeah, I already tried that but it only accepts plain text :( Terry... On 22/02/2016 4:37 pm, "use-livecode on behalf of [-hh]" wrote: >> Terry J. wrote: >> OK, thanks hh. It?s probably a little too clunky for my purpose >> (I don?t think I can expect users to manually replace placeholder >> characters with returns) but nice to know that there is a >> workaround of sorts. > >If the webpage that receives the text (page) accepts 'styled' text >you could -- before delivering the text -- juggle with > case RTFtext: \par, \line or \softline > case HTMLtext:

,
or space >so that the copied text (if it's not too long) becomes one line >for using the Ask dialog?? > >hh >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Mon Feb 22 06:55:58 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 22 Feb 2016 11:55:58 +0000 Subject: [ANN] This Week in LiveCode 21 Message-ID: <56CAF74E.2000302@livecode.com> 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 #21 here: https://goo.gl/AJjQMb 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. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Mon Feb 22 10:24:06 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 22 Feb 2016 15:24:06 +0000 Subject: [ANN] Release 8.0.0 DP 15 Message-ID: <56CB2816.1050804@livecode.com> Dear list members, We are pleased to announce the release of LiveCode 8.0.0 DP 15. Developer Preview Release ========================= Warning: this is not a stable release. Please ensure you back up your stacks before testing them. *IMPORTANT*: It is especially vital that you back up your stacks before testing them in 8.0 DP 15, as there has been a change to the save command in DP 13. The IDE has been updated to accommodate this change, but we strongly recommend making back-ups in case there is unforeseen data loss. *IMPORTANT*: Your stacks may appear different on first opening in 8.0 DP 15, due to the improvement in desktop OS theming introduced in DP 14. The theming can be reverted to legacy on a per-object basis using the new "theme" property. For more information, see the release notes. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ 64-bit Mac OS X deployment -------------------------- You can now deploy apps as Mac OS X 64-bit programs. See the "Mac Deployment Guide" in the IDE for more information. Better control editing ---------------------- The outline and handles of selected control are now shown on the top layer, even if other controls are on top of it. Multiple fonts in HTML5 standalones ----------------------------------- You can now include and use your own fonts in HTML5 standalones. Default scripts for widgets --------------------------- Widget developers can now provide a default script. It's used to initialise the widget's script the first time the user edits the widget in the script editor. ...and 45 bug fixes! Known issues ============ * Windows 10 theming causes display issues with the dictionary, script editor and property inspector * CEF Browser (and therefore the dictionary and browser widget) does not currently work on 32-bit Linux * HTML5 standalones do not currently work when they contain extensions with dependencies * 64-bit standalones for Mac OS X do not have support for audio recording or the revVideoGrabber external Feedback ======== LiveCode 8 is still in development, so we'd love to hear any feedback you have on it. There are a number of features that we'd like to implement but aren't ready yet, and the existing features are subject to change during development - we can't guarantee that extensions written in Developer Previews will continue to work the same way in later versions. 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 prothero at earthednet.org Mon Feb 22 13:37:35 2016 From: prothero at earthednet.org (William Prothero) Date: Mon, 22 Feb 2016 10:37:35 -0800 Subject: [ANN] Release 8.0.0 DP 15 In-Reply-To: <56CB2816.1050804@livecode.com> References: <56CB2816.1050804@livecode.com> Message-ID: Peter: I got a notice that Monte?s externals come with Indy licenses now. Is there a link where we can download them? BTW, congrats on DP15! The widgets are going to be a game changer for LC as will the incorporation of Monte?s externals as widgets. Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From brahma at hindu.org Mon Feb 22 14:13:21 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 22 Feb 2016 19:13:21 +0000 Subject: LC 8 dp 14 Browser Widget not "obeying" position instructions In-Reply-To: References: Message-ID: On February 21, 2016 at 1:46:35 PM, Sannyasin Brahmanathaswami (brahma at hindu.org) wrote: on opencard choose pointer tool choose browser tool end opencard Well this worked yesterday, but it is not working today! "Go figure" So I'm stuck here for dynamically moving from portrait orientation to a landscape oriented card with a browser object.. Any ideas on forcing the re-render? From littlejamesw at mac.com Mon Feb 22 14:27:00 2016 From: littlejamesw at mac.com (James Little) Date: Mon, 22 Feb 2016 11:27:00 -0800 Subject: LC 8 dp 14 Browser Widget not "obeying" position instructions In-Reply-To: References: Message-ID: <15C503BC-3463-408E-B48C-294BF94129F5@mac.com> Hi BR, Lock and unlock screen seemed to be interfering with browser widget positioning in my case. You might try without any lock / unlock screen. Jim Little On Feb 22, 2016, at 11:13 AM, Sannyasin Brahmanathaswami wrote: > On February 21, 2016 at 1:46:35 PM, Sannyasin Brahmanathaswami (brahma at hindu.org) wrote: > on opencard > choose pointer tool > choose browser tool > end opencard > > > Well this worked yesterday, but it is not working today! "Go figure" > > > So I'm stuck here for dynamically moving from portrait orientation to a landscape oriented card with a browser object.. > > > Any ideas on forcing the re-render? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Feb 22 14:40:36 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 22 Feb 2016 21:40:36 +0200 Subject: [ANN] Release 8.0.0 DP 15 In-Reply-To: <56CB2816.1050804@livecode.com> References: <56CB2816.1050804@livecode.com> Message-ID: <56CB6434.90202@gmail.com> Well; there's a funny thing . . . when I started up LiveCode 8.0 DP 15 it offered to upgrade me to LiveCode 7.1.2 RC 3. I see that on Linux 64 bit the Dictionary still "isn't" but as that is projected to be sorted out for the first Release candidate I'm not fussed. What IS worrying is that all the Widgets from the revTools stack have vanished. Funny, very funny; that only happened the first time I started LiveCode 8.0 DP 15. Richmond. From richmondmathewson at gmail.com Mon Feb 22 14:48:31 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 22 Feb 2016 21:48:31 +0200 Subject: [ANN] Release 8.0.0 DP 15 In-Reply-To: <56CB6434.90202@gmail.com> References: <56CB2816.1050804@livecode.com> <56CB6434.90202@gmail.com> Message-ID: <56CB660F.9090104@gmail.com> On 22.02.2016 21:40, RM wrote: > Well; there's a funny thing . . . when I started up LiveCode 8.0 DP 15 > it offered to upgrade me > to LiveCode 7.1.2 RC 3. > > I see that on Linux 64 bit the Dictionary still "isn't" but as that is > projected to be sorted out for > the first Release candidate I'm not fussed. > > What IS worrying is that all the Widgets from the revTools stack have > vanished. > > Funny, very funny; that only happened the first time I started > LiveCode 8.0 DP 15. I was wrong: BUG report number 16975 > > Richmond. > > From ali.lloyd at livecode.com Mon Feb 22 15:38:28 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 22 Feb 2016 20:38:28 +0000 Subject: [ANN] Release 8.0.0 DP 15 In-Reply-To: <56CB660F.9090104@gmail.com> References: <56CB2816.1050804@livecode.com> <56CB6434.90202@gmail.com> <56CB660F.9090104@gmail.com> Message-ID: Do you have widgets ticked in the show controls submenu of the tools palette settings? On Mon, Feb 22, 2016 at 7:48 PM RM wrote: > > > On 22.02.2016 21:40, RM wrote: > > Well; there's a funny thing . . . when I started up LiveCode 8.0 DP 15 > > it offered to upgrade me > > to LiveCode 7.1.2 RC 3. > > > > I see that on Linux 64 bit the Dictionary still "isn't" but as that is > > projected to be sorted out for > > the first Release candidate I'm not fussed. > > > > What IS worrying is that all the Widgets from the revTools stack have > > vanished. > > > > Funny, very funny; that only happened the first time I started > > LiveCode 8.0 DP 15. > > I was wrong: BUG report number 16975 > > > > > Richmond. > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hh at livecode.org Mon Feb 22 16:05:00 2016 From: hh at livecode.org (-hh) Date: Mon, 22 Feb 2016 22:05:00 +0100 Subject: [ANN] Release 8.0.0 DP 15 Message-ID: <0FE20D1A-DDFB-4354-8768-547804DB9D66@livecode.org> > Peter B. wrote: > Dear list members, We are pleased to announce the release of > LiveCode 8.0.0 DP 15 ... and 45 bug fixes! What a british understatement for a preview, that's more a release candidate (we are still in dot-dot state). Especially the HTML5 part. I'm testing since three hours: = The dp9-speed is back!!! = Firefox 44 runs again (and pretty fast). = Multiple fonts are available. = The textsystem (measurements) seems close to the IDE now. = Moves are smooth and look even more exact. This is an essential progress. Peter, iOS externals here, iOS externals there, I support that too. But you and all you others of the team that worked with you in that HTML5 part, you are *my* heros. THANK YOU SO MUCH. The more I read the source code the more I was impressed. This progress and your ability of solving really difficult problems is demonstrating again that the HTML5 part is worth the separate license. Good bye use-list (will still read the list), good bye sleep tonight, back to forum, HTML5 (and Raspi)! Was fun here, I learned a lot from you, thanks! ======= Hermann From peter.brett at livecode.com Mon Feb 22 16:41:23 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 22 Feb 2016 21:41:23 +0000 Subject: [ANN] Release 8.0.0 DP 15 In-Reply-To: References: <56CB2816.1050804@livecode.com> Message-ID: <56CB8083.1030205@livecode.com> On 22/02/2016 18:37, William Prothero wrote: > Peter: > I got a notice that Monte?s externals come with Indy licenses now. Is > there a link where we can download them? BTW, congrats on DP15! The > widgets are going to be a game changer for LC as will the > incorporation of Monte?s externals as widgets. Hi Bill, As Kevin and Monte have both noted here, and as mentioned in the blog post, there is going to be some work to do to properly integrate the mergExt externals into the LiveCode licensing system. That work is underway, and I expect that there will be a further announcement in the near future. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From merakosp at gmail.com Mon Feb 22 17:02:12 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 23 Feb 2016 00:02:12 +0200 Subject: [ANN] Release 8.0.0 DP 15 In-Reply-To: <56CB8083.1030205@livecode.com> References: <56CB2816.1050804@livecode.com> <56CB8083.1030205@livecode.com> Message-ID: >>> LiveCode 8.0.0 DP 15 ... and 45 bug fixes! Why only 45? I see 53 here (without the duplicates): http://quality.livecode.com/buglist.cgi?list_id=51971&query_format=advanced&token=1456178232-f63548a008c88a1a2a1dc62212585e14&target_milestone=8.0.0-dp-15 Panos -- On Mon, Feb 22, 2016 at 11:41 PM, Peter TB Brett wrote: > On 22/02/2016 18:37, William Prothero wrote: > >> Peter: >> > > I got a notice that Monte?s externals come with Indy licenses now. Is >> there a link where we can download them? BTW, congrats on DP15! The >> widgets are going to be a game changer for LC as will the >> incorporation of Monte?s externals as widgets. >> > > Hi Bill, > > As Kevin and Monte have both noted here, and as mentioned in the blog > post, there is going to be some work to do to properly integrate the > mergExt externals into the LiveCode licensing system. > > That work is underway, and I expect that there will be a further > announcement in the near future. > > Peter > > -- > Dr Peter Brett > LiveCode Open Source Team > > LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 22 17:36:49 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 22 Feb 2016 22:36:49 +0000 Subject: LC 8 dp 14 Browser Widget not "obeying" position instructions In-Reply-To: <15C503BC-3463-408E-B48C-294BF94129F5@mac.com> References: , <15C503BC-3463-408E-B48C-294BF94129F5@mac.com> Message-ID: I'm not locking the screen. ( from my mobile ) On Mon, Feb 22, 2016 at 11:27 AM -0800, "James Little" > wrote: Hi BR, Lock and unlock screen seemed to be interfering with browser widget positioning in my case. You might try without any lock / unlock screen. Jim Little On Feb 22, 2016, at 11:13 AM, Sannyasin Brahmanathaswami wrote: > On February 21, 2016 at 1:46:35 PM, Sannyasin Brahmanathaswami (brahma at hindu.org) wrote: > on opencard > choose pointer tool > choose browser tool > end opencard > > > Well this worked yesterday, but it is not working today! "Go figure" > > > So I'm stuck here for dynamically moving from portrait orientation to a landscape oriented card with a browser object.. > > > Any ideas on forcing the re-render? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 earthednet.org Mon Feb 22 17:42:03 2016 From: prothero at earthednet.org (William Prothero) Date: Mon, 22 Feb 2016 14:42:03 -0800 Subject: [ANN] Release 8.0.0 DP 15 In-Reply-To: <56CB8083.1030205@livecode.com> References: <56CB2816.1050804@livecode.com> <56CB8083.1030205@livecode.com> Message-ID: <53F43253-AB32-4F04-8157-4BF41D99101D@earthednet.org> Peter: Thanks! No big rush. Bill > On Feb 22, 2016, at 1:41 PM, Peter TB Brett wrote: > > On 22/02/2016 18:37, William Prothero wrote: >> Peter: > >> I got a notice that Monte?s externals come with Indy licenses now. Is >> there a link where we can download them? BTW, congrats on DP15! The >> widgets are going to be a game changer for LC as will the >> incorporation of Monte?s externals as widgets. > > Hi Bill, > > As Kevin and Monte have both noted here, and as mentioned in the blog post, there is going to be some work to do to properly integrate the mergExt externals into the LiveCode licensing system. > > That work is underway, and I expect that there will be a further announcement in the near future. > > Peter > > -- > Dr Peter Brett > LiveCode Open Source Team > > LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 earthednet.org Mon Feb 22 19:55:14 2016 From: prothero at earthednet.org (William Prothero) Date: Mon, 22 Feb 2016 16:55:14 -0800 Subject: Getting a return from a dispatch to a function Message-ID: <196B9A47-1C80-4286-ADBC-B930C6AAB207@earthednet.org> Folks: I think I?ve found a bug when trying to call a function and get a return value out of the message path. I make a stack with a group containing 2 buttons, and a 3rd button to call the function> Script of calling button on mouseUp breakpoint put value("getValue",group "myGroup" of card "myCard") into tVal end mouseUp Script of group named ?myGroup? function getValue return "This is my value" end getValue When I click the calling button, I get ?getValue? returned. The actual return value of the function is not returned. I?ve tested this in 7.1.2-r3 and 8.0.0 DP15. I?m using Mac OSX, El Capitan. Is it a bug? Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From prothero at earthednet.org Mon Feb 22 20:08:07 2016 From: prothero at earthednet.org (William Prothero) Date: Mon, 22 Feb 2016 17:08:07 -0800 Subject: Re Topic'd. Probable LC bug getting return from a Value function Message-ID: <7EBCE773-9088-4B47-A736-66410DB08FDC@earthednet.org> Folks: Sorry for the duplicate posting. But, the topic on my prev one was not descriptive and I need this to work. I think I?ve found a bug when trying to call a function and get a return value out of the message path. I make a stack with a group containing 2 buttons, and a 3rd button to call the function> Script of calling button on mouseUp breakpoint put value("getValue",group "myGroup" of card "myCard") into tVal end mouseUp Script of group named ?myGroup? function getValue return "This is my value" end getValue When I click the calling button, I get ?getValue? returned. The actual return value of the function is not returned. I?ve tested this in 7.1.2-r3 and 8.0.0 DP15. I?m using Mac OSX, El Capitan. Is it a bug? Bill From scott at tactilemedia.com Mon Feb 22 20:20:37 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 22 Feb 2016 17:20:37 -0800 Subject: Re Topic'd. Probable LC bug getting return from a Value function In-Reply-To: <7EBCE773-9088-4B47-A736-66410DB08FDC@earthednet.org> References: <7EBCE773-9088-4B47-A736-66410DB08FDC@earthednet.org> Message-ID: It looks like you're missing the parentheses in the function name. Try: put value("getValue()",group "myGroup" of card "myCard") into tVal Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/22/16, 5:08 PM, "use-livecode on behalf of William Prothero" wrote: >Folks: >Sorry for the duplicate posting. But, the topic on my prev one was not >descriptive and I need this to work. > >I think I?ve found a bug when trying to call a function and get a return >value out of the message path. > >I make a stack with a group containing 2 buttons, and a 3rd button to >call the function> > >Script of calling button >on mouseUp > breakpoint > put value("getValue",group "myGroup" of card "myCard") into tVal >end mouseUp > >Script of group named ?myGroup? >function getValue > return "This is my value" >end getValue > >When I click the calling button, I get ?getValue? returned. The actual >return value of the function is not returned. > >I?ve tested this in 7.1.2-r3 and 8.0.0 DP15. >I?m using Mac OSX, El Capitan. > >Is it a bug? > >Bill > > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Mon Feb 22 20:30:25 2016 From: waprothero at gmail.com (William Prothero) Date: Mon, 22 Feb 2016 17:30:25 -0800 Subject: Re Topic'd. Probable LC bug getting return from a Value function In-Reply-To: References: <7EBCE773-9088-4B47-A736-66410DB08FDC@earthednet.org> Message-ID: <3FEAD88D-3B68-473E-B9BD-35DAA10DD3A9@gmail.com> Scott: You?re right! Lessons mal-function, though. I copied the code right out of http://lessons.livecode.com/m/4071/l/11787-how-to-call-a-function-or-command-in-another-object quote: "put value("myFunction", group "myGroup" of card "myCard") into tResult? Should be: "put value(?myFunction()", group "myGroup" of card "myCard") into tResult? Then a bit later on, they actually put in the parentheses. So, yep, you?re right on the first part, but not on the ?forgot? part. That?s not to say that the ?forgot? situation is unusual in other circumstances. I had tried ?send?, then ?dispatch?. None worked. Finally, I decided to try to find documentation. Best, Bill > On Feb 22, 2016, at 5:20 PM, Scott Rossi wrote: > > It looks like you're missing the parentheses in the function name. Try: > > put value("getValue()",group "myGroup" of card "myCard") into tVal > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/22/16, 5:08 PM, "use-livecode on behalf of William Prothero" > prothero at earthednet.org> wrote: > >> Folks: >> Sorry for the duplicate posting. But, the topic on my prev one was not >> descriptive and I need this to work. >> >> I think I?ve found a bug when trying to call a function and get a return >> value out of the message path. >> >> I make a stack with a group containing 2 buttons, and a 3rd button to >> call the function> >> >> Script of calling button >> on mouseUp >> breakpoint >> put value("getValue",group "myGroup" of card "myCard") into tVal >> end mouseUp >> >> Script of group named ?myGroup? >> function getValue >> return "This is my value" >> end getValue >> >> When I click the calling button, I get ?getValue? returned. The actual >> return value of the function is not returned. >> >> I?ve tested this in 7.1.2-r3 and 8.0.0 DP15. >> I?m using Mac OSX, El Capitan. >> >> Is it a bug? >> >> Bill >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Feb 22 20:40:26 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 22 Feb 2016 17:40:26 -0800 Subject: Re Topic'd. Probable LC bug getting return from a Value function In-Reply-To: <3FEAD88D-3B68-473E-B9BD-35DAA10DD3A9@gmail.com> References: <7EBCE773-9088-4B47-A736-66410DB08FDC@earthednet.org> <3FEAD88D-3B68-473E-B9BD-35DAA10DD3A9@gmail.com> Message-ID: <56CBB88A.9000208@ahsoftware.net> On 02/22/2016 05:30 PM, William Prothero wrote: > I had tried ?send?, then ?dispatch?. None worked. Finally, I decided to try to find documentation. Dispatch should also work: dispatch function "myFunction" to group "MyGroup" of card "myCard" -- Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Mon Feb 22 21:59:03 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 22 Feb 2016 21:59:03 -0500 Subject: Getting a return from a dispatch to a function In-Reply-To: <196B9A47-1C80-4286-ADBC-B930C6AAB207@earthednet.org> References: <196B9A47-1C80-4286-ADBC-B930C6AAB207@earthednet.org> Message-ID: <1530c10d16a-32f0-170ad@webprd-m83.mail.aol.com> William. You have mixed a function call with a command call. I did not test your handler, but do try this first: put value(getValue(group "myGroup" of card "myCard")) into tVal Craig Newman -----Original Message----- From: William Prothero To: Use-livecode Use-livecode Sent: Mon, Feb 22, 2016 7:58 pm Subject: Getting a return from a dispatch to a function Folks:I think I?ve found a bug when trying to call a function and get a return value out of the message path.I make a stack with a group containing 2 buttons, and a 3rd button to call the function>Script of calling buttonon mouseUp breakpoint put value("getValue",group "myGroup" of card "myCard") into tValend mouseUpScript of group named ?myGroup?function getValue return "This is my value"end getValueWhen I click the calling button, I get ?getValue? returned. The actual return value of the function is not returned.I?ve tested this in 7.1.2-r3 and 8.0.0 DP15. I?m using Mac OSX, El Capitan.Is it a bug?BillWilliam Prothero, Ph.D.University of California, Santa Barbara, Emeritusprothero at earthednet.org_______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Mon Feb 22 22:21:10 2016 From: warren at warrensweb.us (Warren Samples) Date: Mon, 22 Feb 2016 21:21:10 -0600 Subject: Finding UTC In-Reply-To: <5CC1511D-F15B-4A47-ABB7-9A7E5A53A1D3@mac.com> References: <4B219F36-EAC0-4E56-BE7E-4112AA147D57@mac.com> <5CC1511D-F15B-4A47-ABB7-9A7E5A53A1D3@mac.com> Message-ID: <56CBD026.1040905@warrensweb.us> On 02/21/2016 01:34 PM, Graham Samuel wrote: > Thanks to all those who replied - ?the internet date? was the answer I needed, since I then didn?t have to get out of my LiveCode comfort zone to do the calculation. I?m thinking of time-stamping some interactions that are going to go through a program I?m running on LiveCode Server. Right now I have it running on DreamHost, whose servers presumably stay in one place, but I wanted an invariant time stamp not depending on the location of the server or of any particular user, so I saw UTC as the way to go. > > My issue was that I didn?t know of a command that I could run on the server, or a url to a public time server, that would just give me UTC in its simplest form without leaving LiveCode - probably very lazy of me, but I want to keep things as simple as I can. I have now written a little homegrown routine that uses ?the internet date? which seems to work fine. > > Thanks again > > Graham For future reference, anyone needing this and running on a Linux server could do: put shell("date -u") which will return the current UTC time without any local timezone adjustment. Warren From richmondmathewson at gmail.com Tue Feb 23 05:59:43 2016 From: richmondmathewson at gmail.com (RM) Date: Tue, 23 Feb 2016 12:59:43 +0200 Subject: [ANN] Release 8.0.0 DP 15 In-Reply-To: References: <56CB2816.1050804@livecode.com> <56CB6434.90202@gmail.com> <56CB660F.9090104@gmail.com> Message-ID: <56CC3B9F.4070104@gmail.com> On 22.02.2016 22:38, Ali Lloyd wrote: > Do you have widgets ticked in the show controls submenu of the tools > palette settings? > > Where would I find the "submenu of the tools palette setting" ? I have searched throughout and cannot locate that. Richmond. From ali.lloyd at livecode.com Tue Feb 23 06:08:01 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Tue, 23 Feb 2016 11:08:01 +0000 Subject: [ANN] Release 8.0.0 DP 15 In-Reply-To: <56CC3B9F.4070104@gmail.com> References: <56CB2816.1050804@livecode.com> <56CB6434.90202@gmail.com> <56CB660F.9090104@gmail.com> <56CC3B9F.4070104@gmail.com> Message-ID: The tools palette settings menu pops up when you click the 'cog' icon at the top right of the tools palette. On Tue, Feb 23, 2016 at 10:59 AM RM wrote: > > > On 22.02.2016 22:38, Ali Lloyd wrote: > > Do you have widgets ticked in the show controls submenu of the tools > > palette settings? > > > > > Where would I find the "submenu of the tools palette setting" ? > > I have searched throughout and cannot locate that. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Tue Feb 23 06:20:46 2016 From: richmondmathewson at gmail.com (RM) Date: Tue, 23 Feb 2016 13:20:46 +0200 Subject: [ANN] Release 8.0.0 DP 15 In-Reply-To: References: <56CB2816.1050804@livecode.com> <56CB6434.90202@gmail.com> <56CB660F.9090104@gmail.com> <56CC3B9F.4070104@gmail.com> Message-ID: <56CC408E.1090309@gmail.com> On 23.02.2016 13:08, Ali Lloyd wrote: > The tools palette settings menu pops up when you click the 'cog' icon at > the top right of the tools palette. Um . . . I wonder if that is as intuitive as your interface developers think it is? All sections are set to visible, and if you take a look at the image I uploaded to the BUG report you will see that there is a large, grey, blank space where the widgets should show up. I notice that in Firefox and Thunderbird they use an odd, 3 horizontal lines sort of icon: neither worse nor better than the revTools cog . . . Possibly there's a chance for a debate about this right now . . . Richmond. > > On Tue, Feb 23, 2016 at 10:59 AM RM wrote: > >> >> On 22.02.2016 22:38, Ali Lloyd wrote: >>> Do you have widgets ticked in the show controls submenu of the tools >>> palette settings? >>> >>> >> Where would I find the "submenu of the tools palette setting" ? >> >> I have searched throughout and cannot locate that. >> >> 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 m.schonewille at economy-x-talk.com Tue Feb 23 06:49:09 2016 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 23 Feb 2016 12:49:09 +0100 Subject: Getting a return from a dispatch to a function In-Reply-To: <196B9A47-1C80-4286-ADBC-B930C6AAB207@earthednet.org> References: <196B9A47-1C80-4286-ADBC-B930C6AAB207@earthednet.org> Message-ID: <56CC4735.5020201@economy-x-talk.com> Bill, Have you tried this using value("getValue()",...) instead of value(getValue,...)? I think getValue is interpreted as a string. Probably, this isn't a bug but just how xTalk languages are supposed to work. 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 2/23/2016 om 01:55 schreef William Prothero: > Folks: > I think I?ve found a bug when trying to call a function and get a return value out of the message path. > > I make a stack with a group containing 2 buttons, and a 3rd button to call the function> > > Script of calling button > on mouseUp > breakpoint > put value("getValue",group "myGroup" of card "myCard") into tVal > end mouseUp > > Script of group named ?myGroup? > function getValue > return "This is my value" > end getValue > > When I click the calling button, I get ?getValue? returned. The actual return value of the function is not returned. > > I?ve tested this in 7.1.2-r3 and 8.0.0 DP15. > I?m using Mac OSX, El Capitan. > > Is it a bug? > > Bill > > > William Prothero, Ph.D. > University of California, Santa Barbara, Emeritus > prothero at earthednet.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 ali.lloyd at livecode.com Tue Feb 23 07:17:54 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Tue, 23 Feb 2016 12:17:54 +0000 Subject: [ANN] Release 8.0.0 DP 15 In-Reply-To: <56CC408E.1090309@gmail.com> References: <56CB2816.1050804@livecode.com> <56CB6434.90202@gmail.com> <56CB660F.9090104@gmail.com> <56CC3B9F.4070104@gmail.com> <56CC408E.1090309@gmail.com> Message-ID: Ah, well I imagine you would have tried it had it been there - it appears to be also missing from the tools palette in the image attached to your bug report! On Tue, Feb 23, 2016 at 11:20 AM RM wrote: > > > On 23.02.2016 13:08, Ali Lloyd wrote: > > The tools palette settings menu pops up when you click the 'cog' icon at > > the top right of the tools palette. > > Um . . . I wonder if that is as intuitive as your interface developers > think it is? > > All sections are set to visible, and if you take a look at the image I > uploaded to > the BUG report you will see that there is a large, grey, blank space > where the widgets should show up. > > I notice that in Firefox and Thunderbird they use an odd, 3 horizontal > lines sort of icon: neither > worse nor better than the revTools cog . . . > > Possibly there's a chance for a debate about this right now . . . > > Richmond. > > > > On Tue, Feb 23, 2016 at 10:59 AM RM wrote: > > > >> > >> On 22.02.2016 22:38, Ali Lloyd wrote: > >>> Do you have widgets ticked in the show controls submenu of the tools > >>> palette settings? > >>> > >>> > >> Where would I find the "submenu of the tools palette setting" ? > >> > >> I have searched throughout and cannot locate that. > >> > >> 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 shawnlivecode at gmail.com Tue Feb 23 08:16:50 2016 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 23 Feb 2016 07:16:50 -0600 Subject: leap to future In-Reply-To: References: <1455832050667-4701170.post@n4.nabble.com> Message-ID: I purchased a lifetime license on the kickstarter campaign and donated to the HTML 5 campaign. The main reason for donating to both was for HTML 5 and now you're saying that it's a separate license? What the heck is that all about? Cheated! On Fri, Feb 19, 2016 at 3:04 AM, Kevin Miller wrote: > Sorry if it wasn?t clear in the article. HTML5 remains a separate license. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > > > On 18/02/2016 21:47, "use-livecode on behalf of -hh" > > wrote: > > >Kevin M. wrote: > >> see in detail https://livecode.com/leap-to-future/ > > > >Yes, LC is great, worth its pricing, even if one is not using > >any of Monte's iOS externals: The other core-developers will > >have more time for their valuable work by that personal expanding. > > > >But sadly your explanations to the Indy license are quite unclear > >relating to HTML5. > > > >1. You argue with HTML5 development for the raise of Indy pricing. > >2. Recently we had to buy *separate* licenses for HTML5 deploying. > > > >Please explain the issue "HTML5" in detail for the example of a > >locked $499 Indy license. > > > >======= > >Hermann > > > > > > > >-- > >View this message in context: > > > http://runtime-revolution.278305.n4.nabble.com/leap-to-future-tp4701170.ht > >ml > >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 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Tue Feb 23 08:33:42 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 23 Feb 2016 21:33:42 +0800 Subject: leap to future In-Reply-To: References: <1455832050667-4701170.post@n4.nabble.com> Message-ID: On Tue, Feb 23, 2016 at 9:16 PM, Shawn Blc wrote: > I purchased a lifetime license on the kickstarter campaign... Cheated! > > How have you come to that conclusion. Didn't you receive an email on or about 23Jul14 from Kevin stating: As you know, you will receive a HTML5 license as per the agreement of your > Lifetime license What correspondence have you personally received to indicate your Lifetime license no longer allows you access to HTML5? Isn't Kevin's comments here about the average every day vast majority user who isn't a Lifetime license holder? From shawnlivecode at gmail.com Tue Feb 23 08:39:21 2016 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 23 Feb 2016 07:39:21 -0600 Subject: leap to future In-Reply-To: References: <1455832050667-4701170.post@n4.nabble.com> Message-ID: Well, when I launched LC and try to build HTML 5, I have a button that says Buy Now. I then saw Kevin's comments here. Perhaps I'm mistaken. I hope so. If so, I apologize in advance :) On Tue, Feb 23, 2016 at 7:33 AM, Kay C Lan wrote: > On Tue, Feb 23, 2016 at 9:16 PM, Shawn Blc > wrote: > > > I purchased a lifetime license on the kickstarter campaign... Cheated! > > > > How have you come to that conclusion. Didn't you receive an email on or > about 23Jul14 from Kevin stating: > > As you know, you will receive a HTML5 license as per the agreement of your > > Lifetime license > > What correspondence have you personally received to indicate your Lifetime > license no longer allows you access to HTML5? Isn't Kevin's comments here > about the average every day vast majority user who isn't a Lifetime license > holder? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Tue Feb 23 09:11:42 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 23 Feb 2016 15:11:42 +0100 Subject: leap to future In-Reply-To: References: <1455832050667-4701170.post@n4.nabble.com> Message-ID: Hi Shawn, the lifetime license from the 1st Kickstarter campaign is for all platforms Livecode supported at the time when the Kickstarter campaign ran and for all new platforms Livecode will support in future. That is a fact and already confirmed by Kevin in several posts and emails. If your license does not list Html5 as supported platform, then just drop the support team an email and ask them to add Html5 to your license. I?ve done so in the past. Regards, Matthias > Am 23.02.2016 um 14:39 schrieb Shawn Blc : > > Well, when I launched LC and try to build HTML 5, I have a button that says > Buy Now. I then saw Kevin's comments here. Perhaps I'm mistaken. I hope > so. If so, I apologize in advance :) > > On Tue, Feb 23, 2016 at 7:33 AM, Kay C Lan wrote: > >> On Tue, Feb 23, 2016 at 9:16 PM, Shawn Blc >> wrote: >> >>> I purchased a lifetime license on the kickstarter campaign... Cheated! >>> >>> How have you come to that conclusion. Didn't you receive an email on or >> about 23Jul14 from Kevin stating: >> >> As you know, you will receive a HTML5 license as per the agreement of your >>> Lifetime license >> >> What correspondence have you personally received to indicate your Lifetime >> license no longer allows you access to HTML5? Isn't Kevin's comments here >> about the average every day vast majority user who isn't a Lifetime license >> holder? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From shawnlivecode at gmail.com Tue Feb 23 09:19:04 2016 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 23 Feb 2016 08:19:04 -0600 Subject: leap to future In-Reply-To: References: <1455832050667-4701170.post@n4.nabble.com> Message-ID: Thanks everyone. That's what I did. Have a great day. On Tue, Feb 23, 2016 at 8:11 AM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > Hi Shawn, > > the lifetime license from the 1st Kickstarter campaign is for all > platforms Livecode supported at the time when the Kickstarter campaign ran > and for all new platforms Livecode will support in future. > That is a fact and already confirmed by Kevin in several posts and emails. > > If your license does not list Html5 as supported platform, then just drop > the support team an email and ask them to add Html5 to your license. > > I?ve done so in the past. > > Regards, > > Matthias > > > > Am 23.02.2016 um 14:39 schrieb Shawn Blc : > > > > Well, when I launched LC and try to build HTML 5, I have a button that > says > > Buy Now. I then saw Kevin's comments here. Perhaps I'm mistaken. I > hope > > so. If so, I apologize in advance :) > > > > On Tue, Feb 23, 2016 at 7:33 AM, Kay C Lan > wrote: > > > >> On Tue, Feb 23, 2016 at 9:16 PM, Shawn Blc > >> wrote: > >> > >>> I purchased a lifetime license on the kickstarter campaign... Cheated! > >>> > >>> How have you come to that conclusion. Didn't you receive an email on or > >> about 23Jul14 from Kevin stating: > >> > >> As you know, you will receive a HTML5 license as per the agreement of > your > >>> Lifetime license > >> > >> What correspondence have you personally received to indicate your > Lifetime > >> license no longer allows you access to HTML5? Isn't Kevin's comments > here > >> about the average every day vast majority user who isn't a Lifetime > license > >> holder? > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From smaclean at madmansoft.com Tue Feb 23 09:21:44 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 23 Feb 2016 09:21:44 -0500 Subject: leap to future In-Reply-To: References: <1455832050667-4701170.post@n4.nabble.com> Message-ID: Hi Shawn, You may need to re-license your copy of LC specifically for HTML5 deployment. Login to your account at livecode.com and see what licenses you have. You?ll see the HTML5 license separately. I have both HTML5 and Indy, but need to re-license my copy specifically for HTML5 when I want to work with HTML5. According to the reply I got from livecode support when I asked to have them merged, she said that?s not how the HTML5 license works and that hopefully at some point in the future, you can have them grouped together: "Thank you for your request. Unfortunately, I cannot do this. This is how the HTML5 license works currently, you have to relicense to use it. Hopefully at some point in the future the development team will alter how LiveCode handles the licensing so that this becomes possible.? hth, Steve MacLean > On Feb 23, 2016, at 8:39 AM, Shawn Blc wrote: > > Well, when I launched LC and try to build HTML 5, I have a button that says > Buy Now. I then saw Kevin's comments here. Perhaps I'm mistaken. I hope > so. If so, I apologize in advance :) > > On Tue, Feb 23, 2016 at 7:33 AM, Kay C Lan wrote: > >> On Tue, Feb 23, 2016 at 9:16 PM, Shawn Blc >> wrote: >> >>> I purchased a lifetime license on the kickstarter campaign... Cheated! >>> >>> How have you come to that conclusion. Didn't you receive an email on or >> about 23Jul14 from Kevin stating: >> >> As you know, you will receive a HTML5 license as per the agreement of your >>> Lifetime license >> >> What correspondence have you personally received to indicate your Lifetime >> license no longer allows you access to HTML5? Isn't Kevin's comments here >> about the average every day vast majority user who isn't a Lifetime license >> holder? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Feb 23 09:23:10 2016 From: james at thehales.id.au (James Hale) Date: Wed, 24 Feb 2016 01:23:10 +1100 Subject: updating progress to user during long handler Message-ID: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> I have a splash stack that loads and calls the main stack before closing. While the splash is being displayed the preopen handler in my main stack asks for a file to locate. Once located it then loads and processes the file before it takes over. The processing takes some time and I have been trying to work out a way of informing the user of what it taking place. I have a field on the splash stack which contains info text for the user and I would like to change this text as the processing is going on. I thought I could use something like this... put "Extracting epub...." into mupdate send "updateme mupdate" to stack "splash" wait 0 milliseconds with messages at different places within the processing handler and it would send the text off an update the splash stack field. (updateme is a handler in the splash stack script which simply enters "mupdate" into the field.) Obviously this doesn't work. First, can I do what I want? Second, where am I going wrong? Any help would be appreciated. James From dunbarx at aol.com Tue Feb 23 11:25:02 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 23 Feb 2016 11:25:02 -0500 Subject: updating progress to user during long handler In-Reply-To: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> References: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> Message-ID: <1530ef2be7a-51f1-17f89@webprd-m94.mail.aol.com> Hi. While you have your processing handler doing its thing, why not increment a progress bar at intervals? I do not know if that process knows accurately where it is along its journey, but this is the best feedback for the user. I have noticed progress bars that proceed nicely, giving the user hope for a speedy finish, and then "hang" 99% of the way through for a while. That is why I asked if your process "knows" its place. Craig Newman -----Original Message----- From: James Hale To: use-livecode Sent: Tue, Feb 23, 2016 9:25 am Subject: updating progress to user during long handler I have a splash stack that loads and calls the main stack before closing. While the splash is being displayed the preopen handler in my main stack asks for a file to locate. Once located it then loads and processes the file before it takes over. The processing takes some time and I have been trying to work out a way of informing the user of what it taking place. I have a field on the splash stack which contains info text for the user and I would like to change this text as the processing is going on. I thought I could use something like this... put "Extracting epub...." into mupdate send "updateme mupdate" to stack "splash" wait 0 milliseconds with messages at different places within the processing handler and it would send the text off an update the splash stack field. (updateme is a handler in the splash stack script which simply enters "mupdate" into the field.) Obviously this doesn't work. First, can I do what I want? Second, where am I going wrong? Any help would be appreciated. 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 mark at livecode.com Tue Feb 23 11:30:21 2016 From: mark at livecode.com (Mark Waddingham) Date: Tue, 23 Feb 2016 17:30:21 +0100 Subject: updating progress to user during long handler In-Reply-To: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> References: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> Message-ID: On 2016-02-23 15:23, James Hale wrote: > I thought I could use something like this... > > put "Extracting epub...." into mupdate > send "updateme mupdate" to stack "splash" > wait 0 milliseconds with messages > > at different places within the processing handler and it would send > the text off an update the splash stack field. > (updateme is a handler in the splash stack script which simply enters > "mupdate" into the field.) As far as I can see, that should work fine - the screen is updated after every command is executed (if necessary - i.e. something has changed) unless the commands are executed inside of a lock screen... Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jacque at hyperactivesw.com Tue Feb 23 13:18:31 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 23 Feb 2016 12:18:31 -0600 Subject: [ANN] Release 8.0.0 DP 15 In-Reply-To: <56CC408E.1090309@gmail.com> References: <56CB2816.1050804@livecode.com> <56CB6434.90202@gmail.com> <56CB660F.9090104@gmail.com> <56CC3B9F.4070104@gmail.com> <56CC408E.1090309@gmail.com> Message-ID: <1530f5aa0d8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On February 23, 2016 5:21:55 AM RM wrote: > I notice that in Firefox and Thunderbird they use an odd, 3 horizontal > lines sort of icon: neither > worse nor better than the revTools cog . . . That's a standard icon on Android at least, and it represents a list, usually in the form of a menu. In Android circles it's affectionately referred to as the "hamburger menu" - - though it's a pretty flat burger. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Feb 23 14:29:39 2016 From: richmondmathewson at gmail.com (RM) Date: Tue, 23 Feb 2016 21:29:39 +0200 Subject: [ANN] Release 8.0.0 DP 15 In-Reply-To: <1530f5aa0d8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <56CB2816.1050804@livecode.com> <56CB6434.90202@gmail.com> <56CB660F.9090104@gmail.com> <56CC3B9F.4070104@gmail.com> <56CC408E.1090309@gmail.com> <1530f5aa0d8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <56CCB323.2090305@gmail.com> Well; "burger', "cog" or something else? Personally a start might be to have the "cog" (if that's what we are going to have) with a lot more contrast against its background, or even "Heaven forfend" in a different colour. Richmond. On 23.02.2016 20:18, J. Landman Gay wrote: > On February 23, 2016 5:21:55 AM RM wrote: >> I notice that in Firefox and Thunderbird they use an odd, 3 horizontal >> lines sort of icon: neither >> worse nor better than the revTools cog . . . > > That's a standard icon on Android at least, and it represents a list, > usually in the form of a menu. In Android circles it's affectionately > referred to as the "hamburger menu" - - though it's a pretty flat burger. > > -- > 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 smaclean at madmansoft.com Tue Feb 23 14:36:47 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 23 Feb 2016 14:36:47 -0500 Subject: LCB library tutorials? Message-ID: Hi All, Looking to see if anyone has put up a tutorial for making an LCB library extension? I?ve been able to find Trevor Devore?s url_parser lib on github, but haven?t seen much else. If no tutorials, can someone describe the differences that need to be changed from widget to library? Thanks, Steve MacLean From prothero at earthednet.org Tue Feb 23 15:54:08 2016 From: prothero at earthednet.org (William Prothero) Date: Tue, 23 Feb 2016 12:54:08 -0800 Subject: Re Topic'd. Probable LC bug getting return from a Value function In-Reply-To: <56CBB88A.9000208@ahsoftware.net> References: <7EBCE773-9088-4B47-A736-66410DB08FDC@earthednet.org> <3FEAD88D-3B68-473E-B9BD-35DAA10DD3A9@gmail.com> <56CBB88A.9000208@ahsoftware.net> Message-ID: I tried all of the suggestions folks listed. Here are my results (OSX El Capitan, LC8 DP15): on mouseUp breakpoint put value("getValue()",group "myGroup" of card "myCard") into tVal1 (Result: Works correctly) --put value(getValue(group "myGroup" of card "myCard")) into tVal2 (Result: Throws an error) dispatch function "myFunction" to group "MyGroup" of card ?myCard? Result: returns ?unhandled") dispatch function ?myFunction()" to group "MyGroup" of card ?myCard? Result: returns ?unhandled") put value("getBtnValue()", button "inGroup" of group "myGroup" of card "myCard") into tVal3 (Result: Works correctly) put value("getBtnValue()", button "inGroup" of card "myCard") into tVal4 (Result: Works correctly) end mouseUp Thanks for all the suggestions. Note: There is still the error in the livecode lessons. I?ll post a bug report on that one. Best, Bill > On Feb 22, 2016, at 5:40 PM, Mark Wieder wrote: > > On 02/22/2016 05:30 PM, William Prothero wrote: > >> I had tried ?send?, then ?dispatch?. None worked. Finally, I decided to try to find documentation. > > Dispatch should also work: > > dispatch function "myFunction" to group "MyGroup" of card "myCard" > > -- > 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 smaclean at madmansoft.com Tue Feb 23 16:59:44 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 23 Feb 2016 16:59:44 -0500 Subject: LCB: Error: illegal escape in string Message-ID: <845B22F2-0030-420F-AA39-E8DD4FE2B0CA@madmansoft.com> Hi All, Working to build a library extension and I?m getting an error on this line when I go to test it in LCB: put "^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$" into tRegex The error is: illegal escape in string '^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$? Any ideas? Thanks, Steve MacLean From jf_byrnes at comcast.net Tue Feb 23 17:16:00 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Tue, 23 Feb 2016 16:16:00 -0600 Subject: Cursor changes to a hand in the ide Message-ID: I am running the Community Edition vers 7.1.1 Build 10048 on Ubuntu 14.04. I am just getting started with Livecode and was laying out the gui for my first little project. I'm not sure what I did but the cursor changed to the hand pointer and now I can no longer work with any of my controls. Most of the menu items are greyed out but I could select quit. When I did that I was allowed to save my work, but when I opened it back up I still could not get rid of the hand pointer. Clicking on the run tool or edit tool does nothing. Do any of you experienced people have any idea what I could have done to cause this and how I can get back to normal operations? Thanks, Jim From revdev at pdslabs.net Tue Feb 23 18:25:15 2016 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 23 Feb 2016 15:25:15 -0800 Subject: LCB: Error: illegal escape in string In-Reply-To: <845B22F2-0030-420F-AA39-E8DD4FE2B0CA@madmansoft.com> References: <845B22F2-0030-420F-AA39-E8DD4FE2B0CA@madmansoft.com> Message-ID: <56CCEA5B.1040807@pdslabs.net> I'm not much of a regex guy, but what happens if you remove the backslash after {1,63} ? I assume something will probably stop working, but that's the only \ in the string. Phil Davis On 2/23/16 1:59 PM, Stephen MacLean wrote: > Hi All, > > Working to build a library extension and I?m getting an error on this line when I go to test it in LCB: > > put "^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$" into tRegex > > The error is: > > illegal escape in string '^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$? > > Any ideas? > > Thanks, > > Steve MacLean > > _______________________________________________ > use-livecode mailing list > use-livecode 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 harrison at all-auctions.com Tue Feb 23 18:42:40 2016 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 23 Feb 2016 18:42:40 -0500 Subject: Email Test 1 Message-ID: Hi Heather and LiveCoders, I?ve noticed that my posts to the lists haven?t been showing up at all for a few months, so we are trying to solve the problem. If anyone on the Use list or Dev List sees this email please let me know, so I?ll know things are good again. Thanks, Rick From stephenREVOLUTION2 at barncard.com Tue Feb 23 19:04:52 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 23 Feb 2016 16:04:52 -0800 Subject: Email Test 1 In-Reply-To: References: Message-ID: Rick I see it here. Are you using Gmail? sqb Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Tue, Feb 23, 2016 at 3:42 PM, Rick Harrison wrote: > Hi Heather and LiveCoders, > > I?ve noticed that my posts to the lists haven?t been > showing up at all for a few months, so we are > trying to solve the problem. If anyone on the > Use list or Dev List sees this email please let > me know, so I?ll know things are good again. > > Thanks, > > Rick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From james at thehales.id.au Tue Feb 23 18:42:41 2016 From: james at thehales.id.au (jameshale) Date: Tue, 23 Feb 2016 15:42:41 -0800 (PST) Subject: updating progress to user during long handler In-Reply-To: <1530ef2be7a-51f1-17f89@webprd-m94.mail.aol.com> References: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> <1530ef2be7a-51f1-17f89@webprd-m94.mail.aol.com> Message-ID: <1456270961720-4701338.post@n4.nabble.com> Hi Craig, This is what I initially did but, as you surmised, I actually had no way of knowing or predicting the actual progress. I then made some calculations and 'step' loops placing a sequence of progress bar updates. Didn't work. Some bars didn't show and those that did didn't progress. Hence I thought of the simpler solution of just informing the user of what is going on. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/updating-progress-to-user-during-long-handler-tp4701326p4701338.html Sent from the Revolution - User mailing list archive at Nabble.com. From james at thehales.id.au Tue Feb 23 18:44:13 2016 From: james at thehales.id.au (jameshale) Date: Tue, 23 Feb 2016 15:44:13 -0800 (PST) Subject: updating progress to user during long handler In-Reply-To: References: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> Message-ID: <1456271053129-4701339.post@n4.nabble.com> Hi Mark, Hmm, it is possible I have a lock screen buried in there somewhere. I will check it out. Good to know the code should work. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/updating-progress-to-user-during-long-handler-tp4701326p4701339.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Tue Feb 23 20:39:12 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 23 Feb 2016 17:39:12 -0800 Subject: Build Number for Mobile Standalones? Message-ID: Is there any way to get/set a build number for a mobile standalone like the build number used in Xcode? I'm not looking to set a custom property, but rather use a real build number that is saved along with the app's version number. Thanks for any pointers for this. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From smaclean at madmansoft.com Tue Feb 23 20:55:29 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 23 Feb 2016 20:55:29 -0500 Subject: LCB: Error: illegal escape in string In-Reply-To: <56CCEA5B.1040807@pdslabs.net> References: <845B22F2-0030-420F-AA39-E8DD4FE2B0CA@madmansoft.com> <56CCEA5B.1040807@pdslabs.net> Message-ID: <8E1FF1EE-5660-4A94-90D0-9899C2288359@madmansoft.com> Hi Phil, Thanks for responding, I?m not one either and it works fine with no issues when run directly in LC. Removing the ?\? does cure the error, but of course doesn?t work any more. So the question I guess is two fold: 1) Why is that considered an escape character when it is enclosed in quotes and 2) How do you escape it? Sorry, trying to learn LCB. Documentation is hard to find, at least for me. The dictionary for LCB is very light at the moment. Thanks, Steve MacLean > On Feb 23, 2016, at 6:25 PM, Phil Davis wrote: > > I'm not much of a regex guy, but what happens if you remove the backslash after {1,63} ? I assume something will probably stop working, but that's the only \ in the string. > > Phil Davis > > > > On 2/23/16 1:59 PM, Stephen MacLean wrote: >> Hi All, >> >> Working to build a library extension and I?m getting an error on this line when I go to test it in LCB: >> >> put "^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$" into tRegex >> >> The error is: >> >> illegal escape in string '^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$? >> >> Any ideas? >> >> Thanks, >> >> Steve MacLean >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Feb 23 20:57:27 2016 From: pete at lcsql.com (Peter Haworth) Date: Wed, 24 Feb 2016 01:57:27 +0000 Subject: LCB: Error: illegal escape in string In-Reply-To: <8E1FF1EE-5660-4A94-90D0-9899C2288359@madmansoft.com> References: <845B22F2-0030-420F-AA39-E8DD4FE2B0CA@madmansoft.com> <56CCEA5B.1040807@pdslabs.net> <8E1FF1EE-5660-4A94-90D0-9899C2288359@madmansoft.com> Message-ID: Doesn't seem like it should be treated as an escape character since it's in quotes, as you say. I'd enter a QCC report about it and see what the LCB team have to say. On Tue, Feb 23, 2016 at 5:55 PM Stephen MacLean wrote: > Hi Phil, > > Thanks for responding, I?m not one either and it works fine with no issues > when run directly in LC. > > Removing the ?\? does cure the error, but of course doesn?t work any more. > > So the question I guess is two fold: 1) Why is that considered an escape > character when it is enclosed in quotes and 2) How do you escape it? > > Sorry, trying to learn LCB. Documentation is hard to find, at least for > me. The dictionary for LCB is very light at the moment. > > Thanks, > > Steve MacLean > > > On Feb 23, 2016, at 6:25 PM, Phil Davis wrote: > > > > I'm not much of a regex guy, but what happens if you remove the > backslash after {1,63} ? I assume something will probably stop working, > but that's the only \ in the string. > > > > Phil Davis > > > > > > > > On 2/23/16 1:59 PM, Stephen MacLean wrote: > >> Hi All, > >> > >> Working to build a library extension and I?m getting an error on this > line when I go to test it in LCB: > >> > >> put "^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$" > into tRegex > >> > >> The error is: > >> > >> illegal escape in string '^[A-Z0-9._%+-]{1,64}@ > (?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$? > >> > >> Any ideas? > >> > >> Thanks, > >> > >> Steve MacLean > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Tue Feb 23 20:59:06 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 23 Feb 2016 17:59:06 -0800 Subject: Datagrid Scrolling is GLACIAL. Message-ID: Is there any trick to speed up a datagrid's scrolling? I've come back to an old project started in stable 6 and I don't remember it being so slow... MACOS Yosemite latest versions of 8 and 7 - Mac Pro 5,1 17gigs ram 350 records 13 fields. Almost useless. really slow. Is it time for the DG to be 'binary' ? Possible? It's one of the coolest features and I'd love to use it. ??? Stephen Barncard - Sebastopol Ca. USA - mixstream.org From james at thehales.id.au Tue Feb 23 22:07:20 2016 From: james at thehales.id.au (James Hale) Date: Wed, 24 Feb 2016 14:07:20 +1100 Subject: updating progress to user during long handler Message-ID: <3C751E29-70F1-4C82-AF47-3A20458F2C5A@thehales.id.au> Ok, so no lockscreens anywhere in the routines being called from start to end. Guess the problem lies elsewhere. I put in a few BEEPs at each 'progressive step and they all fired ok but there was still no update to the text in my splash stack. I am using the glx framework and it might be that it is getting in the way. Frustrating. From james at thehales.id.au Tue Feb 23 22:11:52 2016 From: james at thehales.id.au (James Hale) Date: Wed, 24 Feb 2016 14:11:52 +1100 Subject: leap to future Message-ID: <29B30F47-5C6B-4EE9-AC3F-CB2755B207DE@thehales.id.au> Soon after HTML5 was released I too remembered Kevin's announcement and wondered why I was not seeing HTML5 in my license. I wrote to support and soon after HTML5 appeared in my license for all LC8's. So I am not sure what to make of the response from support stating they are separate as for me, and I guess quite a few others, they are not. James From revdev at pdslabs.net Tue Feb 23 22:23:07 2016 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 23 Feb 2016 19:23:07 -0800 Subject: updating progress to user during long handler In-Reply-To: <3C751E29-70F1-4C82-AF47-3A20458F2C5A@thehales.id.au> References: <3C751E29-70F1-4C82-AF47-3A20458F2C5A@thehales.id.au> Message-ID: <56CD221B.2010602@pdslabs.net> Hi James, I find it sometimes helps to lock & unlock the screen right after updating a progress bar, when it's part of a long process at least. Or throw in a "wait 0 seconds" right after it - that can help too. It seems the OS sometimes needs a reminder that it's time for it to update the screen. Thanks - Phil On 2/23/16 7:07 PM, James Hale wrote: > Ok, so no lockscreens anywhere in the routines being called from start to end. > Guess the problem lies elsewhere. > I put in a few BEEPs at each 'progressive step and they all fired ok but there was still no update to the text in my splash stack. > I am using the glx framework and it might be that it is getting in the way. > Frustrating. > _______________________________________________ > use-livecode mailing list > use-livecode 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 scott at tactilemedia.com Wed Feb 24 01:45:28 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 23 Feb 2016 22:45:28 -0800 Subject: Hi-Res Images at Natural Size? Message-ID: I hope I'm missing something with regard to displaying hi res images in a mobile (iOS) stack... If one has a mobile stack built at "natural size" (say 320 x 568, iPhone 5), is it possible to display hi res images in the stack without resizing the stack? I have an image that's saved at double the stack resolution (say 640 x 640), but no matter what I try, I can't seem to scale the image down to fit the stack while maintaining its "hi-resiness" -- the image always appears soft. I'm wondering if this is because LC is scaling the stack to fit the screen, so regardless of resizeQuality and original resolution, the image is displayed upscaled? Is there some combination of the dozen or so screen-mobile-pixel-density-factor-scaling properties that I'm missing? Am at loss -- thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From peter.brett at livecode.com Wed Feb 24 03:08:38 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 24 Feb 2016 08:08:38 +0000 Subject: LCB: Error: illegal escape in string In-Reply-To: <845B22F2-0030-420F-AA39-E8DD4FE2B0CA@madmansoft.com> References: <845B22F2-0030-420F-AA39-E8DD4FE2B0CA@madmansoft.com> Message-ID: <56CD6506.1030409@livecode.com> On 23/02/2016 21:59, Stephen MacLean wrote: > Hi All, > > Working to build a library extension and I?m getting an error on this line when I go to test it in LCB: > > put "^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$" into tRegex > > The error is: > > illegal escape in string '^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$? Hi Stephen, In LiveCode Builder, quoted strings treat the '\' character as an escape character. It's explained in the LiveCode Builder Language Reference guide. So, you need to replace your '\' with '\\', and everything should work nicely for you. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Wed Feb 24 03:14:57 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 24 Feb 2016 08:14:57 +0000 Subject: leap to future In-Reply-To: <29B30F47-5C6B-4EE9-AC3F-CB2755B207DE@thehales.id.au> References: <29B30F47-5C6B-4EE9-AC3F-CB2755B207DE@thehales.id.au> Message-ID: <56CD6681.4050800@livecode.com> On 24/02/2016 03:11, James Hale wrote: > Soon after HTML5 was released I too remembered Kevin's announcement and wondered why I was not seeing HTML5 in my license. > I wrote to support and soon after HTML5 appeared in my license for all LC8's. > So I am not sure what to make of the response from support stating they are separate as for me, and I guess quite a few others, they are not. They're not "separate licenses". Handy HTML5 licensing flowchart: 1. You can check if you have HTML5 deployment entitlement on your account information page on the LiveCode website. 2. If it doesn't show up there, and you think it should, contact support. 3. If it does show up there, but the IDE won't let you deploy, you may need to use "Help -> Re-license LiveCode" to download an updated license file. 4. If *that* doesn't work, then contact support. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Wed Feb 24 05:09:00 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 24 Feb 2016 10:09:00 +0000 Subject: LCB library tutorials? In-Reply-To: References: Message-ID: <56CD813C.7000904@livecode.com> On 23/02/2016 19:36, Stephen MacLean wrote: > Looking to see if anyone has put up a tutorial for making an LCB library extension? > > I?ve been able to find Trevor Devore?s url_parser lib on github, but haven?t seen much else. > > If no tutorials, can someone describe the differences that need to be changed from widget to library? Hi Stephen, You can look at the JSON Library extension that we ship with LiveCode 8 as an example of an LCB library. The source code is here on GitHub: https://github.com/livecode/livecode/blob/develop/extensions/libraries/json/json.lcb Basically, you declare the module as a "library" instead of a "widget". All "public" handlers are then added to the LiveCode message path, after everything else. That's it! Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Wed Feb 24 05:11:20 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 24 Feb 2016 10:11:20 +0000 Subject: Free BasicClock desktop clock for OSX In-Reply-To: References: <56C1BAD2.50203@livecode.com> Message-ID: <56CD81C8.2060003@livecode.com> On 16/02/2016 03:23, Kay C Lan wrote: > On Mon, Feb 15, 2016 at 7:47 PM, Peter TB Brett > wrote: > >> >> Is your clock open source? At the moment it has "All rights reserved" in >> the copyright... >> >> I don't have a Community Edition of LC in front of me but I know for the > other editions: > > All rights reserved worldwide > > is the default entry in the Copyright Notice box of the Standalone > Application Settings (Win & Mac only). Is this automatically replaced with > 'Licensed under GNU General Public License version 2 - GPL2' (or words to > that effect) for the Community Edition? If not, it should be. I agree. Can you please file a bug report, so we don't forget about it? Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Wed Feb 24 05:12:35 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 24 Feb 2016 10:12:35 +0000 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <1454942234194-4700894.post@n4.nabble.com> References: <1454942234194-4700894.post@n4.nabble.com> Message-ID: <56CD8213.8010801@livecode.com> On 08/02/2016 14:37, Martin Koob wrote: > I tried the same thing with a remote URL to an mp4 video file. Same result > it plays in the IDE but not in HTML5. > > I checked your bug report http://quality.livecode.com/show_bug.cgi?id=16870 > and see that the response from Peter Brett that 'Player support has not yet > been implemented in the HTML5 engine'. > > Hopefully Peter can respond here with an ETA for Player support in the HTML5 > engine. > > What types of video and audio files will it be expected to play? Hi Martin and Brahmanathaswami, There is no current ETA for implementing player support in the HTML5 engine. I can confirm that it *won't* be in LiveCode 8.0, however. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Wed Feb 24 05:19:41 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 24 Feb 2016 10:19:41 +0000 Subject: html5 & liveCode In-Reply-To: References: Message-ID: <56CD83BD.4090603@livecode.com> On 10/02/2016 12:34, John Dixon wrote: > Is there a list somewhere about what is working and what is not with html 5 ? For a rough overview, see the "HTML5 engine features" section of the "HTML5 Deployment" guide. I try to keep it reasonably up-to-date. Beyond that, I mostly use "the list of open HTML5 bugs" as my reference for what's working and what isn't. I don't keep a separate list because it would be out-of-date pretty much continuously. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Wed Feb 24 05:26:43 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 24 Feb 2016 10:26:43 +0000 Subject: Black icons in LC 8 DP 14 In-Reply-To: References: <56B83658.8000602@gmail.com> <56B849C6.90806@livecode.com> Message-ID: <56CD8563.1000604@livecode.com> On 08/02/2016 19:01, Devin Asay wrote: > In the new toolbar, yes there are very clean and clear scalable icons, but when you change modes there is only one visual change?a small circle with slash appears atop the icon. Too me it?s nowhere near as clear that you?ve entered a ?special? mode: ?messages are locked?, ?you are now in select grouped controls mode?, ?you are now editing the group?, etc. Hi Devin, The bold is missing on Mac OS X 10.11 due to some weirdness with the special system UI fonts that we now make available for the native theme. You can follow progress on this bug here: http://quality.livecode.com/show_bug.cgi?id=17000 Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Wed Feb 24 05:29:59 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 24 Feb 2016 10:29:59 +0000 Subject: HTML5 "Features" Library Substacks and "send ### in time" In-Reply-To: References: Message-ID: <56CD8627.1060601@livecode.com> On 07/02/2016 01:59, Sannyasin Brahmanathaswami wrote: > > Yikes? ! I just read this today? after seeing the newsletter and then looking in the guide in LC 8 dp 14 > > > "The HTML5 engine in this release of LiveCode has a limited range of features. You can: > > deploy single-stack applications with embedded resources" > > BR: Does this mean you cannot include a libraty stack such as Animation Engine? You can definitely include the Animation Engine as a library stack. Simply add it to the "Copy Files" list. > "Two important unsupported features are unlikely to be added in the near future: > > operations that need to pause the script while something happens (e.g. wait 10)" > > > BR: Ouch! no ?wait? ? OK, all is fair in love and war and if ?wait? is a performance beast, so be it. > > But will html5 support ?send in time? > > > > send ?scene1Scenario2? to this card in 2 second? > > ?? Yes, "send in time" should work just fine -- indeed, most of the HTML5 demo stacks on the forums make heavy use of it. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From smaclean at madmansoft.com Wed Feb 24 07:26:14 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Wed, 24 Feb 2016 07:26:14 -0500 Subject: LCB: Error: illegal escape in string In-Reply-To: <56CD6506.1030409@livecode.com> References: <845B22F2-0030-420F-AA39-E8DD4FE2B0CA@madmansoft.com> <56CD6506.1030409@livecode.com> Message-ID: <53C67179-EBE2-4591-8376-FF05216A3A4D@madmansoft.com> > On Feb 24, 2016, at 3:08 AM, Peter TB Brett wrote: > > On 23/02/2016 21:59, Stephen MacLean wrote: >> Hi All, >> >> Working to build a library extension and I?m getting an error on this line when I go to test it in LCB: >> >> put "^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$" into tRegex >> >> The error is: >> >> illegal escape in string '^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$? > > Hi Stephen, > > In LiveCode Builder, quoted strings treat the '\' character as an escape character. It's explained in the LiveCode Builder Language Reference guide. > > So, you need to replace your '\' with '\\', and everything should work nicely for you. > > Peter > Hi Peter, Thanks for that, I will give it a try! Can you explain why it?s treated that way inside a quoted string? Just curious:) Also, can you point me to the LCB Language Reference guide? Or is that what?s in the dictionary? I?d love to be able to dive into an actual reference! Thanks! Steve MacLean From smaclean at madmansoft.com Wed Feb 24 07:34:34 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Wed, 24 Feb 2016 07:34:34 -0500 Subject: leap to future In-Reply-To: <56CD6681.4050800@livecode.com> References: <29B30F47-5C6B-4EE9-AC3F-CB2755B207DE@thehales.id.au> <56CD6681.4050800@livecode.com> Message-ID: > On Feb 24, 2016, at 3:14 AM, Peter TB Brett wrote: > > On 24/02/2016 03:11, James Hale wrote: >> Soon after HTML5 was released I too remembered Kevin's announcement and wondered why I was not seeing HTML5 in my license. >> I wrote to support and soon after HTML5 appeared in my license for all LC8's. >> So I am not sure what to make of the response from support stating they are separate as for me, and I guess quite a few others, they are not. > > They're not "separate licenses". Handy HTML5 licensing flowchart: > > 1. You can check if you have HTML5 deployment entitlement on your account information page on the LiveCode website. > > 2. If it doesn't show up there, and you think it should, contact support. > > 3. If it does show up there, but the IDE won't let you deploy, you may need to use "Help -> Re-license LiveCode" to download an updated license file. > > 4. If *that* doesn't work, then contact support. > > Peter > Hi Peter, Just an FYI, I have two different licenses listed under my account. One for all the current platforms and one just for HTML5, which I bought separately. I contacted support to ask to have them merged, so I could use the one license to do all of them in one shot instead of having to re-license my copy of LC every time I want to use HTML5, etc. I was told that it wasn?t possible to do that at this time, but maybe in the future. If it helps, the ticket was [Ticket#2016021510001946]. Thanks, Steve MacLean From james at thehales.id.au Wed Feb 24 08:24:08 2016 From: james at thehales.id.au (jameshale) Date: Wed, 24 Feb 2016 05:24:08 -0800 (PST) Subject: updating progress to user during long handler In-Reply-To: <56CD221B.2010602@pdslabs.net> References: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> <3C751E29-70F1-4C82-AF47-3A20458F2C5A@thehales.id.au> <56CD221B.2010602@pdslabs.net> Message-ID: <1456320248180-4701358.post@n4.nabble.com> Thanks for the thought Phil Phil Davis-5 wrote > I find it sometimes helps to lock & unlock the screen right after > ...... Tried it but no change. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/updating-progress-to-user-during-long-handler-tp4701326p4701358.html Sent from the Revolution - User mailing list archive at Nabble.com. From colinholgate at gmail.com Wed Feb 24 04:38:53 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 24 Feb 2016 04:38:53 -0500 Subject: Hi-Res Images at Natural Size? In-Reply-To: References: Message-ID: Does iphoneUseDeviceResolution help at all? > On Feb 24, 2016, at 1:45 AM, Scott Rossi wrote: > > I hope I'm missing something with regard to displaying hi res images in a > mobile (iOS) stack... > > > If one has a mobile stack built at "natural size" (say 320 x 568, iPhone > 5), is it possible to display hi res images in the stack without resizing > the stack? > > I have an image that's saved at double the stack resolution (say 640 x > 640), but no matter what I try, I can't seem to scale the image down to > fit the stack while maintaining its "hi-resiness" -- the image always > appears soft. I'm wondering if this is because LC is scaling the stack to > fit the screen, so regardless of resizeQuality and original resolution, > the image is displayed upscaled? Is there some combination of the dozen > or so screen-mobile-pixel-density-factor-scaling properties that I'm > missing? > > Am at loss -- thanks for any suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design From iowahengst at mac.com Wed Feb 24 10:00:44 2016 From: iowahengst at mac.com (Randy Hengst) Date: Wed, 24 Feb 2016 09:00:44 -0600 Subject: Hi-Res Images at Natural Size? In-Reply-To: References: Message-ID: <541F3E3D-878A-4C45-87EB-9404CA2A8BB8@mac.com> Scott, When I include an image in an iPad app I reduce height and width by half, lock the image, and set quality to ?good?. The resulting display in the IDE and simulator does look soft. However, the same image looks sharp on the device. I just checked that again on an iPad Air. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Feb 24, 2016, at 3:38 AM, Colin Holgate wrote: > > Does iphoneUseDeviceResolution help at all? > > >> On Feb 24, 2016, at 1:45 AM, Scott Rossi wrote: >> >> I hope I'm missing something with regard to displaying hi res images in a >> mobile (iOS) stack... >> >> >> If one has a mobile stack built at "natural size" (say 320 x 568, iPhone >> 5), is it possible to display hi res images in the stack without resizing >> the stack? >> >> I have an image that's saved at double the stack resolution (say 640 x >> 640), but no matter what I try, I can't seem to scale the image down to >> fit the stack while maintaining its "hi-resiness" -- the image always >> appears soft. I'm wondering if this is because LC is scaling the stack to >> fit the screen, so regardless of resizeQuality and original resolution, >> the image is displayed upscaled? Is there some combination of the dozen >> or so screen-mobile-pixel-density-factor-scaling properties that I'm >> missing? >> >> Am at loss -- thanks for any suggestions. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Feb 24 10:27:22 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 24 Feb 2016 07:27:22 -0800 Subject: Hi-Res Images at Natural Size? In-Reply-To: References: Message-ID: Thanks Colin, this was the first thing I tried. Doesn't seem to make a difference, except for the true/true setting that doubles the resolution and displays everything in the stack at half size. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/24/16, 1:38 AM, "use-livecode on behalf of Colin Holgate" wrote: >Does iphoneUseDeviceResolution help at all? > > >> On Feb 24, 2016, at 1:45 AM, Scott Rossi wrote: >> >> I hope I'm missing something with regard to displaying hi res images in >>a >> mobile (iOS) stack... >> >> >> If one has a mobile stack built at "natural size" (say 320 x 568, iPhone >> 5), is it possible to display hi res images in the stack without >>resizing >> the stack? >> >> I have an image that's saved at double the stack resolution (say 640 x >> 640), but no matter what I try, I can't seem to scale the image down to >> fit the stack while maintaining its "hi-resiness" -- the image always >> appears soft. I'm wondering if this is because LC is scaling the stack >>to >> fit the screen, so regardless of resizeQuality and original resolution, >> the image is displayed upscaled? Is there some combination of the dozen >> or so screen-mobile-pixel-density-factor-scaling properties that I'm >> missing? >> >> Am at loss -- thanks for any suggestions. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design > From scott at tactilemedia.com Wed Feb 24 10:30:12 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 24 Feb 2016 07:30:12 -0800 Subject: Hi-Res Images at Natural Size? In-Reply-To: <541F3E3D-878A-4C45-87EB-9404CA2A8BB8@mac.com> References: <541F3E3D-878A-4C45-87EB-9404CA2A8BB8@mac.com> Message-ID: Thanks for comment Randy. Maybe the view in the simulator IS just disturbingly soft compared to a device. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/24/16, 7:00 AM, "use-livecode on behalf of Randy Hengst" wrote: >Scott, > >When I include an image in an iPad app I reduce height and width by half, >lock the image, and set quality to ?good?. The resulting display in the >IDE and simulator does look soft. However, the same image looks sharp on >the device. I just checked that again on an iPad Air. > >be well, >randy > >Randy Hengst >www.classroomFocusedSoftware.com > > >> On Feb 24, 2016, at 3:38 AM, Colin Holgate >>wrote: >> >> Does iphoneUseDeviceResolution help at all? >> >> >>> On Feb 24, 2016, at 1:45 AM, Scott Rossi >>>wrote: >>> >>> I hope I'm missing something with regard to displaying hi res images >>>in a >>> mobile (iOS) stack... >>> >>> >>> If one has a mobile stack built at "natural size" (say 320 x 568, >>>iPhone >>> 5), is it possible to display hi res images in the stack without >>>resizing >>> the stack? >>> >>> I have an image that's saved at double the stack resolution (say 640 x >>> 640), but no matter what I try, I can't seem to scale the image down to >>> fit the stack while maintaining its "hi-resiness" -- the image always >>> appears soft. I'm wondering if this is because LC is scaling the >>>stack to >>> fit the screen, so regardless of resizeQuality and original resolution, >>> the image is displayed upscaled? Is there some combination of the >>>dozen >>> or so screen-mobile-pixel-density-factor-scaling properties that I'm >>> missing? >>> >>> Am at loss -- thanks for any suggestions. >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >> From peter.brett at livecode.com Wed Feb 24 10:41:35 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 24 Feb 2016 15:41:35 +0000 Subject: LCB: Error: illegal escape in string In-Reply-To: <53C67179-EBE2-4591-8376-FF05216A3A4D@madmansoft.com> References: <845B22F2-0030-420F-AA39-E8DD4FE2B0CA@madmansoft.com> <56CD6506.1030409@livecode.com> <53C67179-EBE2-4591-8376-FF05216A3A4D@madmansoft.com> Message-ID: <56CDCF2F.6050608@livecode.com> On 24/02/2016 12:26, Stephen MacLean wrote: >> Hi Stephen, >> >> In LiveCode Builder, quoted strings treat the '\' character as an escape character. It's explained in the LiveCode Builder Language Reference guide. >> >> So, you need to replace your '\' with '\\', and everything should work nicely for you. > > Thanks for that, I will give it a try! > > Can you explain why it?s treated that way inside a quoted string? Just curious:) While we were designing LiveCode Builder, we wanted to make it easier to create string literals with *any* character in them, including the quote character, control characters, and non-native characters. This requires the use of some sort of "escape character" to indicate the start of special sequences. We could have come up with our own, LiveCode-specific one, but most programming languages use "\" so that's what we went with. There didn't seem to be much to gain by being different for the sake of being different. This does make writing complex string literals quite a bit easier. For example, in LiveCode builder you can write: put "\"Come to the pub for a beer,\" she said.\n" into tVar rather than the LiveCode Script equivalent: put quote & "Come to the pub for a beer," & quote && "she said." & return into tVar > Also, can you point me to the LCB Language Reference guide? Or is that what?s in the dictionary? I?d love to be able to dive into an actual reference! 1. Open the 8.0.0-dp-15 IDE 2. Open the dictionary 3. Switch to the "Guides" tab 4. Select "LiveCode Builder Language Reference" from the menu. There's also a "LiveCode Builder" API reference in the dictionary. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From smaclean at madmansoft.com Wed Feb 24 10:50:51 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Wed, 24 Feb 2016 10:50:51 -0500 Subject: LCB: Error: illegal escape in string In-Reply-To: <56CDCF2F.6050608@livecode.com> References: <845B22F2-0030-420F-AA39-E8DD4FE2B0CA@madmansoft.com> <56CD6506.1030409@livecode.com> <53C67179-EBE2-4591-8376-FF05216A3A4D@madmansoft.com> <56CDCF2F.6050608@livecode.com> Message-ID: > On Feb 24, 2016, at 10:41 AM, Peter TB Brett wrote: > > On 24/02/2016 12:26, Stephen MacLean wrote: >>> Hi Stephen, >>> >>> In LiveCode Builder, quoted strings treat the '\' character as an escape character. It's explained in the LiveCode Builder Language Reference guide. >>> >>> So, you need to replace your '\' with '\\', and everything should work nicely for you. > > >> Thanks for that, I will give it a try! >> >> Can you explain why it?s treated that way inside a quoted string? Just curious:) > > While we were designing LiveCode Builder, we wanted to make it easier to create string literals with *any* character in them, including the quote character, control characters, and non-native characters. > > This requires the use of some sort of "escape character" to indicate the start of special sequences. We could have come up with our own, LiveCode-specific one, but most programming languages use "\" so that's what we went with. There didn't seem to be much to gain by being different for the sake of being different. > > This does make writing complex string literals quite a bit easier. For example, in LiveCode builder you can write: > > put "\"Come to the pub for a beer,\" she said.\n" into tVar > > rather than the LiveCode Script equivalent: > > put quote & "Come to the pub for a beer," & quote && "she said." & return into tVar > >> Also, can you point me to the LCB Language Reference guide? Or is that what?s in the dictionary? I?d love to be able to dive into an actual reference! > > 1. Open the 8.0.0-dp-15 IDE > > 2. Open the dictionary > > 3. Switch to the "Guides" tab > > 4. Select "LiveCode Builder Language Reference" from the menu. > > There's also a "LiveCode Builder" API reference in the dictionary. > > Peter > Thanks so much for the explanation and pointer!! Steve From colinholgate at gmail.com Wed Feb 24 10:52:27 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 24 Feb 2016 10:52:27 -0500 Subject: Hi-Res Images at Natural Size? In-Reply-To: References: Message-ID: But aren?t you using a scale mode that would make the card still fill the screen? > On Feb 24, 2016, at 10:27 AM, Scott Rossi wrote: > > Thanks Colin, this was the first thing I tried. Doesn't seem to make a > difference, except for the true/true setting that doubles the resolution > and displays everything in the stack at half size. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/24/16, 1:38 AM, "use-livecode on behalf of Colin Holgate" > colinholgate at gmail.com> wrote: > >> Does iphoneUseDeviceResolution help at all? >> >> >>> On Feb 24, 2016, at 1:45 AM, Scott Rossi wrote: >>> >>> I hope I'm missing something with regard to displaying hi res images in >>> a >>> mobile (iOS) stack... >>> >>> >>> If one has a mobile stack built at "natural size" (say 320 x 568, iPhone >>> 5), is it possible to display hi res images in the stack without >>> resizing >>> the stack? >>> >>> I have an image that's saved at double the stack resolution (say 640 x >>> 640), but no matter what I try, I can't seem to scale the image down to >>> fit the stack while maintaining its "hi-resiness" -- the image always >>> appears soft. I'm wondering if this is because LC is scaling the stack >>> to >>> fit the screen, so regardless of resizeQuality and original resolution, >>> the image is displayed upscaled? Is there some combination of the dozen >>> or so screen-mobile-pixel-density-factor-scaling properties that I'm >>> missing? >>> >>> Am at loss -- thanks for any suggestions. >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Feb 24 11:44:30 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 24 Feb 2016 08:44:30 -0800 Subject: Hi-Res Images at Natural Size? In-Reply-To: References: Message-ID: I still have a few more tests to do, but no fullScreenMode seems to make any difference in terms of appearance of the images. So I'm guessing Randy's comment about the simulator combined with my standard res monitor may be the issue. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/24/16, 7:52 AM, "use-livecode on behalf of Colin Holgate" wrote: >But aren?t you using a scale mode that would make the card still fill the >screen? > >> On Feb 24, 2016, at 10:27 AM, Scott Rossi >>wrote: >> >> Thanks Colin, this was the first thing I tried. Doesn't seem to make a >> difference, except for the true/true setting that doubles the resolution >> and displays everything in the stack at half size. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 2/24/16, 1:38 AM, "use-livecode on behalf of Colin Holgate" >> > colinholgate at gmail.com> wrote: >> >>> Does iphoneUseDeviceResolution help at all? >>> >>> >>>> On Feb 24, 2016, at 1:45 AM, Scott Rossi >>>>wrote: >>>> >>>> I hope I'm missing something with regard to displaying hi res images >>>>in >>>> a >>>> mobile (iOS) stack... >>>> >>>> >>>> If one has a mobile stack built at "natural size" (say 320 x 568, >>>>iPhone >>>> 5), is it possible to display hi res images in the stack without >>>> resizing >>>> the stack? >>>> >>>> I have an image that's saved at double the stack resolution (say 640 x >>>> 640), but no matter what I try, I can't seem to scale the image down >>>>to >>>> fit the stack while maintaining its "hi-resiness" -- the image always >>>> appears soft. I'm wondering if this is because LC is scaling the >>>>stack >>>> to >>>> fit the screen, so regardless of resizeQuality and original >>>>resolution, >>>> the image is displayed upscaled? Is there some combination of the >>>>dozen >>>> or so screen-mobile-pixel-density-factor-scaling properties that I'm >>>> missing? >>>> >>>> Am at loss -- thanks for any suggestions. >>>> >>>> Regards, >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media, UX/UI Design >>> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 canelasoftware.com Wed Feb 24 11:50:57 2016 From: mark at canelasoftware.com (Mark Talluto) Date: Wed, 24 Feb 2016 08:50:57 -0800 Subject: Cursor changes to a hand in the ide In-Reply-To: References: Message-ID: > On Feb 23, 2016, at 2:16 PM, Jim Byrnes wrote: > > I am running the Community Edition vers 7.1.1 Build 10048 on Ubuntu 14.04. > > I am just getting started with Livecode and was laying out the gui for my first little project. I'm not sure what I did but the cursor changed to the hand pointer and now I can no longer work with any of my controls. Most of the menu items are greyed out but I could select quit. When I did that I was allowed to save my work, but when I opened it back up I still could not get rid of the hand pointer. Clicking on the run tool or edit tool does nothing. > > Do any of you experienced people have any idea what I could have done to cause this and how I can get back to normal operations? Hi Jim, First of all, welcome to Livecode. My response may not be very useful, but I will give it a go. I do not do much work in Linux that requires me to use the UI. But, I would check that you are not setting the pointer yourself with ?choose? command: e.g. 'choose browse tool? or ?choose pointer tool?. Also, check for ?set the cursor to watch? or some other shape. This would be wrapped with a ?lock cursor? and ?unlock cursor?. If you are not using any of these commands, it is probably a bug in the IDE not handling these commands internally. The IDE itself is written in Livecode. Should this turn out to be a bug, please feel free to write a bug report to Livecode: http://quality.livecode.com It will require you to make an account, but it is pretty easy. Hopefully, some regular user of Livecode on Linux will chime in with more experience. Best regards, Mark Talluto livecloud.io canelasoftware.com From harrison at all-auctions.com Wed Feb 24 11:55:13 2016 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 24 Feb 2016 11:55:13 -0500 Subject: Email Test 1 In-Reply-To: References: Message-ID: Hi Stephen, Sean, Mark, Kee, Frans and LiveCoders, Thank you for letting me know you received my email test message. Yes, I?m using Gmail as my host email, has that been causing issues for anyone else? If so, any ideas what the problem might be? Thanks, Rick > On Feb 23, 2016, at 7:04 PM, stephen barncard wrote: > > Rick I see it here. Are you using Gmail? > > sqb > > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org From jf_byrnes at comcast.net Wed Feb 24 12:34:48 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Wed, 24 Feb 2016 11:34:48 -0600 Subject: Cursor changes to a hand in the ide In-Reply-To: References: Message-ID: On 02/24/2016 10:50 AM, Mark Talluto wrote: > >> On Feb 23, 2016, at 2:16 PM, Jim Byrnes >> wrote: >> >> I am running the Community Edition vers 7.1.1 Build 10048 on Ubuntu >> 14.04. >> >> I am just getting started with Livecode and was laying out the gui >> for my first little project. I'm not sure what I did but the >> cursor changed to the hand pointer and now I can no longer work >> with any of my controls. Most of the menu items are greyed out but >> I could select quit. When I did that I was allowed to save my work, >> but when I opened it back up I still could not get rid of the hand >> pointer. Clicking on the run tool or edit tool does nothing. >> >> Do any of you experienced people have any idea what I could have >> done to cause this and how I can get back to normal operations? > > Hi Jim, > > First of all, welcome to Livecode. My response may not be very > useful, but I will give it a go. I do not do much work in Linux that > requires me to use the UI. But, I would check that you are not > setting the pointer yourself with ?choose? command: e.g. 'choose > browse tool? or ?choose pointer tool?. > > Also, check for ?set the cursor to watch? or some other shape. This > would be wrapped with a ?lock cursor? and ?unlock cursor?. > > If you are not using any of these commands, it is probably a bug in > the IDE not handling these commands internally. The IDE itself is > written in Livecode. Mark, At the point the problem occurred I hadn't written a line of code. I had dropped a label control on the card and expanded it's size. Then I dropped 2 radio buttons inside the boundaries of the of the label. I was renaming them and changing the label text when the problem occurred. > Should this turn out to be a bug, please feel free to write a bug > report to Livecode: http://quality.livecode.com > It will require you to make an > account, but it is pretty easy. I will wait a little longer, wouldn't want to waste their time if it was my mistake. > Hopefully, some regular user of Livecode on Linux will chime in with > more experience. > > Best regards, > > Mark Talluto livecloud.io > canelasoftware.com Thanks, Jim From pete at lcsql.com Wed Feb 24 12:37:05 2016 From: pete at lcsql.com (Peter Haworth) Date: Wed, 24 Feb 2016 17:37:05 +0000 Subject: Email Test 1 In-Reply-To: References: Message-ID: I use gMail, Inbox actually. The only problem I've had in the past has been that messages from folks on the list with aol addresses were classified as spam. Since there were only a handful of them, I set up a filter to make sure they didn't end up in my spam folder. On Wed, Feb 24, 2016 at 8:55 AM Rick Harrison wrote: > Hi Stephen, Sean, Mark, Kee, Frans and LiveCoders, > > Thank you for letting me know you received my email test message. > > Yes, I?m using Gmail as my host email, has that been causing issues for > anyone else? > If so, any ideas what the problem might be? > > Thanks, > > Rick > > > On Feb 23, 2016, at 7:04 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > > Rick I see it here. Are you using Gmail? > > > > sqb > > > > Stephen Barncard - Sebastopol Ca. USA - > > mixstream.org > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smaclean at madmansoft.com Wed Feb 24 13:40:09 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Wed, 24 Feb 2016 13:40:09 -0500 Subject: LCB: (extension: error occured with domain) near "runtime", char 8 Message-ID: Hi All, Now I?ve been able to successfully ?test? and install my library Now, calling the function, I get the error: execution error at line 4 (extension: error occured with domain) near "runtime", char 8 To test it I?m calling it from test stack and a button with: on mouseUp get rsIsValidEmail("public at madmansoft.com?) end mouseUp I have the extension of GitHub: https://github.com/renegadesteve/rsIsValid/blob/development/rsIsValid.01.lcb Is there a way to debug the extension in any sort of debugger? TIA, Steve MacLean From peter.brett at livecode.com Wed Feb 24 13:50:31 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 24 Feb 2016 18:50:31 +0000 Subject: LCB: (extension: error occured with domain) near "runtime", char 8 In-Reply-To: References: Message-ID: <56CDFB77.10105@livecode.com> On 24/02/2016 18:40, Stephen MacLean wrote: > Now, calling the function, I get the error: > > execution error at line 4 (extension: error occured with domain) near "runtime", char 8 This error is caused by an error thrown from "execute script". Usually LCB errors are a bit more useful. > [snip] > > I have the extension of GitHub: > > https://github.com/renegadesteve/rsIsValid/blob/development/rsIsValid.01.lcb You need to make sure that the e-mail address and regular expression are surrounded by quotes when constructing your script. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From MikeKerner at roadrunner.com Wed Feb 24 14:49:25 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Feb 2016 14:49:25 -0500 Subject: Release 6.7.9 RC 3 / 7.1.2 RC 3 In-Reply-To: References: Message-ID: Anyone else having a problem with button visibility in this version? showing buttons that are normally hidden on ios doesn't seem to be working for me. On Fri, Feb 19, 2016 at 6:59 AM, panagiotis merakos < panos.merakos at livecode.com> wrote: > Dear List Members, > > We are pleased to announce the release of LiveCode 6.7.9 RC 3 and 7.1.2 RC > 3. > > *Release Content* > This release contains bug fixes for regressions introduced in 7.1.2 RC 1/RC > 2. The list of regressions fixed can be found in the Release Notes. > > *Getting the Release* > To get the release please download the installer directly at: > http://downloads.livecode.com > > > *6.7.9 Stable / 7.1.2 Stable* > The next build is planned to be released early next week - and we expect it > to be a Final build. > > Warm 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 chipsm at themartinz.com Wed Feb 24 14:53:00 2016 From: chipsm at themartinz.com (Clarence P Martin) Date: Wed, 24 Feb 2016 11:53:00 -0800 Subject: DataGrid Message-ID: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> This to me is a most intriguing tool. I think that this tool should be one of the most important tools available. But it is also very mysterious to me. I have tried to analyze the ?How to use? aspects of this tool and when I mention this tool to other users they just kind of look at me, almost as though I am speaking a foreign language. I have yet found anyone who can completely explain ?How this tool works or how to use it?. My problem is, I am a very immersive user and I need to know how things work. This allows me to get the most out of anything that I use. I am also assuming that this is supposed to be a ?Data Centric? tool which is very important to certain applications. I am hoping that this tool is high on the list of ?near future? widgets and will eventually be less cryptic. I have seen the tutorials on the LiveCode site and I am still trying to completely understand the tool. If the author of this tool reads this list, I am hoping for some help and insight on using this tool. Also, in LiveCode 8 I do not see any way to implement putting contents into the DataGrid. 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 Peter Haworth Sent: Wednesday, February 24, 2016 9:37 AM To: How to use LiveCode Subject: Re: Email Test 1 I use gMail, Inbox actually. The only problem I've had in the past has been that messages from folks on the list with aol addresses were classified as spam. Since there were only a handful of them, I set up a filter to make sure they didn't end up in my spam folder. On Wed, Feb 24, 2016 at 8:55 AM Rick Harrison wrote: > Hi Stephen, Sean, Mark, Kee, Frans and LiveCoders, > > Thank you for letting me know you received my email test message. > > Yes, I?m using Gmail as my host email, has that been causing issues > for anyone else? > If so, any ideas what the problem might be? > > Thanks, > > Rick > > > On Feb 23, 2016, at 7:04 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > > Rick I see it here. Are you using Gmail? > > > > sqb > > > > Stephen Barncard - Sebastopol Ca. USA - mixstream.org > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Feb 24 14:53:16 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Feb 2016 14:53:16 -0500 Subject: Release 6.7.9 RC 3 / 7.1.2 RC 3 In-Reply-To: References: Message-ID: ok, maybe this is something entirely different. I have debugging buttons in a group. In 6.x, I would show and hide individual buttons of the group, depending on the situation. The group existed so I could move them all around. In this version, I have to show and hide the entire group to show or hide the group's members. Anyone else? Is this a 7 thing that I missed? On Wed, Feb 24, 2016 at 2:49 PM, Mike Kerner wrote: > Anyone else having a problem with button visibility in this version? > showing buttons that are normally hidden on ios doesn't seem to be working > for me. > > On Fri, Feb 19, 2016 at 6:59 AM, panagiotis merakos < > panos.merakos at livecode.com> wrote: > >> Dear List Members, >> >> We are pleased to announce the release of LiveCode 6.7.9 RC 3 and 7.1.2 RC >> 3. >> >> *Release Content* >> This release contains bug fixes for regressions introduced in 7.1.2 RC >> 1/RC >> 2. The list of regressions fixed can be found in the Release Notes. >> >> *Getting the Release* >> To get the release please download the installer directly at: >> http://downloads.livecode.com >> >> >> *6.7.9 Stable / 7.1.2 Stable* >> The next build is planned to be released early next week - and we expect >> it >> to be a Final build. >> >> Warm 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." > -- 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 monte at appisle.net Wed Feb 24 15:00:22 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 25 Feb 2016 07:00:22 +1100 Subject: Release 6.7.9 RC 3 / 7.1.2 RC 3 In-Reply-To: References: Message-ID: <64830F1E-7989-4EC8-B307-BBCBADB48FA5@appisle.net> I don't think you have ever been able to show a button in a hidden group and see the button if that's what you mean. Sent from my iPhone > On 25 Feb 2016, at 6:53 AM, Mike Kerner wrote: > > ok, maybe this is something entirely different. I have debugging buttons > in a group. In 6.x, I would show and hide individual buttons of the group, > depending on the situation. The group existed so I could move them all > around. In this version, I have to show and hide the entire group to show > or hide the group's members. Anyone else? Is this a 7 thing that I missed? > > On Wed, Feb 24, 2016 at 2:49 PM, Mike Kerner > wrote: > >> Anyone else having a problem with button visibility in this version? >> showing buttons that are normally hidden on ios doesn't seem to be working >> for me. >> >> On Fri, Feb 19, 2016 at 6:59 AM, panagiotis merakos < >> panos.merakos at livecode.com> wrote: >> >>> Dear List Members, >>> >>> We are pleased to announce the release of LiveCode 6.7.9 RC 3 and 7.1.2 RC >>> 3. >>> >>> *Release Content* >>> This release contains bug fixes for regressions introduced in 7.1.2 RC >>> 1/RC >>> 2. The list of regressions fixed can be found in the Release Notes. >>> >>> *Getting the Release* >>> To get the release please download the installer directly at: >>> http://downloads.livecode.com >>> >>> >>> *6.7.9 Stable / 7.1.2 Stable* >>> The next build is planned to be released early next week - and we expect >>> it >>> to be a Final build. >>> >>> Warm 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." > > > > -- > 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 chipsm at themartinz.com Wed Feb 24 15:08:02 2016 From: chipsm at themartinz.com (Clarence P Martin) Date: Wed, 24 Feb 2016 12:08:02 -0800 Subject: DataGrid In-Reply-To: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> Message-ID: <04ce01d16f3f$10d9d870$328d8950$@themartinz.com> I didn't mean for this this to be directed to Peter Hayworth. This post is for anyone on the General List Community. 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 Clarence P Martin Sent: Wednesday, February 24, 2016 11:53 AM To: 'How to use LiveCode' Subject: DataGrid This to me is a most intriguing tool. I think that this tool should be one of the most important tools available. But it is also very mysterious to me. I have tried to analyze the ?How to use? aspects of this tool and when I mention this tool to other users they just kind of look at me, almost as though I am speaking a foreign language. I have yet found anyone who can completely explain ?How this tool works or how to use it?. My problem is, I am a very immersive user and I need to know how things work. This allows me to get the most out of anything that I use. I am also assuming that this is supposed to be a ?Data Centric? tool which is very important to certain applications. I am hoping that this tool is high on the list of ?near future? widgets and will eventually be less cryptic. I have seen the tutorials on the LiveCode site and I am still trying to completely understand the tool. If the author of this tool reads this list, I am hoping for some help and insight on using this tool. Also, in LiveCode 8 I do not see any way to implement putting contents into the DataGrid. 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 Peter Haworth Sent: Wednesday, February 24, 2016 9:37 AM To: How to use LiveCode Subject: Re: Email Test 1 I use gMail, Inbox actually. The only problem I've had in the past has been that messages from folks on the list with aol addresses were classified as spam. Since there were only a handful of them, I set up a filter to make sure they didn't end up in my spam folder. On Wed, Feb 24, 2016 at 8:55 AM Rick Harrison wrote: > Hi Stephen, Sean, Mark, Kee, Frans and LiveCoders, > > Thank you for letting me know you received my email test message. > > Yes, I?m using Gmail as my host email, has that been causing issues > for anyone else? > If so, any ideas what the problem might be? > > Thanks, > > Rick > > > On Feb 23, 2016, at 7:04 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > > Rick I see it here. Are you using Gmail? > > > > sqb > > > > Stephen Barncard - Sebastopol Ca. USA - mixstream.org > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Feb 24 15:08:08 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Feb 2016 15:08:08 -0500 Subject: Release 6.7.9 RC 3 / 7.1.2 RC 3 In-Reply-To: <64830F1E-7989-4EC8-B307-BBCBADB48FA5@appisle.net> References: <64830F1E-7989-4EC8-B307-BBCBADB48FA5@appisle.net> Message-ID: I'm not calling BS, because I haven't done much coding since before Xmas, but when I grabbed the stack I use as a model/template, the debug buttons were grouped, and the code referred to each one, individually. So, maybe I had some goofy side effect in a previous version, if that's the case. On Wed, Feb 24, 2016 at 3:00 PM, Monte Goulding wrote: > I don't think you have ever been able to show a button in a hidden group > and see the button if that's what you mean. > > Sent from my iPhone > > > On 25 Feb 2016, at 6:53 AM, Mike Kerner > wrote: > > > > ok, maybe this is something entirely different. I have debugging buttons > > in a group. In 6.x, I would show and hide individual buttons of the > group, > > depending on the situation. The group existed so I could move them all > > around. In this version, I have to show and hide the entire group to > show > > or hide the group's members. Anyone else? Is this a 7 thing that I > missed? > > > > On Wed, Feb 24, 2016 at 2:49 PM, Mike Kerner > > wrote: > > > >> Anyone else having a problem with button visibility in this version? > >> showing buttons that are normally hidden on ios doesn't seem to be > working > >> for me. > >> > >> On Fri, Feb 19, 2016 at 6:59 AM, panagiotis merakos < > >> panos.merakos at livecode.com> wrote: > >> > >>> Dear List Members, > >>> > >>> We are pleased to announce the release of LiveCode 6.7.9 RC 3 and > 7.1.2 RC > >>> 3. > >>> > >>> *Release Content* > >>> This release contains bug fixes for regressions introduced in 7.1.2 RC > >>> 1/RC > >>> 2. The list of regressions fixed can be found in the Release Notes. > >>> > >>> *Getting the Release* > >>> To get the release please download the installer directly at: > >>> http://downloads.livecode.com > >>> > >>> > >>> *6.7.9 Stable / 7.1.2 Stable* > >>> The next build is planned to be released early next week - and we > expect > >>> it > >>> to be a Final build. > >>> > >>> Warm 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." > > > > > > > > -- > > 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 monte at appisle.net Wed Feb 24 15:17:54 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 25 Feb 2016 07:17:54 +1100 Subject: Release 6.7.9 RC 3 / 7.1.2 RC 3 In-Reply-To: References: <64830F1E-7989-4EC8-B307-BBCBADB48FA5@appisle.net> Message-ID: <3C8563EF-391F-4A03-8BA7-7AC947906933@appisle.net> I wonder if you had the group visible with hidden content and hid it at some point? Sent from my iPhone > On 25 Feb 2016, at 7:08 AM, Mike Kerner wrote: > > So, maybe I > had some goofy side effect in a previous version, if that's the case. From dunbarx at aol.com Wed Feb 24 15:27:36 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 24 Feb 2016 15:27:36 -0500 Subject: DataGrid In-Reply-To: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> Message-ID: <15314f72b4b-3fc6-1e8d@webprd-a38.mail.aol.com> Here is my favorite line, likely overused: "I use dataGrids, but do not understand them." In other words, they are complex, and though are built entirely from standard LC objects, scripts and behaviors, they simply require practice to use effectively, And even more practice to learn exhaustively, as you seem to want to do, unless you fly Trevor DeVore in for a week of private lessons. And in that case, you will simply need more practice. Craig Newman -----Original Message----- From: Clarence P Martin To: 'How to use LiveCode' Sent: Wed, Feb 24, 2016 2:54 pm Subject: DataGrid This to me is a most intriguing tool.I think that this tool should be one of the most important tools available. But it is also very mysterious to me. I have tried to analyze the ?How to use? aspects of this tool and when I mention this tool to other users they just kind of look at me, almost as though I am speaking a foreign language. I have yet found anyone who can completely explain ?How this tool works or how to use it?.My problem is, I am a very immersive user and I need to know how things work. This allows me to get the most out of anything that I use. I am also assuming that this is supposed to be a ?Data Centric? tool which is very important to certain applications.I am hoping that this tool is high on the list of ?near future? widgets and will eventually be less cryptic. I have seen the tutorials on the LiveCode site and I am still trying to completely understand the tool.If the author of this tool reads this list, I am hoping for some help and insight on using this tool.Also, in LiveCode 8 I do not see any way to implement putting contents into the DataGrid.Sincerely,Clarence MartinEmail: chipsm at themartinz.comCell: 626 6965561-----Original Message-----From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter HaworthSent: Wednesday, February 24, 2016 9:37 AMTo: How to use LiveCode Subject: Re: Email Test 1I use gMail, Inbox actually. The only problem I've had in the past has been that messages from folks on the list with aol addresses were classified as spam. Since there were only a handful of them, I set up a filter to make sure they didn't end up in my spam folder.On Wed, Feb 24, 2016 at 8:55 AM Rick Harrison wrote:> Hi Stephen, Sean, Mark, Kee, Frans and LiveCoders,>> Thank you for letting me know you received my email test message.>> Yes, I?m using Gmail as my host email, has that been causing issues > for anyone else?> If so, any ideas what the problem might be?>> Thanks,>> Rick>> > On Feb 23, 2016, at 7:04 PM, stephen barncard <> stephenREVOLUTION2 at barncard.com> wrote:> >> > Rick I see it here. Are you using Gmail?> >> > sqb> >> > Stephen Barncard - Sebastopol Ca. USA - mixstream.org>> _______________________________________________> use-livecode mailing list> use-livecode at lists.runrev.com> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences:> http://lists.runrev.com/mailman/listinfo/use-livecode_______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode_______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Feb 24 15:31:01 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 24 Feb 2016 12:31:01 -0800 Subject: Release 6.7.9 RC 3 / 7.1.2 RC 3 In-Reply-To: References: <64830F1E-7989-4EC8-B307-BBCBADB48FA5@appisle.net> Message-ID: If accurate, that would have to be some buggy behavior or anomaly because you can't show any items of a group if the group's visible property is false. LC has never worked this way AFAIK. Perhaps you toggled the visibility of the appropriate button while hiding all the rest? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/24/16, 12:08 PM, "use-livecode on behalf of Mike Kerner" wrote: >I'm not calling BS, because I haven't done much coding since before Xmas, >but when I grabbed the stack I use as a model/template, the debug buttons >were grouped, and the code referred to each one, individually. So, maybe >I >had some goofy side effect in a previous version, if that's the case. > >On Wed, Feb 24, 2016 at 3:00 PM, Monte Goulding wrote: > >> I don't think you have ever been able to show a button in a hidden group >> and see the button if that's what you mean. >> >> Sent from my iPhone >> >> > On 25 Feb 2016, at 6:53 AM, Mike Kerner >> wrote: >> > >> > ok, maybe this is something entirely different. I have debugging >>buttons >> > in a group. In 6.x, I would show and hide individual buttons of the >> group, >> > depending on the situation. The group existed so I could move them >>all >> > around. In this version, I have to show and hide the entire group to >> show >> > or hide the group's members. Anyone else? Is this a 7 thing that I >> missed? >> > >> > On Wed, Feb 24, 2016 at 2:49 PM, Mike Kerner >> >> > wrote: >> > >> >> Anyone else having a problem with button visibility in this version? >> >> showing buttons that are normally hidden on ios doesn't seem to be >> working >> >> for me. >> >> >> >> On Fri, Feb 19, 2016 at 6:59 AM, panagiotis merakos < >> >> panos.merakos at livecode.com> wrote: >> >> >> >>> Dear List Members, >> >>> >> >>> We are pleased to announce the release of LiveCode 6.7.9 RC 3 and >> 7.1.2 RC >> >>> 3. >> >>> >> >>> *Release Content* >> >>> This release contains bug fixes for regressions introduced in 7.1.2 >>RC >> >>> 1/RC >> >>> 2. The list of regressions fixed can be found in the Release Notes. >> >>> >> >>> *Getting the Release* >> >>> To get the release please download the installer directly at: >> >>> http://downloads.livecode.com >> >>> >> >>> >> >>> *6.7.9 Stable / 7.1.2 Stable* >> >>> The next build is planned to be released early next week - and we >> expect >> >>> it >> >>> to be a Final build. >> >>> >> >>> Warm 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." >> > >> > >> > >> > -- >> > 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 chipsm at themartinz.com Wed Feb 24 15:42:42 2016 From: chipsm at themartinz.com (Clarence P Martin) Date: Wed, 24 Feb 2016 12:42:42 -0800 Subject: DataGrid In-Reply-To: <15314f72b4b-3fc6-1e8d@webprd-a38.mail.aol.com> References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> <15314f72b4b-3fc6-1e8d@webprd-a38.mail.aol.com> Message-ID: <04d901d16f43$e934ab10$bb9e0130$@themartinz.com> Craig, Have you tried them in LC 8? Have you noticed that there is no content property in the property inspector in LC 8? 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 dunbarx at aol.com Sent: Wednesday, February 24, 2016 12:28 PM To: use-livecode at lists.runrev.com Subject: Re: DataGrid Here is my favorite line, likely overused: "I use dataGrids, but do not understand them." In other words, they are complex, and though are built entirely from standard LC objects, scripts and behaviors, they simply require practice to use effectively, And even more practice to learn exhaustively, as you seem to want to do, unless you fly Trevor DeVore in for a week of private lessons. And in that case, you will simply need more practice. Craig Newman -----Original Message----- From: Clarence P Martin To: 'How to use LiveCode' Sent: Wed, Feb 24, 2016 2:54 pm Subject: DataGrid This to me is a most intriguing tool.I think that this tool should be one of the most important tools available. But it is also very mysterious to me. I have tried to analyze the ?How to use? aspects of this tool and when I mention this tool to other users they just kind of look at me, almost as though I am speaking a foreign language. I have yet found anyone who can completely explain ?How this tool works or how to use it?.My problem is, I am a very immersive user and I need to know how things work. This allows me to get the most out of anything that I use. I am also assuming that this is supposed to be a ?Data Centric? tool which is very important to certain applications.I am hoping that this tool is high on the list of ?near future? widgets and will eventually be less cryptic. I have seen the tutorials on the LiveCode site and I am still trying to completely understand the tool.If the author of this tool reads this list, I am hoping for some help and insight on using this tool.Also, in LiveCode 8 I do not see any way to implement putting contents into the DataGrid.Sincerely,Clarence MartinEmail: chipsm at themartinz.comCell: 626 6965561-----Original Message-----From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter HaworthSent: Wednesday, February 24, 2016 9:37 AMTo: How to use LiveCode Subject: Re: Email Test 1I use gMail, Inbox actually. The only problem I've had in the past has been that messages from folks on the list with aol addresses were classified as spam. Since there were only a handful of them, I set up a filter to make sure they didn't end up in my spam folder.On Wed, Feb 24, 2016 at 8:55 AM Rick Harrison wrote:> Hi Stephen, Sean, Mark, Kee, Frans and LiveCoders,>> Thank you for letting me know you received my email test message.>> Yes, I?m using Gmail as my host email, has that been causing issues > for anyone else?> If so, any ideas what the problem might be?>> Thanks,>> Rick>> > On Feb 23, 2016, at 7:04 PM, stephen barncard <> stephenREVOLUTION2 at barncard.com> wrote:> >> > Rick I see it here. Are you using Gmail?> >> > sqb> >> > Stephen Barncard - Sebastopol Ca. USA - mixstream.org>> _______________________________________________> use-livecode mailing list> use-livecode at lists.runrev.com> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences:> http://lists.runrev.com/mailman/listinfo/use-livecode_______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode_______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From smaclean at madmansoft.com Wed Feb 24 15:49:19 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Wed, 24 Feb 2016 15:49:19 -0500 Subject: LCB: (extension: error occured with domain) near "runtime", char 8 In-Reply-To: <56CDFB77.10105@livecode.com> References: <56CDFB77.10105@livecode.com> Message-ID: <9D97E041-4426-4BAD-ABB9-FB12EC0AFB88@madmansoft.com> > On Feb 24, 2016, at 1:50 PM, Peter TB Brett wrote: > > On 24/02/2016 18:40, Stephen MacLean wrote: > >> Now, calling the function, I get the error: >> >> execution error at line 4 (extension: error occured with domain) near "runtime", char 8 > > This error is caused by an error thrown from "execute script". Usually LCB errors are a bit more useful. > >> [snip] >> >> I have the extension of GitHub: >> >> https://github.com/renegadesteve/rsIsValid/blob/development/rsIsValid.01.lcb > > You need to make sure that the e-mail address and regular expression are surrounded by quotes when constructing your script. > > Peter I changed it to: put "^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\\.){1,125}[A-Z]{2,63}$" into tRegex put "filter \q" & pEmail & "\q with regex pattern \q" & tRegex & "\q into tMatch" into tScript And am still getting the same error. Sorry, I?m not sure what I?m missing here. Thanks, Steve From MikeKerner at roadrunner.com Wed Feb 24 15:52:08 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Feb 2016 15:52:08 -0500 Subject: Release 6.7.9 RC 3 / 7.1.2 RC 3 In-Reply-To: References: <64830F1E-7989-4EC8-B307-BBCBADB48FA5@appisle.net> Message-ID: Who knows. Anyway, back at it. On Wed, Feb 24, 2016 at 3:31 PM, Scott Rossi wrote: > If accurate, that would have to be some buggy behavior or anomaly because > you can't show any items of a group if the group's visible property is > false. LC has never worked this way AFAIK. Perhaps you toggled the > visibility of the appropriate button while hiding all the rest? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/24/16, 12:08 PM, "use-livecode on behalf of Mike Kerner" > MikeKerner at roadrunner.com> wrote: > > >I'm not calling BS, because I haven't done much coding since before Xmas, > >but when I grabbed the stack I use as a model/template, the debug buttons > >were grouped, and the code referred to each one, individually. So, maybe > >I > >had some goofy side effect in a previous version, if that's the case. > > > >On Wed, Feb 24, 2016 at 3:00 PM, Monte Goulding > wrote: > > > >> I don't think you have ever been able to show a button in a hidden group > >> and see the button if that's what you mean. > >> > >> Sent from my iPhone > >> > >> > On 25 Feb 2016, at 6:53 AM, Mike Kerner > >> wrote: > >> > > >> > ok, maybe this is something entirely different. I have debugging > >>buttons > >> > in a group. In 6.x, I would show and hide individual buttons of the > >> group, > >> > depending on the situation. The group existed so I could move them > >>all > >> > around. In this version, I have to show and hide the entire group to > >> show > >> > or hide the group's members. Anyone else? Is this a 7 thing that I > >> missed? > >> > > >> > On Wed, Feb 24, 2016 at 2:49 PM, Mike Kerner > >> > >> > wrote: > >> > > >> >> Anyone else having a problem with button visibility in this version? > >> >> showing buttons that are normally hidden on ios doesn't seem to be > >> working > >> >> for me. > >> >> > >> >> On Fri, Feb 19, 2016 at 6:59 AM, panagiotis merakos < > >> >> panos.merakos at livecode.com> wrote: > >> >> > >> >>> Dear List Members, > >> >>> > >> >>> We are pleased to announce the release of LiveCode 6.7.9 RC 3 and > >> 7.1.2 RC > >> >>> 3. > >> >>> > >> >>> *Release Content* > >> >>> This release contains bug fixes for regressions introduced in 7.1.2 > >>RC > >> >>> 1/RC > >> >>> 2. The list of regressions fixed can be found in the Release Notes. > >> >>> > >> >>> *Getting the Release* > >> >>> To get the release please download the installer directly at: > >> >>> http://downloads.livecode.com > >> >>> > >> >>> > >> >>> *6.7.9 Stable / 7.1.2 Stable* > >> >>> The next build is planned to be released early next week - and we > >> expect > >> >>> it > >> >>> to be a Final build. > >> >>> > >> >>> Warm 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." > >> > > >> > > >> > > >> > -- > >> > 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 > -- 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 smaclean at madmansoft.com Wed Feb 24 16:08:40 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Wed, 24 Feb 2016 16:08:40 -0500 Subject: LCB: (extension: error occured with domain) near "runtime", char 8 In-Reply-To: <9D97E041-4426-4BAD-ABB9-FB12EC0AFB88@madmansoft.com> References: <56CDFB77.10105@livecode.com> <9D97E041-4426-4BAD-ABB9-FB12EC0AFB88@madmansoft.com> Message-ID: > On Feb 24, 2016, at 3:49 PM, Stephen MacLean wrote: > > >> On Feb 24, 2016, at 1:50 PM, Peter TB Brett wrote: >> >> On 24/02/2016 18:40, Stephen MacLean wrote: >> >>> Now, calling the function, I get the error: >>> >>> execution error at line 4 (extension: error occured with domain) near "runtime", char 8 >> >> This error is caused by an error thrown from "execute script". Usually LCB errors are a bit more useful. >> >>> [snip] >>> >>> I have the extension of GitHub: >>> >>> https://github.com/renegadesteve/rsIsValid/blob/development/rsIsValid.01.lcb >> >> You need to make sure that the e-mail address and regular expression are surrounded by quotes when constructing your script. >> >> Peter > > > I changed it to: > > put "^[A-Z0-9._%+-]{1,64}@(?:[A-Z0-9-]{1,63}\\.){1,125}[A-Z]{2,63}$" into tRegex > put "filter \q" & pEmail & "\q with regex pattern \q" & tRegex & "\q into tMatch" into tScript > > And am still getting the same error. Sorry, I?m not sure what I?m missing here. > Ok, as I thought, I am dense! Last line needs to be: put "filter \q" & pEmail & "\q with regex pattern \q" & tRegex & "\q into tMatch;return tMatch" into tScript You need to return the result to the extension, DUH! Thanks for the help Peter! Steve From brahma at hindu.org Wed Feb 24 16:58:37 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 24 Feb 2016 21:58:37 +0000 Subject: leap to future In-Reply-To: References: <29B30F47-5C6B-4EE9-AC3F-CB2755B207DE@thehales.id.au> <56CD6681.4050800@livecode.com> Message-ID: But it is my understanding that we can deploy HTML5 from community "for free" assuming that we do not need to lock up the code. Correct? and if so, will this policy stick in the "leap forward" ?? On February 24, 2016 at 2:34:45 AM, Stephen MacLean (smaclean at madmansoft.com) wrote: Hi Peter, Just an FYI, I have two different licenses listed under my account. One for all the current platforms and one just for HTML5, which I bought separately. I contacted support to ask to have them merged, so I could use the one license to do all of them in one shot instead of having to re-license my copy of LC every time I want to use HTML5, etc. I was told that it wasn?t possible to do that at this time, but maybe in the future. If it helps, the ticket was [Ticket#2016021510001946]. Thanks, Steve MacLean From stephenREVOLUTION2 at barncard.com Wed Feb 24 17:11:32 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 24 Feb 2016 14:11:32 -0800 Subject: Email Test 1 In-Reply-To: References: Message-ID: Yes, as the warning messages on my Dreamhost indicate when one creates a domain based email address, if you send an email with your own domain from Gmail, it may not show up in your INBOX, but will show up in ALL MAIL and SENT MAIL. This is a Gmail feature to reduce clutter. If it ain't working you'll get the bounce in your inbox. Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Wed, Feb 24, 2016 at 8:55 AM, Rick Harrison wrote: > Hi Stephen, Sean, Mark, Kee, Frans and LiveCoders, > > Thank you for letting me know you received my email test message. > > Yes, I?m using Gmail as my host email, has that been causing issues for > anyone else? > If so, any ideas what the problem might be? > > Thanks, > > Rick > > > On Feb 23, 2016, at 7:04 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > > Rick I see it here. Are you using Gmail? > > > > sqb > > > > Stephen Barncard - Sebastopol Ca. USA - > > mixstream.org > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Wed Feb 24 17:13:47 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 24 Feb 2016 14:13:47 -0800 Subject: DataGrid In-Reply-To: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> Message-ID: But my question is ... why is it so S L O W ?? Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Wed, Feb 24, 2016 at 11:53 AM, Clarence P Martin wrote: > This to me is a most intriguing tool. > I think that this tool should be one of the most important tools > available. But it is also very mysterious to me. I have tried to analyze > the ?How to use? aspects of this tool and when I mention this tool to other > users they just kind of look at me, almost as though I am speaking a > foreign language. I have yet found anyone who can completely explain ?How > this tool works or how to use it?. > My problem is, I am a very immersive user and I need to know how things > work. This allows me to get the most out of anything that I use. I am also > assuming that this is supposed to be a ?Data Centric? tool which is very > important to certain applications. > I am hoping that this tool is high on the list of ?near future? widgets > and will eventually be less cryptic. I have seen the tutorials on the > LiveCode site and I am still trying to completely understand the tool. > If the author of this tool reads this list, I am hoping for some help and > insight on using this tool. > Also, in LiveCode 8 I do not see any way to implement putting contents > into the DataGrid. > > > 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 Peter Haworth > Sent: Wednesday, February 24, 2016 9:37 AM > To: How to use LiveCode > Subject: Re: Email Test 1 > > I use gMail, Inbox actually. The only problem I've had in the past has > been that messages from folks on the list with aol addresses were > classified as spam. Since there were only a handful of them, I set up a > filter to make sure they didn't end up in my spam folder. > > On Wed, Feb 24, 2016 at 8:55 AM Rick Harrison > wrote: > > > Hi Stephen, Sean, Mark, Kee, Frans and LiveCoders, > > > > Thank you for letting me know you received my email test message. > > > > Yes, I?m using Gmail as my host email, has that been causing issues > > for anyone else? > > If so, any ideas what the problem might be? > > > > Thanks, > > > > Rick > > > > > On Feb 23, 2016, at 7:04 PM, stephen barncard < > > stephenREVOLUTION2 at barncard.com> wrote: > > > > > > Rick I see it here. Are you using Gmail? > > > > > > sqb > > > > > > Stephen Barncard - Sebastopol Ca. USA - mixstream.org > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Wed Feb 24 17:15:43 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 24 Feb 2016 14:15:43 -0800 Subject: leap to future In-Reply-To: References: <29B30F47-5C6B-4EE9-AC3F-CB2755B207DE@thehales.id.au> <56CD6681.4050800@livecode.com> Message-ID: On Wed, Feb 24, 2016 at 1:58 PM, Sannyasin Brahmanathaswami < brahma at hindu.org> wrote: > But it is my understanding that we can deploy HTML5 from community "for > free" assuming that we do not need to lock up the code. > I don't think the OSS folks get HTML5. If they did, then I would have it in my 'Indy' license... ( I really don't like that term ) Stephen Barncard - Sebastopol Ca. USA - mixstream.org From peter.brett at livecode.com Wed Feb 24 17:26:20 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 24 Feb 2016 22:26:20 +0000 Subject: leap to future In-Reply-To: References: <29B30F47-5C6B-4EE9-AC3F-CB2755B207DE@thehales.id.au> <56CD6681.4050800@livecode.com> Message-ID: <56CE2E0C.30901@livecode.com> On 24/02/2016 21:58, Sannyasin Brahmanathaswami wrote: > But it is my understanding that we can deploy HTML5 from community "for free" assuming that we do not need to lock up the code. > > Correct? > > and if so, will this policy stick in the "leap forward" As far as I know, this will be true for the foreseeable future. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Wed Feb 24 17:29:39 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 24 Feb 2016 22:29:39 +0000 Subject: leap to future In-Reply-To: References: <29B30F47-5C6B-4EE9-AC3F-CB2755B207DE@thehales.id.au> <56CD6681.4050800@livecode.com> Message-ID: <56CE2ED3.4020100@livecode.com> On 24/02/2016 22:15, stephen barncard wrote: > On Wed, Feb 24, 2016 at 1:58 PM, Sannyasin Brahmanathaswami < > brahma at hindu.org> wrote: > >> But it is my understanding that we can deploy HTML5 from community "for >> free" assuming that we do not need to lock up the code. >> > > I don't think the OSS folks get HTML5. If they did, then I would have it in > my 'Indy' license... ( I really don't like that term ) The "OSS folks" do indeed "get HTML5". You can currently use the GPL-licensed engine to deploy GPL-licensed HTML5 apps at no cost, and it's all available in the open source edition build of LiveCode. If you want to deploy apps under any other open- or closed-source copyright license, then you need to have a current HTML5 deployment license. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From dunbarx at aol.com Wed Feb 24 18:02:37 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 24 Feb 2016 18:02:37 -0500 Subject: DataGrid In-Reply-To: <04d901d16f43$e934ab10$bb9e0130$@themartinz.com> Message-ID: <15315851904-47e2-2645@webprd-a35.mail.aol.com> No, I am stuck in v.6.7 Craig -----Original Message----- From: Clarence P Martin To: 'How to use LiveCode' Sent: Wed, Feb 24, 2016 3:43 pm Subject: RE: DataGrid Craig,Have you tried them in LC 8? Have you noticed that there is no content property in the property inspector in LC 8? Sincerely,Clarence MartinEmail: chipsm at themartinz.comCell: 626 6965561-----Original Message-----From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of dunbarx at aol.comSent: Wednesday, February 24, 2016 12:28 PMTo: use-livecode at lists.runrev.comSubject: Re: DataGridHere is my favorite line, likely overused:"I use dataGrids, but do not understand them."In other words, they are complex, and though are built entirely from standard LC objects, scripts and behaviors, they simply require practice to use effectively, And even more practice to learn exhaustively, as you seem to want to do, unless you fly Trevor DeVore in for a week of private lessons. And in that case, you will simply need more practice.Craig Newman-----Original Message-----From: Clarence P Martin To: 'How to use LiveCode' Sent: Wed, Feb 24, 2016 2:54 pmSubject: DataGridThis to me is a most intriguing tool.I think that this tool should be one of the most important tools available. But it is also very mysterious to me. I have tried to analyze the ?How to use? aspects of this tool and when I mention this tool to other users they just kind of look at me, almost as though I am speaking a foreign language. I have yet found anyone who can completely explain ?How this tool works or how to use it?.My problem is, I am a very immersive user and I need to know how things work. This allows me to get the most out of anything that I use. I am also assuming that this is supposed to be a ?Data Centric? tool which is very important to certain applications.I am hoping that this tool is high on the list of ?near future? widgets and will eventually be less cryptic. I have seen the tutorials on the LiveCode site and I am still trying to completely understand the tool.If the author of this tool reads this list, I am hoping for some help and insight on using this tool.Also, in LiveCode 8 I do not see any way to implement putting contents into the DataGrid.Sincerely,Clarence MartinEmail: chipsm at themartinz.comCell: 626 6965561-----Original Message-----From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter HaworthSent: Wednesday, February 24, 2016 9:37 AMTo: How to use LiveCode Subject: Re: Email Test 1I use gMail, Inbox actually. The only problem I've had in the past has been that messages from folks on the list with aol addresses were classified as spam. Since there were only a handful of them, I set up a filter to make sure they didn't end up in my spam folder.On Wed, Feb 24, 2016 at 8:55 AM Rick Harrison wrote:> Hi Stephen, Sean, Mark, Kee, Frans and LiveCoders,>> Thank you for letting me know you received my email test message.>> Yes, I?m using Gmail as my host email, has that been causing issues > for anyone else?> If so, any ideas what the problem might be?>> Thanks,>> Rick>> > On Feb 23, 2016, at 7:04 PM, stephen barncard <> stephenREVOLUTION2 at barncard.com> wrote:> >> > Rick I see it here. Are you using Gmail?> >> > sqb> >> > Stephen Barncard - Sebastopol Ca. USA - mixstream.org>> _______________________________________________> use-livecode mailing list> use-livecode at lists.runrev.com> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences:> http://lists.runrev.com/mailman/listinfo/use-livecode_______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode_______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode_______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode_______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode From matsastrom at yahoo.se Wed Feb 24 18:02:49 2016 From: matsastrom at yahoo.se (=?utf-8?Q?Mats_=C3=85str=C3=B6m?=) Date: Thu, 25 Feb 2016 00:02:49 +0100 Subject: Scripting Data Grid creation Message-ID: <6D547A2F-3BC0-4FF3-8710-72C43FE7C121@yahoo.se> This is about the DG strategy I choosed. The task: a data centric application with lots of dB tables (+50) that needed to be presented, some of the tables needed to be cell editable in an ?Excel fashion? (double-click-edit-return), the user be able to specify visible/hidden columns, specify column witdths all to be saved between sessions? and more. I had no desire to code a GUI for each table so I dug into the heart of the Data Grid. My starting point was how the .net TableAdapter and DataGridView works. I had never (and have not yet) coded C# .net but the solution I was to upgrade/replace was built in .net and I was handed a Visual Studio project and its (to me) somewhat incompahencible code. So I went for this: A generic LC stack method that copy?s the DG template and creates a DG on the fly. The method is passed a number of parameters telling it: - which dB to connect to - which table to read from - the DG size & position - an (optional) SQL SELECT statement - if a menu should accompany the DG - whether or not update/insert is allowed (in which case the appropriate menu items are shown) ? and more The method reads the dB table?s column characteristics from the dB schema and sets the DG columns headers (via a column-name-to-header text mapping function) and the DG column alignment sdepending on column data types. It also sets the DG text properties and populates the DG. All DG:s are thus created programmatically and then deleted when they are no longer visible in the GUI (accomplished by keeping track of the visible DG(s)). Performance is reasonable - a DG with 3-4000 lines takes 3-4 secs. I am not so sure if this approach would be ok on very large tables. All DG-related scripts, all DG editing and ?db-manipulation-related? code, all DG menus & menu scripts are also created on the fly by extensive use of behaviors. Even though this might not be the most beautiful code I ever wrote (some of the requirements came in late - at least that is what I will plead in court) the whole ?DG affair? came out manageble through this approach. It all took a great deal of trial & error because, although the DG documentation is correct, everything was not all that easy to figure out. But all in all it was well worth the effort. I admit that it came out a bit complex, but it is reusable, stable and still works like a charm. /Mats From david_alfredo_93 at hotmail.com Wed Feb 24 18:09:18 2016 From: david_alfredo_93 at hotmail.com (=?iso-8859-1?B?ZGF2aWQgYWxmcmVkbyB6dfFpZ2Egc290bw==?=) Date: Wed, 24 Feb 2016 16:09:18 -0700 Subject: Send multiple variables to a URL with POST to SQLSRV + php Message-ID: Hi all, a little help please. in my app of LiveCode use this sentence: put "tIDUsr=" & IDUsr & "&tPWD=" & PWD & "&tCorreo"&correo into tArgList post tArgLists to URL "http://172.16.2.130:8080/BuscarNombreUsr.php" put it into encodeNombre Presumably, sent the user id, password and mail my script of php.. but. This only marks | Undefined index: tIDUsr in| and this is for all data sent.. my script php does this.. any suggestions ?? thanks for everything From ali.lloyd at livecode.com Wed Feb 24 18:09:53 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Wed, 24 Feb 2016 23:09:53 +0000 Subject: DataGrid In-Reply-To: <15315851904-47e2-2645@webprd-a35.mail.aol.com> References: <04d901d16f43$e934ab10$bb9e0130$@themartinz.com> <15315851904-47e2-2645@webprd-a35.mail.aol.com> Message-ID: There is an outstanding bug report about the missing property inspector pane for the data grid in LC 8 ( http://quality.livecode.com/show_bug.cgi?id=16748). It will be fixed some time in the next couple of weeks. On Wed, Feb 24, 2016 at 11:02 PM wrote: > No, I am stuck in v.6.7 > > > Craig > > > -----Original Message----- > From: Clarence P Martin > To: 'How to use LiveCode' > Sent: Wed, Feb 24, 2016 3:43 pm > Subject: RE: DataGrid > > Craig,Have you tried them in LC 8? Have you noticed that there is no > content property in the property inspector in LC 8? Sincerely,Clarence > MartinEmail: chipsm at themartinz.comCell: 626 6965561-----Original > Message-----From: use-livecode [mailto: > use-livecode-bounces at lists.runrev.com] On Behalf Of dunbarx at aol.comSent: > Wednesday, February 24, 2016 12:28 PMTo: > use-livecode at lists.runrev.comSubject: Re: DataGridHere is my favorite > line, likely overused:"I use dataGrids, but do not understand them."In > other words, they are complex, and though are built entirely from standard > LC objects, scripts and behaviors, they simply require practice to use > effectively, And even more practice to learn exhaustively, as you seem to > want to do, unless you fly Trevor DeVore in for a week of private lessons. > And in that case, you will simply need more practice.Craig > Newman-----Original Message-----From: Clarence P Martin < > chipsm at themartinz.com>To: 'How to use LiveCode' < > use-livecode at lists.runrev.com>Sent: Wed, Feb 24, 2016 2:54 pmSubject: > DataGridThis to me is a most intriguing tool.I think that this tool should > be one of the most important tools available. But it is also very > mysterious to me. I have tried to analyze the ?How to use? aspects of this > tool and when I mention this tool to other users they just kind of look at > me, almost as though I am speaking a foreign language. I have yet found > anyone who can completely explain ?How this tool works or how to use it?.My > problem is, I am a very immersive user and I need to know how things work. > This allows me to get the most out of anything that I use. I am also > assuming that this is supposed to be a ?Data Centric? tool which is very > important to certain applications.I am hoping that this tool is high on the > list of ?near future? widgets and will eventually be less cryptic. I have > seen the tutorials on the LiveCode site and I am still trying to > completely understand the tool.If the author of this tool reads this list, > I am hoping for some help and insight on using this tool.Also, in LiveCode > 8 I do not see any way to implement putting contents into the > DataGrid.Sincerely,Clarence MartinEmail: chipsm at themartinz.comCell: 626 > 6965561-----Original Message-----From: use-livecode [mailto: > use-livecode-bounces at lists.runrev.com] On Behalf Of Peter HaworthSent: > Wednesday, February 24, 2016 9:37 AMTo: How to use LiveCode < > use-livecode at lists.runrev.com>Subject: Re: Email Test 1I use gMail, Inbox > actually. The only problem I've had in the past has been that messages > from folks on the list with aol addresses were classified as spam. Since > there were only a handful of them, I set up a filter to make sure they > didn't end up in my spam folder.On Wed, Feb 24, 2016 at 8:55 AM Rick > Harrison wrote:> Hi Stephen, Sean, Mark, Kee, > Frans and LiveCoders,>> Thank you for letting me know you received my email > test message.>> Yes, I?m using Gmail as my host email, has that been > causing issues > for anyone else?> If so, any ideas what the problem might > be?>> Thanks,>> Rick>> > On Feb 23, 2016, at 7:04 PM, stephen barncard <> > stephenREVOLUTION2 at barncard.com> wrote:> >> > Rick I see it here. Are you > using Gmail?> >> > sqb> >> > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org>> _______________________________________________> > use-livecode mailing list> use-livecode at lists.runrev.com> Please visit > this url to subscribe, unsubscribe and manage your > subscription > preferences:> > http://lists.runrev.com/mailman/listinfo/use-livecode_______________________________________________use-livecode > mailing listuse-livecode at lists.runrev.comPlease visit this url to > subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode_______________________________________________use-livecode > mailing listuse-livecode at lists.runrev.comPlease visit this url to > subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode_______________________________________________use-livecode > mailing listuse-livecode at lists.runrev.comPlease visit this url to > subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode_______________________________________________use-livecode > mailing listuse-livecode at lists.runrev.comPlease visit this url to > subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Feb 24 18:41:38 2016 From: paul at livecode.org (Paul Hibbert) Date: Wed, 24 Feb 2016 15:41:38 -0800 Subject: Hi-Res Images at Natural Size? In-Reply-To: References: Message-ID: <648182B6-F210-4B81-A0CD-B950723E6BA6@livecode.org> Scott, I think this is only achievable using density mapped images, I?d guess you already understand the process, but I just used this lesson to remind myself? http://lessons.livecode.com/m/15262/l/156530-how-do-i-support-different-device-screen-densities I tried a quick test and it looks like you do need to use a referenced image and a high resolution version with the name format @2x. or @extra-high. Having read what it says about ?Device Resolution? at the end of the lesson, I would have thought setting the 'useDeviceResolution' of the stack to true would do the trick, but it doesn?t seem to affect images, at least not in my limited tests. HTH Paul > On Feb 24, 2016, at 8:44 AM, Scott Rossi wrote: > > I still have a few more tests to do, but no fullScreenMode seems to make > any difference in terms of appearance of the images. So I'm guessing > Randy's comment about the simulator combined with my standard res monitor > may be the issue. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/24/16, 7:52 AM, "use-livecode on behalf of Colin Holgate" > colinholgate at gmail.com> wrote: > >> But aren?t you using a scale mode that would make the card still fill the >> screen? >> >>> On Feb 24, 2016, at 10:27 AM, Scott Rossi >>> wrote: >>> >>> Thanks Colin, this was the first thing I tried. Doesn't seem to make a >>> difference, except for the true/true setting that doubles the resolution >>> and displays everything in the stack at half size. >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 2/24/16, 1:38 AM, "use-livecode on behalf of Colin Holgate" >>> >> colinholgate at gmail.com> wrote: >>> >>>> Does iphoneUseDeviceResolution help at all? >>>> >>>> >>>>> On Feb 24, 2016, at 1:45 AM, Scott Rossi >>>>> wrote: >>>>> >>>>> I hope I'm missing something with regard to displaying hi res images >>>>> in >>>>> a >>>>> mobile (iOS) stack... >>>>> >>>>> >>>>> If one has a mobile stack built at "natural size" (say 320 x 568, >>>>> iPhone >>>>> 5), is it possible to display hi res images in the stack without >>>>> resizing >>>>> the stack? >>>>> >>>>> I have an image that's saved at double the stack resolution (say 640 x >>>>> 640), but no matter what I try, I can't seem to scale the image down >>>>> to >>>>> fit the stack while maintaining its "hi-resiness" -- the image always >>>>> appears soft. I'm wondering if this is because LC is scaling the >>>>> stack >>>>> to >>>>> fit the screen, so regardless of resizeQuality and original >>>>> resolution, >>>>> the image is displayed upscaled? Is there some combination of the >>>>> dozen >>>>> or so screen-mobile-pixel-density-factor-scaling properties that I'm >>>>> missing? >>>>> >>>>> Am at loss -- thanks for any suggestions. >>>>> >>>>> Regards, >>>>> >>>>> Scott Rossi >>>>> Creative Director >>>>> Tactile Media, UX/UI Design >>>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Feb 24 18:58:10 2016 From: pete at lcsql.com (Peter Haworth) Date: Wed, 24 Feb 2016 23:58:10 +0000 Subject: Send multiple variables to a URL with POST to SQLSRV + php In-Reply-To: References: Message-ID: Looks like you missed an "=", should be "&tCorreo="&correo? On Wed, Feb 24, 2016 at 3:09 PM david alfredo zu?iga soto < david_alfredo_93 at hotmail.com> wrote: > Hi all, a little help please. > in my app of LiveCode use this sentence: put "tIDUsr=" & IDUsr & > "&tPWD=" & PWD & "&tCorreo"&correo into tArgList post tArgLists to > URL "http://172.16.2.130:8080/BuscarNombreUsr.php" put it into > encodeNombre > Presumably, sent the user id, password and mail my script of php.. but. > This only marks | Undefined index: tIDUsr in| and this is for all data > sent.. > > my script php does this.. > > $IDUsr=$_POST["tIDUsr"]; $nIDUsr=(int)$IDUsr; #convertir la cadena a > entero, para comparar con tynit en la bd $PWD=$_POST["tPWD"]; > $Correo=$_POST["tCorreo"]; $query = "SELECT Nombre FROM tblusuarios > WHERE IDUsuario='$nIDUsr' and Contrase?a='$PWD' and Correo='$Correo'"; > $stmt4 = sqlsrv_query( $conn, $query); if( $stmt4 === false) > { echo "Error in query preparation/execution.\n"; > die( print_r( sqlsrv_errors(), true)); } while( $row > = sqlsrv_fetch_array( $stmt4, SQLSRV_FETCH_ASSOC)) { echo > $row['Nombre']."\n"; } $stmt4 = null; $conn = null;?> > any suggestions ?? thanks for everything > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 earthednet.org Wed Feb 24 18:59:24 2016 From: prothero at earthednet.org (William Prothero) Date: Wed, 24 Feb 2016 15:59:24 -0800 Subject: Send multiple variables to a URL with POST to SQLSRV + php In-Reply-To: References: Message-ID: <5C8CF642-3765-4243-A402-A66D6B179AA5@earthednet.org> David: Perhaps this link will help. There is a demo stack you can download. http://es.earthednet.org/SoftwareForEducation Bill > On Feb 24, 2016, at 3:09 PM, david alfredo zu?iga soto wrote: > > Hi all, a little help please. > in my app of LiveCode use this sentence: put "tIDUsr=" & IDUsr & "&tPWD=" & PWD & "&tCorreo"&correo into tArgList post tArgLists to URL "http://172.16.2.130:8080/BuscarNombreUsr.php" put it into encodeNombre > Presumably, sent the user id, password and mail my script of php.. but. This only marks | Undefined index: tIDUsr in| and this is for all data sent.. > > my script php does this.. > > > any suggestions ?? thanks for everything > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Feb 24 20:40:41 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 25 Feb 2016 01:40:41 +0000 Subject: leap to future In-Reply-To: <56CE2ED3.4020100@livecode.com> References: <29B30F47-5C6B-4EE9-AC3F-CB2755B207DE@thehales.id.au> <56CD6681.4050800@livecode.com> <56CE2ED3.4020100@livecode.com> Message-ID: ? @ stephen: "I don't think the OSS folks get HTML5. If they did, then I would have it in my 'Indy' license... ( I really don't like that term ) "? Right, that would be the obvious conclusion.... but.... You can look back in the list.. I had a "tough round" of discussion (me complaining; HQ explaining) saying how it made no sense to force Indy users to have to pay for the OSS version of HTML5 if they had no closed source requirements.. e.g I have no closed source requirements other than being forced by Apple.? We were told in no uncertain terms, "not gonna happen." It's still baffling, as it would seem to be a no-brainer to turn on the HTML5 Standalone builder option in the Indy version and turn off the option to encrypt it if you had not paid for HTML5...? Again response was "not gonna happen." So there comes a time when, if Daddy says, "That's the way it's going to be," you have to just be quiet. There must be some underlying tech reason why it's not possible. Either or the internal tracking of paid/unpaid licenses for HTML5 option for Indy users could turn into a nightmare... ? BR On February 24, 2016 at 12:30:35 PM, Peter TB Brett (peter.brett at livecode.com(mailto:peter.brett at livecode.com)) wrote: > The "OSS folks" do indeed "get HTML5". > > You can currently use the GPL-licensed engine to deploy GPL-licensed > HTML5 apps at no cost, and it's all available in the open source edition > build of LiveCode. > > If you want to deploy apps under any other open- or closed-source > copyright license, then you need to have a current HTML5 deployment license. > > Peter From ambassador at fourthworld.com Wed Feb 24 20:48:39 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Feb 2016 17:48:39 -0800 Subject: leap to future In-Reply-To: References: Message-ID: <56CE5D77.9050002@fourthworld.com> Sannyasin Brahmanathaswami wrote: > It's still baffling, as it would seem to be a no-brainer to turn on > the HTML5 Standalone builder option in the Indy version and turn off > the option to encrypt it if you had not paid for HTML5... > > Again response was "not gonna happen." > > So there comes a time when, if Daddy says, "That's the way it's going > to be," you have to just be quiet. If you want to deliver GPL-governed work, all other deployment options require using the Community Edition. With HTML output it may be simply that the JS-translated engine is different in the proprietary editions from the Community one. Either way, if you want to deploy GPL-governed works you probably already have the Community Edition, so while I was initially also not clear on the "why" here, the other "why", as in "why I would want this" was something I couldn't answer either, so I'm okay with the arrangement. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brahma at hindu.org Wed Feb 24 20:54:05 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 25 Feb 2016 01:54:05 +0000 Subject: Hi-Res Images at Natural Size? In-Reply-To: References: Message-ID: ?randy wrote: >When I include an image in an iPad app I reduce height and width by half,? >lock the image, and set quality to ?good?. The resulting display in the? >IDE and simulator does look soft. However, the same image looks sharp on? >the device. I just checked that again on an iPad Air.? >? >be well,? >randy? This has been my experience here. Neither my 15.4" 2880 X1800 Macbook Pro nor the LG Ultrawide 34Inch 3440 X 1440 displays can match the sharpness of the same image on my iPhone 6+.? But my use case may be different. I'm trying to keep the overall "weight" of the app within reason where we need to employ 500 + images. and the "eyes" I have to please are not that discriminating. I use the same method as Randy: create images at 2X (3X4 w/ live margins set inside that for "vital" elements = 1472 X 1104 |1104 X1472... My SafeZone research worked out well...) save at max jpg, run thru imgMagic and Mozjpeg to quality 80 and reduce half size and lock in the app. Use showAll.? A further "proof" : small type that appears totally unacceptable in a stack on screen OR the simulator, is quite sharp on the device. >? From brahma at hindu.org Wed Feb 24 21:09:31 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 25 Feb 2016 02:09:31 +0000 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <56CD8213.8010801@livecode.com> References: <1454942234194-4700894.post@n4.nabble.com> <56CD8213.8010801@livecode.com> Message-ID: So there is no way to play audio or video via *any* method in an HTML5 standalone? In a world of YouTube, iTune, Pandora etc.. Not having this capability in LC seems... well (I will refrain from explicatives...) Any other options to play besides the player? Leverage web kit? Create a mini web page on our server for display of video/audio and then use the browser widget in an HTML5 app? (TBD) ? This is a critical mass function/requirement... On February 24, 2016 at 12:12:45 AM, Peter TB Brett (peter.brett at livecode.com) wrote: Hi Martin and Brahmanathaswami, There is no current ETA for implementing player support in the HTML5 engine. I can confirm that it *won't* be in LiveCode 8.0, however. Peter From stephenREVOLUTION2 at barncard.com Wed Feb 24 21:21:09 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 24 Feb 2016 18:21:09 -0800 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: <1454942234194-4700894.post@n4.nabble.com> <56CD8213.8010801@livecode.com> Message-ID: On Wed, Feb 24, 2016 at 6:09 PM, Sannyasin Brahmanathaswami < brahma at hindu.org> wrote: > Not having this capability in LC seems... well (I will refrain from > explicatives...) > if a monk swears in the woods, will anyone hear? (ducking...) Stephen Barncard - Sebastopol Ca. USA - mixstream.org From monte at appisle.net Wed Feb 24 22:17:28 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 25 Feb 2016 14:17:28 +1100 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: <1454942234194-4700894.post@n4.nabble.com> <56CD8213.8010801@livecode.com> Message-ID: <1B9D8A0C-970C-46AA-A68B-30A29B6023FC@appisle.net> > On 25 Feb 2016, at 1:09 PM, Sannyasin Brahmanathaswami wrote: > > Not having this capability in LC seems... well (I will refrain from explicatives...) Did you expect such a major and technically difficult port of the platform to all arrive in one blob without any progressive development? As is HTML5 deployment will be quite functional for quite a number of apps. It seems reasonable to me that those that don?t need or can work around some of the currently un-ported features should have the opportunity to use it. Cheers Monte From peter.brett at livecode.com Thu Feb 25 00:48:05 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 25 Feb 2016 05:48:05 +0000 Subject: leap to future In-Reply-To: <56CE5D77.9050002@fourthworld.com> References: <56CE5D77.9050002@fourthworld.com> Message-ID: <56CE9595.3020509@livecode.com> On 25/02/2016 01:48, Richard Gaskin wrote: > Sannyasin Brahmanathaswami wrote: > > > It's still baffling, as it would seem to be a no-brainer to turn on > > the HTML5 Standalone builder option in the Indy version and turn off > > the option to encrypt it if you had not paid for HTML5... > > > > Again response was "not gonna happen." > > > > So there comes a time when, if Daddy says, "That's the way it's going > > to be," you have to just be quiet. > > If you want to deliver GPL-governed work, all other deployment options > require using the Community Edition. With HTML output it may be simply > that the JS-translated engine is different in the proprietary editions > from the Community one. It is indeed different. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From brahma at hindu.org Thu Feb 25 00:59:20 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 25 Feb 2016 05:59:20 +0000 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <1B9D8A0C-970C-46AA-A68B-30A29B6023FC@appisle.net> References: <1454942234194-4700894.post@n4.nabble.com> <56CD8213.8010801@livecode.com> <1B9D8A0C-970C-46AA-A68B-30A29B6023FC@appisle.net> Message-ID: I realize my tone is a bit "strident" ... sorry about that. Of course we don't expect something all at once, my problem and the problem of many here is that while the rest of the digital revolution has forged head with huge advances in multi-media delivery. LC is still many years behind. So if we can run Landstat Satellites and entire Universities (vienna), I humbly submit that it's time to realize "you did it" when it comes to data management... and to put media delivery at the forefront of the agenda not at the end of the agenda. The current generation is all about audio and video. "expect... all at once...." Many of us have been asking for audio/video improvements for well over the past ten years. So it's not as if we are coming out of the blue.... "difficult port" ?? there are any number of media player frameworks built on JS... Perhaps I'm very dense, but JS is use for media deliver *everywhere*... It's not about a player exactly.. but just to be able to stream audio and video. So back to my question: is there another way to play media using other means beside a player? I will test the browser widget myself (I'm assuming it will work in an HTML5 standalone.) BR... On February 24, 2016 at 5:18:00 PM, Monte Goulding (monte at appisle.net) wrote: Did you expect such a major and technically difficult port of the platform to all arrive in one blob without any progressive development? As is HTML5 deployment will be quite functional for quite a number of apps. It seems reasonable to me that those that don?t need or can work around some of the currently un-ported features should have the opportunity to use it. Cheers Monte From peter.brett at livecode.com Thu Feb 25 01:10:34 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 25 Feb 2016 06:10:34 +0000 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: <1454942234194-4700894.post@n4.nabble.com> <56CD8213.8010801@livecode.com> <1B9D8A0C-970C-46AA-A68B-30A29B6023FC@appisle.net> Message-ID: <56CE9ADA.9000308@livecode.com> On 25/02/2016 05:59, Sannyasin Brahmanathaswami wrote: > So back to my question: is there another way to play media using > other means beside a player? Not that I'm aware of. > I will test the browser widget myself (I'm assuming it will work in > an HTML5 standalone.) No, the browser widget is not available in HTML5 standalones (and indeed actually *can't* be for the time being due to the way that it works). I posted recently-ish about the problems making certain types of LiveCode features (such as "wait" and the "URL" chunk) work in the HTML5 engine. I'm sure you can find the e-mail in the list archives. Those same considerations apply to many of the other yet-to-be-implemented features. If you'd like to see multimedia and network connectivity in Community HTML5 standalones, you can speed up their delivery by finding a solution to those problems other than "redefine half the LiveCode Script language" or "rewrite the entire LiveCode engine". You don't need to "bang the drum" about HTML5 Player control support. *I KNOW*. I will implement it as soon as 1) it becomes technically possible to do so and/or (2) a developer has time to work on it. If you want it sooner: you can accelerate (1) by contributing the open source project; and you can accelerate (2) by contributing to the open source project or giving us more money (e.g. by buying an HTML5 deployment license, or by getting a Business license and purchasing dedicated developer time). By the way, the same considerations apply to all the other "critically important feature requests" you so frequently put into the bug tracker, Brahmanathaswami. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From terry.judd at unimelb.edu.au Thu Feb 25 01:28:41 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 25 Feb 2016 06:28:41 +0000 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <56CE9ADA.9000308@livecode.com> References: <1454942234194-4700894.post@n4.nabble.com> <56CD8213.8010801@livecode.com> <1B9D8A0C-970C-46AA-A68B-30A29B6023FC@appisle.net> <56CE9ADA.9000308@livecode.com> Message-ID: Apologies for hijacking this thread somewhat but Peter could you possibly comment on the likelihood of clipboard support being added to HTML5 in the near (or middle) future. I understand there are potential security concerns around use of the clipboard but it would be good to hear your thoughts on how these might be accommodated (or not). Regards, Terry... On 25/02/2016 5:10 pm, "use-livecode on behalf of Peter TB Brett" wrote: >On 25/02/2016 05:59, Sannyasin Brahmanathaswami wrote: > >> So back to my question: is there another way to play media using >> other means beside a player? > >Not that I'm aware of. > >> I will test the browser widget myself (I'm assuming it will work in >> an HTML5 standalone.) > >No, the browser widget is not available in HTML5 standalones (and indeed >actually *can't* be for the time being due to the way that it works). > >I posted recently-ish about the problems making certain types of >LiveCode features (such as "wait" and the "URL" chunk) work in the HTML5 >engine. I'm sure you can find the e-mail in the list archives. Those >same considerations apply to many of the other yet-to-be-implemented >features. > >If you'd like to see multimedia and network connectivity in Community >HTML5 standalones, you can speed up their delivery by finding a solution >to those problems other than "redefine half the LiveCode Script >language" or "rewrite the entire LiveCode engine". > >You don't need to "bang the drum" about HTML5 Player control support. >*I KNOW*. I will implement it as soon as 1) it becomes technically >possible to do so and/or (2) a developer has time to work on it. > >If you want it sooner: you can accelerate (1) by contributing the open >source project; and you can accelerate (2) by contributing to the open >source project or giving us more money (e.g. by buying an HTML5 >deployment license, or by getting a Business license and purchasing >dedicated developer time). > >By the way, the same considerations apply to all the other "critically >important feature requests" you so frequently put into the bug tracker, >Brahmanathaswami. > > Peter > > >-- >Dr Peter Brett >LiveCode Open Source Team > >LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Feb 25 01:34:34 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 25 Feb 2016 06:34:34 +0000 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <56CE9ADA.9000308@livecode.com> References: <1454942234194-4700894.post@n4.nabble.com> <56CD8213.8010801@livecode.com> <1B9D8A0C-970C-46AA-A68B-30A29B6023FC@appisle.net> <56CE9ADA.9000308@livecode.com> Message-ID: Points taken.. sorry to be a burr in the side... Thanks for listening. I'll look at the budgets and see what we can do from here. All the best to the team. On February 24, 2016 at 8:11:33 PM, Peter TB Brett (peter.brett at livecode.com) wrote: You don't need to "bang the drum" about HTML5 Player control support. *I KNOW*. I will implement it as soon as 1) it becomes technically possible to do so and/or (2) a developer has time to work on it. If you want it sooner: you can accelerate (1) by contributing the open source project; and you can accelerate (2) by contributing to the open source project or giving us more money (e.g. by buying an HTML5 deployment license, or by getting a Business license and purchasing dedicated developer time). By the way, the same considerations apply to all the other "critically important feature requests" you so frequently put into the bug tracker, Brahmanathaswami. From hh at livecode.org Thu Feb 25 02:41:44 2016 From: hh at livecode.org (-hh) Date: Wed, 24 Feb 2016 23:41:44 -0800 (PST) Subject: Look positive at HTML5 now Message-ID: <1456386104037-4701410.post@n4.nabble.com> Here a constructive post to HTML5. CLUSTER-6: ** Six HTML5 standalones running smoothly together in one window. ** hh.on-rev.com/html5/ (the cyan button "CLUSTER" is at bottom). I don't hesitate at all to criticize if appropriate, but much the same I don't hesitate to praise: Have fun and try yourself, LC 8.0.0-dp15 did a big step forward with the HTML5 builder! Look at your great work, Peter (and some co-workers)! After you started the six modules you can have with that cluster 9 clocks running "in sync". Work with one module and watch the others. Load one single other module before loading cluster-6, then it's faster. This is a real stress test for browsers, compare their performance with cluster-6. Currently Firefox is running fastest (with animations), Safari has the best caching for repeated usage. Zoom the window *content* in/out to fit your window or screen (I mean the cmd-minus/plus/0 mechanism). I have (with a 50 Mbit connection) Cluster-6 complete here in ... 12 seconds with Firefox ... 16 seconds with Safari ... 32 seconds with Chrome ... 40 seconds with Opera This is my opinion to the current state of HTML5: It's still in the lower half of a first final state. **And it's not very coincident with my wish list.** But where it is, it is far beyond my expectations. And it has already now become hard to touch it's limits (I tried). I like it, go on! ======= Hermann p.s. these modules demo a little bit what already works fine. At topLeft: Fields with effects, a cool font and a color chooser. At bottomLeft: Numbers drawn by polygons and a small color chooser. At topRight: Symbols displayed by changing backPatterns. At midRight: Polygon Clocks, one "wireframe" style, one "plain" style. At bottomRight: Manipulating imagedata for display (6 images only). -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Look-positive-at-HTML5-now-tp4701410.html Sent from the Revolution - User mailing list archive at Nabble.com. From mark at livecode.com Thu Feb 25 03:13:48 2016 From: mark at livecode.com (Mark Waddingham) Date: Thu, 25 Feb 2016 09:13:48 +0100 Subject: leap to future In-Reply-To: References: <29B30F47-5C6B-4EE9-AC3F-CB2755B207DE@thehales.id.au> <56CD6681.4050800@livecode.com> Message-ID: <025ecbb76ac8af6384167914a8d4db13@livecode.com> On 2016-02-24 22:58, Sannyasin Brahmanathaswami wrote: > But it is my understanding that we can deploy HTML5 from community > "for free" assuming that we do not need to lock up the code. You can download the Community version of LiveCode from our servers at no cost. However, usage of the Community version of LiveCode binds you to the terms of the GPL. Any *stackfiles* you create with LiveCode Community must be distributed under the GPL (basically meaning that anyone you give a stackfile to has the right to modify it and redistribute the modified version as they see fit, as long as they also abide by the GPL). So whilst the Community edition is 'free' (as in beer), it also enforces freedom on any code you write with it :) Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From t.heaford at icloud.com Thu Feb 25 03:27:55 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 25 Feb 2016 08:27:55 +0000 Subject: DataGrid In-Reply-To: References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> Message-ID: > On 24 Feb 2016, at 22:13, stephen barncard wrote: > > But my question is ... why is it so S L O W ?? I have asked this question a number of times and don?t believe I ever got a full answer. I think the why is easy. Its because it is built using multiple live code fields and manipulating data in these fields when scrolling is pushing live code scripting probably to and beyond it?s limits. For smallish tables it works adequately but as the number of rows and columns increases the performance diminishes to a point where you say to yourself it is is not useable. I believe it was probably created by Trevor Devore because he had a need and live code didn?t provide a table/grid at the time. It will never scroll smoothly as say Objective-C tables in Xcode as the data grid probably relies on moving the cell contents from field to field to simulate scrolling so to the eye it does not appear to be smooth. This again is not helped by the fact it is done in script which in comparison to compiled is slow. There really needs to be a version created in a c or c++ or objective-c or whatever that is compiled into the the live code system. Until this happens Livecode to my mind will not be able to compete with development environments that provide a ?Proper? table solution. There are clearly a lot of man hours required to develop a native table and it appears that Livecode management at the moment do not seem willing to expend them? and.. maybe for Open Source users it will never be available as LiveCode will maybe charge extra for it? Not looking for a debate because I have tried all solutions to what Stephen Barncard is suffering and none really provide a ?Professional? solution. It would be great if I am wrong and LiveCode in version 8 incorporated a table that was scriptable and performed at the speed a table should in a professional development environment. Fingers crossed. All the best Terry From mark at livecode.com Thu Feb 25 03:34:19 2016 From: mark at livecode.com (Mark Waddingham) Date: Thu, 25 Feb 2016 09:34:19 +0100 Subject: leap to future In-Reply-To: References: <29B30F47-5C6B-4EE9-AC3F-CB2755B207DE@thehales.id.au> <56CD6681.4050800@livecode.com> <56CE2ED3.4020100@livecode.com> Message-ID: On 2016-02-25 02:40, Sannyasin Brahmanathaswami wrote: > We were told in no uncertain terms, "not gonna happen." It is important to understand that LiveCode Community and LiveCode Indy are distinct things. Whilst Community offers a proper subset of functionality to Indy at the moment that is by no means guaranteed in the future (it is entirely possible that Community might at some point come with GPL-licensed extensions which are incompatible with the Indy Commercial license). Both editions share a common source base but the license under which you receive either is hugely different. > It's still baffling, as it would seem to be a no-brainer to turn on > the HTML5 Standalone builder option in the Indy version and turn off > the option to encrypt it if you had not paid for HTML5...? The difference between Community and Indy is not really anything to do with the 'option to encrypt' it is related to licensing. If you want to do commercial work where you are able to choose the license under which you distribute your code, then you must buy a commercial license. If you don't care about choosing the license under which you distribute your code and are happy with abiding by the terms of the GPL then, by all means, use community. > Again response was "not gonna happen." > > So there comes a time when, if Daddy says, "That's the way it's going > to be," you have to just be quiet. I think the mistake being made in these threads is assuming that Community is just Indy without code protection. It is not. Community is licensed entirely differently - therefore, being able to build HTML5 standalones in Indy 'without protection' is *not* the same as being able to build HTML5 standalones in Community from a licensing perspective. > There must be some underlying tech reason why it's not possible. > Either or the internal tracking of paid/unpaid licenses for HTML5 > option for Indy users could turn into a nightmare... ? Given the complexity of software licensing these days, it seems to me that the best and easiest approach is to keep the Community and Indy products entirely separate. I can absolutely guarantee you that we will be making absolutely no attempt to create some sort of strange undefinable hybrid licensing mess which nobody quite understands (some might say there's quite enough of that sort of thing in the world already!). If you want to use HTML5, but don't have a Indy license for deployment with - you are free to use the Community edition, but remember that you must abide by the terms of the GPL. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Thu Feb 25 04:19:38 2016 From: mark at livecode.com (Mark Waddingham) Date: Thu, 25 Feb 2016 10:19:38 +0100 Subject: Hi-Res Images at Natural =?UTF-8?Q?Size=3F?= In-Reply-To: References: Message-ID: On 2016-02-25 02:54, Sannyasin Brahmanathaswami wrote: > This has been my experience here. Neither my 15.4" 2880 X1800 Macbook > Pro nor the LG Ultrawide 34Inch 3440 X 1440 displays can match the > sharpness of the same image on my iPhone 6+.? The pixel density of the iPhone 6+ is 401ppi. The pixel density of your 15.4" MacBook Pro is 220ppi. The pixel density of your LG Ultrawide 34inch display is 109ppi. The pixel density of a 27" iMac non-retina display is 102ppi. The iPhone Simulator maps one simulated device pixel to one screen pixel, so the net effect you will get on (say) a 27" iMac is that of 51ppi. The lower the ppi, the less sharp things will appear :) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From stephenREVOLUTION2 at barncard.com Thu Feb 25 04:28:49 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 25 Feb 2016 01:28:49 -0800 Subject: DataGrid In-Reply-To: References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> Message-ID: On Thu, Feb 25, 2016 at 12:27 AM, Terence Heaford wrote: > For smallish tables it works adequately but as the number of rows and > columns increases the performance diminishes I know how it's made and who made it. I just didn't think 350 rows x 12 columns would be 'too big'....and I thought I remembered it being faster a few versions ago. thanks for confirming Terence... back to a tabbed scrolling field.... The datagrid CONCEPT is brilliant!!! sqb Stephen Barncard - Sebastopol Ca. USA - mixstream.org From t.heaford at icloud.com Thu Feb 25 04:47:31 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 25 Feb 2016 09:47:31 +0000 Subject: DataGrid In-Reply-To: References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> Message-ID: <826C1AC2-76AC-4FE1-93E7-1B399438F83D@icloud.com> > On 25 Feb 2016, at 09:28, stephen barncard wrote: > > I know how it's made and who made it. I just didn't think 350 rows x 12 > columns would be 'too big'....and I thought I remembered it being faster a > few versions ago. I think there is also a performance hit depending on which version of LC you use. I believe 6.7.8 is faster than 7.1.1 is >= 8 This I believe is as a result of the different text system used in 7.1.1 vs 6.7.8. I believe from some simple timing that the 7.1.1 is approx. 15% slower than 6.7.8. We shouldn?t really compare LC 8 because it is still dp. All the best Terry From lan.kc.macmail at gmail.com Thu Feb 25 05:44:36 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 25 Feb 2016 18:44:36 +0800 Subject: Free BasicClock desktop clock for OSX In-Reply-To: <56CD81C8.2060003@livecode.com> References: <56C1BAD2.50203@livecode.com> <56CD81C8.2060003@livecode.com> Message-ID: Enhancement Request: 17017 On Wed, Feb 24, 2016 at 6:11 PM, Peter TB Brett wrote: > On 16/02/2016 03:23, Kay C Lan wrote: > >> On Mon, Feb 15, 2016 at 7:47 PM, Peter TB Brett > > >> wrote: >> >> >>> Is your clock open source? At the moment it has "All rights reserved" in >>> the copyright... >>> >>> I don't have a Community Edition of LC in front of me but I know for the >>> >> other editions: >> >> All rights reserved worldwide >> >> is the default entry in the Copyright Notice box of the Standalone >> Application Settings (Win & Mac only). Is this automatically replaced with >> 'Licensed under GNU General Public License version 2 - GPL2' (or words to >> that effect) for the Community Edition? If not, it should be. >> > > I agree. Can you please file a bug report, so we don't forget about it? > > Peter > > -- > Dr Peter Brett > LiveCode Open Source Team > > LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Thu Feb 25 05:58:39 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 25 Feb 2016 02:58:39 -0800 Subject: Hi-Res Images at Natural Size? In-Reply-To: References: Message-ID: Thanks for the explanation Mark. The discrepancy in resolution is intensified in the simulator when a bitmap is displayed near text content, which remains sharp at any size. So when one sets the simulator to 100% scale and sees perfectly rendered 2cm text characters drawn alongside a fuzzy mess of a bitmap, I think many would be of the opinion (flawed as it is) that something is amiss. :-) Best Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design > On Feb 25, 2016, at 1:19 AM, Mark Waddingham wrote: > >> On 2016-02-25 02:54, Sannyasin Brahmanathaswami wrote: >> This has been my experience here. Neither my 15.4" 2880 X1800 Macbook >> Pro nor the LG Ultrawide 34Inch 3440 X 1440 displays can match the >> sharpness of the same image on my iPhone 6+. > > The pixel density of the iPhone 6+ is 401ppi. > > The pixel density of your 15.4" MacBook Pro is 220ppi. > > The pixel density of your LG Ultrawide 34inch display is 109ppi. > > The pixel density of a 27" iMac non-retina display is 102ppi. > > The iPhone Simulator maps one simulated device pixel to one screen pixel, so the net effect you will get on (say) a 27" iMac is that of 51ppi. > > The lower the ppi, the less sharp things will appear :) > > 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 lan.kc.macmail at gmail.com Thu Feb 25 06:42:49 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 25 Feb 2016 19:42:49 +0800 Subject: updating progress to user during long handler In-Reply-To: <1456320248180-4701358.post@n4.nabble.com> References: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> <3C751E29-70F1-4C82-AF47-3A20458F2C5A@thehales.id.au> <56CD221B.2010602@pdslabs.net> <1456320248180-4701358.post@n4.nabble.com> Message-ID: On Wed, Feb 24, 2016 at 9:24 PM, jameshale wrote: > > Tried it but no change. > When you say you added some Beeps, was this to the mainstack handler or the updateme handler in the splash stack? If it wasn't in the updateme what happens if you move the beep to there? If you put a breakpoint immediately after the line in the updateme handler which places text into the fld, when stopped during debugging is the text actually in the field? If you place the breakpoint in your mainstack handler immediately after the send "updateme mupdate" when stopped is the text in the field? Instead of your fld, what happens if you send the text to the message box? From lan.kc.macmail at gmail.com Thu Feb 25 06:59:00 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 25 Feb 2016 19:59:00 +0800 Subject: Cursor changes to a hand in the ide In-Reply-To: References: Message-ID: Welome Jim, What happens if you forget your first test stack and start a fresh. Start LiveCode, create a New Stack. Have you got the Pointer Tool back? Can you drag buttons and fields onto your new stack now? If you can reproduce your first problem it would be worth submitting a bug report with recipe and your stack. From mark at livecode.com Thu Feb 25 07:04:25 2016 From: mark at livecode.com (Mark Waddingham) Date: Thu, 25 Feb 2016 13:04:25 +0100 Subject: Hi-Res Images at Natural =?UTF-8?Q?Size=3F?= In-Reply-To: References: Message-ID: <8e5f4cdd8e0404652511ffb6768f07b9@livecode.com> On 2016-02-25 11:58, Scott Rossi wrote: > Thanks for the explanation Mark. The discrepancy in resolution is > intensified in the simulator when a bitmap is displayed near text > content, which remains sharp at any size. So when one sets the > simulator to 100% scale and sees perfectly rendered 2cm text > characters drawn alongside a fuzzy mess of a bitmap, I think many > would be of the opinion (flawed as it is) that something is amiss. :-) I do think this is just a 'visual artifact' - remember that when you scale down an image it will be filtered (if the resizeQuality is at least good) - so in the iPhone simulator you will more clearly see the slight blurring that occurs as a result of this as you are seeing it at twice the size. I've just confirmed the engine is doing things correctly: on mouseUp local tImageData repeat with i = 1 to 64 put numToByte(0) after tImageData put numToByte(0) after tImageData put numToByte(0) after tImageData if (i mod 2) is 0 then put numToByte(0) after tImageData else put numToByte(255) after tImageData end if end repeat set the width of image 1 to 8 set the height of image 1 to 8 set the imageData of image 1 to tImageData set the width of image 1 to 4 set the height of image 1 to 4 end mouseUp Creates a small image on a stack whose image data is 8x8 but which is rendered at 4x4. The image is 8 vertical lines, each 1 pixel wide which alternates between black and blue. On my non-Retina iMac, zooming the desktop in, the image is 4x4 solid dark blue - because it is downscaling by a factor of two, each pixel will be an average of 4 pixels - 50% black, 50% blue which is 50% blue (0,0,127 or thereabouts). When I run the stack on a Retina iPhone simulator, I see all 64 pixels faithfully represented as I would expect since the simulated Retina screen uses two screen pixels for every logical pixel. i.e. In other words, the engine will use as many device pixels as it has to render things (images are scaled from the original source size direct to the screen - and not via the number of logical pixels). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From colinholgate at gmail.com Thu Feb 25 07:20:10 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 25 Feb 2016 07:20:10 -0500 Subject: Hi-Res Images at Natural Size? In-Reply-To: <8e5f4cdd8e0404652511ffb6768f07b9@livecode.com> References: <8e5f4cdd8e0404652511ffb6768f07b9@livecode.com> Message-ID: <50A12619-B209-4705-B2F7-C6D5A6FA9C82@gmail.com> Small tip on the zooming your desktop image: The zooming feature has an option to do smoothing, which I imagine defaults to on. You want to turn that off if you are using zooming as a debug technique. With it turned off, zoom becomes a very useful way to analyze antialiasing issues. > On Feb 25, 2016, at 7:04 AM, Mark Waddingham wrote: > > On my non-Retina iMac, zooming the desktop in, the image is 4x4 solid dark blue - because it is downscaling by a factor of two, each pixel will be an average of 4 pixels - 50% black, 50% blue which is 50% blue (0,0,127 or thereabouts). From mickclns at mac.com Thu Feb 25 08:05:27 2016 From: mickclns at mac.com (Mick Collins) Date: Thu, 25 Feb 2016 08:05:27 -0500 Subject: beggars be choosers In-Reply-To: References: Message-ID: <76D4A032-64AC-43C5-A2DF-68048FF129E4@mac.com> I?m one of those who can?t afford anything more than the community version of LC (for reasons of money, testing / experiment time). I?m wondering whether there will be a version 6._ or 7._ which will come out before the first sanctified version of 8 and when the next version (of 6, 7, and/or 8) is expected to come out. Thanks, - Mick From lists at mangomultimedia.com Thu Feb 25 09:30:16 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 25 Feb 2016 09:30:16 -0500 Subject: DataGrid In-Reply-To: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> Message-ID: Hi everyone, I'm going to include responses to a number of thread comments in this response. On Wed, Feb 24, 2016 at 2:53 PM, Clarence P Martin wrote: > a very immersive user and I need to know how things work. This allows me > to get the most out of anything that I use. I am also assuming that this is > supposed to be a ?Data Centric? tool which is very important to certain > applications. > Yes, DataGrids are a data centric tool. > I am hoping that this tool is high on the list of ?near future? widgets > and will eventually be less cryptic. I don't know what the plans are for widgets that provide similar functionality to the DataGrid. I would hope that nobody ever tries to create a widget that does the exact same thing. That would be asanine :-) Rather, widgets should be more focused in the problems they try to solve (e.g. don't combine the form and table in the same widget). The DataGrid was built using the technology available at the time and combined a couple of features in order to solve a broader range of issues developers were facing. > I have seen the tutorials on the LiveCode site and I am still trying to > completely understand the tool. > If the author of this tool reads this list, I am hoping for some help and > insight on using this tool. > I am the original author of the DataGrid. I don't provide any one-on-one support and unfortunately I don't have time to explain everything about how it works under the hood. You would need to dig into the code if you want that kind of understanding. If you have specific questions as you go through existing documentation then you can post those and someone here will be able to provide some help. On Wed, Feb 24, 2016 at 5:13 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > But my question is ... why is it so S L O W ?? IIRC, you are seeing a slowdown in LC 7 or 8. Is that correct? Do you have a test stack you can show that demonstrates the slow down you are seeing? While I don't use the DataGrid any longer, a control I use that is similar to the DataGrid doesn't perform any differently in LC 8. On Thu, Feb 25, 2016 at 3:27 AM, Terence Heaford wrote: > > > Its because it is built using multiple live code fields and manipulating > data in these fields when scrolling is pushing live code scripting > probably to and beyond it?s limits. For smallish tables it works > adequately but as the number of rows and columns increases the performance > diminishes > to a point where you say to yourself it is is not useable. The number of rows shouldn't affect the scrolling speed. The DataGrid doesn't create any more rows based on the amount of data. It only generates enough controls to view the visible rows (+ a handful of others). The number of columns can affect the scrolling as more controls have to be created based on the number of columns. > I believe it was probably created by Trevor Devore because he had a need > and live code didn?t > provide a table/grid at the time. > I created the DataGrid form to meet specific needs my projects had. It evolved over a couple of different projects. I was asked to add the table functionality by LiveCode as there was no solid table solution and (as we well know by now) there wasn't going to be a dedicated table control created in the old LiveCode engine. > It will never scroll smoothly as say Objective-C tables in Xcode as the > data grid probably relies on moving the cell contents from field to field > to simulate scrolling > so to the eye it does not appear to be smooth. This again is not helped by > the fact it is done in script which in comparison to compiled is slow. > Very true. The fact that the DataGrid has to create so many LiveCode controls puts it at a huge disadvantage. Each control carries a lot of baggage when it comes to rendering and event processing. > There really needs to be a version created in a c or c++ or objective-c or > whatever that is compiled into the the live code system. > I don't think this is the case. Widgets provide (or at least will provide) an excellent platform for building out a custom control like a Widget. When designing a widget, a developer only has to draw what is absolutely necessary. This is much more efficient than the current approach. Widgets are also self-contained unlike groups which makes event processing much easier. And because widgets can be nested the underlying design becomes much simpler. I think widgets will give us everything we need without having to resort to C++. We still can't create editable text fields with a Widget yet so creating an editable table or form isn't possible yet. But once we can then widgets will be the way to go. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From jf_byrnes at comcast.net Thu Feb 25 09:34:27 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Thu, 25 Feb 2016 08:34:27 -0600 Subject: Cursor changes to a hand in the ide In-Reply-To: References: Message-ID: On 02/25/2016 05:59 AM, Kay C Lan wrote: > Welome Jim, > > What happens if you forget your first test stack and start a fresh. Start > LiveCode, create a New Stack. Have you got the Pointer Tool back? Can you > drag buttons and fields onto your new stack now? Yes, I deleted the original stack and restarted Livecode and I was able to operate normally. > If you can reproduce your first problem it would be worth submitting a bug > report with recipe and your stack. On my second attempt I used a different approach. I should have time today to duplicate my first attempt and see what happens. Thanks, Jim From t.heaford at icloud.com Thu Feb 25 09:45:40 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 25 Feb 2016 14:45:40 +0000 Subject: DataGrid In-Reply-To: References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> Message-ID: <782C7F5B-C538-4FD9-9359-24097A31541E@icloud.com> > On 25 Feb 2016, at 14:30, Trevor DeVore wrote: > > The number of rows shouldn't affect the scrolling speed. The DataGrid > doesn't create any more rows based on the amount of data. It only generates > enough controls to view the visible rows (+ a handful of others). The > number of columns can affect the scrolling as more controls have to be > created based on the number of columns. The number of visible rows on screen does affect the performance of the DataGrid. With the increasing size of screens, being able to display more visible rows and full screen mode in the likes of OSX, more and more pressure will be placed on the LiveCode scripting engine. Do you believe that the performance of the LiveCode scripting engine can be improved to achieve a full screen smooth scrolling DataGrid similar to NSTableView in Xcode/Objective-C? All the best Terry From t.heaford at icloud.com Thu Feb 25 09:56:19 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 25 Feb 2016 14:56:19 +0000 Subject: DataGrid In-Reply-To: References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> Message-ID: > On 25 Feb 2016, at 14:30, Trevor DeVore wrote: > > I don't think this is the case. Widgets provide (or at least will provide) > an excellent platform for building out a custom control like a Widget. I am not sure precisely how Livecode builder works in comparison to the live code script engine but I assume they both compile to byte code. Is the byte code produced by LCB much faster to execute than the byte code produced by the scripting engine? I presume (probably incorrectly) that the scripting engine produces byte code when the script is first called whereas LCB produces byte code when the widget is compiled? Does this mean that after the first compile the script engine byte code is just as efficient as LCB? All the best Terry From paul at researchware.com Thu Feb 25 10:23:50 2016 From: paul at researchware.com (Paul Dupuis) Date: Thu, 25 Feb 2016 10:23:50 -0500 Subject: DataGrid (Documentation) In-Reply-To: References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> Message-ID: <56CF1C86.909@researchware.com> I just looked at LC8dp15 and still no documentation on the Datagrid. At the very least, to support this important tool, if you do not include all the APIs in the Dictionary OR if the Datagrid is not going to be converted to a Widget with its companion documentation any time soon, PLEASE at least add a link to it (http://lessons.livecode.com/m/datagrid/pdf) under the Help menu like for Release Notes, Sample Stacks, Tutorials and so on! OR better still add a single Dictionary entry that has a link to the lessons and PDF on the LiveCode site An easy to find reference for the Datagrid APIs, IN LiveCode itself, is long long long over due. From MikeKerner at roadrunner.com Thu Feb 25 11:10:31 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Feb 2016 11:10:31 -0500 Subject: DataGrid (Documentation) In-Reply-To: <56CF1C86.909@researchware.com> References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> <56CF1C86.909@researchware.com> Message-ID: It's not ready for 8 yet, AFAIK. In past discussions, we were told it would be a late conversion because it is so complex (you should read through the code that drives it). Anyway, there is a datagrid manual, but it is for LC7 and below. It is 230 pages and is available at LC's website. If you like, email me off list and I'll email you a copy. On Thu, Feb 25, 2016 at 10:23 AM, Paul Dupuis wrote: > I just looked at LC8dp15 and still no documentation on the Datagrid. > > At the very least, to support this important tool, if you do not include > all the APIs in the Dictionary OR if the Datagrid is not going to be > converted to a Widget with its companion documentation any time soon, > PLEASE at least add a link to it > (http://lessons.livecode.com/m/datagrid/pdf) under the Help menu like > for Release Notes, Sample Stacks, Tutorials and so on! OR better still > add a single Dictionary entry that has a link to the lessons and PDF on > the LiveCode site > > An easy to find reference for the Datagrid APIs, IN LiveCode itself, is > long long long over due. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 chipsm at themartinz.com Thu Feb 25 11:12:22 2016 From: chipsm at themartinz.com (Clarence P Martin) Date: Thu, 25 Feb 2016 08:12:22 -0800 Subject: DataGrid In-Reply-To: References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> Message-ID: <062501d16fe7$4f8ffce0$eeaff6a0$@themartinz.com> Trevor, Thanks for your reply. I will spend more time analyzing the code in the DataGrid. 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 Trevor DeVore Sent: Thursday, February 25, 2016 6:30 AM To: How to use LiveCode Subject: Re: DataGrid Hi everyone, I'm going to include responses to a number of thread comments in this response. On Wed, Feb 24, 2016 at 2:53 PM, Clarence P Martin wrote: > a very immersive user and I need to know how things work. This allows > me to get the most out of anything that I use. I am also assuming that > this is supposed to be a ?Data Centric? tool which is very important > to certain applications. > Yes, DataGrids are a data centric tool. > I am hoping that this tool is high on the list of ?near future? > widgets and will eventually be less cryptic. I don't know what the plans are for widgets that provide similar functionality to the DataGrid. I would hope that nobody ever tries to create a widget that does the exact same thing. That would be asanine :-) Rather, widgets should be more focused in the problems they try to solve (e.g. don't combine the form and table in the same widget). The DataGrid was built using the technology available at the time and combined a couple of features in order to solve a broader range of issues developers were facing. > I have seen the tutorials on the LiveCode site and I am still trying > to completely understand the tool. > If the author of this tool reads this list, I am hoping for some help > and insight on using this tool. > I am the original author of the DataGrid. I don't provide any one-on-one support and unfortunately I don't have time to explain everything about how it works under the hood. You would need to dig into the code if you want that kind of understanding. If you have specific questions as you go through existing documentation then you can post those and someone here will be able to provide some help. On Wed, Feb 24, 2016 at 5:13 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > But my question is ... why is it so S L O W ?? IIRC, you are seeing a slowdown in LC 7 or 8. Is that correct? Do you have a test stack you can show that demonstrates the slow down you are seeing? While I don't use the DataGrid any longer, a control I use that is similar to the DataGrid doesn't perform any differently in LC 8. On Thu, Feb 25, 2016 at 3:27 AM, Terence Heaford wrote: > > > Its because it is built using multiple live code fields and > manipulating data in these fields when scrolling is pushing live code > scripting probably to and beyond it?s limits. For smallish tables it > works adequately but as the number of rows and columns increases the > performance diminishes to a point where you say to yourself it is is > not useable. The number of rows shouldn't affect the scrolling speed. The DataGrid doesn't create any more rows based on the amount of data. It only generates enough controls to view the visible rows (+ a handful of others). The number of columns can affect the scrolling as more controls have to be created based on the number of columns. > I believe it was probably created by Trevor Devore because he had a > need and live code didn?t provide a table/grid at the time. > I created the DataGrid form to meet specific needs my projects had. It evolved over a couple of different projects. I was asked to add the table functionality by LiveCode as there was no solid table solution and (as we well know by now) there wasn't going to be a dedicated table control created in the old LiveCode engine. > It will never scroll smoothly as say Objective-C tables in Xcode as the > data grid probably relies on moving the cell contents from field to field > to simulate scrolling > so to the eye it does not appear to be smooth. This again is not helped by > the fact it is done in script which in comparison to compiled is slow. > Very true. The fact that the DataGrid has to create so many LiveCode controls puts it at a huge disadvantage. Each control carries a lot of baggage when it comes to rendering and event processing. > There really needs to be a version created in a c or c++ or objective-c or > whatever that is compiled into the the live code system. > I don't think this is the case. Widgets provide (or at least will provide) an excellent platform for building out a custom control like a Widget. When designing a widget, a developer only has to draw what is absolutely necessary. This is much more efficient than the current approach. Widgets are also self-contained unlike groups which makes event processing much easier. And because widgets can be nested the underlying design becomes much simpler. I think widgets will give us everything we need without having to resort to C++. We still can't create editable text fields with a Widget yet so creating an editable table or form isn't possible yet. But once we can then widgets will be the way to go. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.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 chipsm at themartinz.com Thu Feb 25 11:16:12 2016 From: chipsm at themartinz.com (Clarence P Martin) Date: Thu, 25 Feb 2016 08:16:12 -0800 Subject: DataGrid (Documentation) In-Reply-To: References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> <56CF1C86.909@researchware.com> Message-ID: <062701d16fe7$d93235d0$8b96a170$@themartinz.com> Thanks for the information, I appreciate it. 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 Mike Kerner Sent: Thursday, February 25, 2016 8:11 AM To: How to use LiveCode Subject: Re: DataGrid (Documentation) It's not ready for 8 yet, AFAIK. In past discussions, we were told it would be a late conversion because it is so complex (you should read through the code that drives it). Anyway, there is a datagrid manual, but it is for LC7 and below. It is 230 pages and is available at LC's website. If you like, email me off list and I'll email you a copy. On Thu, Feb 25, 2016 at 10:23 AM, Paul Dupuis wrote: > I just looked at LC8dp15 and still no documentation on the Datagrid. > > At the very least, to support this important tool, if you do not > include all the APIs in the Dictionary OR if the Datagrid is not going > to be converted to a Widget with its companion documentation any time > soon, PLEASE at least add a link to it > (http://lessons.livecode.com/m/datagrid/pdf) under the Help menu like > for Release Notes, Sample Stacks, Tutorials and so on! OR better still > add a single Dictionary entry that has a link to the lessons and PDF > on the LiveCode site > > An easy to find reference for the Datagrid APIs, IN LiveCode itself, > is long long long over due. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu Feb 25 11:24:01 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Feb 2016 11:24:01 -0500 Subject: DataGrid In-Reply-To: <062501d16fe7$4f8ffce0$eeaff6a0$@themartinz.com> References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> <062501d16fe7$4f8ffce0$eeaff6a0$@themartinz.com> Message-ID: Terry, Clarence, You really should mess with the DG code, if you're interested. Even though it's 8900 lines, it's very readable and easy to work on. When I've proposed code changes, LC (and Trevor) have been fast to evaluate them and incorporate them. At least in 6.x, even with what I think are some "fat" tables (hundreds of rows and 20 columns), response has been good on ios, anyway. On Thu, Feb 25, 2016 at 11:12 AM, Clarence P Martin wrote: > Trevor, > Thanks for your reply. > I will spend more time analyzing the code in the DataGrid. > > > 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 Trevor DeVore > Sent: Thursday, February 25, 2016 6:30 AM > To: How to use LiveCode > Subject: Re: DataGrid > > Hi everyone, > > I'm going to include responses to a number of thread comments in this > response. > > On Wed, Feb 24, 2016 at 2:53 PM, Clarence P Martin > wrote: > > > a very immersive user and I need to know how things work. This allows > > me to get the most out of anything that I use. I am also assuming that > > this is supposed to be a ?Data Centric? tool which is very important > > to certain applications. > > > > Yes, DataGrids are a data centric tool. > > > > I am hoping that this tool is high on the list of ?near future? > > widgets and will eventually be less cryptic. > > > I don't know what the plans are for widgets that provide similar > functionality to the DataGrid. I would hope that nobody ever tries to > create a widget that does the exact same thing. That would be asanine :-) > Rather, widgets should be more focused in the problems they try to solve > (e.g. don't combine the form and table in the same widget). The DataGrid > was built using the technology available at the time and combined a couple > of features in order to solve a broader range of issues developers were > facing. > > > > I have seen the tutorials on the LiveCode site and I am still trying > > to completely understand the tool. > > If the author of this tool reads this list, I am hoping for some help > > and insight on using this tool. > > > > I am the original author of the DataGrid. I don't provide any one-on-one > support and unfortunately I don't have time to explain everything about how > it works under the hood. You would need to dig into the code if you want > that kind of understanding. If you have specific questions as you go > through existing documentation then you can post those and someone here > will be able to provide some help. > > > > On Wed, Feb 24, 2016 at 5:13 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > But my question is ... why is it so S L O W ?? > > > IIRC, you are seeing a slowdown in LC 7 or 8. Is that correct? Do you have > a test stack you can show that demonstrates the slow down you are seeing? > While I don't use the DataGrid any longer, a control I use that is similar > to the DataGrid doesn't perform any differently in LC 8. > > > On Thu, Feb 25, 2016 at 3:27 AM, Terence Heaford > wrote: > > > > > > Its because it is built using multiple live code fields and > > manipulating data in these fields when scrolling is pushing live code > > scripting probably to and beyond it?s limits. For smallish tables it > > works adequately but as the number of rows and columns increases the > > performance diminishes to a point where you say to yourself it is is > > not useable. > > > The number of rows shouldn't affect the scrolling speed. The DataGrid > doesn't create any more rows based on the amount of data. It only generates > enough controls to view the visible rows (+ a handful of others). The > number of columns can affect the scrolling as more controls have to be > created based on the number of columns. > > > > I believe it was probably created by Trevor Devore because he had a > > need and live code didn?t provide a table/grid at the time. > > > > I created the DataGrid form to meet specific needs my projects had. It > evolved over a couple of different projects. I was asked to add the table > functionality by LiveCode as there was no solid table solution and (as we > well know by now) there wasn't going to be a dedicated table control > created in the old LiveCode engine. > > > > It will never scroll smoothly as say Objective-C tables in Xcode as the > > data grid probably relies on moving the cell contents from field to field > > to simulate scrolling > > so to the eye it does not appear to be smooth. This again is not helped > by > > the fact it is done in script which in comparison to compiled is slow. > > > > Very true. The fact that the DataGrid has to create so many LiveCode > controls puts it at a huge disadvantage. Each control carries a lot of > baggage when it comes to rendering and event processing. > > > > There really needs to be a version created in a c or c++ or objective-c > or > > whatever that is compiled into the the live code system. > > > > I don't think this is the case. Widgets provide (or at least will provide) > an excellent platform for building out a custom control like a Widget. When > designing a widget, a developer only has to draw what is absolutely > necessary. This is much more efficient than the current approach. Widgets > are also self-contained unlike groups which makes event processing much > easier. And because widgets can be nested the underlying design becomes > much simpler. I think widgets will give us everything we need without > having to resort to C++. > > We still can't create editable text fields with a Widget yet so creating an > editable table or form isn't possible yet. But once we can then widgets > will be the way to go. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com - www.clarify-it.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 > -- 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 Feb 25 11:30:56 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 08:30:56 -0800 Subject: beggars be choosers In-Reply-To: <76D4A032-64AC-43C5-A2DF-68048FF129E4@mac.com> References: <76D4A032-64AC-43C5-A2DF-68048FF129E4@mac.com> Message-ID: <56CF2C40.8010706@fourthworld.com> Mick Collins wrote: > I?m wondering whether there will be a version 6._ or 7._ which will > come out before the first sanctified version of 8 and when the next > version (of 6, 7, and/or 8) is expected to come out. I don't know, but if so I'd be very surprised if there was more than just one more build of either v6.x or 7.x. V8.0 is the future of the platform, and it benefits all of us to move away from the expense of maintaining three different versions ASAP. If you're able to help test v8 that'll help ensure it does everything your project needs. A Community Edition is available for v8.0, and in addition to representing where the code base is going it also includes hundreds of fixes and enhancements not backportable to older versions, so whether you begin testing with it today or wait until it's released it'll be a very good transition. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From panos.merakos at livecode.com Thu Feb 25 11:38:58 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 25 Feb 2016 16:38:58 +0000 Subject: Release 6.7.9 / 7.1.2 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 6.7.9 Stable and 7.1.2 Stable. By "Stable", we mean that no reported regressions have been introduced in 6.7.9 / 7.1.2, compared to the previous Stable release. Both 6.7.9 / 7.1.2 are a promotion of 6.7.9 RC-3 / 7.1.2 RC-3, so no change between the two versions, but the build number and the status. *Getting the Release* To get the release please download the installer directly at: http://downloads.livecode.com Warmest regards, The LiveCode Team From ambassador at fourthworld.com Thu Feb 25 11:44:33 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 08:44:33 -0800 Subject: DataGrid In-Reply-To: References: Message-ID: <56CF2F71.3090903@fourthworld.com> Trevor DeVore wrote: >> I have seen the tutorials on the LiveCode site and I am still trying to >> completely understand the tool. >> If the author of this tool reads this list, I am hoping for some help and >> insight on using this tool. > > I am the original author of the DataGrid. I don't provide any one-on-one > support and unfortunately I don't have time to explain everything about how > it works under the hood. You would need to dig into the code if you want > that kind of understanding. If you have specific questions as you go > through existing documentation then you can post those and someone here > will be able to provide some help. Clarence is a friend of mine, and I have some additional background on his needs from his comments at our last local user group meeting. While studying the DG code may be useful, for the moment I believe all Clarence needs is more basic info to get started using it. I did a quick search on Google for "livecode data grid lessons", and found this as the first hit: @Clarence: take a gander through those, and see how well the background info provided there orients you to using the DG, and how well the step-by-step instructions are easy to follow. Let's review your experience in our meeting next Thursday. Bring your experiments to the meeting and we can help fill in any gaps in your learning that may be needed, but the set of tutorials there is so broad that you may not need any additional help at all. -- 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 Feb 25 11:46:51 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 08:46:51 -0800 Subject: DataGrid (Documentation) In-Reply-To: References: Message-ID: <56CF2FFB.5020009@fourthworld.com> Mike Kerner wrote: > It's not ready for 8 yet, AFAIK. In past discussions, we were told it > would be a late conversion because it is so complex (you should read > through the code that drives it). > Anyway, there is a datagrid manual, but it is for LC7 and below. As you noted, the DG hasn't been rewritten for v8.0. Like any other things we script, it will work as well in v8 as in any previous version. Any documentation for it will continue to be useful until that custom control changes. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Thu Feb 25 11:46:56 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Feb 2016 11:46:56 -0500 Subject: DataGrid (Documentation) In-Reply-To: <062701d16fe7$d93235d0$8b96a170$@themartinz.com> References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> <56CF1C86.909@researchware.com> <062701d16fe7$d93235d0$8b96a170$@themartinz.com> Message-ID: Guys, Over in the Forums, the report is that DG will start to be worked on for LC8 on or about 3/15. On Thu, Feb 25, 2016 at 11:16 AM, Clarence P Martin wrote: > Thanks for the information, I appreciate it. > > 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 Mike Kerner > Sent: Thursday, February 25, 2016 8:11 AM > To: How to use LiveCode > Subject: Re: DataGrid (Documentation) > > It's not ready for 8 yet, AFAIK. In past discussions, we were told it > would > be a late conversion because it is so complex (you should read through the > code that drives it). > Anyway, there is a datagrid manual, but it is for LC7 and below. It is 230 > pages and is available at LC's website. If you like, email me off list and > I'll email you a copy. > > On Thu, Feb 25, 2016 at 10:23 AM, Paul Dupuis > wrote: > > > I just looked at LC8dp15 and still no documentation on the Datagrid. > > > > At the very least, to support this important tool, if you do not > > include all the APIs in the Dictionary OR if the Datagrid is not going > > to be converted to a Widget with its companion documentation any time > > soon, PLEASE at least add a link to it > > (http://lessons.livecode.com/m/datagrid/pdf) under the Help menu like > > for Release Notes, Sample Stacks, Tutorials and so on! OR better still > > add a single Dictionary entry that has a link to the lessons and PDF > > on the LiveCode site > > > > An easy to find reference for the Datagrid APIs, IN LiveCode itself, > > is long long long over due. > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 chipsm at themartinz.com Thu Feb 25 11:58:04 2016 From: chipsm at themartinz.com (Clarence P Martin) Date: Thu, 25 Feb 2016 08:58:04 -0800 Subject: DataGrid In-Reply-To: <56CF2F71.3090903@fourthworld.com> References: <56CF2F71.3090903@fourthworld.com> Message-ID: <062b01d16fed$b24677f0$16d367d0$@themartinz.com> Richard, Thanks, I will. As I've discussed with you before, I have a tendency to look, maybe, a little too deeply into some things. I guess, that's part of my nature. I was never a person, in school, to accept shortcuts, just on face value. I'll see you next week. 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 Richard Gaskin Sent: Thursday, February 25, 2016 8:45 AM To: use-livecode at lists.runrev.com Subject: Re: DataGrid Trevor DeVore wrote: >> I have seen the tutorials on the LiveCode site and I am still trying >> to completely understand the tool. >> If the author of this tool reads this list, I am hoping for some help >> and insight on using this tool. > > I am the original author of the DataGrid. I don't provide any > one-on-one support and unfortunately I don't have time to explain > everything about how it works under the hood. You would need to dig > into the code if you want that kind of understanding. If you have > specific questions as you go through existing documentation then you > can post those and someone here will be able to provide some help. Clarence is a friend of mine, and I have some additional background on his needs from his comments at our last local user group meeting. While studying the DG code may be useful, for the moment I believe all Clarence needs is more basic info to get started using it. I did a quick search on Google for "livecode data grid lessons", and found this as the first hit: @Clarence: take a gander through those, and see how well the background info provided there orients you to using the DG, and how well the step-by-step instructions are easy to follow. Let's review your experience in our meeting next Thursday. Bring your experiments to the meeting and we can help fill in any gaps in your learning that may be needed, but the set of tutorials there is so broad that you may not need any additional help at all. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Feb 25 12:08:34 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 09:08:34 -0800 Subject: DataGrid In-Reply-To: <782C7F5B-C538-4FD9-9359-24097A31541E@icloud.com> References: <782C7F5B-C538-4FD9-9359-24097A31541E@icloud.com> Message-ID: <56CF3512.1060701@fourthworld.com> Terence Heaford wrote: > Do you believe that the performance of the LiveCode scripting engine can be improved to achieve a > full screen smooth scrolling DataGrid similar to NSTableView in Xcode/Objective-C? Performance enhancements in the engine will likely benefit the DataGrid as much as anything else. But I don't believe it will be possible to completely match C code for a control this complex. It's important to keep in mind that what the DG provides is quite unlike anything other list form we've ever seen: In the olden days (not sure how this is done in Cocoa), custom lists were defined in a List Definition resource ('LDEF'), and very complex bit of work requiring support for a broad range of hooks. You'd have to use LineTo, DrawRect, DrawText, and dozens of other low-level calls to specify in great detail every pixel that gets rendered on screen - and you'd do all that in C. The DG isn't as much like an LDEF as it is more like an infinite variety of possible LDEFs, a sort of LDEF framework if you will. We can use the DG to construct something that looks like any single LDEF we come across and wonder why it can't be as fast as the one we're emulating. But unlike any single LDEF we can change the appearance and behavior of our row contents in a nearly infinite variety of ways, whereas with an LDEF the form it's hard-wired to provide is the only form you can get. If someone were to write a sort of meta-LDEF that allowed us to define a row without hand-crafting every pixel in C, and then use that definition within the meta-LDEF to render it and handle messages within it, and then write that for all supported platforms, we'd likely see a performance boost. Given the overhead of interpreting the row definition it would still be possible to write faster LDEFs that used only one hard-wired row layout, but it would get much closer than what's possible in any high-level scripting language. The challenge is: who has time to write such a beast, and to write it seven times (Mac, Windows, Linux, iOS, Android, Raspberry Pi, HTML)? LiveCode Builder will reduce the workload needed for that, once editable text fields become part of its primitives set. But even then it's not a magic pony: any high-level scripting language will require more computational steps than executing machine code compiled in fixed form from a lower-level language like C. So while I have no doubt the eventual replacement for the DG written in LCB will be a very valuable undertaking, it won't solve every aspect of this inherently complex problem, a problem so complex I've not seen any solution like it anywhere else. Personally (and speaking out of an admitted broad ignorance of many engine details), I would imagine some of the greatest boots to performance for DG scrolling may come from things not specific to the DG, but more generalized in the way rendering buffers are maintained for all groups. That may be an area the team could explore down the road after the higher-priority items (Mac 64-bit, themes, general text performance, etc.) are locked down and shipped in v8.0. And it is for those reasons I keep encouraging everyone to please use v8.0dp in your daily work today. Only by having all of us apply the new engine to our work can we assure its fitness for the specific tasks we ask of 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 ambassador at fourthworld.com Thu Feb 25 12:13:02 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 09:13:02 -0800 Subject: DataGrid In-Reply-To: References: Message-ID: <56CF361E.9040608@fourthworld.com> stephen barncard wrote: > ...back to a tabbed scrolling field.... No harm in that. The DG was written to support both list and form row types only because at the time the LC field object didn't allow independent column alignment, needed for financial apps and others where text may be left-aligned while numbers need to be right-aligned. Now that we have the tabAlign property we can use LC's native field object for a wide range of cases we used to have to use the DG for. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Feb 25 12:16:24 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 09:16:24 -0800 Subject: Cursor changes to a hand in the ide In-Reply-To: References: Message-ID: <56CF36E8.7080307@fourthworld.com> Jim Byrnes wrote: > At the point the problem occurred I hadn't written a line of code. > I had dropped a label control on the card and expanded it's size. > Then I dropped 2 radio buttons inside the boundaries of the of the > label. I was renaming them and changing the label text when the > problem occurred. Sounds like a bug, and if you're able to find a recipe to reproduce that please do file a bug report. FWIW I use LC in Ubuntu daily (mostly 14.04, but I have two machines running Ubuntu 15.10, at least until April when all will be upgraded to the new LTS), and while I haven't seen this issue myself I'd be happy to run any tests you can come up with to confirm the behavior so we can help see it fixed. -- 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 pete at lcsql.com Thu Feb 25 12:18:37 2016 From: pete at lcsql.com (Peter Haworth) Date: Thu, 25 Feb 2016 17:18:37 +0000 Subject: DataGrid In-Reply-To: <56CF361E.9040608@fourthworld.com> References: <56CF361E.9040608@fourthworld.com> Message-ID: modTableField is a great alternative to a DG table. Don't have the link to hand but hopefully Bernd will chime in. On Thu, Feb 25, 2016 at 9:13 AM Richard Gaskin wrote: > stephen barncard wrote: > > > ...back to a tabbed scrolling field.... > > No harm in that. The DG was written to support both list and form row > types only because at the time the LC field object didn't allow > independent column alignment, needed for financial apps and others where > text may be left-aligned while numbers need to be right-aligned. > > Now that we have the tabAlign property we can use LC's native field > object for a wide range of cases we used to have to use the DG for. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Feb 25 12:23:18 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 09:23:18 -0800 Subject: DataGrid (Documentation) In-Reply-To: References: Message-ID: <56CF3886.9080508@fourthworld.com> Mike Kerner wrote: > Over in the Forums, the report is that DG will start to be worked on > for LC8 on or about 3/15. "The Forums" is a big place - for anyone interested in the discussion I believe Mike's referring to this thread: The work noted there is for a specific enhancement request to support the convenience of allowing insertion/deletion of columns when using the list type of rows without replacing the data as a whole: Given that most of us use tabbed fields for list views now that the native field object has tabAlign, I'm not sure how many will be able to take advantage of this enhancement. Still, good to see it in progress, but not quite the same as the longer-term goal of rewriting the DG as a set of LCB Widgets. -- 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 th.douez at gmail.com Thu Feb 25 12:29:31 2016 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 25 Feb 2016 18:29:31 +0100 Subject: DataGrid In-Reply-To: References: <56CF361E.9040608@fourthworld.com> Message-ID: Thanks to Bernd for this link: http://berndniggemann.on-rev.com/modTableField/ Thierry -- ------------------------------------------------ Thierry Douez - http://sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From ambassador at fourthworld.com Thu Feb 25 12:31:29 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 09:31:29 -0800 Subject: DataGrid In-Reply-To: <062b01d16fed$b24677f0$16d367d0$@themartinz.com> References: <062b01d16fed$b24677f0$16d367d0$@themartinz.com> Message-ID: <56CF3A71.90903@fourthworld.com> Clarence P Martin wrote: > Richard, > Thanks, I will. As I've discussed with you before, I have a tendency > to look, maybe, a little too deeply into some things. I think that's an occupation hazard of software development. :) As much as we're all working towards the ideal of having as much documentation readily findable within the IDE as possible, I've found it's helpful with every language I've learned to employ Google or other web search engine when a problem lingers. In the olden days the issue was that there were just too few learning resources for LC, but these days it's very much the opposite: between this list, the forums, Stack Overflow, social media, and countless blogs and other web sites, now the problem is that there's too much info in too many places. Definitely the better problem to have. :) And while we experiment with ways to provide a central index for all that ever-growing volume of stuff, Google provides a pretty good one we can use right now. When learning SQL, JavaScipt, bash, Python, HTML, or most other languages, the web is really the only tool we have. With LiveCode we have much more in the box, but a good web search engine is still as useful for us as it is for any other scripting community. -- 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 Feb 25 12:35:54 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 09:35:54 -0800 Subject: DataGrid In-Reply-To: References: Message-ID: <56CF3B7A.8070408@fourthworld.com> Peter Haworth wrote: > Richard Gaskin wrote: >> Now that we have the tabAlign property we can use LC's native field >> object for a wide range of cases we used to have to use the DG for. > > modTableField is a great alternative to a DG table. Don't have the > link to hand but hopefully Bernd will chime in. Exactly. There Bernd adds a nice header above a standard LC list field, very nicely done. Eating my own dog food I did a quick search in Google for "modTableField" and turned up his repository: -- 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 Feb 25 13:23:28 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 10:23:28 -0800 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: Message-ID: <56CF46A0.4000704@fourthworld.com> Sannyasin Brahmanathaswami wrote: > So if we can run Landstat Satellites and entire Universities > (vienna), I humbly submit that it's time to realize "you did it" when > it comes to data management...and to put media delivery at the > forefront of the agenda not at the end of the agenda. > > The current generation is all about audio and video. "expect... all > at once...." Many of us have been asking for audio/video improvements > for well over the past ten years. So it's not as if we are coming out > of the blue.... We still don't have point-and-click data binding with a built-in MVC framework. But in all fairness those are things the community can do in script, whereas multimedia playback is very much an engine concern. I bring up MVC only to suggest that your priorities may not be mine, and mine may not be others'. As a Linux user I haven't been able to even just play a video at all in several years, while it's possible (with some codec/format limitations) on Windows and Mac users enjoy support for the latest OS media APIs. Since most of my current work is in data-intensive productivity apps this hasn't held me back; I share the story only to point out that priorities are as broad and varied as this community. > "difficult port" ?? there are any number of media player frameworks > built on JS... Perhaps I'm very dense, but JS is use for media > deliver *everywhere*... It's not about a player exactly.. but just to > be able to stream audio and video. > > So back to my question: is there another way to play media using > other means beside a player? Yes: let the browser do it. But to do that, you'd need to let the browser do it all. There are two very different worlds here: the desktop, run with OS APIs on binary structures and machine code; and the web, run with browser specs on textual data and JavaScript. These worlds do not collide. They are fundamentally different, designed for very different tasks. Before LC's HTML initiative, the two worlds were for the most part quite separate. No one expects to use XCode to write C++ apps in Cocoa and somehow run them in a browser. What LC is attempting here is a significant departure from a long history in which the two worlds, desktop and web, are very separate from one another. Given that the only execution engine commonly available in browsers is JavaScript, to migrate applications made in LiveCode into the confines of a web browser requires either of two approaches: a) Translate LC-native objects to browser-native HTML/CSS, and LC-native scripts to JavaScript. b) Translate the LC engine to JavaScript so LC-native objects and scripts need no translation. Either is a difficult task. Option a) makes it relatively easy to get appearances, but for functionality requires translating every line of LiveCode script into JavaScript. The appearance part isn't that hard: with a few hours it's possible to translate native LC objects into their HTML/CSS equivalents rather satisfyingly, with the result being lean browser-native layouts. But the functionality is not so easy. LiveCode and JavaScript are so very different in their syntax, logic, event and object models, that translation from one to the other is a mind-bendingly difficult task. Option b) is where we're headed instead, moving the entire LC engine into the browser by translating roughly three quarters of a million lines of C++ into JavaScript. This allows LiveCode scripts and objects to be handled more or less how they're handled in the desktop engine, without needing to translate LiveCode scripts. But given that the desktop and the web are such fundamentally different platforms, neither approach can be expected to be a seamless move. These are very different worlds; there is no magic pony. Option a) would allow us to export LC player controls as HTML5 player objects, but would require you to write any scripts you need in JavaScript. Option b) lets all your LC objects scripts go along for the ride since the LC engine they depend on is now a JavaScript object, but it means you don't have access to browser-native objects like HTML5 media support. If one were inclined to pursue option a), it could be possible to take the approach Toolbook and others have, in which functionality targeted for web deployment is limited to calls in LC libraries for which matching JavaScript libraries are provided. I first suggested this as a solution here in 2003, but no one was interested enough to help see it through. Could still be done, though, just not by myself. And while the functionality such libraries provide would be limited, the intersection of things we need to do on both desktop and web is somewhat limited by nature anyway, so for some apps it may not be a bad option. With option b), the one being pursued at the moment, there is the possibility that the LC engine code that handles media playback could be replaced post-translation with browser-native handling. Given the complexity of the output Emscripten produces this would not be trivial, and with the differences in the object model it may not be practical, but it might be possible. I don't know if any of this rambling post is helpful, but my aim here is just to point out the very difficult task being undertaken here. And while we can expect Peter's excellent work to continue to make big strides, I think it may be helpful to keep expectations in check, since we're attempting to bridge two very different worlds. Not all life forms that thrive on one planet can survive at all on another. -- 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 scott at tactilemedia.com Thu Feb 25 13:23:00 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 25 Feb 2016 10:23:00 -0800 Subject: Hi-Res Images at Natural Size? In-Reply-To: <50A12619-B209-4705-B2F7-C6D5A6FA9C82@gmail.com> References: <8e5f4cdd8e0404652511ffb6768f07b9@livecode.com> <50A12619-B209-4705-B2F7-C6D5A6FA9C82@gmail.com> Message-ID: Where is this setting Colin? Not seeing any option in v8.2 simulator, so is it only in the most recent version? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/25/16, 4:20 AM, "use-livecode on behalf of Colin Holgate" wrote: >Small tip on the zooming your desktop image: The zooming feature has an >option to do smoothing, which I imagine defaults to on. You want to turn >that off if you are using zooming as a debug technique. With it turned >off, zoom becomes a very useful way to analyze antialiasing issues. > > > >> On Feb 25, 2016, at 7:04 AM, Mark Waddingham wrote: >> >> On my non-Retina iMac, zooming the desktop in, the image is 4x4 solid >>dark blue - because it is downscaling by a factor of two, each pixel >>will be an average of 4 pixels - 50% black, 50% blue which is 50% blue >>(0,0,127 or thereabouts). > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Feb 25 13:25:57 2016 From: mark at livecode.com (Mark Waddingham) Date: Thu, 25 Feb 2016 18:25:57 +0000 Subject: Hi-Res Images at Natural Size? In-Reply-To: References: <8e5f4cdd8e0404652511ffb6768f07b9@livecode.com> <50A12619-B209-4705-B2F7-C6D5A6FA9C82@gmail.com> Message-ID: <83AE8A6E-38A6-4C32-A184-3009F5EF6DEA@livecode.com> I think Colin means the system accessibility zoom feature (which was what I was using). It's on the accessibility tab of the system settings. Mark Sent from my iPhone > On 25 Feb 2016, at 18:23, Scott Rossi wrote: > > Where is this setting Colin? Not seeing any option in v8.2 simulator, so > is it only in the most recent version? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/25/16, 4:20 AM, "use-livecode on behalf of Colin Holgate" > colinholgate at gmail.com> wrote: > >> Small tip on the zooming your desktop image: The zooming feature has an >> option to do smoothing, which I imagine defaults to on. You want to turn >> that off if you are using zooming as a debug technique. With it turned >> off, zoom becomes a very useful way to analyze antialiasing issues. >> >> >> >>> On Feb 25, 2016, at 7:04 AM, Mark Waddingham wrote: >>> >>> On my non-Retina iMac, zooming the desktop in, the image is 4x4 solid >>> dark blue - because it is downscaling by a factor of two, each pixel >>> will be an average of 4 pixels - 50% black, 50% blue which is 50% blue >>> (0,0,127 or thereabouts). >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Thu Feb 25 13:46:46 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 25 Feb 2016 10:46:46 -0800 Subject: DataGrid In-Reply-To: <56CF361E.9040608@fourthworld.com> References: <56CF361E.9040608@fourthworld.com> Message-ID: For those with simple needs, you might try: http://tactilemedia.com/blog/2015/11/07/table-lab/ Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/25/16, 9:13 AM, "use-livecode on behalf of Richard Gaskin" wrote: >stephen barncard wrote: > >> ...back to a tabbed scrolling field.... > >No harm in that. The DG was written to support both list and form row >types only because at the time the LC field object didn't allow >independent column alignment, needed for financial apps and others where >text may be left-aligned while numbers need to be right-aligned. > >Now that we have the tabAlign property we can use LC's native field >object for a wide range of cases we used to have to use the DG for. > >-- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com From paul at researchware.com Thu Feb 25 13:56:03 2016 From: paul at researchware.com (Paul Dupuis) Date: Thu, 25 Feb 2016 13:56:03 -0500 Subject: DataGrid (Documentation) In-Reply-To: <56CF2F71.3090903@fourthworld.com> References: <56CF2F71.3090903@fourthworld.com> Message-ID: <56CF4E43.60606@researchware.com> On 2/25/2016 11:44 AM, Richard Gaskin wrote: > I did a quick search on Google for "livecode data grid lessons", and > found this as the first hit: > Richard helps make my earlier point about documentation. Yes, there are lessons on the LiveCode site and there is a large PDF on the LiveCode site and I personally have both bookmarked. However, both of which, if you are in the LiveCode IDE (any version), you must SEARCH for outside of the LiveCode IDE. Every other LiveCode provided extension/library/enhancement (revZIP, revXML, etc. etc.) whether external or library (libURL, etc.) you can access documentation on from within the LiveCode IDE. It may be an easy search to find the DataGrid information online (Googling "livecode datagrid" does it), but is is still a search outside of the IDE. I was not so much specifically asking about converting the DataGrid to a Widget. I use the DataGrid as it is just fine and don't particularly need it converted to a Widget. My point was it has been a long and glaring inconsistency in LiveCode where the dataGrid is the ONLY LiveCode "thing" with no documentation in LiveCode! There should be at least ONE of the following: The DataGrid APIs in the Dictionary A link to the DataGrid PDF documentation in the Help menu A single dictionary entry for the DataGrid that provides a link to the lessons and PDF I would have like to have seen this inconsistency fixed in LC 6.x or 7.x and the only reason I mentioned version 8dp15 is that version 8 is where the changes are occurring. I seem to recall seeing some sort of cummunity effort to improve the dictionary and documentation. I apologize that I don't remember the details of this effort or how to submit this to that effort, but that effort should add this to the list of doc issues to resolve. From blueback09 at gmail.com Thu Feb 25 14:02:15 2016 From: blueback09 at gmail.com (Matt Maier) Date: Thu, 25 Feb 2016 11:02:15 -0800 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <56CF46A0.4000704@fourthworld.com> References: <56CF46A0.4000704@fourthworld.com> Message-ID: Thanks for that overview Richard, it helped me! Given option (b), will the entire livecode engine have to run client-side, or will there be a way to let the engine run on a server? On Thu, Feb 25, 2016 at 10:23 AM, Richard Gaskin wrote: > Sannyasin Brahmanathaswami wrote: > > > So if we can run Landstat Satellites and entire Universities > > (vienna), I humbly submit that it's time to realize "you did it" when > > it comes to data management...and to put media delivery at the > > forefront of the agenda not at the end of the agenda. > > > > The current generation is all about audio and video. "expect... all > > at once...." Many of us have been asking for audio/video improvements > > for well over the past ten years. So it's not as if we are coming out > > of the blue.... > > We still don't have point-and-click data binding with a built-in MVC > framework. > > But in all fairness those are things the community can do in script, > whereas multimedia playback is very much an engine concern. > > I bring up MVC only to suggest that your priorities may not be mine, and > mine may not be others'. > > As a Linux user I haven't been able to even just play a video at all in > several years, while it's possible (with some codec/format limitations) on > Windows and Mac users enjoy support for the latest OS media APIs. > > Since most of my current work is in data-intensive productivity apps this > hasn't held me back; I share the story only to point out that priorities > are as broad and varied as this community. > > > > "difficult port" ?? there are any number of media player frameworks > > built on JS... Perhaps I'm very dense, but JS is use for media > > deliver *everywhere*... It's not about a player exactly.. but just to > > be able to stream audio and video. > > > > So back to my question: is there another way to play media using > > other means beside a player? > > Yes: let the browser do it. > > But to do that, you'd need to let the browser do it all. > > There are two very different worlds here: the desktop, run with OS APIs > on binary structures and machine code; and the web, run with browser specs > on textual data and JavaScript. > > These worlds do not collide. They are fundamentally different, designed > for very different tasks. > > Before LC's HTML initiative, the two worlds were for the most part quite > separate. No one expects to use XCode to write C++ apps in Cocoa and > somehow run them in a browser. > > What LC is attempting here is a significant departure from a long history > in which the two worlds, desktop and web, are very separate from one > another. > > Given that the only execution engine commonly available in browsers is > JavaScript, to migrate applications made in LiveCode into the confines of a > web browser requires either of two approaches: > > a) Translate LC-native objects to browser-native HTML/CSS, and LC-native > scripts to JavaScript. > > b) Translate the LC engine to JavaScript so LC-native objects and scripts > need no translation. > > Either is a difficult task. > > Option a) makes it relatively easy to get appearances, but for > functionality requires translating every line of LiveCode script into > JavaScript. > > The appearance part isn't that hard: with a few hours it's possible to > translate native LC objects into their HTML/CSS equivalents rather > satisfyingly, with the result being lean browser-native layouts. > > But the functionality is not so easy. LiveCode and JavaScript are so very > different in their syntax, logic, event and object models, that translation > from one to the other is a mind-bendingly difficult task. > > Option b) is where we're headed instead, moving the entire LC engine into > the browser by translating roughly three quarters of a million lines of C++ > into JavaScript. > > This allows LiveCode scripts and objects to be handled more or less how > they're handled in the desktop engine, without needing to translate > LiveCode scripts. > > But given that the desktop and the web are such fundamentally different > platforms, neither approach can be expected to be a seamless move. These > are very different worlds; there is no magic pony. > > Option a) would allow us to export LC player controls as HTML5 player > objects, but would require you to write any scripts you need in JavaScript. > > Option b) lets all your LC objects scripts go along for the ride since the > LC engine they depend on is now a JavaScript object, but it means you don't > have access to browser-native objects like HTML5 media support. > > If one were inclined to pursue option a), it could be possible to take the > approach Toolbook and others have, in which functionality targeted for web > deployment is limited to calls in LC libraries for which matching > JavaScript libraries are provided. I first suggested this as a solution > here in 2003, but no one was interested enough to help see it through. > Could still be done, though, just not by myself. And while the > functionality such libraries provide would be limited, the intersection of > things we need to do on both desktop and web is somewhat limited by nature > anyway, so for some apps it may not be a bad option. > > With option b), the one being pursued at the moment, there is the > possibility that the LC engine code that handles media playback could be > replaced post-translation with browser-native handling. Given the > complexity of the output Emscripten produces this would not be trivial, and > with the differences in the object model it may not be practical, but it > might be possible. > > I don't know if any of this rambling post is helpful, but my aim here is > just to point out the very difficult task being undertaken here. And while > we can expect Peter's excellent work to continue to make big strides, I > think it may be helpful to keep expectations in check, since we're > attempting to bridge two very different worlds. Not all life forms that > thrive on one planet can survive at all on another. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mark at livecode.com Thu Feb 25 14:11:42 2016 From: mark at livecode.com (Mark Waddingham) Date: Thu, 25 Feb 2016 19:11:42 +0000 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: <56CF46A0.4000704@fourthworld.com> Message-ID: <64EF2E0D-F7BF-4A6A-88D2-56BCB715B13E@livecode.com> I think most modern web apps you see run ui locally (client side) and then use an http-based server API to manage the 'cloud' side. The advantage of this approach is that you end up with a good separation between client and server, meaning the client can be implemented on any platform (and using the same code - at least when using LiveCode). I wouldn't, however, rule out some means of defining server side behavior alongside the client side behavior and have LiveCode 'do the right thing'. However, that is perhaps a bit further down the line... We have a fair bit more work to do on the html5 port first! Mark. Sent from my iPhone > On 25 Feb 2016, at 19:02, Matt Maier wrote: > > Thanks for that overview Richard, it helped me! > > Given option (b), will the entire livecode engine have to run client-side, > or will there be a way to let the engine run on a server? > > On Thu, Feb 25, 2016 at 10:23 AM, Richard Gaskin > wrote: > >> Sannyasin Brahmanathaswami wrote: >> >>> So if we can run Landstat Satellites and entire Universities >>> (vienna), I humbly submit that it's time to realize "you did it" when >>> it comes to data management...and to put media delivery at the >>> forefront of the agenda not at the end of the agenda. >>> >>> The current generation is all about audio and video. "expect... all >>> at once...." Many of us have been asking for audio/video improvements >>> for well over the past ten years. So it's not as if we are coming out >>> of the blue.... >> >> We still don't have point-and-click data binding with a built-in MVC >> framework. >> >> But in all fairness those are things the community can do in script, >> whereas multimedia playback is very much an engine concern. >> >> I bring up MVC only to suggest that your priorities may not be mine, and >> mine may not be others'. >> >> As a Linux user I haven't been able to even just play a video at all in >> several years, while it's possible (with some codec/format limitations) on >> Windows and Mac users enjoy support for the latest OS media APIs. >> >> Since most of my current work is in data-intensive productivity apps this >> hasn't held me back; I share the story only to point out that priorities >> are as broad and varied as this community. >> >> >>> "difficult port" ?? there are any number of media player frameworks >>> built on JS... Perhaps I'm very dense, but JS is use for media >>> deliver *everywhere*... It's not about a player exactly.. but just to >>> be able to stream audio and video. >>> >>> So back to my question: is there another way to play media using >>> other means beside a player? >> >> Yes: let the browser do it. >> >> But to do that, you'd need to let the browser do it all. >> >> There are two very different worlds here: the desktop, run with OS APIs >> on binary structures and machine code; and the web, run with browser specs >> on textual data and JavaScript. >> >> These worlds do not collide. They are fundamentally different, designed >> for very different tasks. >> >> Before LC's HTML initiative, the two worlds were for the most part quite >> separate. No one expects to use XCode to write C++ apps in Cocoa and >> somehow run them in a browser. >> >> What LC is attempting here is a significant departure from a long history >> in which the two worlds, desktop and web, are very separate from one >> another. >> >> Given that the only execution engine commonly available in browsers is >> JavaScript, to migrate applications made in LiveCode into the confines of a >> web browser requires either of two approaches: >> >> a) Translate LC-native objects to browser-native HTML/CSS, and LC-native >> scripts to JavaScript. >> >> b) Translate the LC engine to JavaScript so LC-native objects and scripts >> need no translation. >> >> Either is a difficult task. >> >> Option a) makes it relatively easy to get appearances, but for >> functionality requires translating every line of LiveCode script into >> JavaScript. >> >> The appearance part isn't that hard: with a few hours it's possible to >> translate native LC objects into their HTML/CSS equivalents rather >> satisfyingly, with the result being lean browser-native layouts. >> >> But the functionality is not so easy. LiveCode and JavaScript are so very >> different in their syntax, logic, event and object models, that translation >> from one to the other is a mind-bendingly difficult task. >> >> Option b) is where we're headed instead, moving the entire LC engine into >> the browser by translating roughly three quarters of a million lines of C++ >> into JavaScript. >> >> This allows LiveCode scripts and objects to be handled more or less how >> they're handled in the desktop engine, without needing to translate >> LiveCode scripts. >> >> But given that the desktop and the web are such fundamentally different >> platforms, neither approach can be expected to be a seamless move. These >> are very different worlds; there is no magic pony. >> >> Option a) would allow us to export LC player controls as HTML5 player >> objects, but would require you to write any scripts you need in JavaScript. >> >> Option b) lets all your LC objects scripts go along for the ride since the >> LC engine they depend on is now a JavaScript object, but it means you don't >> have access to browser-native objects like HTML5 media support. >> >> If one were inclined to pursue option a), it could be possible to take the >> approach Toolbook and others have, in which functionality targeted for web >> deployment is limited to calls in LC libraries for which matching >> JavaScript libraries are provided. I first suggested this as a solution >> here in 2003, but no one was interested enough to help see it through. >> Could still be done, though, just not by myself. And while the >> functionality such libraries provide would be limited, the intersection of >> things we need to do on both desktop and web is somewhat limited by nature >> anyway, so for some apps it may not be a bad option. >> >> With option b), the one being pursued at the moment, there is the >> possibility that the LC engine code that handles media playback could be >> replaced post-translation with browser-native handling. Given the >> complexity of the output Emscripten produces this would not be trivial, and >> with the differences in the object model it may not be practical, but it >> might be possible. >> >> I don't know if any of this rambling post is helpful, but my aim here is >> just to point out the very difficult task being undertaken here. And while >> we can expect Peter's excellent work to continue to make big strides, I >> think it may be helpful to keep expectations in check, since we're >> attempting to bridge two very different worlds. Not all life forms that >> thrive on one planet can survive at all on another. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Thu Feb 25 14:17:58 2016 From: mark at livecode.com (Mark Waddingham) Date: Thu, 25 Feb 2016 19:17:58 +0000 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <56CF46A0.4000704@fourthworld.com> References: <56CF46A0.4000704@fourthworld.com> Message-ID: <102BB29E-C218-421B-AA37-08C5E543783D@livecode.com> When it comes down to it, there is a direct parallel between wanting to use native html5 elements in a LiveCode html5 app and wanting to use native (system provided) controls on mobile. There are still a couple of technical hurdles to overcome to make this possible in the html5 port, but for the most part it comes down to having a bridge between LCB and JavaScript when running in a browser. You can view the JS APIs as no different from system APIs on any other platform and in the same way as LCB can bridge (albeit in a very low-level way right now) to C APIs directly, the Html5 engine will eventually be able to bridge to JS APIs. Mark. Sent from my iPhone > On 25 Feb 2016, at 18:23, Richard Gaskin wrote: > > Sannyasin Brahmanathaswami wrote: > > > So if we can run Landstat Satellites and entire Universities > > (vienna), I humbly submit that it's time to realize "you did it" when > > it comes to data management...and to put media delivery at the > > forefront of the agenda not at the end of the agenda. > > > > The current generation is all about audio and video. "expect... all > > at once...." Many of us have been asking for audio/video improvements > > for well over the past ten years. So it's not as if we are coming out > > of the blue.... > > We still don't have point-and-click data binding with a built-in MVC framework. > > But in all fairness those are things the community can do in script, whereas multimedia playback is very much an engine concern. > > I bring up MVC only to suggest that your priorities may not be mine, and mine may not be others'. > > As a Linux user I haven't been able to even just play a video at all in several years, while it's possible (with some codec/format limitations) on Windows and Mac users enjoy support for the latest OS media APIs. > > Since most of my current work is in data-intensive productivity apps this hasn't held me back; I share the story only to point out that priorities are as broad and varied as this community. > > > > "difficult port" ?? there are any number of media player frameworks > > built on JS... Perhaps I'm very dense, but JS is use for media > > deliver *everywhere*... It's not about a player exactly.. but just to > > be able to stream audio and video. > > > > So back to my question: is there another way to play media using > > other means beside a player? > > Yes: let the browser do it. > > But to do that, you'd need to let the browser do it all. > > There are two very different worlds here: the desktop, run with OS APIs on binary structures and machine code; and the web, run with browser specs on textual data and JavaScript. > > These worlds do not collide. They are fundamentally different, designed for very different tasks. > > Before LC's HTML initiative, the two worlds were for the most part quite separate. No one expects to use XCode to write C++ apps in Cocoa and somehow run them in a browser. > > What LC is attempting here is a significant departure from a long history in which the two worlds, desktop and web, are very separate from one another. > > Given that the only execution engine commonly available in browsers is JavaScript, to migrate applications made in LiveCode into the confines of a web browser requires either of two approaches: > > a) Translate LC-native objects to browser-native HTML/CSS, and LC-native scripts to JavaScript. > > b) Translate the LC engine to JavaScript so LC-native objects and scripts need no translation. > > Either is a difficult task. > > Option a) makes it relatively easy to get appearances, but for functionality requires translating every line of LiveCode script into JavaScript. > > The appearance part isn't that hard: with a few hours it's possible to translate native LC objects into their HTML/CSS equivalents rather satisfyingly, with the result being lean browser-native layouts. > > But the functionality is not so easy. LiveCode and JavaScript are so very different in their syntax, logic, event and object models, that translation from one to the other is a mind-bendingly difficult task. > > Option b) is where we're headed instead, moving the entire LC engine into the browser by translating roughly three quarters of a million lines of C++ into JavaScript. > > This allows LiveCode scripts and objects to be handled more or less how they're handled in the desktop engine, without needing to translate LiveCode scripts. > > But given that the desktop and the web are such fundamentally different platforms, neither approach can be expected to be a seamless move. These are very different worlds; there is no magic pony. > > Option a) would allow us to export LC player controls as HTML5 player objects, but would require you to write any scripts you need in JavaScript. > > Option b) lets all your LC objects scripts go along for the ride since the LC engine they depend on is now a JavaScript object, but it means you don't have access to browser-native objects like HTML5 media support. > > If one were inclined to pursue option a), it could be possible to take the approach Toolbook and others have, in which functionality targeted for web deployment is limited to calls in LC libraries for which matching JavaScript libraries are provided. I first suggested this as a solution here in 2003, but no one was interested enough to help see it through. Could still be done, though, just not by myself. And while the functionality such libraries provide would be limited, the intersection of things we need to do on both desktop and web is somewhat limited by nature anyway, so for some apps it may not be a bad option. > > With option b), the one being pursued at the moment, there is the possibility that the LC engine code that handles media playback could be replaced post-translation with browser-native handling. Given the complexity of the output Emscripten produces this would not be trivial, and with the differences in the object model it may not be practical, but it might be possible. > > I don't know if any of this rambling post is helpful, but my aim here is just to point out the very difficult task being undertaken here. And while we can expect Peter's excellent work to continue to make big strides, I think it may be helpful to keep expectations in check, since we're attempting to bridge two very different worlds. Not all life forms that thrive on one planet can survive at all on another. > > -- > 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 blueback09 at gmail.com Thu Feb 25 14:23:00 2016 From: blueback09 at gmail.com (Matt Maier) Date: Thu, 25 Feb 2016 11:23:00 -0800 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <64EF2E0D-F7BF-4A6A-88D2-56BCB715B13E@livecode.com> References: <56CF46A0.4000704@fourthworld.com> <64EF2E0D-F7BF-4A6A-88D2-56BCB715B13E@livecode.com> Message-ID: That was too abstract and hypothetical for me to be sure I followed correctly. In the approach the Livecode team is taking now, is it accurate to say that the html5 standalone bundles up the livecode engine with any app-specific objects/scripts and pushes the whole thing into the client browser, such that all of the (supportable) functionality runs client-side? On Thu, Feb 25, 2016 at 11:11 AM, Mark Waddingham wrote: > I think most modern web apps you see run ui locally (client side) and then > use an http-based server API to manage the 'cloud' side. > > The advantage of this approach is that you end up with a good separation > between client and server, meaning the client can be implemented on any > platform (and using the same code - at least when using LiveCode). > > I wouldn't, however, rule out some means of defining server side behavior > alongside the client side behavior and have LiveCode 'do the right thing'. > However, that is perhaps a bit further down the line... We have a fair bit > more work to do on the html5 port first! > > Mark. > > Sent from my iPhone > > > On 25 Feb 2016, at 19:02, Matt Maier wrote: > > > > Thanks for that overview Richard, it helped me! > > > > Given option (b), will the entire livecode engine have to run > client-side, > > or will there be a way to let the engine run on a server? > > > > On Thu, Feb 25, 2016 at 10:23 AM, Richard Gaskin < > ambassador at fourthworld.com > >> wrote: > > > >> Sannyasin Brahmanathaswami wrote: > >> > >>> So if we can run Landstat Satellites and entire Universities > >>> (vienna), I humbly submit that it's time to realize "you did it" when > >>> it comes to data management...and to put media delivery at the > >>> forefront of the agenda not at the end of the agenda. > >>> > >>> The current generation is all about audio and video. "expect... all > >>> at once...." Many of us have been asking for audio/video improvements > >>> for well over the past ten years. So it's not as if we are coming out > >>> of the blue.... > >> > >> We still don't have point-and-click data binding with a built-in MVC > >> framework. > >> > >> But in all fairness those are things the community can do in script, > >> whereas multimedia playback is very much an engine concern. > >> > >> I bring up MVC only to suggest that your priorities may not be mine, and > >> mine may not be others'. > >> > >> As a Linux user I haven't been able to even just play a video at all in > >> several years, while it's possible (with some codec/format limitations) > on > >> Windows and Mac users enjoy support for the latest OS media APIs. > >> > >> Since most of my current work is in data-intensive productivity apps > this > >> hasn't held me back; I share the story only to point out that priorities > >> are as broad and varied as this community. > >> > >> > >>> "difficult port" ?? there are any number of media player frameworks > >>> built on JS... Perhaps I'm very dense, but JS is use for media > >>> deliver *everywhere*... It's not about a player exactly.. but just to > >>> be able to stream audio and video. > >>> > >>> So back to my question: is there another way to play media using > >>> other means beside a player? > >> > >> Yes: let the browser do it. > >> > >> But to do that, you'd need to let the browser do it all. > >> > >> There are two very different worlds here: the desktop, run with OS APIs > >> on binary structures and machine code; and the web, run with browser > specs > >> on textual data and JavaScript. > >> > >> These worlds do not collide. They are fundamentally different, designed > >> for very different tasks. > >> > >> Before LC's HTML initiative, the two worlds were for the most part quite > >> separate. No one expects to use XCode to write C++ apps in Cocoa and > >> somehow run them in a browser. > >> > >> What LC is attempting here is a significant departure from a long > history > >> in which the two worlds, desktop and web, are very separate from one > >> another. > >> > >> Given that the only execution engine commonly available in browsers is > >> JavaScript, to migrate applications made in LiveCode into the confines > of a > >> web browser requires either of two approaches: > >> > >> a) Translate LC-native objects to browser-native HTML/CSS, and LC-native > >> scripts to JavaScript. > >> > >> b) Translate the LC engine to JavaScript so LC-native objects and > scripts > >> need no translation. > >> > >> Either is a difficult task. > >> > >> Option a) makes it relatively easy to get appearances, but for > >> functionality requires translating every line of LiveCode script into > >> JavaScript. > >> > >> The appearance part isn't that hard: with a few hours it's possible to > >> translate native LC objects into their HTML/CSS equivalents rather > >> satisfyingly, with the result being lean browser-native layouts. > >> > >> But the functionality is not so easy. LiveCode and JavaScript are so > very > >> different in their syntax, logic, event and object models, that > translation > >> from one to the other is a mind-bendingly difficult task. > >> > >> Option b) is where we're headed instead, moving the entire LC engine > into > >> the browser by translating roughly three quarters of a million lines of > C++ > >> into JavaScript. > >> > >> This allows LiveCode scripts and objects to be handled more or less how > >> they're handled in the desktop engine, without needing to translate > >> LiveCode scripts. > >> > >> But given that the desktop and the web are such fundamentally different > >> platforms, neither approach can be expected to be a seamless move. These > >> are very different worlds; there is no magic pony. > >> > >> Option a) would allow us to export LC player controls as HTML5 player > >> objects, but would require you to write any scripts you need in > JavaScript. > >> > >> Option b) lets all your LC objects scripts go along for the ride since > the > >> LC engine they depend on is now a JavaScript object, but it means you > don't > >> have access to browser-native objects like HTML5 media support. > >> > >> If one were inclined to pursue option a), it could be possible to take > the > >> approach Toolbook and others have, in which functionality targeted for > web > >> deployment is limited to calls in LC libraries for which matching > >> JavaScript libraries are provided. I first suggested this as a solution > >> here in 2003, but no one was interested enough to help see it through. > >> Could still be done, though, just not by myself. And while the > >> functionality such libraries provide would be limited, the intersection > of > >> things we need to do on both desktop and web is somewhat limited by > nature > >> anyway, so for some apps it may not be a bad option. > >> > >> With option b), the one being pursued at the moment, there is the > >> possibility that the LC engine code that handles media playback could be > >> replaced post-translation with browser-native handling. Given the > >> complexity of the output Emscripten produces this would not be trivial, > and > >> with the differences in the object model it may not be practical, but it > >> might be possible. > >> > >> I don't know if any of this rambling post is helpful, but my aim here is > >> just to point out the very difficult task being undertaken here. And > while > >> we can expect Peter's excellent work to continue to make big strides, I > >> think it may be helpful to keep expectations in check, since we're > >> attempting to bridge two very different worlds. Not all life forms that > >> thrive on one planet can survive at all on another. > >> > >> -- > >> Richard Gaskin > >> Fourth World Systems > >> Software Design and Development for the Desktop, Mobile, and the Web > >> ____________________________________________________________________ > >> Ambassador at FourthWorld.com http://www.FourthWorld.com > >> > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Thu Feb 25 15:02:56 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 25 Feb 2016 20:02:56 +0000 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: <56CF46A0.4000704@fourthworld.com> Message-ID: On February 25, 2016 at 9:02:29 AM, Richard Wrote: > I don't know if any of this rambling post is helpful, but my aim here is > just to point out the very difficult task being undertaken here. And while > we can expect Peter's excellent work to continue to make big strides, I > think it may be helpful to keep expectations in check, since we're > attempting to bridge two very different worlds. Not all life forms that > thrive on one planet can survive at all on another. Agreed. I guess I was being naive in the understanding of the level of changes required to encompass media delivery, and I will certainly keep my expectations in check... My apologies for banging the drum. We *can* fulfill our media delivery "vision" on LC/Mobile and we can build a web UI using Rev igniter... so I'll be content to develop in that space for now. I hereby officially switch hats to "infinite patience" Richard Wrote: "These are very different worlds; there is no magic pony. > > Option a) would allow us to export LC player controls as HTML5 player > objects, but would require you to write any scripts you need in JavaScript. That's kind of what I thought could work, even as an interim solution. Our use case doesn't really require the full spectrum of native LiveCode player parameters. Open, play, pause and stop and dismiss would suffice for 95% of the requirements. In my naivete, targeting the innerHTML with a small html5 Video tag seemed trivial... obviously I am wrong. This is more than you need to know, but part of the "back story" and "urgency" here was a hope to keep LiveCode at the forefront of our in house toolbox. Another new young person -- who already went thru the Livecode University has switched to learning Python and will soon be developing HTML5 on that platform, because it needs to run in a browser/WordPress iFrame. Of course I have to shake my head at how many hours it will take him to do the smallest framework... and the scope of what he will be able to accomplish relative to a full LC stack will be highly compromised...even the scope on the spec of that project was chopped down by 85%...as "not doable now..." when the whole original spec could have been done in LiveCode in a week(s)... (except for the video streaming) We had to reach out to a HTML5 pro in Belarus, to get a leg up on how to do the first one and now we hope to learn how to do it ourselves....having Python skills on the team I suppose will be userful, I would have much preferred he focused on LiveCode because I believe it would have been to our greater advantageands more "fun" for him in the long run. But, I can run his modules inside the browser widget in our next LC Mobile app... so we are OK for now. And it's going to take him soooo long to get to where he wants to be that probably the HTML5 thing in LC will be ready even before he can think about module #2... Officially now wearing the hat of "infinite patience." BR From brahma at hindu.org Thu Feb 25 15:09:39 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 25 Feb 2016 20:09:39 +0000 Subject: Hi-Res Images at Natural Size? In-Reply-To: References: <8e5f4cdd8e0404652511ffb6768f07b9@livecode.com> <50A12619-B209-4705-B2F7-C6D5A6FA9C82@gmail.com> Message-ID: ? On February 25, 2016 at 8:36:47 AM, Scott Rossi (scott at tactilemedia.com(mailto:scott at tactilemedia.com)) wrote: > i.e. In other words, the engine will use as many device pixels as it has > to render things (images are scaled from the original source size direct > to the screen - and not via the number of logical pixels). That's good to know... I was wondering how some of my "super optimized" images were still looking good.... attributing this to something magical in the imgMagick/mozjpeg cmds that I am running from inside LC as shell.. /usr/local/Cellar/imagemagick/6.9.1-4/bin/convert "##IMGINPUT##" pnm:- | /usr/local/Cellar/mozjpeg/3.1/bin/cjpeg -quality ##QUALITY## > "##IMGOUTPUT##" when in fact it's just the device that is doing the good work. From revdev at pdslabs.net Thu Feb 25 15:15:52 2016 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 25 Feb 2016 12:15:52 -0800 Subject: beggars be choosers In-Reply-To: <76D4A032-64AC-43C5-A2DF-68048FF129E4@mac.com> References: <76D4A032-64AC-43C5-A2DF-68048FF129E4@mac.com> Message-ID: <56CF60F8.5060802@pdslabs.net> Hi Mick, Maybe this will answer your question: http://downloads.livecode.com/livecode/ As you can see on that page, Community Editions start at 6.0.1. Is that what you were asking for? Thanks - Phil Davis On 2/25/16 5:05 AM, Mick Collins wrote: > I?m one of those who can?t afford anything more than the community version of LC (for reasons of money, testing / experiment time). I?m wondering whether there will be a version 6._ or 7._ which will come out before the first sanctified version of 8 and when the next version (of 6, 7, and/or 8) is expected to come out. Thanks, > - Mick > _______________________________________________ > use-livecode mailing list > use-livecode 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 brahma at hindu.org Thu Feb 25 15:24:00 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 25 Feb 2016 20:24:00 +0000 Subject: Unable to select transparent buttons Message-ID: Can anyone else confirm LC8 dp15 1) make card 2) add background graphic image, leave some area of the card uncovered.. move the image down a bit... 3) place several buttons on top of the imate 4) ... set opacity for all buttons to false 5) Now.. try to use the pointer tool to select one of the buttons... the image is selected instead. No way to select a button. 6) now click on some blank space on the background of the card 7) *then* click on one of the buttons, the button is selected. Before reporting this I just want to see if my expectations are off... it would seem that if the 7) is possible (selecting the button) that 5) should not happen (selection the image when mousedown on transparent button. From brahma at hindu.org Thu Feb 25 15:27:31 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 25 Feb 2016 20:27:31 +0000 Subject: Content Property in Inspector for Fields Message-ID: LC8 DP 15 Can anyone show me where the content field is in the property inspector for a field? I can't find it. From colinholgate at gmail.com Thu Feb 25 15:29:37 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 25 Feb 2016 15:29:37 -0500 Subject: Content Property in Inspector for Fields In-Reply-To: References: Message-ID: Did you mean the field contents? It?s immediately under the name in the inspector. > On Feb 25, 2016, at 3:27 PM, Sannyasin Brahmanathaswami wrote: > > LC8 DP 15 > > Can anyone show me where the content field is in the property inspector for a field? I can't find it. > From dunbarx at aol.com Thu Feb 25 15:32:30 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 25 Feb 2016 15:32:30 -0500 Subject: Unable to select transparent buttons In-Reply-To: References: Message-ID: <1531a22000f-1dd9-5972@webprd-m63.mail.aol.com> I know you mentioned LC8 specifically. I just want to say that in 6.7 there is no issue selecting a button straightway. Craig Newman -----Original Message----- From: Sannyasin Brahmanathaswami To: How LiveCode Sent: Thu, Feb 25, 2016 3:25 pm Subject: Unable to select transparent buttons Can anyone else confirm LC8 dp15 1) make card 2) add background graphic image, leave some area of the card uncovered.. move the image down a bit... 3) place several buttons on top of the imate 4) ... set opacity for all buttons to false 5) Now.. try to use the pointer tool to select one of the buttons... the image is selected instead. No way to select a button. 6) now click on some blank space on the background of the card 7) *then* click on one of the buttons, the button is selected. Before reporting this I just want to see if my expectations are off... it would seem that if the 7) is possible (selecting the button) that 5) should not happen (selection the image when mousedown on transparent button. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Feb 25 15:36:36 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 25 Feb 2016 20:36:36 +0000 Subject: Content Property in Inspector for Fields In-Reply-To: References: Message-ID: Ok found it: "styled-text" No way to expand this as in older inspectors... right? On February 25, 2016 at 10:29:51 AM, Colin Holgate (colinholgate at gmail.com) wrote: Did you mean the field contents? It?s immediately under the name in the inspector. From jf_byrnes at comcast.net Thu Feb 25 15:44:31 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Thu, 25 Feb 2016 14:44:31 -0600 Subject: Cursor changes to a hand in the ide In-Reply-To: <56CF36E8.7080307@fourthworld.com> References: <56CF36E8.7080307@fourthworld.com> Message-ID: On 02/25/2016 11:16 AM, Richard Gaskin wrote: > Jim Byrnes wrote: > > At the point the problem occurred I hadn't written a line of code. > > I had dropped a label control on the card and expanded it's size. > > Then I dropped 2 radio buttons inside the boundaries of the of the > > label. I was renaming them and changing the label text when the > > problem occurred. > > Sounds like a bug, and if you're able to find a recipe to reproduce that > please do file a bug report. > > FWIW I use LC in Ubuntu daily (mostly 14.04, but I have two machines > running Ubuntu 15.10, at least until April when all will be upgraded to > the new LTS), and while I haven't seen this issue myself I'd be happy to > run any tests you can come up with to confirm the behavior so we can > help see it fixed. > Richard, I just tried to recreate what happened,but could not get it to happen again. So I guess it is not reproducible. I did restore the file from trash and can send it to you if you think that it would be helpful. I just transferred the file to my laptop which is also running Ubuntu 14.04 and it has the same behavior there. Regards, Jim From ambassador at fourthworld.com Thu Feb 25 16:11:12 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 13:11:12 -0800 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: Message-ID: <56CF6DF0.7080303@fourthworld.com> Sannyasin Brahmanathaswami wrote: > We *can* fulfill our media delivery "vision" on LC/Mobile and we > can build a web UI using Rev igniter... so I'll be content to develop > in that space for now. A web UI is just text - HTML and CSS. LiveCode is uncommonly good for processing text. Whether using RevIgniter or any other framework or just task-specific code, what gets delivered to the browser is text of a sort LiveCode is very good at helping to produce. > This is more than you need to know, but part of the "back story" > and "urgency" here was a hope to keep LiveCode at the forefront of > our in house toolbox. Another new young person -- who already went > thru the Livecode University has switched to learning Python and will > soon be developing HTML5 on that platform, because it needs to run > in a browser/WordPress iFrame. Python doesn't run in a browser any more than LiveCode does. An iFrame isn't at all Python-specific, it's an HTML tag (though for compatibility with iOS browsers he may want to use scrolling DIVs with XMLHttpRequest instead; last time I had frame-dependent content iPads didn't render it well so per Apple's tech notes I revised it with DIVs loaded via XHR). Web UIs are just text - HTML and CSS. Both Python and LiveCode are good for processing text, but there's an argument that it's a little easier and perhaps even faster in LiveCode. Whether using Python or LiveCode or anything else, what gets delivered to the browser is text. Python's a fine language. But so is LiveCode. Both have similar use cases, though given the early state of Python deployment packages for mobile I think it's safe to suggest LC is more mature for native mobile apps. And given the integration of GUI elements as native objects in LC compared to the traditional approach Python takes in which GUIs are an afterthought, I'd say LC has at least a modest edge there too. But for delivering web UIs, both do well at text processing and that's really all that task is as far as the work done on the server. And although I'd love to see more head-to-head benchmarks, what little I've seen suggests LC may be slightly more efficient in some areas than Python (chunk expressions are truly wonderful). The one area where Python has an unquestionable advantage is the size and engagement of its audience. Sooooooo many libraries available for it. We'll get there too, but in the meantime all work in either language means a lot of unique code, and LC is every bit as solid a choice as Python. -- 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 Feb 25 16:14:20 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 13:14:20 -0800 Subject: Cursor changes to a hand in the ide In-Reply-To: References: Message-ID: <56CF6EAC.7090100@fourthworld.com> Jim Byrnes wrote: > I just tried to recreate what happened,but could not get it to happen > again. So I guess it is not reproducible. > > I did restore the file from trash and can send it to you if you think > that it would be helpful. I just transferred the file to my laptop > which is also running Ubuntu 14.04 and it has the same behavior there. Without a recipe it would be unlikely I could do anything useful with it. But if you do get a recipe please post the bug report number here and I'll check the recipe on my system to help triage the report. -- 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 Feb 25 16:36:14 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 13:36:14 -0800 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: Message-ID: <56CF73CE.7020908@fourthworld.com> Matt Maier wrote: > Thanks for that overview Richard, it helped me! If you read that post to the end you should get a medal. :) More long-winded than even my user group presentations. Glad it was useful. > Given option (b), will the entire livecode engine have to run > client-side, or will there be a way to let the engine run on a server? That's a deep question. An old friend of mine suggested, "The key to programming is finding the right dividing lines." That applies to so much, from factoring code to managing teams, and with client-server apps I don't believe there's a single best answer. Consider three example apps: calculator, animated greeting card, and RSS aggregator. With the calculator you could go either way, depending on the nature of the calculation. If it's just arithmetic it probably makes the most sense to do it all in the client, But I have one medical app where the caluclations are based on values in lookup tables that would be cumbersome if we had to first download them to the client, so for that the client is pretty slim and it just sends the input values to the server who does the lookups and the arithmetic on them and sends back the answer. An animated greeting card could conceivably be done on a server using a canvas object on the client side with web sockets or other method by which the canvas gets updated from the server for every frame. But animations are computationally expensive, and if serving a lot of user the server would have to maintain quite a high load, and pushing out each frame is a lot of ongoing traffic, so for that one I'd put everything on the client. With an RSS aggregator, all the client really wants is a list of news stories, but to get those news stories requires some process to download them (and hopefully politely, within the update limits specified by the publisher in the feed), parse them, sort them, filter out the irrelevant ones, rank the rest, and then wrap 'em up in HTML for display. If the client had to do all the work it would put more load on the publishers than is truly needed, and require a lot of work making for a slow UI. If you had a server-side process that maintained the feeds in question then most of the work is done only once, publisher servers aren't overtaxed, and the client gets only the final output HTML (or perhaps XML or JSON in which the client could do the HTML wrapping itself). Three simple and fairly common uses cases, but only one of them has anything close to a simple answer. Like so much in life, we just have to look at the problem at hand, pick our dividing lines as best we can with what we can know at the outside, and be willing to revise as we learn more. -- 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 Feb 25 16:40:18 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 13:40:18 -0800 Subject: DataGrid (Documentation) In-Reply-To: <56CF4E43.60606@researchware.com> References: <56CF4E43.60606@researchware.com> Message-ID: <56CF74C2.3030806@fourthworld.com> Paul Dupuis wrote: > My point was it has been a long and glaring inconsistency in LiveCode > where the dataGrid is the ONLY LiveCode "thing" with no documentation in > LiveCode! Agreed. Do you know if there's an enhancement request filed for that? Anyone in the community with some time to space could probably do a copy-and-paste with some markdown at Github to take care of that in an hour or two. If the team gets to it before we do that's good too. Either way, an enhancement request in the DB will help ensure it's not forgotten. -- 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 bernd.niggemann at uni-wh.de Thu Feb 25 16:18:02 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Thu, 25 Feb 2016 13:18:02 -0800 (PST) Subject: Unable to select transparent buttons In-Reply-To: References: Message-ID: <1456435082633-4701469.post@n4.nabble.com> Hi Brahma, isn't that the same bug you reported here? http://quality.livecode.com/show_bug.cgi?id=17015 When you click on a button that you can not select click on the button with the shift-key down. This unselects the image and then you can click on the transparent (or opaque) button and it will be selected. Kind regards Bernd Sannyasin Brahmanathaswami wrote > Can anyone else confirm LC8 dp15 > > 1) make card > > 2) add background graphic image, leave some area of the card uncovered.. > move the image down a bit... > > 3) place several buttons on top of the imate > > 4) ... set opacity for all buttons to false > > 5) Now.. try to use the pointer tool to select one of the buttons... the > image is selected instead. No way to select a button. > > 6) now click on some blank space on the background of the card > > 7) *then* click on one of the buttons, the button is selected. > > Before reporting this I just want to see if my expectations are off... it > would seem that if the 7) is possible (selecting the button) that 5) > should not happen (selection the image when mousedown on transparent > button. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Unable-to-select-transparent-buttons-tp4701459p4701469.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Thu Feb 25 16:53:33 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Feb 2016 13:53:33 -0800 Subject: Cursor changes to a hand in the ide In-Reply-To: References: <56CF36E8.7080307@fourthworld.com> Message-ID: <56CF77DD.9070302@ahsoftware.net> On 02/25/2016 12:44 PM, Jim Byrnes wrote: > On 02/25/2016 11:16 AM, Richard Gaskin wrote: >> Jim Byrnes wrote: >> > At the point the problem occurred I hadn't written a line of code. >> > I had dropped a label control on the card and expanded it's size. >> > Then I dropped 2 radio buttons inside the boundaries of the of the >> > label. I was renaming them and changing the label text when the >> > problem occurred. I also can't replicate your problem, but I'm curious about what you were trying to accomplish here... dropping radio buttons "inside the boundaries of the label" will place them in front of the label (I'm not going to get into the religious war of whether they're "above" or "under" the label in the message path), but they're otherwise not connected with the label. I do find it buggy that if I follow your procedure and then click on the label text to select the large-border label, I am then unable to select the buttons, even though they are in front of the label, without first clicking somewhere else to deselect the label field. I'll file a bug on that one. As far as the cursor changing to a hand, it sounds like you've entered Browse mode instead of Edit mode. I don't use the tool palette myself, but I think there may be a control-key sequence that toggles between the modes, and you may have accidentally triggered that. In PowerTools the sequence is control-tab, so you might give that a try. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Thu Feb 25 16:54:20 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 25 Feb 2016 21:54:20 +0000 Subject: Unable to select transparent buttons In-Reply-To: <1456435082633-4701469.post@n4.nabble.com> References: <1456435082633-4701469.post@n4.nabble.com> Message-ID: I did report that... I guessed I missed the confirmation notification from the quality center.. it was confirmed... I was checking here to see if anyone else had that issue.. Thanks for the tip "shift click"...fantastic... it works.. I'm deep into developing a new app and trying to stick to LC8 and "face the music" but this was becoming a bit of a challenge... not being able to select things... On February 25, 2016 at 11:44:41 AM, BNig (bernd.niggemann at uni-wh.de) wrote: Hi Brahma, isn't that the same bug you reported here? http://quality.livecode.com/show_bug.cgi?id=17015 When you click on a button that you can not select click on the button with the shift-key down. This unselects the image and then you can click on the transparent (or opaque) button and it will be selected. Kind regards Bernd From mwieder at ahsoftware.net Thu Feb 25 17:01:38 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Feb 2016 14:01:38 -0800 Subject: Cursor changes to a hand in the ide In-Reply-To: <56CF77DD.9070302@ahsoftware.net> References: <56CF36E8.7080307@fourthworld.com> <56CF77DD.9070302@ahsoftware.net> Message-ID: <56CF79C2.5000304@ahsoftware.net> Bug report #17021 filed. -- Mark Wieder ahsoftware at gmail.com From jf_byrnes at comcast.net Thu Feb 25 17:02:07 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Thu, 25 Feb 2016 16:02:07 -0600 Subject: Cursor changes to a hand in the ide In-Reply-To: <56CF6EAC.7090100@fourthworld.com> References: <56CF6EAC.7090100@fourthworld.com> Message-ID: On 02/25/2016 03:14 PM, Richard Gaskin wrote: > Jim Byrnes wrote: > > I just tried to recreate what happened,but could not get it to happen > > again. So I guess it is not reproducible. > > > > I did restore the file from trash and can send it to you if you think > > that it would be helpful. I just transferred the file to my laptop > > which is also running Ubuntu 14.04 and it has the same behavior there. > > Without a recipe it would be unlikely I could do anything useful with it. > > But if you do get a recipe please post the bug report number here and > I'll check the recipe on my system to help triage the report. > Ok, I'll play with it some more to see if I can reproduce it. Regards, Jim From paul at researchware.com Thu Feb 25 17:23:47 2016 From: paul at researchware.com (Paul Dupuis) Date: Thu, 25 Feb 2016 17:23:47 -0500 Subject: DataGrid (Documentation) In-Reply-To: <56CF74C2.3030806@fourthworld.com> References: <56CF4E43.60606@researchware.com> <56CF74C2.3030806@fourthworld.com> Message-ID: <56CF7EF3.7050309@researchware.com> On 2/25/2016 4:40 PM, Richard Gaskin wrote: > Agreed. Do you know if there's an enhancement request filed for that? Thank you Richard. I entered enhancement request #17022 (http://quality.livecode.com/show_bug.cgi?id=17022) for this. From jf_byrnes at comcast.net Thu Feb 25 17:42:02 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Thu, 25 Feb 2016 16:42:02 -0600 Subject: Cursor changes to a hand in the ide In-Reply-To: <56CF77DD.9070302@ahsoftware.net> References: <56CF36E8.7080307@fourthworld.com> <56CF77DD.9070302@ahsoftware.net> Message-ID: On 02/25/2016 03:53 PM, Mark Wieder wrote: > On 02/25/2016 12:44 PM, Jim Byrnes wrote: >> On 02/25/2016 11:16 AM, Richard Gaskin wrote: >>> Jim Byrnes wrote: >>> > At the point the problem occurred I hadn't written a line of code. >>> > I had dropped a label control on the card and expanded it's size. >>> > Then I dropped 2 radio buttons inside the boundaries of the of the >>> > label. I was renaming them and changing the label text when the >>> > problem occurred. > > I also can't replicate your problem, but I'm curious about what you were > trying to accomplish here... dropping radio buttons "inside the > boundaries of the label" will place them in front of the label (I'm not > going to get into the religious war of whether they're "above" or > "under" the label in the message path), but they're otherwise not > connected with the label. When I start to teach myself a new language I usually read the docs, do some tutorials and for practice recreate a program I have written in other languages. In this case a simple little program to store some info in a sqlite db. The other environments I have used had a control that was essentially a box with a border around it. At the left end of the top border you could embed a label in the border itself. You could then drop other controls inside the box. It just called attention to certain controls. I didn't see anything like that in Livecode and was experimenting to see if I could create the effect. > I do find it buggy that if I follow your procedure and then click on the > label text to select the large-border label, I am then unable to select > the buttons, even though they are in front of the label, without first > clicking somewhere else to deselect the label field. I'll file a bug on > that one. > > As far as the cursor changing to a hand, it sounds like you've entered > Browse mode instead of Edit mode. I don't use the tool palette myself, > but I think there may be a control-key sequence that toggles between the > modes, and you may have accidentally triggered that. In PowerTools the > sequence is control-tab, so you might give that a try. > Here ctrl-tab toggles the tool palette. I tried a number of modifier keys + another key combinations with no effect. To me it looks like I am stuck in run mode. I can drag a control off of the palette and drop it on the stack, but it just disappears. Regards, Jim From ambassador at fourthworld.com Thu Feb 25 17:50:42 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 14:50:42 -0800 Subject: Cursor changes to a hand in the ide In-Reply-To: References: Message-ID: <56CF8542.8050305@fourthworld.com> Jim Byrnes wrote: > Here ctrl-tab toggles the tool palette. I tried a number of modifier > keys + another key combinations with no effect. To me it looks like I > am stuck in run mode. I can drag a control off of the palette and drop > it on the stack, but it just disappears. Hmm...I wonder if somehow the cantModify of the stack became set, or perhaps the stack's mode isn't toplevel. Try this in the Message Box: put the name of this stack && the mode of this stack -- 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 zryip.theslug at gmail.com Thu Feb 25 18:03:32 2016 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 26 Feb 2016 00:03:32 +0100 Subject: DataGrid In-Reply-To: References: <56CF361E.9040608@fourthworld.com> Message-ID: For experimenting datagrid things, you can also have a look to our datagrid helper plugin: http://www.aslugontheroad.com/ourproducts/2-what-is-dgh A new version fully compatible with LC 8 will be available soon. Best Regards, On Thu, Feb 25, 2016 at 7:46 PM, Scott Rossi wrote: > For those with simple needs, you might try: > http://tactilemedia.com/blog/2015/11/07/table-lab/ > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 2/25/16, 9:13 AM, "use-livecode on behalf of Richard Gaskin" > ambassador at fourthworld.com> wrote: > >>stephen barncard wrote: >> >>> ...back to a tabbed scrolling field.... >> >>No harm in that. The DG was written to support both list and form row >>types only because at the time the LC field object didn't allow >>independent column alignment, needed for financial apps and others where >>text may be left-aligned while numbers need to be right-aligned. >> >>Now that we have the tabAlign property we can use LC's native field >>object for a wide range of cases we used to have to use the DG for. >> >>-- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Zryip TheSlug http://www.aslugontheroad.com From scott at tactilemedia.com Thu Feb 25 18:12:54 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 25 Feb 2016 15:12:54 -0800 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: Message-ID: Two qualifications: I haven't followed this thread closely, and I haven't played a great deal with the HTML5 build. That said, does an HTML5 standalone have the ability to interact with the HTML of the surrounding page? If yes, it would seem to be relatively straightforward to do what most HTML apps do, which is displaying video content in an iFrame, or embedded video on the same page. Perhaps this is even how player support will eventually by provided by the LiveCode guys. But if you need a solution now, maybe this route is an option. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/6/16, 7:57 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: > >Are players expected to work in HTML5? I created a really simple stack >with a button to fetch a remobe URL to an MP3 file, set the filename of a >player on the card to that URL and start playing. > >really simple? works on desktop like a charm. > >Fails in HTML5 standalone made with LC 8dp14 > >I already bug reported this, but thought to ask here. > >streaming remote audio/video will be mission critical for us. > >BR From mwieder at ahsoftware.net Thu Feb 25 18:33:55 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Feb 2016 15:33:55 -0800 Subject: Cursor changes to a hand in the ide In-Reply-To: References: <56CF36E8.7080307@fourthworld.com> <56CF77DD.9070302@ahsoftware.net> Message-ID: <56CF8F63.5010804@ahsoftware.net> On 02/25/2016 02:42 PM, Jim Byrnes wrote: > The other environments I have used had a control that was essentially a > box with a border around it. At the left end of the top border you could > embed a label in the border itself. You could then drop other controls > inside the box. It just called attention to certain controls. > > I didn't see anything like that in Livecode and was experimenting to see > if I could create the effect. Good. That's what I thought you were trying to accomplish. With LiveCode that's done with a group. Try this: create a new stack drop a label field onto the stack drop a couple of radio buttons onto the stack now shift-click or drag the cursor to select them from the Object menu select "Group Selected" (or just press control-G) you'll probably want to fiddle with the visual aspects of the group: double-click or right-click on one of the controls to bring up the property inspector check 'showBorder' enter a label for the group check the unfortunately-named 'showName' -- Mark Wieder ahsoftware at gmail.com From stephenREVOLUTION2 at barncard.com Thu Feb 25 19:06:39 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 25 Feb 2016 16:06:39 -0800 Subject: DataGrid In-Reply-To: <56CF3B7A.8070408@fourthworld.com> References: <56CF3B7A.8070408@fourthworld.com> Message-ID: Thanks guys. Both Scott Rossi's solution and Bernd's were really well done. In the end I chose modTableField which does everything I want... (and was about to go through the pain of creating...) This thing is FAST and really well designed. Thank you Bernd! Scott's has a beautiful UI but Bernd's will require few changes by me. I'm working with exported Filemaker tabbed data... and my previous data format using the datagrid used the same format: headers on first line, tab delimited, return delimited records, with returns in fields turned into linefeeds (or is it vertical tabs?), just like Filemaker exports I went a bit further with my own text file 'standard' , putting a tab delimited line at the bottom holding column widths which get set on load. Easy to add. But again Bernd's auto-sizing really works fine and I may not do that. A quick question about Filemaker 12 text Exports - why doesn't FM provide an option to add field names to the first line on export to CSV (which is a misnomer as I use the tab option)?? I have to add the field names manually to the resultant text file. Odd because other export options like 'merge' DO add field names. Is this a bug in Filemaker? I'm exporting data out of Filemaker because I'm doing a tape archive and need to do things like a multiple non-contiguous search of all records from a dialog box and FM won't do that. I also need to clean up some Unicode crapola that didn't get translated. Then I need to import the whole mess back into Filemaker (which does accept first line field headers..!!) -- although this solution is so good it may end up being the final database... On Thu, Feb 25, 2016 at 9:35 AM, Richard Gaskin wrote: > > Exactly. There Bernd adds a nice header above a standard LC list field, > very nicely done. > > Eating my own dog food I did a quick search in Google for "modTableField" > and turned up his repository: > > Stephen Barncard - Sebastopol Ca. USA - mixstream.org From jf_byrnes at comcast.net Thu Feb 25 19:28:21 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Thu, 25 Feb 2016 18:28:21 -0600 Subject: Cursor changes to a hand in the ide In-Reply-To: <56CF8542.8050305@fourthworld.com> References: <56CF8542.8050305@fourthworld.com> Message-ID: On 02/25/2016 04:50 PM, Richard Gaskin wrote: > Jim Byrnes wrote: >> Here ctrl-tab toggles the tool palette. I tried a number of modifier >> keys + another key combinations with no effect. To me it looks like I >> am stuck in run mode. I can drag a control off of the palette and drop >> it on the stack, but it just disappears. > > Hmm...I wonder if somehow the cantModify of the stack became set, or > perhaps the stack's mode isn't toplevel. > > Try this in the Message Box: > > put the name of this stack && the mode of this stack > Doing that results in: stack "revMenubar" 2 Regards, Jim From lists at mangomultimedia.com Thu Feb 25 19:30:15 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 25 Feb 2016 19:30:15 -0500 Subject: DataGrid In-Reply-To: <782C7F5B-C538-4FD9-9359-24097A31541E@icloud.com> References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> <782C7F5B-C538-4FD9-9359-24097A31541E@icloud.com> Message-ID: On Thursday, February 25, 2016, Terence Heaford wrote: > > > On 25 Feb 2016, at 14:30, Trevor DeVore > wrote: > > > > The number of rows shouldn't affect the scrolling speed. The DataGrid > > doesn't create any more rows based on the amount of data. It only > generates > > enough controls to view the visible rows (+ a handful of others). The > > number of columns can affect the scrolling as more controls have to be > > created based on the number of columns. > > > The number of visible rows on screen does affect the performance of the > DataGrid. > Yes, I was referring to overall rows. Obviously anything visible on screen affects performance. I don't think the DataGrid will ever scroll as smoothly as something in Cocoa. I think a widget based one could eventually. I could be wrong though. -- Trevor DeVore From ambassador at fourthworld.com Thu Feb 25 19:35:11 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 16:35:11 -0800 Subject: Cursor changes to a hand in the ide In-Reply-To: References: Message-ID: <56CF9DBF.9050608@fourthworld.com> Jim Byrnes wrote: > On 02/25/2016 04:50 PM, Richard Gaskin wrote: >> Try this in the Message Box: >> >> put the name of this stack && the mode of this stack >> > > Doing that results in: stack "revMenubar" 2 Hmmm...if your stack was toplevel then revMenubar wouldn't be "this stack", suggesting that your stack's style property was changed. Try this in the Message Box (replacing "YourStack" with your stack's name of course): put the mode of stack "YourStack" && the style of stack "YourStack" -- 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 bernd.niggemann at uni-wh.de Thu Feb 25 19:13:03 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Thu, 25 Feb 2016 16:13:03 -0800 (PST) Subject: DataGrid In-Reply-To: References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> <56CF361E.9040608@fourthworld.com> <56CF3B7A.8070408@fourthworld.com> Message-ID: <1456445583746-4701484.post@n4.nabble.com> Hi Stephen, Stephen Barncard-4 wrote > Thanks guys. > > Both Scott Rossi's solution and Bernd's were really well done. > > In the end I chose modTableField which does everything I want... (and was > about to go through the pain of creating...) > This thing is FAST and really well designed. Thank you Bernd! Scott's has > a > beautiful UI but Bernd's will require few changes by me. I am glad you like modTableField but of course Scott's UI is, well, a Scott Rossi UI? :) If you want to mod modTableField's UI feel free to contact me off list if anything does not work the way you want. (modTableField can be finicky about margins etc.) Also there are some pretty advanced custom sorting options in modTableField which might not be obvious at first glance, again feel free to ask. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-tp4701374p4701484.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Thu Feb 25 19:43:07 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 25 Feb 2016 16:43:07 -0800 Subject: DataGrid In-Reply-To: References: <56CF3B7A.8070408@fourthworld.com> Message-ID: Ah, one more thing...I'm sure we've been here before on this forum but I've been away from LC for a while. The 'unicode crapola' issue seems to show up in text files imported from Filemaker. These text files look fine in Textmate, but I always see this distortion when imported into a livecode field. I see this in my own stack creations and modTableField as well. I think the major problem is the 'fancier' versions of the Quote characters and the apostrophe, although there might be other characters. I guess I have to "filter" the input. Is there a function that 'simplify' or 'stupify' the text to look right in LC? Or do I have to search and replace 'certain' ones to fix the problem. Sorry if this has been covered a multitude of times... I have to re-import the text back into Filemaker at some point so it has to work round-trip. thanks sqb On Thu, Feb 25, 2016 at 4:06 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > I'm exporting data out of Filemaker because I'm doing a tape archive and > need to do things like a multiple non-contiguous search of all records from > a dialog box and FM won't do that. I also need to clean up some Unicode > crapola that didn't get translated. > Stephen Barncard - Sebastopol Ca. USA - mixstream.org From lists at mangomultimedia.com Thu Feb 25 19:45:38 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 25 Feb 2016 19:45:38 -0500 Subject: DataGrid In-Reply-To: References: <04cc01d16f3c$f7b9b9c0$e72d2d40$@themartinz.com> Message-ID: On Thursday, February 25, 2016, Terence Heaford > wrote: > > > On 25 Feb 2016, at 14:30, Trevor DeVore > wrote: > > > > I don't think this is the case. Widgets provide (or at least will > provide) > > an excellent platform for building out a custom control like a Widget. > > I am not sure precisely how Livecode builder works in comparison to the > live code script engine but > > I assume they both compile to byte code. > While how the code compiles is interesting, the more interesting part to me is how widgets are rendered. A widget has an OnPaint event where you specify what should be drawn in the widgets rectangle. You draw lines, text, etc. using LCB drawing code. You only draw exactly what you need. This is much more efficient than the engine rendering a lot of field objects nested within multiple groups. -- Trevor DeVore From jf_byrnes at comcast.net Thu Feb 25 19:55:31 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Thu, 25 Feb 2016 18:55:31 -0600 Subject: Cursor changes to a hand in the ide In-Reply-To: <56CF9DBF.9050608@fourthworld.com> References: <56CF9DBF.9050608@fourthworld.com> Message-ID: On 02/25/2016 06:35 PM, Richard Gaskin wrote: > Jim Byrnes wrote: > > > On 02/25/2016 04:50 PM, Richard Gaskin wrote: > >> Try this in the Message Box: > >> > >> put the name of this stack && the mode of this stack > >> > > > > Doing that results in: stack "revMenubar" 2 This is my bad. I just realized after selecting the message box I did not select my stack before running your command, if I do the result is: stack "Passwords" 2 > Hmmm...if your stack was toplevel then revMenubar wouldn't be "this > stack", suggesting that your stack's style property was changed. > > Try this in the Message Box (replacing "YourStack" with your stack's > name of course): > > put the mode of stack "YourStack" && the style of stack "YourStack" > This results in: 2 toplevel From ambassador at fourthworld.com Thu Feb 25 20:25:43 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 17:25:43 -0800 Subject: Cursor changes to a hand in the ide In-Reply-To: References: Message-ID: <56CFA997.8040200@fourthworld.com> Jim Byrnes wrote: > On 02/25/2016 06:35 PM, Richard Gaskin wrote: >> Try this in the Message Box (replacing "YourStack" with your stack's >> name of course): >> >> put the mode of stack "YourStack" && the style of stack "YourStack" >> > > This results in: 2 toplevel Hunch confirmed: if you look up mode in the Dictionary you'll see the mode is an integer that refers to the current state of the stack. Stack modes can be made persistent with the style property, but you can also temporarily change the mode of a stack without changing the persistent style property by using the style name as a command, e.g.: palette "some stack" ...will open it as a palette, but if its style is toplevel then using: open stack "some stack" ...will open it in its style, toplevel. There is one other way to affect mode, specific to mode 2: that one's cantModify, which can be affected by setting the stack's cantModify property. So if you run this in the Message Box you should be good to go: set the cantmodify of stack "YourStack" to false Then save it, or you'll be back in this spot again next time you open 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 jf_byrnes at comcast.net Thu Feb 25 20:55:59 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Thu, 25 Feb 2016 19:55:59 -0600 Subject: Cursor changes to a hand in the ide In-Reply-To: <56CFA997.8040200@fourthworld.com> References: <56CFA997.8040200@fourthworld.com> Message-ID: On 02/25/2016 07:25 PM, Richard Gaskin wrote: > Jim Byrnes wrote: > > > On 02/25/2016 06:35 PM, Richard Gaskin wrote: > >> Try this in the Message Box (replacing "YourStack" with your stack's > >> name of course): > >> > >> put the mode of stack "YourStack" && the style of stack "YourStack" > >> > > > > This results in: 2 toplevel > > Hunch confirmed: if you look up mode in the Dictionary you'll see the > mode is an integer that refers to the current state of the stack. > > Stack modes can be made persistent with the style property, but you can > also temporarily change the mode of a stack without changing the > persistent style property by using the style name as a command, e.g.: > > palette "some stack" > > ...will open it as a palette, but if its style is toplevel then using: > > open stack "some stack" > > ...will open it in its style, toplevel. > > There is one other way to affect mode, specific to mode 2: that one's > cantModify, which can be affected by setting the stack's cantModify > property. > > So if you run this in the Message Box you should be good to go: > > set the cantmodify of stack "YourStack" to false > > Then save it, or you'll be back in this spot again next time you open it. > That worked, thank you very much. I must say this is a friendly, helpful group. Regards, Jim From stephenREVOLUTION2 at barncard.com Thu Feb 25 21:01:21 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 25 Feb 2016 18:01:21 -0800 Subject: DataGrid In-Reply-To: References: <56CF3B7A.8070408@fourthworld.com> Message-ID: Never mind, this all covered elsewhere. Brain fart ground zero. On Thu, Feb 25, 2016 at 4:43 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > Is there a function that 'simplify' or 'stupify' the text to look right in > LC? Or do I have to search and replace 'certain' ones to fix the problem. > Sorry if this has been covered a multitude of times... I have to re-import > the text back into Filemaker at some point so it has to work round-trip. > > thanks > > sqb > Stephen Barncard - Sebastopol Ca. USA - mixstream.org From james at thehales.id.au Thu Feb 25 20:56:42 2016 From: james at thehales.id.au (jameshale) Date: Thu, 25 Feb 2016 17:56:42 -0800 (PST) Subject: updating progress to user during long handler In-Reply-To: References: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> <3C751E29-70F1-4C82-AF47-3A20458F2C5A@thehales.id.au> <56CD221B.2010602@pdslabs.net> <1456320248180-4701358.post@n4.nabble.com> Message-ID: <1456451802202-4701491.post@n4.nabble.com> Hi Kay, Actually never thought of that (doh!) Beeps in the updateme handler fire. - so the handler is getting the message Breakpoints in updateme as well as following "send" in main routine show the text appearing in the SPLASH stack. So, the messages are being sent. The updateme handler is being run (BEEP was sounded) The field will update, WHEN a breakpoint is hit. The field does not update (except for a flash just at the very end of the main handler) when no breakpoints are present. placing the update message in the message box (put "blah blah blah") opens the message box but does NOT update it. So from all this I can see that the messages are being passed, the screen is simply not updating. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/updating-progress-to-user-during-long-handler-tp4701326p4701491.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Feb 25 21:29:14 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Feb 2016 18:29:14 -0800 Subject: Cursor changes to a hand in the ide In-Reply-To: References: Message-ID: <56CFB87A.8030306@fourthworld.com> Jim Byrnes wrote: > That worked, thank you very much. I must say this is a friendly, > helpful group. This group is awesome! Many years ago when I was first getting my head wrapped around how this engine works, back then it was called MetaCard and Kevin's company was just getting started. I was having one heckuva time trying to understand how custom property sets worked, and to be honest I was far less patient than you. :) It took Kevin and Scott Raney (original inventor of the engine) a few very patient emails to help me work through my issue, and eventually I slowed down, digested what they'd written, experimented some more, and it all sunk in. Just been paying it forward ever since.... -- 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 lan.kc.macmail at gmail.com Thu Feb 25 22:28:03 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Feb 2016 11:28:03 +0800 Subject: updating progress to user during long handler In-Reply-To: <1456451802202-4701491.post@n4.nabble.com> References: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> <3C751E29-70F1-4C82-AF47-3A20458F2C5A@thehales.id.au> <56CD221B.2010602@pdslabs.net> <1456320248180-4701358.post@n4.nabble.com> <1456451802202-4701491.post@n4.nabble.com> Message-ID: On Fri, Feb 26, 2016 at 9:56 AM, jameshale wrote: > > So from all this I can see that the messages are being passed, the screen > is > simply not updating. > Which of course is why everyone else responded as they did; it happens. Now test some 'descending' wait after the text has been placed in the field: wait 1 sec wait 1 tick wait 1 millisec See if you can come to a compromise that allows the screen to refresh without slowing the code. From lan.kc.macmail at gmail.com Thu Feb 25 22:50:01 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Feb 2016 11:50:01 +0800 Subject: Cursor changes to a hand in the ide In-Reply-To: References: <56CFA997.8040200@fourthworld.com> Message-ID: On Fri, Feb 26, 2016 at 9:55 AM, Jim Byrnes wrote: That worked, thank you very much. >> > > And just in case you are wondering how it got that way, as you didn't type any commands. My guess is that this property can be set within the Property Inspector - typically accessed via the Object menu via, Object Inspector, Card Inspector or Stack Inspector. You probably had this open when giving the stack, label field and radio buttons names or other properties (labels, size, default font etc). In the case of a stack the 'Can't Modify' property is a checkbox towards the bottom of the Property Inspector. You probably accidentally clicked on it - clicking on the words, not just the checkbox will activate/deactivate each checkbox. From jf_byrnes at comcast.net Thu Feb 25 22:53:21 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Thu, 25 Feb 2016 21:53:21 -0600 Subject: Cursor changes to a hand in the ide In-Reply-To: References: <56CFA997.8040200@fourthworld.com> Message-ID: On 02/25/2016 09:50 PM, Kay C Lan wrote: > On Fri, Feb 26, 2016 at 9:55 AM, Jim Byrnes wrote: > > That worked, thank you very much. >>> >> >> And just in case you are wondering how it got that way, as you didn't type > any commands. My guess is that this property can be set within the Property > Inspector - typically accessed via the Object menu via, Object Inspector, > Card Inspector or Stack Inspector. You probably had this open when giving > the stack, label field and radio buttons names or other properties (labels, > size, default font etc). In the case of a stack the 'Can't Modify' property > is a checkbox towards the bottom of the Property Inspector. You probably > accidentally clicked on it - clicking on the words, not just the checkbox > will activate/deactivate each checkbox. > I think you are right. I was looking around trying to get the look I wanted and probably hit something by mistake. Regards, Jim From bogdanoff at me.com Fri Feb 26 00:09:22 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 25 Feb 2016 21:09:22 -0800 Subject: Math question Message-ID: Hi, I?m seriously math deficient. In my application?s preferences I have a slider that the user can set a value from +5 down to -5, where 0 is the default and the user can then modify that. The result is currently linear but I?m thinking that I want finer control around the zero midpoint but coarser results at either end of the control. So I?m needing a non-linear scale of some sort. This is the current script. tData is a number 5 to -5. 60 was an arbitrary number chosen to provide similar results on the two platforms (a span of 600, which is the timescale of an audio file?I can vary the speed of time events by 1 second): function calcBlockOffsetGlobal tData if the machine contains "x86" then put -300 into defaultSetting # Windows default else put 80 into defaultSetting # Mac default end if put defaultSetting + (60 * tData) into tOffset return tOffset end calcBlockOffsetGlobal How would one modify this to return tOffset as a smaller change when tData is near zero, and the opposite when tData is near the maximum? Peter Bogdanoff UCLA ps. I saw a t-shirt yesterday that said ?Well, another day passed and I didn't use Algebra." From mark at livecode.com Fri Feb 26 04:13:49 2016 From: mark at livecode.com (Mark Waddingham) Date: Fri, 26 Feb 2016 10:13:49 +0100 Subject: Players in HTML5 - ETA for Full =?UTF-8?Q?Functionality=3F?= In-Reply-To: References: <56CF46A0.4000704@fourthworld.com> <64EF2E0D-F7BF-4A6A-88D2-56BCB715B13E@livecode.com> Message-ID: On 2016-02-25 20:23, Matt Maier wrote: > In the approach the Livecode team is taking now, is it accurate to say > that > the html5 standalone bundles up the livecode engine with any > app-specific > objects/scripts and pushes the whole thing into the client browser, > such > that all of the (supportable) functionality runs client-side? Yes - building an HTML5 standalone is equivalent to building a standalone for another platform, it gives you an app which runs locally on the client. Any server access you do using similar techniques as those other platforms - for example, by using url requests. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From james at thehales.id.au Fri Feb 26 05:06:36 2016 From: james at thehales.id.au (jameshale) Date: Fri, 26 Feb 2016 02:06:36 -0800 (PST) Subject: updating progress to user during long handler In-Reply-To: References: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> <3C751E29-70F1-4C82-AF47-3A20458F2C5A@thehales.id.au> <56CD221B.2010602@pdslabs.net> <1456320248180-4701358.post@n4.nabble.com> <1456451802202-4701491.post@n4.nabble.com> Message-ID: <1456481196089-4701498.post@n4.nabble.com> Hi Kay, Well way ahead there. I had tried a one second delay before my first post. It had no effect (except for taking longer?) Kay C Lan wrote > On Fri, Feb 26, 2016 at 9:56 AM, jameshale < > james at .id > > wrote: > >> >> Now test some 'descending' wait after the text has been placed in the >> field: > > wait 1 sec > wait 1 tick > wait 1 millisec > > See if you can come to a compromise that allows the screen to refresh > without slowing the code. > _______________________________________________ -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/updating-progress-to-user-during-long-handler-tp4701326p4701498.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Fri Feb 26 06:04:07 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Feb 2016 19:04:07 +0800 Subject: Math question In-Reply-To: References: Message-ID: On Fri, Feb 26, 2016 at 1:09 PM, Peter Bogdanoff wrote: > > How would one modify this to return tOffset as a smaller change when tData > is near zero, and the opposite when tData is near the maximum? > If I run your handler for values of -5 to 5 I get this: -220 -160 -100 -40 20 80 140 200 260 320 380 I think what you need is use x to the power of. ie x*x, x*x*x, or x*x*x*x Examples you can try in the message box below. Note, a negative number multiplies by a negative number is a positive number, so if you have an even number of x's you need the if (x < 0). If there is an odd number of x's then you don't need the if. As you can see by applying more and more multiples of x it flattens out in the middle and is steeper at the ends. put empty into msg repeat with x = -5 to 5 if ( x < 0) then put "-" & (12*x*x) & cr after msg else put (12*x*x) & cr after msg end if end repeat -300 -192 -108 -48 -12 0 12 48 108 192 300 put empty into msg repeat with x = -5 to 5 put round(2,4*x*x*x) & cr after msg end repeat -300 -154 -65 -19 -2 0 2 19 65 154 300 put empty into msg repeat with x = -5 to 5 if ( x = 0) then put "0" & cr after msg else if (x < 0) then put "-" & round(0.478*x*x*x*x) +1 & cr after msg else put round(0.478*x*x*x*x) +1 & cr after msg end if end if end repeat -300 -123 -40 -9 -1 0 1 9 40 123 300 From lan.kc.macmail at gmail.com Fri Feb 26 07:33:23 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Feb 2016 20:33:23 +0800 Subject: updating progress to user during long handler In-Reply-To: <1456481196089-4701498.post@n4.nabble.com> References: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> <3C751E29-70F1-4C82-AF47-3A20458F2C5A@thehales.id.au> <56CD221B.2010602@pdslabs.net> <1456320248180-4701358.post@n4.nabble.com> <1456451802202-4701491.post@n4.nabble.com> <1456481196089-4701498.post@n4.nabble.com> Message-ID: Strange. If your mainstack handler is in preOpenStack have you tried it in preOpenCard or vice versa? Or try this kludge. Move your mainstack handler to 'openCard'. Change your current preOpenStack/Card script to simply move the stack off screen, that's it. At the end of your mainstack's new openCard handler, lockscreen, move the mainstack to on screen, unlock screen. Hopefully then at the end of the preOpenStack/Card script the screen will unlock, your openCard handler will send your updateme handler and the screen will update as you proceed. From hh at livecode.org Fri Feb 26 08:18:46 2016 From: hh at livecode.org (-hh) Date: Fri, 26 Feb 2016 14:18:46 +0100 Subject: Math question Message-ID: <20938A35-4F6F-4DA6-B095-156DCD88211B@livecode.org> >> Peter Bo. wrote >> How would one modify this to return tOffset as a smaller change when tData is near zero, and the opposite when tData is near the maximum? > Kay C. Lan wrote: > I think what you need is use x to the power of. ie x*x, x*x*x, or x*x*x*x Yes K.C., that's my proposal too. Allow me to write this a little more math-like. One may use [*] return defaultSetting + c*f(n, 5*tData/maxvalue) if the slider range is from -maxvalue to maxvalue. the constant factor c will depend on tData (you use 60 in your example) -- n is any real > 1 (try n=3/2 or n=2 or n=5/2 or n=3 or n=4) -- (n doesn't need to be an integer, essential is to set n>1). -- x is any real, here between -5 and 5 -- I would try to use -3 to 3 (--> the 3 replacing 5 in [*]) function f n,x return x*abs(x^(n-1)) end f Kay, I write this in order to remark that instead of the two cases -x*x, if x<0 x*x, if x>0 one could write x*abs(x) which has the correct sign [because abs(x) = -x if x<=0 and abs(x) = x if x>0] p.s. the thumbpos is since LC 7 a real, rounding is for setting the thumpos not necessary any more. One should know that if one needs an integer when getting the thumbpos. ======= Hermann From hh at livecode.org Fri Feb 26 08:41:54 2016 From: hh at livecode.org (-hh) Date: Fri, 26 Feb 2016 14:41:54 +0100 Subject: Players in HTML5 - ETA for Full Functionality? Message-ID: > Scott R. wrote: > ... That said, does an HTML5 standalone have the ability to > interact with the HTML of the surrounding page? > If yes, it would seem to be relatively straightforward to do > what most HTML apps do, which is displaying video content in > an iFrame, or embedded video on the same page... Mark Wadd. said recently, freely out of my brain: 'LC uses emscripten only to render into the canvas'. I suggested the use of other HTML5 objects already in November and got a strict "NO": The HTML5 standalone will not have features that are not in the engine. The other way is already somehow possible: One can have a webpage with actions that work on the LC canvas like on every other canvas, for example get mouseActions or keyboardActions if over the canvas. But for that the LC canvas is a "dead" drawn object, like a still image, you can't go 'deeper'. Except LC would allow to attach js handlers alike the browser objects do. Hope that was not too theoretical, the HTML5 people in general have their own special wording what builds (intentionally?) a barrier to simple HTML3 users like me and, as you wrote, also you ... hh From dunbarx at aol.com Fri Feb 26 08:52:12 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 26 Feb 2016 08:52:12 -0500 Subject: Math question In-Reply-To: <20938A35-4F6F-4DA6-B095-156DCD88211B@livecode.org> References: <20938A35-4F6F-4DA6-B095-156DCD88211B@livecode.org> Message-ID: <1531dd9e54d-4055-4ae@webprd-m40.mail.aol.com> I knew Hermann would solve this. Craig -----Original Message----- From: [-hh] To: use-livecode Sent: Fri, Feb 26, 2016 8:20 am Subject: Re: Math question >> Peter Bo. wrote >> How would one modify this to return tOffset as a smaller change when tData is near zero, and the opposite when tData is near the maximum? > Kay C. Lan wrote: > I think what you need is use x to the power of. ie x*x, x*x*x, or x*x*x*x Yes K.C., that's my proposal too. Allow me to write this a little more math-like. One may use [*] return defaultSetting + c*f(n, 5*tData/maxvalue) if the slider range is from -maxvalue to maxvalue. the constant factor c will depend on tData (you use 60 in your example) -- n is any real > 1 (try n=3/2 or n=2 or n=5/2 or n=3 or n=4) -- (n doesn't need to be an integer, essential is to set n>1). -- x is any real, here between -5 and 5 -- I would try to use -3 to 3 (--> the 3 replacing 5 in [*]) function f n,x return x*abs(x^(n-1)) end f Kay, I write this in order to remark that instead of the two cases -x*x, if x<0 x*x, if x>0 one could write x*abs(x) which has the correct sign [because abs(x) = -x if x<=0 and abs(x) = x if x>0] p.s. the thumbpos is since LC 7 a real, rounding is for setting the thumpos not necessary any more. One should know that if one needs an integer when getting the thumbpos. ======= Hermann _______________________________________________ use-livecode mailing list use-livecode at 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 livecode.org Fri Feb 26 08:52:30 2016 From: hh at livecode.org (-hh) Date: Fri, 26 Feb 2016 14:52:30 +0100 Subject: Math question Message-ID: <99397B07-512C-461E-87A4-804148A0813B@livecode.org> > hh wrote: > function f n,x > return x*abs(x^(n-1)) > end f Sorry that's wrong. Should read function f n,x return x*abs(x)^(n-1) end f From lan.kc.macmail at gmail.com Fri Feb 26 09:30:58 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Feb 2016 22:30:58 +0800 Subject: Math question In-Reply-To: <20938A35-4F6F-4DA6-B095-156DCD88211B@livecode.org> References: <20938A35-4F6F-4DA6-B095-156DCD88211B@livecode.org> Message-ID: On Fri, Feb 26, 2016 at 9:18 PM, [-hh] wrote: > > Yes K.C., that's my proposal too. > Allow me to write this a little more math-like. > Very nice, but Peter explained that he's 'seriously math deficient'. I wrote mine so he might understand whats going on and be able to amend it if it doesn't quite suit his needs. We'll see which one he adopts ;-) > > p.s. the thumbpos is since LC 7 a real, rounding is for setting > the thumpos not necessary any more. > The rounding isn't for the thumbposition, as it's clearly from -5 to 5. My understanding is the thumbpostion determines an output that has to be in whole seconds, which is why in some cases I used the round() function. But then again I failed English so maybe I completely misunderstood what Peter was trying to achieve with his slider. :-( From rman at free.fr Fri Feb 26 10:05:47 2016 From: rman at free.fr (Robert Mann) Date: Fri, 26 Feb 2016 07:05:47 -0800 (PST) Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <56CE9ADA.9000308@livecode.com> References: <1454942234194-4700894.post@n4.nabble.com> <56CD8213.8010801@livecode.com> <1B9D8A0C-970C-46AA-A68B-30A29B6023FC@appisle.net> <56CE9ADA.9000308@livecode.com> Message-ID: <1456499147306-4701506.post@n4.nabble.com> Just for information... I must not be the single one that has sort of waited 10 years for JUST : >> a revamped audio implementation that simply allows to use COMPRESSED >> audio within stacks, and not be obliged to develop external solutions >> (which I did, but is then trick y to use for products because of the more >> complex installation and external libraries to be installed, that some >> users do not like at all). So, Although I did support as a hobbyist live code for a long time and spent quite a few euros to support, I will personally NOT spend one more euro until that is actually DONE. (i understand it is somewhat done "obliged" in the iOs context, has it been added meanwhile into macOS?? That would be bad news for my purse..!!) And I fully support Sannyasin Brahmanathaswami in the view that audio/video media functionalities are just basic functions that need to be addressed and perhaps in greater priority than a sophisticated MCV framework. And should you need more people to contribute financially, perhaps you could review the new paradigm of yearly licensing and also give a standard "old" ways of just holding to a version. i will just hold on to my version 7.5 for my hobbits usage. And I would be as a hobbyist willing to spend a few bucks every 3 years or so... but with the yearly licensing scheme, it's just too expensive for just a hobist and there is no security to be able to play on with new acquired features. So as a result I just do not take time to keep up with new features because I know that I will not be able to support a version I can use as a hobbits for several years. And the time that a hobbyist will take to dig and become friendlier with live code is the best investment you can make to maintain a good relationship with.. you.. clients.. in the long run. For me that precious line has been broken by the new licensing scheme. Robert -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Players-in-HTML5-ETA-for-Full-Functionality-tp4700852p4701506.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Fri Feb 26 10:39:56 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 26 Feb 2016 07:39:56 -0800 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <1456499147306-4701506.post@n4.nabble.com> References: <1454942234194-4700894.post@n4.nabble.com> <56CD8213.8010801@livecode.com> <1B9D8A0C-970C-46AA-A68B-30A29B6023FC@appisle.net> <56CE9ADA.9000308@livecode.com> <1456499147306-4701506.post@n4.nabble.com> Message-ID: On Fri, Feb 26, 2016 at 7:05 AM, Robert Mann wrote: > I know that I will not be able to support a version I can use as a hobbits > for several years. > Hobbits? http://www.thehobbit.com Stephen Barncard - Sebastopol Ca. USA - mixstream.org From brahma at hindu.org Fri Feb 26 10:43:07 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 26 Feb 2016 15:43:07 +0000 Subject: Shrink substack to same window rect as main stack Message-ID: Assuming we have -- Stack A that is set to a rect of 736w X 414h -- is is possible to open another stack with the same ratio (16:9) but bigger in the same window? -- i.e. opens stack B which is 1200 X 675 (16:9) in the window of Stack A, such that it "shrinks to fit" just like it would on mobile if we had it set to "showAll" ?? I made what may be a strategic mis-direct by developing in 1200 X 675 for iPhone.. simply because I wanted it to appear bigger on my large monitor during dev. Using ShowAll it runs fine on the phone. But later I started another mainstack which for which the above stack is supposed to be a "module" and decided, that, in the long run... it is better to work in the actual native geometric points of the device (iphone 6+ 736 X 414). I may have to refactor the big stack... not a big deal, but I was wondering about the possibility of shrinking to fit in a scenario like this BR From ambassador at fourthworld.com Fri Feb 26 11:28:08 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Feb 2016 08:28:08 -0800 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <1456499147306-4701506.post@n4.nabble.com> References: <1456499147306-4701506.post@n4.nabble.com> Message-ID: <56D07D18.4070403@fourthworld.com> Robert Mann wrote: >>> a revamped audio implementation that simply allows to use COMPRESSED >>> audio within stacks, and not be obliged to develop external >>> solutions (which I did, but is then trick y to use for products >>> because of the more complex installation and external libraries to >>> be installed, that some users do not like at all). > > So, Although I did support as a hobbyist live code for a long time > and spent quite a few euros to support, I will personally NOT spend > one more euro until that is actually DONE. > > (i understand it is somewhat done "obliged" in the iOs context, has > it been added meanwhile into macOS?? That would be bad news for my > purse..!!) OS X has gotten far more attention for media playback than any other platform, now using Apple's latest AV APIs. What do you want to do that's been difficult in v7 or v8? > And should you need more people to contribute financially, perhaps > you could review the new paradigm of yearly licensing and also give > a standard "old" ways of just holding to a version. i will just hold > on to my version 7.5 for my hobbits usage. And I would be as a > hobbyist willing to spend a few bucks every 3 years or so... but with > the yearly licensing scheme, it's just too expensive for just a > hobist and there is no security to be able to play on with new > acquired features. Good news: unless you have a commercial interest that requires a proprietary license, you can use the GPL-governed Community Edition. The GPL does require that your stack source be available, but unless you're running a commercial venture that's usually not prohibitive, and many prefer to share their source so the software can be enhanced by others. The benefits for your situation are two-fold: 1. LiveCode requires no payment for the Community Edition, so you can enjoy the latest version at no cost. 2. If you want to make a financial contribution to the project you can choose any amount on the Donation page: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Feb 26 11:33:03 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Feb 2016 08:33:03 -0800 Subject: updating progress to user during long handler In-Reply-To: <1456481196089-4701498.post@n4.nabble.com> References: <1456481196089-4701498.post@n4.nabble.com> Message-ID: <56D07E3F.6040306@fourthworld.com> jameshale wrote: > Kay C Lan wrote >> Now test some 'descending' wait after the text has been placed in the >>> field: >> >> wait 1 sec >> wait 1 tick >> wait 1 millisec >> >> See if you can come to a compromise that allows the screen to refresh >> without slowing the code. > > I had tried a one second delay before my first post. > It had no effect (except for taking longer?) Is it possible that the lockScreen is being set somewhere in the scripts running during that loop? You might add something like "put the lockscreen" somewhere in the middle of the code, and if it's true then you know it's set before then; if it's false move it down further and repeat the test. -- 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 dirk.cleenwerck at gmail.com Fri Feb 26 12:08:49 2016 From: dirk.cleenwerck at gmail.com (Dirk prive) Date: Fri, 26 Feb 2016 18:08:49 +0100 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <56D07D18.4070403@fourthworld.com> References: <1456499147306-4701506.post@n4.nabble.com> <56D07D18.4070403@fourthworld.com> Message-ID: I think the lack of interest in supporting the hobby programmers will hurt the company in the not too distant future. As a hobby user myself I have paid for a license for a long long time. I have a founder account on on-rev. I paid for several academies. I supported the kickstarter. Not to long ago we moved to Indy. This changed is to a license that is no longer ours to keep. The license is only ours as long as we keep paying. That was already a massive step backwards if you ask me. Not so long ago there was already a price rise which you could avoid if you paid a yearly amount up front. Now the price of Indy will double to 999. Again you can avoid it if you pay 499 up front. I'm sorry but I don't have that amount of money laying aside for my hobby. I can afford small monthly fees, but not 499 in one go. This means I'll have to revert to whatever the last version was that we had a license for that you can keep. The community version is nice and all, but you entirely miss the point that you have hobby people that are willing to pay for a license, and donations that don't give us anything are not an option either. Therefore the company misses out on the money that hobby programmers used to pay. I can't afford 999/year, so I think I'll be out if a solution is not available. PS: according to the GPL if the code is for your use only I don't think you need to publish any source code at all. It's only when your program is released externally that you need to release the source. Kind regards, Dirk Cleenwerck. On Feb 26, 2016 17:28, "Richard Gaskin" wrote: > Robert Mann wrote: > > >>> a revamped audio implementation that simply allows to use COMPRESSED > >>> audio within stacks, and not be obliged to develop external > >>> solutions (which I did, but is then trick y to use for products > >>> because of the more complex installation and external libraries to > >>> be installed, that some users do not like at all). > > > > So, Although I did support as a hobbyist live code for a long time > > and spent quite a few euros to support, I will personally NOT spend > > one more euro until that is actually DONE. > > > > (i understand it is somewhat done "obliged" in the iOs context, has > > it been added meanwhile into macOS?? That would be bad news for my > > purse..!!) > > OS X has gotten far more attention for media playback than any other > platform, now using Apple's latest AV APIs. > > What do you want to do that's been difficult in v7 or v8? > > > > And should you need more people to contribute financially, perhaps > > you could review the new paradigm of yearly licensing and also give > > a standard "old" ways of just holding to a version. i will just hold > > on to my version 7.5 for my hobbits usage. And I would be as a > > hobbyist willing to spend a few bucks every 3 years or so... but with > > the yearly licensing scheme, it's just too expensive for just a > > hobist and there is no security to be able to play on with new > > acquired features. > > Good news: unless you have a commercial interest that requires a > proprietary license, you can use the GPL-governed Community Edition. The > GPL does require that your stack source be available, but unless you're > running a commercial venture that's usually not prohibitive, and many > prefer to share their source so the software can be enhanced by others. > > The benefits for your situation are two-fold: > > 1. LiveCode requires no payment for the Community Edition, so you can > enjoy the latest version at no cost. > > 2. If you want to make a financial contribution to the project you can > choose any amount on the Donation page: > > > -- > 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 blueback09 at gmail.com Fri Feb 26 12:22:53 2016 From: blueback09 at gmail.com (Matt Maier) Date: Fri, 26 Feb 2016 09:22:53 -0800 Subject: Shrink substack to same window rect as main stack In-Reply-To: References: Message-ID: It took me a minute to parse your message, so here are some clarification questions. Are you looking for a function that's already built into Livecode? Is it accurate to say that the problem is the controls on your 1200x675 stack aren't coded to handle resizing? (i.e. if the stack shrinks the controls just get clipped) On Fri, Feb 26, 2016 at 7:43 AM, Sannyasin Brahmanathaswami < brahma at hindu.org> wrote: > Assuming we have > > -- Stack A that is set to a rect of 736w X 414h > > -- is is possible to open another stack with the same ratio (16:9) but > bigger in the same window? > > -- i.e. opens stack B which is 1200 X 675 (16:9) in the window of Stack > A, such that it "shrinks to fit" just like it would on mobile if we had it > set to "showAll" > > ?? > > I made what may be a strategic mis-direct by developing in 1200 X 675 for > iPhone.. simply because I wanted it to appear bigger on my large monitor > during dev. Using ShowAll it runs fine on the phone. > > But later I started another mainstack which for which the above stack is > supposed to be a "module" and decided, that, in the long run... it is > better to work in the actual native geometric points of the device (iphone > 6+ 736 X 414). > > I may have to refactor the big stack... not a big deal, but I was > wondering about the possibility of shrinking to fit in a scenario like this > > 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 Fri Feb 26 12:31:28 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Feb 2016 09:31:28 -0800 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: Message-ID: <56D08BF0.7080000@fourthworld.com> Dirk Cleenwerck wrote: > Now the price of Indy will double to 999. Everything old is new again: When I bought by MetaCard license it was $995 (and that was in 1998 dollars). I'd love it if the price were lower, but having been in the dev tools business myself I know it's a tough game: smart people who demand a lot and for good reasons, but given the percentage of people in the gene pool inclined to find programming fun (and the subset of those who aren't, as we are, already so immersed in a language that switching to another is very difficult), the total addressable market isn't very large, at least not when compared to consumer software. If we were at a point more mature open source projects are, where we had a mix of giant corporate funders paying dev team salaries and a large pool of ongoing code contributions from the community, overhead would plummet and likely licensing fees along with it. But in the meantime we are where we are, and for commercial ventures the price still favorably compares with many alternatives, and is by far the smaller of many expenses needed to run a viable business. > The community version is nice and all, but you entirely miss the point > that you have hobby people that are willing to pay for a license, and > donations that don't give us anything are not an option either. I'm not sure I understand, esp. given: > PS: according to the GPL if the code is for your use only I don't > think you need to publish any source code at all. It's only when your > program is released externally that you need to release the source. That's true - as a distribution license, its terms apply only to works that are distributed. And even then we're seeing an ever-growing number of projects choosing open source licenses in order to diversify and grow the code base to accommodate a wider range of use cases than the original developer could afford to support alone. Personally, I don't believe it's possible in the 21st century for any programming language to reach any sort of critical mass without being open source. There are just too many FOSS alternatives; we haven't seen strong growth for proprietary languages since the '90s. The very few that remain on the TIOBE list may be holding steady, but only for historical reasons unmatchable by any newcomer, and are not experiencing growth. LiveCode's dual-licensing seems to offer a good balance of interests, supporting serious commercial ventures with a rare scope of platforms and (really, check out the rest of the world) level of quality and completeness across those platforms that makes development uncommonly productive. And along the way, everyone else who doesn't require a proprietary license can enjoy the same engine in a context where they can build and share and enhance their work and others' freely in both senses of the word, gratis and libre. When self-described hobbyists says the price is too high but won't accept a price of zero, or voluntarily offering any price they want through donations, I'm being earnest when I admit I'm having a hard time understanding that. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Fri Feb 26 13:15:31 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 26 Feb 2016 10:15:31 -0800 Subject: updating progress to user during long handler In-Reply-To: References: <761E6E1C-1EE0-4A58-A2E3-EC88D9627F01@thehales.id.au> <3C751E29-70F1-4C82-AF47-3A20458F2C5A@thehales.id.au> <56CD221B.2010602@pdslabs.net> <1456320248180-4701358.post@n4.nabble.com> <1456451802202-4701491.post@n4.nabble.com> Message-ID: On Thu, Feb 25, 2016 at 7:28 PM, Kay C Lan wrote: > Now test some 'descending' wait after the text has been placed in the > field: > > wait 1 sec > wait 1 tick > wait 1 millisec > What about "wait 0 with messages"? Isn't the "with messages" necessary if you want something to happen? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dirk.cleenwerck at gmail.com Fri Feb 26 13:41:28 2016 From: dirk.cleenwerck at gmail.com (Dirk prive) Date: Fri, 26 Feb 2016 19:41:28 +0100 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <56D08BF0.7080000@fourthworld.com> References: <56D08BF0.7080000@fourthworld.com> Message-ID: Ok, since I see that my point was hard to understand, I'll try to make it a bit more clear. I would be willing to pay about 300$/year to have a hobby programming tool. I think that is good money the company could use. I don't expect some pro features, for instance HTML, iOS,... The cross platform tool I use for work every day costs 699$/yr and give me a license I can keep using if I don't renew. It also gives me Web, iOS, Windows, Mac and Linux. (32 and 64 bit). They have a single desktop version for 99$/yr, a desktop target edition for 299$/yr, web for 299$/yr and iOS for 299$/yr. That seems reasonable to me. Their tool is more mature than LiveCode in my opinion, but as you can see does not support Android. Since I love keeping up with platforms, I think it's important to also have knowledge of Android, hence my support for LiveCode. As you can see from my earlier description, this is not just empty talk. Ive had a current license since 2007 and paid for quite a few things, including the Kickstarter. As a pro developer (but a hobby user of LiveCode) I know how important income is to a company. 999$ is too much for what I use LiveCode for though. I can't afford to pay that much/yr to support my hobby of learning and keeping up with android. I can of course use the community version, but I think that is a win for me and a loss for the company. Just like you had a hard time understanding me, I have a hard time understanding why the company would not be interested in the money of the hobby user. They don't have professional needs and don't require professional support. It's good money for the company. I responded earlier, because Robert had the same feelings as me. Livecode is pushing away the hobby programmer. I find that sad. I grew up with a ZX Spectrum (and just ordered the new Vega) and started as a hobby programmer. We had enthousiasm and some of us grew into professional programmers. Even in those days I paid for my tools. I still hope that a niche can be created for the less demanding hobby group. Not all of us want to feel like freeloaders. And yes, I can donate, but a donation does not have the same feel as up to date license. I guess it all boils down to how I feel about it. You can't agrue with feelings. Unfortunately my feelings aren't worth 999$/yr. I hope I expressed it a bit clearer now. I'm actually surprised there have not been more hobby people to speak up about this. Kind regards, Dirk Cleenwerck On Fri, Feb 26, 2016 at 6:31 PM, Richard Gaskin wrote: > Dirk Cleenwerck wrote: > > > Now the price of Indy will double to 999. > > Everything old is new again: When I bought by MetaCard license it was > $995 (and that was in 1998 dollars). > > I'd love it if the price were lower, but having been in the dev tools > business myself I know it's a tough game: smart people who demand a lot > and for good reasons, but given the percentage of people in the gene pool > inclined to find programming fun (and the subset of those who aren't, as we > are, already so immersed in a language that switching to another is very > difficult), the total addressable market isn't very large, at least not > when compared to consumer software. > > If we were at a point more mature open source projects are, where we had a > mix of giant corporate funders paying dev team salaries and a large pool of > ongoing code contributions from the community, overhead would plummet and > likely licensing fees along with it. > > But in the meantime we are where we are, and for commercial ventures the > price still favorably compares with many alternatives, and is by far the > smaller of many expenses needed to run a viable business. > > > > The community version is nice and all, but you entirely miss the point > > that you have hobby people that are willing to pay for a license, and > > donations that don't give us anything are not an option either. > > I'm not sure I understand, esp. given: > > > PS: according to the GPL if the code is for your use only I don't > > think you need to publish any source code at all. It's only when your > > program is released externally that you need to release the source. > > That's true - as a distribution license, its terms apply only to works > that are distributed. And even then we're seeing an ever-growing number of > projects choosing open source licenses in order to diversify and grow the > code base to accommodate a wider range of use cases than the original > developer could afford to support alone. > > Personally, I don't believe it's possible in the 21st century for any > programming language to reach any sort of critical mass without being open > source. There are just too many FOSS alternatives; we haven't seen strong > growth for proprietary languages since the '90s. The very few that remain > on the TIOBE list may be holding steady, but only for historical reasons > unmatchable by any newcomer, and are not experiencing growth. > > LiveCode's dual-licensing seems to offer a good balance of interests, > supporting serious commercial ventures with a rare scope of platforms and > (really, check out the rest of the world) level of quality and completeness > across those platforms that makes development uncommonly productive. And > along the way, everyone else who doesn't require a proprietary license can > enjoy the same engine in a context where they can build and share and > enhance their work and others' freely in both senses of the word, gratis > and libre. > > When self-described hobbyists says the price is too high but won't accept > a price of zero, or voluntarily offering any price they want through > donations, I'm being earnest when I admit I'm having a hard time > understanding that. > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mickclns at mac.com Fri Feb 26 14:08:52 2016 From: mickclns at mac.com (Mick Collins) Date: Fri, 26 Feb 2016 14:08:52 -0500 Subject: beggars be choosers In-Reply-To: References: Message-ID: <0D089974-2251-4155-A783-29A301498FD1@mac.com> Thanks for the reply and especially for the link, Phil. Not quite what I was asking for, but useable. I didn?t realize there weren?t any LC8 release candidates yet. And thanks, Richard, it?s good to hear where LC is heading. As I inferred, I really don?t have any time for testing. Maybe a little when there is an RC, it?ll have to be a very small part of what I?m doing. I may download the latest DP of 8 just to get a taste that is not secondhand. Thanks, again, you did answer my question(s). > Phil Davis wrote > Hi Mick, > > Maybe this will answer your question: > http://downloads.livecode.com/livecode/ > > As you can see on that page, Community Editions start at 6.0.1. > > Is that what you were asking for? > > Thanks - > Phil Davis > > Richard Gaskin wrote: > > Mick Collins wrote: > >> I?m wondering whether there will be a version 6._ or 7._ which will >> come out before the first sanctified version of 8 and when the next >> version (of 6, 7, and/or 8) is expected to come out. > > I don't know, but if so I'd be very surprised if there was more than > just one more build of either v6.x or 7.x. > > V8.0 is the future of the platform, and it benefits all of us to move > away from the expense of maintaining three different versions ASAP. > > If you're able to help test v8 that'll help ensure it does everything > your project needs. A Community Edition is available for v8.0, and in > addition to representing where the code base is going it also includes > hundreds of fixes and enhancements not backportable to older versions, > so whether you begin testing with it today or wait until it's released > it'll be a very good transition. > > -- > 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 jf_byrnes at comcast.net Fri Feb 26 14:30:50 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Fri, 26 Feb 2016 13:30:50 -0600 Subject: Is this a dictionary error? Message-ID: I was researching connecting to a sqlite db. In the dictionary I was reading about revDataFromQuery. In the comments section I read this: Comments: It is convenient to use the revDataFromQuery function, instead of revDatabaseQuery,... When I searched for revDatabaseQuery I couldn't find it. Should that be revQueryDatabase instead? Regards, Jim From paul at researchware.com Fri Feb 26 14:32:08 2016 From: paul at researchware.com (Paul Dupuis) Date: Fri, 26 Feb 2016 14:32:08 -0500 Subject: A possible messaging and modal dialog bug... Message-ID: <56D0A838.9050503@researchware.com> I what seems to me is a "bug" related to messages and model dialogs in LiveCode. I have tested this under LC676, LC7.1.1, and LC8.0.0dp15 If I have stack with 2 buttons, called Dialog1 and Dialog2 with the following script in each button. on dataChanged put short name of me & colon & cr & "BEFORE DIALOG" & cr after fld 1 answer "Message Received by"&& short name of me && "at"&&the milliseconds put short name of me & colon & cr & "AFTER DIALOG" & cr after fld 1 end dataChanged A single scrolling field to see results (fld 1) and a 3rd button with a script: on mouseUp send "dataChanged" to btn 1 in 5 milliseconds send "dataChanged" to btn 2 in 10 milliseconds end mouseUp When you click on the 3rd button, button 1 receives the dataChanged message, places the data and "BEFORE DIALOG" note in the field and then presents the answer dialog and suspends pending the dialog. While button 1's modal dialog is still waiting for a user action, button 2 gets its dataChanged message, places the short name and it's BEFORE DIALOG note and the skips its answer dialog and places its (button 2) AFTER DIALOG message and exits. Then when the visible Answer dialog is responded to from Button 1's script, button 1 places its "AFTER DIALOG note in the field. This is counter to what I would expect. I would have expected EITHER: the script in button 2 to have suspended as soon as it received its message and not executed until the answer dialog from button 1 was responded to OR the script in button 2 to have suspended when it reached the answer statement and when the answer dialog from button 1 was complete, then you would get the answer dialog from button 2. The fact Livecode SKIPs a line of code (the answer statement in button 2) with no error or warnings or anything I find disturbing? Is this a BUG or an expected behavior? If there any way to ensure any dialog in a message executed in time while another dialog is pending does not get skipped? From stephenREVOLUTION2 at barncard.com Fri Feb 26 14:38:31 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 26 Feb 2016 11:38:31 -0800 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: <56D08BF0.7080000@fourthworld.com> Message-ID: I don't understand why the OSS version won't work for you if it's a 'hobby' thing (a term that seems belittling to me). The Community version is NOT a 'weenie' or 'light' version - mainly it's the licensing and code protection that's different. It's pretty clear that either one is selling the result of your work or one is not... either / or. Up-to-date? The OSS versions are continually keeping up with all the improvements...and many come from the OSS community itself. So what's the beef? If one wants to be on the bleeding edge with LC... then one has to step up to the plate... but I doubt if you've mastered livecode to the point where you really need the paid versions if you are experimenting .... what can you not build? On Fri, Feb 26, 2016 at 10:41 AM, Dirk prive wrote: > I still hope that a niche can be created for the less demanding hobby > group. Not all of us want to feel like freeloaders. > > And yes, I can donate, but > Stephen Barncard - Sebastopol Ca. USA - mixstream.org From t.heaford at icloud.com Fri Feb 26 14:54:40 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Fri, 26 Feb 2016 19:54:40 +0000 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: <56D08BF0.7080000@fourthworld.com> Message-ID: <9319903F-E315-4F8F-86C7-C1387449A087@icloud.com> > On 26 Feb 2016, at 19:38, stephen barncard wrote: > > The Community version is NOT a 'weenie' or 'light' version - mainly it's > the licensing and code protection that's different. Would someone enter this as a reminder somewhere, to be revisited in 12-18 months? I?m thinking: A add on cost for some ?Professional!!!!!? widgets/extensions produced by LiveCode or not available in the community version. If for example (and this is why I said revisit in 12-18 months) a fantastic DataGrid widget is produced and it becomes a paid add on, otherwise your stuck with the existing solution then I would deem the community version as ?light" I suppose I?ll have to be patient and wait and see. All the best Terry From jacque at hyperactivesw.com Fri Feb 26 15:08:21 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Feb 2016 14:08:21 -0600 Subject: Shrink substack to same window rect as main stack In-Reply-To: References: Message-ID: <56D0B0B5.2000905@hyperactivesw.com> On 2/26/2016 9:43 AM, Sannyasin Brahmanathaswami wrote: > I made what may be a strategic mis-direct by developing in 1200 X 675 > for iPhone.. simply because I wanted it to appear bigger on my large > monitor during dev. Using ShowAll it runs fine on the phone. > > But later I started another mainstack which for which the above stack > is supposed to be a "module" and decided, that, in the long run... it > is better to work in the actual native geometric points of the device > (iphone 6+ 736 X 414). > > I may have to refactor the big stack... not a big deal, but I was > wondering about the possibility of shrinking to fit in a scenario > like this You might play with the scaleFactor of the stacks. But since you'd need to adjust it for every stack that is a different size, I think it would be easier to avoid all that tinkering and just resize the original once manually. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Feb 26 15:15:21 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Feb 2016 14:15:21 -0600 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: <56D08BF0.7080000@fourthworld.com> Message-ID: <56D0B259.8010701@hyperactivesw.com> On 2/26/2016 1:38 PM, stephen barncard wrote: > I don't understand why the OSS version won't work for you if it's a 'hobby' > thing I understand what he means. The OSS version would work fine, but that's not the point. His point is that he thinks LC is losing money from those who would like to contribute by purchasing a license at a reduced rate (possibly restricted to personal use only, or something similar I'm guessing.) It isn't that there is no path forward, but rather that he thinks the current licensing model is costing the company some sales. I don't know if that's true or not, I'm just playing interpreter. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Feb 26 15:24:09 2016 From: pete at lcsql.com (Peter Haworth) Date: Fri, 26 Feb 2016 20:24:09 +0000 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <56D0B259.8010701@hyperactivesw.com> References: <56D08BF0.7080000@fourthworld.com> <56D0B259.8010701@hyperactivesw.com> Message-ID: I agree, I think that's what he means. Wasn't there a personal use license at one point? I seem to recall that standalones built with it displayed a splash screen for 10 seconds at startup. On Fri, Feb 26, 2016 at 12:15 PM J. Landman Gay wrote: > On 2/26/2016 1:38 PM, stephen barncard wrote: > > I don't understand why the OSS version won't work for you if it's a > 'hobby' > > thing > > I understand what he means. The OSS version would work fine, but that's > not the point. His point is that he thinks LC is losing money from those > who would like to contribute by purchasing a license at a reduced rate > (possibly restricted to personal use only, or something similar I'm > guessing.) > > It isn't that there is no path forward, but rather that he thinks the > current licensing model is costing the company some sales. I don't know > if that's true or not, I'm just playing interpreter. > > -- > 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 livecode.org Fri Feb 26 15:27:50 2016 From: hh at livecode.org (-hh) Date: Fri, 26 Feb 2016 21:27:50 +0100 Subject: Math question Message-ID: <1FD78BAA-35A2-4ABF-91B8-5B210B49B137@livecode.org> > Kay C. wrote: > But then again I failed English so maybe I completely misunderstood what > Peter was trying to achieve with his slider. :-( @Kay C. I didn't want to critisize you with my answer, sorry. Of course you are correct with the "rounding", he said he can "vary the events by 1 second", sorry. So he should use round(c*f(..)) with my solution too, because that *gets* the thumbpos. After your remark reading Peter's first post again it's still not clear for me what he really wants: @Peter Could you please go more in detail. You have a scrollbar of width 200, startValue -300 (or -5*60), endValue 300 (or 5*60). What is your target output for example at -300, -60, 60 and 300 and some other values in between? What numbers do you wish to see there? Possibly you are thinking of a scrollbar that varies it's thumbs units. Say for example, if the width of your scrollbar is 200: from left to left+40 divides into -5*60 to -2*60 = 180 units scaled to width 40 from left+40 to left+160 divides into -2*60 to 2*60 = 240 units scaled to width 120 from left+160 to left+200=right divides into 2*60 to 5*60 = 180 units scaled to width 40 This would scale the **INPUT** (=the x-axis), what is possible to achieve, but you then have to script your own "showValue" field. The current approaches of Kay and me scale the **OUTPUT** (= y-axis), usually quite different. @Kay C. Do you agree with that second possible interpretation? hh From smaclean at madmansoft.com Fri Feb 26 15:29:14 2016 From: smaclean at madmansoft.com (Stephen MacLean) Date: Fri, 26 Feb 2016 15:29:14 -0500 Subject: [ANN] rsIsValid(Validation functions) library extension for LC8 and a call for contributors Message-ID: <12BCBD64-7AEF-4EE1-B8CB-A67A897647DF@madmansoft.com> Hi All, I'm in process of creating a library extension for LC 8 that contains a set of functions to provide data validation. I'm basing my initial set of functions on a subset of the functions provided in ColdFusion, which I use for much of my backend development. This extension will be available for free and under the MIT license as I?m trying to avoid any issues with including this in both the community edition as well as Indy and Business editions of LC. Source code is available on GitHub. Validation is a very important part of ensuring the data being inputted is what is expected and preventing things like SQL injection attacks, etc. We all have our own different methods of doing validation and as with most things, some methods are better than others. I'm putting out a call for contributors to provide their solutions to different validation functions, for both included and not included in the current iteration of rsIsValid. Your?s may be better than mine! You do not have to know anything about LiveCode Builder, you can just submit your current LiveCode Script. I will work to put it into the extension via LCB. If you do contribute code, please make sure that any needed attribution is included in your code comments. If you have a validation function you?d like to contribute, you can post it in the forum thread linked below or fork it on GitHub. I plan to have the initial functions done, packaged and uploaded to the extension area of LiveCode by the end of next week. The development branch on GitHub is https://github.com/renegadesteve/rsIsValid/tree/development You can find a list of functions planned for the initial release on the forums at: http://forums.livecode.com/viewtopic.php?f=16&t=26653 My hope is that we can together build a very robust library of validation tools for the entire LC community. Best, Steve MacLean From jacque at hyperactivesw.com Fri Feb 26 15:37:22 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Feb 2016 14:37:22 -0600 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: References: <56D08BF0.7080000@fourthworld.com> <56D0B259.8010701@hyperactivesw.com> Message-ID: <56D0B782.9080109@hyperactivesw.com> Yes, there used to be an edition like that. Graphic Converter made a lot of sales by forcing a 10-second splash on its free version. It was just annoying enough. Many mobile apps force ads on the user, which is even more annoying, but that may be going too far. But we don't have any data to show whether the splash approach actually increased sales by much, or whether there are enough users who would buy a hobbyist version to warrant the development time. On 2/26/2016 2:24 PM, Peter Haworth wrote: > I agree, I think that's what he means. Wasn't there a personal use license > at one point? I seem to recall that standalones built with it displayed a > splash screen for 10 seconds at startup. > > On Fri, Feb 26, 2016 at 12:15 PM J. Landman Gay > wrote: > >> On 2/26/2016 1:38 PM, stephen barncard wrote: >>> I don't understand why the OSS version won't work for you if it's a >> 'hobby' >>> thing >> >> I understand what he means. The OSS version would work fine, but that's >> not the point. His point is that he thinks LC is losing money from those >> who would like to contribute by purchasing a license at a reduced rate >> (possibly restricted to personal use only, or something similar I'm >> guessing.) >> >> It isn't that there is no path forward, but rather that he thinks the >> current licensing model is costing the company some sales. I don't know >> if that's true or not, I'm just playing interpreter. >> >> -- >> 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 dunbarx at aol.com Fri Feb 26 16:17:42 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 26 Feb 2016 16:17:42 -0500 Subject: A possible messaging and modal dialog bug... In-Reply-To: <56D0A838.9050503@researchware.com> References: <56D0A838.9050503@researchware.com> Message-ID: <1531f71c481-5805-1eef@webprd-m34.mail.aol.com> Paul. The dictionary warns against sending messages in time. See the notes at the bottom. If you lose that portion of your handler, the action proceeds normally. Craig Newman on mouseUp send "dataChanged" to btn 1 in 5 milliseconds send "dataChanged" to btn 2 in 10 milliseconds end mouseUp -----Original Message----- From: Paul Dupuis To: LiveCode Developer List ; use-livecode Sent: Fri, Feb 26, 2016 2:33 pm Subject: A possible messaging and modal dialog bug... I what seems to me is a "bug" related to messages and model dialogs in LiveCode. I have tested this under LC676, LC7.1.1, and LC8.0.0dp15 If I have stack with 2 buttons, called Dialog1 and Dialog2 with the following script in each button. on dataChanged put short name of me & colon & cr & "BEFORE DIALOG" & cr after fld 1 answer "Message Received by"&& short name of me && "at"&&the milliseconds put short name of me & colon & cr & "AFTER DIALOG" & cr after fld 1 end dataChanged A single scrolling field to see results (fld 1) and a 3rd button with a script: on mouseUp send "dataChanged" to btn 1 in 5 milliseconds send "dataChanged" to btn 2 in 10 milliseconds end mouseUp When you click on the 3rd button, button 1 receives the dataChanged message, places the data and "BEFORE DIALOG" note in the field and then presents the answer dialog and suspends pending the dialog. While button 1's modal dialog is still waiting for a user action, button 2 gets its dataChanged message, places the short name and it's BEFORE DIALOG note and the skips its answer dialog and places its (button 2) AFTER DIALOG message and exits. Then when the visible Answer dialog is responded to from Button 1's script, button 1 places its "AFTER DIALOG note in the field. This is counter to what I would expect. I would have expected EITHER: the script in button 2 to have suspended as soon as it received its message and not executed until the answer dialog from button 1 was responded to OR the script in button 2 to have suspended when it reached the answer statement and when the answer dialog from button 1 was complete, then you would get the answer dialog from button 2. The fact Livecode SKIPs a line of code (the answer statement in button 2) with no error or warnings or anything I find disturbing? Is this a BUG or an expected behavior? If there any way to ensure any dialog in a message executed in time while another dialog is pending does not get skipped? _______________________________________________ use-livecode mailing list use-livecode at 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 Fri Feb 26 16:38:38 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 26 Feb 2016 13:38:38 -0800 Subject: Math question In-Reply-To: <1FD78BAA-35A2-4ABF-91B8-5B210B49B137@livecode.org> References: <1FD78BAA-35A2-4ABF-91B8-5B210B49B137@livecode.org> Message-ID: Thanks Kay and Hermann, I?m using the mobGUI slider. The range of settings chosen on the slider can be -5 to +5. That range of values equals a span of 1 second?up to 1/2 second (300 blocks on the player) slower or faster. The actual position selected by the user will result in a time adjustment up to that or less. Both of your methods seem to make sense and I?m trying them out now. Thanks! Peter On Feb 26, 2016, at 12:27 PM, [-hh] wrote: >> Kay C. wrote: >> But then again I failed English so maybe I completely misunderstood what >> Peter was trying to achieve with his slider. :-( > > @Kay C. > I didn't want to critisize you with my answer, sorry. > > Of course you are correct with the "rounding", he said he can "vary the > events by 1 second", sorry. So he should use > round(c*f(..)) > with my solution too, because that *gets* the thumbpos. > > After your remark reading Peter's first post again it's still not > clear for me what he really wants: > > @Peter > Could you please go more in detail. > > You have a scrollbar of width 200, > startValue -300 (or -5*60), > endValue 300 (or 5*60). > What is your target output for example at -300, -60, 60 and 300 > and some other values in between? What numbers do you wish to see > there? > > Possibly you are thinking of a scrollbar that varies it's thumbs > units. Say for example, if the width of your scrollbar is 200: > > from left to left+40 divides into -5*60 to -2*60 > = 180 units scaled to width 40 > from left+40 to left+160 divides into -2*60 to 2*60 > = 240 units scaled to width 120 > from left+160 to left+200=right divides into 2*60 to 5*60 > = 180 units scaled to width 40 > > This would scale the **INPUT** (=the x-axis), what is possible > to achieve, but you then have to script your own "showValue" field. > > The current approaches of Kay and me scale the **OUTPUT** (= y-axis), > usually quite different. > > @Kay C. > Do you agree with that second possible interpretation? > > hh > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 livecode.org Fri Feb 26 16:44:20 2016 From: hh at livecode.org (-hh) Date: Fri, 26 Feb 2016 22:44:20 +0100 Subject: Players in HTML5 - ETA for Full Functionality? Message-ID: <264B42EE-B57C-4F17-B83C-487F17B966B9@livecode.org> > Dirk wrote: > I still hope that a niche can be created for the less demanding hobby > group. Not all of us want to feel like freeloaders. > jacque wrote: > It isn't that there is no path forward, but rather that he thinks the > current licensing model is costing the company some sales. I don't > know if that's true or not, I'm just playing interpreter. > Peter H. wrote: > I agree, I think that's what he means. Wasn't there a personal use > license at one point? I seem to recall that standalones built with it > displayed a splash screen for 10 seconds at startup. That's it (whether the possible solution reminder or not). ** I think moreover, that Dirk is right with that consideration. ** The company loses additional available money. In economics, more exactly in microeconomics, this is a pricing strategy, called "price discrimination". From roland.huettmann at gmail.com Fri Feb 26 16:45:26 2016 From: roland.huettmann at gmail.com (Roland Huettmann) Date: Fri, 26 Feb 2016 22:45:26 +0100 Subject: LiveCode for the Hobbyists Message-ID: The disussion comes from (taken from: Players in HTML5 - ETA for Full Functionality?) Dirk Prive: "I think the lack of interest in supporting the hobby programmers will hurt the company in the not too distant future. As a hobby user myself I have paid for a license for a long long time. " "Ok, since I see that my point was hard to understand, I'll try to make it a bit more clear." I would be willing to pay about 300$/year to have a hobby programming tool. I think that is good money the company could use. I don't expect some pro features, for instance HTML, iOS,.." ... and following discussion ==== I think the discussion turned a bit off-subject in the "Re: Players in HTML5 - ETA for Full Functionality?" thread. Why would it not be a nice idea to have another option for 10-20 dollars a month for all those who can not afford the Indy license because either they do not need it, or / and it is too much for a hobby - which is understandable? Maybe there could be some continued benefit attached to such small but ongoing monthly payments? Here there is usually no need for a code-protected version. Benefits could be something different. The bigger question remains, how to support LiveCode to grow to where it wants to be? I like the idea better to receive 10 dollars a month from 10,000 users compared to receiving 1,000 dollars a year from 100 users. But that could all be segmented and be very transparent and easy to understand for everyone, so both concepts could work hand-in-hand. And who is not paying 10 dollars for a nice cake? Why was something like "Skype" not made using LiveCode? ))) There are products out in the market making money - even without nasty ads popping up all the time. Or there could just be one big company paying for a single continued ad (placed without obstructing) sponsoring LiveCode to grow fast and above limits. (There are dozens of ideas here.) I think LiveCode could qualify. And when I look at all the super multi millions of dollars spent for crazy ads then this could also be a good investment for a selected advertiser. Sponsoring does not have to be annoying and would be very effective for both sides and us. I am just trying to think out of the box. How would LiveCode grow fast enough? By itself? Just because it is a nice fun product for us users, hobbyists, students, and developers? Is it enough looking around watching a rough sea? Roland From lists at mangomultimedia.com Fri Feb 26 16:59:58 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 26 Feb 2016 16:59:58 -0500 Subject: Players in HTML5 - ETA for Full Functionality? In-Reply-To: <56D0B782.9080109@hyperactivesw.com> References: <56D08BF0.7080000@fourthworld.com> <56D0B259.8010701@hyperactivesw.com> <56D0B782.9080109@hyperactivesw.com> Message-ID: On Friday, February 26, 2016, J. Landman Gay wrote: > > > But we don't have any data to show whether the splash approach actually > increased sales by much, or whether there are enough users who would buy a > hobbyist version to warrant the development time. Not to mention the marketing resources and support costs. It all factors in. -- Trevor DeVore From paul at researchware.com Fri Feb 26 17:08:21 2016 From: paul at researchware.com (Paul Dupuis) Date: Fri, 26 Feb 2016 17:08:21 -0500 Subject: A possible messaging and modal dialog bug... In-Reply-To: <1531f71c481-5805-1eef@webprd-m34.mail.aol.com> References: <56D0A838.9050503@researchware.com> <1531f71c481-5805-1eef@webprd-m34.mail.aol.com> Message-ID: <56D0CCD5.4040400@researchware.com> Craig, If you are referring to the note that says: --------------- Important! Specifying a time can affect the order in which statements are executed. If you don't specify a time, the message is sent immediately, and any handler it triggers is completed before the rest of the current handler is executed. If you use the send in time form of the send command--even if you specify a time of zero seconds--the current handler finishes executing before the message is sent. -------------- I understand that. This "bug" surfaced in a publish and subscribe system that is used to allow analytical modules to subscribe to messages (internal to the application) that are generated when various data elements are changed. The issue is not the order that things execute. The order should be (1) the mouseUp handled ends [because I used send .. in time], then btn 1 receives the "dataChanged" message and LC should execute that handler to completion, then I would have expected btn 2 to have received and execute its dataChanged message. What is unexpected is that the answer statement in the script of btn 2 is NEVER executed! This seems like a BUG. What must be happening is that when the answer dialog is up (from btn 1) and equivalent of 'wait with messages" is occuring, so btn 2 then gets the "dataChanged" message from the pendingMessages and starts to execute. The puzzling behavior is that when the script of btn 2 gets to the answer statement, presumably because the answer dialog is already open, it just continues to the next statement. This seems wrong to me. I have not tried this with, say my own modal dialog using the 'modal' command. I wonder if the same problem exists. In otherwords, if a Modal window is open and some other script tries to execute a model window/dialog, should that script pause until the first modal window is closed? Instead it just skips to the next code line. This can lead to error and unexpected results. Then again, someone at LiveCode that understands the messaging system like Mark or Peter may have an explanation of why this should be the expected behavior? On 2/26/2016 4:17 PM, dunbarx at aol.com wrote: > Paul. > > > The dictionary warns against sending messages in time. See the notes at the bottom. If you lose that portion of your handler, the action proceeds normally. > > > Craig Newman > > > > > on mouseUp > send "dataChanged" to btn 1 in 5 milliseconds > send "dataChanged" to btn 2 in 10 milliseconds > end mouseUp > > > > > -----Original Message----- > From: Paul Dupuis > To: LiveCode Developer List ; use-livecode > Sent: Fri, Feb 26, 2016 2:33 pm > Subject: A possible messaging and modal dialog bug... > > I what seems to me is a "bug" related to messages and model dialogs in > LiveCode. I have tested this under LC676, LC7.1.1, and LC8.0.0dp15 > > If I have stack with 2 buttons, called Dialog1 and Dialog2 with the > following script in each button. > > on dataChanged > put short name of me & colon & cr & "BEFORE DIALOG" & cr after fld 1 > answer "Message Received by"&& short name of me && "at"&&the milliseconds > put short name of me & colon & cr & "AFTER DIALOG" & cr after fld 1 > end dataChanged > > A single scrolling field to see results (fld 1) and a 3rd button with a > script: > > on mouseUp > send "dataChanged" to btn 1 in 5 milliseconds > send "dataChanged" to btn 2 in 10 milliseconds > end mouseUp > > When you click on the 3rd button, button 1 receives the dataChanged > message, places the data and "BEFORE DIALOG" note in the field and then > presents the answer dialog and suspends pending the dialog. > While button 1's modal dialog is still waiting for a user action, button > 2 gets its dataChanged message, places the short name and it's BEFORE > DIALOG note and the skips its answer dialog and places its (button 2) > AFTER DIALOG message and exits. > Then when the visible Answer dialog is responded to from Button 1's > script, button 1 places its "AFTER DIALOG note in the field. > > This is counter to what I would expect. I would have expected EITHER: > the script in button 2 to have suspended as soon as it received its > message and not executed until the answer dialog from button 1 was > responded to > OR > the script in button 2 to have suspended when it reached the answer > statement and when the answer dialog from button 1 was complete, then > you would get the answer dialog from button 2. > > The fact Livecode SKIPs a line of code (the answer statement in button > 2) with no error or warnings or anything I find disturbing? > > Is this a BUG or an expected behavior? If there any way to ensure any > dialog in a message executed in time while another dialog is pending > does not get skipped? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Feb 26 17:43:32 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 26 Feb 2016 14:43:32 -0800 Subject: Math question In-Reply-To: References: <1FD78BAA-35A2-4ABF-91B8-5B210B49B137@livecode.org> Message-ID: <3DC334BE-4867-4C28-B2B6-C3BC10FC27A6@me.com> Hermann, Reading your last message again?. The slider is marked in absolute increments of -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5. The user moves the thumb to a position with a corresponding output of one of those numbers. That position is saved in the preferences. I take the output from the slider and translate it to a timing change. The user sees an animation synced with music notation happen sooner or later on the screen. In the current linear form, that change is precisely the same for each increment. But I have found that most of the adjustment is needed around the zero mark, mainly having to do with the speed of the user?s computer, so I need finer adjustment there. If a user really wants to change the timing a lot, he can do so by moving it to 4 or 5?it?s all subjective for each user?but the point of the adjustment is to allow everyone to get it just right. The number output from the algorithm is an offset to trigger the animation earlier so after processing is done the animation looks like it is in sync. > What is your target output for example at -300, -60, 60 and 300 > and some other values in between? What numbers do you wish to see > there? It seems for Windows users, zero (-300 output) makes things happen too soon, and moving it to -1 (-360 output) makes it late. I could change the slider to show a range of -10 to +10 to keep the visual indication of exact linear change with more precision, but I?m choosing to try to do it in a non-linear fashion and keep the user interface simple. Peter On Feb 26, 2016, at 1:38 PM, Peter Bogdanoff wrote: > Thanks Kay and Hermann, > > I?m using the mobGUI slider. > > The range of settings chosen on the slider can be -5 to +5. That range of values equals a span of 1 second?up to 1/2 second (300 blocks on the player) slower or faster. The actual position selected by the user will result in a time adjustment up to that or less. > > Both of your methods seem to make sense and I?m trying them out now. > > Thanks! > > Peter > > > On Feb 26, 2016, at 12:27 PM, [-hh] wrote: > >>> Kay C. wrote: >>> But then again I failed English so maybe I completely misunderstood what >>> Peter was trying to achieve with his slider. :-( >> >> @Kay C. >> I didn't want to critisize you with my answer, sorry. >> >> Of course you are correct with the "rounding", he said he can "vary the >> events by 1 second", sorry. So he should use >> round(c*f(..)) >> with my solution too, because that *gets* the thumbpos. >> >> After your remark reading Peter's first post again it's still not >> clear for me what he really wants: >> >> @Peter >> Could you please go more in detail. >> >> You have a scrollbar of width 200, >> startValue -300 (or -5*60), >> endValue 300 (or 5*60). >> What is your target output for example at -300, -60, 60 and 300 >> and some other values in between? What numbers do you wish to see >> there? >> >> Possibly you are thinking of a scrollbar that varies it's thumbs >> units. Say for example, if the width of your scrollbar is 200: >> >> from left to left+40 divides into -5*60 to -2*60 >> = 180 units scaled to width 40 >> from left+40 to left+160 divides into -2*60 to 2*60 >> = 240 units scaled to width 120 >> from left+160 to left+200=right divides into 2*60 to 5*60 >> = 180 units scaled to width 40 >> >> This would scale the **INPUT** (=the x-axis), what is possible >> to achieve, but you then have to script your own "showValue" field. >> >> The current approaches of Kay and me scale the **OUTPUT** (= y-axis), >> usually quite different. >> >> @Kay C. >> Do you agree with that second possible interpretation? >> >> hh >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Feb 26 17:57:13 2016 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 26 Feb 2016 23:57:13 +0100 Subject: LiveCode for the Hobbyists In-Reply-To: References: Message-ID: <56D0D849.9020208@economy-x-talk.com> A good way to grow the community is to give something away for free. That's what RunRev has done by open-sourcing. I'm not sure this was a good strategic move as far as earning are concerned, but it was definitely a good way to attract more users. It is also necessary to be present in tech news media all the time. Have a special offer every month, make big announcements about new features, get attention from important sites like MacWorld and magazines like Time and WSJ and obviously news papers. The company isn't doing this. Another good way to get a user base is to be available in schools. This is hard work, as network administrators, school boards, and politicians are often against all change. RunRev put a little effort into this a long time ago and I don't think they currently do anything in this regard. Also, when I visit the homepage and surf around a little, I can't find any information about HTML5 whatsoever. 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 2/26/2016 om 22:45 schreef Roland Huettmann: > The disussion comes from > (taken from: Players in HTML5 - ETA for Full Functionality?) > > Dirk Prive: > > "I think the lack of interest in supporting the hobby programmers will hurt > the company in the not too distant future. As a hobby user myself I have > paid for a license for a long long time. " > > "Ok, since I see that my point was hard to understand, I'll try to make it > a > bit more clear." > > I would be willing to pay about 300$/year to have a hobby programming tool. > I think that is good money the company could use. I don't expect some pro > features, for instance HTML, iOS,.." > > ... and following discussion > > ==== > > I think the discussion turned a bit off-subject in the "Re: Players in > HTML5 - ETA for Full Functionality?" thread. > > Why would it not be a nice idea to have another option for 10-20 dollars a > month for all those who can not afford the Indy license because either they > do not need it, or / and it is too much for a hobby - which is > understandable? > > Maybe there could be some continued benefit attached to such small but > ongoing monthly payments? Here there is usually no need for a > code-protected version. Benefits could be something different. > > The bigger question remains, how to support LiveCode to grow to where it > wants to be? > > I like the idea better to receive 10 dollars a month from 10,000 users > compared to receiving 1,000 dollars a year from 100 users. But that could > all be segmented and be very transparent and easy to understand for > everyone, so both concepts could work hand-in-hand. > > And who is not paying 10 dollars for a nice cake? > > Why was something like "Skype" not made using LiveCode? ))) There are > products out in the market making money - even without nasty ads popping up > all the time. > > Or there could just be one big company paying for a single continued ad > (placed without obstructing) sponsoring LiveCode to grow fast and above > limits. (There are dozens of ideas here.) I think LiveCode could qualify. > And when I look at all the super multi millions of dollars spent for crazy > ads then this could also be a good investment for a selected advertiser. > Sponsoring does not have to be annoying and would be very effective for > both sides and us. > > I am just trying to think out of the box. > > How would LiveCode grow fast enough? By itself? Just because it is a nice > fun product for us users, hobbyists, students, and developers? Is it enough > looking around watching a rough sea? > > Roland From hh at livecode.org Fri Feb 26 17:58:12 2016 From: hh at livecode.org (-hh) Date: Fri, 26 Feb 2016 23:58:12 +0100 Subject: LiveCode for the Hobbyists Message-ID: <56153A3F-8AE4-4B68-AB36-B2CF8003345D@livecode.org> Really good points, Roland. Let me add explicitly this one. Build on the next generation, who will become decision maker in a few years. And, if they *know* the software, may also become possible buyers of LC-related products: Give teachers and their students in class FREE copies. Give university students and hobbyists very cheap copies. If the company continues to have such crazy pricing strategies as now then it will loose in sum: The negative income by people "jumping off" will be greater than the additional positive income by raised prices. For example I went with backing nearly everything in the last three years already over my limits: An Indy license, a community membership (who of the writers here has also one?), an additional HTML5 license, a lot of time wasted for beta-testing. I'm hobbyist, sell nothing ... The next "pricing game" will force me to jump off. And jumping off will mean to jump off by 100%, in anger, not only partially. And certainly I'm not the only one who works for no money, pays only to support LC. The current pricing strategy becomes aggressive against this group of users. From jacque at hyperactivesw.com Fri Feb 26 18:10:16 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Feb 2016 17:10:16 -0600 Subject: A possible messaging and modal dialog bug... In-Reply-To: <56D0CCD5.4040400@researchware.com> References: <56D0A838.9050503@researchware.com> <1531f71c481-5805-1eef@webprd-m34.mail.aol.com> <56D0CCD5.4040400@researchware.com> Message-ID: <56D0DB58.6030601@hyperactivesw.com> On 2/26/2016 4:08 PM, Paul Dupuis wrote: > What is unexpected is that the answer statement in the script of btn 2 > is NEVER executed! This seems like a BUG. > > What must be happening is that when the answer dialog is up (from btn 1) > and equivalent of 'wait with messages" is occuring, so btn 2 then gets > the "dataChanged" message from the pendingMessages and starts to > execute. I think so too. Pending messages occur when an idle event happens, and a dialog waiting for a response would have those. > The puzzling behavior is that when the script of btn 2 gets to > the answer statement, presumably because the answer dialog is already > open, it just continues to the next statement. This seems wrong to me. I think it has to be that way because you can only have one modal open at a time, and the LC dialog is a stack. When the second command is sent, it would be the same as a "go stack x" when stack x is already open -- nothing changes. When a LC dialog is called, the dialogData global is populated and the dialog stack fills in its fields with the content of the dialogData on preOpenCard. So I suspect that the dialogData is being changed, but since the dialog is already open, the preOpenCard message isn't sent and the fields do not re-populate. It looks like nothing has changed, since only the dialogData global is different, and gives the impression that the command was skipped. > I have not tried this with, say my own modal dialog using the 'modal' > command. I wonder if the same problem exists. I'm pretty sure you'd get identical results unless you can populate the dialog fields some other way (in which case you'd lose the user's first response) or if you put up multiple modals at the same time. That's a recipe for trouble though. One fix for your handler would be to avoid "send in